]> git.pld-linux.org Git - packages/php-ZendFramework.git/blob - php-ZendFramework.spec
e117a7021a13a41ff3b160dd2183f277d67483b7
[packages/php-ZendFramework.git] / php-ZendFramework.spec
1 #
2 # Conditional build:
3 %bcond_with     tests           # build with tests
4
5 # NOTE:
6 # - ZendXml has it's own versioning schema, version 1.0.1 as of 2.4.8 ZF2 release
7 # - ZF2 installs to /usr/share/php/Zend, while ZF1 installs to /usr/share/pear/Zend
8
9 Summary:        Zend Framework 2
10 Name:           php-ZendFramework
11 Version:        2.4.11
12 Release:        1
13 License:        BSD
14 Group:          Development/Languages/PHP
15 Source0:        https://packages.zendframework.com/releases/ZendFramework-%{version}/ZendFramework-%{version}.tgz
16 # Source0-md5:  6049929eaa60473ec97ca51214d6e85c
17 # git clone https://github.com/zendframework/zf2.git
18 # cd zf2; git checkout release-2.4.8
19 # tar czf ../ZendFramework-tests-2.4.8.tgz tests
20 #Source1:       ZendFramework-tests-%{version}.tgz
21 Source2:        autoload.php
22 Patch0:         bug-64.patch
23 URL:            https://framework.zend.com/
24 Requires:       php(core) >= 5.3.23
25 %if %{with tests}
26 BuildRequires:  phpunit >= 4.0.0
27 %endif
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
40 %package Authentication
41 Summary:        Zend Framework 2: Authentication Component
42 Group:          Development/Languages/PHP
43 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.authentication.intro.html
44 Requires:       %{name} = %{version}-%{release}
45 Requires:       %{name}-Stdlib = %{version}-%{release}
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)
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
74 %package Barcode
75 Summary:        Zend Framework 2: Barcode Component
76 Group:          Development/Languages/PHP
77 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.barcode.intro.html
78 Requires:       %{name} = %{version}-%{release}
79 Requires:       %{name}-Stdlib = %{version}-%{release}
80 Requires:       %{name}-Validator = %{version}-%{release}
81 Suggests:       %{name}-ServiceManager = %{version}-%{release}
82 Suggests:       php(dom)
83 Suggests:       php(gd)
84 Suggests:       php(iconv)
85 Suggests:       php(pcre)
86 Suggests:       php(spl)
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
95 %package Cache
96 Summary:        Zend Framework 2: Cache Component
97 Group:          Development/Languages/PHP
98 URL:            http://framework.zend.com/manual/2.4/en/index.html#zend-cache
99 Requires:       %{name} = %{version}-%{release}
100 Requires:       %{name}-EventManager = %{version}-%{release}
101 Requires:       %{name}-Serializer = %{version}-%{release}
102 Requires:       %{name}-ServiceManager = %{version}-%{release}
103 Requires:       %{name}-Stdlib = %{version}-%{release}
104 Suggests:       %{name}-Session = %{version}-%{release}
105 Suggests:       php(date)
106 Suggests:       php(pcre)
107 Suggests:       php(reflection)
108 Suggests:       php(spl)
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
122 %package Captcha
123 Summary:        Zend Framework 2: CAPTCHA Component
124 Group:          Development/Languages/PHP
125 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.captcha.intro.html
126 Requires:       %{name} = %{version}-%{release}
127 Requires:       %{name}-Math = %{version}-%{release}
128 Requires:       %{name}-Stdlib = %{version}-%{release}
129 Suggests:       %{name}-Session = %{version}-%{release}
130 Suggests:       %{name}-Text = %{version}-%{release}
131 Suggests:       %{name}-Validator = %{version}-%{release}
132 Suggests:       php(date)
133 Suggests:       php(gd)
134 Suggests:       php(spl)
135
136 %description Captcha
137 CAPTCHA stands for "Completely Automated Public Turing test to tell
138 Computers and Humans Apart'; it is used as a challenge-response to
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
150 %package Code
151 Summary:        Zend Framework 2: Code Component
152 Group:          Development/Languages/PHP
153 URL:            http://framework.zend.com/manual/2.4/en/index.html
154 Requires:       %{name} = %{version}-%{release}
155 Requires:       %{name}-EventManager = %{version}-%{release}
156 Suggests:       %{name}-Stdlib = %{version}-%{release}
157 Suggests:       php(pcre)
158 Suggests:       php(reflection)
159 Suggests:       php(spl)
160 Suggests:       php(tokenizer)
161
162 %description Code
163 Provides facilities to generate arbitrary code using an object
164 oriented interface.
165
166 %package Config
167 Summary:        Zend Framework 2: Config Component
168 Group:          Development/Languages/PHP
169 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.config.introduction.html
170 Requires:       %{name} = %{version}-%{release}
171 Requires:       %{name}-Stdlib = %{version}-%{release}
172 Suggests:       %{name}-Filter = %{version}-%{release}
173 Suggests:       %{name}-I18n = %{version}-%{release}
174 Suggests:       %{name}-Json = %{version}-%{release}
175 Suggests:       %{name}-ServiceManager = %{version}-%{release}
176 Suggests:       php(pcre)
177 Suggests:       php(spl)
178 Suggests:       php(xml)
179 Suggests:       php(xmlreader)
180 Suggests:       php(xmlwriter)
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
191 %package Console
192 Summary:        Zend Framework 2: Console Component
193 Group:          Development/Languages/PHP
194 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.console.introduction.html
195 Requires:       %{name} = %{version}-%{release}
196 Requires:       %{name}-Filter = %{version}-%{release}
197 Requires:       %{name}-Stdlib = %{version}-%{release}
198 Requires:       %{name}-Validator = %{version}-%{release}
199 Suggests:       php(pcre)
200 Suggests:       php(reflection)
201 Suggests:       php(spl)
202 Suggests:       php(xml)
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
226 %package Crypt
227 Summary:        Zend Framework 2: Crypt Component
228 Group:          Development/Languages/PHP
229 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.crypt.introduction.html
230 Requires:       %{name} = %{version}-%{release}
231 Requires:       %{name}-Math = %{version}-%{release}
232 Requires:       %{name}-ServiceManager = %{version}-%{release}
233 Requires:       %{name}-Stdlib = %{version}-%{release}
234 Suggests:       php(hash)
235 Suggests:       php(mcrypt)
236 Suggests:       php(openssl)
237 Suggests:       php(pcre)
238 Suggests:       php(spl)
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
261 %package Db
262 Summary:        Zend Framework 2: DB Component
263 Group:          Development/Languages/PHP
264 URL:            http://framework.zend.com/manual/2.4/en/index.html#zend-db
265 Requires:       %{name} = %{version}-%{release}
266 Requires:       %{name}-Stdlib = %{version}-%{release}
267 Suggests:       %{name}-EventManager = %{version}-%{release}
268 Suggests:       %{name}-ServiceManager = %{version}-%{release}
269 Suggests:       php(date)
270 Suggests:       php(pcre)
271 Suggests:       php(pdo)
272 Suggests:       php(spl)
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
284 %package Debug
285 Summary:        Zend Framework 2: Debug Component
286 Group:          Development/Languages/PHP
287 URL:            http://framework.zend.com/manual/2.4/en/index.html
288 Requires:       %{name} = %{version}-%{release}
289 Suggests:       %{name}-Escaper = %{version}-%{release}
290 Suggests:       php(pcre)
291
292 %description Debug
293 %{summary}
294
295 Optional: XDebug (php-pecl-xdebug)
296
297 %package Di
298 Summary:        Zend Framework 2: DI Component
299 Group:          Development/Languages/PHP
300 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.di.introduction.html
301 Requires:       %{name} = %{version}-%{release}
302 Requires:       %{name}-Code = %{version}-%{release}
303 Requires:       %{name}-Stdlib = %{version}-%{release}
304 Suggests:       %{name}-ServiceManager = %{version}-%{release}
305 Suggests:       php(pcre)
306 Suggests:       php(reflection)
307 Suggests:       php(spl)
308
309 %description Di
310 Dependency Injection (here-in called DI) is a concept that has been
311 talked about in numerous places over the web. Simply put, we'll
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
319 %package Dom
320 Summary:        Zend Framework 2: DOM Component
321 Group:          Development/Languages/PHP
322 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.dom.intro.html
323 Requires:       %{name} = %{version}-%{release}
324 Suggests:       php(dom)
325 Suggests:       php(pcre)
326 Suggests:       php(spl)
327 Suggests:       php(xml)
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
335 %package Escaper
336 Summary:        Zend Framework 2: Escaper Component
337 Group:          Development/Languages/PHP
338 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.escaper.introduction.html
339 Requires:       %{name} = %{version}-%{release}
340 Suggests:       php(ctype)
341 Suggests:       php(iconv)
342 Suggests:       php(mbstring)
343 Suggests:       php(pcre)
344 Suggests:       php(spl)
345
346 %description Escaper
347 The OWASP Top 10 web security risks study lists Cross-Site Scripting
348 (XSS) in second place. PHP's sole functionality against XSS is limited
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
354 %package EventManager
355 Summary:        Zend Framework 2: EventManager Component
356 Group:          Development/Languages/PHP
357 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.event-manager.event-manager.html
358 Requires:       %{name} = %{version}-%{release}
359 Requires:       %{name}-Stdlib = %{version}-%{release}
360 Suggests:       php(spl)
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
373 %package Feed
374 Summary:        Zend Framework 2: Feed Component
375 Group:          Development/Languages/PHP
376 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.feed.introduction.html
377 Requires:       %{name} = %{version}-%{release}
378 Requires:       %{name}-Escaper = %{version}-%{release}
379 Requires:       %{name}-Stdlib = %{version}-%{release}
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}
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)
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
409 %package File
410 Summary:        Zend Framework 2: File Component
411 Group:          Development/Languages/PHP
412 URL:            http://framework.zend.com/manual/2.4/en/index.html#zend-file
413 Requires:       %{name} = %{version}-%{release}
414 Requires:       %{name}-Stdlib = %{version}-%{release}
415 Suggests:       %{name}-Filter = %{version}-%{release}
416 Suggests:       %{name}-I18n = %{version}-%{release}
417 Suggests:       %{name}-Validator = %{version}-%{release}
418 Suggests:       php(fileinfo)
419 Suggests:       php(hash)
420 Suggests:       php(pcre)
421 Suggests:       php(spl)
422 Suggests:       php(tokenizer)
423
424 %description File
425 %{summary}
426
427 %package Filter
428 Summary:        Zend Framework 2: Filter Component
429 Group:          Development/Languages/PHP
430 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.filter.html
431 Requires:       %{name} = %{version}-%{release}
432 Requires:       %{name}-Stdlib = %{version}-%{release}
433 Suggests:       %{name}-Crypt = %{version}-%{release}
434 Suggests:       %{name}-I18n = %{version}-%{release}
435 Suggests:       %{name}-Servicemanager = %{version}-%{release}
436 Suggests:       %{name}-Uri = %{version}-%{release}
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)
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
454 %package Form
455 Summary:        Zend Framework 2: Form Component
456 Group:          Development/Languages/PHP
457 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.form.intro.html
458 Requires:       %{name} = %{version}-%{release}
459 Requires:       %{name}-InputFilter = %{version}-%{release}
460 Requires:       %{name}-Stdlib = %{version}-%{release}
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}
469 Suggests:       php(date)
470 Suggests:       php(intl)
471 Suggests:       php(pcre)
472 Suggests:       php(reflection)
473 Suggests:       php(spl)
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
490 %package Http
491 Summary:        Zend Framework 2: HTTP Component
492 Group:          Development/Languages/PHP
493 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.http.html
494 Requires:       %{name} = %{version}-%{release}
495 Requires:       %{name}-Loader = %{version}-%{release}
496 Requires:       %{name}-Stdlib = %{version}-%{release}
497 Requires:       %{name}-Uri = %{version}-%{release}
498 Requires:       %{name}-Validator = %{version}-%{release}
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)
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
523 %package I18n
524 Summary:        Zend Framework 2: i18n Component
525 Group:          Development/Languages/PHP
526 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.i18n.translating.html
527 Requires:       %{name} = %{version}-%{release}
528 Requires:       %{name}-Stdlib = %{version}-%{release}
529 Requires:       php(intl)
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}
537 Suggests:       php(ctype)
538 Suggests:       php(date)
539 Suggests:       php(pcre)
540 Suggests:       php(spl)
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
553 %package InputFilter
554 Summary:        Zend Framework 2: InputFilter Component
555 Group:          Development/Languages/PHP
556 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.input-filter.intro.html
557 Requires:       %{name} = %{version}-%{release}
558 Requires:       %{name}-Filter = %{version}-%{release}
559 Requires:       %{name}-Stdlib = %{version}-%{release}
560 Requires:       %{name}-Validator = %{version}-%{release}
561 Suggests:       %{name}-ServiceManager = %{version}-%{release}
562 Suggests:       php(spl)
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
569 %package Json
570 Summary:        Zend Framework 2: JSON Component
571 Group:          Development/Languages/PHP
572 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.json.introduction.html
573 Requires:       %{name} = %{version}-%{release}
574 Requires:       %{name}-Stdlib = %{version}-%{release}
575 Suggests:       %{name}-Http = %{version}-%{release}
576 Suggests:       %{name}-Server = %{version}-%{release}
577 Suggests:       %{name}-Zendxml = %{version}-%{release}
578 Suggests:       php(json)
579 Suggests:       php(mbstring)
580 Suggests:       php(pcre)
581 Suggests:       php(reflection)
582 Suggests:       php(spl)
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
603 %package Ldap
604 Summary:        Zend Framework 2: LDAP Component
605 Group:          Development/Languages/PHP
606 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.ldap.introduction.html
607 Requires:       %{name} = %{version}-%{release}
608 Requires:       %{name}-Stdlib = %{version}-%{release}
609 Requires:       php(ldap)
610 Suggests:       %{name}-EventManager = %{version}-%{release}
611 Suggests:       php(date)
612 Suggests:       php(iconv)
613 Suggests:       php(json)
614 Suggests:       php(mbstring)
615 Suggests:       php(pcre)
616 Suggests:       php(spl)
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
623 %package Loader
624 Summary:        Zend Framework 2: Loader Component
625 Group:          Development/Languages/PHP
626 URL:            http://framework.zend.com/manual/2.4/en/index.html#zend-loader
627 Requires:       %{name} = %{version}-%{release}
628 Suggests:       php(bz2)
629 Suggests:       php(pcre)
630 Suggests:       php(reflection)
631 Suggests:       php(spl)
632
633 %description Loader
634 %{summary}
635
636 %package Log
637 Summary:        Zend Framework 2: Log Component
638 Group:          Development/Languages/PHP
639 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.log.overview.html
640 Requires:       %{name} = %{version}-%{release}
641 Requires:       %{name}-ServiceManager = %{version}-%{release}
642 Requires:       %{name}-Stdlib = %{version}-%{release}
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}
648 Suggests:       php(date)
649 Suggests:       php(dom)
650 Suggests:       php(json)
651 Suggests:       php(pcre)
652 Suggests:       php(spl)
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
675 %package Mail
676 Summary:        Zend Framework 2: Mail Component
677 Group:          Development/Languages/PHP
678 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.mail.introduction.html
679 Requires:       %{name} = %{version}-%{release}
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}
685 Suggests:       %{name}-ServiceManager = %{version}-%{release}
686 Suggests:       php(ctype)
687 Suggests:       php(date)
688 Suggests:       php(iconv)
689 Suggests:       php(pcre)
690 Suggests:       php(spl)
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
700 %package Math
701 Summary:        Zend Framework 2: Math Component
702 Group:          Development/Languages/PHP
703 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.math.introduction.html
704 Requires:       %{name} = %{version}-%{release}
705 Suggests:       %{name}-ServiceManager = %{version}-%{release}
706 Suggests:       php(bcmath)
707 Suggests:       php(mcrypt)
708 Suggests:       php(openssl)
709 Suggests:       php(pcre)
710 Suggests:       php(spl)
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
721 %package Memory
722 Summary:        Zend Framework 2: Memory Component
723 Group:          Development/Languages/PHP
724 URL:            http://framework.zend.com/manual/2.4/en/index.html
725 Requires:       %{name} = %{version}-%{release}
726 Suggests:       %{name}-Cache = %{version}-%{release}
727 Suggests:       php(spl)
728
729 %description Memory
730 %{summary}
731
732 %package Mime
733 Summary:        Zend Framework 2: MIME Component
734 Group:          Development/Languages/PHP
735 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.mime.html
736 Requires:       %{name} = %{version}-%{release}
737 Requires:       %{name}-Stdlib = %{version}-%{release}
738 Suggests:       %{name}-Mail = %{version}-%{release}
739 Suggests:       php(iconv)
740 Suggests:       php(pcre)
741 Suggests:       php(spl)
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
750 %package ModuleManager
751 Summary:        Zend Framework 2: ModuleManager Component
752 Group:          Development/Languages/PHP
753 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.module-manager.intro.html
754 Requires:       %{name} = %{version}-%{release}
755 Requires:       %{name}-EventManager = %{version}-%{release}
756 Requires:       %{name}-Stdlib = %{version}-%{release}
757 Suggests:       %{name}-Config = %{version}-%{release}
758 Suggests:       %{name}-Console = %{version}-%{release}
759 Suggests:       %{name}-Loader = %{version}-%{release}
760 Suggests:       %{name}-ServiceManager = %{version}-%{release}
761 Suggests:       php(spl)
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
770 %package Mvc
771 Summary:        Zend Framework 2: MVC Component
772 Group:          Development/Languages/PHP
773 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.mvc.intro.html
774 Requires:       %{name} = %{version}-%{release}
775 Requires:       %{name}-EventManager = %{version}-%{release}
776 Requires:       %{name}-Form = %{version}-%{release}
777 Requires:       %{name}-ServiceManager = %{version}-%{release}
778 Requires:       %{name}-Stdlib = %{version}-%{release}
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}
797 Suggests:       php(intl)
798 Suggests:       php(pcre)
799 Suggests:       php(reflection)
800 Suggests:       php(spl)
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.
816 - Zend\Stdlib\DispatchableInterface. All "controllers' are simply
817   dispatchable objects.
818
819 %package Navigation
820 Summary:        Zend Framework 2: Navigation Component
821 Group:          Development/Languages/PHP
822 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.navigation.intro.html
823 Requires:       %{name} = %{version}-%{release}
824 Requires:       %{name}-Stdlib = %{version}-%{release}
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}
830 Suggests:       php(pcre)
831 Suggests:       php(spl)
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
839 %package Paginator
840 Summary:        Zend Framework 2: Paginator Component
841 Group:          Development/Languages/PHP
842 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.paginator.introduction.html
843 Requires:       %{name} = %{version}-%{release}
844 Requires:       %{name}-Stdlib = %{version}-%{release}
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}
851 Suggests:       php(reflection)
852 Suggests:       php(spl)
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
868 %package Permissions-Acl
869 Summary:        Zend Framework 2: Permissions ACL Component
870 Group:          Development/Languages/PHP
871 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.permissions.acl.intro.html
872 Requires:       %{name} = %{version}-%{release}
873 Suggests:       %{name}-ServiceManager = %{version}-%{release}
874 Suggests:       php(spl)
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
879 general, an application may utilize such ACL's to control access to
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
895 %package Permissions-Rbac
896 Summary:        Zend Framework 2: Permissions RBAC Component
897 Group:          Development/Languages/PHP
898 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.permissions.rbac.intro.html
899 Requires:       %{name} = %{version}-%{release}
900 Suggests:       php(spl)
901
902 %description Permissions-Rbac
903 The Zend\Permissions\Rbac component provides a lightweight role-based
904 access control implementation based around PHP 5.3's SPL
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
909 %package ProgressBar
910 Summary:        Zend Framework 2: ProgressBar Component
911 Group:          Development/Languages/PHP
912 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.progress-bar.html
913 Requires:       %{name} = %{version}-%{release}
914 Requires:       %{name}-Stdlib = %{version}-%{release}
915 Suggests:       %{name}-Json = %{version}-%{release}
916 Suggests:       %{name}-Session = %{version}-%{release}
917 Suggests:       php(apc)
918 Suggests:       php(date)
919 Suggests:       php(pcre)
920 Suggests:       php(spl)
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
930 %package Serializer
931 Summary:        Zend Framework 2: Serializer Component
932 Group:          Development/Languages/PHP
933 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.serializer.html
934 Requires:       %{name} = %{version}-%{release}
935 Requires:       %{name}-Json = %{version}-%{release}
936 Requires:       %{name}-Math = %{version}-%{release}
937 Requires:       %{name}-Stdlib = %{version}-%{release}
938 Suggests:       %{name}-ServiceManager = %{version}-%{release}
939 Suggests:       php(dom)
940 Suggests:       php(igbinary)
941 Suggests:       php(pcre)
942 Suggests:       php(simplexml)
943 Suggests:       php(spl)
944 Suggests:       php(xml)
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
953 %package Server
954 Summary:        Zend Framework 2: Server Component
955 Group:          Development/Languages/PHP
956 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.server.html
957 Requires:       %{name} = %{version}-%{release}
958 Requires:       %{name}-Code = %{version}-%{release}
959 Requires:       %{name}-Stdlib = %{version}-%{release}
960 Suggests:       php(pcre)
961 Suggests:       php(reflection)
962 Suggests:       php(spl)
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
968 PHP 5's SoapServer class; all server classes should implement this
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
974 Zend\Server\Server's getFunctions() and loadFunctions() methods.
975
976 %package ServiceManager
977 Summary:        Zend Framework 2: ServiceManager Component
978 Group:          Development/Languages/PHP
979 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.service-manager.intro.html
980 Requires:       %{name} = %{version}-%{release}
981 Suggests:       %{name}-Di = %{version}-%{release}
982 Suggests:       php(reflection)
983 Suggests:       php(spl)
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
990 %package Session
991 Summary:        Zend Framework 2: Session Component
992 Group:          Development/Languages/PHP
993 URL:            http://framework.zend.com/manual/2.4/en/index.html#zend-session
994 Requires:       %{name} = %{version}-%{release}
995 Requires:       %{name}-EventManager = %{version}-%{release}
996 Requires:       %{name}-Stdlib = %{version}-%{release}
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}
1002 Suggests:       php(date)
1003 Suggests:       php(hash)
1004 Suggests:       php(pcre)
1005 Suggests:       php(session)
1006 Suggests:       php(spl)
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
1014 %package Soap
1015 Summary:        Zend Framework 2: SOAP Component
1016 Group:          Development/Languages/PHP
1017 URL:            http://framework.zend.com/manual/2.4/en/index.html#zend-soap
1018 Requires:       %{name} = %{version}-%{release}
1019 Requires:       %{name}-Server = %{version}-%{release}
1020 Requires:       %{name}-Stdlib = %{version}-%{release}
1021 Requires:       %{name}-Uri = %{version}-%{release}
1022 Requires:       php(soap)
1023 Suggests:       %{name}-Http = %{version}-%{release}
1024 Suggests:       php(curl)
1025 Suggests:       php(dom)
1026 Suggests:       php(pcre)
1027 Suggests:       php(reflection)
1028 Suggests:       php(simplexml)
1029 Suggests:       php(spl)
1030 Suggests:       php(xml)
1031
1032 %description Soap
1033 %{summary}
1034
1035 %package Stdlib
1036 Summary:        Zend Framework 2: Stdlib Component
1037 Group:          Development/Languages/PHP
1038 URL:            http://framework.zend.com/manual/2.4/en/index.html#zend-stdlib
1039 Requires:       %{name} = %{version}-%{release}
1040 Suggests:       %{name}-EventManager = %{version}-%{release}
1041 Suggests:       %{name}-Filter = %{version}-%{release}
1042 Suggests:       %{name}-Serializer = %{version}-%{release}
1043 Suggests:       %{name}-ServiceManager = %{version}-%{release}
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)
1052
1053 %description Stdlib
1054 %{summary}
1055
1056 %package Tag
1057 Summary:        Zend Framework 2: Tag Component
1058 Group:          Development/Languages/PHP
1059 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.tag.introduction.html
1060 Requires:       %{name} = %{version}-%{release}
1061 Requires:       %{name}-Escaper = %{version}-%{release}
1062 Requires:       %{name}-Stdlib = %{version}-%{release}
1063 Suggests:       %{name}-ServiceManager = %{version}-%{release}
1064 Suggests:       php(pcre)
1065 Suggests:       php(spl)
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
1084 %package Test
1085 Summary:        Zend Framework 2: Test Component
1086 Group:          Development/Languages/PHP
1087 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.test.introduction.html
1088 Requires:       %{name} = %{version}-%{release}
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}
1098 Suggests:       php(pcre)
1099 Suggests:       php(spl)
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
1108 %package Text
1109 Summary:        Zend Framework 2: Text Component
1110 Group:          Development/Languages/PHP
1111 URL:            http://framework.zend.com/manual/2.4/en/index.html#zend-text
1112 Requires:       %{name} = %{version}-%{release}
1113 Requires:       %{name}-ServiceManager = %{version}-%{release}
1114 Requires:       %{name}-Stdlib = %{version}-%{release}
1115 Suggests:       php(ctype)
1116 Suggests:       php(pcre)
1117 Suggests:       php(spl)
1118
1119 ### TODO: Is Zend/Text/Figlet/zend-framework.flf allowed?
1120
1121 %description Text
1122 %{summary}
1123
1124 %package Uri
1125 Summary:        Zend Framework 2: URI Component
1126 Group:          Development/Languages/PHP
1127 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.uri.html
1128 Requires:       %{name} = %{version}-%{release}
1129 Requires:       %{name}-Escaper = %{version}-%{release}
1130 Requires:       %{name}-Validator = %{version}-%{release}
1131 Suggests:       php(pcre)
1132 Suggests:       php(spl)
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
1148 %package Validator
1149 Summary:        Zend Framework 2: Validator Component
1150 Group:          Development/Languages/PHP
1151 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.validator.html
1152 Requires:       %{name} = %{version}-%{release}
1153 Requires:       %{name}-Stdlib = %{version}-%{release}
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}
1161 Suggests:       php(ctype)
1162 Suggests:       php(date)
1163 Suggests:       php(fileinfo)
1164 Suggests:       php(hash)
1165 Suggests:       php(pcre)
1166 Suggests:       php(spl)
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
1174 %package Version
1175 Summary:        Zend Framework 2: Version Component
1176 Group:          Development/Languages/PHP
1177 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.version.html
1178 Requires:       %{name} = %{version}-%{release}
1179 Requires:       %{name}-Json = %{version}-%{release}
1180 Suggests:       %{name}-Http = %{version}-%{release}
1181 Suggests:       php(pcre)
1182 Suggests:       php(spl)
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
1188 "1.7.4', for example.
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
1196 %package View
1197 Summary:        Zend Framework 2: View Component
1198 Group:          Development/Languages/PHP
1199 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.view.quick-start.html
1200 Requires:       %{name} = %{version}-%{release}
1201 Requires:       %{name}-EventManager = %{version}-%{release}
1202 Requires:       %{name}-Loader = %{version}-%{release}
1203 Requires:       %{name}-Stdlib = %{version}-%{release}
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}
1217 Suggests:       php(date)
1218 Suggests:       php(dom)
1219 Suggests:       php(filter)
1220 Suggests:       php(pcre)
1221 Suggests:       php(spl)
1222
1223 %description View
1224 Zend\View provides the "View' layer of Zend Framework 2's MVC system.
1225 It is a multi-tiered system allowing a variety of mechanisms for
1226 extension, substitution, and more.
1227
1228 %package XmlRpc
1229 Summary:        Zend Framework 2: XML-RPC Component
1230 Group:          Development/Languages/PHP
1231 URL:            http://framework.zend.com/manual/2.4/en/modules/zend.xmlrpc.intro.html
1232 Requires:       %{name} = %{version}-%{release}
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}
1238 Suggests:       %{name}-Cache = %{version}-%{release}
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)
1248
1249 %description XmlRpc
1250 From its home page, XML-RPC is described as a '...remote procedure
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
1253 structures to be transmitted, processed and returned.'
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
1260 %package ZendXml
1261 Summary:        Zend Framework 2: XML usage, best practices, and security in PHP
1262 Group:          Development/Languages/PHP
1263 URL:            https://github.com/zendframework/ZendXml
1264 Requires:       %{name} = %{version}-%{release}
1265 Requires:       php(dom)
1266 Requires:       php(simplexml)
1267 Requires:       php(spl)
1268 Requires:       php(xml)
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}
1283 %patch -p2 -d library/Zend/Mail
1284
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
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)
1339 %doc doc/Authentication/*.md
1340 %doc doc/Authentication/composer.json
1341 %{php_data_dir}/Zend/Authentication
1342
1343 %files Barcode
1344 %defattr(644,root,root,755)
1345 %doc doc/Barcode/*.md
1346 %doc doc/Barcode/composer.json
1347 %{php_data_dir}/Zend/Barcode
1348
1349 %files Cache
1350 %defattr(644,root,root,755)
1351 %doc doc/Cache/*.md
1352 %doc doc/Cache/composer.json
1353 %{php_data_dir}/Zend/Cache
1354
1355 %files Captcha
1356 %defattr(644,root,root,755)
1357 %doc doc/Captcha/*.md
1358 %doc doc/Captcha/composer.json
1359 %{php_data_dir}/Zend/Captcha
1360
1361 %files Code
1362 %defattr(644,root,root,755)
1363 %doc doc/Code/*.md
1364 %doc doc/Code/composer.json
1365 %{php_data_dir}/Zend/Code
1366
1367 %files Config
1368 %defattr(644,root,root,755)
1369 %doc doc/Config/*.md
1370 %doc doc/Config/composer.json
1371 %{php_data_dir}/Zend/Config
1372
1373 %files Console
1374 %defattr(644,root,root,755)
1375 %doc doc/Console/*.md
1376 %doc doc/Console/composer.json
1377 %{php_data_dir}/Zend/Console
1378
1379 %files Crypt
1380 %defattr(644,root,root,755)
1381 %doc doc/Crypt/*.md
1382 %doc doc/Crypt/composer.json
1383 %{php_data_dir}/Zend/Crypt
1384
1385 %files Db
1386 %defattr(644,root,root,755)
1387 %doc doc/Db/*.md
1388 %doc doc/Db/composer.json
1389 %{php_data_dir}/Zend/Db
1390
1391 %files Debug
1392 %defattr(644,root,root,755)
1393 %doc doc/Debug/*.md
1394 %doc doc/Debug/composer.json
1395 %{php_data_dir}/Zend/Debug
1396
1397 %files Di
1398 %defattr(644,root,root,755)
1399 %doc doc/Di/*.md
1400 %doc doc/Di/composer.json
1401 %{php_data_dir}/Zend/Di
1402
1403 %files Dom
1404 %defattr(644,root,root,755)
1405 %doc doc/Dom/*.md
1406 %doc doc/Dom/composer.json
1407 %{php_data_dir}/Zend/Dom
1408
1409 %files Escaper
1410 %defattr(644,root,root,755)
1411 %doc doc/Escaper/*.md
1412 %doc doc/Escaper/composer.json
1413 %{php_data_dir}/Zend/Escaper
1414
1415 %files EventManager
1416 %defattr(644,root,root,755)
1417 %doc doc/EventManager/*.md
1418 %doc doc/EventManager/composer.json
1419 %{php_data_dir}/Zend/EventManager
1420
1421 %files Feed
1422 %defattr(644,root,root,755)
1423 %doc doc/Feed/*.md
1424 %doc doc/Feed/composer.json
1425 %{php_data_dir}/Zend/Feed
1426
1427 %files File
1428 %defattr(644,root,root,755)
1429 %doc doc/File/*.md
1430 %doc doc/File/composer.json
1431 %{php_data_dir}/Zend/File
1432
1433 %files Filter
1434 %defattr(644,root,root,755)
1435 %doc doc/Filter/*.md
1436 %doc doc/Filter/composer.json
1437 %{php_data_dir}/Zend/Filter
1438
1439 %files Form
1440 %defattr(644,root,root,755)
1441 %doc doc/Form/*.md
1442 %doc doc/Form/composer.json
1443 %{php_data_dir}/Zend/Form
1444
1445 %files Http
1446 %defattr(644,root,root,755)
1447 %doc doc/Http/*.md
1448 %doc doc/Http/composer.json
1449 %{php_data_dir}/Zend/Http
1450
1451 %files I18n
1452 %defattr(644,root,root,755)
1453 %doc doc/I18n/*.md
1454 %doc doc/I18n/composer.json
1455 %{php_data_dir}/Zend/I18n
1456
1457 %files InputFilter
1458 %defattr(644,root,root,755)
1459 %doc doc/InputFilter/*.md
1460 %doc doc/InputFilter/composer.json
1461 %{php_data_dir}/Zend/InputFilter
1462
1463 %files Json
1464 %defattr(644,root,root,755)
1465 %doc doc/Json/*.md
1466 %doc doc/Json/composer.json
1467 %{php_data_dir}/Zend/Json
1468
1469 %files Ldap
1470 %defattr(644,root,root,755)
1471 %doc doc/Ldap/*.md
1472 %doc doc/Ldap/composer.json
1473 %{php_data_dir}/Zend/Ldap
1474
1475 %files Loader
1476 %defattr(644,root,root,755)
1477 %doc doc/Loader/*.md
1478 %doc doc/Loader/composer.json
1479 %{php_data_dir}/Zend/autoload.php
1480 %{php_data_dir}/Zend/Loader
1481
1482 %files Log
1483 %defattr(644,root,root,755)
1484 %doc doc/Log/*.md
1485 %doc doc/Log/composer.json
1486 %{php_data_dir}/Zend/Log
1487
1488 %files Mail
1489 %defattr(644,root,root,755)
1490 %doc doc/Mail/*.md
1491 %doc doc/Mail/composer.json
1492 %{php_data_dir}/Zend/Mail
1493
1494 %files Math
1495 %defattr(644,root,root,755)
1496 %doc doc/Math/*.md
1497 %doc doc/Math/composer.json
1498 %{php_data_dir}/Zend/Math
1499
1500 %files Memory
1501 %defattr(644,root,root,755)
1502 %doc doc/Memory/*.md
1503 %doc doc/Memory/composer.json
1504 %{php_data_dir}/Zend/Memory
1505
1506 %files Mime
1507 %defattr(644,root,root,755)
1508 %doc doc/Mime/*.md
1509 %doc doc/Mime/composer.json
1510 %{php_data_dir}/Zend/Mime
1511
1512 %files ModuleManager
1513 %defattr(644,root,root,755)
1514 %doc doc/ModuleManager/*.md
1515 %doc doc/ModuleManager/composer.json
1516 %{php_data_dir}/Zend/ModuleManager
1517
1518 %files Mvc
1519 %defattr(644,root,root,755)
1520 %doc doc/Mvc/*.md
1521 %doc doc/Mvc/composer.json
1522 %{php_data_dir}/Zend/Mvc
1523
1524 %files Navigation
1525 %defattr(644,root,root,755)
1526 %doc doc/Navigation/*.md
1527 %doc doc/Navigation/composer.json
1528 %{php_data_dir}/Zend/Navigation
1529
1530 %files Paginator
1531 %defattr(644,root,root,755)
1532 %doc doc/Paginator/*.md
1533 %doc doc/Paginator/composer.json
1534 %{php_data_dir}/Zend/Paginator
1535
1536 %files Permissions-Acl
1537 %defattr(644,root,root,755)
1538 %doc doc/Permissions/Acl/*.md
1539 %doc doc/Permissions/Acl/composer.json
1540 %dir %{php_data_dir}/Zend/Permissions
1541 %{php_data_dir}/Zend/Permissions/Acl
1542
1543 %files Permissions-Rbac
1544 %defattr(644,root,root,755)
1545 %doc doc/Permissions/Rbac/*.md
1546 %doc doc/Permissions/Rbac/composer.json
1547 %dir %{php_data_dir}/Zend/Permissions
1548 %{php_data_dir}/Zend/Permissions/Rbac
1549
1550 %files ProgressBar
1551 %defattr(644,root,root,755)
1552 %doc doc/ProgressBar/*.md
1553 %doc doc/ProgressBar/composer.json
1554 %{php_data_dir}/Zend/ProgressBar
1555
1556 %files Serializer
1557 %defattr(644,root,root,755)
1558 %doc doc/Serializer/*.md
1559 %doc doc/Serializer/composer.json
1560 %{php_data_dir}/Zend/Serializer
1561
1562 %files Server
1563 %defattr(644,root,root,755)
1564 %doc doc/Server/*.md
1565 %doc doc/Server/composer.json
1566 %{php_data_dir}/Zend/Server
1567
1568 %files ServiceManager
1569 %defattr(644,root,root,755)
1570 %doc doc/ServiceManager/*.md
1571 %doc doc/ServiceManager/composer.json
1572 %{php_data_dir}/Zend/ServiceManager
1573
1574 %files Session
1575 %defattr(644,root,root,755)
1576 %doc doc/Session/*.md
1577 %doc doc/Session/composer.json
1578 %{php_data_dir}/Zend/Session
1579
1580 %files Soap
1581 %defattr(644,root,root,755)
1582 %doc doc/Soap/*.md
1583 %doc doc/Soap/composer.json
1584 %{php_data_dir}/Zend/Soap
1585
1586 %files Stdlib
1587 %defattr(644,root,root,755)
1588 %doc doc/Stdlib/*.md
1589 %doc doc/Stdlib/composer.json
1590 %{php_data_dir}/Zend/Stdlib
1591
1592 %files Tag
1593 %defattr(644,root,root,755)
1594 %doc doc/Tag/*.md
1595 %doc doc/Tag/composer.json
1596 %{php_data_dir}/Zend/Tag
1597
1598 %files Test
1599 %defattr(644,root,root,755)
1600 %doc doc/Test/*.md
1601 %doc doc/Test/composer.json
1602 %{php_data_dir}/Zend/Test
1603
1604 %files Text
1605 %defattr(644,root,root,755)
1606 %doc doc/Text/*.md
1607 %doc doc/Text/composer.json
1608 %{php_data_dir}/Zend/Text
1609
1610 %files Uri
1611 %defattr(644,root,root,755)
1612 %doc doc/Uri/*.md
1613 %doc doc/Uri/composer.json
1614 %{php_data_dir}/Zend/Uri
1615
1616 %files Validator
1617 %defattr(644,root,root,755)
1618 %doc doc/Validator/*.md
1619 %doc doc/Validator/composer.json
1620 %{php_data_dir}/Zend/Validator
1621
1622 %files Version
1623 %defattr(644,root,root,755)
1624 %doc doc/Version/*.md
1625 %doc doc/Version/composer.json
1626 %{php_data_dir}/Zend/Version
1627
1628 %files View
1629 %defattr(644,root,root,755)
1630 %doc doc/View/*.md
1631 %doc doc/View/composer.json
1632 %{php_data_dir}/Zend/View
1633
1634 %files XmlRpc
1635 %defattr(644,root,root,755)
1636 %doc doc/XmlRpc/*.md
1637 %doc doc/XmlRpc/composer.json
1638 %{php_data_dir}/Zend/XmlRpc
1639
1640 %files ZendXml
1641 %defattr(644,root,root,755)
1642 %{php_data_dir}/ZendXml
This page took 0.240705 seconds and 2 git commands to generate.