summaryrefslogtreecommitdiffstats
path: root/php-ZendFramework2.spec
blob: 9f00e0e00b9ef5513472b1bd0158c4de54cf2977 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
#
# Fedora spec file for php-ZendFramework2
#
# Copyright (c) 2013-2016 Shawn Iwinski <shawn.iwinski@gmail.com>
#                         Remi Collet <remi@fedoraproject.org>
#
# License: MIT
# http://opensource.org/licenses/MIT
#
# Please preserve changelog entries
#

%global github_owner     zendframework
%global github_name      zendframework
%global github_version   2.4.10
%global github_commit    7e5bdc38820aef518c1c49d4b6e8fcb0083b165b

%global composer_vendor  zendframework

%global with_tests 0%{!?_without_tests:1}

%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}

Name:      php-ZendFramework2
Version:   %{github_version}
Release:   1%{?dist}
Summary:   Zend Framework 2

Group:     Development/Libraries
License:   BSD
URL:       http://framework.zend.com

# GitHub export does not include tests.
# Run php-ZendFramework2-get-source.sh to create full source.
Source0:       %{name}-%{github_version}-%{github_commit}.tar.gz
Source1:       %{name}-get-source.sh

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%if %{with_tests}
# PHPUnit + autoloader
BuildRequires: %{_bindir}/phpunit
# required by components
BuildRequires: php(language) >= 5.3.23
BuildRequires: php-bcmath
BuildRequires: php-bz2
BuildRequires: php-ctype
BuildRequires: php-curl
BuildRequires: php-date
BuildRequires: php-dba
BuildRequires: php-dom
BuildRequires: php-fileinfo
BuildRequires: php-filter
BuildRequires: php-gd
BuildRequires: php-gmp
BuildRequires: php-hash
BuildRequires: php-iconv
BuildRequires: php-intl
BuildRequires: php-json
BuildRequires: php-ldap
BuildRequires: php-libxml
BuildRequires: php-mbstring
BuildRequires: php-mcrypt
BuildRequires: php-openssl
BuildRequires: php-pcre
BuildRequires: php-pdo
BuildRequires: php-reflection
BuildRequires: php-session
BuildRequires: php-simplexml
BuildRequires: php-soap
BuildRequires: php-spl
BuildRequires: php-tidy
BuildRequires: php-tokenizer
BuildRequires: php-xml
BuildRequires: php-xmlreader
BuildRequires: php-xmlwriter
BuildRequires: php-zip
BuildRequires: php-zlib
BuildRequires: php-composer(ircmaxell/random-lib)
BuildRequires: php-composer(mikey179/vfsStream) >= 1.2
BuildRequires: php-composer(%{composer_vendor}/zendxml)
%endif

Requires: php-composer(%{composer_vendor}/zend-authentication)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-barcode)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-cache)            = %{version}
Requires: php-composer(%{composer_vendor}/zend-captcha)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-code)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-config)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-console)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-crypt)            = %{version}
Requires: php-composer(%{composer_vendor}/zend-db)               = %{version}
Requires: php-composer(%{composer_vendor}/zend-debug)            = %{version}
Requires: php-composer(%{composer_vendor}/zend-di)               = %{version}
Requires: php-composer(%{composer_vendor}/zend-dom)              = %{version}
Requires: php-composer(%{composer_vendor}/zend-escaper)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-eventmanager)     = %{version}
Requires: php-composer(%{composer_vendor}/zend-feed)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-file)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-filter)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-form)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-http)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-i18n)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-inputfilter)      = %{version}
Requires: php-composer(%{composer_vendor}/zend-json)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-ldap)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-loader)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-log)              = %{version}
Requires: php-composer(%{composer_vendor}/zend-mail)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-math)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-memory)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-mime)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-modulemanager)    = %{version}
Requires: php-composer(%{composer_vendor}/zend-mvc)              = %{version}
Requires: php-composer(%{composer_vendor}/zend-navigation)       = %{version}
Requires: php-composer(%{composer_vendor}/zend-paginator)        = %{version}
Requires: php-composer(%{composer_vendor}/zend-permissions-acl)  = %{version}
Requires: php-composer(%{composer_vendor}/zend-permissions-rbac) = %{version}
Requires: php-composer(%{composer_vendor}/zend-progressbar)      = %{version}
Requires: php-composer(%{composer_vendor}/zend-serializer)       = %{version}
Requires: php-composer(%{composer_vendor}/zend-server)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-session)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-soap)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-tag)              = %{version}
Requires: php-composer(%{composer_vendor}/zend-test)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-text)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-uri)              = %{version}
Requires: php-composer(%{composer_vendor}/zend-validator)        = %{version}
Requires: php-composer(%{composer_vendor}/zend-version)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-view)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-xmlrpc)           = %{version}
Requires: php-composer(%{composer_vendor}/zendxml)

Provides: php-composer(%{composer_vendor}/zendframework) = %{version}


%description
Zend Framework 2 is an open source framework for developing web applications
and services using PHP 5.3+. Zend Framework 2 uses 100% object-oriented code
and utilizes most of the new features of PHP 5.3, namely namespaces, late
static binding, lambda functions and closures.

Zend Framework 2 evolved from Zend Framework 1, a successful PHP framework
with over 15 million downloads.

Note: This meta package installs all base Zend Framework component packages
(Authentication, Barcode, Cache, Captcha, Code, Config, Console, Crypt, Db,
Debug, Di, Dom, Escaper, EventManager, Feed, File, Filter, Form, Http, I18n,
InputFilter, Json, Ldap, Loader, Log, Mail, Math, Memory, Mime, ModuleManager,
Mvc, Navigation, Paginator, Permissions-Acl, Permissions-Rbac, ProgressBar,
Serializer, Server, ServiceManager, Session, Soap, Stdlib, Tag, Test, Text,
Uri, Validator, Version, View, XmlRpc) except the optional Cache-apc and
Cache-memcached packages.

# ##############################################################################

%package   common

Summary:   Zend Framework 2: Common files
Group:     Development/Libraries

Requires:  php(language) >= 5.3.23

# v1 and v2 cannot be installed at the same time
Conflicts: php-ZendFramework < 2

%description common
%{summary}

# ------------------------------------------------------------------------------

%package  Authentication

Summary:  Zend Framework 2: Authentication Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.authentication.intro.html

Requires: %{name}-common    = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-crypt)            = %{version}
Requires: php-composer(%{composer_vendor}/zend-db)               = %{version}
Requires: php-composer(%{composer_vendor}/zend-http)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-ldap)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-session)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-uri)              = %{version}
Requires: php-composer(%{composer_vendor}/zend-validator)        = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-ctype
Requires: php-date
Requires: php-hash
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-authentication) = %{version}

%description Authentication
The Zend\Authentication component provides an API for authentication and
includes concrete authentication adapters for common use case scenarios.

Zend\Authentication is concerned only with authentication and not with
authorization. Authentication is loosely defined as determining whether
an entity actually is what it purports to be (i.e., identification),
based on some set of credentials. Authorization, the process of deciding
whether to allow an entity access to, or to perform operations upon, other
entities is outside the scope of Zend\Authentication. For more information
about authorization and access control with Zend Framework, please see the
Zend\Permissions\Acl or Zend\Permissions\Rbac component.

# ------------------------------------------------------------------------------

%package  Barcode

Summary:  Zend Framework 2: Barcode Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.barcode.intro.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-validator)        = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
#     zendframework/zendpdf
# phpcompatinfo (computed from version 2.3.1)
Requires: php-dom
Requires: php-gd
Requires: php-iconv
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-barcode) = %{version}

%description Barcode
Zend\Barcode\Barcode provides a generic way to generate barcodes. The
Zend\Barcode component is divided into two subcomponents: barcode objects
and renderers. Objects allow you to create barcodes independently of the
renderer. Renderer allow you to draw barcodes based on the support required.

# ------------------------------------------------------------------------------

%package  Cache

Summary:  Zend Framework 2: Cache Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/index.html#zend-cache

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-eventmanager)     = %{version}
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-serializer)       = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-session)          = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-date
Requires: php-pcre
Requires: php-reflection
Requires: php-spl

# Removed sub-packages
Obsoletes: %{name}-Cache-apc       < %{version}-%{release}
Provides:  %{name}-Cache-apc       = %{version}-%{release}
Obsoletes: %{name}-Cache-memcached < %{version}-%{release}
Provides:  %{name}-Cache-memcached = %{version}-%{release}

Provides: php-composer(%{composer_vendor}/zend-cache) = %{version}

%description Cache
%{summary}

