#
+# 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.0)
-#
+# 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.10.1
+Version: 1.12.6
Release: 1
License: New BSD License
Group: Development/Languages/PHP
Source0: http://framework.zend.com/releases/%{name}-%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: ddbf31a53052295464c03bac0c603623
+# Source0-md5: 2c237b2d6bdf56520c9323ff66539933
Source1: http://framework.zend.com/releases/%{name}-%{version}/%{name}-%{version}-manual-en.tar.gz
-# Source1-md5: 4dde42c8869cd36fae433a4fb10fb391
+# Source1-md5: 9daeab6f4cdf32d249f9c210535b25ae
Source2: %{name}-find-lang.sh
Patch0: %{name}-additional-locales.patch
Patch1: %{name}-deps.patch
-Patch2: ZF-5750-pjpeg.patch
URL: http://framework.zend.com/
BuildRequires: /usr/bin/php
-BuildRequires: php-pecl-runkit
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: php(core) >= %{php_min_version}
Requires: php-pear
-Requires: rpm-whiteout >= 1.12
+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)' 'pear(Zend/Pdf/FileParser/Image/Tiff.php)' 'pear(Zend/Pdf/FileParser/Image/Jpeg.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
Group: Development/Languages/PHP
URL: http://framework.zend.com/manual/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
%package Zend_Barcode
Summary: Zend_Barcode - barcode generator
-Summary(pl.UTF_8): Zend_Barcode - generator kodów kreskowych
+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}
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
Group: Development/Languages/PHP
URL: http://framework.zend.com/manual/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
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/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
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
Group: Development/Languages/PHP
URL: http://framework.zend.com/manual/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
Group: Development/Languages/PHP
URL: http://framework.zend.com/manual/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
Group: Development/Languages/PHP
URL: http://framework.zend.com/manual/en/zend.locale.html
Requires: %{name} = %{version}-%{release}
-Requires: php-iconv
+Requires: php(iconv)
%description Zend_Locale
Zend_Locale is the Framework's answer to the question, "How can the
Group: Development/Languages/PHP
URL: http://framework.zend.com/manual/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/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
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
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
+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
Group: Development/Languages/PHP
URL: http://framework.zend.com/manual/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
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
+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
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
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
Group: Development/Languages/PHP
URL: http://framework.zend.com/manual/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.
Group: Development/Languages/PHP
URL: http://framework.zend.com/manual/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
Group: Development/Languages/PHP
URL: http://framework.zend.com/manual/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
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
+Requires: php(dom)
+Requires: php(iconv)
%description Zend_Service_Flickr
Zend_Service_Flickr is a simple API for using the Flickr REST Web
After registering, you will receive a Username, Password, and
Application Key. All three are required to use Zend_Service_Nirvanix.
+%package Zend_Service_Rackspace
+Summary: Zend_Service_Rackspace
+Group: Development/Languages/PHP
+URL: http://framework.zend.com/manual/en/zend.service.rackspace.html
+Requires: %{name} = %{version}-%{release}
+
+%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
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
+Requires: php(dom)
%description Zend_Service_Simpy
Zend_Service_Simpy is a lightweight wrapper for the free REST API
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
Group: Development/Languages/PHP
URL: http://framework.zend.com/manual/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
Group: Development/Languages/PHP
URL: http://framework.zend.com/manual/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/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
Group: Development/Languages/PHP
URL: http://framework.zend.com/manual/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
Group: Development/Languages/PHP
URL: http://framework.zend.com/manual/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
Group: Development/Languages/PHP
URL: http://framework.zend.com/manual/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 <http://www.xmlrpc.com/>, XML-RPC is described as a
find '(' -name '*.php' -o -name '*.xml' ')' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,'
%patch0 -p1
%patch1 -p1
-%patch2 -p0
-install %{SOURCE2} find-lang.sh
+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
-# check *.php files syntax using runkit extension
+%if %{with tests}
lint_php() {
- php -r '
- $errors = 0;
- array_shift($argv);
- echo "Checking syntax of ", count($argv), " PHP files";
- foreach ($argv as $file) {
- echo ".";
- if (!runkit_lint_file($file)) {
- echo "PHP Lint: $file\n";
- $errors++;
- }
- }
- echo "\nDONE!\n";
- exit($errors ? 1 : 0);
- ' $(find library -name '*.php')
+ for a in $(find library -name '*.php'); do
+ php -n -l $a
+ done
}
lint_php
+%endif
%install
rm -rf $RPM_BUILD_ROOT
cp -a library/* $RPM_BUILD_ROOT%{php_pear_dir}
# create script in bindir
-cp -a bin/zf.php $RPM_BUILD_ROOT%{php_pear_dir}/bin
+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
%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
-
-%{php_pear_dir}/Zend/TimeSync
-%{php_pear_dir}/Zend/TimeSync.php
%files Zend_Acl
%defattr(644,root,root,755)
%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_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
%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
%defattr(644,root,root,755)
%{php_pear_dir}/Zend/Http
+%if 0
%files Zend_InfoCard
%defattr(644,root,root,755)
%{php_pear_dir}/Zend/InfoCard
%{php_pear_dir}/Zend/InfoCard.php
+%endif
%files Zend_Json
%defattr(644,root,root,755)
%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/metazoneInfo.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)
%{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
%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
%{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
%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/LiveDocx
%{php_pear_dir}/Zend/Service/LiveDocx.php
+%if 0
%files Zend_Service_Nirvanix
%defattr(644,root,root,755)
%{php_pear_dir}/Zend/Service/Nirvanix
%{php_pear_dir}/Zend/Service/Nirvanix.php
+%endif
+
+%files Zend_Service_Rackspace
+%defattr(644,root,root,755)
+%{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_ShortUrl
+%defattr(644,root,root,755)
+%{php_pear_dir}/Zend/Service/ShortUrl
+
+%if 0
%files Zend_Service_Simpy
%defattr(644,root,root,755)
%{php_pear_dir}/Zend/Service/Simpy
%{php_pear_dir}/Zend/Service/Simpy.php
+%endif
%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
%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
%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}