]> git.pld-linux.org Git - packages/php.git/blob - php.spec
- small fix in patches list.
[packages/php.git] / php.spec
1 #
2 # Conditional build:
3 # _with_oracle  - with oracle support 
4 # _with_oci8    - with oci8 support
5 # _with_java    - with Java support
6 # _with_libcpdf - with libcpdf support
7 # _with_openssl - with OpenSSL support
8 # _with_wddx    - with WDDX support
9 # _with_xslt    - with XSLT support
10 # _without_imap   - without IMAP support
11 # _without_ldap   - without LDAP support
12 # _without_odbc   - without ODBC support
13 # _without_snmp   - without SNMP support
14 # _without_sablot - without sablot support
15 Summary:        The PHP HTML-embedded scripting language for use with Apache
16 Summary(fr):    Le langage de script embarque-HTML PHP pour Apache
17 Summary(pl):    Jêzyk skryptowy PHP -- u¿ywany wraz z serwerem Apache
18 Name:           php
19 Version:        4.1.1
20 Release:        1
21 Epoch:          1
22 Group:          Libraries
23 Group(cs):      Knihovny
24 Group(de):      Bibliotheken
25 Group(es):      Bibliotecas
26 Group(fr):      Librairies
27 Group(ja):      ¥é¥¤¥Ö¥é¥ê
28 Group(pl):      Biblioteki
29 Group(pt):      Bibliotecas
30 Group(pt_BR):   Bibliotecas
31 Group(ru):      âÉÂÌÉÏÔÅËÉ
32 Group(uk):      â¦Â̦ÏÔÅËÉ
33 License:        The PHP license (see "LICENSE" file included in distribution)
34 Source0:        http://www.php.net/distributions/%{name}-%{version}.tar.gz
35 Source1:        FAQ.%{name}
36 Source2:        %{name}.ini
37 Source3:        zend.gif
38 Source4:        http://www.php.net/distributions/manual/%{name}_manual_en.tar.bz2
39 Source5:        %{name}-module-install
40 Patch0:         %{name}-shared.patch
41 Patch1:         %{name}-pldlogo.patch
42 Patch2:         %{name}-mysql-socket.patch
43 Patch3:         %{name}-mail.patch
44 Patch4:         %{name}-link-libs.patch
45 Patch5:         %{name}-session-path.patch
46 Patch6:         %{name}-am_ac_lt.patch
47 Patch7:         %{name}-fastcgi.patch
48 Patch8:         %{name}-ac250.patch
49 Patch9:         %{name}-mailsecurity2.patch
50 Patch10:        %{name}-oracle9.patch
51 Patch11:        %{name}-no_php_pcre_in_SAPI_c.patch
52
53 Icon:           php4.gif
54 URL:            http://www.php.net/
55 BuildRequires:  apache(EAPI)-devel
56 BuildRequires:  autoconf >= 1.4
57 BuildRequires:  automake >= 1.4d
58 BuildRequires:  bison
59 BuildRequires:  bzip2-devel
60 BuildRequires:  curl-devel
61 BuildRequires:  cyrus-sasl-devel
62 BuildRequires:  db3-devel >= 3.1.17
63 BuildRequires:  flex
64 BuildRequires:  gmp-devel
65 BuildRequires:  freetype-devel >= 2.0
66 BuildRequires:  gd-devel >= 2.0.1
67 BuildRequires:  gdbm-devel
68 %{!?_without_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2 }
69 # I think jdk is better for java
70 # BuildRequires:        jdk
71 %{?_with_java:BuildRequires:    kaffe-devel}
72 BuildRequires:  libjpeg-devel
73 BuildRequires:  libltdl-devel >= 1.4
74 BuildRequires:  libmcrypt-devel >= 2.4.4
75 BuildRequires:  libpng >= 1.0.8
76 BuildRequires:  libtiff-devel
77 BuildRequires:  libtool >= 1.4
78 BuildRequires:  libxml2-devel >= 2.2.7
79 BuildRequires:  mhash-devel
80 BuildRequires:  ming-devel >= 0.1.0
81 BuildRequires:  mm-devel >= 1.1.3
82 BuildRequires:  mysql-devel >= 3.23.32
83 %{!?_without_ldap:BuildRequires: openldap-devel >= 2.0}
84 BuildRequires:  pam-devel
85 BuildRequires:  pdflib-devel >= 4.0.0
86 BuildRequires:  perl
87 BuildRequires:  pkgconfig
88 BuildRequires:  postgresql-devel
89 BuildRequires:  recode-devel >= 3.5d-3
90 BuildRequires:  t1lib-devel
91 %{!?_without_snmp:BuildRequires: ucd-snmp-devel >= 4.2.3}
92 %{!?_without_odbc:BuildRequires: unixODBC-devel}
93 BuildRequires:  zip
94 BuildRequires:  zlib-devel >= 1.0.9
95 #BuildRequires: fastcgi-devkit
96 %if %(expr %{?_with_openssl:1}%{!?_with_openssl:0} + %{!?_without_ldap:1}%{?_without_ldap:0})
97 %{!?_without_openssl:BuildRequires:     openssl-devel >= 0.9.6a}
98 %endif
99 %{?_with_libcpdf:BuildRequires: libcpdf-devel >= 2.00}
100 %{?_with_xslt:BuildRequires:    sablotron-devel}
101 %{?_with_xslt:BuildRequires:    expat-devel}
102 %{?_with_xslt:BuildRequires:    w3c-libwww-devel}
103 Prereq:         apache(EAPI) >= 1.3.9
104 Prereq:         perl
105 Prereq:         %{_sbindir}/apxs
106 PreReq:         %{name}-common = %{version}
107 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
108 Obsoletes:      phpfi
109
110 %define         _sysconfdir     /etc/php
111 %define         extensionsdir %{_libdir}/php
112 %define         peardir         %{_datadir}/pear
113
114 %description
115 PHP is an HTML-embedded scripting language. PHP attempts to make it
116 easy for developers to write dynamically generated web pages. PHP also
117 offers built-in database integration for several commercial and
118 non-commercial database management systems, so writing a
119 database-enabled web page with PHP is fairly simple. The most common
120 use of PHP coding is probably as a replacement for CGI scripts. The
121 mod_php module enables the Apache web server to understand and process
122 the embedded PHP language in web pages. This package contains PHP
123 version %{version}. If you use applications which specifically rely on
124 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
125 module contained in the phpfi package. If you're just starting with
126 PHP, you should install this package. You'll also need to install the
127 Apache web server.
128
129 %description -l fr
130 PHP est un langage de script embarque dans le HTM. PHP essaye de
131 rendre simple aux developpeurs d'ecrire des pages web generees
132 dynamiquement. PHP incorpore egalement une integration avec plusieurs
133 systemes de gestion de bases de donnees commerciaux et
134 non-connerciaux, qui rent facile la creation de pages web liees avec
135 des bases de donnees. L'utilisation la plus commune de PHP est
136 probablement en remplacement de scripts CGI. Le module mod_php permet
137 au serveur web apache de comprendre et de traiter le langage PHP
138 integre dans des pages web. Ce package contient PHP version
139 %{version}. Si vous utilisez des applications qui utilisent
140 specifiquement PHP/FI, vous devrez installer le module PHP/FI inclus
141 dans le package mod_php. Si vous debutez avec PHP, vous devriez
142 installer ce package. Vous aurez egalement besoin d'installer le
143 serveur web Apache.
144
145 %description -l pl
146 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
147 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
148 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
149 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
150 zosta³a z jêzyków: C, Java i Perl.
151
152 %package cgi
153 Summary:        PHP as CGI program
154 Summary(pl):    PHP jako program CGI
155 Group:          Libraries
156 Group(cs):      Knihovny
157 Group(de):      Bibliotheken
158 Group(es):      Bibliotecas
159 Group(fr):      Librairies
160 Group(ja):      ¥é¥¤¥Ö¥é¥ê
161 Group(pl):      Biblioteki
162 Group(pt):      Bibliotecas
163 Group(pt_BR):   Bibliotecas
164 Group(ru):      âÉÂÌÉÏÔÅËÉ
165 Group(uk):      â¦Â̦ÏÔÅËÉ
166 PreReq:         %{name}-common = %{version}
167
168 %description cgi
169 PHP as CGI program.
170
171 %description cgi -l pl
172 PHP jako program CGI.
173
174 %package common
175 Summary:        Common files nneded by both apache module and CGI
176 Summary(pl):    Wspólne pliki dla modu³u apacha i programu CGI
177 Group:          Libraries
178 Group(cs):      Knihovny
179 Group(de):      Bibliotheken
180 Group(es):      Bibliotecas
181 Group(fr):      Librairies
182 Group(ja):      ¥é¥¤¥Ö¥é¥ê
183 Group(pl):      Biblioteki
184 Group(pt):      Bibliotecas
185 Group(pt_BR):   Bibliotecas
186 Group(ru):      âÉÂÌÉÏÔÅËÉ
187 Group(uk):      â¦Â̦ÏÔÅËÉ
188
189 %description common
190 Common files needed by both apache module and CGI.
191
192 %description common -l pl
193 Wspólne pliki dla modu³u apacha i programu CGI.
194
195 %package mysql
196 Summary:        MySQL database module for PHP
197 Summary(pl):    Modu³ bazy danych MySQL dla PHP
198 Group:          Libraries
199 Group(cs):      Knihovny
200 Group(de):      Bibliotheken
201 Group(es):      Bibliotecas
202 Group(fr):      Librairies
203 Group(ja):      ¥é¥¤¥Ö¥é¥ê
204 Group(pl):      Biblioteki
205 Group(pt):      Bibliotecas
206 Group(pt_BR):   Bibliotecas
207 Group(ru):      âÉÂÌÉÏÔÅËÉ
208 Group(uk):      â¦Â̦ÏÔÅËÉ
209 PreReq:         %{name}-common = %{version}
210
211 %description mysql
212 This is a dynamic shared object (DSO) for Apache that will add MySQL
213 database support to PHP. If you need back-end support for MySQL, you
214 should install this package in addition to the main %{name} package.
215
216 %description mysql -l pl
217 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
218
219 %package pdf
220 Summary:        libPDF module for PHP
221 Summary(pl):    Modu³ do tworzenia plików PDF dla PHP
222 Group:          Libraries
223 Group(cs):      Knihovny
224 Group(de):      Bibliotheken
225 Group(es):      Bibliotecas
226 Group(fr):      Librairies
227 Group(ja):      ¥é¥¤¥Ö¥é¥ê
228 Group(pl):      Biblioteki
229 Group(pt):      Bibliotecas
230 Group(pt_BR):   Bibliotecas
231 Group(ru):      âÉÂÌÉÏÔÅËÉ
232 Group(uk):      â¦Â̦ÏÔÅËÉ
233 PreReq:         %{name}-common = %{version}
234 PreReq:         pdflib
235
236 %description pdf
237 This is a dynamic shared object (DSO) for Apache that will add PDF
238 support to PHP.
239
240 %description pdf -l pl
241 Modu³ PHP umo¿liwiaj±cy tworzenie plików PDF. Wykorzystuje bibliotekê
242 pdflib.
243
244 %package pgsql
245 Summary:        PostgreSQL database module for PHP
246 Summary(pl):    Modu³ bazy danych PostgreSQL dla PHP
247 Group:          Libraries
248 Group(cs):      Knihovny
249 Group(de):      Bibliotheken
250 Group(es):      Bibliotecas
251 Group(fr):      Librairies
252 Group(ja):      ¥é¥¤¥Ö¥é¥ê
253 Group(pl):      Biblioteki
254 Group(pt):      Bibliotecas
255 Group(pt_BR):   Bibliotecas
256 Group(ru):      âÉÂÌÉÏÔÅËÉ
257 Group(uk):      â¦Â̦ÏÔÅËÉ
258 PreReq:         %{name}-common = %{version}
259
260 %description pgsql
261 This is a dynamic shared object (DSO) for Apache that will add
262 PostgreSQL database support to PHP. If you need back-end support for
263 PostgreSQL, you should install this package in addition to the main
264 %{name} package.
265
266 %description pgsql -l pl
267 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
268
269 %package oci8
270 Summary:        Oracle 8 database module for PHP
271 Summary(pl):    Modu³ bazy danych Oracle 8 dla PHP
272 Group:          Libraries
273 Group(cs):      Knihovny
274 Group(de):      Bibliotheken
275 Group(es):      Bibliotecas
276 Group(fr):      Librairies
277 Group(ja):      ¥é¥¤¥Ö¥é¥ê
278 Group(pl):      Biblioteki
279 Group(pt):      Bibliotecas
280 Group(pt_BR):   Bibliotecas
281 Group(ru):      âÉÂÌÉÏÔÅËÉ
282 Group(uk):      â¦Â̦ÏÔÅËÉ
283 PreReq:         %{name}-common = %{version}
284 Autoreq:        false
285
286 %description oci8
287 This is a dynamic shared object (DSO) for Apache that will add Oracle
288 8 database support to PHP. If you need back-end support for Oracle 8,
289 you should install this package in addition to the main %{name}
290 package.
291
292 %description oci8 -l pl
293 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 8.
294
295 %package oracle
296 Summary:        Oracle 7 database module for PHP
297 Summary(pl):    Modu³ bazy danych Oracle 7 dla PHP
298 Group:          Libraries
299 Group(cs):      Knihovny
300 Group(de):      Bibliotheken
301 Group(es):      Bibliotecas
302 Group(fr):      Librairies
303 Group(ja):      ¥é¥¤¥Ö¥é¥ê
304 Group(pl):      Biblioteki
305 Group(pt):      Bibliotecas
306 Group(pt_BR):   Bibliotecas
307 Group(ru):      âÉÂÌÉÏÔÅËÉ
308 Group(uk):      â¦Â̦ÏÔÅËÉ
309 PreReq:         %{name}-common = %{version}
310 Autoreq:        false
311
312 %description oracle
313 This is a dynamic shared object (DSO) for Apache that will add Oracle
314 7 database support to PHP. If you need back-end support for Oracle 7,
315 you should install this package in addition to the main %{name}
316 package.
317
318 %description oracle -l pl
319 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7.
320
321 %package gd
322 Summary:        GD extension module for PHP
323 Summary:        Modu³ GD dla PHP
324 Group:          Libraries
325 Group(cs):      Knihovny
326 Group(de):      Bibliotheken
327 Group(es):      Bibliotecas
328 Group(fr):      Librairies
329 Group(ja):      ¥é¥¤¥Ö¥é¥ê
330 Group(pl):      Biblioteki
331 Group(pt):      Bibliotecas
332 Group(pt_BR):   Bibliotecas
333 Group(ru):      âÉÂÌÉÏÔÅËÉ
334 Group(uk):      â¦Â̦ÏÔÅËÉ
335 PreReq:         %{name}-common = %{version}
336
337 %description gd
338 This is a dynamic shared object (DSO) for Apache that will add GD
339 support to PHP. You should install this package in addition to the
340 main %{name} package if you want to create and manipulate images with
341 PHP.
342
343 %description gd -l pl
344 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD - do obróbki
345 obrazków z poziomu PHP.
346
347 %package java
348 Summary:        Java extension module for PHP
349 Summary(pl):    Modu³ Javy dla PHP
350 Group:          Libraries
351 Group(cs):      Knihovny
352 Group(de):      Bibliotheken
353 Group(es):      Bibliotecas
354 Group(fr):      Librairies
355 Group(ja):      ¥é¥¤¥Ö¥é¥ê
356 Group(pl):      Biblioteki
357 Group(pt):      Bibliotecas
358 Group(pt_BR):   Bibliotecas
359 Group(ru):      âÉÂÌÉÏÔÅËÉ
360 Group(uk):      â¦Â̦ÏÔÅËÉ
361 PreReq:         %{name}-common = %{version}
362
363 %description java
364 This is a dynamic shared object (DSO) for Apache that will add JAVA
365 support to PHP. This extension provides a simple and effective means
366 for creating and invoking methods on Java objects from PHP.
367
368 %description java -l pl
369 Modu³ PHP dodaj±cy wsparcie dla Javy. Umo¿liwia odwo³ywanie siê do
370 obiektów Javy z poziomu PHP.
371
372 %package xml
373 Summary:        XML extension module for PHP
374 Summary(pl):    Modu³ XML dla PHP
375 Group:          Libraries
376 Group(cs):      Knihovny
377 Group(de):      Bibliotheken
378 Group(es):      Bibliotecas
379 Group(fr):      Librairies
380 Group(ja):      ¥é¥¤¥Ö¥é¥ê
381 Group(pl):      Biblioteki
382 Group(pt):      Bibliotecas
383 Group(pt_BR):   Bibliotecas
384 Group(ru):      âÉÂÌÉÏÔÅËÉ
385 Group(uk):      â¦Â̦ÏÔÅËÉ
386 PreReq:         %{name}-common = %{version}
387
388 %description xml
389 This is a dynamic shared object (DSO) for Apache that will add XML
390 support to PHP. This extension lets you create XML parsers and then
391 define handlers for different XML events. If you want to be able to
392 parse XML documents you should install this package in addition to the
393 main %{name} package.
394
395 %description xml -l pl
396 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
397 zwi±zanych z tymi plikami.
398
399 %package dba
400 Summary:        DBA extension module for PHP
401 Summary(pl):    Modu³ DBA dla PHP
402 Group:          Libraries
403 Group(cs):      Knihovny
404 Group(de):      Bibliotheken
405 Group(es):      Bibliotecas
406 Group(fr):      Librairies
407 Group(ja):      ¥é¥¤¥Ö¥é¥ê
408 Group(pl):      Biblioteki
409 Group(pt):      Bibliotecas
410 Group(pt_BR):   Bibliotecas
411 Group(ru):      âÉÂÌÉÏÔÅËÉ
412 Group(uk):      â¦Â̦ÏÔÅËÉ
413 PreReq:         %{name}-common = %{version}
414
415 %description dba
416 This is a dynamic shared object (DSO) for Apache that will add
417 flat-file databases (DBA) support to PHP.
418
419 #%description dba -l pl
420
421 %package odbc
422 Summary:        ODBC extension module for PHP
423 Summary(pl):    Modu³ ODBC dla PHP
424 Group:          Libraries
425 Group(cs):      Knihovny
426 Group(de):      Bibliotheken
427 Group(es):      Bibliotecas
428 Group(fr):      Librairies
429 Group(ja):      ¥é¥¤¥Ö¥é¥ê
430 Group(pl):      Biblioteki
431 Group(pt):      Bibliotecas
432 Group(pt_BR):   Bibliotecas
433 Group(ru):      âÉÂÌÉÏÔÅËÉ
434 Group(uk):      â¦Â̦ÏÔÅËÉ
435 PreReq:         %{name}-common = %{version}
436
437 %description odbc
438 This is a dynamic shared object (DSO) for Apache that will add ODBC
439 support to PHP.
440
441 %description odbc -l pl
442 Modu³ PHP ze wsparciem dla ODBC.
443
444 %package calendar
445 Summary:        Calendar extension module for PHP
446 Summary(pl):    Modu³ funkcji kalendarza dla PHP
447 Group:          Libraries
448 Group(cs):      Knihovny
449 Group(de):      Bibliotheken
450 Group(es):      Bibliotecas
451 Group(fr):      Librairies
452 Group(ja):      ¥é¥¤¥Ö¥é¥ê
453 Group(pl):      Biblioteki
454 Group(pt):      Bibliotecas
455 Group(pt_BR):   Bibliotecas
456 Group(ru):      âÉÂÌÉÏÔÅËÉ
457 Group(uk):      â¦Â̦ÏÔÅËÉ
458 PreReq:         %{name}-common = %{version}
459
460 %description calendar
461 This is a dynamic shared object (DSO) for Apache that will add
462 calendar support to PHP.
463
464 #%description calendar -l pl
465
466 %package dbase
467 Summary:        DBase extension module for PHP
468 Summary(pl):    Modu³ DBase dla PHP
469 Group:          Libraries
470 Group(cs):      Knihovny
471 Group(de):      Bibliotheken
472 Group(es):      Bibliotecas
473 Group(fr):      Librairies
474 Group(ja):      ¥é¥¤¥Ö¥é¥ê
475 Group(pl):      Biblioteki
476 Group(pt):      Bibliotecas
477 Group(pt_BR):   Bibliotecas
478 Group(ru):      âÉÂÌÉÏÔÅËÉ
479 Group(uk):      â¦Â̦ÏÔÅËÉ
480 PreReq:         %{name}-common = %{version}
481
482 %description dbase
483 This is a dynamic shared object (DSO) for Apache that will add DBase
484 support to PHP.
485
486 %description dbase -l pl
487 Modu³ PHP ze wsparciem dla DBase.
488
489 %package filepro
490 Summary:        FilePro extension module for PHP
491 Summary(pl):    Modu³ FilePro dla PHP
492 Group:          Libraries
493 Group(cs):      Knihovny
494 Group(de):      Bibliotheken
495 Group(es):      Bibliotecas
496 Group(fr):      Librairies
497 Group(ja):      ¥é¥¤¥Ö¥é¥ê
498 Group(pl):      Biblioteki
499 Group(pt):      Bibliotecas
500 Group(pt_BR):   Bibliotecas
501 Group(ru):      âÉÂÌÉÏÔÅËÉ
502 Group(uk):      â¦Â̦ÏÔÅËÉ
503 PreReq:         %{name}-common = %{version}
504
505 %description filepro
506 This is a dynamic shared object (DSO) for Apache that will add FilePro
507 support to PHP.
508
509 #%description filepro -l pl
510
511 %package posix
512 Summary:        POSIX extension module for PHP
513 Summary(pl):    Modu³ POSIX dla PHP
514 Group:          Libraries
515 Group(cs):      Knihovny
516 Group(de):      Bibliotheken
517 Group(es):      Bibliotecas
518 Group(fr):      Librairies
519 Group(ja):      ¥é¥¤¥Ö¥é¥ê
520 Group(pl):      Biblioteki
521 Group(pt):      Bibliotecas
522 Group(pt_BR):   Bibliotecas
523 Group(ru):      âÉÂÌÉÏÔÅËÉ
524 Group(uk):      â¦Â̦ÏÔÅËÉ
525 PreReq:         %{name}-common = %{version}
526
527 %description posix
528 This is a dynamic shared object (DSO) for Apache that will add POSIX
529 functions support to PHP.
530
531 %description posix -l pl
532 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
533 %package pcre
534 Summary:        PCRE extension module for PHP
535 Summary(pl):    Modu³ PCRE dla PHP
536 Group:          Libraries
537 Group(cs):      Knihovny
538 Group(de):      Bibliotheken
539 Group(es):      Bibliotecas
540 Group(fr):      Librairies
541 Group(ja):      ¥é¥¤¥Ö¥é¥ê
542 Group(pl):      Biblioteki
543 Group(pt):      Bibliotecas
544 Group(pt_BR):   Bibliotecas
545 Group(ru):      âÉÂÌÉÏÔÅËÉ
546 Group(uk):      â¦Â̦ÏÔÅËÉ
547 PreReq:         %{name}-common = %{version}
548
549 %description pcre
550 This is a dynamic shared object (DSO) for Apache that will add Perl
551 Compatible Regular Expression support to PHP.
552
553 %description pcre -l pl
554 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
555 (Perl Compatible Regular Expressions)
556
557 %package sysvsem
558 Summary:        SysV sem extension module for PHP
559 Summary(pl):    Modu³ SysV sem dla PHP
560 Group:          Libraries
561 Group(cs):      Knihovny
562 Group(de):      Bibliotheken
563 Group(es):      Bibliotecas
564 Group(fr):      Librairies
565 Group(ja):      ¥é¥¤¥Ö¥é¥ê
566 Group(pl):      Biblioteki
567 Group(pt):      Bibliotecas
568 Group(pt_BR):   Bibliotecas
569 Group(ru):      âÉÂÌÉÏÔÅËÉ
570 Group(uk):      â¦Â̦ÏÔÅËÉ
571 PreReq:         %{name}-common = %{version}
572
573 %description sysvsem
574 This is a dynamic shared object (DSO) for Apache that will add SysV
575 semafores support to PHP.
576
577 %description sysvsem -l pl
578 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
579
580 %package sysvshm
581 Summary:        SysV shm extension module for PHP
582 Summary(pl):    Modu³ SysV shm dla PHP
583 Group:          Libraries
584 Group(cs):      Knihovny
585 Group(de):      Bibliotheken
586 Group(es):      Bibliotecas
587 Group(fr):      Librairies
588 Group(ja):      ¥é¥¤¥Ö¥é¥ê
589 Group(pl):      Biblioteki
590 Group(pt):      Bibliotecas
591 Group(pt_BR):   Bibliotecas
592 Group(ru):      âÉÂÌÉÏÔÅËÉ
593 Group(uk):      â¦Â̦ÏÔÅËÉ
594 PreReq:         %{name}-common = %{version}
595
596 %description sysvshm
597 This is a dynamic shared object (DSO) for Apache that will add SysV
598 Shared Memory support to PHP.
599
600 %description sysvshm -l pl
601 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
602
603 %package yp
604 Summary:        NIS (yp) extension module for PHP
605 Summary(pl):    Modu³ NIS (yp) dla PHP
606 Group:          Libraries
607 Group(cs):      Knihovny
608 Group(de):      Bibliotheken
609 Group(es):      Bibliotecas
610 Group(fr):      Librairies
611 Group(ja):      ¥é¥¤¥Ö¥é¥ê
612 Group(pl):      Biblioteki
613 Group(pt):      Bibliotecas
614 Group(pt_BR):   Bibliotecas
615 Group(ru):      âÉÂÌÉÏÔÅËÉ
616 Group(uk):      â¦Â̦ÏÔÅËÉ
617 PreReq:         %{name}-common = %{version}
618
619 %description yp
620 This is a dynamic shared object (DSO) for Apache that will add NIS
621 (Yellow Pages) support to PHP.
622
623 #%description yp -l pl
624
625 %package bcmath
626 Summary:        bcmath extension module for PHP
627 Summary(pl):    Modu³ bcmath dla PHP
628 Group:          Libraries
629 Group(cs):      Knihovny
630 Group(de):      Bibliotheken
631 Group(es):      Bibliotecas
632 Group(fr):      Librairies
633 Group(ja):      ¥é¥¤¥Ö¥é¥ê
634 Group(pl):      Biblioteki
635 Group(pt):      Bibliotecas
636 Group(pt_BR):   Bibliotecas
637 Group(ru):      âÉÂÌÉÏÔÅËÉ
638 Group(uk):      â¦Â̦ÏÔÅËÉ
639 PreReq:         %{name}-common = %{version}
640
641 %description bcmath
642 This is a dynamic shared object (DSO) for Apache that will add bc
643 style precision math functions support to PHP.
644
645 %description bcmath -l pl
646 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
647 matematycznych takich jak w programie bc.
648
649 %package ftp
650 Summary:        FTP extension module for PHP
651 Summary(pl):    Modu³ FTP dla PHP
652 Group:          Libraries
653 Group(cs):      Knihovny
654 Group(de):      Bibliotheken
655 Group(es):      Bibliotecas
656 Group(fr):      Librairies
657 Group(ja):      ¥é¥¤¥Ö¥é¥ê
658 Group(pl):      Biblioteki
659 Group(pt):      Bibliotecas
660 Group(pt_BR):   Bibliotecas
661 Group(ru):      âÉÂÌÉÏÔÅËÉ
662 Group(uk):      â¦Â̦ÏÔÅËÉ
663 PreReq:         %{name}-common = %{version}
664
665 %description ftp
666 This is a dynamic shared object (DSO) for Apache that will add FTP
667 support to PHP.
668
669 %description ftp -l pl
670 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
671
672 %package zlib
673 Summary:        Zlib extension module for PHP
674 Summary(pl):    Modu³ zlib dla PHP
675 Group:          Libraries
676 Group(cs):      Knihovny
677 Group(de):      Bibliotheken
678 Group(es):      Bibliotecas
679 Group(fr):      Librairies
680 Group(ja):      ¥é¥¤¥Ö¥é¥ê
681 Group(pl):      Biblioteki
682 Group(pt):      Bibliotecas
683 Group(pt_BR):   Bibliotecas
684 Group(ru):      âÉÂÌÉÏÔÅËÉ
685 Group(uk):      â¦Â̦ÏÔÅËÉ
686 PreReq:         %{name}-common = %{version}
687
688 %description zlib
689 This is a dynamic shared object (DSO) for Apache that will add
690 compression (zlib) support to PHP.
691
692 %description zlib -l pl
693 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji (poprzez bibliotekê zlib).
694
695 %package exif
696 Summary:        exif extension module for PHP
697 Summary(pl):    Modu³ exif dla PHP
698 Group:          Libraries
699 Group(cs):      Knihovny
700 Group(de):      Bibliotheken
701 Group(es):      Bibliotecas
702 Group(fr):      Librairies
703 Group(ja):      ¥é¥¤¥Ö¥é¥ê
704 Group(pl):      Biblioteki
705 Group(pt):      Bibliotecas
706 Group(pt_BR):   Bibliotecas
707 Group(ru):      âÉÂÌÉÏÔÅËÉ
708 Group(uk):      â¦Â̦ÏÔÅËÉ
709 PreReq:         %{name}-common = %{version}
710
711 %description exif
712 This is a dynamic shared object (DSO) for Apache that will add exif
713 support to PHP.
714
715 %description exif -l pl
716 Modu³ PHP dodaj±cy obs³ugê plików EXIF.
717
718 %package recode
719 Summary:        recode extension module for PHP
720 Summary(pl):    Modu³ recode dla PHP
721 Group:          Libraries
722 Group(cs):      Knihovny
723 Group(de):      Bibliotheken
724 Group(es):      Bibliotecas
725 Group(fr):      Librairies
726 Group(ja):      ¥é¥¤¥Ö¥é¥ê
727 Group(pl):      Biblioteki
728 Group(pt):      Bibliotecas
729 Group(pt_BR):   Bibliotecas
730 Group(ru):      âÉÂÌÉÏÔÅËÉ
731 Group(uk):      â¦Â̦ÏÔÅËÉ
732 PreReq:         %{name}-common = %{version}
733 Requires:       recode >= 3.5d-3
734
735 %description recode
736 This is a dynamic shared object (DSO) for Apache that will add recode
737 support to PHP.
738
739 %description recode -l pl
740 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
741 bibliotekê recode).
742
743 %package session
744 Summary:        session extension module for PHP
745 Summary(pl):    Modu³ session dla PHP
746 Group:          Libraries
747 Group(cs):      Knihovny
748 Group(de):      Bibliotheken
749 Group(es):      Bibliotecas
750 Group(fr):      Librairies
751 Group(ja):      ¥é¥¤¥Ö¥é¥ê
752 Group(pl):      Biblioteki
753 Group(pt):      Bibliotecas
754 Group(pt_BR):   Bibliotecas
755 Group(ru):      âÉÂÌÉÏÔÅËÉ
756 Group(uk):      â¦Â̦ÏÔÅËÉ
757 PreReq:         %{name}-common = %{version}
758
759 %description session
760 This is a dynamic shared object (DSO) for Apache that will add session
761 support to PHP.
762
763 %description session -l pl
764 Modu³ PHP dodaj±cy obs³ugê sesji.
765
766 %package gettext
767 Summary:        gettext extension module for PHP
768 Summary(pl):    Modu³ gettext dla PHP
769 Group:          Libraries
770 Group(cs):      Knihovny
771 Group(de):      Bibliotheken
772 Group(es):      Bibliotecas
773 Group(fr):      Librairies
774 Group(ja):      ¥é¥¤¥Ö¥é¥ê
775 Group(pl):      Biblioteki
776 Group(pt):      Bibliotecas
777 Group(pt_BR):   Bibliotecas
778 Group(ru):      âÉÂÌÉÏÔÅËÉ
779 Group(uk):      â¦Â̦ÏÔÅËÉ
780 PreReq:         %{name}-common = %{version}
781
782 %description gettext
783 This is a dynamic shared object (DSO) for Apache that will add gettext
784 support to PHP.
785
786 %description gettext -l pl
787 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
788
789 %package snmp
790 Summary:        SNMP extension module for PHP
791 Summary(pl):    Modu³ SNMP dla PHP
792 Group:          Libraries
793 Group(cs):      Knihovny
794 Group(de):      Bibliotheken
795 Group(es):      Bibliotecas
796 Group(fr):      Librairies
797 Group(ja):      ¥é¥¤¥Ö¥é¥ê
798 Group(pl):      Biblioteki
799 Group(pt):      Bibliotecas
800 Group(pt_BR):   Bibliotecas
801 Group(ru):      âÉÂÌÉÏÔÅËÉ
802 Group(uk):      â¦Â̦ÏÔÅËÉ
803 PreReq:         %{name}-common = %{version}
804
805 %description snmp
806 This is a dynamic shared object (DSO) for Apache that will add SNMP
807 support to PHP.
808
809 %description snmp -l pl
810 Modu³ PHP dodaj±cy obs³ugê SNMP.
811
812 %package imap
813 Summary:        IMAP extension module for PHP
814 Summary(pl):    Modu³ IMAP dla PHP
815 Group:          Libraries
816 Group(cs):      Knihovny
817 Group(de):      Bibliotheken
818 Group(es):      Bibliotecas
819 Group(fr):      Librairies
820 Group(ja):      ¥é¥¤¥Ö¥é¥ê
821 Group(pl):      Biblioteki
822 Group(pt):      Bibliotecas
823 Group(pt_BR):   Bibliotecas
824 Group(ru):      âÉÂÌÉÏÔÅËÉ
825 Group(uk):      â¦Â̦ÏÔÅËÉ
826 PreReq:         %{name}-common = %{version}
827
828 %description imap
829 This is a dynamic shared object (DSO) for Apache that will add IMAP
830 support to PHP.
831
832 %description imap -l pl
833 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
834
835 %package ldap
836 Summary:        LDAP extension module for PHP
837 Summary(pl):    Modu³ LDAP dla PHP
838 Group:          Libraries
839 Group(cs):      Knihovny
840 Group(de):      Bibliotheken
841 Group(es):      Bibliotecas
842 Group(fr):      Librairies
843 Group(ja):      ¥é¥¤¥Ö¥é¥ê
844 Group(pl):      Biblioteki
845 Group(pt):      Bibliotecas
846 Group(pt_BR):   Bibliotecas
847 Group(ru):      âÉÂÌÉÏÔÅËÉ
848 Group(uk):      â¦Â̦ÏÔÅËÉ
849 PreReq:         %{name}-common = %{version}
850
851 %description ldap
852 This is a dynamic shared object (DSO) for Apache that will add LDAP
853 support to PHP.
854
855 %description ldap -l pl
856 Modu³ PHP dodaj±cy obs³ugê LDAP.
857
858 %package sockets
859 Summary:        sockets extension module for PHP
860 Summary(pl):    Modu³ socket dla PHP
861 Group:          Libraries
862 Group(cs):      Knihovny
863 Group(de):      Bibliotheken
864 Group(es):      Bibliotecas
865 Group(fr):      Librairies
866 Group(ja):      ¥é¥¤¥Ö¥é¥ê
867 Group(pl):      Biblioteki
868 Group(pt):      Bibliotecas
869 Group(pt_BR):   Bibliotecas
870 Group(ru):      âÉÂÌÉÏÔÅËÉ
871 Group(uk):      â¦Â̦ÏÔÅËÉ
872 PreReq:         %{name}-common = %{version}
873
874 %description sockets
875 This is a dynamic shared object (DSO) for Apache that will add sockets
876 support to PHP.
877
878 %description sockets -l pl
879 Modu³ PHP dodaj±cy obs³ugê gniazdek.
880
881 %package mcrypt
882 Summary:        mcrypt extension module for PHP
883 Summary(pl):    Modu³ mcrypt dla PHP
884 Group:          Libraries
885 Group(cs):      Knihovny
886 Group(de):      Bibliotheken
887 Group(es):      Bibliotecas
888 Group(fr):      Librairies
889 Group(ja):      ¥é¥¤¥Ö¥é¥ê
890 Group(pl):      Biblioteki
891 Group(pt):      Bibliotecas
892 Group(pt_BR):   Bibliotecas
893 Group(ru):      âÉÂÌÉÏÔÅËÉ
894 Group(uk):      â¦Â̦ÏÔÅËÉ
895 PreReq:         %{name}-common = %{version}
896
897 %description mcrypt
898 This is a dynamic shared object (DSO) for Apache that will add mcrypt
899 support to PHP.
900
901 %description mcrypt -l pl
902 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
903
904 %package mhash
905 Summary:        mhash extension module for PHP
906 Summary(pl):    Modu³ mhash dla PHP
907 Group:          Libraries
908 Group(cs):      Knihovny
909 Group(de):      Bibliotheken
910 Group(es):      Bibliotecas
911 Group(fr):      Librairies
912 Group(ja):      ¥é¥¤¥Ö¥é¥ê
913 Group(pl):      Biblioteki
914 Group(pt):      Bibliotecas
915 Group(pt_BR):   Bibliotecas
916 Group(ru):      âÉÂÌÉÏÔÅËÉ
917 Group(uk):      â¦Â̦ÏÔÅËÉ
918 PreReq:         %{name}-common = %{version}
919
920 %description mhash
921 This is a dynamic shared object (DSO) for Apache that will add mhash
922 support to PHP.
923
924 %description mhash -l pl
925 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
926
927 %package doc
928 Summary:        Online manual for PHP
929 Summary(pl):    Dokumentacja dla PHP
930 Group:          Networking/Daemons
931 Group(cs):      Sí»ové/Démoni
932 Group(de):      Netzwerkwesen/Server
933 Group(es):      Red/Servidores
934 Group(fr):      Réseau/Serveurs
935 Group(pl):      Sieciowe/Serwery
936 Group(pt):      Rede/Servidores
937 Group(ru):      óÅÔÅ×ÙÅ/äÅÍÏÎÙ
938 Obsoletes:      php-manual
939
940 %description doc
941 Comprehensive documentation for PHP, viewable through your web server,
942 too!
943
944 %description doc -l pl
945 Dokumentacja dla pakietu PHP. Mo¿na j± równie¿ ogl±daæ poprzez serwer
946 WWW.
947
948 %package pear
949 Summary:        PEAR - PHP Extension and Application Repository
950 Summary(pl):    PEAR - Rozszerzenie PHP i Repozytorium Aplikacji
951 Group:          Development/Languages/PHP
952 Group(cs):      Vývojové prostøedky/Programovací jazyky/PHP
953 Group(de):      Entwicklung/Sprachen/PHP
954 Group(es):      Desarrollo/Lenguajes/PHP
955 Group(fr):      Development/Langues/PHP
956 Group(ja):      ³«È¯/¸À¸ì/PHP
957 Group(pl):      Programowanie/Jêzyki/PHP
958 Group(pt):      Desenvolvimento/Linguagens/PHP
959 Group(ru):      òÁÚÒÁÂÏÔËÁ/ñÚÙËÉ/PHP
960
961 %description pear
962 PEAR - PHP Extension and Application Repository.
963
964 %description pear -l pl
965 PEAR (PHP Extension and Application Repository) - Rozszerzenie PHP i
966 Repozytorium Aplikacji.
967
968 %package domxml
969 Summary:        DOM XML module
970 Summary(pl):    Modu³ DOM XML
971 Group:          Development/Languages/PHP
972 Group(cs):      Vývojové prostøedky/Programovací jazyky/PHP
973 Group(de):      Entwicklung/Sprachen/PHP
974 Group(es):      Desarrollo/Lenguajes/PHP
975 Group(fr):      Development/Langues/PHP
976 Group(ja):      ³«È¯/¸À¸ì/PHP
977 Group(pl):      Programowanie/Jêzyki/PHP
978 Group(pt):      Desenvolvimento/Linguagens/PHP
979 Group(ru):      òÁÚÒÁÂÏÔËÁ/ñÚÙËÉ/PHP
980
981 %description domxml
982 DOM XML module.
983
984 %description domxml -l pl
985 Modu³ DOM XML.
986
987 %package devel
988 Summary:        Files for PHP modules development
989 Summary(pl):    Pliki do kompilacji modu³ów PHP
990 Group:          Development/Languages/PHP
991 Group(cs):      Vývojové prostøedky/Programovací jazyky/PHP
992 Group(de):      Entwicklung/Sprachen/PHP
993 Group(es):      Desarrollo/Lenguajes/PHP
994 Group(fr):      Development/Langues/PHP
995 Group(ja):      ³«È¯/¸À¸ì/PHP
996 Group(pl):      Programowanie/Jêzyki/PHP
997 Group(pt):      Desenvolvimento/Linguagens/PHP
998 Group(ru):      òÁÚÒÁÂÏÔËÁ/ñÚÙËÉ/PHP
999 Requires:       %{name}-common = %{version}
1000
1001 %description devel
1002 Files for PHP modules development.
1003
1004 %description devel -l pl
1005 Pliki potrzebne do kompilacji modu³ów PHP.
1006
1007 %package curl
1008 Summary:        curl extension module for PHP
1009 Summary(pl):    Modu³ curl dla PHP
1010 Group:          Libraries
1011 Group(cs):      Knihovny
1012 Group(de):      Bibliotheken
1013 Group(es):      Bibliotecas
1014 Group(fr):      Librairies
1015 Group(ja):      ¥é¥¤¥Ö¥é¥ê
1016 Group(pl):      Biblioteki
1017 Group(pt):      Bibliotecas
1018 Group(pt_BR):   Bibliotecas
1019 Group(ru):      âÉÂÌÉÏÔÅËÉ
1020 Group(uk):      â¦Â̦ÏÔÅËÉ
1021 PreReq:         %{name}-common = %{version}
1022
1023 %description curl
1024 This is a dynamic shared object (DSO) for Apache that will add curl
1025 support to PHP.
1026
1027 %description curl -l pl
1028 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
1029
1030 %package xslt
1031 Summary:        xslt extension module for PHP
1032 Summary(pl):    Modu³ xslt dla PHP
1033 Group:          Libraries
1034 Group(cs):      Knihovny
1035 Group(de):      Bibliotheken
1036 Group(es):      Bibliotecas
1037 Group(fr):      Librairies
1038 Group(ja):      ¥é¥¤¥Ö¥é¥ê
1039 Group(pl):      Biblioteki
1040 Group(pt):      Bibliotecas
1041 Group(pt_BR):   Bibliotecas
1042 Group(ru):      âÉÂÌÉÏÔÅËÉ
1043 Group(uk):      â¦Â̦ÏÔÅËÉ
1044 PreReq:         %{name}-common = %{version}
1045
1046 %description xslt
1047 This is a dynamic shared object (DSO) for Apache that will add xslt
1048 support to PHP.
1049
1050 %description xslt -l pl
1051 Modu³ PHP umo¿liwiaj±cy korzystanie z technologii xslt.
1052
1053 %package wddx
1054 Summary:        wddx extension module for PHP
1055 Summary(pl):    Modu³ wddx dla PHP
1056 Group:          Libraries
1057 Group(cs):      Knihovny
1058 Group(de):      Bibliotheken
1059 Group(es):      Bibliotecas
1060 Group(fr):      Librairies
1061 Group(ja):      ¥é¥¤¥Ö¥é¥ê
1062 Group(pl):      Biblioteki
1063 Group(pt):      Bibliotecas
1064 Group(pt_BR):   Bibliotecas
1065 Group(ru):      âÉÂÌÉÏÔÅËÉ
1066 Group(uk):      â¦Â̦ÏÔÅËÉ
1067 PreReq:         %{name}-common = %{version}
1068
1069 %description wddx
1070 This is a dynamic shared object (DSO) for Apache that will add wddx
1071 support to PHP.
1072
1073 %description wddx -l pl
1074 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1075
1076 %package ming
1077 Summary:        ming extension module for PHP
1078 Summary(pl):    Modu³ ming dla PHP
1079 Group:          Libraries
1080 Group(cs):      Knihovny
1081 Group(de):      Bibliotheken
1082 Group(es):      Bibliotecas
1083 Group(fr):      Librairies
1084 Group(ja):      ¥é¥¤¥Ö¥é¥ê
1085 Group(pl):      Biblioteki
1086 Group(pt):      Bibliotecas
1087 Group(pt_BR):   Bibliotecas
1088 Group(ru):      âÉÂÌÉÏÔÅËÉ
1089 Group(uk):      â¦Â̦ÏÔÅËÉ
1090 PreReq:         %{name}-common = %{version}
1091
1092 %description ming
1093 This is a dynamic shared object (DSO) for Apache that will add ming
1094 (Flash - .swf files) support to PHP.
1095
1096 %description ming -l pl
1097 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
1098 ming.
1099
1100 %package libcpdf
1101 Summary:        cpdf extension module for PHP
1102 Summary(pl):    Modu³ cpdf dla PHP
1103 Group:          Libraries
1104 Group(cs):      Knihovny
1105 Group(de):      Bibliotheken
1106 Group(es):      Bibliotecas
1107 Group(fr):      Librairies
1108 Group(ja):      ¥é¥¤¥Ö¥é¥ê
1109 Group(pl):      Biblioteki
1110 Group(pt):      Bibliotecas
1111 Group(pt_BR):   Bibliotecas
1112 Group(ru):      âÉÂÌÉÏÔÅËÉ
1113 Group(uk):      â¦Â̦ÏÔÅËÉ
1114 PreReq:         %{name}-common = %{version}
1115
1116 %description libcpdf
1117 This is a dynamic shared object (DSO) for Apache that will add libcpdf
1118 support to PHP.
1119
1120 %description libcpdf -l pl
1121 Modu³ PHP dodaj±cy obs³ugê libcpdf.
1122
1123 %prep
1124 %setup  -q
1125 %patch0 -p1
1126 %patch1 -p1
1127 %patch2 -p1
1128 %patch3 -p1
1129 %patch4 -p1
1130 %patch5 -p1
1131 %patch6 -p1
1132 %patch7 -p1
1133 %patch8 -p1
1134 %patch9 -p1
1135 %patch10 -p1
1136 %patch11 -p1
1137 install -d manual
1138 bzip2 -dc %{SOURCE4} | tar -xf - -C manual
1139
1140 %build
1141 CFLAGS="%{rpmcflags} -DEAPI -I%{_prefix}/X11R6/include"; export CFLAGS
1142 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1143 ./buildconf
1144 libtoolize --copy --force
1145 aclocal
1146 autoconf
1147 #for i in cgi fastcgi apxs ; do
1148 for i in cgi apxs ; do
1149 %configure \
1150         `[ $i = cgi ] && echo --enable-discard-path` \
1151         `[ $i = fastcgi ] && echo --enable-discard-path --with-fastcgi=%{_prefix}` \
1152         `[ $i = apxs ] && echo --with-apxs=%{_sbindir}/apxs` \
1153         --with-config-file-path=%{_sysconfdir} \
1154         --with-exec-dir=%{_bindir} \
1155         --%{!?debug:dis}%{?debug:en}able-debug \
1156         --enable-bcmath=shared \
1157         --enable-calendar=shared \
1158         --enable-dba=shared \
1159         --enable-exif=shared \
1160         --enable-ftp=shared \
1161         --enable-gd-native-ttf \
1162         --enable-magic-quotes \
1163         --enable-posix=shared \
1164         --enable-session \
1165         --enable-shared \
1166         --enable-shmop=shared \
1167         --enable-sysvsem=shared \
1168         --enable-sysvshm=shared \
1169         --enable-track-vars \
1170         --enable-trans-sid \
1171         --enable-safe-mode \
1172         --enable-sockets=shared \
1173         --enable-yp=shared \
1174         --enable-ucd-snmp-hack \
1175         --enable-xml=shared \
1176         %{?_with_xslt:--enable-xslt=shared} \
1177         --with-bz2=shared \
1178         %{?_with_libcpdf:--with-cpdflib=shared} \
1179         --with-ctype=shared \
1180         --with-curl=shared \
1181         --without-db2 \
1182         --with-db3 \
1183         --with-dbase=shared \
1184         --with-dom=shared \
1185         --with-filepro=shared \
1186         --with-freetype-dir=shared \
1187         --with-gettext=shared \
1188         --with-gd=shared \
1189         --with-gdbm \
1190         --with-gmp=shared \
1191         --with-hyperwave \
1192         %{!?_without_imap:--with-imap=shared --with-imap-ssl} \
1193         %{?_with_java:--with-java} \
1194         --with-jpeg-dir=shared \
1195         %{!?_without_ldap:--with-ldap=shared} \
1196         --with-mcrypt=shared \
1197         --with-mysql=shared,%{_prefix} \
1198         --with-mysql-sock=/var/lib/mysql/mysql.sock \
1199         --with-mhash=shared \
1200         --with-ming=shared \
1201         --with-mm \
1202         %{!?_without_openssl:--with-openssl} \
1203         %{?_with_oracle:--with-oracle=shared} \
1204         %{?_with_oci8:--with-oci8=shared} \
1205         --with-pear=%{peardir} \
1206         --with-pcre-regex=shared \
1207         --with-pdflib=shared \
1208         --with-pgsql=shared,%{_prefix} \
1209         --with-png-dir=shared \
1210         --with-recode=shared \
1211         --with-regex=php \
1212         %{!?_without_sablot:--with-sablot=/usr/lib} \
1213         %{!?_without_snmp:--with-snmp=shared} \
1214         --with-t1lib=shared \
1215         %{!?_without_odbc:--with-unixODBC=shared} \
1216         %{?_with_wddx:--enable-wddx=shared} \
1217         --with-zlib=shared \
1218         --with-zlib-dir=shared \
1219         --with-xml=shared \
1220         %{?_with_xslt:--with-xslt-sablot=shared}
1221 done
1222
1223 # TODO --with-pspell=/usr,shared (pspell missing)
1224 #       --with-qtdom=shared
1225
1226 %{__make}
1227 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" -C sapi/cgi
1228
1229 # Kill -rpath from php binary and libphp4.so
1230 perl -pi -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
1231 perl -pi -e 's|^runpath_var=.*|runpath_var=|g' libtool
1232 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" php
1233
1234 perl -pi -e 's|^hardcode_into_libs=.*|hardcode_into_libs=no|g' libtool
1235 rm libphp4.la ; %{__make} libphp4.la
1236
1237 %install
1238 rm -rf $RPM_BUILD_ROOT
1239 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache},%{_sysconfdir}/{apache,cgi}} \
1240                 $RPM_BUILD_ROOT/home/httpd/icons \
1241                 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}}
1242
1243 %{__make} install \
1244         INSTALL_ROOT=$RPM_BUILD_ROOT \
1245         INSTALL_IT="install libs/libphp4.so $RPM_BUILD_ROOT%{_libdir}/apache/ ; install libs/libphp_common*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}"
1246
1247 install .libs/php $RPM_BUILD_ROOT%{_bindir}/php
1248
1249 #exit 1
1250 #install .libs/*.so     $RPM_BUILD_ROOT%{_pkglibdir}
1251 #install modules/*.so   $RPM_BUILD_ROOT%{_pkglibdir}/php
1252
1253 install %{SOURCE2}              $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1254 install %{SOURCE3} php4.gif     $RPM_BUILD_ROOT/home/httpd/icons
1255 install %{SOURCE5} $RPM_BUILD_ROOT/%{_sbindir}
1256
1257
1258 install %{SOURCE1} .
1259 gzip -9nf CODING_STANDARDS CREDITS \
1260       EXTENSIONS NEWS TODO* LICENSE Zend/LICENSE \
1261       Zend/ZEND_CHANGES README.SELF-CONTAINED-EXTENSIONS README.EXT_SKEL
1262
1263 %clean
1264 rm -rf $RPM_BUILD_ROOT
1265
1266 %post
1267 %{_sbindir}/apxs -e -a -n php4 %{_pkglibdir}/libphp4.so 1>&2
1268 perl -pi -e 's|^#AddType application/x-httpd-php \.php|AddType application/x-httpd-php .php|' \
1269         /etc/httpd/httpd.conf
1270 if [ -f /var/lock/subsys/httpd ]; then
1271         /etc/rc.d/init.d/httpd restart 1>&2
1272 fi
1273
1274 %preun
1275 if [ "$1" = "0" ]; then
1276         %{_sbindir}/apxs -e -A -n php4 %{_pkglibdir}/libphp4.so 1>&2
1277         perl -pi -e \
1278                 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
1279                 /etc/httpd/httpd.conf
1280         if [ -f /var/lock/subsys/httpd ]; then
1281                 /etc/rc.d/init.d/httpd restart 1>&2
1282         fi
1283 fi
1284
1285 %post common -p /sbin/ldconfig
1286 %postun common -p /sbin/ldconfig
1287
1288 %post bcmath
1289 %{_sbindir}/php-module-install install bcmath %{_sysconfdir}/php.ini
1290
1291 %preun bcmath
1292 if [ "$1" = "0" ]; then
1293         %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
1294 fi
1295
1296 %post calendar
1297 %{_sbindir}/php-module-install install calendar %{_sysconfdir}/php.ini
1298
1299 %preun calendar
1300 if [ "$1" = "0" ]; then
1301         %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
1302 fi
1303
1304 %post dba
1305 %{_sbindir}/php-module-install install dba %{_sysconfdir}/php.ini
1306
1307 %preun dba
1308 if [ "$1" = "0" ]; then
1309         %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
1310 fi
1311
1312 %post dbase
1313 %{_sbindir}/php-module-install install dbase %{_sysconfdir}/php.ini
1314
1315 %preun dbase
1316 if [ "$1" = "0" ]; then
1317         %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
1318 fi
1319
1320 %post exif
1321 %{_sbindir}/php-module-install install exif %{_sysconfdir}/php.ini
1322
1323 %preun exif
1324 if [ "$1" = "0" ]; then
1325         %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
1326 fi
1327
1328 %post filepro
1329 %{_sbindir}/php-module-install install filepro %{_sysconfdir}/php.ini
1330
1331 %preun filepro
1332 if [ "$1" = "0" ]; then
1333         %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
1334 fi
1335
1336 %post ftp
1337 %{_sbindir}/php-module-install install ftp %{_sysconfdir}/php.ini
1338
1339 %preun ftp
1340 if [ "$1" = "0" ]; then
1341         %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
1342 fi
1343
1344 %post gd
1345 %{_sbindir}/php-module-install install gd %{_sysconfdir}/php.ini
1346
1347 %preun gd
1348 if [ "$1" = "0" ]; then
1349         %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
1350 fi
1351
1352 %post gettext
1353 %{_sbindir}/php-module-install install gettext %{_sysconfdir}/php.ini
1354
1355 %preun gettext
1356 if [ "$1" = "0" ]; then
1357         %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
1358 fi
1359
1360 %if %{?_without_imap:0}%{!?_without_imap:1}
1361 %post imap
1362 %{_sbindir}/php-module-install install imap %{_sysconfdir}/php.ini
1363
1364 %preun imap
1365 if [ "$1" = "0" ]; then
1366         %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
1367 fi
1368 %endif
1369
1370 %if %{?_with_java:1}%{!?_with_java:0}
1371 %post java
1372 %{_sbindir}/php-module-install install libphp_java %{_sysconfdir}/php.ini
1373
1374 %preun java
1375 if [ "$1" = "0" ]; then
1376         %{_sbindir}/php-module-install remove libphp_java %{_sysconfdir}/php.ini
1377 fi
1378 %endif
1379
1380 %if %{?_without_ldap:0}%{!?_without_ldap:1}
1381 %post ldap
1382 %{_sbindir}/php-module-install install ldap %{_sysconfdir}/php.ini
1383
1384 %preun ldap
1385 if [ "$1" = "0" ]; then
1386         %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
1387 fi
1388 %endif
1389
1390 %post mcrypt
1391 %{_sbindir}/php-module-install install mcrypt %{_sysconfdir}/php.ini
1392
1393 %preun mcrypt
1394 if [ "$1" = "0" ]; then
1395         %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
1396 fi
1397
1398 %post mhash
1399 %{_sbindir}/php-module-install install mhash %{_sysconfdir}/php.ini
1400
1401 %preun mhash
1402 if [ "$1" = "0" ]; then
1403         %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
1404 fi
1405
1406 %post mysql
1407 %{_sbindir}/php-module-install install mysql %{_sysconfdir}/php.ini
1408
1409 %preun mysql
1410 if [ "$1" = "0" ]; then
1411         %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
1412 fi
1413
1414 %post pdf
1415 %{_sbindir}/php-module-install install libpdf_php %{_sysconfdir}/php.ini
1416
1417 %preun pdf
1418 if [ "$1" = "0" ]; then
1419         %{_sbindir}/php-module-install remove libpdf_php %{_sysconfdir}/php.ini
1420 fi
1421
1422 %preun domxml
1423 if [ "$1" = "0" ]; then
1424         %{_sbindir}/php-module-install remove domxml %{_sysconfdir}/php.ini
1425 fi
1426
1427 %post domxml
1428 %{_sbindir}/php-module-install install domxml %{_sysconfdir}/php.ini
1429
1430 %if %{?_with_oci8:1}%{!?_with_oci8:0}
1431 %post oci8
1432 %{_sbindir}/php-module-install install oci8 %{_sysconfdir}/php.ini
1433
1434 %preun oci8
1435 if [ "$1" = "0" ]; then
1436         %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
1437 fi
1438 %endif
1439
1440 %if %{?_without_odbc:0}%{!?_without_odbc:1}
1441 %post odbc
1442 %{_sbindir}/php-module-install install odbc %{_sysconfdir}/php.ini
1443
1444 %preun odbc
1445 if [ "$1" = "0" ]; then
1446         %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
1447 fi
1448 %endif
1449
1450 %if %{?_with_oracle:1}%{!?_with_oracle:0}
1451 %post oracle
1452 %{_sbindir}/php-module-install install oracle %{_sysconfdir}/php.ini
1453
1454 %preun oracle
1455 if [ "$1" = "0" ]; then
1456         %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
1457 fi
1458 %endif
1459
1460 %post pcre
1461 %{_sbindir}/php-module-install install pcre %{_sysconfdir}/php.ini
1462
1463 %preun pcre
1464 if [ "$1" = "0" ]; then
1465         %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
1466 fi
1467
1468 %post pgsql
1469 %{_sbindir}/php-module-install install pgsql %{_sysconfdir}/php.ini
1470
1471 %preun pgsql
1472 if [ "$1" = "0" ]; then
1473         %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
1474 fi
1475
1476 %post posix
1477 %{_sbindir}/php-module-install install posix %{_sysconfdir}/php.ini
1478
1479 %preun posix
1480 if [ "$1" = "0" ]; then
1481         %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
1482 fi
1483
1484 %post recode
1485 %{_sbindir}/php-module-install install recode %{_sysconfdir}/php.ini
1486
1487 %preun recode
1488 if [ "$1" = "0" ]; then
1489         %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
1490 fi
1491
1492 %post session
1493 %{_sbindir}/php-module-install install session %{_sysconfdir}/php.ini
1494
1495 %preun session
1496 if [ "$1" = "0" ]; then
1497         %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
1498 fi
1499
1500 %if %{?_without_snmp:0}%{!?_without_snmp:1}
1501 %post snmp
1502 %{_sbindir}/php-module-install install snmp %{_sysconfdir}/php.ini
1503
1504 %preun snmp
1505 if [ "$1" = "0" ]; then
1506         %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
1507 fi
1508 %endif
1509
1510 %post sockets
1511 %{_sbindir}/php-module-install install sockets %{_sysconfdir}/php.ini
1512
1513 %preun sockets
1514 if [ "$1" = "0" ]; then
1515         %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
1516 fi
1517
1518 %post sysvsem
1519 %{_sbindir}/php-module-install install sysvsem %{_sysconfdir}/php.ini
1520
1521 %preun sysvsem
1522 if [ "$1" = "0" ]; then
1523         %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
1524 fi
1525
1526 %post sysvshm
1527 %{_sbindir}/php-module-install install sysvshm %{_sysconfdir}/php.ini
1528
1529 %preun sysvshm
1530 if [ "$1" = "0" ]; then
1531         %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
1532 fi
1533
1534 %post xml
1535 %{_sbindir}/php-module-install install xml %{_sysconfdir}/php.ini
1536
1537 %preun xml
1538 if [ "$1" = "0" ]; then
1539         %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
1540 fi
1541
1542 %post yp
1543 %{_sbindir}/php-module-install install yp %{_sysconfdir}/php.ini
1544
1545 %preun yp
1546 if [ "$1" = "0" ]; then
1547         %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
1548 fi
1549
1550 %post zlib
1551 %{_sbindir}/php-module-install install zlib %{_sysconfdir}/php.ini
1552
1553 %preun zlib
1554 if [ "$1" = "0" ]; then
1555         %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
1556 fi
1557
1558 %post curl
1559 %{_sbindir}/php-module-install install curl %{_sysconfdir}/php.ini
1560
1561 %preun curl
1562 if [ "$1" = "0" ]; then
1563         %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
1564 fi
1565
1566 %post ming
1567 %{_sbindir}/php-module-install install ming %{_sysconfdir}/php.ini
1568
1569 %preun ming
1570 if [ "$1" = "0" ]; then
1571         %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
1572 fi
1573
1574 %if %{?_with_xslt:1}%{!?_with_xslt:0}
1575 %post xslt
1576 %{_sbindir}/php-module-install install xslt %{_sysconfdir}/php.ini
1577
1578 %preun xslt
1579 if [ "$1" = "0" ]; then
1580         %{_sbindir}/php-module-install remove xslt %{_sysconfdir}/php.ini
1581 fi
1582 %endif
1583
1584 %if %{?_with_wddx:1}%{!?_with_wddx:0}
1585 %post wddx
1586 %{_sbindir}/php-module-install install wddx %{_sysconfdir}/php.ini
1587
1588 %preun wddx
1589 if [ "$1" = "0" ]; then
1590         %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
1591 fi
1592 %endif
1593
1594 %if %{?_with_libcpdf:1}%{!?_with_libcpdf:0}
1595 %post libcpdf
1596 %{_sbindir}/php-module-install install libcpdf %{_sysconfdir}/php.ini
1597
1598 %preun libcpdf
1599 if [ "$1" = "0" ]; then
1600         %{_sbindir}/php-module-install remove libcpdf %{_sysconfdir}/php.ini
1601 fi
1602 %endif
1603
1604 %files
1605 %defattr(644,root,root,755)
1606 %attr(755,root,root) %{_libdir}/apache/libphp4.so
1607
1608 %files cgi
1609 %defattr(644,root,root,755)
1610 %attr(755,root,root) %{_bindir}/php
1611
1612 %files common
1613 %defattr(644,root,root,755)
1614 %doc {CODING_STANDARDS,CREDITS,Zend/ZEND_CHANGES}.gz
1615 %doc {LICENSE,Zend/LICENSE,EXTENSIONS,NEWS,TODO*}.gz  
1616 %doc {README.EXT_SKEL,README.SELF-CONTAINED-EXTENSIONS}.gz
1617
1618 %dir %{_sysconfdir}
1619 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
1620
1621 /home/httpd/icons/*
1622
1623 %attr(755,root,root) %{_sbindir}/*
1624
1625 %attr(755,root,root) %{_libdir}/libphp_common*.so.*.*.*
1626
1627 %dir %{extensionsdir}
1628
1629 %files devel
1630 %defattr(644,root,root,755)
1631 %{_includedir}/php
1632 %{_libdir}/php/build
1633 %attr(755,root,root) %{_bindir}/phpextdist
1634 %attr(755,root,root) %{_bindir}/phpize
1635 %attr(755,root,root) %{_bindir}/php-config
1636
1637 %files domxml
1638 %defattr(644,root,root,755)
1639 %attr(755,root,root) %{extensionsdir}/domxml.so
1640
1641 %files pear
1642 %defattr(644,root,root,755)
1643 %attr(755,root,root) %{_bindir}/pear
1644 %{peardir}
1645
1646 %files mysql
1647 %defattr(644,root,root,755)
1648 %attr(755,root,root) %{extensionsdir}/mysql.so
1649
1650 %files pdf
1651 %defattr(644,root,root,755)
1652 %attr(755,root,root) %{extensionsdir}/libpdf_php.so
1653
1654 %files pgsql
1655 %defattr(644,root,root,755)
1656 %attr(755,root,root) %{extensionsdir}/pgsql.so
1657
1658 %if %{?_with_oracle:1}%{!?_with_oracle:0}
1659 %files oracle
1660 %defattr(644,root,root,755)
1661 %attr(755,root,root) %{extensionsdir}/oracle.so
1662 %endif
1663
1664 %if %{?_with_oci8:1}%{!?_with_oci8:0}
1665 %files oci8
1666 %defattr(644,root,root,755)
1667 %attr(755,root,root) %{extensionsdir}/oci8.so
1668 %endif
1669
1670 %files gd
1671 %defattr(644,root,root,755)
1672 %attr(755,root,root) %{extensionsdir}/gd.so
1673
1674 # To check
1675 #%files xml
1676 #%defattr(644,root,root,755)
1677 #%attr(755,root,root) %{extensionsdir}/xml.so
1678
1679 %files dba
1680 %defattr(644,root,root,755)
1681 %attr(755,root,root) %{extensionsdir}/dba.so
1682
1683 %files dbase
1684 %defattr(644,root,root,755)
1685 %attr(755,root,root) %{extensionsdir}/dbase.so
1686
1687 %files filepro
1688 %defattr(644,root,root,755)
1689 %attr(755,root,root) %{extensionsdir}/filepro.so
1690
1691 %files pcre
1692 %defattr(644,root,root,755)
1693 %attr(755,root,root) %{extensionsdir}/pcre.so
1694
1695 %files posix
1696 %defattr(644,root,root,755)
1697 %attr(755,root,root) %{extensionsdir}/posix.so
1698
1699 %files sysvsem
1700 %defattr(644,root,root,755)
1701 %attr(755,root,root) %{extensionsdir}/sysvsem.so
1702
1703 %files sysvshm
1704 %defattr(644,root,root,755)
1705 %attr(755,root,root) %{extensionsdir}/sysvshm.so
1706
1707 %files yp
1708 %defattr(644,root,root,755)
1709 %attr(755,root,root) %{extensionsdir}/yp.so
1710
1711 %files calendar
1712 %defattr(644,root,root,755)
1713 %attr(755,root,root) %{extensionsdir}/calendar.so
1714
1715 %files bcmath
1716 %defattr(644,root,root,755)
1717 %attr(755,root,root) %{extensionsdir}/bcmath.so
1718
1719 %files ftp
1720 %defattr(644,root,root,755)
1721 %attr(755,root,root) %{extensionsdir}/ftp.so
1722
1723 %files zlib
1724 %defattr(644,root,root,755)
1725 %attr(755,root,root) %{extensionsdir}/zlib.so
1726
1727 %files exif
1728 %defattr(644,root,root,755)
1729 %attr(755,root,root) %{extensionsdir}/exif.so
1730
1731 %files recode
1732 %defattr(644,root,root,755)
1733 %attr(755,root,root) %{extensionsdir}/recode.so
1734
1735 #%files session
1736 #%defattr(644,root,root,755)
1737 #%attr(755,root,root) %{extensionsdir}/session.so
1738
1739 %files gettext
1740 %defattr(644,root,root,755)
1741 %attr(755,root,root) %{extensionsdir}/gettext.so
1742
1743 %if %{?_without_imap:0}%{!?_without_imap:1}
1744 %files imap
1745 %defattr(644,root,root,755)
1746 %attr(755,root,root) %{extensionsdir}/imap.so
1747 %endif
1748
1749 %if %{?_without_snmp:0}%{!?_without_snmp:1}
1750 %files snmp
1751 %defattr(644,root,root,755)
1752 %attr(755,root,root) %{extensionsdir}/snmp.so
1753 %endif
1754
1755 %if %{?_with_java:1}%{!?_with_java:0}
1756 %files java
1757 %defattr(644,root,root,755)
1758 %attr(755,root,root) %{extensionsdir}/libphp_java.so
1759 %endif
1760
1761 %if %{?_without_ldap:0}%{!?_without_ldap:1}
1762 %files ldap
1763 %defattr(644,root,root,755)
1764 %attr(755,root,root) %{extensionsdir}/ldap.*
1765 %endif
1766
1767 %files sockets
1768 %defattr(644,root,root,755)
1769 %attr(755,root,root) %{extensionsdir}/sockets.so
1770
1771 %files mcrypt
1772 %defattr(644,root,root,755)
1773 %attr(755,root,root) %{extensionsdir}/mcrypt.so
1774
1775 %files mhash
1776 %defattr(644,root,root,755)
1777 %attr(755,root,root) %{extensionsdir}/mhash.so
1778
1779 %if %{?_without_odbc:0}%{!?_without_odbc:1}
1780 %files odbc
1781 %defattr(644,root,root,755)
1782 %attr(755,root,root) %{extensionsdir}/odbc.so
1783 %endif
1784
1785 %files doc
1786 %defattr(644,root,root,755)
1787 %doc manual/*
1788
1789 %files curl
1790 %defattr(644,root,root,755)
1791 %attr(755,root,root) %{extensionsdir}/curl.so
1792
1793 %files ming
1794 %defattr(644,root,root,755)
1795 %attr(755,root,root) %{extensionsdir}/ming.so
1796
1797 %if %{?_with_xslt:1}%{!?_with_xslt:0}
1798 %files xslt
1799 %defattr(644,root,root,755)
1800 %attr(755,root,root) %{extensionsdir}/xslt.so
1801 %endif
1802
1803 %if %{?_with_wddx:1}%{!?_with_wddx:0}
1804 %files wddx
1805 %defattr(644,root,root,755)
1806 %attr(755,root,root) %{extensionsdir}/wddx.so
1807 %endif
1808
1809 %if %{?_with_libcpdf:1}%{!?_with_libcpdf:0}
1810 %files libcpdf
1811 %defattr(644,root,root,755)
1812 %attr(755,root,root) %{extensionsdir}/cpdf.so
1813 %endif
This page took 0.263387 seconds and 4 git commands to generate.