/[packages]/cauldron/php-ZendFramework/releases/1.11.0/1.mga1/SPECS/php-ZendFramework.spec
ViewVC logotype

Contents of /cauldron/php-ZendFramework/releases/1.11.0/1.mga1/SPECS/php-ZendFramework.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 48367 - (show annotations) (download)
Mon Feb 7 03:12:24 2011 UTC (13 years, 7 months ago) by schedbot
File size: 12022 byte(s)
%repsys markrelease
version: 1.11.0
release: 1.mga1
revision: 48355

Copying 1.11.0-1.mga1 to releases/ directory.
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.11.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 >= 5.1.4
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 - Simpy
235 - SlideShare
236 - StrikeIron
237 - Technorati
238 - Yahoo!
239
240 %prep
241 %setup -qn %{php_name}-%{version}
242
243 %build
244 find . -type f -perm /111 \
245 -fprint executables -exec %{__chmod} -x '{}' \; >/dev/null
246
247 find . -type f -name \*.sh \
248 -fprint valid_executables -exec %{__chmod} +x '{}' \; >/dev/null
249
250 %{__cat} executables valid_executables|sort|uniq -u > invalid_executables
251
252
253 %install
254 %{__rm} -rf %{buildroot}
255
256 %{__mkdir_p} %{buildroot}%{_datadir}/php
257 %{__cp} -pr library/Zend %{buildroot}%{_datadir}/php
258 %{__cp} -pr demos/Zend %{buildroot}%{_datadir}/php/Zend/demos
259 %{__cp} -pr tests %{buildroot}%{_datadir}/php/Zend
260 %{__cp} -pr externals %{buildroot}%{_datadir}/php/Zend
261
262 # ZendX
263 cd extras
264 %{__cp} -pr library/ZendX %{buildroot}%{_datadir}/php
265 %{__cp} -pr tests %{buildroot}%{_datadir}/php/ZendX
266 cd ..
267
268 # rhbz 477440
269 pushd %{buildroot}%{_datadir}/php/Zend/tests/Zend/Pdf/_fonts
270 for i in *.ttf; do
271 ln -snf %{_datadir}/fonts/TTF/$i $i
272 done
273 popd
274
275 %clean
276 %{__rm} -rf %{buildroot}
277
278 %files
279 %defattr(-,root,root,-)
280 %{_datadir}/php/Zend
281 %exclude %{_datadir}/php/Zend/demos
282 %exclude %{_datadir}/php/Zend/tests
283 %exclude %{_datadir}/php/Zend/Cache/Backend/Apc.php
284 %exclude %{_datadir}/php/Zend/Cache/Backend/Memcached.php
285 %exclude %{_datadir}/php/Zend/Captcha
286 %exclude %{_datadir}/php/Zend/Dojo.php
287 %exclude %{_datadir}/php/Zend/Dojo
288 %exclude %{_datadir}/php/Zend/Feed.php
289 %exclude %{_datadir}/php/Zend/Feed
290 %exclude %{_datadir}/php/Zend/Gdata.php
291 %exclude %{_datadir}/php/Zend/Gdata
292 %exclude %{_datadir}/php/Zend/Pdf.php
293 %exclude %{_datadir}/php/Zend/Pdf
294 %exclude %{_datadir}/php/Zend/Search
295 %exclude %{_datadir}/php/Zend/Service/Akismet.php
296 %exclude %{_datadir}/php/Zend/Service/Amazon.php
297 %exclude %{_datadir}/php/Zend/Service/Amazon
298 %exclude %{_datadir}/php/Zend/Service/Audioscrobbler.php
299 %exclude %{_datadir}/php/Zend/Service/Delicious.php
300 %exclude %{_datadir}/php/Zend/Service/Delicious
301 %exclude %{_datadir}/php/Zend/Service/Flickr.php
302 %exclude %{_datadir}/php/Zend/Service/Flickr
303 %exclude %{_datadir}/php/Zend/Service/Nirvanix.php
304 %exclude %{_datadir}/php/Zend/Service/Nirvanix
305 %exclude %{_datadir}/php/Zend/Service/ReCaptcha.php
306 %exclude %{_datadir}/php/Zend/Service/ReCaptcha
307 %exclude %{_datadir}/php/Zend/Service/Simpy.php
308 %exclude %{_datadir}/php/Zend/Service/Simpy
309 %exclude %{_datadir}/php/Zend/Service/SlideShare.php
310 %exclude %{_datadir}/php/Zend/Service/SlideShare
311 %exclude %{_datadir}/php/Zend/Service/StrikeIron.php
312 %exclude %{_datadir}/php/Zend/Service/StrikeIron
313 %exclude %{_datadir}/php/Zend/Service/Technorati.php
314 %exclude %{_datadir}/php/Zend/Service/Technorati
315 %exclude %{_datadir}/php/Zend/Service/Yahoo.php
316 %exclude %{_datadir}/php/Zend/Service/Yahoo
317 %exclude %{_datadir}/php/Zend/externals/dojo
318
319 %doc LICENSE.txt INSTALL.txt README.txt
320
321 %files demos
322 %defattr(-,root,root,-)
323 %{_datadir}/php/Zend/demos
324 %doc LICENSE.txt
325
326 %files tests
327 %defattr(-,root,root,-)
328 %{_datadir}/php/Zend/tests
329 %doc LICENSE.txt
330
331 %files extras
332 %defattr(-,root,root,-)
333 %{_datadir}/php/ZendX
334 %doc LICENSE.txt extras/documentation/api/extras/*
335
336 %files Cache-Backend-Apc
337 %defattr(-,root,root,-)
338 %{_datadir}/php/Zend/Cache/Backend/Apc.php
339 %doc LICENSE.txt
340
341 %files Cache-Backend-Memcached
342 %defattr(-,root,root,-)
343 %{_datadir}/php/Zend/Cache/Backend/Memcached.php
344 %doc LICENSE.txt
345
346 %files Captcha
347 %defattr(-,root,root,-)
348 %{_datadir}/php/Zend/Captcha
349 %doc LICENSE.txt
350
351 %files Dojo
352 %defattr(-,root,root,-)
353 %{_datadir}/php/Zend/Dojo.php
354 %{_datadir}/php/Zend/Dojo
355 %{_datadir}/php/Zend/externals/dojo
356 %doc LICENSE.txt
357
358 %files Feed
359 %defattr(-,root,root,-)
360 %{_datadir}/php/Zend/Feed.php
361 %{_datadir}/php/Zend/Feed
362 %doc LICENSE.txt
363
364 %files Gdata
365 %defattr(-,root,root,-)
366 %{_datadir}/php/Zend/Gdata.php
367 %{_datadir}/php/Zend/Gdata
368 %doc LICENSE.txt
369
370 %files Pdf
371 %defattr(-,root,root,-)
372 %{_datadir}/php/Zend/Pdf.php
373 %{_datadir}/php/Zend/Pdf
374 %doc LICENSE.txt
375
376 %files Search-Lucene
377 %defattr(-,root,root,-)
378 %{_datadir}/php/Zend/Search
379 %doc LICENSE.txt
380
381 %files Services
382 %defattr(-,root,root,-)
383 %{_datadir}/php/Zend/Service/Akismet.php
384 %{_datadir}/php/Zend/Service/Amazon.php
385 %{_datadir}/php/Zend/Service/Amazon
386 %{_datadir}/php/Zend/Service/Audioscrobbler.php
387 %{_datadir}/php/Zend/Service/Delicious.php
388 %{_datadir}/php/Zend/Service/Delicious
389 %{_datadir}/php/Zend/Service/Flickr.php
390 %{_datadir}/php/Zend/Service/Flickr
391 %{_datadir}/php/Zend/Service/Nirvanix.php
392 %{_datadir}/php/Zend/Service/Nirvanix
393 %{_datadir}/php/Zend/Service/ReCaptcha.php
394 %{_datadir}/php/Zend/Service/ReCaptcha
395 %{_datadir}/php/Zend/Service/Simpy.php
396 %{_datadir}/php/Zend/Service/Simpy
397 %{_datadir}/php/Zend/Service/SlideShare.php
398 %{_datadir}/php/Zend/Service/SlideShare
399 %{_datadir}/php/Zend/Service/StrikeIron.php
400 %{_datadir}/php/Zend/Service/StrikeIron
401 %{_datadir}/php/Zend/Service/Technorati.php
402 %{_datadir}/php/Zend/Service/Technorati
403 %{_datadir}/php/Zend/Service/Yahoo.php
404 %{_datadir}/php/Zend/Service/Yahoo
405 %doc LICENSE.txt
406
407

  ViewVC Help
Powered by ViewVC 1.1.30