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

Annotation of /updates/1/php-ZendFramework/current/SPECS/php-ZendFramework.spec

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30