Optional:
* APC (php-pecl-apc)
* DBA (php-dba)
* Memcache (php-pecl-memcache)
* Memcached (php-pecl-memcached)
* Mongo (php-pecl-mongo)
* Redis (php-pecl-redis)
* XCache (php-xcache)

# ------------------------------------------------------------------------------

%package  Captcha

Summary:  Zend Framework 2: CAPTCHA Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.captcha.intro.html

Requires: %{name}-common    = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-math)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-session)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-text)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-validator)        = %{version}
#     zendframework/zend-resources
#     zendframework/zendservice-recaptcha
# phpcompatinfo (computed from version 2.3.1)
Requires: php-date
Requires: php-gd
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-captcha) = %{version}

%description Captcha
CAPTCHA stands for “Completely Automated Public Turing test to tell Computers
and Humans Apart”; it is used as a challenge-response to ensure that the
individual submitting information is a human and not an automated process.
Typically, a CAPTCHA is used with form submissions where authenticated users
are not necessary, but you want to prevent spam submissions.

CAPTCHAs can take a variety of forms, including asking logic questions,
presenting skewed fonts, and presenting multiple images and asking how they
relate. The Zend\Captcha component aims to provide a variety of back ends
that may be utilized either standalone or in conjunction with the Zend\Form
component.

# ------------------------------------------------------------------------------

%package  Code

Summary:  Zend Framework 2: Code Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/index.html

Requires: %{name}-common       = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-eventmanager)     = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
Requires: php-doctrine-common  >= 2.1
# phpcompatinfo (computed from version 2.3.1)
Requires: php-pcre
Requires: php-reflection
Requires: php-spl
Requires: php-tokenizer

Provides: php-composer(%{composer_vendor}/zend-code) = %{version}

%description Code
Provides facilities to generate arbitrary code using an object oriented
interface.

# ------------------------------------------------------------------------------

%package  Config

Summary:  Zend Framework 2: Config Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.config.introduction.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-filter)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-i18n)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-json)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-libxml
Requires: php-pcre
Requires: php-spl
Requires: php-xmlreader
Requires: php-xmlwriter

Provides: php-composer(%{composer_vendor}/zend-config) = %{version}

%description Config
Zend\Config is designed to simplify access to configuration data within
applications. It provides a nested object property-based user interface
for accessing this configuration data within application code. The
configuration data may come from a variety of media supporting hierarchical
data storage. Currently, Zend\Config provides adapters that read and write
configuration data stored in .ini, JSON, YAML and XML files.

# ------------------------------------------------------------------------------

%package  Console

Summary:  Zend Framework 2: Console Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.console.introduction.html

Requires: %{name}-common = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-validator)        = %{version}
Requires: php-composer(%{composer_vendor}/zend-filter)           = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-pcre
Requires: php-reflection
Requires: php-spl
Requires: php-xml

Provides: php-composer(%{composer_vendor}/zend-console) = %{version}

%description Console
Zend Framework 2 features built-in console support.

When a Zend\Application is run from a console window (a shell window), it will
recognize this fact and prepare Zend\Mvc components to handle the request.
Console support is enabled by default, but to function properly it requires at
least one console route and one action controller to handle the request.

* Console routing allows you to invoke controllers and action depending on
  command line parameters provided by the user.
* Module Manager integration allows ZF2 applications and modules to display
  help and usage information, in case the command line has not been understood
  (no route matched).
* Console-aware action controllers will receive a console request containing
  all named parameters and flags. They are able to send output back to the
  console window.
* Console adapters provide a level of abstraction for interacting with console
  on different operating systems.
* Console prompts can be used to interact with the user by asking him questions
  and retrieving input.

# ------------------------------------------------------------------------------

%package  Crypt

Summary:  Zend Framework 2: Crypt Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.crypt.introduction.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-math)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-mcrypt
# phpcompatinfo (computed from version 2.3.1)
#     scrypt -- not packaged
Requires: php-hash
Requires: php-openssl
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-crypt) = %{version}

%description Crypt
Zend\Crypt provides support of some cryptographic tools. The available
features are:

* encrypt-then-authenticate using symmetric ciphers (the authentication step is
  provided using HMAC)
* encrypt/decrypt using symmetric and public key algorithm (e.g. RSA algorithm)
* generate digital sign using public key algorithm (e.g. RSA algorithm)
* key exchange using the Diffie-Hellman method
* Key derivation function (e.g. using PBKDF2 algorithm)
* Secure password hash (e.g. using Bcrypt algorithm)
* generate Hash values
* generate HMAC values

The main scope of this component is to offer an easy and secure way to protect
and authenticate sensitive data in PHP. Because the use of cryptography is not
so easy we recommend to use the Zend\Crypt component only if you have a minimum
background on this topic.

# ------------------------------------------------------------------------------

%package  Db

Summary:  Zend Framework 2: DB Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/index.html#zend-db

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-eventmanager)     = %{version}
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-date
Requires: php-pcre
Requires: php-pdo
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-db) = %{version}

%description Db
%{summary}

Optional:
* ibm_db2 (http://pecl.php.net/package/ibm_db2)
* mysqli (php-mysql)
* oci8 (http://pecl.php.net/package/oci8)
* pgsql (php-pgsql)
* sqlsrv (http://pecl.php.net/package/sqlsrv)

# ------------------------------------------------------------------------------

%package  Debug

Summary:  Zend Framework 2: Debug Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/index.html

Requires: %{name}-common  = %{version}-%{release}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-escaper)          = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-pcre

Provides: php-composer(%{composer_vendor}/zend-debug) = %{version}

%description Debug
%{summary}

Optional: XDebug (php-pecl-xdebug)

# ------------------------------------------------------------------------------

%package  Di

Summary:  Zend Framework 2: DI Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.di.introduction.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-code)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-pcre
Requires: php-reflection
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-di) = %{version}

%description Di
Dependency Injection (here-in called DI) is a concept that has been talked
about in numerous places over the web. Simply put, we’ll explain the act of
injecting dependencies simply with this below code:

$b = new MovieLister(new MovieFinder());

Above, MovieFinder is a dependency of MovieLister, and MovieFinder was
injected into MovieLister.

# ------------------------------------------------------------------------------

%package  Dom

Summary:  Zend Framework 2: DOM Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.dom.intro.html

Requires: %{name}-common = %{version}-%{release}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-dom
Requires: php-libxml
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-dom) = %{version}

%description Dom
The Zend\Dom component provides tools for working with DOM documents and
structures. Currently, we offer Zend\Dom\Query, which provides a unified
interface for querying DOM documents utilizing both XPath and CSS selectors.

# ------------------------------------------------------------------------------

%package  Escaper

Summary:  Zend Framework 2: Escaper Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.escaper.introduction.html

Requires: %{name}-common = %{version}-%{release}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-ctype
Requires: php-iconv
Requires: php-mbstring
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-escaper) = %{version}

%description Escaper
The OWASP Top 10 web security risks study lists Cross-Site Scripting (XSS)
in second place. PHP’s sole functionality against XSS is limited to two
functions of which one is commonly misapplied. Thus, the Zend\Escaper component
was written. It offers developers a way to escape output and defend from XSS
and related vulnerabilities by introducing contextual escaping based on
peer-reviewed rules.

# ------------------------------------------------------------------------------

%package  EventManager

Summary:  Zend Framework 2: EventManager Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.event-manager.event-manager.html

Requires: %{name}-common = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-eventmanager) = %{version}

%description EventManager
The EventManager is a component designed for the following use cases:

* Implementing simple subject/observer patterns.
* Implementing Aspect-Oriented designs.
* Implementing event-driven architectures.

The basic architecture allows you to attach and detach listeners to named
events, both on a per-instance basis as well as via shared collections;
trigger events; and interrupt execution of listeners.

# ------------------------------------------------------------------------------

%package  Feed

Summary:  Zend Framework 2: Feed Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.feed.introduction.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-escaper)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-cache)            = %{version}
Requires: php-composer(%{composer_vendor}/zend-db)               = %{version}
Requires: php-composer(%{composer_vendor}/zend-http)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-validator)        = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-ctype
Requires: php-date
Requires: php-dom
Requires: php-hash
Requires: php-libxml
Requires: php-pcre
Requires: php-spl
Requires: php-tidy

Provides: php-composer(%{composer_vendor}/zend-feed) = %{version}

%description Feed
Zend\Feed provides functionality for consuming RSS and Atom feeds. It provides
a natural syntax for accessing elements of feeds, feed attributes, and entry
attributes. Zend\Feed also has extensive support for modifying feed and entry
structure with the same natural syntax, and turning the result back into XML.
In the future, this modification support could provide support for the Atom
Publishing Protocol.

