%define php_name ZendFramework #define posttag .PL1 Summary: Leading open-source PHP framework Name: php-ZendFramework Version: 1.11.12 Release: 1%{?posttag}%{?dist} License: BSD Group: Development/Libraries Source0: http://framework.zend.com/releases/%{php_name}-%{version}%{?posttag}/%{php_name}-%{version}%{?posttag}.tar.gz Source1: README.fedora URL: http://framework.zend.com/ BuildArch: noarch Requires: php >= 5.2.4 Requires: php-bcmath Requires: php-ctype Requires: php-curl Requires: php-dom Requires: php-hash Requires: php-iconv Requires: php-json Requires: php-pcre Requires: php-posix Requires: php-reflection Requires: php-session Requires: php-simplexml Requires: php-spl Requires: php-zlib Requires: php-pdo Requires: php-xml # missing for Http_Client # Requires: php-mime_magic # Needed after the removal of the tests subpackage Provides: %{name}-tests = %{version}-%{release} Obsoletes: %{name}-tests < 1.9.6-2 %description Extending the art & spirit of PHP, Zend Framework is based on simplicity, object-oriented best practices, corporate friendly licensing, and a rigorously tested agile code base. Zend Framework is focused on building more secure, reliable, and modern Web 2.0 applications & web services, and consuming widely available APIs from leading vendors like Google, Amazon, Yahoo!, Flickr, as well as API providers and catalogers like StrikeIron and ProgrammableWeb. %package demos Summary: Demos for the Zend Framework Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description demos This package includes Zend Framework demos for the Feeds, Gdata, Mail, OpenId, Pdf, Search-Lucene and Services sub packages. %package extras Summary: Zend Framework Extras (ZendX) Group: Development/Libraries Requires: %{name} = %{version}-%{release} Provides: %{name}-ZendX = %{version}-%{release} %description extras This package includes the ZendX libraries. %package Auth-Adapter-Ldap Summary: Zend Framework LDAP Authentication Adapter Group: Development/Libraries Requires: %{name}-Ldap = %{version}-%{release} %description Auth-Adapter-Ldap This package contains the authentication adapter needed to operate against LDAP directories. %package Cache-Backend-Apc Summary: Zend Framework APC cache backend Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: php-pecl-apc %description Cache-Backend-Apc This package contains the backend for Zend_Cache to store and retrieve data via APC. %package Cache-Backend-Memcached Summary: Zend Framework memcache cache backend Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: php-pecl-memcache %description Cache-Backend-Memcached This package contains the back end for Zend_Cache to store and retrieve data via memcache. # %package Cache-Backend-Sqlite # Summary: Zend Framework sqlite back end # Group: Development/Libraries # Requires: %{name} = %{version}-%{release} # Requires: php-sqlite # Not available in Fedora's PHP # %description Cache-Backend-Sqlite # This package contains the back end for Zend_Cache to store and retrieve data # via sqlite databases. %package Captcha Summary: Zend Framework CAPTCHA component Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: php-gd %description Captcha This package contains the Zend Framework CAPTCHA extension. %package Dojo Summary: Zend Framework Dojo Toolkit integration component Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: dojo %description Dojo This package contains the Zend Framework Dojo Toolkit component. %package Db-Adapter-Mysqli Summary: Zend Framework database adapter for mysqli Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: php-mysqli %description Db-Adapter-Mysqli This package contains the files for Zend Framework necessary to connect to a MySQL server via mysqli connector. # %package Db-Adapter-Db2 # Summary: Zend Framework database adapter for DB2 # Group: Development/Libraries # Requires: %{name} = %{version}-%{release} # Requires: php-ibm_db2 # Not available in Fedora's PHP # %description Db-Adapter-Db2 # This package contains the files for Zend Framework necessary to connect to an # IBM DB2 database. %package Db-Adapter-Firebird Summary: Zend Framework database adapter for InterBase Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: php-interbase %description Db-Adapter-Firebird This package contains the files for Zend Framework necessary to connect to a Firebird/InterBase database. # %package Db-Adapter-Oracle # Summary: Zend Framework database adapter for Oracle # Group: Development/Libraries # Requires: %{name} = %{version}-%{release} # Requires: php-oci8 # Not available in Fedora's PHP # %description Db-Adapter-Oracle # This package contains the files for Zend Framework necessary to connect to an # Oracle database. %package Feed Summary: Live syndication feeds helper Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: php-mbstring %description Feed This component provides a very simple way to work with live syndicated feeds. * consumes RSS and Atom feeds * provides utilities for discovering feed links * imports feeds from multiple sources * providers feed building and posting operations %package Gdata Summary: Google Data APIs Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description Gdata The Google Data APIs provide read/write access to such services hosted at google.com as Spreadsheets, Calendar, Blogger, and CodeSearch. * supports both authentication mechanisms of Google Data servers * supports queries and posting changes against Google Data services * supports service-specific element types in an object-oriented interface * matches functionality and design of other Google Data API clients %package Ldap Summary: Basic LDAP operations API Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: php-ldap %description Ldap Zend_Ldap is a class for performing LDAP operations including but not limited to binding, searching and modifying entries in an LDAP directory. %package Pdf Summary: PDF file handling helper Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: php-gd %description Pdf Portable Document Format (PDF) from Adobe is the de facto standard for cross-platform rich documents. Now, PHP applications can create or read PDF documents on the fly, without the need to call utilities from the shell, depend on PHP extensions, or pay licensing fees. Zend_Pdf can even modify existing PDF documents. * supports Adobe PDF file format * parses PDF structure and provides access to elements * creates or modifies PDF documents * utilizes memory efficiently %package Search-Lucene Summary: Apache Lucene engine PHP port Group: Development/Libraries Requires: %{name} = %{version}-%{release} # php-pecl-bitset is not available but this is an optional requirement # Requires: php-bitset %description Search-Lucene The Apache Lucene engine is a powerful, feature-rich Java search engine that is flexible about document storage and supports many complex query types. Zend_Search_Lucene is a port of this engine written entirely in PHP 5. * allows PHP-powered websites to leverage powerful search capabilities without the need for web services or Java * provides binary compatibility with Apache Lucene * matches Apache Lucene in performance %package Services Summary: Web service APIs for a number of providers Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: php-mcrypt Requires: php-soap %description Services This package contains web service client APIs for the following services: - Akismet - Amazon (including Ec2, S3) - Audioscrobbler - del.icio.us - Developer Garden - eBay - Flickr - LiveDocx - Nirvanix - ReCaptcha - Simpy - SlideShare - StrikeIron - Technorati - Twitter - Various URL Shortener services - Windows Azure - Yahoo! %package Soap Summary: SOAP web services server part helper Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: php-soap %description Soap Zend_Soap_Server class is intended to simplify Web Services server part development for PHP programmers. It may be used in WSDL or non-WSDL mode, and using classes or functions to define Web Service API. When Zend_Soap_Server component works in the WSDL mode, it uses already prepared WSDL document to define server object behavior and transport layer options. WSDL document may be auto-generated with functionality provided by Zend_Soap_AutoDiscovery component or should be constructed manually using Zend_Soap_Wsdl class or any other XML generating tool. If the non-WSDL mode is used, then all protocol options have to be set using options mechanism. %prep %setup -qn %{php_name}-%{version}%{?posttag} cp %{SOURCE1} . %build find . -type f -perm /111 \ -fprint executables -exec %{__chmod} -x '{}' \; >/dev/null find . -type f -name \*.sh \ -fprint valid_executables -exec %{__chmod} +x '{}' \; >/dev/null cat executables valid_executables|sort|uniq -u > invalid_executables %install mkdir -p $RPM_BUILD_ROOT%{_datadir}/php cp -pr library/Zend $RPM_BUILD_ROOT%{_datadir}/php cp -pr demos/Zend $RPM_BUILD_ROOT%{_datadir}/php/Zend/demos # ZendX cd extras cp -pr library/ZendX $RPM_BUILD_ROOT%{_datadir}/php cd .. cp -pr bin/zf.{php,sh} \ $RPM_BUILD_ROOT%{_datadir}/php/Zend mkdir -p $RPM_BUILD_ROOT%{_bindir} ln -s %{_datadir}/php/Zend/zf.sh \ $RPM_BUILD_ROOT%{_bindir}/zf %clean %{__rm} -rf $RPM_BUILD_ROOT %files %doc LICENSE.txt INSTALL.txt README.txt README.fedora %{_bindir}/zf # we list all files explicitly to find out what's new in future releases more # easily %dir %{_datadir}/php/Zend %{_datadir}/php/Zend/zf.php %{_datadir}/php/Zend/zf.sh %{_datadir}/php/Zend/Acl %{_datadir}/php/Zend/Acl.php %{_datadir}/php/Zend/Amf %{_datadir}/php/Zend/Application %{_datadir}/php/Zend/Application.php %{_datadir}/php/Zend/Auth %exclude %{_datadir}/php/Zend/Auth/Adapter/Ldap.php %{_datadir}/php/Zend/Auth.php %{_datadir}/php/Zend/Barcode %{_datadir}/php/Zend/Barcode.php %{_datadir}/php/Zend/Cache %exclude %{_datadir}/php/Zend/Cache/Backend/Apc.php %exclude %{_datadir}/php/Zend/Cache/Backend/Memcached.php %{_datadir}/php/Zend/Cache.php %{_datadir}/php/Zend/Cloud %{_datadir}/php/Zend/CodeGenerator %{_datadir}/php/Zend/Config %{_datadir}/php/Zend/Config.php %{_datadir}/php/Zend/Console %{_datadir}/php/Zend/Controller %{_datadir}/php/Zend/Crypt %{_datadir}/php/Zend/Crypt.php %{_datadir}/php/Zend/Currency %{_datadir}/php/Zend/Currency.php %{_datadir}/php/Zend/Date %{_datadir}/php/Zend/Date.php %{_datadir}/php/Zend/Db %exclude %{_datadir}/php/Zend/Db/Adapter/Db2.php %exclude %{_datadir}/php/Zend/Db/Adapter/Db2 %exclude %{_datadir}/php/Zend/Db/Statement/Db2.php %exclude %{_datadir}/php/Zend/Db/Statement/Db2 %exclude %{_datadir}/php/Zend/Db/Adapter/Mysqli.php %exclude %{_datadir}/php/Zend/Db/Adapter/Mysqli %exclude %{_datadir}/php/Zend/Db/Statement/Mysqli.php %exclude %{_datadir}/php/Zend/Db/Statement/Mysqli %exclude %{_datadir}/php/Zend/Db/Adapter/Oracle.php %exclude %{_datadir}/php/Zend/Db/Adapter/Oracle %exclude %{_datadir}/php/Zend/Db/Statement/Oracle.php %exclude %{_datadir}/php/Zend/Db/Statement/Oracle %{_datadir}/php/Zend/Db.php %{_datadir}/php/Zend/Debug.php %{_datadir}/php/Zend/Dom %{_datadir}/php/Zend/Exception.php %{_datadir}/php/Zend/File %{_datadir}/php/Zend/Filter %{_datadir}/php/Zend/Filter.php %{_datadir}/php/Zend/Form %{_datadir}/php/Zend/Form.php %{_datadir}/php/Zend/Http %{_datadir}/php/Zend/InfoCard %{_datadir}/php/Zend/InfoCard.php %{_datadir}/php/Zend/Json %{_datadir}/php/Zend/Json.php %{_datadir}/php/Zend/Layout %{_datadir}/php/Zend/Layout.php %{_datadir}/php/Zend/Loader %{_datadir}/php/Zend/Loader.php %{_datadir}/php/Zend/Locale %{_datadir}/php/Zend/Locale.php %{_datadir}/php/Zend/Log %{_datadir}/php/Zend/Log.php %{_datadir}/php/Zend/Mail %{_datadir}/php/Zend/Mail.php %{_datadir}/php/Zend/Markup %{_datadir}/php/Zend/Markup.php %{_datadir}/php/Zend/Measure %{_datadir}/php/Zend/Memory %{_datadir}/php/Zend/Memory.php %{_datadir}/php/Zend/Mime %{_datadir}/php/Zend/Mime.php %{_datadir}/php/Zend/Navigation %{_datadir}/php/Zend/Navigation.php %{_datadir}/php/Zend/Oauth %{_datadir}/php/Zend/Oauth.php %{_datadir}/php/Zend/OpenId %{_datadir}/php/Zend/OpenId.php %{_datadir}/php/Zend/Queue.php %{_datadir}/php/Zend/Queue %{_datadir}/php/Zend/Paginator %{_datadir}/php/Zend/Paginator.php %{_datadir}/php/Zend/ProgressBar %{_datadir}/php/Zend/ProgressBar.php %{_datadir}/php/Zend/Reflection %{_datadir}/php/Zend/Registry.php %{_datadir}/php/Zend/Rest %{_datadir}/php/Zend/Server %{_datadir}/php/Zend/Service %exclude %{_datadir}/php/Zend/Service/Akismet.php %exclude %{_datadir}/php/Zend/Service/Amazon.php %exclude %{_datadir}/php/Zend/Service/Amazon %exclude %{_datadir}/php/Zend/Service/Audioscrobbler.php %exclude %{_datadir}/php/Zend/Service/Delicious.php %exclude %{_datadir}/php/Zend/Service/Delicious %exclude %{_datadir}/php/Zend/Service/Flickr.php %exclude %{_datadir}/php/Zend/Service/Flickr %exclude %{_datadir}/php/Zend/Service/Nirvanix.php %exclude %{_datadir}/php/Zend/Service/Nirvanix %exclude %{_datadir}/php/Zend/Service/ReCaptcha.php %exclude %{_datadir}/php/Zend/Service/ReCaptcha %exclude %{_datadir}/php/Zend/Service/Simpy.php %exclude %{_datadir}/php/Zend/Service/Simpy %exclude %{_datadir}/php/Zend/Service/SlideShare.php %exclude %{_datadir}/php/Zend/Service/SlideShare %exclude %{_datadir}/php/Zend/Service/StrikeIron.php %exclude %{_datadir}/php/Zend/Service/StrikeIron %exclude %{_datadir}/php/Zend/Service/Technorati.php %exclude %{_datadir}/php/Zend/Service/Technorati %exclude %{_datadir}/php/Zend/Service/Yahoo.php %exclude %{_datadir}/php/Zend/Service/Yahoo %{_datadir}/php/Zend/Serializer %{_datadir}/php/Zend/Serializer.php %{_datadir}/php/Zend/Session %{_datadir}/php/Zend/Session.php %{_datadir}/php/Zend/Tag %{_datadir}/php/Zend/Test %{_datadir}/php/Zend/Text %{_datadir}/php/Zend/TimeSync %{_datadir}/php/Zend/TimeSync.php %{_datadir}/php/Zend/Tool %{_datadir}/php/Zend/Translate %{_datadir}/php/Zend/Translate.php %{_datadir}/php/Zend/Uri %{_datadir}/php/Zend/Uri.php %{_datadir}/php/Zend/Validate %{_datadir}/php/Zend/Validate.php %{_datadir}/php/Zend/Version.php %{_datadir}/php/Zend/View %{_datadir}/php/Zend/View.php %{_datadir}/php/Zend/Wildfire %{_datadir}/php/Zend/XmlRpc %files demos %{_datadir}/php/Zend/demos %doc LICENSE.txt %files extras %{_datadir}/php/ZendX %exclude %{_datadir}/php/ZendX/Db %doc LICENSE.txt %files Auth-Adapter-Ldap %{_datadir}/php/Zend/Auth/Adapter/Ldap.php %doc LICENSE.txt %files Cache-Backend-Apc %{_datadir}/php/Zend/Cache/Backend/Apc.php %doc LICENSE.txt %files Cache-Backend-Memcached %{_datadir}/php/Zend/Cache/Backend/Memcached.php %doc LICENSE.txt %files Captcha %{_datadir}/php/Zend/Captcha %doc LICENSE.txt %files Db-Adapter-Mysqli %{_datadir}/php/Zend/Db/Adapter/Mysqli.php %{_datadir}/php/Zend/Db/Adapter/Mysqli %{_datadir}/php/Zend/Db/Statement/Mysqli.php %{_datadir}/php/Zend/Db/Statement/Mysqli %doc LICENSE.txt # php-ibm_db2 not available for Fedora # %files Db-Adapter-Db2 # %{_datadir}/php/Zend/Db/Adapter/Db2.php # %{_datadir}/php/Zend/Db/Adapter/Db2 # %{_datadir}/php/Zend/Db/Statement/Db2.php # %{_datadir}/php/Zend/Db/Statement/Db2 # %doc LICENSE.txt %files Db-Adapter-Firebird %{_datadir}/php/ZendX/Db/Adapter/Firebird.php %{_datadir}/php/ZendX/Db/Adapter/Firebird %{_datadir}/php/ZendX/Db/Statement/Firebird.php %{_datadir}/php/ZendX/Db/Statement/Firebird %doc LICENSE.txt # php-oci8 not available for Fedora # %files Db-Adapter-Oracle # %{_datadir}/php/Zend/Db/Adapter/Oracle.php # %{_datadir}/php/Zend/Db/Adapter/Oracle # %{_datadir}/php/Zend/Db/Statement/Oracle.php # %{_datadir}/php/Zend/Db/Statement/Oracle # %doc LICENSE.txt %files Dojo %{_datadir}/php/Zend/Dojo.php %{_datadir}/php/Zend/Dojo %doc LICENSE.txt %files Feed %{_datadir}/php/Zend/Feed.php %{_datadir}/php/Zend/Feed %doc LICENSE.txt %files Gdata %{_datadir}/php/Zend/Gdata.php %{_datadir}/php/Zend/Gdata %doc LICENSE.txt %files Ldap %{_datadir}/php/Zend/Ldap.php %{_datadir}/php/Zend/Ldap %doc LICENSE.txt %files Pdf %{_datadir}/php/Zend/Pdf.php %{_datadir}/php/Zend/Pdf %doc LICENSE.txt %files Search-Lucene %{_datadir}/php/Zend/Search %doc LICENSE.txt %files Services %{_datadir}/php/Zend/Service/Akismet.php %{_datadir}/php/Zend/Service/Amazon.php %{_datadir}/php/Zend/Service/Amazon %{_datadir}/php/Zend/Service/Audioscrobbler.php %{_datadir}/php/Zend/Service/Delicious.php %{_datadir}/php/Zend/Service/Delicious %{_datadir}/php/Zend/Service/Flickr.php %{_datadir}/php/Zend/Service/Flickr %{_datadir}/php/Zend/Service/Nirvanix.php %{_datadir}/php/Zend/Service/Nirvanix %{_datadir}/php/Zend/Service/ReCaptcha.php %{_datadir}/php/Zend/Service/ReCaptcha %{_datadir}/php/Zend/Service/Simpy.php %{_datadir}/php/Zend/Service/Simpy %{_datadir}/php/Zend/Service/SlideShare.php %{_datadir}/php/Zend/Service/SlideShare %{_datadir}/php/Zend/Service/StrikeIron.php %{_datadir}/php/Zend/Service/StrikeIron %{_datadir}/php/Zend/Service/Technorati.php %{_datadir}/php/Zend/Service/Technorati %{_datadir}/php/Zend/Service/Yahoo.php %{_datadir}/php/Zend/Service/Yahoo %doc LICENSE.txt %files Soap %{_datadir}/php/Zend/Soap %doc LICENSE.txt %changelog * Tue Jun 26 2012 Felix Kaechele - 1.11.12-1 - update to 1.11.12 - fixes ZF2012-01: Local file disclosure via XXE injection in Zend_XmlRpc * Sat Jan 14 2012 Fedora Release Engineering - 1.11.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Oct 14 2011 Felix Kaechele - 1.11.11-1 - update to 1.11.11 - full changelog http://framework.zend.com/changelog/1.11.11 - spec cleanup * Thu Aug 04 2011 Felix Kaechele - 1.11.10-1 - update to 1.11.10 - full changelog http://framework.zend.com/changelog/1.11.10 * Sat Jul 16 2011 Felix Kaechele - 1.11.9-1 - update to 1.11.9 - fixes some nasty bugs - full changelog http://framework.zend.com/changelog/1.11.9 * Fri Jul 08 2011 Felix Kaechele - 1.11.8-1 - update to 1.11.8 - full changelog http://framework.zend.com/changelog/1.11.8 - removed bundled Dojo - first version for EPEL * Sun Jun 12 2011 Felix Kaechele - 1.11.7-1 - update to 1.11.7 - full changelog http://framework.zend.com/changelog/1.11.7 * Mon May 23 2011 Felix Kaechele - 1.11.6-1 - update to 1.11.6 - fixes ZF2011-02: Potential SQL Injection Vector When Using PDO_MySql - full changelog http://framework.zend.com/changelog/1.11.6 * Fri Mar 04 2011 Felix Kaechele - 1.11.4-1 - update to 1.11.4 - over 40 bugs were fixed - full changelog http://framework.zend.com/changelog/1.11.4 * Wed Feb 09 2011 Felix Kaechele - 1.11.3-1 - update to 1.11.3 - full changelog http://framework.zend.com/changelog/1.11.3 * Wed Feb 09 2011 Fedora Release Engineering - 1.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Nov 04 2010 Felix Kaechele - 1.11.0-1 - update to 1.11.0 - new component: Cloud - full changelog http://framework.zend.com/changelog/1.11.0 - release announcement: http://devzone.zend.com/article/12724-Zend-Framework-1.11.0-FINAL-Released * Sun Jul 25 2010 Felix Kaechele - 1.10.6-1 - update to 1.10.6 containing over 30 bugfixes * Sat Jun 12 2010 Felix Kaechele - 1.10.5-1 - update to 1.10.5 which contains over 60 bugfixes