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