summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-06-29 14:17:22 +0200
committerRemi Collet <fedora@famillecollet.com>2016-06-29 14:17:22 +0200
commitfe9eb19c7a5b2d97fb6fbd73160e4ebb7f7200fb (patch)
tree62f733edc31424aca8165cd394a5cf81e6ce35a6
parenta7b5a55972d6889b05810ee01285594aacb5eec7 (diff)
php-zendframework: 3.0.0
-rw-r--r--composer.json85
-rw-r--r--php-zendframework.spec397
2 files changed, 292 insertions, 190 deletions
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..d1aa334
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,85 @@
+{
+ "name": "zendframework/zendframework",
+ "description": "Zend Framework",
+ "type": "metapackage",
+ "keywords": [
+ "framework",
+ "zf2",
+ "zf3"
+ ],
+ "homepage": "http://framework.zend.com/",
+ "license": "BSD-3-Clause",
+ "require": {
+ "php": "^5.6 || ^7.0",
+ "zendframework/zend-authentication": "^2.5.3",
+ "zendframework/zend-barcode": "^2.6",
+ "zendframework/zend-cache": "^2.7.1",
+ "zendframework/zend-captcha": "^2.6",
+ "zendframework/zend-code": "^3.0.2",
+ "zendframework/zend-config": "^2.6",
+ "zendframework/zend-console": "^2.6",
+ "zendframework/zend-crypt": "^3.0",
+ "zendframework/zend-db": "^2.8.1",
+ "zendframework/zend-debug": "^2.5.1",
+ "zendframework/zend-di": "^2.6.1",
+ "zendframework/zend-diactoros": "^1.3.5",
+ "zendframework/zend-dom": "^2.6",
+ "zendframework/zend-escaper": "^2.5.1",
+ "zendframework/zend-eventmanager": "^3.0.1",
+ "zendframework/zend-feed": "^2.7",
+ "zendframework/zend-file": "^2.7",
+ "zendframework/zend-filter": "^2.7.1",
+ "zendframework/zend-form": "^2.9",
+ "zendframework/zend-http": "^2.5.4",
+ "zendframework/zend-hydrator": "^2.2.1",
+ "zendframework/zend-i18n": "^2.7.3",
+ "zendframework/zend-i18n-resources": "^2.5.2",
+ "zendframework/zend-inputfilter": "^2.7.2",
+ "zendframework/zend-json": "^3.0",
+ "zendframework/zend-json-server": "^3.0",
+ "zendframework/zend-loader": "^2.5.1",
+ "zendframework/zend-log": "^2.9",
+ "zendframework/zend-mail": "^2.7.1",
+ "zendframework/zend-math": "^3.0",
+ "zendframework/zend-memory": "^2.5.2",
+ "zendframework/zend-mime": "^2.6",
+ "zendframework/zend-modulemanager": "^2.7.2",
+ "zendframework/zend-mvc": "^3.0.1",
+ "zendframework/zend-mvc-console": "^1.1.9",
+ "zendframework/zend-mvc-form": "^1.0",
+ "zendframework/zend-mvc-i18n": "^1.0",
+ "zendframework/zend-mvc-plugins": "^1.0.1",
+ "zendframework/zend-navigation": "^2.8.1",
+ "zendframework/zend-paginator": "^2.7",
+ "zendframework/zend-permissions-acl": "^2.6",
+ "zendframework/zend-permissions-rbac": "^2.5.1",
+ "zendframework/zend-progressbar": "^2.5.2",
+ "zendframework/zend-psr7bridge": "^0.2.2",
+ "zendframework/zend-serializer": "^2.8",
+ "zendframework/zend-server": "^2.7.0",
+ "zendframework/zend-servicemanager": "^3.1",
+ "zendframework/zend-servicemanager-di": "^1.1",
+ "zendframework/zend-session": "^2.7.1",
+ "zendframework/zend-soap": "^2.6",
+ "zendframework/zend-stdlib": "^3.0.1",
+ "zendframework/zend-stratigility": "^1.2.1",
+ "zendframework/zend-tag": "^2.6.1",
+ "zendframework/zend-test": "^3.0.1",
+ "zendframework/zend-text": "^2.6",
+ "zendframework/zend-uri": "^2.5.2",
+ "zendframework/zend-validator": "^2.8",
+ "zendframework/zend-view": "^2.8",
+ "zendframework/zend-xml2json": "^3.0",
+ "zendframework/zend-xmlrpc": "^2.6",
+ "zendframework/zendxml": "^1.0.2"
+ },
+ "suggest": {
+ "zendframework/zend-ldap": "zend-ldap component ^2.7.1, if you need LDAP features"
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.0-dev",
+ "dev-develop": "3.1-dev"
+ }
+ }
+}
diff --git a/php-zendframework.spec b/php-zendframework.spec
index be56b86..5fc9ded 100644
--- a/php-zendframework.spec
+++ b/php-zendframework.spec
@@ -6,192 +6,216 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit aeb432d59410cd9a4a68166738745387a9bf49ab
+%global gh_commit 7fb89c778508c3969b04d478c6f02a5a54e3bbd2
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner zendframework
-%global gh_project zf2
+%global gh_project zendframework
%global php_home %{_datadir}/php
-%global minver 2.5
-%global maxver 3
-
Name: php-%{gh_owner}
-Version: 2.5.3
-Release: 3%{?dist}
+Version: 3.0.0
+Release: 1%{?dist}
Summary: Zend Framework
Group: Development/Libraries
License: BSD
-URL: http://framework.zend.com/
+URL: https://framework.zend.com/
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz
-# Use our Autoloader
-Patch0: %{name}-autoload.patch
-
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
# From composer, "require": {
-# "php": "^5.5 || ^7.0",
-# "zendframework/zend-authentication": "^2.5",
-# "zendframework/zend-barcode": "^2.5",
-# "zendframework/zend-cache": "^2.5",
-# "zendframework/zend-captcha": "^2.5",
-# "zendframework/zend-code": "^2.5",
-# "zendframework/zend-config": "^2.5",
-# "zendframework/zend-console": "^2.5",
-# "zendframework/zend-crypt": "^2.5",
-# "zendframework/zend-db": "^2.5",
-# "zendframework/zend-debug": "^2.5",
-# "zendframework/zend-di": "^2.5",
-# "zendframework/zend-dom": "^2.5",
-# "zendframework/zend-escaper": "^2.5",
-# "zendframework/zend-eventmanager": "^2.5",
-# "zendframework/zend-feed": "^2.5",
-# "zendframework/zend-file": "^2.5",
-# "zendframework/zend-filter": "^2.5",
-# "zendframework/zend-form": "^2.5",
-# "zendframework/zend-http": "^2.5",
-# "zendframework/zend-i18n": "^2.5",
-# "zendframework/zend-i18n-resources": "^2.5",
-# "zendframework/zend-inputfilter": "^2.5",
-# "zendframework/zend-json": "^2.5",
-# "zendframework/zend-loader": "^2.5",
-# "zendframework/zend-log": "^2.5",
-# "zendframework/zend-mail": "^2.5",
-# "zendframework/zend-math": "^2.5",
-# "zendframework/zend-memory": "^2.5",
-# "zendframework/zend-mime": "^2.5",
-# "zendframework/zend-modulemanager": "^2.5",
-# "zendframework/zend-mvc": "^2.5",
-# "zendframework/zend-navigation": "^2.5",
-# "zendframework/zend-paginator": "^2.5",
-# "zendframework/zend-permissions-acl": "^2.5",
-# "zendframework/zend-permissions-rbac": "^2.5",
-# "zendframework/zend-progressbar": "^2.5",
-# "zendframework/zend-serializer": "^2.5",
-# "zendframework/zend-server": "^2.5",
-# "zendframework/zend-servicemanager": "^2.5",
-# "zendframework/zend-session": "^2.5",
-# "zendframework/zend-soap": "^2.5",
-# "zendframework/zend-stdlib": "^2.5",
-# "zendframework/zend-tag": "^2.5",
-# "zendframework/zend-test": "^2.5",
-# "zendframework/zend-text": "^2.5",
-# "zendframework/zend-uri": "^2.5",
-# "zendframework/zend-validator": "^2.5",
-# "zendframework/zend-version": "^2.5",
-# "zendframework/zend-view": "^2.5",
-# "zendframework/zend-xmlrpc": "^2.5",
-# "zendframework/zendxml": "^1.0.1"
-Requires: php(language) >= 5.5
-Requires: php-composer(%{gh_owner}/zend-authentication) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-authentication) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-barcode) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-barcode) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-cache) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-cache) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-captcha) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-captcha) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-code) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-code) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-config) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-config) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-console) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-console) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-crypt) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-crypt) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-db) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-db) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-debug) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-debug) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-di) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-di) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-dom) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-dom) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-escaper) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-escaper) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-eventmanager) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-eventmanager) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-feed) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-feed) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-file) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-file) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-filter) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-filter) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-form) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-form) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-http) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-http) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-i18n) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-i18n) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-i18n-resources) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-i18n-resources) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-inputfilter) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-inputfilter) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-json) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-json) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-loader) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-loader) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-log) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-log) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-mail) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-mail) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-math) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-math) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-memory) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-memory) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-mime) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-mime) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-modulemanager) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-modulemanager) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-mvc) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-mvc) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-navigation) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-navigation) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-paginator) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-paginator) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-permissions-acl) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-permissions-acl) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-permissions-rbac) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-permissions-rbac) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-progressbar) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-progressbar) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-serializer) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-serializer) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-server) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-server) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-servicemanager) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-servicemanager) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-session) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-session) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-soap) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-soap) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-stdlib) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-stdlib) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-tag) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-tag) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-test) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-test) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-text) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-text) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-uri) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-uri) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-validator) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-validator) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-version) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-version) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-view) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-view) < %{maxver}
-Requires: php-composer(%{gh_owner}/zend-xmlrpc) >= %{minver}
-Requires: php-composer(%{gh_owner}/zend-xmlrpc) < %{maxver}
-Requires: php-composer(%{gh_owner}/zendxml) >= 1.0.1
-Requires: php-composer(%{gh_owner}/zendxml) < 2
+# "php": "^5.6 || ^7.0",
+# "zendframework/zend-authentication": "^2.5.3",
+# "zendframework/zend-barcode": "^2.6",
+# "zendframework/zend-cache": "^2.7.1",
+# "zendframework/zend-captcha": "^2.6",
+# "zendframework/zend-code": "^3.0.2",
+# "zendframework/zend-config": "^2.6",
+# "zendframework/zend-console": "^2.6",
+# "zendframework/zend-crypt": "^3.0",
+# "zendframework/zend-db": "^2.8.1",
+# "zendframework/zend-debug": "^2.5.1",
+# "zendframework/zend-di": "^2.6.1",
+# "zendframework/zend-diactoros": "^1.3.5",
+# "zendframework/zend-dom": "^2.6",
+# "zendframework/zend-escaper": "^2.5.1",
+# "zendframework/zend-eventmanager": "^3.0.1",
+# "zendframework/zend-feed": "^2.7",
+# "zendframework/zend-file": "^2.7",
+# "zendframework/zend-filter": "^2.7.1",
+# "zendframework/zend-form": "^2.9",
+# "zendframework/zend-http": "^2.5.4",
+# "zendframework/zend-hydrator": "^2.2.1",
+# "zendframework/zend-i18n": "^2.7.3",
+# "zendframework/zend-i18n-resources": "^2.5.2",
+# "zendframework/zend-inputfilter": "^2.7.2",
+# "zendframework/zend-json": "^3.0",
+# "zendframework/zend-json-server": "^3.0",
+# "zendframework/zend-loader": "^2.5.1",
+# "zendframework/zend-log": "^2.9",
+# "zendframework/zend-mail": "^2.7.1",
+# "zendframework/zend-math": "^3.0",
+# "zendframework/zend-memory": "^2.5.2",
+# "zendframework/zend-mime": "^2.6",
+# "zendframework/zend-modulemanager": "^2.7.2",
+# "zendframework/zend-mvc": "^3.0.1",
+# "zendframework/zend-mvc-console": "^1.1.9",
+# "zendframework/zend-mvc-form": "^1.0",
+# "zendframework/zend-mvc-i18n": "^1.0",
+# "zendframework/zend-mvc-plugins": "^1.0.1",
+# "zendframework/zend-navigation": "^2.8.1",
+# "zendframework/zend-paginator": "^2.7",
+# "zendframework/zend-permissions-acl": "^2.6",
+# "zendframework/zend-permissions-rbac": "^2.5.1",
+# "zendframework/zend-progressbar": "^2.5.2",
+# "zendframework/zend-psr7bridge": "^0.2.2",
+# "zendframework/zend-serializer": "^2.8",
+# "zendframework/zend-server": "^2.7.0",
+# "zendframework/zend-servicemanager": "^3.1",
+# "zendframework/zend-servicemanager-di": "^1.1",
+# "zendframework/zend-session": "^2.7.1",
+# "zendframework/zend-soap": "^2.6",
+# "zendframework/zend-stdlib": "^3.0.1",
+# "zendframework/zend-stratigility": "^1.2.1",
+# "zendframework/zend-tag": "^2.6.1",
+# "zendframework/zend-test": "^3.0.1",
+# "zendframework/zend-text": "^2.6",
+# "zendframework/zend-uri": "^2.5.2",
+# "zendframework/zend-validator": "^2.8",
+# "zendframework/zend-view": "^2.8",
+# "zendframework/zend-xml2json": "^3.0",
+# "zendframework/zend-xmlrpc": "^2.6",
+# "zendframework/zendxml": "^1.0.2"
+Requires: php(language) >= 5.6
+Requires: php-composer(%{gh_owner}/zend-authentication) >= 2.5.3
+Requires: php-composer(%{gh_owner}/zend-authentication) < 3
+Requires: php-composer(%{gh_owner}/zend-barcode) >= 2.6
+Requires: php-composer(%{gh_owner}/zend-barcode) < 3
+Requires: php-composer(%{gh_owner}/zend-cache) >= 2.7.1
+Requires: php-composer(%{gh_owner}/zend-cache) < 3
+Requires: php-composer(%{gh_owner}/zend-captcha) >= 2.6
+Requires: php-composer(%{gh_owner}/zend-captcha) < 3
+Requires: php-composer(%{gh_owner}/zend-code) >= 3.0.2
+Requires: php-composer(%{gh_owner}/zend-code) < 4
+Requires: php-composer(%{gh_owner}/zend-config) >= 2.6
+Requires: php-composer(%{gh_owner}/zend-config) < 3
+Requires: php-composer(%{gh_owner}/zend-console) >= 2.6
+Requires: php-composer(%{gh_owner}/zend-console) < 3
+Requires: php-composer(%{gh_owner}/zend-crypt) >= 3.0
+Requires: php-composer(%{gh_owner}/zend-crypt) < 4
+Requires: php-composer(%{gh_owner}/zend-db) >= 2.8.1
+Requires: php-composer(%{gh_owner}/zend-db) < 3
+Requires: php-composer(%{gh_owner}/zend-debug) >= 2.5.1
+Requires: php-composer(%{gh_owner}/zend-debug) < 3
+Requires: php-composer(%{gh_owner}/zend-di) >= 2.6.1
+Requires: php-composer(%{gh_owner}/zend-di) < 3
+Requires: php-composer(%{gh_owner}/zend-diactoros) >= 1.3.5
+Requires: php-composer(%{gh_owner}/zend-diactoros) < 2
+Requires: php-composer(%{gh_owner}/zend-dom) >= 2.6
+Requires: php-composer(%{gh_owner}/zend-dom) < 3
+Requires: php-composer(%{gh_owner}/zend-escaper) >= 2.5.1
+Requires: php-composer(%{gh_owner}/zend-escaper) < 3
+Requires: php-composer(%{gh_owner}/zend-eventmanager) >= 3.0.1
+Requires: php-composer(%{gh_owner}/zend-eventmanager) < 4
+Requires: php-composer(%{gh_owner}/zend-feed) >= 2.7
+Requires: php-composer(%{gh_owner}/zend-feed) < 3
+Requires: php-composer(%{gh_owner}/zend-file) >= 2.7
+Requires: php-composer(%{gh_owner}/zend-file) < 3
+Requires: php-composer(%{gh_owner}/zend-filter) >= 2.7.1
+Requires: php-composer(%{gh_owner}/zend-filter) < 3
+Requires: php-composer(%{gh_owner}/zend-form) >= 2.9
+Requires: php-composer(%{gh_owner}/zend-form) < 3
+Requires: php-composer(%{gh_owner}/zend-http) >= 2.5.4
+Requires: php-composer(%{gh_owner}/zend-http) < 3
+Requires: php-composer(%{gh_owner}/zend-hydrator) >= 2.2.1
+Requires: php-composer(%{gh_owner}/zend-hydrator) < 3
+Requires: php-composer(%{gh_owner}/zend-i18n) >= 2.7.3
+Requires: php-composer(%{gh_owner}/zend-i18n) < 3
+Requires: php-composer(%{gh_owner}/zend-i18n-resources) >= 2.5.2
+Requires: php-composer(%{gh_owner}/zend-i18n-resources) < 3
+Requires: php-composer(%{gh_owner}/zend-inputfilter) >= 2.7.2
+Requires: php-composer(%{gh_owner}/zend-inputfilter) < 3
+Requires: php-composer(%{gh_owner}/zend-json) >= 3.0
+Requires: php-composer(%{gh_owner}/zend-json) < 4
+Requires: php-composer(%{gh_owner}/zend-json-server) >= 3.0
+Requires: php-composer(%{gh_owner}/zend-json-server) < 4
+Requires: php-composer(%{gh_owner}/zend-loader) >= 2.5.1
+Requires: php-composer(%{gh_owner}/zend-loader) < 3
+Requires: php-composer(%{gh_owner}/zend-log) >= 2.9
+Requires: php-composer(%{gh_owner}/zend-log) < 3
+Requires: php-composer(%{gh_owner}/zend-mail) >= 2.7.1
+Requires: php-composer(%{gh_owner}/zend-mail) < 3
+Requires: php-composer(%{gh_owner}/zend-math) >= 3.0
+Requires: php-composer(%{gh_owner}/zend-math) < 4
+Requires: php-composer(%{gh_owner}/zend-memory) >= 2.5.2
+Requires: php-composer(%{gh_owner}/zend-memory) < 3
+Requires: php-composer(%{gh_owner}/zend-mime) >= 2.6
+Requires: php-composer(%{gh_owner}/zend-mime) < 3
+Requires: php-composer(%{gh_owner}/zend-modulemanager) >= 2.7.2
+Requires: php-composer(%{gh_owner}/zend-modulemanager) < 3
+Requires: php-composer(%{gh_owner}/zend-mvc) >= 3.0.1
+Requires: php-composer(%{gh_owner}/zend-mvc) < 4
+Requires: php-composer(%{gh_owner}/zend-mvc-console) >= 1.1.9
+Requires: php-composer(%{gh_owner}/zend-mvc-console) < 2
+Requires: php-composer(%{gh_owner}/zend-mvc-form) >= 1.0
+Requires: php-composer(%{gh_owner}/zend-mvc-form) < 2
+Requires: php-composer(%{gh_owner}/zend-mvc-i18n) >= 1.0
+Requires: php-composer(%{gh_owner}/zend-mvc-i18n) < 2
+Requires: php-composer(%{gh_owner}/zend-mvc-plugins) >= 1.0.1
+Requires: php-composer(%{gh_owner}/zend-mvc-plugins) < 2
+Requires: php-composer(%{gh_owner}/zend-navigation) >= 2.8.1
+Requires: php-composer(%{gh_owner}/zend-navigation) < 3
+Requires: php-composer(%{gh_owner}/zend-paginator) >= 2.7
+Requires: php-composer(%{gh_owner}/zend-paginator) < 3
+Requires: php-composer(%{gh_owner}/zend-permissions-acl) >= 2.6
+Requires: php-composer(%{gh_owner}/zend-permissions-acl) < 3
+Requires: php-composer(%{gh_owner}/zend-permissions-rbac) >= 2.5.1
+Requires: php-composer(%{gh_owner}/zend-permissions-rbac) < 3
+Requires: php-composer(%{gh_owner}/zend-progressbar) >= 2.5.2
+Requires: php-composer(%{gh_owner}/zend-progressbar) < 3
+Requires: php-composer(%{gh_owner}/zend-psr7bridge) >= 0.2.2
+Requires: php-composer(%{gh_owner}/zend-psr7bridge) < 1
+Requires: php-composer(%{gh_owner}/zend-serializer) >= 2.8
+Requires: php-composer(%{gh_owner}/zend-serializer) < 3
+Requires: php-composer(%{gh_owner}/zend-server) >= 2.7
+Requires: php-composer(%{gh_owner}/zend-server) < 3
+Requires: php-composer(%{gh_owner}/zend-servicemanager) >= 3.1
+Requires: php-composer(%{gh_owner}/zend-servicemanager) < 4
+Requires: php-composer(%{gh_owner}/zend-servicemanager-di) >= 1.1
+Requires: php-composer(%{gh_owner}/zend-servicemanager-di) < 2
+Requires: php-composer(%{gh_owner}/zend-session) >= 2.7.1
+Requires: php-composer(%{gh_owner}/zend-session) < 3
+Requires: php-composer(%{gh_owner}/zend-soap) >= 2.6
+Requires: php-composer(%{gh_owner}/zend-soap) < 3
+Requires: php-composer(%{gh_owner}/zend-stdlib) >= 3.0.1
+Requires: php-composer(%{gh_owner}/zend-stdlib) < 4
+Requires: php-composer(%{gh_owner}/zend-stratigility) >= 1.2.1
+Requires: php-composer(%{gh_owner}/zend-stratigility) < 2
+Requires: php-composer(%{gh_owner}/zend-tag) >= 2.6.1
+Requires: php-composer(%{gh_owner}/zend-tag) < 3
+Requires: php-composer(%{gh_owner}/zend-test) >= 3.0.1
+Requires: php-composer(%{gh_owner}/zend-test) < 4
+Requires: php-composer(%{gh_owner}/zend-text) >= 2.6
+Requires: php-composer(%{gh_owner}/zend-text) < 3
+Requires: php-composer(%{gh_owner}/zend-uri) >= 2.5.2
+Requires: php-composer(%{gh_owner}/zend-uri) < 3
+Requires: php-composer(%{gh_owner}/zend-validator) >= 2.8
+Requires: php-composer(%{gh_owner}/zend-validator) < 3
+Requires: php-composer(%{gh_owner}/zend-view) >= 2.8
+Requires: php-composer(%{gh_owner}/zend-view) < 3
+Requires: php-composer(%{gh_owner}/zend-xml2json) >= 3.0
+Requires: php-composer(%{gh_owner}/zend-xml2json) < 4
+Requires: php-composer(%{gh_owner}/zend-xmlrpc) >= 2.6
+Requires: php-composer(%{gh_owner}/zend-xmlrpc) < 3
+Requires: php-composer(%{gh_owner}/zendxml) >= 1.0.2
+Requires: php-composer(%{gh_owner}/zendxml) < 2
# From composer, "suggest": {
-# "zendframework/zend-ldap": "zend-ldap component ^2.5, if you need LDAP features"
+# "zendframework/zend-ldap": "zend-ldap component ^2.7.1, if you need LDAP features"
%if 0%{?fedora} >= 21
-Suggests: php-composer(%{gh_owner}/zend-ldap) >= %{minver}
-Suggests: php-composer(%{gh_owner}/zend-ldap) < %{maxver}
+Suggests: php-composer(%{gh_owner}/zend-ldap) >= 2.7.1
+Suggests: php-composer(%{gh_owner}/zend-ldap) < 3
%endif
# From phpcompatinfo report for version 2.5.2
Requires: php-cli
@@ -206,8 +230,11 @@ Obsoletes: php-ZendFramework2 < 2.5
Obsoletes: php-ZendFramework2-common < 2.5
Provides: php-ZendFramework2 = %{version}
Provides: php-ZendFramework2-common = %{version}
+# Removed component
+Obsoletes: php-zendframework-zend-version < 2.5.2
+
# Composer
-Provides: php-composer(%{gh_owner}/%{gh_owner}) = %{version}
+Provides: php-composer(%{gh_owner}/%{gh_project}) = %{version}
%description
@@ -222,41 +249,31 @@ Documentation: https://zendframework.github.io/
%prep
%setup -q -n %{gh_project}-%{gh_commit}
-%patch0 -p0 -b .rpm
-
%build
# Empty build section, nothing required
%install
-rm -rf %{buildroot}
-
-# From composer.json, "bin": [
-# "bin/classmap_generator.php",
-# "bin/pluginmap_generator.php",
-# "bin/templatemap_generator.php"
-
-for i in bin/classmap_generator.php bin/pluginmap_generator.php
-do install -Dpm 755 $i %{buildroot}%{_bindir}/zf_$(basename $i .php)
-done
-
-
-%clean
-rm -rf %{buildroot}
-
+# Nothing
%files
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE.md
-%doc CHANGELOG.md CONTRIBUTING.md README.md
+%doc CHANGELOG.md CONDUCT.md CONTRIBUTING.md README.md
%doc composer.json
-%{_bindir}/zf_classmap_generator
-%{_bindir}/zf_pluginmap_generator
%changelog
+* Wed Jun 29 2016 Remi Collet <remi@fedoraproject.org> - 3.0.0-1
+- Zend Framework 3
+- drop dependency on zend-version
+- add dependencies on zend-diactoros, zend-hydrator,
+ zend-json-server, zend-mvc-console, zend-mvc-form,
+ zend-mvc-i18n, zend-mvc-plugins, zend-psr7bridge,
+ zend-servicemanager-di, zend-stratigility, zend-xml2json
+
* Wed Jun 22 2016 Remi Collet <remi@fedoraproject.org> - 2.5.3-3
- drop zf_templatemap_generator command (moved in zend-view)