X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=blobdiff_plain;f=ZendFramework.spec;h=df1796c7099e82c259e92428c16590ad2764e4ee;hb=c56135d1bba3525e6b06da41a833d11b0c2f92ef;hp=9ece9e444da9812335b82e4c5fcbfe04686b7530;hpb=6007ee303a7a00651bcaa964d444692860c14453;p=packages%2FZendFramework.git diff --git a/ZendFramework.spec b/ZendFramework.spec index 9ece9e4..df1796c 100644 --- a/ZendFramework.spec +++ b/ZendFramework.spec @@ -1,71 +1,55 @@ +# TODO +# - drop pear autogenerated deps and fill deps based on official doc: +# http://framework.zend.com/manual/1.12/en/requirements.introduction.html # -# TODO: -# - broken deps: -# pear(Zend/Gdata/YouTube/App/Exception.php) is needed by ZendFramework-Zend_Gdata-1.7.5-1.noarch -# pear(Zend/Service/Audioscrobbler/Exception.php) is needed by ZendFramework-Zend_Service_Audioscrobbler-1.7.5-1.noarch -# pear(Zend/Tool/CodeGenerator/Php/File.php) is needed by ZendFramework-Zend_Tool-1.7.5-1.noarch -# -# - dependencies to subpackages -# php-fileinfo is needed by ZendFramework-1.6.2-2.5.noarch -# php-mime_magic is needed by ZendFramework-1.6.2-2.5.noarch -# php-pecl_http is needed by ZendFramework-1.6.2-2.5.noarch -# php-ereg is needed by ZendFramework-Zend_Cache-1.6.2-2.5.noarch -# php-sqlite is needed by ZendFramework-Zend_Cache-1.6.2-2.5.noarch -# php-gd is needed by ZendFramework-Zend_Captcha-1.6.2-2.5.noarch -# php-sapi_apache is needed by ZendFramework-Zend_Controller-1.6.2-2.5.noarch -# php-mysqli is needed by ZendFramework-Zend_Db-1.6.2-2.5.noarch -# php-oci8 is needed by ZendFramework-Zend_Db-1.6.2-2.5.noarch -# php-zip is needed by ZendFramework-Zend_Filter-1.6.2-2.5.noarch -# php-ereg is needed by ZendFramework-Zend_Gdata-1.6.2-2.5.noarch -# php-openssl is needed by ZendFramework-Zend_Gdata-1.6.2-2.5.noarch -# php-mcrypt is needed by ZendFramework-Zend_InfoCard-1.6.2-2.5.noarch -# php-openssl is needed by ZendFramework-Zend_InfoCard-1.6.2-2.5.noarch -# php-json is needed by ZendFramework-Zend_Json-1.6.2-2.5.noarch -# php-ldap is needed by ZendFramework-Zend_Ldap-1.6.2-2.5.noarch -# php-zip is needed by ZendFramework-Zend_Mail-1.6.2-2.5.noarch -# php-bcmath is needed by ZendFramework-Zend_OpenId-1.6.2-2.5.noarch -# php-gmp is needed by ZendFramework-Zend_OpenId-1.6.2-2.5.noarch -# php-mhash is needed by ZendFramework-Zend_OpenId-1.6.2-2.5.noarch -# php-openssl is needed by ZendFramework-Zend_OpenId-1.6.2-2.5.noarch -# php-gd is needed by ZendFramework-Zend_Pdf-1.6.2-2.5.noarch -# php-bitset is needed by ZendFramework-Zend_Search_Lucene-1.6.2-2.5.noarch -# php-zip is needed by ZendFramework-Zend_Search_Lucene-1.6.2-2.5.noarch -# php-ereg is needed by ZendFramework-Zend_Service_Amazon-1.6.2-2.5.noarch -# php-mcrypt is needed by ZendFramework-Zend_Service_ReCaptcha-1.6.2-2.5.noarch -# php-pecl_http is needed by ZendFramework-Zend_Uri-1.6.2-2.5.noarch -# php-mime_magic is needed by ZendFramework-Zend_Validate-1.6.2-2.5.noarch -# -# - add rpm-whiteout: http://pld.pastebin.com/f33091903 +# Conditional build: +%bcond_without tests # do not perform "make test" + +# TODO +# - check Zend/Pdf/FileParser/Image/Jpeg.php and Zend/Pdf/FileParser/Image/Tiff.php +# presence in Zend/Pdf/Image.php after update [not implemented in 1.10.2) +%define php_min_version 5.2.11 %include /usr/lib/rpm/macros.php Summary: Zend Framework Summary(pl.UTF-8): Szkielet Zend Name: ZendFramework -Version: 1.7.5 +Version: 1.12.11 Release: 1 License: New BSD License Group: Development/Languages/PHP Source0: http://framework.zend.com/releases/%{name}-%{version}/%{name}-%{version}.tar.gz -# Source0-md5: c85cf1cf3f9b3a990ab3f33dfe114fde +# Source0-md5: fb05390d22bb0ab9b340c456c4b25af5 Source1: http://framework.zend.com/releases/%{name}-%{version}/%{name}-%{version}-manual-en.tar.gz -# Source1-md5: b275b14afcc8384ec94f1852eb9f9851 +# Source1-md5: ca6ab6b20ca0a0f32b680c8111404286 Source2: %{name}-find-lang.sh -# http://framework.zend.com/issues/browse/ZF-5802 -Source3: %{name}-Zend_Tool_Framework_Manifest_Exception.php -Source4: %{name}-Zend_Tool_Framework_Provider_Exception.php -Source5: %{name}-Zend_Tool_Project_Resource.php Patch0: %{name}-additional-locales.patch -Patch1: %{name}-db_charset.patch -URL: http://framework.zend.com/ +Patch1: %{name}-deps.patch +URL: http://framework.zend.com/manual/1.12/en/manual.html +BuildRequires: /usr/bin/php BuildRequires: rpm-php-pearprov >= 4.4.2-11 +BuildRequires: rpmbuild(macros) >= 1.654 BuildRequires: sed >= 4.0 -Requires: php-common >= 4:5.1.4 -Requires: rpm-whiteout >= 1.12 +Requires: php(core) >= %{php_min_version} +Requires: php-pear +Requires: rpm-whiteout >= 1.32 Obsoletes: ZendFramework-doc BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -# exclude optional dependencies -%define _noautoreq 'php(oci8)' 'php(bitset)' 'pear(../application/bootstrap.php)' +# bad depsolver +%define _noautopear pear(../application/bootstrap.php) + +# bad code +%define _bad_deps_1_10 Zend/Pdf/FileParser/Image/Jpeg.php Zend/Pdf/FileParser/Image/Tiff.php +%define _bad_deps_1_10_2 Zend/Serializer/Excception.php Zend/Services/DeveloperGarden/Response/Exception.php +%define _bad_deps_1_12_1 Zend/Service/Rackspace/Exception.php Zend/Service/Rackspace/Files.php Exception/InvalidArgumentException.php Zend/Loader/Exception/../Exception.php Zend/Service/Console/Command.php Zend/Service/Console/Exception.php Zend/Service/Log/Exception.php Zend/Service/Log/Formatter/Interface.php Zend/Service/Log/Writer/Abstract.php Zend/Service/Management/Exception.php +%define _noautoreq_pear %{?_bad_deps_1_10} %{?_bad_deps_1_10_2} %{?_bad_deps_1_12_1} + +# exclude optional php dependencies +%define _noautophp php-oci8 php-bitset + +# put it together for rpmbuild +%define _noautoreq %{?_noautophp} %{?_noautopear} %{?_noautodeps} %description Zend Framework is a high quality and open source framework for @@ -87,7 +71,7 @@ nowoczesnych, bogatych i bezpiecznych serwisów WWW. Summary: Zend_Acl - ACL functionality and privileges management Summary(pl.UTF-8): Zend_Acl - listy kontroli dostępu i zarządzanie uprawnieniami Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.acl.html +URL: http://framework.zend.com/manual/1.12/en/zend.acl.html Requires: %{name} = %{version}-%{release} %description Zend_Acl @@ -106,7 +90,7 @@ chronionych obiektów przez inne obiekty. Summary: Zend_Amf - Action Message Format support Summary(pl.UTF-8): Zend_Amf - obsługa formatu AMF (Action Message Format) Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.amf.html +URL: http://framework.zend.com/manual/1.12/en/zend.amf.html Requires: %{name} = %{version}-%{release} %description Zend_Amf @@ -123,13 +107,25 @@ szczególności udostępnia implementację serwera bramki do obsługi żądań wysyłanych z Flash Playera do serwera i odwzorowywania tych żądań na obiekty i metody klas oraz wywołania zwrotne. +%package Zend_Application +Summary: Zend_Application - bootstrap facility +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.amf.html +Requires: %{name} = %{version}-%{release} + +%description Zend_Application +Zend_Application provides a bootstrapping facility for applications +which provides reusable resources, common- and module-based bootstrap +classes and dependency checking. It also takes care of setting up the +PHP environment and introduces autoloading by default. + %package Zend_Auth Summary: Zend_Auth - authentication API Summary(pl.UTF-8): Zend_Auth - API do uwierzytelniania Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.auth.html +URL: http://framework.zend.com/manual/1.12/en/zend.auth.html Requires: %{name} = %{version}-%{release} -Requires: php-ctype +Requires: php(ctype) # Zend_Auth_Adapter_Http has hard dependency on hash %description Zend_Auth @@ -140,11 +136,31 @@ authentication adapters for common use case scenarios. Zend_Auth udostępnia API do uwierzytelniania i zawiera właściwe adaptery do uwierzytelniania w popularnych przypadkach użycia. +%package Zend_Barcode +Summary: Zend_Barcode - barcode generator +Summary(pl.UTF-8): Zend_Barcode - generator kodów kreskowych +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.barcode.html +Requires: %{name} = %{version}-%{release} + +%description Zend_Barcode +Zend_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. + +%description Zend_Barcode -l pl.UTF-8 +Zend_Barcode udostępnia funkcjonalność generowania kodów kreskowych. +Komponent Zend_Barcode podzielony jest na dwa podkomponenty: obiekty i +renderery. Obiekty pozwalają na tworzenie kodów niezależnie od +renderera, renderer na rysowanie kodów na podstawie obiektu. + %package Zend_Cache Summary: Zend_Cache - data caching Summary(pl.UTF-8): Zend_Cache - pamięć podręczna dla danych Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.cache.html +URL: http://framework.zend.com/manual/1.12/en/zend.cache.html Requires: %{name} = %{version}-%{release} # Zend_Cache_Backend_Apc hard dep on php-pecl-APC @@ -160,7 +176,7 @@ oznaczania, modyfikowania, iterowania i usuwania podzbiorów. Summary: Zend_Captcha - CAPTCHA functionality Summary(pl.UTF-8): Zend_Captcha - funkcjonalność CAPTCHA Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.captcha.html +URL: http://framework.zend.com/manual/1.12/en/zend.captcha.html Requires: %{name} = %{version}-%{release} %description Zend_Captcha @@ -186,11 +202,34 @@ fontów lub obrazków z pytaniem o ich powiązania. Klasa Zend_Captcha udostępnia różne backendy. Może być używana zarówno samodzielnie, jak i w połączeniu z Zend_Form. +%package Zend_Cloud +Summary: Zend_Cloud - SimpleCloud API +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.cloud.html +Requires: %{name} = %{version}-%{release} + +%description Zend_Cloud +SimpleCloud API + +%package Zend_CodeGenerator +Summary: Zend_CodeGenerator - generate arbitrary code using OO interface +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.codegenerator.html +Requires: %{name} = %{version}-%{release} + +%description Zend_CodeGenerator +Zend_CodeGenerator provides facilities to generate arbitrary code +using an object oriented interface, both to create new code as well as +to update existing code. While the current implementation is limited +to generating PHP code, you can easily extend the base class in order +to provide code generation for other tasks: JavaScript, configuration +files, apache vhosts, etc. + %package Zend_Config Summary: Zend_Config - access to configuration data Summary(pl.UTF-8): Zend_Config - dostęp do danych konfiguracyjnych Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.config.html +URL: http://framework.zend.com/manual/1.12/en/zend.config.html Requires: %{name} = %{version}-%{release} %description Zend_Config @@ -205,7 +244,7 @@ konfiguracyjnych w aplikacjach. Summary: Zend_Console_Getopt - parsing command-line options and arguments Summary(pl.UTF-8): Zend_Console_Getopt - analiza opcji i argumentów linii poleceń Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.console.getopt.html +URL: http://framework.zend.com/manual/1.12/en/zend.console.getopt.html Requires: %{name} = %{version}-%{release} %description Zend_Console_Getopt @@ -220,7 +259,7 @@ opcji i argumentów. Summary: Zend_Controller - heart of Model-View-Controller system Summary(pl.UTF-8): Zend_Controller - podstawa systemu Model-View-Controller Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.controller.html +URL: http://framework.zend.com/manual/1.12/en/zend.controller.html Requires: %{name} = %{version}-%{release} %description Zend_Controller @@ -234,13 +273,22 @@ Model-View-Controller (model-widok-kontroler) i jest wzorcem projektowym służącym do oddzielenia logiki aplikacji od logiki wyświetlania. +%package Zend_Crypt +Summary: Zend_Crypt +Group: Development/Languages/PHP +#URL: http://framework.zend.com/manual/1.12/en/zend.crypt.html +Requires: %{name} = %{version}-%{release} + +%description Zend_Crypt +Zend_Crypt + %package Zend_Currency Summary: Zend_Currency - currency representation handling Summary(pl.UTF-8): Zend_Currency - obsługa reprezentacji walut Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.currency.html +URL: http://framework.zend.com/manual/1.12/en/zend.currency.html Requires: %{name} = %{version}-%{release} -Requires: php-iconv +Requires: php(iconv) %description Zend_Currency Zend_Currency is part of the I18N core of the Zend_Framework. It @@ -260,7 +308,7 @@ są używane itp. Summary: Zend_Date - manipulating dates and times Summary(pl.UTF-8): Zend_Date - operacje na dacie i czasie Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.date.html +URL: http://framework.zend.com/manual/1.12/en/zend.date.html Requires: %{name} = %{version}-%{release} %description Zend_Date @@ -279,7 +327,7 @@ obróbki daty istniejące w PHP. %package Zend_Db Summary: Zend_Db Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.db.html +URL: http://framework.zend.com/manual/1.12/en/zend.db.html Requires: %{name} = %{version}-%{release} %description Zend_Db @@ -313,7 +361,7 @@ database extensions for the following RDBMS brands: %package Zend_Debug Summary: Zend_Debug Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.debug.html +URL: http://framework.zend.com/manual/1.12/en/zend.debug.html Requires: %{name} = %{version}-%{release} %description Zend_Debug @@ -326,7 +374,7 @@ environment. %package Zend_Dojo Summary: Zend_Dojo Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.dojo.html +URL: http://framework.zend.com/manual/1.12/en/zend.dojo.html Requires: %{name} = %{version}-%{release} %description Zend_Dojo @@ -342,7 +390,7 @@ Integration points with Dojo include: %package Zend_Dom Summary: Zend_Dom Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.dom.html +URL: http://framework.zend.com/manual/1.12/en/zend.dom.html Requires: %{name} = %{version}-%{release} %description Zend_Dom @@ -353,7 +401,7 @@ for querying DOM documents utilizing both XPath and CSS selectors. %package Zend_Exception Summary: Zend_Exception Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.exception.html +URL: http://framework.zend.com/manual/1.12/en/zend.exception.html Requires: %{name} = %{version}-%{release} %description Zend_Exception @@ -361,13 +409,25 @@ Zend_Exception is a base exception class. All exceptions thrown by Zend Framework classes should throw an exception that derives from the base class Zend_Exception. +%package Zend_EventManager +Summary: Zend_EventManager +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.event-manager.html +Requires: %{name} = %{version}-%{release} + +%description Zend_EventManager +Zend_EventManager is a component designed for the following use cases: +- Implementing simple subject/observer patterns. +- Implementing Aspect-Oriented designs. +- Implementing event-driven architectures. + %package Zend_Feed Summary: Zend_Feed Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.feed.html +URL: http://framework.zend.com/manual/1.12/en/zend.feed.html Requires: %{name} = %{version}-%{release} -Requires: php-dom -Requires: php-mbstring +Requires: php(dom) +Requires: php(mbstring) %description Zend_Feed Zend_Feed provides functionality for consuming RSS and Atom feeds. It @@ -380,7 +440,7 @@ support could provide support for the Atom Publishing Protocol. %package Zend_File Summary: Zend_File Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.file.html +URL: http://framework.zend.com/manual/1.12/en/zend.file.html Requires: %{name} = %{version}-%{release} %description Zend_File @@ -394,7 +454,7 @@ more. %package Zend_Filter Summary: Zend_Filter Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.filter.html +URL: http://framework.zend.com/manual/1.12/en/zend.filter.html Requires: %{name} = %{version}-%{release} %description Zend_Filter @@ -405,7 +465,7 @@ filters may be applied to a single datum in a user-defined order. %package Zend_Filter_Input Summary: Zend_Filter_Input Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.filter.input.html +URL: http://framework.zend.com/manual/1.12/en/zend.filter.input.html Requires: %{name} = %{version}-%{release} %description Zend_Filter_Input @@ -418,7 +478,7 @@ default for safe HTML output. %package Zend_Form Summary: Zend_Form Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.form.html +URL: http://framework.zend.com/manual/1.12/en/zend.form.html Requires: %{name} = %{version}-%{release} %description Zend_Form @@ -433,10 +493,10 @@ application. It accomplishes the following goals: %package Zend_Gdata Summary: Zend_Gdata Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.gdata.html +URL: http://framework.zend.com/manual/1.12/en/zend.gdata.html Requires: %{name} = %{version}-%{release} -Requires: php-ctype -Requires: php-dom +Requires: php(ctype) +Requires: php(dom) %description Zend_Gdata Zend_Gdata component is a interface for accessing Google Data from @@ -451,9 +511,9 @@ Publishing Protocol. %package Zend_Http Summary: Zend_Http Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.http.html +URL: http://framework.zend.com/manual/1.12/en/zend.http.html Requires: %{name} = %{version}-%{release} -Requires: php-ctype +Requires: php(ctype) # Zend_Http_Client_Adapter_Curl has hard dependency on curl %description Zend_Http @@ -463,22 +523,10 @@ supports: - cookies - proxy servers. -%package Zend_InfoCard -Summary: Zend_InfoCard -Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.infocard.html -Requires: %{name} = %{version}-%{release} - -%description Zend_InfoCard -Zend_InfoCard component implements relying-party support for -Information Cards. Infomation Cards are used for identity management -on the internet and authentication of users to web sites (called -relying parties). - %package Zend_Json Summary: Zend_Json Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.json.html +URL: http://framework.zend.com/manual/1.12/en/zend.json.html Requires: %{name} = %{version}-%{release} %description Zend_Json @@ -503,7 +551,7 @@ processing techniques. %package Zend_Layout Summary: Zend_Layout Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.layout.html +URL: http://framework.zend.com/manual/1.12/en/zend.layout.html Requires: %{name} = %{version}-%{release} %description Zend_Layout @@ -528,7 +576,7 @@ The main goals of Zend_Layout are as follows: %package Zend_Ldap Summary: Zend_Ldap Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.ldap.html +URL: http://framework.zend.com/manual/1.12/en/zend.ldap.html Requires: %{name} = %{version}-%{release} %description Zend_Ldap @@ -539,7 +587,7 @@ directory. %package Zend_Loader Summary: Zend_Loader Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.loader.html +URL: http://framework.zend.com/manual/1.12/en/zend.loader.html Requires: %{name} = %{version}-%{release} %description Zend_Loader @@ -549,10 +597,9 @@ dynamically. %package Zend_Locale Summary: Zend_Locale Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.locale.html +URL: http://framework.zend.com/manual/1.12/en/zend.locale.html Requires: %{name} = %{version}-%{release} -Requires: php-iconv -Suggests: php-bcmath +Requires: php(iconv) %description Zend_Locale Zend_Locale is the Framework's answer to the question, "How can the @@ -566,7 +613,7 @@ the foundation of Zend_Date, Zend_Translate, and others. It provides: %package Zend_Log Summary: Zend_Log Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.log.html +URL: http://framework.zend.com/manual/1.12/en/zend.log.html Requires: %{name} = %{version}-%{release} # Zend_Log_Formatter_Xml has hard dependency on dom @@ -592,7 +639,7 @@ the following objects: %package Zend_Mail Summary: Zend_Mail Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.mail.html +URL: http://framework.zend.com/manual/1.12/en/zend.mail.html Requires: %{name} = %{version}-%{release} %description Zend_Mail @@ -601,10 +648,28 @@ text and MIME-compliant multipart e-mail messages. Mail can be sent with Zend_Mail via the default Zend_Mail_Transport_Sendmail transport or via Zend_Mail_Transport_Smtp. +%package Zend_Markup +Summary: Zend_Markup +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.markup.html +Requires: %{name} = %{version}-%{release} + +%description Zend_Markup +The Zend_Markup component provides an extensible way for parsing text +and rendering lightweight markup languages like BBcode and Textile. It +is available as of Zend Framework version 1.10. + +Zend_Markup uses a factory method to instantiate an instance of a +renderer that extends Zend_Markup_Renderer_Abstract. The factory +method accepts three arguments. The first one is the parser used to +tokenize the text (e.g. BbCode). The second (optional) parameter is +the renderer to use, Html by default. Thirdly an array with options to +use for the renderer can be specified. + %package Zend_Measure Summary: Zend_Measure Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.measure.html +URL: http://framework.zend.com/manual/1.12/en/zend.measure.html Requires: %{name} = %{version}-%{release} %description Zend_Measure @@ -618,7 +683,7 @@ automatically extracted. Numerous units of measurement are supported. %package Zend_Memory Summary: Zend_Memory Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.memory.html +URL: http://framework.zend.com/manual/1.12/en/zend.memory.html Requires: %{name} = %{version}-%{release} %description Zend_Memory @@ -634,18 +699,64 @@ limit you need to enforce. %package Zend_Mime Summary: Zend_Mime Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.mime.html +URL: http://framework.zend.com/manual/1.12/en/zend.mime.html Requires: %{name} = %{version}-%{release} -Requires: php-iconv +Requires: php(iconv) %description Zend_Mime Zend_Mime is a support class for handling multipart MIME messages. +%package Zend_Mobile_Push +Summary: Zend_Mobile_Push +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.mobile.push.html +Requires: %{name} = %{version}-%{release} + +%description Zend_Mobile_Push +Zend_Mobile_Push provides the ability for sending push notifications +to the vendor specific notification servers. Currently this list +includes APNS (iTouch/iPad/iPhone), GCM (Google Android) and MPNS +(Windows Phone). + +%package Zend_Navigation +Summary: Zend_Navigation - manage trees of pointers to web page +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.navigation.html +Requires: %{name} = %{version}-%{release} + +%description Zend_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 Zend_Oauth +Summary: Zend_Oauth +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.oauth.html +Requires: %{name} = %{version}-%{release} + +%description Zend_Oauth +OAuth allows you to approve access by any application to your private +data stored a website without being forced to disclose your username +or password. If you think about it, the practice of handing over your +username and password for sites like Yahoo Mail or Twitter has been +endemic for quite a while. This has raised some serious concerns +because there's nothing to prevent other applications from misusing +this data. Yes, some services may appear trustworthy but that is never +guaranteed. OAuth resolves this problem by eliminating the need for +any username and password sharing, replacing it with a user controlled +authorization process + %package Zend_OpenId Summary: Zend_OpenId Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.openid.html +URL: http://framework.zend.com/manual/1.12/en/zend.openid.html Requires: %{name} = %{version}-%{release} +# needed for dh keys: any of these tree can do for +Suggests: php(bcmath) +Suggests: php(gmp) +Suggests: php(openssl) %description Zend_OpenId Zend_OpenId is a Zend Framework component that provides a simple API @@ -654,7 +765,7 @@ for building OpenID-enabled sites and identity providers. %package Zend_Paginator Summary: Zend_Paginator Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.paginator.html +URL: http://framework.zend.com/manual/1.12/en/zend.paginator.html Requires: %{name} = %{version}-%{release} %description Zend_Paginator @@ -673,12 +784,12 @@ The primary design goals of Zend_Paginator are as follows: %package Zend_Pdf Summary: Zend_Pdf Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.pdf.html +URL: http://framework.zend.com/manual/1.12/en/zend.pdf.html Requires: %{name} = %{version}-%{release} -Requires: php-ctype -Requires: php-gd -Requires: php-iconv -Requires: php-zlib +Requires: php(ctype) +Requires: php(gd) +Requires: php(iconv) +Requires: php(zlib) %description Zend_Pdf Zend_Pdf module is a PDF (Portable Document Format) manipulation @@ -705,7 +816,7 @@ Zend_Pdf module supports the following features: %package Zend_ProgressBar Summary: Zend_ProgressBar Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.progressbar.html +URL: http://framework.zend.com/manual/1.12/en/zend.progressbar.html Requires: %{name} = %{version}-%{release} %description Zend_ProgressBar @@ -716,10 +827,50 @@ 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 Zend_Queue +Summary: Zend_Queue +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.progressbar.html +Requires: %{name} = %{version}-%{release} + +%description Zend_Queue +Zend_Queue is a standardized interface for dealing with a variety of +queuing systems. Proposed systems include: simple array access, +Zend_Cache, Zend Platform Job Queue, Amazon's Simple Queue Service +(SQS). It should support creating queues, determining the number of +messages in a queue, retrieving messages from a queue (all or specific +number), submitting messages to a queue, and removing queues. + +%package Zend_Reflection +Summary: Zend_Reflection +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.reflection.html +Requires: %{name} = %{version}-%{release} + +%description Zend_Reflection +Zend_Reflection is a drop-in extension to PHP's own Reflection API, +providing several additional features: + - Ability to retrieve return values types. + - Ability to retrieve method and function parameter types. + - Ability to retrieve class property types. + - DocBlocks gain a Reflection class, allowing introspection of + docblocks. This provides the ability to determine what annotation tags + have been defined as well as to retrieve their values, and the ability + to retrieve the short and long descriptions. + - Files gain a Reflection class, allowing introspection of PHP files. + This provides the ability to determine what functions and classes are + defined in a given file, as well as to instrospect them. + - Ability to override any Reflection class with your own variant, for + the entire reflection tree you create. + +In general, Zend_Reflection works just like the standard Reflection +API, but provides a few additional methods for retrieving artifacts +not defined in the Reflection API. + %package Zend_Registry Summary: Zend_Registry Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.registry.html +URL: http://framework.zend.com/manual/1.12/en/zend.registry.html Requires: %{name} = %{version}-%{release} %description Zend_Registry @@ -731,10 +882,10 @@ is an alternative to using global storage. %package Zend_Rest Summary: Zend_Rest Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.rest.html +URL: http://framework.zend.com/manual/1.12/en/zend.rest.html Requires: %{name} = %{version}-%{release} -Requires: php-ctype -Requires: php-dom +Requires: php(ctype) +Requires: php(dom) %description Zend_Rest REST Web Services use service-specific XML formats. These ad-hoc @@ -748,12 +899,11 @@ data for sending data. Zend_Rest component provides: %package Zend_Search_Lucene Summary: Zend_Search_Lucene Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.search.lucene.html +URL: http://framework.zend.com/manual/1.12/en/zend.search.lucene.html Requires: %{name} = %{version}-%{release} -Requires: php-ctype -Requires: php-dom -Requires: php-iconv -Suggests: php-pecl-bitset +Requires: php(ctype) +Requires: php(dom) +Requires: php(iconv) %description Zend_Search_Lucene Zend_Search_Lucene is a general purpose text search engine. Since it @@ -767,10 +917,32 @@ Zend_Search_Lucene supports the following features: proximity queries, range queries and more - Search by specific field (e.g., title, author, contents) +%package Zend_Serializer +Summary: Zend_Serializer +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.serializer.html +Requires: %{name} = %{version}-%{release} + +%description Zend_Serializer +Zend_Serializer provides an adapter based interface to simply generate +storable representation of php types by different facilities, and +recover. + +%package Zend_Server +Summary: Zend_Server +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.server.html +Requires: %{name} = %{version}-%{release} + +%description Zend_Server +The Zend_Server family of classes provides functionality for the +various server classes, including Zend_XmlRpc_Server, +Zend_Rest_Server, Zend_Json_Server and Zend_Soap_Wsdl. + %package Zend_Server_Reflection Summary: Zend_Server_Reflection Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.server.reflection.html +URL: http://framework.zend.com/manual/1.12/en/zend.server.reflection.html Requires: %{name} = %{version}-%{release} %description Zend_Server_Reflection @@ -781,10 +953,20 @@ retrieving parameter and return value types and descriptions, a full list of function and method prototypes (i.e., all possible valid calling combinations), and function/method descriptions. +%package Zend_Service +Summary: Zend_Service +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.service.html +Requires: %{name} = %{version}-%{release} + +%description Zend_Service +Zend_Service is an abstract class which serves as a foundation for web +service implementations, such as SOAP or REST. + %package Zend_Service_Akismet Summary: Zend_Service_Akismet Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.service.akismet.html +URL: http://framework.zend.com/manual/1.12/en/zend.service.akismet.html Requires: %{name} = %{version}-%{release} %description Zend_Service_Akismet @@ -808,9 +990,9 @@ specifying a 'blog' key in the various method calls. %package Zend_Service_Amazon Summary: Zend_Service_Amazon Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.service.amazon.html +URL: http://framework.zend.com/manual/1.12/en/zend.service.amazon.html Requires: %{name} = %{version}-%{release} -Requires: php-dom +Requires: php(dom) %description Zend_Service_Amazon Zend_Service_Amazon is a simple API for using Amazon web services. @@ -825,9 +1007,9 @@ Web Services API. %package Zend_Service_Audioscrobbler Summary: Zend_Service_Audioscrobbler Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.service.audioscrobbler.html +URL: http://framework.zend.com/manual/1.12/en/zend.service.audioscrobbler.html Requires: %{name} = %{version}-%{release} -Requires: php-iconv +Requires: php(iconv) %description Zend_Service_Audioscrobbler Zend_Service_Audioscrobbler is a simple API for using the @@ -838,9 +1020,9 @@ Tags, Groups, and Forums. %package Zend_Service_Delicious Summary: Zend_Service_Delicious Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.service.delicious.html +URL: http://framework.zend.com/manual/1.12/en/zend.service.delicious.html Requires: %{name} = %{version}-%{release} -Requires: php-dom +Requires: php(dom) %description Zend_Service_Delicious Zend_Service_Delicious is simple API for using del.icio.us XML and @@ -848,13 +1030,41 @@ JSON web services. This component gives you read-write access to posts at del.icio.us if you provide credentials. It also allows read-only access to public data of all users. +%package Zend_Service_DeveloperGarden +Summary: Zend_Service_DeveloperGarden +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.service.developergarden.html +Requires: %{name} = %{version}-%{release} + +%description Zend_Service_DeveloperGarden +DeveloperGarden is the name for the "Open Development services" of the +German Telekom. The "Open Development services" are a set of SOAP API +Services. + +The family of Zend_Service_DeveloperGarden components provides a clean +and simple interface to the DeveloperGarden API and additionally +offers functionality to improve handling and performance + +%package Zend_Service_Ebay +Summary: Zend_Service_Ebay is a simple group of APIs for using eBay web services +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.service.ebay.html +Requires: %{name} = %{version}-%{release} + +%description Zend_Service_Ebay +Zend_Service_Ebay is a simple group of APIs for using eBay web +services. + +Zend_Service_Ebay implements the eBay APIs: +- Finding + %package Zend_Service_Flickr Summary: Zend_Service_Flickr Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.service.delicious.html +URL: http://framework.zend.com/manual/1.12/en/zend.service.delicious.html Requires: %{name} = %{version}-%{release} -Requires: php-dom -Requires: php-iconv +Requires: php(dom) +Requires: php(iconv) %description Zend_Service_Flickr Zend_Service_Flickr is a simple API for using the Flickr REST Web @@ -862,34 +1072,37 @@ Service. In order to use the Flickr web services, you must have an API key. To obtain a key, visit the Flickr API Documentation . -%package Zend_Service_Nirvanix -Summary: Zend_Service_Nirvanix +%package Zend_Service_LiveDocx +Summary: Zend_Service_LiveDocx Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.service.nirvanix.html +URL: http://framework.zend.com/manual/1.12/en/zend.service.livedocx.html Requires: %{name} = %{version}-%{release} -%description Zend_Service_Nirvanix -Nirvanix provides an Internet Media File System (IMFS), an Internet -storage service that allows applications to upload, store and organize -files and subsequently access them using a standard Web Services -interface. An IMFS is distributed clustered file system, accessed over -the Internet, and optimized for dealing with media files (audio, -video, etc). The goal of an IMFS is to provide massive scalability to -deal with the challenges of media storage growth, with guaranteed -access and availability regardless of time and location. Finally, an -IMFS gives applications the ability to access data securely, without -the large fixed costs associated with acquiring and maintaining -physical storage assets. +%description Zend_Service_LiveDocx +LiveDocx is a SOAP service that allows developers to generate word +processing documents by combining structured data from PHP with a +template, created in a word processor. The resulting document can be +saved as a PDF, DOCX, DOC, HTML or RTF file. LiveDocx implements +mail-merge in PHP. + +The family of Zend_Service_LiveDocx components provides a clean and +simple interface to the LiveDocx API and additionally offers +functionality to improve network performance. + +%package Zend_Service_Rackspace +Summary: Zend_Service_Rackspace +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.service.rackspace.html +Requires: %{name} = %{version}-%{release} -Before you can get started with Zend_Service_Nirvanix, you must first -register for an account (https://www.nirvanix.com/signUpSingle.aspx). -After registering, you will receive a Username, Password, and -Application Key. All three are required to use Zend_Service_Nirvanix. +%description Zend_Service_Rackspace +The Zend_Service_Rackspace is a class that provides a simple API to +manage the Rackspace services Cloud Files and Cloud Servers. %package Zend_Service_ReCaptcha Summary: Zend_Service_ReCaptcha Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.service.recaptcha.html +URL: http://framework.zend.com/manual/1.12/en/zend.service.recaptcha.html Requires: %{name} = %{version}-%{release} %description Zend_Service_ReCaptcha @@ -908,25 +1121,25 @@ account (http://recaptcha.net/whyrecaptcha.html) and register one or more domains with the service in order to generate public and private keys. -%package Zend_Service_Simpy -Summary: Zend_Service_Simpy +%package Zend_Service_ShortUrl +Summary: Zend_Service_ShortUrl Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.service.simpy.html +URL: http://framework.zend.com/manual/1.12/en/zend.service.short-url.html Requires: %{name} = %{version}-%{release} -Requires: php-dom -%description Zend_Service_Simpy -Zend_Service_Simpy is a lightweight wrapper for the free REST API -available for the Simpy social bookmarking service. +%description Zend_Service_ShortUrl +URL shorteners have exploded in popularity in the last several years, +in large part due to the social nature of the web and the desire to +share links. -In order to use Zend_Service_Simpy, you should already have a Simpy -account. To get an account, visit the Simpy web site -(http://simpy.com/). +Zend_Service_ShortUrl provides an API for accessing a number of +different URL shortener services, with the ability to both create +short URLs as well as retrieve the original URL. %package Zend_Service_SlideShare Summary: Zend_Service_SlideShare Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.service.slideshare.html +URL: http://framework.zend.com/manual/1.12/en/zend.service.slideshare.html Requires: %{name} = %{version}-%{release} %description Zend_Service_SlideShare @@ -940,10 +1153,17 @@ create an account on the slideshare.net servers in order to receive an API key, username, password and shared secret value -- all of which are needed in order to use the Zend_Service_SlideShare component. +%package Zend_Service_SqlAzure +Summary: Zend_Service_ +Group: Development/Languages/PHP +Requires: %{name} = %{version}-%{release} + +%description Zend_Service_SqlAzure + %package Zend_Service_StrikeIron Summary: Zend_Service_StrikeIron Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.service.strikeiron.html +URL: http://framework.zend.com/manual/1.12/en/zend.service.strikeiron.html Requires: %{name} = %{version}-%{release} %description Zend_Service_StrikeIron @@ -973,7 +1193,7 @@ website. %package Zend_Service_Technorati Summary: Zend_Service_Technorati Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.service.technorati.html +URL: http://framework.zend.com/manual/1.12/en/zend.service.technorati.html Requires: %{name} = %{version}-%{release} %description Zend_Service_Technorati @@ -990,7 +1210,7 @@ you first need to create a new Technorati account %package Zend_Service_Twitter Summary: Zend_Service_Twitter Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.service.technorati.html +URL: http://framework.zend.com/manual/1.12/en/zend.service.twitter.html Requires: %{name} = %{version}-%{release} %description Zend_Service_Twitter @@ -1000,12 +1220,26 @@ if you provide a username and password for Twitter it will allow you to get and update your status, reply to friends, direct message friends, mark tweets as favorite and much more. +%package Zend_Service_WindowsAzure +Summary: Zend_Service_WindowsAzure +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.service.windowsazure.html +Requires: %{name} = %{version}-%{release} + +%description Zend_Service_WindowsAzure +Windows Azure is the name for Microsoft’s Software + Services +platform, an operating system in the cloud providing services for +hosting, management, scalable storage with support for simple blobs, +tables, and queues, as well as a management infrastructure for +provisioning and geo-distribution of cloud-based services, and a +development platform for the Azure Services layer. + %package Zend_Service_Yahoo Summary: Zend_Service_Yahoo Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.service.yahoo.html +URL: http://framework.zend.com/manual/1.12/en/zend.service.yahoo.html Requires: %{name} = %{version}-%{release} -Requires: php-dom +Requires: php(dom) %description Zend_Service_Yahoo Zend_Service_Yahoo is a simple API for using many of the Yahoo! REST @@ -1018,7 +1252,7 @@ Form (http://developer.yahoo.com/wsregapp/). %package Zend_Session Summary: Zend_Session Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.session.html +URL: http://framework.zend.com/manual/1.12/en/zend.session.html Requires: %{name} = %{version}-%{release} %description Zend_Session @@ -1032,17 +1266,30 @@ page requests by the same client. Zend_Session component: %package Zend_Soap Summary: Zend_Soap Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.soap.html +URL: http://framework.zend.com/manual/1.12/en/zend.soap.html Requires: %{name} = %{version}-%{release} %description Zend_Soap Zend_Soap component is intended to simplify Web Services development for PHP programmers. +%package Zend_Tag +Summary: Zend_Tag -- work with taggable Items +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.tag.html +Requires: %{name} = %{version}-%{release} + +%description Zend_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_Taggable, which allows you to use any of your +models as a taggable item in conjunction with Zend_Tag. + %package Zend_Text Summary: Zend_Text Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.text.html +URL: http://framework.zend.com/manual/1.12/en/zend.text.html Requires: %{name} = %{version}-%{release} %description Zend_Text @@ -1054,14 +1301,25 @@ Font). %package Zend_Test Summary: Zend_Test Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.test.html +URL: http://framework.zend.com/manual/1.12/en/zend.test.html Requires: %{name} = %{version}-%{release} -Requires: php-PHPUnit %description Zend_Test Zend_Test provides tools to facilitate unit testing of your Zend Framework applications. +%package Zend_TimeSync +Summary: Zend_TimeSync +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/1.12/en/zend.timesync.html +Requires: %{name} = %{version}-%{release} + +%description Zend_TimeSync +Zend_TimeSync is able to receive internet or network time from a time +server using the NTP or SNTP protocol. With Zend_TimeSync, Zend +Framework is able to act independently from the time settings of the +server where it is running. + %package Zend_Tool Summary: Zend_Tool Group: Development/Languages/PHP @@ -1078,7 +1336,7 @@ Please note that this component is part of Zend Framework incubator. %package Zend_Translate Summary: Zend_Translate Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.translate.html +URL: http://framework.zend.com/manual/1.12/en/zend.translate.html Requires: %{name} = %{version}-%{release} %description Zend_Translate @@ -1107,9 +1365,9 @@ The benefits of Zend_Translate are: %package Zend_Uri Summary: Zend_Uri Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.uri.html +URL: http://framework.zend.com/manual/1.12/en/zend.uri.html Requires: %{name} = %{version}-%{release} -Requires: php-ctype +Requires: php(ctype) %description Zend_Uri Zend_Uri is a component that aids in manipulating and validating @@ -1120,9 +1378,9 @@ as a standalone utility. %package Zend_Validate Summary: Zend_Validate Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.validate.html +URL: http://framework.zend.com/manual/1.12/en/zend.validate.html Requires: %{name} = %{version}-%{release} -Requires: php-ctype +Requires: php(ctype) %description Zend_Validate The Zend_Validate component provides a set of commonly needed @@ -1133,7 +1391,7 @@ user-defined order. %package Zend_Version Summary: Zend_Version Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.version.html +URL: http://framework.zend.com/manual/1.12/en/zend.version.html Requires: %{name} = %{version}-%{release} %description Zend_Version @@ -1143,7 +1401,7 @@ Framework. %package Zend_View Summary: Zend_View Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.view.html +URL: http://framework.zend.com/manual/1.12/en/zend.view.html Requires: %{name} = %{version}-%{release} %description Zend_View @@ -1162,7 +1420,7 @@ handing control over the view script, which generates the view output. %package Zend_Wildfire Summary: Zend_Wildfire Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.wildfire.html +URL: http://framework.zend.com/manual/1.12/en/zend.wildfire.html Requires: %{name} = %{version}-%{release} %description Zend_Wildfire @@ -1177,10 +1435,10 @@ Console (http://getfirebug.com/). %package Zend_XmlRpc Summary: Zend_XmlRpc Group: Development/Languages/PHP -URL: http://framework.zend.com/manual/en/zend.xmlrpc.html +URL: http://framework.zend.com/manual/1.12/en/zend.xmlrpc.html Requires: %{name} = %{version}-%{release} -Requires: php-dom -Requires: php-iconv +Requires: php(dom) +Requires: php(iconv) %description Zend_XmlRpc From its home page , XML-RPC is described as a @@ -1217,11 +1475,24 @@ Podręcznik do Zend Framework w języku angielskim. mv %{name}-%{version}/documentation . find '(' -name '*.php' -o -name '*.xml' ')' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,' %patch0 -p1 -cd library -%patch1 -p0 -cd - +%patch1 -p1 + +install -p %{SOURCE2} find-lang.sh + +sed -i -e 's,Zend/Serializer/Excception.php,Zend/Serializer/Exception.php,' library/Zend/Serializer/Adapter/PythonPickle.php -install %{SOURCE2} find-lang.sh +# cleanup backups after patching +find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f + +%build +%if %{with tests} +lint_php() { + for a in $(find library -name '*.php'); do + php -n -l $a + done +} +lint_php +%endif %install rm -rf $RPM_BUILD_ROOT @@ -1234,20 +1505,12 @@ cp -a demos/Zend/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} # pear(...) deps won't be satisifed that these libs use extensively. cp -a library/* $RPM_BUILD_ROOT%{php_pear_dir} -# copy Zend_Tool from incubator -cp -a incubator/library/Zend/Tool $RPM_BUILD_ROOT%{php_pear_dir}/Zend -cp -a incubator/bin/zf.php $RPM_BUILD_ROOT%{php_pear_dir}/bin - -# install missing files -install %{SOURCE3} $RPM_BUILD_ROOT%{php_pear_dir}/Zend/Tool/Framework/Manifest/Exception.php -install %{SOURCE4} $RPM_BUILD_ROOT%{php_pear_dir}/Zend/Tool/Framework/Provider/Exception.php -install %{SOURCE5} $RPM_BUILD_ROOT%{php_pear_dir}/Zend/Tool/Project/Resource.php - # create script in bindir +install -p bin/zf.php $RPM_BUILD_ROOT%{php_pear_dir}/bin cat >> $RPM_BUILD_ROOT%{_bindir}/zf <<-'EOF' #!/bin/sh cd %{php_pear_dir}/bin -exec /usr/bin/php -d Safe_mode=off zf.php ${1:+"$@"} +exec %{_bindir}/php -d safe_mode=off zf.php ${1:+"$@"} EOF ./find-lang.sh %{name}.lang @@ -1261,31 +1524,8 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc LICENSE.txt README.txt +%doc LICENSE.txt README.md %dir %{php_pear_dir}/Zend -%dir %{php_pear_dir}/Zend/Console -%dir %{php_pear_dir}/Zend/Search - -%dir %{php_pear_dir}/Zend/Server -%{php_pear_dir}/Zend/Server/Abstract.php -%{php_pear_dir}/Zend/Server/Exception.php -%{php_pear_dir}/Zend/Server/Interface.php -%{php_pear_dir}/Zend/Server/Definition.php -%dir %{php_pear_dir}/Zend/Server/Method -%{php_pear_dir}/Zend/Server/Method/Callback.php -%{php_pear_dir}/Zend/Server/Method/Definition.php -%{php_pear_dir}/Zend/Server/Method/Parameter.php -%{php_pear_dir}/Zend/Server/Method/Prototype.php - -%dir %{php_pear_dir}/Zend/Service -%{php_pear_dir}/Zend/Service/Abstract.php -%{php_pear_dir}/Zend/Service/Exception.php - -%dir %{php_pear_dir}/Zend/Request -%{php_pear_dir}/Zend/Request/Interface.php - -%{php_pear_dir}/Zend/TimeSync -%{php_pear_dir}/Zend/TimeSync.php %files Zend_Acl %defattr(644,root,root,755) @@ -1296,6 +1536,11 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %{php_pear_dir}/Zend/Amf +%files Zend_Application +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/Application +%{php_pear_dir}/Zend/Application.php + %files Zend_ProgressBar %defattr(644,root,root,755) %{php_pear_dir}/Zend/ProgressBar.php @@ -1306,6 +1551,11 @@ rm -rf $RPM_BUILD_ROOT %{php_pear_dir}/Zend/Auth %{php_pear_dir}/Zend/Auth.php +%files Zend_Barcode +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/Barcode +%{php_pear_dir}/Zend/Barcode.php + %files Zend_Cache %defattr(644,root,root,755) %{php_pear_dir}/Zend/Cache @@ -1318,6 +1568,23 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %{php_pear_dir}/Zend/Captcha +%files Zend_Cloud +%defattr(644,root,root,755) +%dir %{php_pear_dir}/Zend/Cloud +%{php_pear_dir}/Zend/Cloud/AbstractFactory.php +%{php_pear_dir}/Zend/Cloud/Exception.php +%{php_pear_dir}/Zend/Cloud/OperationNotAvailableException.php + +# subpackages? +%{php_pear_dir}/Zend/Cloud/DocumentService +%{php_pear_dir}/Zend/Cloud/Infrastructure +%{php_pear_dir}/Zend/Cloud/QueueService +%{php_pear_dir}/Zend/Cloud/StorageService + +%files Zend_CodeGenerator +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/CodeGenerator + %files Zend_Config %defattr(644,root,root,755) %{php_pear_dir}/Zend/Config @@ -1325,6 +1592,7 @@ rm -rf $RPM_BUILD_ROOT %files Zend_Console_Getopt %defattr(644,root,root,755) +%dir %{php_pear_dir}/Zend/Console %{php_pear_dir}/Zend/Console/Getopt %{php_pear_dir}/Zend/Console/Getopt.php @@ -1332,6 +1600,11 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %{php_pear_dir}/Zend/Controller +%files Zend_Crypt +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/Crypt +%{php_pear_dir}/Zend/Crypt.php + %files Zend_Currency %defattr(644,root,root,755) %{php_pear_dir}/Zend/Currency @@ -1364,6 +1637,13 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %{php_pear_dir}/Zend/Exception.php +%files Zend_EventManager +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/EventManager + +# package here, as for now only EventManager uses Stdlib classes +%{php_pear_dir}/Zend/Stdlib + %files Zend_Feed %defattr(644,root,root,755) %{php_pear_dir}/Zend/Feed @@ -1397,11 +1677,6 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %{php_pear_dir}/Zend/Http -%files Zend_InfoCard -%defattr(644,root,root,755) -%{php_pear_dir}/Zend/InfoCard -%{php_pear_dir}/Zend/InfoCard.php - %files Zend_Json %defattr(644,root,root,755) %{php_pear_dir}/Zend/Json @@ -1435,10 +1710,21 @@ rm -rf $RPM_BUILD_ROOT %dir %{php_pear_dir}/Zend/Locale/Data %{php_pear_dir}/Zend/Locale/Data/Translation.php %{php_pear_dir}/Zend/Locale/Data/characters.xml +%{php_pear_dir}/Zend/Locale/Data/coverageLevels.xml +%{php_pear_dir}/Zend/Locale/Data/dayPeriods.xml +%{php_pear_dir}/Zend/Locale/Data/genderList.xml +%{php_pear_dir}/Zend/Locale/Data/languageInfo.xml +%{php_pear_dir}/Zend/Locale/Data/likelySubtags.xml +%{php_pear_dir}/Zend/Locale/Data/metaZones.xml +%{php_pear_dir}/Zend/Locale/Data/numberingSystems.xml +%{php_pear_dir}/Zend/Locale/Data/ordinals.xml %{php_pear_dir}/Zend/Locale/Data/plurals.xml +%{php_pear_dir}/Zend/Locale/Data/postalCodeData.xml %{php_pear_dir}/Zend/Locale/Data/root.xml %{php_pear_dir}/Zend/Locale/Data/supplementalData.xml +%{php_pear_dir}/Zend/Locale/Data/supplementalMetadata.xml %{php_pear_dir}/Zend/Locale/Data/telephoneCodeData.xml +%{php_pear_dir}/Zend/Locale/Data/windowsZones.xml %files Zend_Log %defattr(644,root,root,755) @@ -1450,6 +1736,11 @@ rm -rf $RPM_BUILD_ROOT %{php_pear_dir}/Zend/Mail %{php_pear_dir}/Zend/Mail.php +%files Zend_Markup +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/Markup +%{php_pear_dir}/Zend/Markup.php + %files Zend_Measure %defattr(644,root,root,755) %{php_pear_dir}/Zend/Measure @@ -1464,6 +1755,22 @@ rm -rf $RPM_BUILD_ROOT %{php_pear_dir}/Zend/Mime %{php_pear_dir}/Zend/Mime.php +%files Zend_Mobile_Push +%defattr(644,root,root,755) +%dir %{php_pear_dir}/Zend/Mobile +%{php_pear_dir}/Zend/Mobile/Exception.php +%{php_pear_dir}/Zend/Mobile/Push + +%files Zend_Navigation +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/Navigation +%{php_pear_dir}/Zend/Navigation.php + +%files Zend_Oauth +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/Oauth +%{php_pear_dir}/Zend/Oauth.php + %files Zend_OpenId %defattr(644,root,root,755) %{php_pear_dir}/Zend/OpenId @@ -1479,6 +1786,15 @@ rm -rf $RPM_BUILD_ROOT %{php_pear_dir}/Zend/Pdf %{php_pear_dir}/Zend/Pdf.php +%files Zend_Queue +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/Queue +%{php_pear_dir}/Zend/Queue.php + +%files Zend_Reflection +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/Reflection + %files Zend_Registry %defattr(644,root,root,755) %{php_pear_dir}/Zend/Registry.php @@ -1489,15 +1805,43 @@ rm -rf $RPM_BUILD_ROOT %files Zend_Search_Lucene %defattr(644,root,root,755) +%dir %{php_pear_dir}/Zend/Search %{php_pear_dir}/Zend/Search/Exception.php %{php_pear_dir}/Zend/Search/Lucene %{php_pear_dir}/Zend/Search/Lucene.php +%files Zend_Serializer +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/Serializer +%{php_pear_dir}/Zend/Serializer.php + +%files Zend_Server +%defattr(644,root,root,755) +%dir %{php_pear_dir}/Zend/Server +%{php_pear_dir}/Zend/Server/Abstract.php +%{php_pear_dir}/Zend/Server/Exception.php +%{php_pear_dir}/Zend/Server/Interface.php +%{php_pear_dir}/Zend/Server/Definition.php +%dir %{php_pear_dir}/Zend/Server/Method +%{php_pear_dir}/Zend/Server/Method/Callback.php +%{php_pear_dir}/Zend/Server/Method/Definition.php +%{php_pear_dir}/Zend/Server/Method/Parameter.php +%{php_pear_dir}/Zend/Server/Method/Prototype.php + %files Zend_Server_Reflection %defattr(644,root,root,755) %{php_pear_dir}/Zend/Server/Reflection %{php_pear_dir}/Zend/Server/Reflection.php +%files Zend_Service +%defattr(644,root,root,755) +%dir %{php_pear_dir}/Zend/Service +%{php_pear_dir}/Zend/Service/Abstract.php +%{php_pear_dir}/Zend/Service/Exception.php + +# subpackage? +%{php_pear_dir}/Zend/Service/Console + %files Zend_Service_Akismet %defattr(644,root,root,755) %{php_pear_dir}/Zend/Service/Akismet.php @@ -1509,6 +1853,7 @@ rm -rf $RPM_BUILD_ROOT %files Zend_Service_Audioscrobbler %defattr(644,root,root,755) +%{php_pear_dir}/Zend/Service/Audioscrobbler %{php_pear_dir}/Zend/Service/Audioscrobbler.php %files Zend_Service_Delicious @@ -1516,31 +1861,46 @@ rm -rf $RPM_BUILD_ROOT %{php_pear_dir}/Zend/Service/Delicious %{php_pear_dir}/Zend/Service/Delicious.php +%files Zend_Service_DeveloperGarden +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/Service/DeveloperGarden + +%files Zend_Service_Ebay +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/Service/Ebay + %files Zend_Service_Flickr %defattr(644,root,root,755) %{php_pear_dir}/Zend/Service/Flickr %{php_pear_dir}/Zend/Service/Flickr.php -%files Zend_Service_Nirvanix +%files Zend_Service_LiveDocx +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/Service/LiveDocx +%{php_pear_dir}/Zend/Service/LiveDocx.php + +%files Zend_Service_Rackspace %defattr(644,root,root,755) -%{php_pear_dir}/Zend/Service/Nirvanix -%{php_pear_dir}/Zend/Service/Nirvanix.php +%{php_pear_dir}/Zend/Service/Rackspace %files Zend_Service_ReCaptcha %defattr(644,root,root,755) %{php_pear_dir}/Zend/Service/ReCaptcha %{php_pear_dir}/Zend/Service/ReCaptcha.php -%files Zend_Service_Simpy +%files Zend_Service_ShortUrl %defattr(644,root,root,755) -%{php_pear_dir}/Zend/Service/Simpy -%{php_pear_dir}/Zend/Service/Simpy.php +%{php_pear_dir}/Zend/Service/ShortUrl %files Zend_Service_SlideShare %defattr(644,root,root,755) %{php_pear_dir}/Zend/Service/SlideShare %{php_pear_dir}/Zend/Service/SlideShare.php +%files Zend_Service_SqlAzure +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/Service/SqlAzure + %files Zend_Service_StrikeIron %defattr(644,root,root,755) %{php_pear_dir}/Zend/Service/StrikeIron @@ -1556,6 +1916,10 @@ rm -rf $RPM_BUILD_ROOT %{php_pear_dir}/Zend/Service/Twitter %{php_pear_dir}/Zend/Service/Twitter.php +%files Zend_Service_WindowsAzure +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/Service/WindowsAzure + %files Zend_Service_Yahoo %defattr(644,root,root,755) %{php_pear_dir}/Zend/Service/Yahoo @@ -1570,6 +1934,10 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %{php_pear_dir}/Zend/Soap +%files Zend_Tag +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/Tag + %files Zend_Text %defattr(644,root,root,755) %{php_pear_dir}/Zend/Text @@ -1578,6 +1946,11 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %{php_pear_dir}/Zend/Test +%files Zend_TimeSync +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/TimeSync +%{php_pear_dir}/Zend/TimeSync.php + %files Zend_Tool %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/zf @@ -1616,6 +1989,10 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %{php_pear_dir}/Zend/XmlRpc +%dir %{php_pear_dir}/Zend/Xml +%{php_pear_dir}/Zend/Xml/Exception.php +%{php_pear_dir}/Zend/Xml/Security.php + %files demos %defattr(644,root,root,755) %{_examplesdir}/%{name}-%{version}