%define php_name ZendFramework Summary: Leading open-source PHP framework Name: php-ZendFramework Version: 1.6.0 Release: 0.1.rc1%{?dist} License: BSD Group: Development/Libraries Source0: http://framework.zend.com/releases/%{php_name}-%{version}RC1/%{php_name}-%{version}RC1.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) URL: http://framework.zend.com/ BuildArch: noarch Requires: php >= 5.1.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-Fileinfo %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 codebase. 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 subpackages. %package tests Summary: Unit tests for the Zend Framework Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: php-pear(pear.phpunit.de/PHPUnit) >= 3.0.0 %description tests This package includes Zend Framework unit tests for all available subpackages. %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 Db-Adapter-Mysqli Summary: Zend Framework database adapter for mysqli Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: php-mysql %description Db-Adapter-Mysqli This package contains the files for Zend Framework necessary to connect to a MySQL database 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 # Not available in Fedora's PHP # %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-Mysqli # 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 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} %description Services This package contains web service client APIs for the following services: - Akismet - Amazon - Audioscrobbler - del.icio.us - Flickr - Nirvanix - Simpy - SlideShare - StrikeIron - Technorati - Yahoo! %prep %setup -qn %{php_name}-1.6RC1 %build find . -type f -perm /111 -exec chmod -x '{}' \; >/dev/null %install %{__rm} -rf $RPM_BUILD_ROOT %{__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 %{__cp} -pr tests $RPM_BUILD_ROOT%{_datadir}/php/Zend %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_datadir}/php/Zend %exclude %{_datadir}/php/Zend/demos %exclude %{_datadir}/php/Zend/tests %exclude %{_datadir}/php/Zend/Cache/Backend/Apc.php %exclude %{_datadir}/php/Zend/Cache/Backend/Memcached.php %exclude %{_datadir}/php/Zend/Feed.php %exclude %{_datadir}/php/Zend/Feed %exclude %{_datadir}/php/Zend/Gdata.php %exclude %{_datadir}/php/Zend/Gdata %exclude %{_datadir}/php/Zend/Pdf.php %exclude %{_datadir}/php/Zend/Pdf %exclude %{_datadir}/php/Zend/Search %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/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 %doc LICENSE.txt INSTALL.txt README.txt %files demos %defattr(-,root,root,-) %{_datadir}/php/Zend/demos %files tests %defattr(-,root,root,-) %{_datadir}/php/Zend/tests %files Cache-Backend-Apc %defattr(-,root,root,-) %{_datadir}/php/Zend/Cache/Backend/Apc.php %files Cache-Backend-Memcached %defattr(-,root,root,-) %{_datadir}/php/Zend/Cache/Backend/Memcached.php %files Feed %defattr(-,root,root,-) %{_datadir}/php/Zend/Feed.php %{_datadir}/php/Zend/Feed %files Gdata %defattr(-,root,root,-) %{_datadir}/php/Zend/Gdata.php %{_datadir}/php/Zend/Gdata %files Pdf %defattr(-,root,root,-) %{_datadir}/php/Zend/Pdf.php %{_datadir}/php/Zend/Pdf %files Search-Lucene %defattr(-,root,root,-) %{_datadir}/php/Zend/Search %files Services %defattr(-,root,root,-) %{_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/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 %changelog * Tue Jul 29 2008 Alexander Kahl - 1.6.0-0.1.rc1 - update to 1.6.0RC1 - added php-Fileinfo dependency * Wed Jun 11 2008 Alexander Kahl - 1.5.2-1 - update to 1.5.2 - new package split - removed Cache-Backend-Sqlite, Db-Adapter-Db2, Db-Adapter-Firebird, Db-Adapter-Oracle - removed optional php-bitset requirement from Search-Lucene, not available - removed virtual requires and provides, not necessary anymore * Mon Mar 17 2008 Alexander Kahl - 1.5.0-1 - updated for 1.5.0 stable * Mon Mar 17 2008 Alexander Kahl - 1.5.0-1.rc3 - new upstream version rc3 - updated for 1.5.0 stable - new subpackages Ldap and Service-Nirvanix * Fri Mar 7 2008 Alexander Kahl - 1.5.0-2.rc1 - added missing dependencies * Thu Mar 6 2008 Alexander Kahl - 1.5.0-1.rc1 - new release candidate version 1.5.0 - package all zend components in subpackages * Wed Dec 12 2007 Alexander Kahl - 1.0.3-1 - new stable version 1.0.3 - preserve timestamps upon copying - split up documentation into subpackages - description BE->AE * Thu Oct 30 2007 Alexander Kahl - 1.0.2-1 - initial release