/[packages]/cauldron/php-ZendFramework/current/SPECS/php-ZendFramework.spec
ViewVC logotype

Annotation of /cauldron/php-ZendFramework/current/SPECS/php-ZendFramework.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 333599 - (hide annotations) (download)
Fri Dec 21 04:34:54 2012 UTC (11 years, 3 months ago) by spuhler
File size: 11839 byte(s)
upgrade to 1.12.1
1 spuhler 44585 %undefine __find_provides
2     %undefine __find_requires
3    
4     %define php_name ZendFramework
5    
6     Summary: Leading open-source PHP framework
7     Name: php-ZendFramework
8 spuhler 333599 Version: 1.12.1
9 spuhler 44585 Release: %mkrel 1
10     License: BSD
11     Group: Development/PHP
12     URL: http://framework.zend.com/
13     Source0: http://framework.zend.com/releases/%{php_name}-%{version}/%{php_name}-%{version}.tar.gz
14 misc 80787 Requires: php
15 spuhler 44585 Requires: php-bcmath
16     Requires: php-ctype
17     Requires: php-curl
18     Requires: php-dom
19     Requires: php-fileinfo
20     Requires: php-hash
21     Requires: php-iconv
22     Requires: php-json
23     Requires: php-pcre
24     Requires: php-pdo
25     Requires: php-posix
26     Requires: php-session
27     Requires: php-simplexml
28     Requires: php-xml
29     Requires: php-zlib
30     BuildArch: noarch
31    
32     %description
33     Extending the art & spirit of PHP, Zend Framework is based on simplicity,
34     object-oriented best practices, corporate friendly licensing, and a rigorously
35     tested agile codebase. Zend Framework is focused on building more secure,
36     reliable, and modern Web 2.0 applications & web services, and consuming widely
37     available APIs from leading vendors like Google, Amazon, Yahoo!, Flickr, as
38     well as API providers and catalogers like StrikeIron and ProgrammableWeb.
39    
40     %package demos
41     Summary: Demos for the Zend Framework
42     Group: Development/PHP
43     Requires: %{name} = %{version}-%{release}
44    
45     %description demos
46     This package includes Zend Framework demos for the Feeds, Gdata, Mail, OpenId,
47     Pdf, Search-Lucene and Services subpackages.
48    
49     %package tests
50     Summary: Unit tests for the Zend Framework
51     Group: Development/PHP
52     Requires: %{name} = %{version}-%{release}
53     Requires: php-pear-PHPUnit >= 3.0.0
54     Requires: php-channel-phpunit
55     Requires: fonts-ttf-bitstream-vera
56     BuildRequires: fonts-ttf-bitstream-vera
57    
58     %description tests
59     This package includes Zend Framework unit tests for all available subpackages.
60    
61     %package extras
62     Summary: Zend Framework Extras (ZendX)
63     Group: Development/PHP
64     Requires: %{name} = %{version}-%{release}
65     Provides: %{name}-ZendX = %{version}-%{release}
66    
67     %description extras
68     This package includes the ZendX libraries.
69    
70     %package Cache-Backend-Apc
71     Summary: Zend Framework APC cache backend
72     Group: Development/PHP
73     Requires: %{name} = %{version}-%{release}
74     Requires: php-apc
75    
76     %description Cache-Backend-Apc
77     This package contains the backend for Zend_Cache to store and retrieve data via
78     APC.
79    
80     %package Cache-Backend-Memcached
81     Summary: Zend Framework memcache cache backend
82     Group: Development/PHP
83     Requires: %{name} = %{version}-%{release}
84     Requires: php-memcache
85    
86     %description Cache-Backend-Memcached
87     This package contains the back end for Zend_Cache to store and retrieve data
88     via memcache.
89    
90     #package Cache-Backend-Sqlite
91     #Summary: Zend Framework sqlite back end
92     #Group: Development/PHP
93     #Requires: %{name} = %{version}-%{release}
94     #Requires: php-sqlite
95    
96     #description Cache-Backend-Sqlite
97     #This package contains the back end for Zend_Cache to store and retrieve data
98     #via sqlite databases.
99    
100     %package Captcha
101     Summary: Zend Framework CAPTCHA component
102     Group: Development/PHP
103     Requires: %{name} = %{version}-%{release}
104     Requires: php-gd
105    
106     %description Captcha
107     This package contains the Zend Framework CAPTCHA extension.
108    
109     %package Dojo
110     Summary: Zend Framework Dojo Toolkit integration component
111     Group: Development/PHP
112     Requires: %{name} = %{version}-%{release}
113    
114     %description Dojo
115     This package contains the Zend Framework Dojo Toolkit component as well as a
116     copy of Dojo itself.
117    
118     #package Db-Adapter-Mysqli
119     #Summary: Zend Framework database adapter for mysqli
120     #Group: Development/PHP
121     #Requires: %{name} = %{version}-%{release}
122     #Requires: php-mysqli
123    
124     #description Db-Adapter-Mysqli
125     #This package contains the files for Zend Framework necessary to connect to a
126     #MySQL database via mysqli connector.
127    
128     #package Db-Adapter-Db2
129     #Summary: Zend Framework database adapter for DB2
130     #Group: Development/PHP
131     #Requires: %{name} = %{version}-%{release}
132     #Requires: php-ibm_db2 # Not available in Mandriva's PHP
133    
134     #description Db-Adapter-Db2
135     #This package contains the files for Zend Framework necessary to connect to an
136     #IBM DB2 database.
137    
138     #package Db-Adapter-Firebird
139     #Summary: Zend Framework database adapter for InterBase
140     #Group: Development/PHP
141     #Requires: %{name} = %{version}-%{release}
142     #Requires: php-interbase
143    
144     #description Db-Adapter-Firebird
145     #This package contains the files for Zend Framework necessary to connect to a
146     #Firebird/InterBase database.
147    
148     #package Db-Adapter-Oracle
149     #Summary: Zend Framework database adapter for Oracle
150     #Group: Development/PHP
151     #Requires: %{name} = %{version}-%{release}
152     #Requires: php-oci8 # Not available in Mandriva's PHP
153    
154     #description Db-Adapter-Oracle
155     #This package contains the files for Zend Framework necessary to connect to an
156     #Oracle database.
157    
158     %package Feed
159     Summary: Live syndication feeds helper
160     Group: Development/PHP
161     Requires: %{name} = %{version}-%{release}
162     Requires: php-mbstring
163    
164     %description Feed
165     This component provides a very simple way to work with live syndicated feeds.
166    
167     * consumes RSS and Atom feeds
168     * provides utilities for discovering feed links
169     * imports feeds from multiple sources
170     * providers feed building and posting operations
171    
172     %package Gdata
173     Summary: Google Data APIs
174     Group: Development/PHP
175     Requires: %{name} = %{version}-%{release}
176    
177     %description Gdata
178     The Google Data APIs provide read/write access to such services hosted at
179     google.com as Spreadsheets, Calendar, Blogger, and CodeSearch.
180    
181     * supports both authentication mechanisms of Google Data servers
182     * supports queries and posting changes against Google Data services
183     * supports service-specific element types in an object-oriented interface
184     * matches functionality and design of other Google Data API clients
185    
186     %package Pdf
187     Summary: PDF file handling helper
188     Group: Development/PHP
189     Requires: %{name} = %{version}-%{release}
190     Requires: php-gd
191    
192     %description Pdf
193     Portable Document Format (PDF) from Adobe is the de facto standard for
194     cross-platform rich documents. Now, PHP applications can create or read PDF
195     documents on the fly, without the need to call utilities from the shell, depend
196     on PHP extensions, or pay licensing fees. Zend_Pdf can even modify existing PDF
197     documents.
198    
199     * supports Adobe PDF file format
200     * parses PDF structure and provides access to elements
201     * creates or modifies PDF documents
202     * utilizes memory efficiently
203    
204     %package Search-Lucene
205     Summary: Apache Lucene engine PHP port
206     Group: Development/PHP
207     Requires: %{name} = %{version}-%{release}
208     Requires: php-bitset
209    
210     %description Search-Lucene
211     The Apache Lucene engine is a powerful, feature-rich Java search engine that is
212     flexible about document storage and supports many complex query
213     types. Zend_Search_Lucene is a port of this engine written entirely in PHP 5.
214    
215     * allows PHP-powered websites to leverage powerful search capabilities without
216     the need for web services or Java
217     * provides binary compatibility with Apache Lucene
218     * matches Apache Lucene in performance
219    
220     %package Services
221     Summary: Web service APIs for a number of providers
222     Group: Development/PHP
223     Requires: %{name} = %{version}-%{release}
224    
225     %description Services
226     This package contains web service client APIs for the following services:
227    
228     - Akismet
229     - Amazon
230     - Audioscrobbler
231     - del.icio.us
232     - Flickr
233     - Nirvanix
234     - SlideShare
235     - StrikeIron
236     - Technorati
237     - Yahoo!
238    
239     %prep
240     %setup -qn %{php_name}-%{version}
241    
242     %build
243     find . -type f -perm /111 \
244     -fprint executables -exec %{__chmod} -x '{}' \; >/dev/null
245    
246     find . -type f -name \*.sh \
247     -fprint valid_executables -exec %{__chmod} +x '{}' \; >/dev/null
248    
249     %{__cat} executables valid_executables|sort|uniq -u > invalid_executables
250    
251    
252     %install
253     %{__rm} -rf %{buildroot}
254    
255     %{__mkdir_p} %{buildroot}%{_datadir}/php
256     %{__cp} -pr library/Zend %{buildroot}%{_datadir}/php
257     %{__cp} -pr demos/Zend %{buildroot}%{_datadir}/php/Zend/demos
258     %{__cp} -pr tests %{buildroot}%{_datadir}/php/Zend
259     %{__cp} -pr externals %{buildroot}%{_datadir}/php/Zend
260    
261     # ZendX
262     cd extras
263     %{__cp} -pr library/ZendX %{buildroot}%{_datadir}/php
264     %{__cp} -pr tests %{buildroot}%{_datadir}/php/ZendX
265     cd ..
266    
267     # rhbz 477440
268     pushd %{buildroot}%{_datadir}/php/Zend/tests/Zend/Pdf/_fonts
269     for i in *.ttf; do
270     ln -snf %{_datadir}/fonts/TTF/$i $i
271     done
272     popd
273    
274 spuhler 333599 %clean
275     %{__rm} -rf %{buildroot}
276 spuhler 44585
277     %files
278 spuhler 333599 %defattr(-,root,root,-)
279 spuhler 44585 %{_datadir}/php/Zend
280     %exclude %{_datadir}/php/Zend/demos
281     %exclude %{_datadir}/php/Zend/tests
282     %exclude %{_datadir}/php/Zend/Cache/Backend/Apc.php
283     %exclude %{_datadir}/php/Zend/Cache/Backend/Memcached.php
284     %exclude %{_datadir}/php/Zend/Captcha
285     %exclude %{_datadir}/php/Zend/Dojo.php
286     %exclude %{_datadir}/php/Zend/Dojo
287     %exclude %{_datadir}/php/Zend/Feed.php
288     %exclude %{_datadir}/php/Zend/Feed
289     %exclude %{_datadir}/php/Zend/Gdata.php
290     %exclude %{_datadir}/php/Zend/Gdata
291     %exclude %{_datadir}/php/Zend/Pdf.php
292     %exclude %{_datadir}/php/Zend/Pdf
293     %exclude %{_datadir}/php/Zend/Search
294     %exclude %{_datadir}/php/Zend/Service/Akismet.php
295     %exclude %{_datadir}/php/Zend/Service/Amazon.php
296     %exclude %{_datadir}/php/Zend/Service/Amazon
297     %exclude %{_datadir}/php/Zend/Service/Audioscrobbler.php
298     %exclude %{_datadir}/php/Zend/Service/Delicious.php
299     %exclude %{_datadir}/php/Zend/Service/Delicious
300     %exclude %{_datadir}/php/Zend/Service/Flickr.php
301     %exclude %{_datadir}/php/Zend/Service/Flickr
302     %exclude %{_datadir}/php/Zend/Service/Nirvanix.php
303     %exclude %{_datadir}/php/Zend/Service/Nirvanix
304     %exclude %{_datadir}/php/Zend/Service/ReCaptcha.php
305     %exclude %{_datadir}/php/Zend/Service/ReCaptcha
306     %exclude %{_datadir}/php/Zend/Service/SlideShare.php
307     %exclude %{_datadir}/php/Zend/Service/SlideShare
308     %exclude %{_datadir}/php/Zend/Service/StrikeIron.php
309     %exclude %{_datadir}/php/Zend/Service/StrikeIron
310     %exclude %{_datadir}/php/Zend/Service/Technorati.php
311     %exclude %{_datadir}/php/Zend/Service/Technorati
312     %exclude %{_datadir}/php/Zend/Service/Yahoo.php
313     %exclude %{_datadir}/php/Zend/Service/Yahoo
314     %exclude %{_datadir}/php/Zend/externals/dojo
315    
316     %doc LICENSE.txt INSTALL.txt README.txt
317    
318     %files demos
319 spuhler 333599 %defattr(-,root,root,-)
320 spuhler 44585 %{_datadir}/php/Zend/demos
321     %doc LICENSE.txt
322    
323     %files tests
324 spuhler 333599 %defattr(-,root,root,-)
325 spuhler 44585 %{_datadir}/php/Zend/tests
326     %doc LICENSE.txt
327    
328     %files extras
329 spuhler 333599 %defattr(-,root,root,-)
330 spuhler 44585 %{_datadir}/php/ZendX
331 spuhler 333599 %doc LICENSE.txt extras/documentation/api/extras/*
332 spuhler 44585
333     %files Cache-Backend-Apc
334 spuhler 333599 %defattr(-,root,root,-)
335 spuhler 44585 %{_datadir}/php/Zend/Cache/Backend/Apc.php
336     %doc LICENSE.txt
337    
338     %files Cache-Backend-Memcached
339 spuhler 333599 %defattr(-,root,root,-)
340 spuhler 44585 %{_datadir}/php/Zend/Cache/Backend/Memcached.php
341     %doc LICENSE.txt
342    
343     %files Captcha
344 spuhler 333599 %defattr(-,root,root,-)
345 spuhler 44585 %{_datadir}/php/Zend/Captcha
346     %doc LICENSE.txt
347    
348     %files Dojo
349 spuhler 333599 %defattr(-,root,root,-)
350 spuhler 44585 %{_datadir}/php/Zend/Dojo.php
351     %{_datadir}/php/Zend/Dojo
352     %{_datadir}/php/Zend/externals/dojo
353     %doc LICENSE.txt
354    
355     %files Feed
356 spuhler 333599 %defattr(-,root,root,-)
357 spuhler 44585 %{_datadir}/php/Zend/Feed.php
358     %{_datadir}/php/Zend/Feed
359     %doc LICENSE.txt
360    
361     %files Gdata
362 spuhler 333599 %defattr(-,root,root,-)
363 spuhler 44585 %{_datadir}/php/Zend/Gdata.php
364     %{_datadir}/php/Zend/Gdata
365     %doc LICENSE.txt
366    
367     %files Pdf
368 spuhler 333599 %defattr(-,root,root,-)
369 spuhler 44585 %{_datadir}/php/Zend/Pdf.php
370     %{_datadir}/php/Zend/Pdf
371     %doc LICENSE.txt
372    
373     %files Search-Lucene
374 spuhler 333599 %defattr(-,root,root,-)
375 spuhler 44585 %{_datadir}/php/Zend/Search
376     %doc LICENSE.txt
377    
378     %files Services
379 spuhler 333599 %defattr(-,root,root,-)
380 spuhler 44585 %{_datadir}/php/Zend/Service/Akismet.php
381     %{_datadir}/php/Zend/Service/Amazon.php
382     %{_datadir}/php/Zend/Service/Amazon
383     %{_datadir}/php/Zend/Service/Audioscrobbler.php
384     %{_datadir}/php/Zend/Service/Delicious.php
385     %{_datadir}/php/Zend/Service/Delicious
386     %{_datadir}/php/Zend/Service/Flickr.php
387     %{_datadir}/php/Zend/Service/Flickr
388     %{_datadir}/php/Zend/Service/Nirvanix.php
389     %{_datadir}/php/Zend/Service/Nirvanix
390     %{_datadir}/php/Zend/Service/ReCaptcha.php
391     %{_datadir}/php/Zend/Service/ReCaptcha
392     %{_datadir}/php/Zend/Service/SlideShare.php
393     %{_datadir}/php/Zend/Service/SlideShare
394     %{_datadir}/php/Zend/Service/StrikeIron.php
395     %{_datadir}/php/Zend/Service/StrikeIron
396     %{_datadir}/php/Zend/Service/Technorati.php
397     %{_datadir}/php/Zend/Service/Technorati
398     %{_datadir}/php/Zend/Service/Yahoo.php
399     %{_datadir}/php/Zend/Service/Yahoo
400     %doc LICENSE.txt
401    
402    

  ViewVC Help
Powered by ViewVC 1.1.30