Zend\Feed consists of Zend\Feed\Reader for reading RSS and Atom feeds,
Zend\Feed\Writer for writing RSS and Atom feeds, and Zend\Feed\PubSubHubbub
for working with Hub servers. Furthermore, both Zend\Feed\Reader and
Zend\Feed\Writer support extensions which allows for working with additional
data in feeds, not covered in the core API but used in conjunction with RSS
and Atom feeds.

# ------------------------------------------------------------------------------

%package  File

Summary:  Zend Framework 2: File Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/index.html#zend-file

Requires: %{name}-common    = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-filter)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-i18n)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-validator)        = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-fileinfo
Requires: php-hash
Requires: php-pcre
Requires: php-spl
Requires: php-tokenizer

Provides: php-composer(%{composer_vendor}/zend-file) = %{version}

%description File
%{summary}

# ------------------------------------------------------------------------------

%package  Filter

Summary:  Zend Framework 2: Filter Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.filter.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-crypt)            = %{version}
Requires: php-composer(%{composer_vendor}/zend-i18n)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-uri)              = %{version}
# phpcompatinfo (computed from version 2.3.1)
#     rar -- not packaged
Requires: php-bz2
Requires: php-date
Requires: php-iconv
Requires: php-mbstring
Requires: php-openssl
Requires: php-pcre
Requires: php-pecl(LZF)
Requires: php-spl
Requires: php-zip
Requires: php-zlib

Provides: php-composer(%{composer_vendor}/zend-filter) = %{version}

%description Filter
The Zend\Filter component provides a set of commonly needed data filters.
It also provides a simple filter chaining mechanism by which multiple filters
may be applied to a single datum in a user-defined order.

# ------------------------------------------------------------------------------

%package  Form

Summary:  Zend Framework 2: Form Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.form.intro.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-inputfilter)      = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
#     zendframework/zendservice-recaptcha
Requires: php-composer(%{composer_vendor}/zend-captcha)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-code)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-eventmanager)     = %{version}
Requires: php-composer(%{composer_vendor}/zend-filter)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-i18n)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-validator)        = %{version}
Requires: php-composer(%{composer_vendor}/zend-view)             = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-date
Requires: php-intl
Requires: php-pcre
Requires: php-reflection
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-form) = %{version}

%description Form
Zend\Form is intended primarily as a bridge between your domain models and the
View Layer. It composes a thin layer of objects representing form elements, an
InputFilter, and a small number of methods for binding data to and from the
form and attached objects.

The Zend\Form component consists of the following objects:

* Elements, which simply consist of a name and attributes.
* Fieldsets, which extend from Elements, but allow composing other fieldsets
  and elements.
* Forms, which extend from Fieldsets (and thus Elements). They provide data
  and object binding, and compose InputFilters. Data binding is done via
  ZendStdlibHydrator.

# ------------------------------------------------------------------------------

%package  Http

Summary:  Zend Framework 2: HTTP Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.http.html

Requires: %{name}-common    = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-loader)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-uri)              = %{version}
Requires: php-composer(%{composer_vendor}/zend-validator)        = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-ctype
Requires: php-curl
Requires: php-date
Requires: php-fileinfo
Requires: php-openssl
Requires: php-pcre
Requires: php-spl
Requires: php-zlib

Provides: php-composer(%{composer_vendor}/zend-http) = %{version}

%description Http
Zend\Http is a primary foundational component of Zend Framework. Since much
of what PHP does is web-based, specifically HTTP, it makes sense to have a
performant, extensible, concise and consistent API to do all things HTTP.
In nutshell, there are several parts of Zend\Http:

* Context-less Request and Response classes that expose a fluent API for
  introspecting several aspects of HTTP messages:
  ** Request line information and response status information
  ** Parameters, such as those found in POST and GET
  ** Message Body
  ** Headers
* A Client implementation with various adapters that allow for sending requests
  and introspecting responses.

# ------------------------------------------------------------------------------

%package  I18n

Summary:  Zend Framework 2: i18n Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.i18n.translating.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
#     zendframework/zend-resources
Requires: php-composer(%{composer_vendor}/zend-cache)            = %{version}
Requires: php-composer(%{composer_vendor}/zend-config)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-eventmanager)     = %{version}
Requires: php-composer(%{composer_vendor}/zend-filter)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-validator)        = %{version}
Requires: php-composer(%{composer_vendor}/zend-view)             = %{version}
Requires: php-intl
# phpcompatinfo (computed from version 2.3.1)
Requires: php-ctype
Requires: php-date
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-i18n) = %{version}

%description I18n
ZendI18n comes with a complete translation suite which supports all major
formats and includes popular features like plural translations and text
domains. The Translator component is mostly dependency free, except for
the fallback to a default locale, where it relies on the Intl PHP extension.

The translator itself is initialized without any parameters, as any
configuration to it is optional. A translator without any translations
will actually do nothing but just return the given message IDs.

# ------------------------------------------------------------------------------

%package  InputFilter

Summary:  Zend Framework 2: InputFilter Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.input-filter.intro.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-filter)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-validator)        = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-inputfilter) = %{version}

%description InputFilter
The Zend\InputFilter component can be used to filter and validate generic sets
of input data. For instance, you could use it to filter $_GET or $_POST values,
CLI arguments, etc.

# ------------------------------------------------------------------------------

%package  Json

Summary:  Zend Framework 2: JSON Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.json.introduction.html

Requires: %{name}-common  = %{version}-%{release}
Requires: php-composer(%{composer_vendor}/zendxml)
# composer.json
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-http)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-server)           = %{version}
Requires: php-composer(%{composer_vendor}/zendxml)
# phpcompatinfo (computed from version 2.3.1)
Requires: php-json
Requires: php-mbstring
Requires: php-pcre
Requires: php-reflection
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-json) = %{version}

%description Json
Zend\Json provides convenience methods for serializing native PHP to JSON
and decoding JSON to native PHP.

JSON, JavaScript Object Notation, can be used for data interchange between
JavaScript and other languages. Since JSON can be directly evaluated by
JavaScript, it is a more efficient and lightweight format than XML for
exchanging data with JavaScript clients.

In addition, Zend\Json provides a useful way to convert any arbitrary XML
formatted string into a JSON formatted string. This built-in feature will
enable PHP developers to transform the enterprise data encoded in XML format
into JSON format before sending it to browser-based Ajax client applications.
It provides an easy way to do dynamic data conversion on the server-side code
thereby avoiding unnecessary XML parsing in the browser-side applications. It
offers a nice utility function that results in easier application-specific
data processing techniques.

# ------------------------------------------------------------------------------

%package  Ldap

Summary:  Zend Framework 2: LDAP Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.ldap.introduction.html

Requires: %{name}-common       = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-eventmanager)     = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-date
Requires: php-iconv
Requires: php-json
Requires: php-ldap
Requires: php-mbstring
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-ldap) = %{version}

%description Ldap
Zend\Ldap\Ldap is a class for performing LDAP operations including but not
limited to binding, searching and modifying entries in an LDAP directory.

# ------------------------------------------------------------------------------

%package  Loader

Summary:  Zend Framework 2: Loader Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/index.html#zend-loader

Requires: %{name}-common = %{version}-%{release}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-bz2
Requires: php-pcre
Requires: php-reflection
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-loader) = %{version}

%description Loader
%{summary}

# ------------------------------------------------------------------------------

%package  Log

Summary:  Zend Framework 2: Log Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.log.overview.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-console)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-db)               = %{version}
Requires: php-composer(%{composer_vendor}/zend-escaper)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-mail)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-validator)        = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-date
Requires: php-dom
Requires: php-json
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-log) = %{version}

%description Log
Zend\Log\Logger is a component for general purpose logging. It supports multiple
log backends, formatting messages sent to the log, and filtering messages from
being logged. These functions are divided into the following objects:

* A Logger (instance of Zend\Log\Logger) is the object that your application
  uses the most. You can have as many Logger objects as you like; they do not
  interact. A Logger object must contain at least one Writer, and can optionally
  contain one or more Filters.
* A Writer (inherits from Zend\Log\Writer\AbstractWriter) is responsible for
  saving data to storage.
* A Filter (implements Zend\Log\Filter\FilterInterface) blocks log data from
  being saved. A filter is applied to an individual writer. Filters can be
  chained.
* A Formatter (implements Zend\Log\Formatter\FormatterInterface) can format the
  log data before it is written by a Writer. Each Writer has exactly one
  Formatter.

