X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=ZendFramework.spec;h=5a9218c49218181646b9e20621591fbeed4187fc;hb=bb1124ea3891fd4747dea53f2b221268df2dbe6d;hp=6010b1afdd1593aeeb5ce5b1a97952305226a748;hpb=07279f88cbad10431d765e0cb852c3dce40bcd61;p=packages%2FZendFramework.git diff --git a/ZendFramework.spec b/ZendFramework.spec index 6010b1a..5a9218c 100644 --- a/ZendFramework.spec +++ b/ZendFramework.spec @@ -1,28 +1,50 @@ +# +# Conditional build: +%bcond_without tests # do not perform "make test" + # TODO -# - sumaries for subpackages -# - dependencies +# - 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) %include /usr/lib/rpm/macros.php Summary: Zend Framework Summary(pl.UTF-8): Szkielet Zend Name: ZendFramework -Version: 1.6.1 +Version: 1.11.12 Release: 1 License: New BSD License Group: Development/Languages/PHP -Source0: http://framework.zend.com/releases/%{name}-%{version}/ZendFramework-%{version}.tar.gz -# Source0-md5: 1f41af0cc0f13ea436c6d7f0e2e76923 +Source0: http://framework.zend.com/releases/%{name}-%{version}/%{name}-%{version}.tar.gz +# Source0-md5: 733dbac01e202b94437ada154bee64ce +Source1: http://framework.zend.com/releases/%{name}-%{version}/%{name}-%{version}-manual-en.tar.gz +# Source1-md5: 134eb187573d9e4970a133fb11048085 +Source2: %{name}-find-lang.sh +Patch0: %{name}-additional-locales.patch +Patch1: %{name}-deps.patch URL: http://framework.zend.com/ +BuildRequires: /usr/bin/php BuildRequires: rpm-php-pearprov >= 4.4.2-11 -Requires: php-common >= 4:5.1.4 -Requires: php-ctype -Requires: php-hash -Requires: php-iconv -Requires: php-pcre -Requires: php-pdo +BuildRequires: sed >= 4.0 +Requires: php-common >= 4:5.2.4 +Requires: php-pear +Requires: rpm-whiteout >= 1.32 Obsoletes: ZendFramework-doc BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +# bad depsolver +%define _noautopear pear(../application/bootstrap.php) + +# bad code +%define _bad_deps_1_10 pear(Zend/Pdf/FileParser/Image/Jpeg.php) pear(Zend/Pdf/FileParser/Image/Tiff.php) +%define _bad_deps_1_10_2 pear(Zend/Serializer/Excception.php) pear(Zend/Services/DeveloperGarden/Response/Exception.php) +%define _noautodeps %{?_bad_deps_1_10} %{?_bad_deps_1_10_2} + +# 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 developing Web Applications and Web Services. @@ -40,7 +62,8 @@ użyciu i potężną funkcjonalność. Udostępnia rozwiązania do tworzenia nowoczesnych, bogatych i bezpiecznych serwisów WWW. %package Zend_Acl -Summary: Zend_Acl +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 Requires: %{name} = %{version}-%{release} @@ -51,28 +74,101 @@ functionality and privileges management. In general, an application may utilize such functionality to control access to certain protected objects by other requesting objects. +%description Zend_Acl -l pl.UTF-8 +Zend_Acl udostępnia lekkie i elastyczne listy kontroli dostępu (ACL) +oraz zarządzanie uprawnieniami. W ogólności aplikacje mogą +wykorzystywać te funkcje do kontroli dostępu do określonych +chronionych obiektów przez inne obiekty. + +%package Zend_Amf +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 +Requires: %{name} = %{version}-%{release} + +%description Zend_Amf +Zend_Amf provides support for Adobe's Action Message Format (AMF), to +allow communication between Adobe's Flash Player and PHP. +Specifically, it provides a gateway server implementation for handling +requests sent from the Flash Player to the server and mapping these +requests to object and class methods and arbitrary callbacks. + +%description Zend_Amf -l pl.UTF-8 +Zend_Amf dodaje obsługę formatu Adobe Action Message Format (AMF), +pozwalającego na komunikację między Adobe Flash Playerem a PHP. W +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/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 +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 Requires: %{name} = %{version}-%{release} +Requires: php-ctype +# Zend_Auth_Adapter_Http has hard dependency on hash %description Zend_Auth Zend_Auth provides an API for authentication and includes concrete authentication adapters for common use case scenarios. +%description Zend_Auth -l pl.UTF-8 +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/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 +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 Requires: %{name} = %{version}-%{release} +# Zend_Cache_Backend_Apc hard dep on php-pecl-APC %description Zend_Cache Zend_Cache provides a flexible approach toward caching data, including support for tagging, manipulating, iterating, and removing subsets. +%description Zend_Cache -l pl.UTF-8 +Zend_Cache zapewnia elastyczną pamięć podręczną dla danych z obsługą +oznaczania, modyfikowania, iterowania i usuwania podzbiorów. + %package Zend_Captcha -Summary: Zend_Captcha +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 Requires: %{name} = %{version}-%{release} @@ -89,8 +185,43 @@ asking how they relate. Zend_Captcha aims to provide a variety of backends that may be utilized either standalone or in conjunction with Zend_Form. +%description Zend_Captcha -l pl.UTF-8 +CAPTCHA (Completely Automated Turing test to tell Computers and Humans +Apart) to oparta na pytaniu i odpowiedzi metoda upewnienia się, że +wysyłający informację jest człowiekiem, a nie zautomatyzowanym +procesem. Zwykle captcha używa się tam, gdzie formularze są wywyłane +bez uwierzytelniania, ale chcemy zapobiec wysyłaniu spamu. Mają różne +postaci, np. zadawanie pytań logicznych, pokazywanie wykrzywionych +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/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/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 +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 Requires: %{name} = %{version}-%{release} @@ -99,8 +230,13 @@ Requires: %{name} = %{version}-%{release} Zend_Config is designed to simplify access to and use of configuration data within applications. +%description Zend_Config -l pl.UTF-8 +Zend_Config ma na celu ułatwienie dostępu i używania danych +konfiguracyjnych w aplikacjach. + %package Zend_Console_Getopt -Summary: Zend_Console_Getopt +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 Requires: %{name} = %{version}-%{release} @@ -109,8 +245,13 @@ Requires: %{name} = %{version}-%{release} The Zend_Console_Getopt class helps command-line applications to parse their options and arguments. +%description Zend_Console_Getopt -l pl.UTF-8 +Klasa Zend_Console_Getopt pomaga aplikacjom linii poleceń w analizie +opcji i argumentów. + %package Zend_Controller -Summary: Zend_Controller +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 Requires: %{name} = %{version}-%{release} @@ -120,11 +261,28 @@ Zend_Controller is the heart of Zend Framework's MVC system. MVC stands for Model-View-Controller and is a design pattern targeted at separating application logic from display logic. +%description Zend_Controller -l pl.UTF-8 +Zend_Controller to podstawa systemu MVC szkieletu Zend. MVC oznacza +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/en/zend.crypt.html +Requires: %{name} = %{version}-%{release} + +%description Zend_Crypt +Zend_Crypt + %package Zend_Currency -Summary: 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 Requires: %{name} = %{version}-%{release} +Requires: php-iconv %description Zend_Currency Zend_Currency is part of the I18N core of the Zend_Framework. It @@ -133,8 +291,16 @@ formating. And it also provides additional informational methods which include localized informations on currencies, informations about which currency is used in which region and more. +%description Zend_Currency -l pl.UTF-8 +Zend_Currency to część rdzenia I18N szkieletu Zend. Obsługuje +wszystkie zawiłości związane z walutami, reprezentacją i formatowaniem +jednostek monetarnych. Zawiera także dodatkowe metody informacyjne +zawierające zlokalizowane informacje o walutach, regionach, w których +są używane itp. + %package Zend_Date -Summary: Zend_Date +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 Requires: %{name} = %{version}-%{release} @@ -146,6 +312,12 @@ information, including date parts, in numerous combinations yielding many features and possibilities above and beyond the existing PHP date related functions. +%description Zend_Date -l pl.UTF-8 +Komponent Zend_Date oferuje szczegółowe, ale proste API do operacji na +dacie i czasie. Metody przyjmują szeroki zakres typów informacji, w +tym części daty w różnych kombinacjach wykraczających poza funkcje +obróbki daty istniejące w PHP. + %package Zend_Db Summary: Zend_Db Group: Development/Languages/PHP @@ -236,6 +408,8 @@ Summary: Zend_Feed Group: Development/Languages/PHP URL: http://framework.zend.com/manual/en/zend.feed.html Requires: %{name} = %{version}-%{release} +Requires: php-dom +Requires: php-mbstring %description Zend_Feed Zend_Feed provides functionality for consuming RSS and Atom feeds. It @@ -303,6 +477,8 @@ Summary: Zend_Gdata Group: Development/Languages/PHP URL: http://framework.zend.com/manual/en/zend.gdata.html Requires: %{name} = %{version}-%{release} +Requires: php-ctype +Requires: php-dom %description Zend_Gdata Zend_Gdata component is a interface for accessing Google Data from @@ -319,6 +495,8 @@ Summary: Zend_Http Group: Development/Languages/PHP URL: http://framework.zend.com/manual/en/zend.http.html Requires: %{name} = %{version}-%{release} +Requires: php-ctype +# Zend_Http_Client_Adapter_Curl has hard dependency on curl %description Zend_Http Zend_Http component provides a client for the HTTP protocol. It @@ -415,6 +593,7 @@ Summary: Zend_Locale Group: Development/Languages/PHP URL: http://framework.zend.com/manual/en/zend.locale.html Requires: %{name} = %{version}-%{release} +Requires: php-iconv %description Zend_Locale Zend_Locale is the Framework's answer to the question, "How can the @@ -430,6 +609,7 @@ Summary: Zend_Log Group: Development/Languages/PHP URL: http://framework.zend.com/manual/en/zend.log.html Requires: %{name} = %{version}-%{release} +# Zend_Log_Formatter_Xml has hard dependency on dom %description Zend_Log Zend_Log is a component for general purpose logging. It supports @@ -462,6 +642,24 @@ 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/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 @@ -497,15 +695,50 @@ Summary: Zend_Mime Group: Development/Languages/PHP URL: http://framework.zend.com/manual/en/zend.mime.html Requires: %{name} = %{version}-%{release} +Requires: php-iconv %description Zend_Mime Zend_Mime is a support class for handling multipart MIME messages. +%package Zend_Navigation +Summary: Zend_Navigation - manage trees of pointers to web page +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/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/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 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 @@ -535,6 +768,10 @@ Summary: Zend_Pdf Group: Development/Languages/PHP URL: http://framework.zend.com/manual/en/zend.pdf.html Requires: %{name} = %{version}-%{release} +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 @@ -558,6 +795,60 @@ Zend_Pdf module supports the following features: images are supported). - Incremental PDF file update. +%package Zend_ProgressBar +Summary: Zend_ProgressBar +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/en/zend.progressbar.html +Requires: %{name} = %{version}-%{release} + +%description Zend_ProgressBar +Zend_ProgressBar is a component to create and update progressbars in +different environments. It consists of a single backend, which outputs +the progress through one of the multiple adapters. On every update, it +takes an absolute value and optionally a status message, and then +calls the adapter with some precalculated values like percentage and +estimated time left. + +%package Zend_Queue +Summary: Zend_Queue +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/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/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 @@ -575,6 +866,8 @@ Summary: Zend_Rest Group: Development/Languages/PHP URL: http://framework.zend.com/manual/en/zend.rest.html Requires: %{name} = %{version}-%{release} +Requires: php-ctype +Requires: php-dom %description Zend_Rest REST Web Services use service-specific XML formats. These ad-hoc @@ -590,6 +883,9 @@ Summary: Zend_Search_Lucene Group: Development/Languages/PHP URL: http://framework.zend.com/manual/en/zend.search.lucene.html Requires: %{name} = %{version}-%{release} +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 @@ -603,6 +899,28 @@ 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/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/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 @@ -617,6 +935,16 @@ 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/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 @@ -646,6 +974,7 @@ Summary: Zend_Service_Amazon Group: Development/Languages/PHP URL: http://framework.zend.com/manual/en/zend.service.amazon.html Requires: %{name} = %{version}-%{release} +Requires: php-dom %description Zend_Service_Amazon Zend_Service_Amazon is a simple API for using Amazon web services. @@ -662,6 +991,7 @@ Summary: Zend_Service_Audioscrobbler Group: Development/Languages/PHP URL: http://framework.zend.com/manual/en/zend.service.audioscrobbler.html Requires: %{name} = %{version}-%{release} +Requires: php-iconv %description Zend_Service_Audioscrobbler Zend_Service_Audioscrobbler is a simple API for using the @@ -674,6 +1004,7 @@ Summary: Zend_Service_Delicious Group: Development/Languages/PHP URL: http://framework.zend.com/manual/en/zend.service.delicious.html Requires: %{name} = %{version}-%{release} +Requires: php-dom %description Zend_Service_Delicious Zend_Service_Delicious is simple API for using del.icio.us XML and @@ -681,17 +1012,64 @@ 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/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/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 Requires: %{name} = %{version}-%{release} +Requires: php-dom +Requires: php-iconv %description Zend_Service_Flickr Zend_Service_Flickr is a simple API for using the Flickr REST Web Service. In order to use the Flickr web services, you must have an API key. To obtain a key, visit the Flickr API Documentation -(http://www.flickr.com/services/api/). +. + +%package Zend_Service_LiveDocx +Summary: Zend_Service_LiveDocx +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/en/zend.service.livedocx.html +Requires: %{name} = %{version}-%{release} + +%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_Nirvanix Summary: Zend_Service_Nirvanix @@ -739,11 +1117,27 @@ 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_ShortUrl +Summary: Zend_Service_ShortUrl +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/en/zend.service.short-url.html +Requires: %{name} = %{version}-%{release} + +%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. + +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_Simpy Summary: Zend_Service_Simpy Group: Development/Languages/PHP URL: http://framework.zend.com/manual/en/zend.service.simpy.html Requires: %{name} = %{version}-%{release} +Requires: php-dom %description Zend_Service_Simpy Zend_Service_Simpy is a lightweight wrapper for the free REST API @@ -817,11 +1211,39 @@ you first need to create a new Technorati account (http://technorati.com/signup/), then visit the API Key section (http://technorati.com/developers/apikey.html). +%package Zend_Service_Twitter +Summary: Zend_Service_Twitter +Group: Development/Languages/PHP +URL: http://framework.zend.com/manual/en/zend.service.technorati.html +Requires: %{name} = %{version}-%{release} + +%description Zend_Service_Twitter +Zend_Service_Twitter provides a client for the Twitter REST API. +Zend_Service_Twitter will allow you to query the public timeline and +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/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 Requires: %{name} = %{version}-%{release} +Requires: php-dom %description Zend_Service_Yahoo Zend_Service_Yahoo is a simple API for using many of the Yahoo! REST @@ -855,6 +1277,19 @@ Requires: %{name} = %{version}-%{release} 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/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 @@ -877,6 +1312,31 @@ Requires: %{name} = %{version}-%{release} 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/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 +URL: http://framework.zend.com/wiki/display/ZFDEV/Zend_Tool +Requires: %{name} = %{version}-%{release} +Requires: /usr/bin/php + +%description Zend_Tool +Zend_Tool component is intended to simplify project development for +PHP programmers. + +Please note that this component is part of Zend Framework incubator. + %package Zend_Translate Summary: Zend_Translate Group: Development/Languages/PHP @@ -911,6 +1371,7 @@ Summary: Zend_Uri Group: Development/Languages/PHP URL: http://framework.zend.com/manual/en/zend.uri.html Requires: %{name} = %{version}-%{release} +Requires: php-ctype %description Zend_Uri Zend_Uri is a component that aids in manipulating and validating @@ -923,6 +1384,7 @@ Summary: Zend_Validate Group: Development/Languages/PHP URL: http://framework.zend.com/manual/en/zend.validate.html Requires: %{name} = %{version}-%{release} +Requires: php-ctype %description Zend_Validate The Zend_Validate component provides a set of commonly needed @@ -979,9 +1441,11 @@ Summary: Zend_XmlRpc Group: Development/Languages/PHP URL: http://framework.zend.com/manual/en/zend.xmlrpc.html Requires: %{name} = %{version}-%{release} +Requires: php-dom +Requires: php-iconv %description Zend_XmlRpc -From its home page (http://www.xmlrpc.com/), XML-RPC is described as a +From its home page , XML-RPC is described as a "...remote procedure calling using HTTP as the transport and XML as the encoding. XML-RPC is designed to be as simple as possible, while allowing complex data structures to be transmitted, processed and @@ -999,17 +1463,66 @@ Demos for Zend Framework. %description demos -l pl.UTF-8 Programy demonstracyjne dla szkieletu Zend Framework. +%package manual-en +Summary: Zend Framework manual in English language +Summary(pl.UTF-8): Podręcznik do Zend Framework w języku angielskim +Group: Documentation + +%description manual-en +Zend Framework manual in English language. + +%description manual-en -l pl.UTF-8 +Podręcznik do Zend Framework w języku angielskim. + %prep -%setup -q +%setup -q -a1 +mv %{name}-%{version}/documentation . +find '(' -name '*.php' -o -name '*.xml' ')' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,' +%patch0 -p1 +%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 + +# 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 -install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{php_pear_dir}} +install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{php_pear_dir}/bin} +install -d $RPM_BUILD_ROOT%{_bindir} cp -a demos/Zend/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} # library should be in include_path if used, so we use already defined %{php_pear_dir} +# NOTE: we could use %{php_data_dir} as of php-common-4:5.2.8-3, but then +# pear(...) deps won't be satisifed that these libs use extensively. cp -a library/* $RPM_BUILD_ROOT%{php_pear_dir} +# 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 %{_bindir}/php -d safe_mode=off zf.php ${1:+"$@"} +EOF + +./find-lang.sh %{name}.lang + +# manual +install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-en +cp -a documentation/manual/core/en/* $RPM_BUILD_ROOT%{_docdir}/%{name}-en + %clean rm -rf $RPM_BUILD_ROOT @@ -1017,43 +1530,64 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc LICENSE.txt README.txt %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 - -%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) %{php_pear_dir}/Zend/Acl %{php_pear_dir}/Zend/Acl.php +%files Zend_Amf +%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 +%{php_pear_dir}/Zend/ProgressBar + %files Zend_Auth %defattr(644,root,root,755) %{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 %{php_pear_dir}/Zend/Cache.php +# Zend_Server_Cache subpackage? +# but not listed as separate component on doc +%{php_pear_dir}/Zend/Server/Cache.php %files Zend_Captcha %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/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 @@ -1061,6 +1595,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 @@ -1068,6 +1603,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 @@ -1113,7 +1653,6 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %{php_pear_dir}/Zend/Filter %{php_pear_dir}/Zend/Filter.php -#??? %exclude %{php_pear_dir}/Zend/Filter/Input.php %files Zend_Filter_Input @@ -1159,10 +1698,26 @@ rm -rf $RPM_BUILD_ROOT %{php_pear_dir}/Zend/Loader %{php_pear_dir}/Zend/Loader.php -%files Zend_Locale +%files Zend_Locale -f %{name}.lang %defattr(644,root,root,755) -%{php_pear_dir}/Zend/Locale +%dir %{php_pear_dir}/Zend/Locale %{php_pear_dir}/Zend/Locale.php +%{php_pear_dir}/Zend/Locale/Exception.php +%{php_pear_dir}/Zend/Locale/Format.php +%{php_pear_dir}/Zend/Locale/Math.php +%{php_pear_dir}/Zend/Locale/Math + +%{php_pear_dir}/Zend/Locale/Data.php +%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/likelySubtags.xml +%{php_pear_dir}/Zend/Locale/Data/metazoneInfo.xml +%{php_pear_dir}/Zend/Locale/Data/numberingSystems.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/telephoneCodeData.xml %files Zend_Log %defattr(644,root,root,755) @@ -1174,6 +1729,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 @@ -1188,6 +1748,16 @@ rm -rf $RPM_BUILD_ROOT %{php_pear_dir}/Zend/Mime %{php_pear_dir}/Zend/Mime.php +%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 @@ -1203,6 +1773,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 @@ -1213,15 +1792,40 @@ 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 + %files Zend_Service_Akismet %defattr(644,root,root,755) %{php_pear_dir}/Zend/Service/Akismet.php @@ -1233,6 +1837,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 @@ -1240,11 +1845,24 @@ 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_LiveDocx +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/Service/LiveDocx +%{php_pear_dir}/Zend/Service/LiveDocx.php + %files Zend_Service_Nirvanix %defattr(644,root,root,755) %{php_pear_dir}/Zend/Service/Nirvanix @@ -1255,6 +1873,10 @@ rm -rf $RPM_BUILD_ROOT %{php_pear_dir}/Zend/Service/ReCaptcha %{php_pear_dir}/Zend/Service/ReCaptcha.php +%files Zend_Service_ShortUrl +%defattr(644,root,root,755) +%{php_pear_dir}/Zend/Service/ShortUrl + %files Zend_Service_Simpy %defattr(644,root,root,755) %{php_pear_dir}/Zend/Service/Simpy @@ -1275,6 +1897,15 @@ rm -rf $RPM_BUILD_ROOT %{php_pear_dir}/Zend/Service/Technorati %{php_pear_dir}/Zend/Service/Technorati.php +%files Zend_Service_Twitter +%defattr(644,root,root,755) +%{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 @@ -1289,6 +1920,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 @@ -1297,6 +1932,17 @@ 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 +%{php_pear_dir}/bin/zf.php +%{php_pear_dir}/Zend/Tool + %files Zend_Translate %defattr(644,root,root,755) %{php_pear_dir}/Zend/Translate @@ -1332,3 +1978,7 @@ rm -rf $RPM_BUILD_ROOT %files demos %defattr(644,root,root,755) %{_examplesdir}/%{name}-%{version} + +%files manual-en +%defattr(644,root,root,755) +%doc %{_docdir}/%{name}-en