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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 324243 - (show annotations) (download)
Sat Dec 1 18:41:19 2012 UTC (11 years, 4 months ago) by spuhler
File size: 11463 byte(s)
upgrade to 1.12.0
some spec cleaning
1 %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 Version: 1.12.0
9 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 Requires: php
15 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
275 %files
276 %{_datadir}/php/Zend
277 %exclude %{_datadir}/php/Zend/demos
278 %exclude %{_datadir}/php/Zend/tests
279 %exclude %{_datadir}/php/Zend/Cache/Backend/Apc.php
280 %exclude %{_datadir}/php/Zend/Cache/Backend/Memcached.php
281 %exclude %{_datadir}/php/Zend/Captcha
282 %exclude %{_datadir}/php/Zend/Dojo.php
283 %exclude %{_datadir}/php/Zend/Dojo
284 %exclude %{_datadir}/php/Zend/Feed.php
285 %exclude %{_datadir}/php/Zend/Feed
286 %exclude %{_datadir}/php/Zend/Gdata.php
287 %exclude %{_datadir}/php/Zend/Gdata
288 %exclude %{_datadir}/php/Zend/Pdf.php
289 %exclude %{_datadir}/php/Zend/Pdf
290 %exclude %{_datadir}/php/Zend/Search
291 %exclude %{_datadir}/php/Zend/Service/Akismet.php
292 %exclude %{_datadir}/php/Zend/Service/Amazon.php
293 %exclude %{_datadir}/php/Zend/Service/Amazon
294 %exclude %{_datadir}/php/Zend/Service/Audioscrobbler.php
295 %exclude %{_datadir}/php/Zend/Service/Delicious.php
296 %exclude %{_datadir}/php/Zend/Service/Delicious
297 %exclude %{_datadir}/php/Zend/Service/Flickr.php
298 %exclude %{_datadir}/php/Zend/Service/Flickr
299 %exclude %{_datadir}/php/Zend/Service/Nirvanix.php
300 %exclude %{_datadir}/php/Zend/Service/Nirvanix
301 %exclude %{_datadir}/php/Zend/Service/ReCaptcha.php
302 %exclude %{_datadir}/php/Zend/Service/ReCaptcha
303 %exclude %{_datadir}/php/Zend/Service/SlideShare.php
304 %exclude %{_datadir}/php/Zend/Service/SlideShare
305 %exclude %{_datadir}/php/Zend/Service/StrikeIron.php
306 %exclude %{_datadir}/php/Zend/Service/StrikeIron
307 %exclude %{_datadir}/php/Zend/Service/Technorati.php
308 %exclude %{_datadir}/php/Zend/Service/Technorati
309 %exclude %{_datadir}/php/Zend/Service/Yahoo.php
310 %exclude %{_datadir}/php/Zend/Service/Yahoo
311 %exclude %{_datadir}/php/Zend/externals/dojo
312
313 %doc LICENSE.txt INSTALL.txt README.txt
314
315 %files demos
316 %{_datadir}/php/Zend/demos
317 %doc LICENSE.txt
318
319 %files tests
320 %{_datadir}/php/Zend/tests
321 %doc LICENSE.txt
322
323 %files extras
324 %{_datadir}/php/ZendX
325 %doc LICENSE.txt
326
327 %files Cache-Backend-Apc
328 %{_datadir}/php/Zend/Cache/Backend/Apc.php
329 %doc LICENSE.txt
330
331 %files Cache-Backend-Memcached
332 %{_datadir}/php/Zend/Cache/Backend/Memcached.php
333 %doc LICENSE.txt
334
335 %files Captcha
336 %{_datadir}/php/Zend/Captcha
337 %doc LICENSE.txt
338
339 %files Dojo
340 %{_datadir}/php/Zend/Dojo.php
341 %{_datadir}/php/Zend/Dojo
342 %{_datadir}/php/Zend/externals/dojo
343 %doc LICENSE.txt
344
345 %files Feed
346 %{_datadir}/php/Zend/Feed.php
347 %{_datadir}/php/Zend/Feed
348 %doc LICENSE.txt
349
350 %files Gdata
351 %{_datadir}/php/Zend/Gdata.php
352 %{_datadir}/php/Zend/Gdata
353 %doc LICENSE.txt
354
355 %files Pdf
356 %{_datadir}/php/Zend/Pdf.php
357 %{_datadir}/php/Zend/Pdf
358 %doc LICENSE.txt
359
360 %files Search-Lucene
361 %{_datadir}/php/Zend/Search
362 %doc LICENSE.txt
363
364 %files Services
365
366 %{_datadir}/php/Zend/Service/Akismet.php
367 %{_datadir}/php/Zend/Service/Amazon.php
368 %{_datadir}/php/Zend/Service/Amazon
369 %{_datadir}/php/Zend/Service/Audioscrobbler.php
370 %{_datadir}/php/Zend/Service/Delicious.php
371 %{_datadir}/php/Zend/Service/Delicious
372 %{_datadir}/php/Zend/Service/Flickr.php
373 %{_datadir}/php/Zend/Service/Flickr
374 %{_datadir}/php/Zend/Service/Nirvanix.php
375 %{_datadir}/php/Zend/Service/Nirvanix
376 %{_datadir}/php/Zend/Service/ReCaptcha.php
377 %{_datadir}/php/Zend/Service/ReCaptcha
378 %{_datadir}/php/Zend/Service/SlideShare.php
379 %{_datadir}/php/Zend/Service/SlideShare
380 %{_datadir}/php/Zend/Service/StrikeIron.php
381 %{_datadir}/php/Zend/Service/StrikeIron
382 %{_datadir}/php/Zend/Service/Technorati.php
383 %{_datadir}/php/Zend/Service/Technorati
384 %{_datadir}/php/Zend/Service/Yahoo.php
385 %{_datadir}/php/Zend/Service/Yahoo
386 %doc LICENSE.txt
387
388

  ViewVC Help
Powered by ViewVC 1.1.30