Optional: MongoDB (php-pecl-mongo)

# ------------------------------------------------------------------------------

%package  Mail

Summary:  Zend Framework 2: Mail Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.mail.introduction.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-crypt)            = %{version}
Requires: php-composer(%{composer_vendor}/zend-loader)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-mime)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-validator)        = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-ctype
Requires: php-date
Requires: php-iconv
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-mail) = %{version}

%description Mail
Zend\Mail provides generalized functionality to compose and send both text
and MIME-compliant multipart email messages. Mail can be sent with Zend\Mail
via the Mail\Transport\Sendmail, Mail\Transport\Smtp or the Mail\Transport\File
transport. Of course, you can also implement your own transport by implementing
the Mail\Transport\TransportInterface.

# ------------------------------------------------------------------------------

%package  Math

Summary:  Zend Framework 2: Math Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.math.introduction.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json (optional)
#     ircmaxell/random-lib
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
Requires: php-composer(ircmaxell/random-lib)
Requires: php-bcmath
# php-gmp causes issues (see BZ #1152440)
#Requires: php-gmp
# phpcompatinfo (computed from version 2.3.1)
Requires: php-mcrypt
Requires: php-openssl
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-math) = %{version}

%description Math
Zend\Math namespace provides general mathematical functions. So far the
supported functionalities are:

* Zend\Math\Rand: A random number generator
* Zend\Math\BigInteger: A library to manage big integers

Optional: php-gmp

# ------------------------------------------------------------------------------

%package  Memory

Summary:  Zend Framework 2: Memory Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/index.html

Requires: %{name}-common = %{version}-%{release}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-cache)            = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-memory) = %{version}

%description Memory
%{summary}

# ------------------------------------------------------------------------------

%package  Mime

Summary:  Zend Framework 2: MIME Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.mime.html

Requires: %{name}-common = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-mail)             = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-iconv
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-mime) = %{version}

%description Mime
Zend\Mime\Mime is a support class for handling multipart MIME messages. It
is used by Zend\Mail and Zend\Mime\Message and may be used by applications
requiring MIME support.

Optional: %{name}-Mail

# ------------------------------------------------------------------------------

%package  ModuleManager

Summary:  Zend Framework 2: ModuleManager Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.module-manager.intro.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-eventmanager)     = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-config)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-console)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-loader)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-modulemanager) = %{version}

%description ModuleManager
Zend Framework 2.0 introduces a new and powerful approach to modules. This new
module system is designed with flexibility, simplicity, and re-usability in
mind. A module may contain just about anything: PHP code, including MVC
functionality; library code; view scripts; and/or public assets such as images,
CSS, and JavaScript.

# ------------------------------------------------------------------------------

%package  Mvc

Summary:  Zend Framework 2: MVC Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.mvc.intro.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-eventmanager)     = %{version}
Requires: php-composer(%{composer_vendor}/zend-form)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-authentication)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-config)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-console)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-di)               = %{version}
Requires: php-composer(%{composer_vendor}/zend-filter)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-http)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-i18n)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-inputfilter)      = %{version}
Requires: php-composer(%{composer_vendor}/zend-json)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-log)              = %{version}
Requires: php-composer(%{composer_vendor}/zend-modulemanager)    = %{version}
Requires: php-composer(%{composer_vendor}/zend-serializer)       = %{version}
Requires: php-composer(%{composer_vendor}/zend-session)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-text)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-uri)              = %{version}
Requires: php-composer(%{composer_vendor}/zend-validator)        = %{version}
Requires: php-composer(%{composer_vendor}/zend-version)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-view)             = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-intl
Requires: php-pcre
Requires: php-reflection
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-mvc) = %{version}

%description Mvc
Zend\Mvc is a brand new MVC implementation designed from the ground up for
Zend Framework 2, focusing on performance and flexibility.

The MVC layer is built on top of the following components:

* Zend\ServiceManager - Zend Framework provides a set of default service
  definitions set up at Zend\Mvc\Service. The ServiceManager creates and
  configures your application instance and workflow.
* Zend\EventManager - The MVC is event driven. This component is used everywhere
  from initial bootstrapping of the application, through returning response and
  request calls, to setting and retrieving routes and matched routes, as well as
  render views.
* Zend\Http - specifically the request and response objects.
* Zend\Stdlib\DispatchableInterface. All “controllers” are simply dispatchable
  objects.

# ------------------------------------------------------------------------------

%package  Navigation

Summary:  Zend Framework 2: Navigation Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.navigation.intro.html

Requires: %{name}-common          = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-config)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-mvc)              = %{version}
Requires: php-composer(%{composer_vendor}/zend-permissions-acl)  = %{version}
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-view)             = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-navigation) = %{version}

%description Navigation
Zend\Navigation is a component for managing trees of pointers to web pages.
Simply put: It can be used for creating menus, breadcrumbs, links, and sitemaps,
or serve as a model for other navigation related purposes.

# ------------------------------------------------------------------------------

%package  Paginator

Summary:  Zend Framework 2: Paginator Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.paginator.introduction.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-cache)            = %{version}
Requires: php-composer(%{composer_vendor}/zend-db)               = %{version}
Requires: php-composer(%{composer_vendor}/zend-filter)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-json)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-view)             = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-reflection
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-paginator) = %{version}

%description Paginator
Zend\Paginator is a flexible component for paginating collections of data and
presenting that data to users.

The primary design goals of Zend\Paginator are as follows:

* Paginate arbitrary data, not just relational databases
* Fetch only the results that need to be displayed
* Do not force users to adhere to only one way of displaying data or rendering
  pagination controls
* Loosely couple Zend\Paginator to other Zend Framework components so that users
  who wish to use it independently of Zend\View, Zend\Db, etc. can do so

# ------------------------------------------------------------------------------

%package  Permissions-Acl

Summary:  Zend Framework 2: Permissions ACL Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.permissions.acl.intro.html

Requires: %{name}-common = %{version}-%{release}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-permissions-acl) = %{version}

%description Permissions-Acl
The Zend\Permissions\Acl component provides a lightweight and flexible access
control list (ACL) implementation for privileges management. In general, an
application may utilize such ACL‘s to control access to certain protected
objects by other requesting objects.

For the purposes of this documentation:

* a resource is an object to which access is controlled.
* a role is an object that may request access to a Resource.

Put simply, roles request access to resources. For example, if a parking
attendant requests access to a car, then the parking attendant is the requesting
role, and the car is the resource, since access to the car may not be granted
to everyone.

Through the specification and use of an ACL, an application may control how
roles are granted access to resources.

# ------------------------------------------------------------------------------

%package  Permissions-Rbac

Summary:  Zend Framework 2: Permissions RBAC Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.permissions.rbac.intro.html

Requires: %{name}-common = %{version}-%{release}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-permissions-rbac) = %{version}

%description Permissions-Rbac
The Zend\Permissions\Rbac component provides a lightweight role-based access
control implementation based around PHP 5.3’s SPL RecursiveIterator and
RecursiveIteratorIterator. RBAC differs from access control lists (ACL) by
putting the emphasis on roles and their permissions rather than objects
(resources).

# ------------------------------------------------------------------------------

%package  ProgressBar

Summary:  Zend Framework 2: ProgressBar Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.progress-bar.html

Requires: %{name}-common  = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-json)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-session)          = %{version}
# phpcompatinfo (computed from version 2.3.1)
#     uploadprogress
Requires: php-date
Requires: php-pcre
Requires: php-pecl(APC)
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-progressbar) = %{version}

%description ProgressBar
Zend\ProgressBar is a component to create and update progress bars in different
environments. It consists of a single backend, which outputs the progress
through one of the multiple adapters. On every update, it takes an absolute
value and optionally a status message, and then calls the adapter with some
precalculated values like percentage and estimated time left.

# ------------------------------------------------------------------------------

%package  Serializer

Summary:  Zend Framework 2: Serializer Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.serializer.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-json)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-math)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
# phpcompatinfo (computed from version 2.3.1)
#     wddx
Requires: php-dom
Requires: php-libxml
Requires: php-pcre
Requires: php-pecl(igbinary)
Requires: php-simplexml
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-serializer) = %{version}

%description Serializer
The Zend\Serializer component provides an adapter based interface to simply
generate storable representation of PHP types by different facilities, and
recover.

Optional: msgpack (php-pecl-msgpack)

# ------------------------------------------------------------------------------

%package  Server

Summary:  Zend Framework 2: Server Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.server.html

Requires: %{name}-common = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-code)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-pcre
Requires: php-reflection
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-server) = %{version}

