]>
Commit | Line | Data |
---|---|---|
fa357215 ER |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with tests # build with tests | |
4 | ||
d9de598b ER |
5 | # NOTE: |
6 | # - ZendXml has it's own versioning schema, version 1.0.1 as of 2.4.8 ZF2 release | |
22d13a40 | 7 | # - ZF2 installs to /usr/share/php/Zend, while ZF1 installs to /usr/share/pear/Zend |
d9de598b | 8 | |
fa357215 ER |
9 | Summary: Zend Framework 2 |
10 | Name: php-ZendFramework | |
718cbd07 | 11 | Version: 2.4.11 |
60cbf1be | 12 | Release: 3 |
fa357215 | 13 | License: BSD |
3662f22a | 14 | Group: Development/Languages/PHP |
fa357215 | 15 | Source0: https://packages.zendframework.com/releases/ZendFramework-%{version}/ZendFramework-%{version}.tgz |
718cbd07 | 16 | # Source0-md5: 6049929eaa60473ec97ca51214d6e85c |
fa357215 | 17 | # git clone https://github.com/zendframework/zf2.git |
22d13a40 ER |
18 | # cd zf2; git checkout release-2.4.8 |
19 | # tar czf ../ZendFramework-tests-2.4.8.tgz tests | |
4051ae44 | 20 | #Source1: ZendFramework-tests-%{version}.tgz |
fa357215 | 21 | Source2: autoload.php |
7aff082c | 22 | Patch0: zf-mail-2.4-fixes.patch |
6319c6b7 | 23 | URL: https://framework.zend.com/ |
4051ae44 ER |
24 | %if %{with tests} |
25 | BuildRequires: phpunit >= 4.0.0 | |
26 | %endif | |
7aff082c | 27 | Requires: php(core) >= 5.3.23 |
fa357215 ER |
28 | BuildArch: noarch |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | Zend Framework 2 is an open source framework for developing web | |
33 | applications and services using PHP 5.3+. Zend Framework 2 uses 100% | |
34 | object-oriented code and utilizes most of the new features of PHP 5.3, | |
35 | namely namespaces, late static binding, lambda functions and closures. | |
36 | ||
37 | Zend Framework 2 evolved from Zend Framework 1, a successful PHP | |
38 | framework with over 15 million downloads. | |
39 | ||
b307c652 | 40 | %package Authentication |
fa357215 | 41 | Summary: Zend Framework 2: Authentication Component |
3662f22a | 42 | Group: Development/Languages/PHP |
fa357215 ER |
43 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.authentication.intro.html |
44 | Requires: %{name} = %{version}-%{release} | |
b307c652 | 45 | Requires: %{name}-Stdlib = %{version}-%{release} |
731d8d75 ER |
46 | Suggests: %{name}-Crypt = %{version}-%{release} |
47 | Suggests: %{name}-Db = %{version}-%{release} | |
48 | Suggests: %{name}-Http = %{version}-%{release} | |
49 | Suggests: %{name}-Ldap = %{version}-%{release} | |
50 | Suggests: %{name}-Session = %{version}-%{release} | |
51 | Suggests: %{name}-Uri = %{version}-%{release} | |
52 | Suggests: %{name}-Validator = %{version}-%{release} | |
53 | Suggests: php(ctype) | |
54 | Suggests: php(date) | |
55 | Suggests: php(hash) | |
56 | Suggests: php(pcre) | |
57 | Suggests: php(spl) | |
fa357215 ER |
58 | |
59 | %description Authentication | |
60 | The Zend\Authentication component provides an API for authentication | |
61 | and includes concrete authentication adapters for common use case | |
62 | scenarios. | |
63 | ||
64 | Zend\Authentication is concerned only with authentication and not with | |
65 | authorization. Authentication is loosely defined as determining | |
66 | whether an entity actually is what it purports to be (i.e., | |
67 | identification), based on some set of credentials. Authorization, the | |
68 | process of deciding whether to allow an entity access to, or to | |
69 | perform operations upon, other entities is outside the scope of | |
70 | Zend\Authentication. For more information about authorization and | |
71 | access control with Zend Framework, please see the | |
72 | Zend\Permissions\Acl or Zend\Permissions\Rbac component. | |
73 | ||
b307c652 | 74 | %package Barcode |
fa357215 | 75 | Summary: Zend Framework 2: Barcode Component |
3662f22a | 76 | Group: Development/Languages/PHP |
fa357215 ER |
77 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.barcode.intro.html |
78 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
79 | Requires: %{name}-Stdlib = %{version}-%{release} |
80 | Requires: %{name}-Validator = %{version}-%{release} | |
706766a2 | 81 | Suggests: %{name}-ServiceManager = %{version}-%{release} |
dd9e1f6a ER |
82 | Suggests: php(dom) |
83 | Suggests: php(gd) | |
84 | Suggests: php(iconv) | |
85 | Suggests: php(pcre) | |
86 | Suggests: php(spl) | |
fa357215 ER |
87 | |
88 | %description Barcode | |
89 | Zend\Barcode\Barcode provides a generic way to generate barcodes. The | |
90 | Zend\Barcode component is divided into two subcomponents: barcode | |
91 | objects and renderers. Objects allow you to create barcodes | |
92 | independently of the renderer. Renderer allow you to draw barcodes | |
93 | based on the support required. | |
94 | ||
b307c652 | 95 | %package Cache |
fa357215 | 96 | Summary: Zend Framework 2: Cache Component |
3662f22a | 97 | Group: Development/Languages/PHP |
fa357215 ER |
98 | URL: http://framework.zend.com/manual/2.4/en/index.html#zend-cache |
99 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
100 | Requires: %{name}-EventManager = %{version}-%{release} |
101 | Requires: %{name}-Serializer = %{version}-%{release} | |
102 | Requires: %{name}-ServiceManager = %{version}-%{release} | |
103 | Requires: %{name}-Stdlib = %{version}-%{release} | |
706766a2 | 104 | Suggests: %{name}-Session = %{version}-%{release} |
dd9e1f6a ER |
105 | Suggests: php(date) |
106 | Suggests: php(pcre) | |
107 | Suggests: php(reflection) | |
108 | Suggests: php(spl) | |
fa357215 ER |
109 | |
110 | %description Cache | |
111 | %{summary} | |
112 | ||
113 | Optional: | |
114 | - APC (php-pecl-apc) | |
115 | - DBA (php-dba) | |
116 | - Memcache (php-pecl-memcache) | |
117 | - Memcached (php-pecl-memcached) | |
118 | - Mongo (php-pecl-mongo) | |
119 | - Redis (php-pecl-redis) | |
120 | - XCache (php-xcache) | |
121 | ||
b307c652 | 122 | %package Captcha |
fa357215 | 123 | Summary: Zend Framework 2: CAPTCHA Component |
3662f22a | 124 | Group: Development/Languages/PHP |
fa357215 ER |
125 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.captcha.intro.html |
126 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
127 | Requires: %{name}-Math = %{version}-%{release} |
128 | Requires: %{name}-Stdlib = %{version}-%{release} | |
706766a2 ER |
129 | Suggests: %{name}-Session = %{version}-%{release} |
130 | Suggests: %{name}-Text = %{version}-%{release} | |
131 | Suggests: %{name}-Validator = %{version}-%{release} | |
dd9e1f6a ER |
132 | Suggests: php(date) |
133 | Suggests: php(gd) | |
134 | Suggests: php(spl) | |
fa357215 ER |
135 | |
136 | %description Captcha | |
fa92044d ER |
137 | CAPTCHA stands for "Completely Automated Public Turing test to tell |
138 | Computers and Humans Apart'; it is used as a challenge-response to | |
fa357215 ER |
139 | ensure that the individual submitting information is a human and not |
140 | an automated process. Typically, a CAPTCHA is used with form | |
141 | submissions where authenticated users are not necessary, but you want | |
142 | to prevent spam submissions. | |
143 | ||
144 | CAPTCHAs can take a variety of forms, including asking logic | |
145 | questions, presenting skewed fonts, and presenting multiple images and | |
146 | asking how they relate. The Zend\Captcha component aims to provide a | |
147 | variety of back ends that may be utilized either standalone or in | |
148 | conjunction with the Zend\Form component. | |
149 | ||
b307c652 | 150 | %package Code |
fa357215 | 151 | Summary: Zend Framework 2: Code Component |
3662f22a | 152 | Group: Development/Languages/PHP |
fa357215 ER |
153 | URL: http://framework.zend.com/manual/2.4/en/index.html |
154 | Requires: %{name} = %{version}-%{release} | |
b307c652 | 155 | Requires: %{name}-EventManager = %{version}-%{release} |
706766a2 | 156 | Suggests: %{name}-Stdlib = %{version}-%{release} |
dd9e1f6a ER |
157 | Suggests: php(pcre) |
158 | Suggests: php(reflection) | |
159 | Suggests: php(spl) | |
160 | Suggests: php(tokenizer) | |
fa357215 ER |
161 | |
162 | %description Code | |
163 | Provides facilities to generate arbitrary code using an object | |
164 | oriented interface. | |
165 | ||
b307c652 | 166 | %package Config |
fa357215 | 167 | Summary: Zend Framework 2: Config Component |
3662f22a | 168 | Group: Development/Languages/PHP |
fa357215 ER |
169 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.config.introduction.html |
170 | Requires: %{name} = %{version}-%{release} | |
b307c652 | 171 | Requires: %{name}-Stdlib = %{version}-%{release} |
706766a2 ER |
172 | Suggests: %{name}-Filter = %{version}-%{release} |
173 | Suggests: %{name}-I18n = %{version}-%{release} | |
174 | Suggests: %{name}-Json = %{version}-%{release} | |
175 | Suggests: %{name}-ServiceManager = %{version}-%{release} | |
dd9e1f6a ER |
176 | Suggests: php(pcre) |
177 | Suggests: php(spl) | |
178 | Suggests: php(xml) | |
179 | Suggests: php(xmlreader) | |
180 | Suggests: php(xmlwriter) | |
fa357215 ER |
181 | |
182 | %description Config | |
183 | Zend\Config is designed to simplify access to configuration data | |
184 | within applications. It provides a nested object property-based user | |
185 | interface for accessing this configuration data within application | |
186 | code. The configuration data may come from a variety of media | |
187 | supporting hierarchical data storage. Currently, Zend\Config provides | |
188 | adapters that read and write configuration data stored in .ini, JSON, | |
189 | YAML and XML files. | |
190 | ||
b307c652 | 191 | %package Console |
fa357215 | 192 | Summary: Zend Framework 2: Console Component |
3662f22a | 193 | Group: Development/Languages/PHP |
fa357215 ER |
194 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.console.introduction.html |
195 | Requires: %{name} = %{version}-%{release} | |
706766a2 | 196 | Requires: %{name}-Filter = %{version}-%{release} |
b307c652 | 197 | Requires: %{name}-Stdlib = %{version}-%{release} |
706766a2 | 198 | Requires: %{name}-Validator = %{version}-%{release} |
dd9e1f6a ER |
199 | Suggests: php(pcre) |
200 | Suggests: php(reflection) | |
201 | Suggests: php(spl) | |
202 | Suggests: php(xml) | |
fa357215 ER |
203 | |
204 | %description Console | |
205 | Zend Framework 2 features built-in console support. | |
206 | ||
207 | When a Zend\Application is run from a console window (a shell window), | |
208 | it will recognize this fact and prepare Zend\Mvc components to handle | |
209 | the request. Console support is enabled by default, but to function | |
210 | properly it requires at least one console route and one action | |
211 | controller to handle the request. | |
212 | ||
213 | - Console routing allows you to invoke controllers and action | |
214 | depending on command line parameters provided by the user. | |
215 | - Module Manager integration allows ZF2 applications and modules to | |
216 | display help and usage information, in case the command line has not | |
217 | been understood (no route matched). | |
218 | - Console-aware action controllers will receive a console request | |
219 | containing all named parameters and flags. They are able to send | |
220 | output back to the console window. | |
221 | - Console adapters provide a level of abstraction for interacting with | |
222 | console on different operating systems. | |
223 | - Console prompts can be used to interact with the user by asking him | |
224 | questions and retrieving input. | |
225 | ||
b307c652 | 226 | %package Crypt |
fa357215 | 227 | Summary: Zend Framework 2: Crypt Component |
3662f22a | 228 | Group: Development/Languages/PHP |
fa357215 ER |
229 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.crypt.introduction.html |
230 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
231 | Requires: %{name}-Math = %{version}-%{release} |
232 | Requires: %{name}-ServiceManager = %{version}-%{release} | |
233 | Requires: %{name}-Stdlib = %{version}-%{release} | |
dd9e1f6a | 234 | Suggests: php(hash) |
19603149 | 235 | Suggests: php(mcrypt) |
dd9e1f6a ER |
236 | Suggests: php(openssl) |
237 | Suggests: php(pcre) | |
238 | Suggests: php(spl) | |
fa357215 ER |
239 | |
240 | %description Crypt | |
241 | Zend\Crypt provides support of some cryptographic tools. The available | |
242 | features are: | |
243 | ||
244 | - encrypt-then-authenticate using symmetric ciphers (the | |
245 | authentication step is provided using HMAC) | |
246 | - encrypt/decrypt using symmetric and public key algorithm (e.g. RSA | |
247 | algorithm) | |
248 | - generate digital sign using public key algorithm (e.g. RSA | |
249 | algorithm) | |
250 | - key exchange using the Diffie-Hellman method | |
251 | - Key derivation function (e.g. using PBKDF2 algorithm) | |
252 | - Secure password hash (e.g. using Bcrypt algorithm) | |
253 | - generate Hash values | |
254 | - generate HMAC values | |
255 | ||
256 | The main scope of this component is to offer an easy and secure way to | |
257 | protect and authenticate sensitive data in PHP. Because the use of | |
258 | cryptography is not so easy we recommend to use the Zend\Crypt | |
259 | component only if you have a minimum background on this topic. | |
260 | ||
b307c652 | 261 | %package Db |
fa357215 | 262 | Summary: Zend Framework 2: DB Component |
3662f22a | 263 | Group: Development/Languages/PHP |
fa357215 ER |
264 | URL: http://framework.zend.com/manual/2.4/en/index.html#zend-db |
265 | Requires: %{name} = %{version}-%{release} | |
b307c652 | 266 | Requires: %{name}-Stdlib = %{version}-%{release} |
706766a2 ER |
267 | Suggests: %{name}-EventManager = %{version}-%{release} |
268 | Suggests: %{name}-ServiceManager = %{version}-%{release} | |
dd9e1f6a ER |
269 | Suggests: php(date) |
270 | Suggests: php(pcre) | |
271 | Suggests: php(pdo) | |
272 | Suggests: php(spl) | |
fa357215 ER |
273 | |
274 | %description Db | |
275 | %{summary} | |
276 | ||
277 | Optional: | |
278 | - ibm_db2 (http://pecl.php.net/package/ibm_db2) | |
279 | - mysqli (php-mysql) | |
280 | - oci8 (http://pecl.php.net/package/oci8) | |
281 | - pgsql (php-pgsql) | |
282 | - sqlsrv (http://pecl.php.net/package/sqlsrv) | |
283 | ||
b307c652 | 284 | %package Debug |
fa357215 | 285 | Summary: Zend Framework 2: Debug Component |
3662f22a | 286 | Group: Development/Languages/PHP |
fa357215 ER |
287 | URL: http://framework.zend.com/manual/2.4/en/index.html |
288 | Requires: %{name} = %{version}-%{release} | |
706766a2 | 289 | Suggests: %{name}-Escaper = %{version}-%{release} |
dd9e1f6a | 290 | Suggests: php(pcre) |
fa357215 ER |
291 | |
292 | %description Debug | |
293 | %{summary} | |
294 | ||
295 | Optional: XDebug (php-pecl-xdebug) | |
296 | ||
b307c652 | 297 | %package Di |
fa357215 | 298 | Summary: Zend Framework 2: DI Component |
3662f22a | 299 | Group: Development/Languages/PHP |
fa357215 ER |
300 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.di.introduction.html |
301 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
302 | Requires: %{name}-Code = %{version}-%{release} |
303 | Requires: %{name}-Stdlib = %{version}-%{release} | |
706766a2 | 304 | Suggests: %{name}-ServiceManager = %{version}-%{release} |
dd9e1f6a ER |
305 | Suggests: php(pcre) |
306 | Suggests: php(reflection) | |
307 | Suggests: php(spl) | |
fa357215 ER |
308 | |
309 | %description Di | |
310 | Dependency Injection (here-in called DI) is a concept that has been | |
fa92044d | 311 | talked about in numerous places over the web. Simply put, we'll |
fa357215 ER |
312 | explain the act of injecting dependencies simply with this below code: |
313 | ||
314 | $b = new MovieLister(new MovieFinder()); | |
315 | ||
316 | Above, MovieFinder is a dependency of MovieLister, and MovieFinder was | |
317 | injected into MovieLister. | |
318 | ||
b307c652 | 319 | %package Dom |
fa357215 | 320 | Summary: Zend Framework 2: DOM Component |
3662f22a | 321 | Group: Development/Languages/PHP |
fa357215 ER |
322 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.dom.intro.html |
323 | Requires: %{name} = %{version}-%{release} | |
dd9e1f6a ER |
324 | Suggests: php(dom) |
325 | Suggests: php(pcre) | |
326 | Suggests: php(spl) | |
327 | Suggests: php(xml) | |
fa357215 ER |
328 | |
329 | %description Dom | |
330 | The Zend\Dom component provides tools for working with DOM documents | |
331 | and structures. Currently, we offer Zend\Dom\Query, which provides a | |
332 | unified interface for querying DOM documents utilizing both XPath and | |
333 | CSS selectors. | |
334 | ||
b307c652 | 335 | %package Escaper |
fa357215 | 336 | Summary: Zend Framework 2: Escaper Component |
3662f22a | 337 | Group: Development/Languages/PHP |
fa357215 ER |
338 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.escaper.introduction.html |
339 | Requires: %{name} = %{version}-%{release} | |
dd9e1f6a ER |
340 | Suggests: php(ctype) |
341 | Suggests: php(iconv) | |
342 | Suggests: php(mbstring) | |
343 | Suggests: php(pcre) | |
344 | Suggests: php(spl) | |
fa357215 ER |
345 | |
346 | %description Escaper | |
347 | The OWASP Top 10 web security risks study lists Cross-Site Scripting | |
fa92044d | 348 | (XSS) in second place. PHP's sole functionality against XSS is limited |
fa357215 ER |
349 | to two functions of which one is commonly misapplied. Thus, the |
350 | Zend\Escaper component was written. It offers developers a way to | |
351 | escape output and defend from XSS and related vulnerabilities by | |
352 | introducing contextual escaping based on peer-reviewed rules. | |
353 | ||
b307c652 | 354 | %package EventManager |
fa357215 | 355 | Summary: Zend Framework 2: EventManager Component |
3662f22a | 356 | Group: Development/Languages/PHP |
fa357215 ER |
357 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.event-manager.event-manager.html |
358 | Requires: %{name} = %{version}-%{release} | |
b307c652 | 359 | Requires: %{name}-Stdlib = %{version}-%{release} |
dd9e1f6a | 360 | Suggests: php(spl) |
fa357215 ER |
361 | |
362 | %description EventManager | |
363 | The EventManager is a component designed for the following use cases: | |
364 | ||
365 | - Implementing simple subject/observer patterns. | |
366 | - Implementing Aspect-Oriented designs. | |
367 | - Implementing event-driven architectures. | |
368 | ||
369 | The basic architecture allows you to attach and detach listeners to | |
370 | named events, both on a per-instance basis as well as via shared | |
371 | collections; trigger events; and interrupt execution of listeners. | |
372 | ||
b307c652 | 373 | %package Feed |
fa357215 | 374 | Summary: Zend Framework 2: Feed Component |
3662f22a | 375 | Group: Development/Languages/PHP |
fa357215 ER |
376 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.feed.introduction.html |
377 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
378 | Requires: %{name}-Escaper = %{version}-%{release} |
379 | Requires: %{name}-Stdlib = %{version}-%{release} | |
706766a2 ER |
380 | Suggests: %{name}-Cache = %{version}-%{release} |
381 | Suggests: %{name}-Db = %{version}-%{release} | |
382 | Suggests: %{name}-Http = %{version}-%{release} | |
383 | Suggests: %{name}-ServiceManager = %{version}-%{release} | |
384 | Suggests: %{name}-Validator = %{version}-%{release} | |
dd9e1f6a ER |
385 | Suggests: php(ctype) |
386 | Suggests: php(date) | |
387 | Suggests: php(dom) | |
388 | Suggests: php(hash) | |
389 | Suggests: php(pcre) | |
390 | Suggests: php(spl) | |
391 | Suggests: php(tidy) | |
392 | Suggests: php(xml) | |
fa357215 ER |
393 | |
394 | %description Feed | |
395 | Zend\Feed provides functionality for consuming RSS and Atom feeds. It | |
396 | provides a natural syntax for accessing elements of feeds, feed | |
397 | attributes, and entry attributes. Zend\Feed also has extensive support | |
398 | for modifying feed and entry structure with the same natural syntax, | |
399 | and turning the result back into XML. In the future, this modification | |
400 | support could provide support for the Atom Publishing Protocol. | |
401 | ||
402 | Zend\Feed consists of Zend\Feed\Reader for reading RSS and Atom feeds, | |
403 | Zend\Feed\Writer for writing RSS and Atom feeds, and | |
404 | Zend\Feed\PubSubHubbub for working with Hub servers. Furthermore, both | |
405 | Zend\Feed\Reader and Zend\Feed\Writer support extensions which allows | |
406 | for working with additional data in feeds, not covered in the core API | |
407 | but used in conjunction with RSS and Atom feeds. | |
408 | ||
b307c652 | 409 | %package File |
fa357215 | 410 | Summary: Zend Framework 2: File Component |
3662f22a | 411 | Group: Development/Languages/PHP |
fa357215 ER |
412 | URL: http://framework.zend.com/manual/2.4/en/index.html#zend-file |
413 | Requires: %{name} = %{version}-%{release} | |
b307c652 | 414 | Requires: %{name}-Stdlib = %{version}-%{release} |
706766a2 ER |
415 | Suggests: %{name}-Filter = %{version}-%{release} |
416 | Suggests: %{name}-I18n = %{version}-%{release} | |
417 | Suggests: %{name}-Validator = %{version}-%{release} | |
dd9e1f6a ER |
418 | Suggests: php(fileinfo) |
419 | Suggests: php(hash) | |
420 | Suggests: php(pcre) | |
421 | Suggests: php(spl) | |
422 | Suggests: php(tokenizer) | |
fa357215 ER |
423 | |
424 | %description File | |
425 | %{summary} | |
426 | ||
b307c652 | 427 | %package Filter |
fa357215 | 428 | Summary: Zend Framework 2: Filter Component |
3662f22a | 429 | Group: Development/Languages/PHP |
fa357215 ER |
430 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.filter.html |
431 | Requires: %{name} = %{version}-%{release} | |
b307c652 | 432 | Requires: %{name}-Stdlib = %{version}-%{release} |
706766a2 ER |
433 | Suggests: %{name}-Crypt = %{version}-%{release} |
434 | Suggests: %{name}-I18n = %{version}-%{release} | |
435 | Suggests: %{name}-Servicemanager = %{version}-%{release} | |
436 | Suggests: %{name}-Uri = %{version}-%{release} | |
dd9e1f6a ER |
437 | Suggests: php(bz2) |
438 | Suggests: php(date) | |
439 | Suggests: php(iconv) | |
440 | Suggests: php(lzf) | |
441 | Suggests: php(mbstring) | |
442 | Suggests: php(openssl) | |
443 | Suggests: php(pcre) | |
444 | Suggests: php(spl) | |
445 | Suggests: php(zip) | |
446 | Suggests: php(zlib) | |
fa357215 ER |
447 | |
448 | %description Filter | |
449 | The Zend\Filter component provides a set of commonly needed data | |
450 | filters. It also provides a simple filter chaining mechanism by which | |
451 | multiple filters may be applied to a single datum in a user-defined | |
452 | order. | |
453 | ||
b307c652 | 454 | %package Form |
fa357215 | 455 | Summary: Zend Framework 2: Form Component |
3662f22a | 456 | Group: Development/Languages/PHP |
fa357215 ER |
457 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.form.intro.html |
458 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
459 | Requires: %{name}-InputFilter = %{version}-%{release} |
460 | Requires: %{name}-Stdlib = %{version}-%{release} | |
706766a2 ER |
461 | Suggests: %{name}-Captcha = %{version}-%{release} |
462 | Suggests: %{name}-Code = %{version}-%{release} | |
463 | Suggests: %{name}-EventManager = %{version}-%{release} | |
464 | Suggests: %{name}-Filter = %{version}-%{release} | |
465 | Suggests: %{name}-I18n = %{version}-%{release} | |
466 | Suggests: %{name}-ServiceManager = %{version}-%{release} | |
467 | Suggests: %{name}-Validator = %{version}-%{release} | |
468 | Suggests: %{name}-View = %{version}-%{release} | |
dd9e1f6a ER |
469 | Suggests: php(date) |
470 | Suggests: php(intl) | |
471 | Suggests: php(pcre) | |
472 | Suggests: php(reflection) | |
473 | Suggests: php(spl) | |
fa357215 ER |
474 | |
475 | %description Form | |
476 | Zend\Form is intended primarily as a bridge between your domain models | |
477 | and the View Layer. It composes a thin layer of objects representing | |
478 | form elements, an InputFilter, and a small number of methods for | |
479 | binding data to and from the form and attached objects. | |
480 | ||
481 | The Zend\Form component consists of the following objects: | |
482 | ||
483 | - Elements, which simply consist of a name and attributes. | |
484 | - Fieldsets, which extend from Elements, but allow composing other | |
485 | fieldsets and elements. | |
486 | - Forms, which extend from Fieldsets (and thus Elements). They provide | |
487 | data and object binding, and compose InputFilters. Data binding is | |
488 | done via ZendStdlibHydrator. | |
489 | ||
b307c652 | 490 | %package Http |
fa357215 | 491 | Summary: Zend Framework 2: HTTP Component |
3662f22a | 492 | Group: Development/Languages/PHP |
fa357215 ER |
493 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.http.html |
494 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
495 | Requires: %{name}-Loader = %{version}-%{release} |
496 | Requires: %{name}-Stdlib = %{version}-%{release} | |
497 | Requires: %{name}-Uri = %{version}-%{release} | |
498 | Requires: %{name}-Validator = %{version}-%{release} | |
dd9e1f6a ER |
499 | Suggests: php(ctype) |
500 | Suggests: php(curl) | |
501 | Suggests: php(date) | |
502 | Suggests: php(fileinfo) | |
503 | Suggests: php(openssl) | |
504 | Suggests: php(pcre) | |
505 | Suggests: php(spl) | |
506 | Suggests: php(zlib) | |
fa357215 ER |
507 | |
508 | %description Http | |
509 | Zend\Http is a primary foundational component of Zend Framework. Since | |
510 | much of what PHP does is web-based, specifically HTTP, it makes sense | |
511 | to have a performant, extensible, concise and consistent API to do all | |
512 | things HTTP. In nutshell, there are several parts of Zend\Http: | |
513 | ||
514 | - Context-less Request and Response classes that expose a fluent API | |
515 | for introspecting several aspects of HTTP messages: | |
516 | - ** Request line information and response status information | |
517 | - ** Parameters, such as those found in POST and GET | |
518 | - ** Message Body | |
519 | - ** Headers | |
520 | - A Client implementation with various adapters that allow for sending | |
521 | requests and introspecting responses. | |
522 | ||
b307c652 | 523 | %package I18n |
fa357215 | 524 | Summary: Zend Framework 2: i18n Component |
3662f22a | 525 | Group: Development/Languages/PHP |
fa357215 ER |
526 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.i18n.translating.html |
527 | Requires: %{name} = %{version}-%{release} | |
b307c652 | 528 | Requires: %{name}-Stdlib = %{version}-%{release} |
19603149 | 529 | Requires: php(intl) |
706766a2 ER |
530 | Suggests: %{name}-Cache = %{version}-%{release} |
531 | Suggests: %{name}-Config = %{version}-%{release} | |
532 | Suggests: %{name}-EventManager = %{version}-%{release} | |
533 | Suggests: %{name}-Filter = %{version}-%{release} | |
534 | Suggests: %{name}-ServiceManager = %{version}-%{release} | |
535 | Suggests: %{name}-Validator = %{version}-%{release} | |
536 | Suggests: %{name}-View = %{version}-%{release} | |
dd9e1f6a ER |
537 | Suggests: php(ctype) |
538 | Suggests: php(date) | |
539 | Suggests: php(pcre) | |
540 | Suggests: php(spl) | |
fa357215 ER |
541 | |
542 | %description I18n | |
543 | ZendI18n comes with a complete translation suite which supports all | |
544 | major formats and includes popular features like plural translations | |
545 | and text domains. The Translator component is mostly dependency free, | |
546 | except for the fallback to a default locale, where it relies on the | |
547 | Intl PHP extension. | |
548 | ||
549 | The translator itself is initialized without any parameters, as any | |
550 | configuration to it is optional. A translator without any translations | |
551 | will actually do nothing but just return the given message IDs. | |
552 | ||
b307c652 | 553 | %package InputFilter |
fa357215 | 554 | Summary: Zend Framework 2: InputFilter Component |
3662f22a | 555 | Group: Development/Languages/PHP |
fa357215 ER |
556 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.input-filter.intro.html |
557 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
558 | Requires: %{name}-Filter = %{version}-%{release} |
559 | Requires: %{name}-Stdlib = %{version}-%{release} | |
560 | Requires: %{name}-Validator = %{version}-%{release} | |
706766a2 | 561 | Suggests: %{name}-ServiceManager = %{version}-%{release} |
dd9e1f6a | 562 | Suggests: php(spl) |
fa357215 ER |
563 | |
564 | %description InputFilter | |
565 | The Zend\InputFilter component can be used to filter and validate | |
566 | generic sets of input data. For instance, you could use it to filter | |
567 | $_GET or $_POST values, CLI arguments, etc. | |
568 | ||
b307c652 | 569 | %package Json |
fa357215 | 570 | Summary: Zend Framework 2: JSON Component |
3662f22a | 571 | Group: Development/Languages/PHP |
fa357215 ER |
572 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.json.introduction.html |
573 | Requires: %{name} = %{version}-%{release} | |
b307c652 | 574 | Requires: %{name}-Stdlib = %{version}-%{release} |
706766a2 ER |
575 | Suggests: %{name}-Http = %{version}-%{release} |
576 | Suggests: %{name}-Server = %{version}-%{release} | |
577 | Suggests: %{name}-Zendxml = %{version}-%{release} | |
dd9e1f6a ER |
578 | Suggests: php(json) |
579 | Suggests: php(mbstring) | |
580 | Suggests: php(pcre) | |
581 | Suggests: php(reflection) | |
582 | Suggests: php(spl) | |
fa357215 ER |
583 | |
584 | %description Json | |
585 | Zend\Json provides convenience methods for serializing native PHP to | |
586 | JSON and decoding JSON to native PHP. | |
587 | ||
588 | JSON, JavaScript Object Notation, can be used for data interchange | |
589 | between JavaScript and other languages. Since JSON can be directly | |
590 | evaluated by JavaScript, it is a more efficient and lightweight format | |
591 | than XML for exchanging data with JavaScript clients. | |
592 | ||
593 | In addition, Zend\Json provides a useful way to convert any arbitrary | |
594 | XML formatted string into a JSON formatted string. This built-in | |
595 | feature will enable PHP developers to transform the enterprise data | |
596 | encoded in XML format into JSON format before sending it to | |
597 | browser-based Ajax client applications. It provides an easy way to do | |
598 | dynamic data conversion on the server-side code thereby avoiding | |
599 | unnecessary XML parsing in the browser-side applications. It offers a | |
600 | nice utility function that results in easier application-specific data | |
601 | processing techniques. | |
602 | ||
b307c652 | 603 | %package Ldap |
fa357215 | 604 | Summary: Zend Framework 2: LDAP Component |
3662f22a | 605 | Group: Development/Languages/PHP |
fa357215 ER |
606 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.ldap.introduction.html |
607 | Requires: %{name} = %{version}-%{release} | |
b307c652 | 608 | Requires: %{name}-Stdlib = %{version}-%{release} |
19603149 | 609 | Requires: php(ldap) |
706766a2 | 610 | Suggests: %{name}-EventManager = %{version}-%{release} |
dd9e1f6a ER |
611 | Suggests: php(date) |
612 | Suggests: php(iconv) | |
613 | Suggests: php(json) | |
dd9e1f6a ER |
614 | Suggests: php(mbstring) |
615 | Suggests: php(pcre) | |
616 | Suggests: php(spl) | |
fa357215 ER |
617 | |
618 | %description Ldap | |
619 | Zend\Ldap\Ldap is a class for performing LDAP operations including but | |
620 | not limited to binding, searching and modifying entries in an LDAP | |
621 | directory. | |
622 | ||
b307c652 | 623 | %package Loader |
fa357215 | 624 | Summary: Zend Framework 2: Loader Component |
3662f22a | 625 | Group: Development/Languages/PHP |
fa357215 ER |
626 | URL: http://framework.zend.com/manual/2.4/en/index.html#zend-loader |
627 | Requires: %{name} = %{version}-%{release} | |
dd9e1f6a ER |
628 | Suggests: php(bz2) |
629 | Suggests: php(pcre) | |
630 | Suggests: php(reflection) | |
631 | Suggests: php(spl) | |
fa357215 ER |
632 | |
633 | %description Loader | |
634 | %{summary} | |
635 | ||
b307c652 | 636 | %package Log |
fa357215 | 637 | Summary: Zend Framework 2: Log Component |
3662f22a | 638 | Group: Development/Languages/PHP |
fa357215 ER |
639 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.log.overview.html |
640 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
641 | Requires: %{name}-ServiceManager = %{version}-%{release} |
642 | Requires: %{name}-Stdlib = %{version}-%{release} | |
706766a2 ER |
643 | Suggests: %{name}-Console = %{version}-%{release} |
644 | Suggests: %{name}-Db = %{version}-%{release} | |
645 | Suggests: %{name}-Escaper = %{version}-%{release} | |
646 | Suggests: %{name}-Mail = %{version}-%{release} | |
647 | Suggests: %{name}-Validator = %{version}-%{release} | |
dd9e1f6a ER |
648 | Suggests: php(date) |
649 | Suggests: php(dom) | |
650 | Suggests: php(json) | |
651 | Suggests: php(pcre) | |
652 | Suggests: php(spl) | |
fa357215 ER |
653 | |
654 | %description Log | |
655 | Zend\Log\Logger is a component for general purpose logging. It | |
656 | supports multiple log backends, formatting messages sent to the log, | |
657 | and filtering messages from being logged. These functions are divided | |
658 | into the following objects: | |
659 | ||
660 | - A Logger (instance of Zend\Log\Logger) is the object that your | |
661 | application uses the most. You can have as many Logger objects as you | |
662 | like; they do not interact. A Logger object must contain at least one | |
663 | Writer, and can optionally contain one or more Filters. | |
664 | - A Writer (inherits from Zend\Log\Writer\AbstractWriter) is | |
665 | responsible for saving data to storage. | |
666 | - A Filter (implements Zend\Log\Filter\FilterInterface) blocks log | |
667 | data from being saved. A filter is applied to an individual writer. | |
668 | Filters can be chained. | |
669 | - A Formatter (implements Zend\Log\Formatter\FormatterInterface) can | |
670 | format the log data before it is written by a Writer. Each Writer has | |
671 | exactly one Formatter. | |
672 | ||
673 | Optional: MongoDB (php-pecl-mongo) | |
674 | ||
b307c652 | 675 | %package Mail |
fa357215 | 676 | Summary: Zend Framework 2: Mail Component |
3662f22a | 677 | Group: Development/Languages/PHP |
fa357215 ER |
678 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.mail.introduction.html |
679 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
680 | Requires: %{name}-Crypt = %{version}-%{release} |
681 | Requires: %{name}-Loader = %{version}-%{release} | |
682 | Requires: %{name}-Mime = %{version}-%{release} | |
683 | Requires: %{name}-Stdlib = %{version}-%{release} | |
684 | Requires: %{name}-Validator = %{version}-%{release} | |
706766a2 | 685 | Suggests: %{name}-ServiceManager = %{version}-%{release} |
dd9e1f6a ER |
686 | Suggests: php(ctype) |
687 | Suggests: php(date) | |
688 | Suggests: php(iconv) | |
689 | Suggests: php(pcre) | |
690 | Suggests: php(spl) | |
fa357215 ER |
691 | |
692 | %description Mail | |
693 | Zend\Mail provides generalized functionality to compose and send both | |
694 | text and MIME-compliant multipart email messages. Mail can be sent | |
695 | with Zend\Mail via the Mail\Transport\Sendmail, Mail\Transport\Smtp or | |
696 | the Mail\Transport\File transport. Of course, you can also implement | |
697 | your own transport by implementing the | |
698 | Mail\Transport\TransportInterface. | |
699 | ||
b307c652 | 700 | %package Math |
fa357215 | 701 | Summary: Zend Framework 2: Math Component |
3662f22a | 702 | Group: Development/Languages/PHP |
fa357215 ER |
703 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.math.introduction.html |
704 | Requires: %{name} = %{version}-%{release} | |
706766a2 | 705 | Suggests: %{name}-ServiceManager = %{version}-%{release} |
19603149 | 706 | Suggests: php(bcmath) |
dd9e1f6a ER |
707 | Suggests: php(mcrypt) |
708 | Suggests: php(openssl) | |
709 | Suggests: php(pcre) | |
710 | Suggests: php(spl) | |
fa357215 ER |
711 | |
712 | %description Math | |
713 | Zend\Math namespace provides general mathematical functions. So far | |
714 | the supported functionalities are: | |
715 | ||
716 | - Zend\Math\Rand: A random number generator | |
717 | - Zend\Math\BigInteger: A library to manage big integers | |
718 | ||
719 | Optional: php-gmp | |
720 | ||
b307c652 | 721 | %package Memory |
fa357215 | 722 | Summary: Zend Framework 2: Memory Component |
3662f22a | 723 | Group: Development/Languages/PHP |
fa357215 ER |
724 | URL: http://framework.zend.com/manual/2.4/en/index.html |
725 | Requires: %{name} = %{version}-%{release} | |
706766a2 | 726 | Suggests: %{name}-Cache = %{version}-%{release} |
dd9e1f6a | 727 | Suggests: php(spl) |
fa357215 ER |
728 | |
729 | %description Memory | |
730 | %{summary} | |
731 | ||
b307c652 | 732 | %package Mime |
fa357215 | 733 | Summary: Zend Framework 2: MIME Component |
3662f22a | 734 | Group: Development/Languages/PHP |
fa357215 ER |
735 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.mime.html |
736 | Requires: %{name} = %{version}-%{release} | |
b307c652 | 737 | Requires: %{name}-Stdlib = %{version}-%{release} |
706766a2 | 738 | Suggests: %{name}-Mail = %{version}-%{release} |
dd9e1f6a ER |
739 | Suggests: php(iconv) |
740 | Suggests: php(pcre) | |
741 | Suggests: php(spl) | |
fa357215 ER |
742 | |
743 | %description Mime | |
744 | Zend\Mime\Mime is a support class for handling multipart MIME | |
745 | messages. It is used by Zend\Mail and Zend\Mime\Message and may be | |
746 | used by applications requiring MIME support. | |
747 | ||
748 | Optional: %{name}-Mail | |
749 | ||
b307c652 | 750 | %package ModuleManager |
fa357215 | 751 | Summary: Zend Framework 2: ModuleManager Component |
3662f22a | 752 | Group: Development/Languages/PHP |
fa357215 ER |
753 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.module-manager.intro.html |
754 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
755 | Requires: %{name}-EventManager = %{version}-%{release} |
756 | Requires: %{name}-Stdlib = %{version}-%{release} | |
706766a2 ER |
757 | Suggests: %{name}-Config = %{version}-%{release} |
758 | Suggests: %{name}-Console = %{version}-%{release} | |
759 | Suggests: %{name}-Loader = %{version}-%{release} | |
760 | Suggests: %{name}-ServiceManager = %{version}-%{release} | |
dd9e1f6a | 761 | Suggests: php(spl) |
fa357215 ER |
762 | |
763 | %description ModuleManager | |
764 | Zend Framework 2.0 introduces a new and powerful approach to modules. | |
765 | This new module system is designed with flexibility, simplicity, and | |
766 | re-usability in mind. A module may contain just about anything: PHP | |
767 | code, including MVC functionality; library code; view scripts; and/or | |
768 | public assets such as images, CSS, and JavaScript. | |
769 | ||
b307c652 | 770 | %package Mvc |
fa357215 | 771 | Summary: Zend Framework 2: MVC Component |
3662f22a | 772 | Group: Development/Languages/PHP |
fa357215 ER |
773 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.mvc.intro.html |
774 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
775 | Requires: %{name}-EventManager = %{version}-%{release} |
776 | Requires: %{name}-Form = %{version}-%{release} | |
777 | Requires: %{name}-ServiceManager = %{version}-%{release} | |
778 | Requires: %{name}-Stdlib = %{version}-%{release} | |
706766a2 ER |
779 | Suggests: %{name}-Authentication = %{version}-%{release} |
780 | Suggests: %{name}-Config = %{version}-%{release} | |
781 | Suggests: %{name}-Console = %{version}-%{release} | |
782 | Suggests: %{name}-Di = %{version}-%{release} | |
783 | Suggests: %{name}-Filter = %{version}-%{release} | |
784 | Suggests: %{name}-Http = %{version}-%{release} | |
785 | Suggests: %{name}-I18n = %{version}-%{release} | |
786 | Suggests: %{name}-InputFilter = %{version}-%{release} | |
787 | Suggests: %{name}-Json = %{version}-%{release} | |
788 | Suggests: %{name}-Log = %{version}-%{release} | |
789 | Suggests: %{name}-ModuleManager = %{version}-%{release} | |
790 | Suggests: %{name}-Serializer = %{version}-%{release} | |
791 | Suggests: %{name}-Session = %{version}-%{release} | |
792 | Suggests: %{name}-Text = %{version}-%{release} | |
793 | Suggests: %{name}-Uri = %{version}-%{release} | |
794 | Suggests: %{name}-Validator = %{version}-%{release} | |
795 | Suggests: %{name}-Version = %{version}-%{release} | |
796 | Suggests: %{name}-View = %{version}-%{release} | |
dd9e1f6a ER |
797 | Suggests: php(intl) |
798 | Suggests: php(pcre) | |
799 | Suggests: php(reflection) | |
800 | Suggests: php(spl) | |
fa357215 ER |
801 | |
802 | %description Mvc | |
803 | Zend\Mvc is a brand new MVC implementation designed from the ground up | |
804 | for Zend Framework 2, focusing on performance and flexibility. | |
805 | ||
806 | The MVC layer is built on top of the following components: | |
807 | ||
808 | - Zend\ServiceManager - Zend Framework provides a set of default | |
809 | service definitions set up at Zend\Mvc\Service. The ServiceManager | |
810 | creates and configures your application instance and workflow. | |
811 | - Zend\EventManager - The MVC is event driven. This component is used | |
812 | everywhere from initial bootstrapping of the application, through | |
813 | returning response and request calls, to setting and retrieving routes | |
814 | and matched routes, as well as render views. | |
815 | - Zend\Http - specifically the request and response objects. | |
fa92044d | 816 | - Zend\Stdlib\DispatchableInterface. All "controllers' are simply |
fa357215 ER |
817 | dispatchable objects. |
818 | ||
b307c652 | 819 | %package Navigation |
fa357215 | 820 | Summary: Zend Framework 2: Navigation Component |
3662f22a | 821 | Group: Development/Languages/PHP |
fa357215 ER |
822 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.navigation.intro.html |
823 | Requires: %{name} = %{version}-%{release} | |
b307c652 | 824 | Requires: %{name}-Stdlib = %{version}-%{release} |
706766a2 ER |
825 | Suggests: %{name}-Config = %{version}-%{release} |
826 | Suggests: %{name}-Mvc = %{version}-%{release} | |
827 | Suggests: %{name}-Permissions-Acl = %{version}-%{release} | |
828 | Suggests: %{name}-ServiceManager = %{version}-%{release} | |
829 | Suggests: %{name}-View = %{version}-%{release} | |
dd9e1f6a ER |
830 | Suggests: php(pcre) |
831 | Suggests: php(spl) | |
fa357215 ER |
832 | |
833 | %description Navigation | |
834 | Zend\Navigation is a component for managing trees of pointers to web | |
835 | pages. Simply put: It can be used for creating menus, breadcrumbs, | |
836 | links, and sitemaps, or serve as a model for other navigation related | |
837 | purposes. | |
838 | ||
b307c652 | 839 | %package Paginator |
fa357215 | 840 | Summary: Zend Framework 2: Paginator Component |
3662f22a | 841 | Group: Development/Languages/PHP |
fa357215 ER |
842 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.paginator.introduction.html |
843 | Requires: %{name} = %{version}-%{release} | |
b307c652 | 844 | Requires: %{name}-Stdlib = %{version}-%{release} |
1786e95a ER |
845 | Suggests: %{name}-Cache = %{version}-%{release} |
846 | Suggests: %{name}-Db = %{version}-%{release} | |
847 | Suggests: %{name}-Filter = %{version}-%{release} | |
848 | Suggests: %{name}-Json = %{version}-%{release} | |
849 | Suggests: %{name}-ServiceManager = %{version}-%{release} | |
850 | Suggests: %{name}-View = %{version}-%{release} | |
dd9e1f6a ER |
851 | Suggests: php(reflection) |
852 | Suggests: php(spl) | |
fa357215 ER |
853 | |
854 | %description Paginator | |
855 | Zend\Paginator is a flexible component for paginating collections of | |
856 | data and presenting that data to users. | |
857 | ||
858 | The primary design goals of Zend\Paginator are as follows: | |
859 | ||
860 | - Paginate arbitrary data, not just relational databases | |
861 | - Fetch only the results that need to be displayed | |
862 | - Do not force users to adhere to only one way of displaying data or | |
863 | rendering pagination controls | |
864 | - Loosely couple Zend\Paginator to other Zend Framework components so | |
865 | that users who wish to use it independently of Zend\View, Zend\Db, | |
866 | etc. can do so | |
867 | ||
b307c652 | 868 | %package Permissions-Acl |
fa357215 | 869 | Summary: Zend Framework 2: Permissions ACL Component |
3662f22a | 870 | Group: Development/Languages/PHP |
fa357215 ER |
871 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.permissions.acl.intro.html |
872 | Requires: %{name} = %{version}-%{release} | |
706766a2 | 873 | Suggests: %{name}-ServiceManager = %{version}-%{release} |
dd9e1f6a | 874 | Suggests: php(spl) |
fa357215 ER |
875 | |
876 | %description Permissions-Acl | |
877 | The Zend\Permissions\Acl component provides a lightweight and flexible | |
878 | access control list (ACL) implementation for privileges management. In | |
fa92044d | 879 | general, an application may utilize such ACL's to control access to |
fa357215 ER |
880 | certain protected objects by other requesting objects. |
881 | ||
882 | For the purposes of this documentation: | |
883 | ||
884 | - a resource is an object to which access is controlled. | |
885 | - a role is an object that may request access to a Resource. | |
886 | ||
887 | Put simply, roles request access to resources. For example, if a | |
888 | parking attendant requests access to a car, then the parking attendant | |
889 | is the requesting role, and the car is the resource, since access to | |
890 | the car may not be granted to everyone. | |
891 | ||
892 | Through the specification and use of an ACL, an application may | |
893 | control how roles are granted access to resources. | |
894 | ||
b307c652 | 895 | %package Permissions-Rbac |
fa357215 | 896 | Summary: Zend Framework 2: Permissions RBAC Component |
3662f22a | 897 | Group: Development/Languages/PHP |
fa357215 ER |
898 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.permissions.rbac.intro.html |
899 | Requires: %{name} = %{version}-%{release} | |
dd9e1f6a | 900 | Suggests: php(spl) |
fa357215 ER |
901 | |
902 | %description Permissions-Rbac | |
903 | The Zend\Permissions\Rbac component provides a lightweight role-based | |
fa92044d | 904 | access control implementation based around PHP 5.3's SPL |
fa357215 ER |
905 | RecursiveIterator and RecursiveIteratorIterator. RBAC differs from |
906 | access control lists (ACL) by putting the emphasis on roles and their | |
907 | permissions rather than objects (resources). | |
908 | ||
b307c652 | 909 | %package ProgressBar |
fa357215 | 910 | Summary: Zend Framework 2: ProgressBar Component |
3662f22a | 911 | Group: Development/Languages/PHP |
fa357215 ER |
912 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.progress-bar.html |
913 | Requires: %{name} = %{version}-%{release} | |
b307c652 | 914 | Requires: %{name}-Stdlib = %{version}-%{release} |
706766a2 ER |
915 | Suggests: %{name}-Json = %{version}-%{release} |
916 | Suggests: %{name}-Session = %{version}-%{release} | |
dd9e1f6a ER |
917 | Suggests: php(apc) |
918 | Suggests: php(date) | |
919 | Suggests: php(pcre) | |
920 | Suggests: php(spl) | |
fa357215 ER |
921 | |
922 | %description ProgressBar | |
923 | Zend\ProgressBar is a component to create and update progress bars in | |
924 | different environments. It consists of a single backend, which outputs | |
925 | the progress through one of the multiple adapters. On every update, it | |
926 | takes an absolute value and optionally a status message, and then | |
927 | calls the adapter with some precalculated values like percentage and | |
928 | estimated time left. | |
929 | ||
b307c652 | 930 | %package Serializer |
fa357215 | 931 | Summary: Zend Framework 2: Serializer Component |
3662f22a | 932 | Group: Development/Languages/PHP |
fa357215 ER |
933 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.serializer.html |
934 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
935 | Requires: %{name}-Json = %{version}-%{release} |
936 | Requires: %{name}-Math = %{version}-%{release} | |
937 | Requires: %{name}-Stdlib = %{version}-%{release} | |
706766a2 | 938 | Suggests: %{name}-ServiceManager = %{version}-%{release} |
dd9e1f6a ER |
939 | Suggests: php(dom) |
940 | Suggests: php(igbinary) | |
941 | Suggests: php(pcre) | |
942 | Suggests: php(simplexml) | |
943 | Suggests: php(spl) | |
944 | Suggests: php(xml) | |
fa357215 ER |
945 | |
946 | %description Serializer | |
947 | The Zend\Serializer component provides an adapter based interface to | |
948 | simply generate storable representation of PHP types by different | |
949 | facilities, and recover. | |
950 | ||
951 | Optional: msgpack (php-pecl-msgpack) | |
952 | ||
b307c652 | 953 | %package Server |
fa357215 | 954 | Summary: Zend Framework 2: Server Component |
3662f22a | 955 | Group: Development/Languages/PHP |
fa357215 ER |
956 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.server.html |
957 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
958 | Requires: %{name}-Code = %{version}-%{release} |
959 | Requires: %{name}-Stdlib = %{version}-%{release} | |
dd9e1f6a ER |
960 | Suggests: php(pcre) |
961 | Suggests: php(reflection) | |
962 | Suggests: php(spl) | |
fa357215 ER |
963 | |
964 | %description Server | |
965 | The Zend\Server family of classes provides functionality for the | |
966 | various server classes, including Zend\XmlRpc\Server and | |
967 | Zend\Json\Server. Zend\Server\Server provides an interface that mimics | |
fa92044d | 968 | PHP 5's SoapServer class; all server classes should implement this |
fa357215 ER |
969 | interface in order to provide a standard server API. |
970 | ||
971 | The Zend\Server\Reflection tree provides a standard mechanism for | |
972 | performing function and class introspection for use as callbacks with | |
973 | the server classes, and provides data suitable for use with | |
fa92044d | 974 | Zend\Server\Server's getFunctions() and loadFunctions() methods. |
fa357215 | 975 | |
b307c652 | 976 | %package ServiceManager |
fa357215 | 977 | Summary: Zend Framework 2: ServiceManager Component |
3662f22a | 978 | Group: Development/Languages/PHP |
fa357215 ER |
979 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.service-manager.intro.html |
980 | Requires: %{name} = %{version}-%{release} | |
706766a2 | 981 | Suggests: %{name}-Di = %{version}-%{release} |
dd9e1f6a ER |
982 | Suggests: php(reflection) |
983 | Suggests: php(spl) | |
fa357215 ER |
984 | |
985 | %description ServiceManager | |
986 | The Service Locator design pattern is implemented by the | |
987 | Zend\ServiceManager component. The Service Locator is a service/object | |
988 | locator, tasked with retrieving other objects. | |
989 | ||
b307c652 | 990 | %package Session |
fa357215 | 991 | Summary: Zend Framework 2: Session Component |
3662f22a | 992 | Group: Development/Languages/PHP |
fa357215 ER |
993 | URL: http://framework.zend.com/manual/2.4/en/index.html#zend-session |
994 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
995 | Requires: %{name}-EventManager = %{version}-%{release} |
996 | Requires: %{name}-Stdlib = %{version}-%{release} | |
706766a2 ER |
997 | Suggests: %{name}-Cache = %{version}-%{release} |
998 | Suggests: %{name}-Db = %{version}-%{release} | |
999 | Suggests: %{name}-Http = %{version}-%{release} | |
1000 | Suggests: %{name}-ServiceManager = %{version}-%{release} | |
1001 | Suggests: %{name}-Validator = %{version}-%{release} | |
dd9e1f6a ER |
1002 | Suggests: php(date) |
1003 | Suggests: php(hash) | |
1004 | Suggests: php(pcre) | |
1005 | Suggests: php(session) | |
1006 | Suggests: php(spl) | |
fa357215 ER |
1007 | |
1008 | %description Session | |
1009 | Manage and preserve session data, a logical complement of cookie data, | |
1010 | across multiple page requests by the same client. | |
1011 | ||
1012 | Optional: MongoDB (php-pecl-mongo) | |
1013 | ||
b307c652 | 1014 | %package Soap |
fa357215 | 1015 | Summary: Zend Framework 2: SOAP Component |
3662f22a | 1016 | Group: Development/Languages/PHP |
fa357215 ER |
1017 | URL: http://framework.zend.com/manual/2.4/en/index.html#zend-soap |
1018 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
1019 | Requires: %{name}-Server = %{version}-%{release} |
1020 | Requires: %{name}-Stdlib = %{version}-%{release} | |
1021 | Requires: %{name}-Uri = %{version}-%{release} | |
19603149 | 1022 | Requires: php(soap) |
706766a2 | 1023 | Suggests: %{name}-Http = %{version}-%{release} |
dd9e1f6a ER |
1024 | Suggests: php(curl) |
1025 | Suggests: php(dom) | |
1026 | Suggests: php(pcre) | |
1027 | Suggests: php(reflection) | |
1028 | Suggests: php(simplexml) | |
dd9e1f6a ER |
1029 | Suggests: php(spl) |
1030 | Suggests: php(xml) | |
fa357215 ER |
1031 | |
1032 | %description Soap | |
1033 | %{summary} | |
1034 | ||
b307c652 | 1035 | %package Stdlib |
fa357215 | 1036 | Summary: Zend Framework 2: Stdlib Component |
3662f22a | 1037 | Group: Development/Languages/PHP |
fa357215 ER |
1038 | URL: http://framework.zend.com/manual/2.4/en/index.html#zend-stdlib |
1039 | Requires: %{name} = %{version}-%{release} | |
706766a2 ER |
1040 | Suggests: %{name}-EventManager = %{version}-%{release} |
1041 | Suggests: %{name}-Filter = %{version}-%{release} | |
1042 | Suggests: %{name}-Serializer = %{version}-%{release} | |
1043 | Suggests: %{name}-ServiceManager = %{version}-%{release} | |
dd9e1f6a ER |
1044 | Suggests: php(date) |
1045 | Suggests: php(iconv) | |
1046 | Suggests: php(intl) | |
1047 | Suggests: php(json) | |
1048 | Suggests: php(mbstring) | |
1049 | Suggests: php(pcre) | |
1050 | Suggests: php(reflection) | |
1051 | Suggests: php(spl) | |
fa357215 ER |
1052 | |
1053 | %description Stdlib | |
1054 | %{summary} | |
1055 | ||
b307c652 | 1056 | %package Tag |
fa357215 | 1057 | Summary: Zend Framework 2: Tag Component |
3662f22a | 1058 | Group: Development/Languages/PHP |
fa357215 ER |
1059 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.tag.introduction.html |
1060 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
1061 | Requires: %{name}-Escaper = %{version}-%{release} |
1062 | Requires: %{name}-Stdlib = %{version}-%{release} | |
706766a2 | 1063 | Suggests: %{name}-ServiceManager = %{version}-%{release} |
dd9e1f6a ER |
1064 | Suggests: php(pcre) |
1065 | Suggests: php(spl) | |
fa357215 ER |
1066 | |
1067 | %description Tag | |
1068 | Zend\Tag is a component suite which provides a facility to work with | |
1069 | taggable Items. As its base, it provides two classes to work with | |
1070 | Tags, Zend\Tag\Item and Zend\Tag\ItemList. Additionally, it comes with | |
1071 | the interface Zend\Tag\TaggableInterface, which allows you to use any | |
1072 | of your models as a taggable item in conjunction with Zend\Tag. | |
1073 | ||
1074 | Zend\Tag\Item is a basic taggable item implementation which comes with | |
1075 | the essential functionality required to work with the Zend\Tag suite. | |
1076 | A taggable item always consists of a title and a relative weight (e.g. | |
1077 | number of occurrences). It also stores parameters which are used by | |
1078 | the different sub-components of Zend\Tag. | |
1079 | ||
1080 | To group multiple items together, Zend\Tag\ItemList exists as an array | |
1081 | iterator and provides additional functionality to calculate absolute | |
1082 | weight values based on the given relative weights of each item in it. | |
1083 | ||
b307c652 | 1084 | %package Test |
fa357215 | 1085 | Summary: Zend Framework 2: Test Component |
3662f22a | 1086 | Group: Development/Languages/PHP |
fa357215 ER |
1087 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.test.introduction.html |
1088 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
1089 | Requires: %{name}-Console = %{version}-%{release} |
1090 | Requires: %{name}-Dom = %{version}-%{release} | |
1091 | Requires: %{name}-EventManager = %{version}-%{release} | |
1092 | Requires: %{name}-Http = %{version}-%{release} | |
1093 | Requires: %{name}-Mvc = %{version}-%{release} | |
1094 | Requires: %{name}-ServiceManager = %{version}-%{release} | |
1095 | Requires: %{name}-Stdlib = %{version}-%{release} | |
1096 | Requires: %{name}-Uri = %{version}-%{release} | |
1097 | Requires: %{name}-View = %{version}-%{release} | |
dd9e1f6a ER |
1098 | Suggests: php(pcre) |
1099 | Suggests: php(spl) | |
fa357215 ER |
1100 | |
1101 | %description Test | |
1102 | The Zend\Test component provides tools to facilitate unit testing of | |
1103 | your Zend Framework applications. At this time, we offer facilities to | |
1104 | enable testing of your Zend Framework MVC applications. | |
1105 | ||
1106 | PHPUnit is the only library supported currently. | |
1107 | ||
b307c652 | 1108 | %package Text |
fa357215 | 1109 | Summary: Zend Framework 2: Text Component |
3662f22a | 1110 | Group: Development/Languages/PHP |
fa357215 ER |
1111 | URL: http://framework.zend.com/manual/2.4/en/index.html#zend-text |
1112 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
1113 | Requires: %{name}-ServiceManager = %{version}-%{release} |
1114 | Requires: %{name}-Stdlib = %{version}-%{release} | |
dd9e1f6a ER |
1115 | Suggests: php(ctype) |
1116 | Suggests: php(pcre) | |
1117 | Suggests: php(spl) | |
fa357215 ER |
1118 | |
1119 | ### TODO: Is Zend/Text/Figlet/zend-framework.flf allowed? | |
1120 | ||
1121 | %description Text | |
1122 | %{summary} | |
1123 | ||
b307c652 | 1124 | %package Uri |
fa357215 | 1125 | Summary: Zend Framework 2: URI Component |
3662f22a | 1126 | Group: Development/Languages/PHP |
fa357215 ER |
1127 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.uri.html |
1128 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
1129 | Requires: %{name}-Escaper = %{version}-%{release} |
1130 | Requires: %{name}-Validator = %{version}-%{release} | |
dd9e1f6a ER |
1131 | Suggests: php(pcre) |
1132 | Suggests: php(spl) | |
fa357215 ER |
1133 | |
1134 | %description Uri | |
1135 | Zend\Uri is a component that aids in manipulating and validating | |
1136 | Uniform Resource Identifiers (URIs) [1]. Zend\Uri exists primarily to | |
1137 | service other components, such as Zend\Http\, but is also useful as a | |
1138 | standalone utility. | |
1139 | ||
1140 | URIs always begin with a scheme, followed by a colon. The construction | |
1141 | of the many different schemes varies significantly. The Zend\Uri | |
1142 | component provides the Zend\Uri\UriFactory that returns a class | |
1143 | implementing the Zend\Uri\UriInterface which specializes in the scheme | |
1144 | if such a class is registered with the Factory. | |
1145 | ||
1146 | [1] http://www.ietf.org/rfc/rfc3986.txt | |
1147 | ||
b307c652 | 1148 | %package Validator |
fa357215 | 1149 | Summary: Zend Framework 2: Validator Component |
3662f22a | 1150 | Group: Development/Languages/PHP |
fa357215 ER |
1151 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.validator.html |
1152 | Requires: %{name} = %{version}-%{release} | |
b307c652 | 1153 | Requires: %{name}-Stdlib = %{version}-%{release} |
706766a2 ER |
1154 | Suggests: %{name}-Db = %{version}-%{release} |
1155 | Suggests: %{name}-Filter = %{version}-%{release} | |
1156 | Suggests: %{name}-I18n = %{version}-%{release} | |
1157 | Suggests: %{name}-Math = %{version}-%{release} | |
1158 | Suggests: %{name}-ServiceManager = %{version}-%{release} | |
1159 | Suggests: %{name}-Session = %{version}-%{release} | |
1160 | Suggests: %{name}-Uri = %{version}-%{release} | |
dd9e1f6a ER |
1161 | Suggests: php(ctype) |
1162 | Suggests: php(date) | |
1163 | Suggests: php(fileinfo) | |
1164 | Suggests: php(hash) | |
1165 | Suggests: php(pcre) | |
1166 | Suggests: php(spl) | |
fa357215 ER |
1167 | |
1168 | %description Validator | |
1169 | The Zend\Validator component provides a set of commonly needed | |
1170 | validators. It also provides a simple validator chaining mechanism by | |
1171 | which multiple validators may be applied to a single datum in a | |
1172 | user-defined order. | |
1173 | ||
b307c652 | 1174 | %package Version |
fa357215 | 1175 | Summary: Zend Framework 2: Version Component |
3662f22a | 1176 | Group: Development/Languages/PHP |
fa357215 ER |
1177 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.version.html |
1178 | Requires: %{name} = %{version}-%{release} | |
b307c652 | 1179 | Requires: %{name}-Json = %{version}-%{release} |
706766a2 | 1180 | Suggests: %{name}-Http = %{version}-%{release} |
dd9e1f6a ER |
1181 | Suggests: php(pcre) |
1182 | Suggests: php(spl) | |
fa357215 ER |
1183 | |
1184 | %description Version | |
1185 | Zend\Version provides a class constant Zend\Version\Version::VERSION | |
1186 | that contains a string identifying the version number of your Zend | |
1187 | Framework installation. Zend\Version\Version::VERSION might contain | |
fa92044d | 1188 | "1.7.4', for example. |
fa357215 ER |
1189 | |
1190 | The static method Zend\Version\Version::compareVersion($version) is | |
1191 | based on the PHP function version_compare(). This method returns -1 if | |
1192 | the specified version is older than the installed Zend Framework | |
1193 | version, 0 if they are the same and +1 if the specified version is | |
1194 | newer than the version of the Zend Framework installation. | |
1195 | ||
b307c652 | 1196 | %package View |
fa357215 | 1197 | Summary: Zend Framework 2: View Component |
3662f22a | 1198 | Group: Development/Languages/PHP |
fa357215 ER |
1199 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.view.quick-start.html |
1200 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
1201 | Requires: %{name}-EventManager = %{version}-%{release} |
1202 | Requires: %{name}-Loader = %{version}-%{release} | |
1203 | Requires: %{name}-Stdlib = %{version}-%{release} | |
706766a2 ER |
1204 | Suggests: %{name}-Authentication = %{version}-%{release} |
1205 | Suggests: %{name}-Escaper = %{version}-%{release} | |
1206 | Suggests: %{name}-Feed = %{version}-%{release} | |
1207 | Suggests: %{name}-Filter = %{version}-%{release} | |
1208 | Suggests: %{name}-Http = %{version}-%{release} | |
1209 | Suggests: %{name}-I18n = %{version}-%{release} | |
1210 | Suggests: %{name}-Json = %{version}-%{release} | |
1211 | Suggests: %{name}-Mvc = %{version}-%{release} | |
1212 | Suggests: %{name}-Navigation = %{version}-%{release} | |
1213 | Suggests: %{name}-Paginator = %{version}-%{release} | |
1214 | Suggests: %{name}-Permissions-Acl = %{version}-%{release} | |
1215 | Suggests: %{name}-ServiceManager = %{version}-%{release} | |
1216 | Suggests: %{name}-Uri = %{version}-%{release} | |
dd9e1f6a ER |
1217 | Suggests: php(date) |
1218 | Suggests: php(dom) | |
1219 | Suggests: php(filter) | |
1220 | Suggests: php(pcre) | |
1221 | Suggests: php(spl) | |
fa357215 ER |
1222 | |
1223 | %description View | |
fa92044d | 1224 | Zend\View provides the "View' layer of Zend Framework 2's MVC system. |
fa357215 ER |
1225 | It is a multi-tiered system allowing a variety of mechanisms for |
1226 | extension, substitution, and more. | |
1227 | ||
b307c652 | 1228 | %package XmlRpc |
fa357215 | 1229 | Summary: Zend Framework 2: XML-RPC Component |
3662f22a | 1230 | Group: Development/Languages/PHP |
fa357215 ER |
1231 | URL: http://framework.zend.com/manual/2.4/en/modules/zend.xmlrpc.intro.html |
1232 | Requires: %{name} = %{version}-%{release} | |
b307c652 ER |
1233 | Requires: %{name}-Http = %{version}-%{release} |
1234 | Requires: %{name}-Math = %{version}-%{release} | |
1235 | Requires: %{name}-Server = %{version}-%{release} | |
1236 | Requires: %{name}-Stdlib = %{version}-%{release} | |
1237 | Requires: %{name}-ZendXml = %{version}-%{release} | |
706766a2 | 1238 | Suggests: %{name}-Cache = %{version}-%{release} |
dd9e1f6a ER |
1239 | Suggests: php(date) |
1240 | Suggests: php(dom) | |
1241 | Suggests: php(iconv) | |
1242 | Suggests: php(pcre) | |
1243 | Suggests: php(reflection) | |
1244 | Suggests: php(simplexml) | |
1245 | Suggests: php(spl) | |
1246 | Suggests: php(xml) | |
1247 | Suggests: php(xmlwriter) | |
fa357215 ER |
1248 | |
1249 | %description XmlRpc | |
fa92044d | 1250 | From its home page, XML-RPC is described as a '...remote procedure |
fa357215 ER |
1251 | calling using HTTP as the transport and XML as the encoding. XML-RPC |
1252 | is designed to be as simple as possible, while allowing complex data | |
fa92044d | 1253 | structures to be transmitted, processed and returned.' |
fa357215 ER |
1254 | |
1255 | Zend Framework provides support for both consuming remote XML-RPC | |
1256 | services and building new XML-RPC servers. | |
1257 | ||
1258 | [1] http://www.xmlrpc.com/ | |
1259 | ||
b307c652 | 1260 | %package ZendXml |
fa357215 | 1261 | Summary: Zend Framework 2: XML usage, best practices, and security in PHP |
3662f22a | 1262 | Group: Development/Languages/PHP |
fa357215 ER |
1263 | URL: https://github.com/zendframework/ZendXml |
1264 | Requires: %{name} = %{version}-%{release} | |
19603149 ER |
1265 | Requires: php(dom) |
1266 | Requires: php(simplexml) | |
1267 | Requires: php(spl) | |
1268 | Requires: php(xml) | |
fa357215 ER |
1269 | |
1270 | %description ZendXml | |
1271 | This is a security component to prevent XML eXternal Entity (XXE) and | |
1272 | XML Entity Expansion (XEE) attacks on XML documents. | |
1273 | ||
1274 | The XXE attack is prevented disabling the load of external entities in | |
1275 | the libxml library used by PHP, using the function | |
1276 | libxml_disable_entity_loader. | |
1277 | ||
1278 | The XEE attack is prevented looking inside the XML document for ENTITY | |
1279 | usage. If the XML document uses ENTITY the library throw an Exception. | |
1280 | ||
1281 | %prep | |
1282 | %setup -q -n ZendFramework-%{version} %{?with_tests:-a 1} | |
7aff082c | 1283 | %patch0 -p2 -d library/Zend/Mail |
fa357215 | 1284 | |
72fb6715 ER |
1285 | # move doc for easier install |
1286 | install -d doc | |
1287 | for p in library/Zend/*/*.json library/Zend/*/*/*.json; do | |
1288 | p=${p%/composer.json} | |
1289 | d=${p#library/Zend/} | |
1290 | install -d doc/$d | |
1291 | mv $p/*.md $p/composer.json doc/$d | |
1292 | done | |
1293 | ||
fa357215 ER |
1294 | %build |
1295 | %if %{with tests} | |
1296 | cd tests | |
1297 | : Create autoloader for test suite | |
1298 | cat <<'AUTOLOADER' | tee _autoload.php | |
1299 | <?php | |
1300 | require_once '$RPM_BUILD_ROOT%{php_data_dir}/Zend/autoload.php'; | |
1301 | ||
1302 | Zend\Loader\AutoloaderFactory::factory(array( | |
1303 | 'Zend\\Loader\\StandardAutoloader' => array( | |
1304 | 'namespaces' => array( | |
1305 | 'ZendTest' => __DIR__ . '/ZendTest', | |
1306 | )))); | |
1307 | AUTOLOADER | |
1308 | ||
1309 | : ignore these for now | |
1310 | rm ZendTest/Mvc/Controller/Plugin/FilePostRedirectGetTest.php | |
1311 | : PHP 5.4 segfaults https://bugzilla.redhat.com/1131979 | |
1312 | rm ZendTest/Serializer/Adapter/WddxTest.php | |
1313 | ||
1314 | RET=0 | |
1315 | for dir in ZendTest/[A-Z]*; do | |
1316 | phpunit $dir || RET=1 | |
1317 | done | |
1318 | exit $RET | |
1319 | %endif | |
1320 | ||
1321 | %clean | |
1322 | rm -rf $RPM_BUILD_ROOT | |
1323 | ||
1324 | %install | |
1325 | rm -rf $RPM_BUILD_ROOT | |
1326 | install -d $RPM_BUILD_ROOT%{php_data_dir} | |
1327 | cp -a library/* $RPM_BUILD_ROOT%{php_data_dir} | |
1328 | ||
1329 | cp -p %{SOURCE2} $RPM_BUILD_ROOT%{php_data_dir}/Zend/autoload.php | |
1330 | ||
1331 | %files | |
1332 | %defattr(644,root,root,755) | |
1333 | %doc LICENSE.txt | |
1334 | %doc *.md composer.json | |
1335 | %dir %{php_data_dir}/Zend | |
1336 | ||
1337 | %files Authentication | |
1338 | %defattr(644,root,root,755) | |
72fb6715 ER |
1339 | %doc doc/Authentication/*.md |
1340 | %doc doc/Authentication/composer.json | |
fa357215 | 1341 | %{php_data_dir}/Zend/Authentication |
fa357215 ER |
1342 | |
1343 | %files Barcode | |
1344 | %defattr(644,root,root,755) | |
72fb6715 ER |
1345 | %doc doc/Barcode/*.md |
1346 | %doc doc/Barcode/composer.json | |
fa357215 | 1347 | %{php_data_dir}/Zend/Barcode |
fa357215 ER |
1348 | |
1349 | %files Cache | |
1350 | %defattr(644,root,root,755) | |
72fb6715 ER |
1351 | %doc doc/Cache/*.md |
1352 | %doc doc/Cache/composer.json | |
fa357215 | 1353 | %{php_data_dir}/Zend/Cache |
fa357215 ER |
1354 | |
1355 | %files Captcha | |
1356 | %defattr(644,root,root,755) | |
72fb6715 ER |
1357 | %doc doc/Captcha/*.md |
1358 | %doc doc/Captcha/composer.json | |
fa357215 | 1359 | %{php_data_dir}/Zend/Captcha |
fa357215 ER |
1360 | |
1361 | %files Code | |
1362 | %defattr(644,root,root,755) | |
72fb6715 ER |
1363 | %doc doc/Code/*.md |
1364 | %doc doc/Code/composer.json | |
fa357215 | 1365 | %{php_data_dir}/Zend/Code |
fa357215 ER |
1366 | |
1367 | %files Config | |
1368 | %defattr(644,root,root,755) | |
72fb6715 ER |
1369 | %doc doc/Config/*.md |
1370 | %doc doc/Config/composer.json | |
fa357215 | 1371 | %{php_data_dir}/Zend/Config |
fa357215 ER |
1372 | |
1373 | %files Console | |
1374 | %defattr(644,root,root,755) | |
72fb6715 ER |
1375 | %doc doc/Console/*.md |
1376 | %doc doc/Console/composer.json | |
fa357215 | 1377 | %{php_data_dir}/Zend/Console |
fa357215 ER |
1378 | |
1379 | %files Crypt | |
1380 | %defattr(644,root,root,755) | |
72fb6715 ER |
1381 | %doc doc/Crypt/*.md |
1382 | %doc doc/Crypt/composer.json | |
fa357215 | 1383 | %{php_data_dir}/Zend/Crypt |
fa357215 ER |
1384 | |
1385 | %files Db | |
1386 | %defattr(644,root,root,755) | |
72fb6715 ER |
1387 | %doc doc/Db/*.md |
1388 | %doc doc/Db/composer.json | |
fa357215 | 1389 | %{php_data_dir}/Zend/Db |
fa357215 ER |
1390 | |
1391 | %files Debug | |
1392 | %defattr(644,root,root,755) | |
72fb6715 ER |
1393 | %doc doc/Debug/*.md |
1394 | %doc doc/Debug/composer.json | |
fa357215 | 1395 | %{php_data_dir}/Zend/Debug |
fa357215 ER |
1396 | |
1397 | %files Di | |
1398 | %defattr(644,root,root,755) | |
72fb6715 ER |
1399 | %doc doc/Di/*.md |
1400 | %doc doc/Di/composer.json | |
fa357215 | 1401 | %{php_data_dir}/Zend/Di |
fa357215 ER |
1402 | |
1403 | %files Dom | |
1404 | %defattr(644,root,root,755) | |
72fb6715 ER |
1405 | %doc doc/Dom/*.md |
1406 | %doc doc/Dom/composer.json | |
fa357215 | 1407 | %{php_data_dir}/Zend/Dom |
fa357215 ER |
1408 | |
1409 | %files Escaper | |
1410 | %defattr(644,root,root,755) | |
72fb6715 ER |
1411 | %doc doc/Escaper/*.md |
1412 | %doc doc/Escaper/composer.json | |
fa357215 | 1413 | %{php_data_dir}/Zend/Escaper |
fa357215 ER |
1414 | |
1415 | %files EventManager | |
1416 | %defattr(644,root,root,755) | |
72fb6715 ER |
1417 | %doc doc/EventManager/*.md |
1418 | %doc doc/EventManager/composer.json | |
fa357215 | 1419 | %{php_data_dir}/Zend/EventManager |
fa357215 ER |
1420 | |
1421 | %files Feed | |
1422 | %defattr(644,root,root,755) | |
72fb6715 ER |
1423 | %doc doc/Feed/*.md |
1424 | %doc doc/Feed/composer.json | |
fa357215 | 1425 | %{php_data_dir}/Zend/Feed |
fa357215 ER |
1426 | |
1427 | %files File | |
1428 | %defattr(644,root,root,755) | |
72fb6715 ER |
1429 | %doc doc/File/*.md |
1430 | %doc doc/File/composer.json | |
fa357215 | 1431 | %{php_data_dir}/Zend/File |
fa357215 ER |
1432 | |
1433 | %files Filter | |
1434 | %defattr(644,root,root,755) | |
72fb6715 ER |
1435 | %doc doc/Filter/*.md |
1436 | %doc doc/Filter/composer.json | |
fa357215 | 1437 | %{php_data_dir}/Zend/Filter |
fa357215 ER |
1438 | |
1439 | %files Form | |
1440 | %defattr(644,root,root,755) | |
72fb6715 ER |
1441 | %doc doc/Form/*.md |
1442 | %doc doc/Form/composer.json | |
fa357215 | 1443 | %{php_data_dir}/Zend/Form |
fa357215 ER |
1444 | |
1445 | %files Http | |
1446 | %defattr(644,root,root,755) | |
72fb6715 ER |
1447 | %doc doc/Http/*.md |
1448 | %doc doc/Http/composer.json | |
fa357215 | 1449 | %{php_data_dir}/Zend/Http |
fa357215 ER |
1450 | |
1451 | %files I18n | |
1452 | %defattr(644,root,root,755) | |
72fb6715 ER |
1453 | %doc doc/I18n/*.md |
1454 | %doc doc/I18n/composer.json | |
fa357215 | 1455 | %{php_data_dir}/Zend/I18n |
fa357215 ER |
1456 | |
1457 | %files InputFilter | |
1458 | %defattr(644,root,root,755) | |
72fb6715 ER |
1459 | %doc doc/InputFilter/*.md |
1460 | %doc doc/InputFilter/composer.json | |
fa357215 | 1461 | %{php_data_dir}/Zend/InputFilter |
fa357215 ER |
1462 | |
1463 | %files Json | |
1464 | %defattr(644,root,root,755) | |
72fb6715 ER |
1465 | %doc doc/Json/*.md |
1466 | %doc doc/Json/composer.json | |
fa357215 | 1467 | %{php_data_dir}/Zend/Json |
fa357215 ER |
1468 | |
1469 | %files Ldap | |
1470 | %defattr(644,root,root,755) | |
72fb6715 ER |
1471 | %doc doc/Ldap/*.md |
1472 | %doc doc/Ldap/composer.json | |
fa357215 | 1473 | %{php_data_dir}/Zend/Ldap |
fa357215 ER |
1474 | |
1475 | %files Loader | |
1476 | %defattr(644,root,root,755) | |
72fb6715 ER |
1477 | %doc doc/Loader/*.md |
1478 | %doc doc/Loader/composer.json | |
fa357215 ER |
1479 | %{php_data_dir}/Zend/autoload.php |
1480 | %{php_data_dir}/Zend/Loader | |
fa357215 ER |
1481 | |
1482 | %files Log | |
1483 | %defattr(644,root,root,755) | |
72fb6715 ER |
1484 | %doc doc/Log/*.md |
1485 | %doc doc/Log/composer.json | |
fa357215 | 1486 | %{php_data_dir}/Zend/Log |
fa357215 ER |
1487 | |
1488 | %files Mail | |
1489 | %defattr(644,root,root,755) | |
72fb6715 ER |
1490 | %doc doc/Mail/*.md |
1491 | %doc doc/Mail/composer.json | |
fa357215 | 1492 | %{php_data_dir}/Zend/Mail |
fa357215 ER |
1493 | |
1494 | %files Math | |
1495 | %defattr(644,root,root,755) | |
72fb6715 ER |
1496 | %doc doc/Math/*.md |
1497 | %doc doc/Math/composer.json | |
fa357215 | 1498 | %{php_data_dir}/Zend/Math |
fa357215 ER |
1499 | |
1500 | %files Memory | |
1501 | %defattr(644,root,root,755) | |
72fb6715 ER |
1502 | %doc doc/Memory/*.md |
1503 | %doc doc/Memory/composer.json | |
fa357215 | 1504 | %{php_data_dir}/Zend/Memory |
fa357215 ER |
1505 | |
1506 | %files Mime | |
1507 | %defattr(644,root,root,755) | |
72fb6715 ER |
1508 | %doc doc/Mime/*.md |
1509 | %doc doc/Mime/composer.json | |
fa357215 | 1510 | %{php_data_dir}/Zend/Mime |
fa357215 ER |
1511 | |
1512 | %files ModuleManager | |
1513 | %defattr(644,root,root,755) | |
72fb6715 ER |
1514 | %doc doc/ModuleManager/*.md |
1515 | %doc doc/ModuleManager/composer.json | |
fa357215 | 1516 | %{php_data_dir}/Zend/ModuleManager |
fa357215 ER |
1517 | |
1518 | %files Mvc | |
1519 | %defattr(644,root,root,755) | |
72fb6715 ER |
1520 | %doc doc/Mvc/*.md |
1521 | %doc doc/Mvc/composer.json | |
fa357215 | 1522 | %{php_data_dir}/Zend/Mvc |
fa357215 ER |
1523 | |
1524 | %files Navigation | |
1525 | %defattr(644,root,root,755) | |
72fb6715 ER |
1526 | %doc doc/Navigation/*.md |
1527 | %doc doc/Navigation/composer.json | |
fa357215 | 1528 | %{php_data_dir}/Zend/Navigation |
fa357215 ER |
1529 | |
1530 | %files Paginator | |
1531 | %defattr(644,root,root,755) | |
72fb6715 ER |
1532 | %doc doc/Paginator/*.md |
1533 | %doc doc/Paginator/composer.json | |
fa357215 | 1534 | %{php_data_dir}/Zend/Paginator |
fa357215 ER |
1535 | |
1536 | %files Permissions-Acl | |
1537 | %defattr(644,root,root,755) | |
72fb6715 ER |
1538 | %doc doc/Permissions/Acl/*.md |
1539 | %doc doc/Permissions/Acl/composer.json | |
fa357215 ER |
1540 | %dir %{php_data_dir}/Zend/Permissions |
1541 | %{php_data_dir}/Zend/Permissions/Acl | |
fa357215 ER |
1542 | |
1543 | %files Permissions-Rbac | |
1544 | %defattr(644,root,root,755) | |
72fb6715 ER |
1545 | %doc doc/Permissions/Rbac/*.md |
1546 | %doc doc/Permissions/Rbac/composer.json | |
fa357215 ER |
1547 | %dir %{php_data_dir}/Zend/Permissions |
1548 | %{php_data_dir}/Zend/Permissions/Rbac | |
fa357215 ER |
1549 | |
1550 | %files ProgressBar | |
1551 | %defattr(644,root,root,755) | |
72fb6715 ER |
1552 | %doc doc/ProgressBar/*.md |
1553 | %doc doc/ProgressBar/composer.json | |
fa357215 | 1554 | %{php_data_dir}/Zend/ProgressBar |
fa357215 ER |
1555 | |
1556 | %files Serializer | |
1557 | %defattr(644,root,root,755) | |
72fb6715 ER |
1558 | %doc doc/Serializer/*.md |
1559 | %doc doc/Serializer/composer.json | |
fa357215 | 1560 | %{php_data_dir}/Zend/Serializer |
fa357215 ER |
1561 | |
1562 | %files Server | |
1563 | %defattr(644,root,root,755) | |
72fb6715 ER |
1564 | %doc doc/Server/*.md |
1565 | %doc doc/Server/composer.json | |
22d13a40 | 1566 | %{php_data_dir}/Zend/Server |
fa357215 ER |
1567 | |
1568 | %files ServiceManager | |
1569 | %defattr(644,root,root,755) | |
72fb6715 ER |
1570 | %doc doc/ServiceManager/*.md |
1571 | %doc doc/ServiceManager/composer.json | |
fa357215 | 1572 | %{php_data_dir}/Zend/ServiceManager |
fa357215 ER |
1573 | |
1574 | %files Session | |
1575 | %defattr(644,root,root,755) | |
72fb6715 ER |
1576 | %doc doc/Session/*.md |
1577 | %doc doc/Session/composer.json | |
fa357215 | 1578 | %{php_data_dir}/Zend/Session |
fa357215 ER |
1579 | |
1580 | %files Soap | |
1581 | %defattr(644,root,root,755) | |
72fb6715 ER |
1582 | %doc doc/Soap/*.md |
1583 | %doc doc/Soap/composer.json | |
fa357215 | 1584 | %{php_data_dir}/Zend/Soap |
fa357215 ER |
1585 | |
1586 | %files Stdlib | |
1587 | %defattr(644,root,root,755) | |
72fb6715 ER |
1588 | %doc doc/Stdlib/*.md |
1589 | %doc doc/Stdlib/composer.json | |
fa357215 | 1590 | %{php_data_dir}/Zend/Stdlib |
fa357215 ER |
1591 | |
1592 | %files Tag | |
1593 | %defattr(644,root,root,755) | |
72fb6715 ER |
1594 | %doc doc/Tag/*.md |
1595 | %doc doc/Tag/composer.json | |
fa357215 | 1596 | %{php_data_dir}/Zend/Tag |
fa357215 ER |
1597 | |
1598 | %files Test | |
1599 | %defattr(644,root,root,755) | |
72fb6715 ER |
1600 | %doc doc/Test/*.md |
1601 | %doc doc/Test/composer.json | |
fa357215 | 1602 | %{php_data_dir}/Zend/Test |
fa357215 ER |
1603 | |
1604 | %files Text | |
1605 | %defattr(644,root,root,755) | |
72fb6715 ER |
1606 | %doc doc/Text/*.md |
1607 | %doc doc/Text/composer.json | |
fa357215 | 1608 | %{php_data_dir}/Zend/Text |
fa357215 ER |
1609 | |
1610 | %files Uri | |
1611 | %defattr(644,root,root,755) | |
72fb6715 ER |
1612 | %doc doc/Uri/*.md |
1613 | %doc doc/Uri/composer.json | |
fa357215 | 1614 | %{php_data_dir}/Zend/Uri |
fa357215 ER |
1615 | |
1616 | %files Validator | |
1617 | %defattr(644,root,root,755) | |
72fb6715 ER |
1618 | %doc doc/Validator/*.md |
1619 | %doc doc/Validator/composer.json | |
fa357215 | 1620 | %{php_data_dir}/Zend/Validator |
fa357215 ER |
1621 | |
1622 | %files Version | |
1623 | %defattr(644,root,root,755) | |
72fb6715 ER |
1624 | %doc doc/Version/*.md |
1625 | %doc doc/Version/composer.json | |
fa357215 | 1626 | %{php_data_dir}/Zend/Version |
fa357215 ER |
1627 | |
1628 | %files View | |
1629 | %defattr(644,root,root,755) | |
72fb6715 ER |
1630 | %doc doc/View/*.md |
1631 | %doc doc/View/composer.json | |
fa357215 | 1632 | %{php_data_dir}/Zend/View |
fa357215 ER |
1633 | |
1634 | %files XmlRpc | |
1635 | %defattr(644,root,root,755) | |
72fb6715 ER |
1636 | %doc doc/XmlRpc/*.md |
1637 | %doc doc/XmlRpc/composer.json | |
fa357215 | 1638 | %{php_data_dir}/Zend/XmlRpc |
fa357215 ER |
1639 | |
1640 | %files ZendXml | |
1641 | %defattr(644,root,root,755) | |
1642 | %{php_data_dir}/ZendXml |