[packages/php-ZendFramework] new, version 2.4.8-LTS
glen
glen at pld-linux.org
Thu Oct 29 22:38:10 CET 2015
commit fa357215778c4f8b024e5b45ad46e52093aae692
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Oct 29 23:17:01 2015 +0200
new, version 2.4.8-LTS
based on fedora package d50be5d
autoload.php | 15 +
php-ZendFramework.spec | 1238 ++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 1253 insertions(+)
---
diff --git a/php-ZendFramework.spec b/php-ZendFramework.spec
new file mode 100644
index 0000000..dcfca6e
--- /dev/null
+++ b/php-ZendFramework.spec
@@ -0,0 +1,1238 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+
+Summary: Zend Framework 2
+Name: php-ZendFramework
+Version: 2.4.8
+Release: 0.1
+License: BSD
+Group: Development/Libraries
+Source0: https://packages.zendframework.com/releases/ZendFramework-%{version}/ZendFramework-%{version}.tgz
+# Source0-md5: 145d2e23b9f745a1e11adbecc98761e9
+# git clone https://github.com/zendframework/zf2.git
+# cd zf2; git checkout release-2.3.9
+# tar czf ../ZendFramework-tests-2.3.9.tgz tests
+#Source1: ZendFramework-tests-%{version}.tgz
+Source2: autoload.php
+URL: http://framework.zend.com/
+Requires: php(core) >= 5.3.23
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Zend Framework 2 is an open source framework for developing web
+applications and services using PHP 5.3+. Zend Framework 2 uses 100%
+object-oriented code and utilizes most of the new features of PHP 5.3,
+namely namespaces, late static binding, lambda functions and closures.
+
+Zend Framework 2 evolved from Zend Framework 1, a successful PHP
+framework with over 15 million downloads.
+
+%package Authentication
+Summary: Zend Framework 2: Authentication Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.authentication.intro.html
+Requires: %{name} = %{version}-%{release}
+
+%description Authentication
+The Zend\Authentication component provides an API for authentication
+and includes concrete authentication adapters for common use case
+scenarios.
+
+Zend\Authentication is concerned only with authentication and not with
+authorization. Authentication is loosely defined as determining
+whether an entity actually is what it purports to be (i.e.,
+identification), based on some set of credentials. Authorization, the
+process of deciding whether to allow an entity access to, or to
+perform operations upon, other entities is outside the scope of
+Zend\Authentication. For more information about authorization and
+access control with Zend Framework, please see the
+Zend\Permissions\Acl or Zend\Permissions\Rbac component.
+
+%package Barcode
+Summary: Zend Framework 2: Barcode Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.barcode.intro.html
+Requires: %{name} = %{version}-%{release}
+
+%description Barcode
+Zend\Barcode\Barcode provides a generic way to generate barcodes. The
+Zend\Barcode component is divided into two subcomponents: barcode
+objects and renderers. Objects allow you to create barcodes
+independently of the renderer. Renderer allow you to draw barcodes
+based on the support required.
+
+%package Cache
+Summary: Zend Framework 2: Cache Component
+URL: http://framework.zend.com/manual/2.4/en/index.html#zend-cache
+Requires: %{name} = %{version}-%{release}
+
+%description Cache
+%{summary}
+
+Optional:
+- APC (php-pecl-apc)
+- DBA (php-dba)
+- Memcache (php-pecl-memcache)
+- Memcached (php-pecl-memcached)
+- Mongo (php-pecl-mongo)
+- Redis (php-pecl-redis)
+- XCache (php-xcache)
+
+%package Captcha
+Summary: Zend Framework 2: CAPTCHA Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.captcha.intro.html
+Requires: %{name} = %{version}-%{release}
+
+%description Captcha
+CAPTCHA stands for “Completely Automated Public Turing test to tell
+Computers and Humans Apart”; it is used as a challenge-response to
+ensure that the individual submitting information is a human and not
+an automated process. Typically, a CAPTCHA is used with form
+submissions where authenticated users are not necessary, but you want
+to prevent spam submissions.
+
+CAPTCHAs can take a variety of forms, including asking logic
+questions, presenting skewed fonts, and presenting multiple images and
+asking how they relate. The Zend\Captcha component aims to provide a
+variety of back ends that may be utilized either standalone or in
+conjunction with the Zend\Form component.
+
+%package Code
+Summary: Zend Framework 2: Code Component
+URL: http://framework.zend.com/manual/2.4/en/index.html
+Requires: %{name} = %{version}-%{release}
+
+%description Code
+Provides facilities to generate arbitrary code using an object
+oriented interface.
+
+%package Config
+Summary: Zend Framework 2: Config Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.config.introduction.html
+Requires: %{name} = %{version}-%{release}
+
+%description Config
+Zend\Config is designed to simplify access to configuration data
+within applications. It provides a nested object property-based user
+interface for accessing this configuration data within application
+code. The configuration data may come from a variety of media
+supporting hierarchical data storage. Currently, Zend\Config provides
+adapters that read and write configuration data stored in .ini, JSON,
+YAML and XML files.
+
+%package Console
+Summary: Zend Framework 2: Console Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.console.introduction.html
+Requires: %{name} = %{version}-%{release}
+
+%description Console
+Zend Framework 2 features built-in console support.
+
+When a Zend\Application is run from a console window (a shell window),
+it will recognize this fact and prepare Zend\Mvc components to handle
+the request. Console support is enabled by default, but to function
+properly it requires at least one console route and one action
+controller to handle the request.
+
+- Console routing allows you to invoke controllers and action
+ depending on command line parameters provided by the user.
+- Module Manager integration allows ZF2 applications and modules to
+ display help and usage information, in case the command line has not
+ been understood (no route matched).
+- Console-aware action controllers will receive a console request
+ containing all named parameters and flags. They are able to send
+ output back to the console window.
+- Console adapters provide a level of abstraction for interacting with
+ console on different operating systems.
+- Console prompts can be used to interact with the user by asking him
+ questions and retrieving input.
+
+%package Crypt
+Summary: Zend Framework 2: Crypt Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.crypt.introduction.html
+Requires: %{name} = %{version}-%{release}
+
+%description Crypt
+Zend\Crypt provides support of some cryptographic tools. The available
+features are:
+
+- encrypt-then-authenticate using symmetric ciphers (the
+ authentication step is provided using HMAC)
+- encrypt/decrypt using symmetric and public key algorithm (e.g. RSA
+ algorithm)
+- generate digital sign using public key algorithm (e.g. RSA
+ algorithm)
+- key exchange using the Diffie-Hellman method
+- Key derivation function (e.g. using PBKDF2 algorithm)
+- Secure password hash (e.g. using Bcrypt algorithm)
+- generate Hash values
+- generate HMAC values
+
+The main scope of this component is to offer an easy and secure way to
+protect and authenticate sensitive data in PHP. Because the use of
+cryptography is not so easy we recommend to use the Zend\Crypt
+component only if you have a minimum background on this topic.
+
+%package Db
+Summary: Zend Framework 2: DB Component
+URL: http://framework.zend.com/manual/2.4/en/index.html#zend-db
+Requires: %{name} = %{version}-%{release}
+
+%description Db
+%{summary}
+
+Optional:
+- ibm_db2 (http://pecl.php.net/package/ibm_db2)
+- mysqli (php-mysql)
+- oci8 (http://pecl.php.net/package/oci8)
+- pgsql (php-pgsql)
+- sqlsrv (http://pecl.php.net/package/sqlsrv)
+
+%package Debug
+Summary: Zend Framework 2: Debug Component
+URL: http://framework.zend.com/manual/2.4/en/index.html
+Requires: %{name} = %{version}-%{release}
+
+%description Debug
+%{summary}
+
+Optional: XDebug (php-pecl-xdebug)
+
+%package Di
+Summary: Zend Framework 2: DI Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.di.introduction.html
+Requires: %{name} = %{version}-%{release}
+
+%description Di
+Dependency Injection (here-in called DI) is a concept that has been
+talked about in numerous places over the web. Simply put, we’ll
+explain the act of injecting dependencies simply with this below code:
+
+$b = new MovieLister(new MovieFinder());
+
+Above, MovieFinder is a dependency of MovieLister, and MovieFinder was
+injected into MovieLister.
+
+%package Dom
+Summary: Zend Framework 2: DOM Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.dom.intro.html
+Requires: %{name} = %{version}-%{release}
+
+%description Dom
+The Zend\Dom component provides tools for working with DOM documents
+and structures. Currently, we offer Zend\Dom\Query, which provides a
+unified interface for querying DOM documents utilizing both XPath and
+CSS selectors.
+
+%package Escaper
+Summary: Zend Framework 2: Escaper Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.escaper.introduction.html
+Requires: %{name} = %{version}-%{release}
+
+%description Escaper
+The OWASP Top 10 web security risks study lists Cross-Site Scripting
+(XSS) in second place. PHP’s sole functionality against XSS is limited
+to two functions of which one is commonly misapplied. Thus, the
+Zend\Escaper component was written. It offers developers a way to
+escape output and defend from XSS and related vulnerabilities by
+introducing contextual escaping based on peer-reviewed rules.
+
+%package EventManager
+Summary: Zend Framework 2: EventManager Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.event-manager.event-manager.html
+Requires: %{name} = %{version}-%{release}
+
+%description EventManager
+The EventManager is a component designed for the following use cases:
+
+- Implementing simple subject/observer patterns.
+- Implementing Aspect-Oriented designs.
+- Implementing event-driven architectures.
+
+The basic architecture allows you to attach and detach listeners to
+named events, both on a per-instance basis as well as via shared
+collections; trigger events; and interrupt execution of listeners.
+
+%package Feed
+Summary: Zend Framework 2: Feed Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.feed.introduction.html
+Requires: %{name} = %{version}-%{release}
+
+%description Feed
+Zend\Feed provides functionality for consuming RSS and Atom feeds. It
+provides a natural syntax for accessing elements of feeds, feed
+attributes, and entry attributes. Zend\Feed also has extensive support
+for modifying feed and entry structure with the same natural syntax,
+and turning the result back into XML. In the future, this modification
+support could provide support for the Atom Publishing Protocol.
+
+Zend\Feed consists of Zend\Feed\Reader for reading RSS and Atom feeds,
+Zend\Feed\Writer for writing RSS and Atom feeds, and
+Zend\Feed\PubSubHubbub for working with Hub servers. Furthermore, both
+Zend\Feed\Reader and Zend\Feed\Writer support extensions which allows
+for working with additional data in feeds, not covered in the core API
+but used in conjunction with RSS and Atom feeds.
+
+%package File
+Summary: Zend Framework 2: File Component
+URL: http://framework.zend.com/manual/2.4/en/index.html#zend-file
+Requires: %{name} = %{version}-%{release}
+
+%description File
+%{summary}
+
+%package Filter
+Summary: Zend Framework 2: Filter Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.filter.html
+Requires: %{name} = %{version}-%{release}
+
+%description Filter
+The Zend\Filter component provides a set of commonly needed data
+filters. It also provides a simple filter chaining mechanism by which
+multiple filters may be applied to a single datum in a user-defined
+order.
+
+%package Form
+Summary: Zend Framework 2: Form Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.form.intro.html
+Requires: %{name} = %{version}-%{release}
+
+%description Form
+Zend\Form is intended primarily as a bridge between your domain models
+and the View Layer. It composes a thin layer of objects representing
+form elements, an InputFilter, and a small number of methods for
+binding data to and from the form and attached objects.
+
+The Zend\Form component consists of the following objects:
+
+- Elements, which simply consist of a name and attributes.
+- Fieldsets, which extend from Elements, but allow composing other
+ fieldsets and elements.
+- Forms, which extend from Fieldsets (and thus Elements). They provide
+ data and object binding, and compose InputFilters. Data binding is
+ done via ZendStdlibHydrator.
+
+%package Http
+Summary: Zend Framework 2: HTTP Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.http.html
+Requires: %{name} = %{version}-%{release}
+
+%description Http
+Zend\Http is a primary foundational component of Zend Framework. Since
+much of what PHP does is web-based, specifically HTTP, it makes sense
+to have a performant, extensible, concise and consistent API to do all
+things HTTP. In nutshell, there are several parts of Zend\Http:
+
+- Context-less Request and Response classes that expose a fluent API
+ for introspecting several aspects of HTTP messages:
+ - ** Request line information and response status information
+ - ** Parameters, such as those found in POST and GET
+ - ** Message Body
+ - ** Headers
+- A Client implementation with various adapters that allow for sending
+ requests and introspecting responses.
+
+%package I18n
+Summary: Zend Framework 2: i18n Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.i18n.translating.html
+Requires: %{name} = %{version}-%{release}
+
+%description I18n
+ZendI18n comes with a complete translation suite which supports all
+major formats and includes popular features like plural translations
+and text domains. The Translator component is mostly dependency free,
+except for the fallback to a default locale, where it relies on the
+Intl PHP extension.
+
+The translator itself is initialized without any parameters, as any
+configuration to it is optional. A translator without any translations
+will actually do nothing but just return the given message IDs.
+
+%package InputFilter
+Summary: Zend Framework 2: InputFilter Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.input-filter.intro.html
+Requires: %{name} = %{version}-%{release}
+
+%description InputFilter
+The Zend\InputFilter component can be used to filter and validate
+generic sets of input data. For instance, you could use it to filter
+$_GET or $_POST values, CLI arguments, etc.
+
+%package Json
+Summary: Zend Framework 2: JSON Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.json.introduction.html
+Requires: %{name} = %{version}-%{release}
+
+%description Json
+Zend\Json provides convenience methods for serializing native PHP to
+JSON and decoding JSON to native PHP.
+
+JSON, JavaScript Object Notation, can be used for data interchange
+between JavaScript and other languages. Since JSON can be directly
+evaluated by JavaScript, it is a more efficient and lightweight format
+than XML for exchanging data with JavaScript clients.
+
+In addition, Zend\Json provides a useful way to convert any arbitrary
+XML formatted string into a JSON formatted string. This built-in
+feature will enable PHP developers to transform the enterprise data
+encoded in XML format into JSON format before sending it to
+browser-based Ajax client applications. It provides an easy way to do
+dynamic data conversion on the server-side code thereby avoiding
+unnecessary XML parsing in the browser-side applications. It offers a
+nice utility function that results in easier application-specific data
+processing techniques.
+
+%package Ldap
+Summary: Zend Framework 2: LDAP Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.ldap.introduction.html
+Requires: %{name} = %{version}-%{release}
+
+%description Ldap
+Zend\Ldap\Ldap is a class for performing LDAP operations including but
+not limited to binding, searching and modifying entries in an LDAP
+directory.
+
+%package Loader
+Summary: Zend Framework 2: Loader Component
+URL: http://framework.zend.com/manual/2.4/en/index.html#zend-loader
+Requires: %{name} = %{version}-%{release}
+
+%description Loader
+%{summary}
+
+%package Log
+Summary: Zend Framework 2: Log Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.log.overview.html
+Requires: %{name} = %{version}-%{release}
+
+%description Log
+Zend\Log\Logger is a component for general purpose logging. It
+supports multiple log backends, formatting messages sent to the log,
+and filtering messages from being logged. These functions are divided
+into the following objects:
+
+- A Logger (instance of Zend\Log\Logger) is the object that your
+ application uses the most. You can have as many Logger objects as you
+ like; they do not interact. A Logger object must contain at least one
+ Writer, and can optionally contain one or more Filters.
+- A Writer (inherits from Zend\Log\Writer\AbstractWriter) is
+ responsible for saving data to storage.
+- A Filter (implements Zend\Log\Filter\FilterInterface) blocks log
+ data from being saved. A filter is applied to an individual writer.
+ Filters can be chained.
+- A Formatter (implements Zend\Log\Formatter\FormatterInterface) can
+ format the log data before it is written by a Writer. Each Writer has
+ exactly one Formatter.
+
+Optional: MongoDB (php-pecl-mongo)
+
+%package Mail
+Summary: Zend Framework 2: Mail Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.mail.introduction.html
+Requires: %{name} = %{version}-%{release}
+
+%description Mail
+Zend\Mail provides generalized functionality to compose and send both
+text and MIME-compliant multipart email messages. Mail can be sent
+with Zend\Mail via the Mail\Transport\Sendmail, Mail\Transport\Smtp or
+the Mail\Transport\File transport. Of course, you can also implement
+your own transport by implementing the
+Mail\Transport\TransportInterface.
+
+%package Math
+Summary: Zend Framework 2: Math Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.math.introduction.html
+Requires: %{name} = %{version}-%{release}
+
+%description Math
+Zend\Math namespace provides general mathematical functions. So far
+the supported functionalities are:
+
+- Zend\Math\Rand: A random number generator
+- Zend\Math\BigInteger: A library to manage big integers
+
+Optional: php-gmp
+
+%package Memory
+Summary: Zend Framework 2: Memory Component
+URL: http://framework.zend.com/manual/2.4/en/index.html
+Requires: %{name} = %{version}-%{release}
+
+%description Memory
+%{summary}
+
+%package Mime
+Summary: Zend Framework 2: MIME Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.mime.html
+Requires: %{name} = %{version}-%{release}
+
+%description Mime
+Zend\Mime\Mime is a support class for handling multipart MIME
+messages. It is used by Zend\Mail and Zend\Mime\Message and may be
+used by applications requiring MIME support.
+
+Optional: %{name}-Mail
+
+%package ModuleManager
+Summary: Zend Framework 2: ModuleManager Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.module-manager.intro.html
+Requires: %{name} = %{version}-%{release}
+
+%description ModuleManager
+Zend Framework 2.0 introduces a new and powerful approach to modules.
+This new module system is designed with flexibility, simplicity, and
+re-usability in mind. A module may contain just about anything: PHP
+code, including MVC functionality; library code; view scripts; and/or
+public assets such as images, CSS, and JavaScript.
+
+%package Mvc
+Summary: Zend Framework 2: MVC Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.mvc.intro.html
+Requires: %{name} = %{version}-%{release}
+
+%description Mvc
+Zend\Mvc is a brand new MVC implementation designed from the ground up
+for Zend Framework 2, focusing on performance and flexibility.
+
+The MVC layer is built on top of the following components:
+
+- Zend\ServiceManager - Zend Framework provides a set of default
+ service definitions set up at Zend\Mvc\Service. The ServiceManager
+ creates and configures your application instance and workflow.
+- Zend\EventManager - The MVC is event driven. This component is used
+ everywhere from initial bootstrapping of the application, through
+ returning response and request calls, to setting and retrieving routes
+ and matched routes, as well as render views.
+- Zend\Http - specifically the request and response objects.
+- Zend\Stdlib\DispatchableInterface. All “controllers” are simply
+ dispatchable objects.
+
+%package Navigation
+Summary: Zend Framework 2: Navigation Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.navigation.intro.html
+Requires: %{name} = %{version}-%{release}
+
+%description Navigation
+Zend\Navigation is a component for managing trees of pointers to web
+pages. Simply put: It can be used for creating menus, breadcrumbs,
+links, and sitemaps, or serve as a model for other navigation related
+purposes.
+
+%package Paginator
+Summary: Zend Framework 2: Paginator Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.paginator.introduction.html
+Requires: %{name} = %{version}-%{release}
+
+%description Paginator
+Zend\Paginator is a flexible component for paginating collections of
+data and presenting that data to users.
+
+The primary design goals of Zend\Paginator are as follows:
+
+- Paginate arbitrary data, not just relational databases
+- Fetch only the results that need to be displayed
+- Do not force users to adhere to only one way of displaying data or
+ rendering pagination controls
+- Loosely couple Zend\Paginator to other Zend Framework components so
+ that users who wish to use it independently of Zend\View, Zend\Db,
+ etc. can do so
+
+%package Permissions-Acl
+Summary: Zend Framework 2: Permissions ACL Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.permissions.acl.intro.html
+Requires: %{name} = %{version}-%{release}
+
+%description Permissions-Acl
+The Zend\Permissions\Acl component provides a lightweight and flexible
+access control list (ACL) implementation for privileges management. In
+general, an application may utilize such ACL‘s to control access to
+certain protected objects by other requesting objects.
+
+For the purposes of this documentation:
+
+- a resource is an object to which access is controlled.
+- a role is an object that may request access to a Resource.
+
+Put simply, roles request access to resources. For example, if a
+parking attendant requests access to a car, then the parking attendant
+is the requesting role, and the car is the resource, since access to
+the car may not be granted to everyone.
+
+Through the specification and use of an ACL, an application may
+control how roles are granted access to resources.
+
+%package Permissions-Rbac
+Summary: Zend Framework 2: Permissions RBAC Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.permissions.rbac.intro.html
+Requires: %{name} = %{version}-%{release}
+
+%description Permissions-Rbac
+The Zend\Permissions\Rbac component provides a lightweight role-based
+access control implementation based around PHP 5.3’s SPL
+RecursiveIterator and RecursiveIteratorIterator. RBAC differs from
+access control lists (ACL) by putting the emphasis on roles and their
+permissions rather than objects (resources).
+
+%package ProgressBar
+Summary: Zend Framework 2: ProgressBar Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.progress-bar.html
+Requires: %{name} = %{version}-%{release}
+
+%description ProgressBar
+Zend\ProgressBar is a component to create and update progress bars in
+different environments. It consists of a single backend, which outputs
+the progress through one of the multiple adapters. On every update, it
+takes an absolute value and optionally a status message, and then
+calls the adapter with some precalculated values like percentage and
+estimated time left.
+
+%package Serializer
+Summary: Zend Framework 2: Serializer Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.serializer.html
+Requires: %{name} = %{version}-%{release}
+
+%description Serializer
+The Zend\Serializer component provides an adapter based interface to
+simply generate storable representation of PHP types by different
+facilities, and recover.
+
+Optional: msgpack (php-pecl-msgpack)
+
+%package Server
+Summary: Zend Framework 2: Server Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.server.html
+Requires: %{name} = %{version}-%{release}
+
+%description Server
+The Zend\Server family of classes provides functionality for the
+various server classes, including Zend\XmlRpc\Server and
+Zend\Json\Server. Zend\Server\Server provides an interface that mimics
+PHP 5’s SoapServer class; all server classes should implement this
+interface in order to provide a standard server API.
+
+The Zend\Server\Reflection tree provides a standard mechanism for
+performing function and class introspection for use as callbacks with
+the server classes, and provides data suitable for use with
+Zend\Server\Server‘s getFunctions() and loadFunctions() methods.
+
+%package ServiceManager
+Summary: Zend Framework 2: ServiceManager Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.service-manager.intro.html
+Requires: %{name} = %{version}-%{release}
+
+%description ServiceManager
+The Service Locator design pattern is implemented by the
+Zend\ServiceManager component. The Service Locator is a service/object
+locator, tasked with retrieving other objects.
+
+%package Session
+Summary: Zend Framework 2: Session Component
+URL: http://framework.zend.com/manual/2.4/en/index.html#zend-session
+Requires: %{name} = %{version}-%{release}
+
+%description Session
+Manage and preserve session data, a logical complement of cookie data,
+across multiple page requests by the same client.
+
+Optional: MongoDB (php-pecl-mongo)
+
+%package Soap
+Summary: Zend Framework 2: SOAP Component
+URL: http://framework.zend.com/manual/2.4/en/index.html#zend-soap
+Requires: %{name} = %{version}-%{release}
+
+%description Soap
+%{summary}
+
+%package Stdlib
+Summary: Zend Framework 2: Stdlib Component
+URL: http://framework.zend.com/manual/2.4/en/index.html#zend-stdlib
+Requires: %{name} = %{version}-%{release}
+
+%description Stdlib
+%{summary}
+
+%package Tag
+Summary: Zend Framework 2: Tag Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.tag.introduction.html
+Requires: %{name} = %{version}-%{release}
+
+%description Tag
+Zend\Tag is a component suite which provides a facility to work with
+taggable Items. As its base, it provides two classes to work with
+Tags, Zend\Tag\Item and Zend\Tag\ItemList. Additionally, it comes with
+the interface Zend\Tag\TaggableInterface, which allows you to use any
+of your models as a taggable item in conjunction with Zend\Tag.
+
+Zend\Tag\Item is a basic taggable item implementation which comes with
+the essential functionality required to work with the Zend\Tag suite.
+A taggable item always consists of a title and a relative weight (e.g.
+number of occurrences). It also stores parameters which are used by
+the different sub-components of Zend\Tag.
+
+To group multiple items together, Zend\Tag\ItemList exists as an array
+iterator and provides additional functionality to calculate absolute
+weight values based on the given relative weights of each item in it.
+
+%package Test
+Summary: Zend Framework 2: Test Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.test.introduction.html
+Requires: %{name} = %{version}-%{release}
+
+%description Test
+The Zend\Test component provides tools to facilitate unit testing of
+your Zend Framework applications. At this time, we offer facilities to
+enable testing of your Zend Framework MVC applications.
+
+PHPUnit is the only library supported currently.
+
+%package Text
+Summary: Zend Framework 2: Text Component
+URL: http://framework.zend.com/manual/2.4/en/index.html#zend-text
+Requires: %{name} = %{version}-%{release}
+
+### TODO: Is Zend/Text/Figlet/zend-framework.flf allowed?
+
+%description Text
+%{summary}
+
+%package Uri
+Summary: Zend Framework 2: URI Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.uri.html
+Requires: %{name} = %{version}-%{release}
+
+%description Uri
+Zend\Uri is a component that aids in manipulating and validating
+Uniform Resource Identifiers (URIs) [1]. Zend\Uri exists primarily to
+service other components, such as Zend\Http\, but is also useful as a
+standalone utility.
+
+URIs always begin with a scheme, followed by a colon. The construction
+of the many different schemes varies significantly. The Zend\Uri
+component provides the Zend\Uri\UriFactory that returns a class
+implementing the Zend\Uri\UriInterface which specializes in the scheme
+if such a class is registered with the Factory.
+
+[1] http://www.ietf.org/rfc/rfc3986.txt
+
+%package Validator
+Summary: Zend Framework 2: Validator Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.validator.html
+Requires: %{name} = %{version}-%{release}
+
+%description Validator
+The Zend\Validator component provides a set of commonly needed
+validators. It also provides a simple validator chaining mechanism by
+which multiple validators may be applied to a single datum in a
+user-defined order.
+
+%package Version
+Summary: Zend Framework 2: Version Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.version.html
+Requires: %{name} = %{version}-%{release}
+
+%description Version
+Zend\Version provides a class constant Zend\Version\Version::VERSION
+that contains a string identifying the version number of your Zend
+Framework installation. Zend\Version\Version::VERSION might contain
+“1.7.4”, for example.
+
+The static method Zend\Version\Version::compareVersion($version) is
+based on the PHP function version_compare(). This method returns -1 if
+the specified version is older than the installed Zend Framework
+version, 0 if they are the same and +1 if the specified version is
+newer than the version of the Zend Framework installation.
+
+%package View
+Summary: Zend Framework 2: View Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.view.quick-start.html
+Requires: %{name} = %{version}-%{release}
+
+%description View
+Zend\View provides the “View” layer of Zend Framework 2’s MVC system.
+It is a multi-tiered system allowing a variety of mechanisms for
+extension, substitution, and more.
+
+%package XmlRpc
+Summary: Zend Framework 2: XML-RPC Component
+URL: http://framework.zend.com/manual/2.4/en/modules/zend.xmlrpc.intro.html
+Requires: %{name} = %{version}-%{release}
+
+%description XmlRpc
+From its home page, XML-RPC is described as a ”...remote procedure
+calling using HTTP as the transport and XML as the encoding. XML-RPC
+is designed to be as simple as possible, while allowing complex data
+structures to be transmitted, processed and returned.”
+
+Zend Framework provides support for both consuming remote XML-RPC
+services and building new XML-RPC servers.
+
+[1] http://www.xmlrpc.com/
+
+%package ZendXml
+Summary: Zend Framework 2: XML usage, best practices, and security in PHP
+URL: https://github.com/zendframework/ZendXml
+Requires: %{name} = %{version}-%{release}
+
+%description ZendXml
+This is a security component to prevent XML eXternal Entity (XXE) and
+XML Entity Expansion (XEE) attacks on XML documents.
+
+The XXE attack is prevented disabling the load of external entities in
+the libxml library used by PHP, using the function
+libxml_disable_entity_loader.
+
+The XEE attack is prevented looking inside the XML document for ENTITY
+usage. If the XML document uses ENTITY the library throw an Exception.
+
+%prep
+%setup -q -n ZendFramework-%{version} %{?with_tests:-a 1}
+
+%build
+%if %{with tests}
+cd tests
+: Create autoloader for test suite
+cat <<'AUTOLOADER' | tee _autoload.php
+<?php
+require_once '$RPM_BUILD_ROOT%{php_data_dir}/Zend/autoload.php';
+
+Zend\Loader\AutoloaderFactory::factory(array(
+ 'Zend\\Loader\\StandardAutoloader' => array(
+ 'namespaces' => array(
+ 'ZendTest' => __DIR__ . '/ZendTest',
+))));
+AUTOLOADER
+
+: ignore these for now
+rm ZendTest/Mvc/Controller/Plugin/FilePostRedirectGetTest.php
+: PHP 5.4 segfaults https://bugzilla.redhat.com/1131979
+rm ZendTest/Serializer/Adapter/WddxTest.php
+
+RET=0
+for dir in ZendTest/[A-Z]*; do
+ phpunit $dir || RET=1
+done
+exit $RET
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_data_dir}
+cp -a library/* $RPM_BUILD_ROOT%{php_data_dir}
+
+cp -p %{SOURCE2} $RPM_BUILD_ROOT%{php_data_dir}/Zend/autoload.php
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE.txt
+%doc *.md composer.json
+%dir %{php_data_dir}/Zend
+
+%files Authentication
+%defattr(644,root,root,755)
+%doc library/Zend/Authentication/*.md
+%doc library/Zend/Authentication/composer.json
+%{php_data_dir}/Zend/Authentication
+%exclude %{php_data_dir}/Zend/Authentication/*.md
+%exclude %{php_data_dir}/Zend/Authentication/composer.json
+
+%files Barcode
+%defattr(644,root,root,755)
+%doc library/Zend/Barcode/*.md
+%doc library/Zend/Barcode/composer.json
+%{php_data_dir}/Zend/Barcode
+%exclude %{php_data_dir}/Zend/Barcode/*.md
+%exclude %{php_data_dir}/Zend/Barcode/composer.json
+
+%files Cache
+%defattr(644,root,root,755)
+%doc library/Zend/Cache/*.md
+%doc library/Zend/Cache/composer.json
+%{php_data_dir}/Zend/Cache
+%exclude %{php_data_dir}/Zend/Cache/*.md
+%exclude %{php_data_dir}/Zend/Cache/composer.json
+
+%files Captcha
+%defattr(644,root,root,755)
+%doc library/Zend/Captcha/*.md
+%doc library/Zend/Captcha/composer.json
+%{php_data_dir}/Zend/Captcha
+%exclude %{php_data_dir}/Zend/Captcha/*.md
+%exclude %{php_data_dir}/Zend/Captcha/composer.json
+
+%files Code
+%defattr(644,root,root,755)
+%doc library/Zend/Code/*.md
+%doc library/Zend/Code/composer.json
+%{php_data_dir}/Zend/Code
+%exclude %{php_data_dir}/Zend/Code/*.md
+%exclude %{php_data_dir}/Zend/Code/composer.json
+
+%files Config
+%defattr(644,root,root,755)
+%doc library/Zend/Config/*.md
+%doc library/Zend/Config/composer.json
+%{php_data_dir}/Zend/Config
+%exclude %{php_data_dir}/Zend/Config/*.md
+%exclude %{php_data_dir}/Zend/Config/composer.json
+
+%files Console
+%defattr(644,root,root,755)
+%doc library/Zend/Console/*.md
+%doc library/Zend/Console/composer.json
+%{php_data_dir}/Zend/Console
+%exclude %{php_data_dir}/Zend/Console/*.md
+%exclude %{php_data_dir}/Zend/Console/composer.json
+
+%files Crypt
+%defattr(644,root,root,755)
+%doc library/Zend/Crypt/*.md
+%doc library/Zend/Crypt/composer.json
+%{php_data_dir}/Zend/Crypt
+%exclude %{php_data_dir}/Zend/Crypt/*.md
+%exclude %{php_data_dir}/Zend/Crypt/composer.json
+
+%files Db
+%defattr(644,root,root,755)
+%doc library/Zend/Db/*.md
+%doc library/Zend/Db/composer.json
+%{php_data_dir}/Zend/Db
+%exclude %{php_data_dir}/Zend/Db/*.md
+%exclude %{php_data_dir}/Zend/Db/composer.json
+
+%files Debug
+%defattr(644,root,root,755)
+%doc library/Zend/Debug/*.md
+%doc library/Zend/Debug/composer.json
+%{php_data_dir}/Zend/Debug
+%exclude %{php_data_dir}/Zend/Debug/*.md
+%exclude %{php_data_dir}/Zend/Debug/composer.json
+
+%files Di
+%defattr(644,root,root,755)
+%doc library/Zend/Di/*.md
+%doc library/Zend/Di/composer.json
+%{php_data_dir}/Zend/Di
+%exclude %{php_data_dir}/Zend/Di/*.md
+%exclude %{php_data_dir}/Zend/Di/composer.json
+
+%files Dom
+%defattr(644,root,root,755)
+%doc library/Zend/Dom/*.md
+%doc library/Zend/Dom/composer.json
+%{php_data_dir}/Zend/Dom
+%exclude %{php_data_dir}/Zend/Dom/*.md
+%exclude %{php_data_dir}/Zend/Dom/composer.json
+
+%files Escaper
+%defattr(644,root,root,755)
+%doc library/Zend/Escaper/*.md
+%doc library/Zend/Escaper/composer.json
+%{php_data_dir}/Zend/Escaper
+%exclude %{php_data_dir}/Zend/Escaper/*.md
+%exclude %{php_data_dir}/Zend/Escaper/composer.json
+
+%files EventManager
+%defattr(644,root,root,755)
+%doc library/Zend/EventManager/*.md
+%doc library/Zend/EventManager/composer.json
+%{php_data_dir}/Zend/EventManager
+%exclude %{php_data_dir}/Zend/EventManager/*.md
+%exclude %{php_data_dir}/Zend/EventManager/composer.json
+
+%files Feed
+%defattr(644,root,root,755)
+%doc library/Zend/Feed/*.md
+%doc library/Zend/Feed/composer.json
+%{php_data_dir}/Zend/Feed
+%exclude %{php_data_dir}/Zend/Feed/*.md
+%exclude %{php_data_dir}/Zend/Feed/composer.json
+
+%files File
+%defattr(644,root,root,755)
+%doc library/Zend/File/*.md
+%doc library/Zend/File/composer.json
+%{php_data_dir}/Zend/File
+%exclude %{php_data_dir}/Zend/File/*.md
+%exclude %{php_data_dir}/Zend/File/composer.json
+
+%files Filter
+%defattr(644,root,root,755)
+%doc library/Zend/Filter/*.md
+%doc library/Zend/Filter/composer.json
+%{php_data_dir}/Zend/Filter
+%exclude %{php_data_dir}/Zend/Filter/*.md
+%exclude %{php_data_dir}/Zend/Filter/composer.json
+
+%files Form
+%defattr(644,root,root,755)
+%doc library/Zend/Form/*.md
+%doc library/Zend/Form/composer.json
+%{php_data_dir}/Zend/Form
+%exclude %{php_data_dir}/Zend/Form/*.md
+%exclude %{php_data_dir}/Zend/Form/composer.json
+
+%files Http
+%defattr(644,root,root,755)
+%doc library/Zend/Http/*.md
+%doc library/Zend/Http/composer.json
+%{php_data_dir}/Zend/Http
+%exclude %{php_data_dir}/Zend/Http/*.md
+%exclude %{php_data_dir}/Zend/Http/composer.json
+
+%files I18n
+%defattr(644,root,root,755)
+%doc library/Zend/I18n/*.md
+%doc library/Zend/I18n/composer.json
+%{php_data_dir}/Zend/I18n
+%exclude %{php_data_dir}/Zend/I18n/*.md
+%exclude %{php_data_dir}/Zend/I18n/composer.json
+
+%files InputFilter
+%defattr(644,root,root,755)
+%doc library/Zend/InputFilter/*.md
+%doc library/Zend/InputFilter/composer.json
+%{php_data_dir}/Zend/InputFilter
+%exclude %{php_data_dir}/Zend/InputFilter/*.md
+%exclude %{php_data_dir}/Zend/InputFilter/composer.json
+
+%files Json
+%defattr(644,root,root,755)
+%doc library/Zend/Json/*.md
+%doc library/Zend/Json/composer.json
+%{php_data_dir}/Zend/Json
+%exclude %{php_data_dir}/Zend/Json/*.md
+%exclude %{php_data_dir}/Zend/Json/composer.json
+
+%files Ldap
+%defattr(644,root,root,755)
+%doc library/Zend/Ldap/*.md
+%doc library/Zend/Ldap/composer.json
+%{php_data_dir}/Zend/Ldap
+%exclude %{php_data_dir}/Zend/Ldap/*.md
+%exclude %{php_data_dir}/Zend/Ldap/composer.json
+
+%files Loader
+%defattr(644,root,root,755)
+%doc library/Zend/Loader/*.md
+%doc library/Zend/Loader/composer.json
+%{php_data_dir}/Zend/autoload.php
+%{php_data_dir}/Zend/Loader
+%exclude %{php_data_dir}/Zend/Loader/*.md
+%exclude %{php_data_dir}/Zend/Loader/composer.json
+
+%files Log
+%defattr(644,root,root,755)
+%doc library/Zend/Log/*.md
+%doc library/Zend/Log/composer.json
+%{php_data_dir}/Zend/Log
+%exclude %{php_data_dir}/Zend/Log/*.md
+%exclude %{php_data_dir}/Zend/Log/composer.json
+
+%files Mail
+%defattr(644,root,root,755)
+%doc library/Zend/Mail/*.md
+%doc library/Zend/Mail/composer.json
+%{php_data_dir}/Zend/Mail
+%exclude %{php_data_dir}/Zend/Mail/*.md
+%exclude %{php_data_dir}/Zend/Mail/composer.json
+
+%files Math
+%defattr(644,root,root,755)
+%doc library/Zend/Math/*.md
+%doc library/Zend/Math/composer.json
+%{php_data_dir}/Zend/Math
+%exclude %{php_data_dir}/Zend/Math/*.md
+%exclude %{php_data_dir}/Zend/Math/composer.json
+
+%files Memory
+%defattr(644,root,root,755)
+%doc library/Zend/Memory/*.md
+%doc library/Zend/Memory/composer.json
+%{php_data_dir}/Zend/Memory
+%exclude %{php_data_dir}/Zend/Memory/*.md
+%exclude %{php_data_dir}/Zend/Memory/composer.json
+
+%files Mime
+%defattr(644,root,root,755)
+%doc library/Zend/Mime/*.md
+%doc library/Zend/Mime/composer.json
+%{php_data_dir}/Zend/Mime
+%exclude %{php_data_dir}/Zend/Mime/*.md
+%exclude %{php_data_dir}/Zend/Mime/composer.json
+
+%files ModuleManager
+%defattr(644,root,root,755)
+%doc library/Zend/ModuleManager/*.md
+%doc library/Zend/ModuleManager/composer.json
+%{php_data_dir}/Zend/ModuleManager
+%exclude %{php_data_dir}/Zend/ModuleManager/*.md
+%exclude %{php_data_dir}/Zend/ModuleManager/composer.json
+
+%files Mvc
+%defattr(644,root,root,755)
+%doc library/Zend/Mvc/*.md
+%doc library/Zend/Mvc/composer.json
+%{php_data_dir}/Zend/Mvc
+%exclude %{php_data_dir}/Zend/Mvc/*.md
+%exclude %{php_data_dir}/Zend/Mvc/composer.json
+
+%files Navigation
+%defattr(644,root,root,755)
+%doc library/Zend/Navigation/*.md
+%doc library/Zend/Navigation/composer.json
+%{php_data_dir}/Zend/Navigation
+%exclude %{php_data_dir}/Zend/Navigation/*.md
+%exclude %{php_data_dir}/Zend/Navigation/composer.json
+
+%files Paginator
+%defattr(644,root,root,755)
+%doc library/Zend/Paginator/*.md
+%doc library/Zend/Paginator/composer.json
+%{php_data_dir}/Zend/Paginator
+%exclude %{php_data_dir}/Zend/Paginator/*.md
+%exclude %{php_data_dir}/Zend/Paginator/composer.json
+
+%files Permissions-Acl
+%defattr(644,root,root,755)
+%doc library/Zend/Permissions/Acl/*.md
+%doc library/Zend/Permissions/Acl/composer.json
+%dir %{php_data_dir}/Zend/Permissions
+%{php_data_dir}/Zend/Permissions/Acl
+%exclude %{php_data_dir}/Zend/Permissions/Acl/*.md
+%exclude %{php_data_dir}/Zend/Permissions/Acl/composer.json
+
+%files Permissions-Rbac
+%defattr(644,root,root,755)
+%doc library/Zend/Permissions/Rbac/*.md
+%doc library/Zend/Permissions/Rbac/composer.json
+%dir %{php_data_dir}/Zend/Permissions
+%{php_data_dir}/Zend/Permissions/Rbac
+%exclude %{php_data_dir}/Zend/Permissions/Rbac/*.md
+%exclude %{php_data_dir}/Zend/Permissions/Rbac/composer.json
+
+%files ProgressBar
+%defattr(644,root,root,755)
+%doc library/Zend/ProgressBar/*.md
+%doc library/Zend/ProgressBar/composer.json
+%{php_data_dir}/Zend/ProgressBar
+%exclude %{php_data_dir}/Zend/ProgressBar/*.md
+%exclude %{php_data_dir}/Zend/ProgressBar/composer.json
+
+%files Serializer
+%defattr(644,root,root,755)
+%doc library/Zend/Serializer/*.md
+%doc library/Zend/Serializer/composer.json
+%{php_data_dir}/Zend/Serializer
+%exclude %{php_data_dir}/Zend/Serializer/*.md
+%exclude %{php_data_dir}/Zend/Serializer/composer.json
+
+%files Server
+%defattr(644,root,root,755)
+%doc library/Zend/Server/*.md
+%doc library/Zend/Server/composer.json
+%exclude %{php_data_dir}/Zend/Server/*.md
+%exclude %{php_data_dir}/Zend/Server/composer.json
+
+%files ServiceManager
+%defattr(644,root,root,755)
+%doc library/Zend/ServiceManager/*.md
+%doc library/Zend/ServiceManager/composer.json
+%{php_data_dir}/Zend/ServiceManager
+%exclude %{php_data_dir}/Zend/ServiceManager/*.md
+%exclude %{php_data_dir}/Zend/ServiceManager/composer.json
+
+%files Session
+%defattr(644,root,root,755)
+%doc library/Zend/Session/*.md
+%doc library/Zend/Session/composer.json
+%{php_data_dir}/Zend/Session
+%exclude %{php_data_dir}/Zend/Session/*.md
+%exclude %{php_data_dir}/Zend/Session/composer.json
+
+%files Soap
+%defattr(644,root,root,755)
+%doc library/Zend/Soap/*.md
+%doc library/Zend/Soap/composer.json
+%{php_data_dir}/Zend/Soap
+%exclude %{php_data_dir}/Zend/Soap/*.md
+%exclude %{php_data_dir}/Zend/Soap/composer.json
+
+%files Stdlib
+%defattr(644,root,root,755)
+%doc library/Zend/Stdlib/*.md
+%doc library/Zend/Stdlib/composer.json
+%{php_data_dir}/Zend/Stdlib
+%exclude %{php_data_dir}/Zend/Stdlib/*.md
+%exclude %{php_data_dir}/Zend/Stdlib/composer.json
+
+%files Tag
+%defattr(644,root,root,755)
+%doc library/Zend/Tag/*.md
+%doc library/Zend/Tag/composer.json
+%{php_data_dir}/Zend/Tag
+%exclude %{php_data_dir}/Zend/Tag/*.md
+%exclude %{php_data_dir}/Zend/Tag/composer.json
+
+%files Test
+%defattr(644,root,root,755)
+%doc library/Zend/Test/*.md
+%doc library/Zend/Test/composer.json
+%{php_data_dir}/Zend/Test
+%exclude %{php_data_dir}/Zend/Test/*.md
+%exclude %{php_data_dir}/Zend/Test/composer.json
+
+%files Text
+%defattr(644,root,root,755)
+%doc library/Zend/Text/*.md
+%doc library/Zend/Text/composer.json
+%{php_data_dir}/Zend/Text
+%exclude %{php_data_dir}/Zend/Text/*.md
+%exclude %{php_data_dir}/Zend/Text/composer.json
+
+%files Uri
+%defattr(644,root,root,755)
+%doc library/Zend/Uri/*.md
+%doc library/Zend/Uri/composer.json
+%{php_data_dir}/Zend/Uri
+%exclude %{php_data_dir}/Zend/Uri/*.md
+%exclude %{php_data_dir}/Zend/Uri/composer.json
+
+%files Validator
+%defattr(644,root,root,755)
+%doc library/Zend/Validator/*.md
+%doc library/Zend/Validator/composer.json
+%{php_data_dir}/Zend/Validator
+%exclude %{php_data_dir}/Zend/Validator/*.md
+%exclude %{php_data_dir}/Zend/Validator/composer.json
+
+%files Version
+%defattr(644,root,root,755)
+%doc library/Zend/Version/*.md
+%doc library/Zend/Version/composer.json
+%{php_data_dir}/Zend/Version
+%exclude %{php_data_dir}/Zend/Version/*.md
+%exclude %{php_data_dir}/Zend/Version/composer.json
+
+%files View
+%defattr(644,root,root,755)
+%doc library/Zend/View/*.md
+%doc library/Zend/View/composer.json
+%{php_data_dir}/Zend/View
+%exclude %{php_data_dir}/Zend/View/*.md
+%exclude %{php_data_dir}/Zend/View/composer.json
+
+%files XmlRpc
+%defattr(644,root,root,755)
+%doc library/Zend/XmlRpc/*.md
+%doc library/Zend/XmlRpc/composer.json
+%{php_data_dir}/Zend/XmlRpc
+%exclude %{php_data_dir}/Zend/XmlRpc/*.md
+%exclude %{php_data_dir}/Zend/XmlRpc/composer.json
+
+%files ZendXml
+%defattr(644,root,root,755)
+%{php_data_dir}/ZendXml
diff --git a/autoload.php b/autoload.php
new file mode 100644
index 0000000..b11dd51
--- /dev/null
+++ b/autoload.php
@@ -0,0 +1,15 @@
+<?php
+/*
+Simple autoloader for Zend Framework
+Inspired from https://github.com/zendframework/ZendSkeletonApplication
+
+Set autoregister_zf for Zend Framework
+Set fallback_autoloader for dependencies which are PSR-0 compliant
+*/
+require_once __DIR__ . '/Loader/AutoloaderFactory.php';
+Zend\Loader\AutoloaderFactory::factory(array(
+ 'Zend\Loader\StandardAutoloader' => array(
+ 'fallback_autoloader' => true,
+ 'autoregister_zf' => true
+ )
+));
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-ZendFramework.git/commitdiff/fa357215778c4f8b024e5b45ad46e52093aae692
More information about the pld-cvs-commit
mailing list