%description Server
The Zend\Server family of classes provides functionality for the various server
classes, including Zend\XmlRpc\Server and Zend\Json\Server. Zend\Server\Server
provides an interface that mimics PHP 5’s SoapServer class; all server classes
should implement this interface in order to provide a standard server API.

The Zend\Server\Reflection tree provides a standard mechanism for performing
function and class introspection for use as callbacks with the server classes,
and provides data suitable for use with Zend\Server\Server‘s getFunctions()
and loadFunctions() methods.

# ------------------------------------------------------------------------------

%package  ServiceManager

Summary:  Zend Framework 2: ServiceManager Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.service-manager.intro.html

Requires: %{name}-common = %{version}-%{release}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-di)               = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-reflection
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-servicemanager) = %{version}

%description ServiceManager
The Service Locator design pattern is implemented by the Zend\ServiceManager
component. The Service Locator is a service/object locator, tasked with
retrieving other objects.

# ------------------------------------------------------------------------------

%package  Session

Summary:  Zend Framework 2: Session Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/index.html#zend-session

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-eventmanager)     = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-cache)            = %{version}
Requires: php-composer(%{composer_vendor}/zend-db)               = %{version}
Requires: php-composer(%{composer_vendor}/zend-http)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-validator)        = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-date
Requires: php-hash
Requires: php-pcre
Requires: php-session
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-session) = %{version}

%description Session
Manage and preserve session data, a logical complement of cookie data, across
multiple page requests by the same client.

Optional: MongoDB (php-pecl-mongo)

# ------------------------------------------------------------------------------

%package  Soap

Summary:  Zend Framework 2: SOAP Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/index.html#zend-soap

Requires: %{name}-common = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-server)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-uri)              = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-http)             = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-curl
Requires: php-dom
Requires: php-libxml
Requires: php-pcre
Requires: php-reflection
Requires: php-simplexml
Requires: php-soap
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-soap) = %{version}

%description Soap
%{summary}

# ------------------------------------------------------------------------------

%package  Stdlib

Summary:  Zend Framework 2: Stdlib Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/index.html#zend-stdlib

Requires: %{name}-common         = %{version}-%{release}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-eventmanager)     = %{version}
Requires: php-composer(%{composer_vendor}/zend-serializer)       = %{version}
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-filter)           = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-date
Requires: php-iconv
Requires: php-intl
Requires: php-json
Requires: php-mbstring
Requires: php-pcre
Requires: php-reflection
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-stdlib) = %{version}

%description Stdlib
%{summary}

# ------------------------------------------------------------------------------

%package  Tag

Summary:  Zend Framework 2: Tag Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.tag.introduction.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-escaper)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-tag) = %{version}

%description Tag
Zend\Tag is a component suite which provides a facility to work with taggable
Items. As its base, it provides two classes to work with Tags, Zend\Tag\Item
and Zend\Tag\ItemList. Additionally, it comes with the interface
Zend\Tag\TaggableInterface, which allows you to use any of your models as a
taggable item in conjunction with Zend\Tag.

Zend\Tag\Item is a basic taggable item implementation which comes with the
essential functionality required to work with the Zend\Tag suite. A taggable
item always consists of a title and a relative weight (e.g. number of
occurrences). It also stores parameters which are used by the different
sub-components of Zend\Tag.

To group multiple items together, Zend\Tag\ItemList exists as an array iterator
and provides additional functionality to calculate absolute weight values based
on the given relative weights of each item in it.

# ------------------------------------------------------------------------------

%package  Test

Summary:  Zend Framework 2: Test Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.test.introduction.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-console)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-dom)              = %{version}
Requires: php-composer(%{composer_vendor}/zend-eventmanager)     = %{version}
Requires: php-composer(%{composer_vendor}/zend-http)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-mvc)              = %{version}
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-uri)              = %{version}
Requires: php-composer(%{composer_vendor}/zend-view)             = %{version}
Requires: php-phpunit-PHPUnit >= 3.7.0
# phpcompatinfo (computed from version 2.3.1)
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-test) = %{version}

%description Test
The Zend\Test component provides tools to facilitate unit testing of your Zend
Framework applications. At this time, we offer facilities to enable testing of
your Zend Framework MVC applications.

PHPUnit is the only library supported currently.

# ------------------------------------------------------------------------------

### TODO: Is Zend/Text/Figlet/zend-framework.flf allowed?

%package  Text

Summary:  Zend Framework 2: Text Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/index.html#zend-text

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-ctype
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-text) = %{version}

%description Text
%{summary}

# ------------------------------------------------------------------------------

%package  Uri

Summary:  Zend Framework 2: URI Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.uri.html

Requires: %{name}-common    = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-escaper)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-validator)        = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-uri) = %{version}

%description Uri
Zend\Uri is a component that aids in manipulating and validating Uniform
Resource Identifiers (URIs) [1]. Zend\Uri exists primarily to service other
components, such as Zend\Http\, but is also useful as a standalone utility.

URIs always begin with a scheme, followed by a colon. The construction of the
many different schemes varies significantly. The Zend\Uri component provides
the Zend\Uri\UriFactory that returns a class implementing the
Zend\Uri\UriInterface which specializes in the scheme if such a class is
registered with the Factory.

[1] http://www.ietf.org/rfc/rfc3986.txt

# ------------------------------------------------------------------------------

%package  Validator

Summary:  Zend Framework 2: Validator Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.validator.html

Requires: %{name}-common         = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
#     zendframework/zend-resources
Requires: php-composer(%{composer_vendor}/zend-db)               = %{version}
Requires: php-composer(%{composer_vendor}/zend-filter)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-i18n)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-math)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-session)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-uri)              = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-ctype
Requires: php-date
Requires: php-fileinfo
Requires: php-hash
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-validator) = %{version}

%description Validator
The Zend\Validator component provides a set of commonly needed validators.
It also provides a simple validator chaining mechanism by which multiple
validators may be applied to a single datum in a user-defined order.

# ------------------------------------------------------------------------------

%package  Version

Summary:  Zend Framework 2: Version Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.version.html

Requires: %{name}-common = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-json)             = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-http)             = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-version) = %{version}

%description Version
Zend\Version provides a class constant Zend\Version\Version::VERSION that
contains a string identifying the version number of your Zend Framework
installation. Zend\Version\Version::VERSION might contain “1.7.4”, for
example.

The static method Zend\Version\Version::compareVersion($version) is based on
the PHP function version_compare(). This method returns -1 if the specified
version is older than the installed Zend Framework version, 0 if they are the
same and +1 if the specified version is newer than the version of the Zend
Framework installation.

# ------------------------------------------------------------------------------

%package  View

Summary:  Zend Framework 2: View Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.view.quick-start.html

Requires: %{name}-common          = %{version}-%{release}
# composer.json
Requires: php-composer(%{composer_vendor}/zend-eventmanager)     = %{version}
Requires: php-composer(%{composer_vendor}/zend-loader)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-authentication)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-escaper)          = %{version}
Requires: php-composer(%{composer_vendor}/zend-feed)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-filter)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-http)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-i18n)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-json)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-mvc)              = %{version}
Requires: php-composer(%{composer_vendor}/zend-navigation)       = %{version}
Requires: php-composer(%{composer_vendor}/zend-paginator)        = %{version}
Requires: php-composer(%{composer_vendor}/zend-permissions-acl)  = %{version}
Requires: php-composer(%{composer_vendor}/zend-servicemanager)   = %{version}
Requires: php-composer(%{composer_vendor}/zend-uri)              = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-date
Requires: php-dom
Requires: php-filter
Requires: php-pcre
Requires: php-spl

Provides: php-composer(%{composer_vendor}/zend-view) = %{version}

%description View
Zend\View provides the “View” layer of Zend Framework 2’s MVC system. It
is a multi-tiered system allowing a variety of mechanisms for extension,
substitution, and more.

# ------------------------------------------------------------------------------

%package  XmlRpc

Summary:  Zend Framework 2: XML-RPC Component
Group:    Development/Libraries
URL:      http://framework.zend.com/manual/2.3/en/modules/zend.xmlrpc.intro.html

Requires: %{name}-common  = %{version}-%{release}
Requires: php-composer(%{composer_vendor}/zendxml)
# composer.json
Requires: php-composer(%{composer_vendor}/zend-http)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-math)             = %{version}
Requires: php-composer(%{composer_vendor}/zend-server)           = %{version}
Requires: php-composer(%{composer_vendor}/zend-stdlib)           = %{version}
Requires: php-composer(%{composer_vendor}/zendxml)
# composer.json (optional)
Requires: php-composer(%{composer_vendor}/zend-cache)            = %{version}
# phpcompatinfo (computed from version 2.3.1)
Requires: php-date
Requires: php-dom
Requires: php-iconv
Requires: php-libxml
Requires: php-pcre
Requires: php-reflection
Requires: php-simplexml
Requires: php-spl
Requires: php-xmlwriter

Provides: php-composer(%{composer_vendor}/zend-xmlrpc) = %{version}

%description XmlRpc
From its home page, XML-RPC is described as a ”...remote procedure calling
using HTTP as the transport and XML as the encoding. XML-RPC is designed to
be as simple as possible, while allowing complex data structures to be
transmitted, processed and returned.”

Zend Framework provides support for both consuming remote XML-RPC services
and building new XML-RPC servers.

[1] http://www.xmlrpc.com/


# ##############################################################################


%prep
%setup -qn %{github_name}-%{github_commit}


%build
: Create autoloader
cat <<'AUTOLOAD' | tee library/Zend/autoload.php
<?php
/*
Simple autoloader for Zend Framework
Inspired from https://github.com/zendframework/ZendSkeletonApplication

Set autoregister_zf     for Zend Framework
Set fallback_autoloader for dependencies which are PSR-0 compliant
*/
require_once __DIR__ . '/Loader/AutoloaderFactory.php';
Zend\Loader\AutoloaderFactory::factory(array(
    'Zend\Loader\StandardAutoloader' => array(
        'fallback_autoloader' => true,
        'autoregister_zf' => true
    )
));
AUTOLOAD


%install
mkdir -p %{buildroot}%{_datadir}/php
cp -rp library/* %{buildroot}%{_datadir}/php/

# Symlink package docs to common sub-package docs
mkdir -p %{buildroot}%{_docdir}
%if "%{_pkgdocdir}" == "%{_docdir}/%{name}"
ln -s %{name}-common            %{buildroot}%{_pkgdocdir}
%else
ln -s %{name}-common-%{version} %{buildroot}%{_pkgdocdir}
%endif


%check
%if %{with_tests}
cd tests
: Create autoloader for test suite
cat <<'AUTOLOADER' | tee _autoload.php
<?php
require_once '%{buildroot}%{_datadir}/php/Zend/autoload.php';

Zend\Loader\AutoloaderFactory::factory(array(
    'Zend\\Loader\\StandardAutoloader' => array(
        'namespaces' => array(
           'ZendTest' => __DIR__ . '/ZendTest',
        )
    )
));
AUTOLOADER

: ignore these for now
rm ZendTest/Mvc/Controller/Plugin/FilePostRedirectGetTest.php

%if 0%{?rhel} == 5
rm ZendTest/Feed/PubSubHubbub/Model/SubscriptionTest.php
rm ZendTest/Session/SaveHandler/DbTableGatewayTest.php
%endif

RET=0
for dir in ZendTest/[A-Z]*
do phpunit $dir || RET=1
done
exit $RET
%endif


%files
# Empty files section, included in sub-package "common"


# ##############################################################################

%files common
%defattr(-,root,root,-)

%{!?_licensedir:%global license %%doc}
%license LICENSE.txt
%doc *.md composer.json
%doc %{_pkgdocdir}

%dir %{_datadir}/php/Zend

# ------------------------------------------------------------------------------

%files Authentication
%defattr(-,root,root,-)

%doc library/Zend/Authentication/*.md
%doc library/Zend/Authentication/composer.json

%{_datadir}/php/Zend/Authentication
%exclude %{_datadir}/php/Zend/Authentication/*.md
%exclude %{_datadir}/php/Zend/Authentication/composer.json

# ------------------------------------------------------------------------------

%files Barcode
%defattr(-,root,root,-)

%doc library/Zend/Barcode/*.md
%doc library/Zend/Barcode/composer.json

%{_datadir}/php/Zend/Barcode
%exclude %{_datadir}/php/Zend/Barcode/*.md
%exclude %{_datadir}/php/Zend/Barcode/composer.json

# ------------------------------------------------------------------------------

%files Cache
%defattr(-,root,root,-)

%doc library/Zend/Cache/*.md
%doc library/Zend/Cache/composer.json

%{_datadir}/php/Zend/Cache
%exclude %{_datadir}/php/Zend/Cache/*.md
%exclude %{_datadir}/php/Zend/Cache/composer.json

# ------------------------------------------------------------------------------

%files Captcha
%defattr(-,root,root,-)

%doc library/Zend/Captcha/*.md
%doc library/Zend/Captcha/composer.json

%{_datadir}/php/Zend/Captcha
%exclude %{_datadir}/php/Zend/Captcha/*.md
%exclude %{_datadir}/php/Zend/Captcha/composer.json

# ------------------------------------------------------------------------------

%files Code
%defattr(-,root,root,-)

%doc library/Zend/Code/*.md
%doc library/Zend/Code/composer.json

%{_datadir}/php/Zend/Code
%exclude %{_datadir}/php/Zend/Code/*.md
%exclude %{_datadir}/php/Zend/Code/composer.json

# ------------------------------------------------------------------------------

%files Config
%defattr(-,root,root,-)

%doc library/Zend/Config/*.md
%doc library/Zend/Config/composer.json

%{_datadir}/php/Zend/Config
%exclude %{_datadir}/php/Zend/Config/*.md
%exclude %{_datadir}/php/Zend/Config/composer.json

# ------------------------------------------------------------------------------

%files Console
%defattr(-,root,root,-)

%doc library/Zend/Console/*.md
%doc library/Zend/Console/composer.json

%{_datadir}/php/Zend/Console
%exclude %{_datadir}/php/Zend/Console/*.md
%exclude %{_datadir}/php/Zend/Console/composer.json

# ------------------------------------------------------------------------------

%files Crypt
%defattr(-,root,root,-)

%doc library/Zend/Crypt/*.md
%doc library/Zend/Crypt/composer.json

%{_datadir}/php/Zend/Crypt
%exclude %{_datadir}/php/Zend/Crypt/*.md
%exclude %{_datadir}/php/Zend/Crypt/composer.json

# ------------------------------------------------------------------------------

%files Db
%defattr(-,root,root,-)

%doc library/Zend/Db/*.md
%doc library/Zend/Db/composer.json

%{_datadir}/php/Zend/Db
%exclude %{_datadir}/php/Zend/Db/*.md
%exclude %{_datadir}/php/Zend/Db/composer.json

# ------------------------------------------------------------------------------

%files Debug
%defattr(-,root,root,-)

%doc library/Zend/Debug/*.md
%doc library/Zend/Debug/composer.json

%{_datadir}/php/Zend/Debug
%exclude %{_datadir}/php/Zend/Debug/*.md
%exclude %{_datadir}/php/Zend/Debug/composer.json

# ------------------------------------------------------------------------------

%files Di
%defattr(-,root,root,-)

%doc library/Zend/Di/*.md
%doc library/Zend/Di/composer.json

%{_datadir}/php/Zend/Di
%exclude %{_datadir}/php/Zend/Di/*.md
%exclude %{_datadir}/php/Zend/Di/composer.json

# ------------------------------------------------------------------------------

%files Dom
%defattr(-,root,root,-)

%doc library/Zend/Dom/*.md
%doc library/Zend/Dom/composer.json

%{_datadir}/php/Zend/Dom
%exclude %{_datadir}/php/Zend/Dom/*.md
%exclude %{_datadir}/php/Zend/Dom/composer.json

# ------------------------------------------------------------------------------

%files Escaper
%defattr(-,root,root,-)

%doc library/Zend/Escaper/*.md
%doc library/Zend/Escaper/composer.json

%{_datadir}/php/Zend/Escaper
%exclude %{_datadir}/php/Zend/Escaper/*.md
%exclude %{_datadir}/php/Zend/Escaper/composer.json

# ------------------------------------------------------------------------------

%files EventManager
%defattr(-,root,root,-)

%doc library/Zend/EventManager/*.md
%doc library/Zend/EventManager/composer.json

%{_datadir}/php/Zend/EventManager
%exclude %{_datadir}/php/Zend/EventManager/*.md
%exclude %{_datadir}/php/Zend/EventManager/composer.json

# ------------------------------------------------------------------------------

%files Feed
%defattr(-,root,root,-)

%doc library/Zend/Feed/*.md
%doc library/Zend/Feed/composer.json

%{_datadir}/php/Zend/Feed
%exclude %{_datadir}/php/Zend/Feed/*.md
%exclude %{_datadir}/php/Zend/Feed/composer.json

# ------------------------------------------------------------------------------

%files File
%defattr(-,root,root,-)

%doc library/Zend/File/*.md
%doc library/Zend/File/composer.json

%{_datadir}/php/Zend/File
%exclude %{_datadir}/php/Zend/File/*.md
%exclude %{_datadir}/php/Zend/File/composer.json

# ------------------------------------------------------------------------------

%files Filter
%defattr(-,root,root,-)

%doc library/Zend/Filter/*.md
%doc library/Zend/Filter/composer.json

%{_datadir}/php/Zend/Filter
%exclude %{_datadir}/php/Zend/Filter/*.md
%exclude %{_datadir}/php/Zend/Filter/composer.json

# ------------------------------------------------------------------------------

%files Form
%defattr(-,root,root,-)

%doc library/Zend/Form/*.md
%doc library/Zend/Form/composer.json

%{_datadir}/php/Zend/Form
%exclude %{_datadir}/php/Zend/Form/*.md
%exclude %{_datadir}/php/Zend/Form/composer.json

# ------------------------------------------------------------------------------

%files Http
%defattr(-,root,root,-)

%doc library/Zend/Http/*.md
%doc library/Zend/Http/composer.json

%{_datadir}/php/Zend/Http
%exclude %{_datadir}/php/Zend/Http/*.md
%exclude %{_datadir}/php/Zend/Http/composer.json

# ------------------------------------------------------------------------------

%files I18n
%defattr(-,root,root,-)

%doc library/Zend/I18n/*.md
%doc library/Zend/I18n/composer.json

%{_datadir}/php/Zend/I18n
%exclude %{_datadir}/php/Zend/I18n/*.md
%exclude %{_datadir}/php/Zend/I18n/composer.json

# ------------------------------------------------------------------------------

%files InputFilter
%defattr(-,root,root,-)

%doc library/Zend/InputFilter/*.md
%doc library/Zend/InputFilter/composer.json

%{_datadir}/php/Zend/InputFilter
%exclude %{_datadir}/php/Zend/InputFilter/*.md
%exclude %{_datadir}/php/Zend/InputFilter/composer.json

# ------------------------------------------------------------------------------

%files Json
%defattr(-,root,root,-)

%doc library/Zend/Json/*.md
%doc library/Zend/Json/composer.json

%{_datadir}/php/Zend/Json
%exclude %{_datadir}/php/Zend/Json/*.md
%exclude %{_datadir}/php/Zend/Json/composer.json

# ------------------------------------------------------------------------------

%files Ldap
%defattr(-,root,root,-)

%doc library/Zend/Ldap/*.md
%doc library/Zend/Ldap/composer.json

%{_datadir}/php/Zend/Ldap
%exclude %{_datadir}/php/Zend/Ldap/*.md
%exclude %{_datadir}/php/Zend/Ldap/composer.json

# ------------------------------------------------------------------------------

%files Loader
%defattr(-,root,root,-)

%doc library/Zend/Loader/*.md
%doc library/Zend/Loader/composer.json

%{_datadir}/php/Zend/autoload.php
%{_datadir}/php/Zend/Loader
%exclude %{_datadir}/php/Zend/Loader/*.md
%exclude %{_datadir}/php/Zend/Loader/composer.json

# ------------------------------------------------------------------------------

%files Log
%defattr(-,root,root,-)

%doc library/Zend/Log/*.md
%doc library/Zend/Log/composer.json

%{_datadir}/php/Zend/Log
%exclude %{_datadir}/php/Zend/Log/*.md
%exclude %{_datadir}/php/Zend/Log/composer.json

# ------------------------------------------------------------------------------

%files Mail
%defattr(-,root,root,-)

%doc library/Zend/Mail/*.md
%doc library/Zend/Mail/composer.json

%{_datadir}/php/Zend/Mail
%exclude %{_datadir}/php/Zend/Mail/*.md
%exclude %{_datadir}/php/Zend/Mail/composer.json

# ------------------------------------------------------------------------------

%files Math
%defattr(-,root,root,-)

%doc library/Zend/Math/*.md
%doc library/Zend/Math/composer.json

%{_datadir}/php/Zend/Math
%exclude %{_datadir}/php/Zend/Math/*.md
%exclude %{_datadir}/php/Zend/Math/composer.json

# ------------------------------------------------------------------------------

%files Memory
%defattr(-,root,root,-)

%doc library/Zend/Memory/*.md
%doc library/Zend/Memory/composer.json

%{_datadir}/php/Zend/Memory
%exclude %{_datadir}/php/Zend/Memory/*.md
%exclude %{_datadir}/php/Zend/Memory/composer.json

# ------------------------------------------------------------------------------

%files Mime
%defattr(-,root,root,-)

%doc library/Zend/Mime/*.md
%doc library/Zend/Mime/composer.json

%{_datadir}/php/Zend/Mime
%exclude %{_datadir}/php/Zend/Mime/*.md
%exclude %{_datadir}/php/Zend/Mime/composer.json

# ------------------------------------------------------------------------------

%files ModuleManager
%defattr(-,root,root,-)

%doc library/Zend/ModuleManager/*.md
%doc library/Zend/ModuleManager/composer.json

%{_datadir}/php/Zend/ModuleManager
%exclude %{_datadir}/php/Zend/ModuleManager/*.md
%exclude %{_datadir}/php/Zend/ModuleManager/composer.json

# ------------------------------------------------------------------------------

%files Mvc
%defattr(-,root,root,-)

%doc library/Zend/Mvc/*.md
%doc library/Zend/Mvc/composer.json

%{_datadir}/php/Zend/Mvc
%exclude %{_datadir}/php/Zend/Mvc/*.md
%exclude %{_datadir}/php/Zend/Mvc/composer.json

# ------------------------------------------------------------------------------

%files Navigation
%defattr(-,root,root,-)

%doc library/Zend/Navigation/*.md
%doc library/Zend/Navigation/composer.json

%{_datadir}/php/Zend/Navigation
%exclude %{_datadir}/php/Zend/Navigation/*.md
%exclude %{_datadir}/php/Zend/Navigation/composer.json

# ------------------------------------------------------------------------------

%files Paginator
%defattr(-,root,root,-)

%doc library/Zend/Paginator/*.md
%doc library/Zend/Paginator/composer.json

%{_datadir}/php/Zend/Paginator
%exclude %{_datadir}/php/Zend/Paginator/*.md
%exclude %{_datadir}/php/Zend/Paginator/composer.json

# ------------------------------------------------------------------------------

%files Permissions-Acl
%defattr(-,root,root,-)

%doc library/Zend/Permissions/Acl/*.md
%doc library/Zend/Permissions/Acl/composer.json

%dir %{_datadir}/php/Zend/Permissions
     %{_datadir}/php/Zend/Permissions/Acl
%exclude %{_datadir}/php/Zend/Permissions/Acl/*.md
%exclude %{_datadir}/php/Zend/Permissions/Acl/composer.json

# ------------------------------------------------------------------------------

%files Permissions-Rbac
%defattr(-,root,root,-)

%doc library/Zend/Permissions/Rbac/*.md
%doc library/Zend/Permissions/Rbac/composer.json

%dir %{_datadir}/php/Zend/Permissions
     %{_datadir}/php/Zend/Permissions/Rbac
%exclude %{_datadir}/php/Zend/Permissions/Rbac/*.md
%exclude %{_datadir}/php/Zend/Permissions/Rbac/composer.json

# ------------------------------------------------------------------------------

%files ProgressBar
%defattr(-,root,root,-)

%doc library/Zend/ProgressBar/*.md
%doc library/Zend/ProgressBar/composer.json

%{_datadir}/php/Zend/ProgressBar
%exclude %{_datadir}/php/Zend/ProgressBar/*.md
%exclude %{_datadir}/php/Zend/ProgressBar/composer.json

# ------------------------------------------------------------------------------

%files Serializer
%defattr(-,root,root,-)

%doc library/Zend/Serializer/*.md
%doc library/Zend/Serializer/composer.json

%{_datadir}/php/Zend/Serializer
%exclude %{_datadir}/php/Zend/Serializer/*.md
%exclude %{_datadir}/php/Zend/Serializer/composer.json

# ------------------------------------------------------------------------------

%files Server
%defattr(-,root,root,-)

%doc library/Zend/Server/*.md
%doc library/Zend/Server/composer.json

%{_datadir}/php/Zend/Server
%exclude %{_datadir}/php/Zend/Server/*.md
%exclude %{_datadir}/php/Zend/Server/composer.json

# ------------------------------------------------------------------------------

%files ServiceManager
%defattr(-,root,root,-)

%doc library/Zend/ServiceManager/*.md
%doc library/Zend/ServiceManager/composer.json

%{_datadir}/php/Zend/ServiceManager
%exclude %{_datadir}/php/Zend/ServiceManager/*.md
%exclude %{_datadir}/php/Zend/ServiceManager/composer.json

# ------------------------------------------------------------------------------

%files Session
%defattr(-,root,root,-)

%doc library/Zend/Session/*.md
%doc library/Zend/Session/composer.json

%{_datadir}/php/Zend/Session
%exclude %{_datadir}/php/Zend/Session/*.md
%exclude %{_datadir}/php/Zend/Session/composer.json

# ------------------------------------------------------------------------------

%files Soap
%defattr(-,root,root,-)

%doc library/Zend/Soap/*.md
%doc library/Zend/Soap/composer.json

%{_datadir}/php/Zend/Soap
%exclude %{_datadir}/php/Zend/Soap/*.md
%exclude %{_datadir}/php/Zend/Soap/composer.json

# ------------------------------------------------------------------------------

%files Stdlib
%defattr(-,root,root,-)

%doc library/Zend/Stdlib/*.md
%doc library/Zend/Stdlib/composer.json

%{_datadir}/php/Zend/Stdlib
%exclude %{_datadir}/php/Zend/Stdlib/*.md
%exclude %{_datadir}/php/Zend/Stdlib/composer.json

# ------------------------------------------------------------------------------

%files Tag
%defattr(-,root,root,-)

%doc library/Zend/Tag/*.md
%doc library/Zend/Tag/composer.json

%{_datadir}/php/Zend/Tag
%exclude %{_datadir}/php/Zend/Tag/*.md
%exclude %{_datadir}/php/Zend/Tag/composer.json

# ------------------------------------------------------------------------------

%files Test
%defattr(-,root,root,-)

%doc library/Zend/Test/*.md
%doc library/Zend/Test/composer.json

%{_datadir}/php/Zend/Test
%exclude %{_datadir}/php/Zend/Test/*.md
%exclude %{_datadir}/php/Zend/Test/composer.json

# ------------------------------------------------------------------------------

%files Text
%defattr(-,root,root,-)

%doc library/Zend/Text/*.md
%doc library/Zend/Text/composer.json

%{_datadir}/php/Zend/Text
%exclude %{_datadir}/php/Zend/Text/*.md
%exclude %{_datadir}/php/Zend/Text/composer.json

# ------------------------------------------------------------------------------

%files Uri
%defattr(-,root,root,-)

%doc library/Zend/Uri/*.md
%doc library/Zend/Uri/composer.json

%{_datadir}/php/Zend/Uri
%exclude %{_datadir}/php/Zend/Uri/*.md
%exclude %{_datadir}/php/Zend/Uri/composer.json

# ------------------------------------------------------------------------------

%files Validator
%defattr(-,root,root,-)

%doc library/Zend/Validator/*.md
%doc library/Zend/Validator/composer.json

%{_datadir}/php/Zend/Validator
%exclude %{_datadir}/php/Zend/Validator/*.md
%exclude %{_datadir}/php/Zend/Validator/composer.json

# ------------------------------------------------------------------------------

%files Version
%defattr(-,root,root,-)

%doc library/Zend/Version/*.md
%doc library/Zend/Version/composer.json

%{_datadir}/php/Zend/Version
%exclude %{_datadir}/php/Zend/Version/*.md
%exclude %{_datadir}/php/Zend/Version/composer.json

# ------------------------------------------------------------------------------

%files View
%defattr(-,root,root,-)

%doc library/Zend/View/*.md
%doc library/Zend/View/composer.json

%{_datadir}/php/Zend/View
%exclude %{_datadir}/php/Zend/View/*.md
%exclude %{_datadir}/php/Zend/View/composer.json

# ------------------------------------------------------------------------------

%files XmlRpc
%defattr(-,root,root,-)

%doc library/Zend/XmlRpc/*.md
%doc library/Zend/XmlRpc/composer.json

%{_datadir}/php/Zend/XmlRpc
%exclude %{_datadir}/php/Zend/XmlRpc/*.md
%exclude %{_datadir}/php/Zend/XmlRpc/composer.json

# ##############################################################################

%changelog
* Sun Jun 12 2016 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.4.10-1
- Update to 2.4.10 (RHBZ #1343995 / RHBZ #1343990 / ZF2015-09 / ZF2015-10 /
  CVE-2015-7503)
- Switch to GitHub source (and separate ZendXml pkg)
- Move autoloader into spec

* Wed Nov 25 2015 Remi Collet <remi@fedoraproject.org> - 2.4.9-1
- Update to 2.4.9

* Wed Sep 16 2015 Remi Collet <remi@fedoraproject.org> - 2.4.8-1
- Update to 2.4.8

* Wed Aug 12 2015 Remi Collet <remi@fedoraproject.org> - 2.4.7-1
- Update to 2.4.7
- add autoloader in php-ZendFramework2-Loader

* Thu May 21 2015 Remi Collet <remi@fedoraproject.org> - 2.3.9-1
- Update to 2.3.9

* Fri May  8 2015 Remi Collet <remi@fedoraproject.org> - 2.3.8-1
- Update to 2.3.8

* Fri Mar 13 2015 Remi Collet <remi@fedoraproject.org> - 2.3.7-1
- Update to 2.3.7

* Thu Mar 12 2015 Remi Collet <remi@fedoraproject.org> - 2.3.6-1
- Update to 2.3.6

* Tue Feb 24 2015 Remi Collet <remi@fedoraproject.org> - 2.3.5-1
- Update to 2.3.5
- add patch for icu 54, FTBFS detected by Koschei

* Fri Jan 16 2015 Remi Collet <remi@fedoraproject.org> - 2.3.4-1
- Update to 2.3.4
- drop GLPI patch, fixed upstream

* Fri Oct 17 2014 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.3.3-2
- Drop php-gmp dependency from Math component (BZ #1152440)
- Fix tests' autoloader

* Wed Sep 17 2014 Remi Collet <remi@fedoraproject.org> - 2.3.3-1
- Update to 2.3.3

* Wed Aug 13 2014 Remi Collet <remi@fedoraproject.org> - 2.3.2-1
- Update to 2.3.2
- tests from github
- run test suite during build

* Sun Jul 20 2014 Remi Collet <remi@fedoraproject.org> - 2.3.1-3
- composer dependencies
- add missing license

* Thu May 22 2014 Remi Collet <remi@fedoraproject.org> 2.3.1-1
- backport 2.3.1 for remi repo

* Tue May 20 2014 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.3.1-1
- Updated to 2.3.1

* Mon May 19 2014 Remi Collet <remi@fedoraproject.org> 2.2.7-1
- backport 2.2.7 for remi repo (security update for ZF2014-03)

* Sun May 18 2014 Shawn Iwinski <shawn.iwinski@gmail.com> 2.2.7-1
- Updated to 2.2.7 (security update for ZF2014-03)

* Tue Apr  1 2014 Remi Collet <remi@fedoraproject.org> 2.2.6-1
- Updated to 2.2.6 for CVE-2014-2681 CVE-2014-2682
  CVE-2014-2683 CVE-2014-2684 CVE-2014-2685
- new package ZendXml
- fix for unversioned doc directory

* Mon Nov 11 2013 Remi Collet <remi@fedoraproject.org> 2.2.5-1
- backport 2.2.5 for remi repo

* Sun Nov 10 2013 Shawn Iwinski <shawn.iwinski@gmail.com> 2.2.5-1
- Updated to 2.2.5
- Fixed Serializer sub-pkg broken dependency (php-pecl(msgpack) on ppc64)

* Wed Oct 02 2013 Remi Collet <remi@fedoraproject.org> 2.2.4-2
- Add patch needed for GLPI #1014478 (ZF-11974)

* Sun Sep 29 2013 Remi Collet <remi@fedoraproject.org> 2.2.4-1
- backport 2.2.4 for remi repo

* Thu Sep 12 2013 Shawn Iwinski <shawn.iwinski@gmail.com> 2.2.4-1
- Updated to 2.2.4
- Versioned conflict
- Macros in comment fix

* Mon Jul 22 2013 Shawn Iwinski <shawn.iwinski@gmail.com> 2.2.1-2
- Added php-ZendFramework conflict

* Mon Jul 22 2013 Shawn Iwinski <shawn.iwinski@gmail.com> 2.2.1-1
- Initial package