2 %define _apache2 %(if rpm -q apache-devel | grep -Eq '\-2\.[0-9]+\.' 2> /dev/null ; then echo 1; else echo 0; fi)
5 %define _without_recode 1
10 # _with_oracle - with oracle support
11 # _with_interbase - with interbase support
12 # _with_oci8 - with oci8 support
13 # _with_java - with Java support
14 # _with_libcpdf - with libcpdf support
15 # _with_openssl - with OpenSSL support
16 # _with_wddx - with WDDX support
17 # _with_xslt - with XSLT support
18 # _without_imap - without IMAP support
19 # _without_ldap - without LDAP support
20 # _without_odbc - without ODBC support
21 # _without_snmp - without SNMP support
22 # _without_sablot - without sablot support
23 # _without_recode - without recode support
24 # _without_mm - without mm support
25 Summary: The PHP HTML-embedded scripting language for use with Apache
26 Summary(fr): Le langage de script embarque-HTML PHP pour Apache
27 Summary(pl): Jêzyk skryptowy PHP -- u¿ywany wraz z serwerem Apache
33 License: The PHP license (see "LICENSE" file included in distribution)
34 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.gz
38 Source4: http://www.php.net/distributions/manual/%{name}_manual_en.tar.bz2
39 Source5: %{name}-module-install
40 Source6: %{name}-xml_fix
41 Patch0: %{name}-shared.patch
42 Patch1: %{name}-pldlogo.patch
43 Patch2: %{name}-mysql-socket.patch
44 Patch3: %{name}-mail.patch
45 Patch4: %{name}-link-libs.patch
46 Patch5: %{name}-am_ac_lt.patch
47 Patch6: %{name}-fastcgi.patch
48 Patch7: %{name}-ac250.patch
49 Patch8: %{name}-mailsecurity2.patch
50 Patch9: %{name}-oracle9.patch
51 Patch10: %{name}-no_%{name}_pcre_in_SAPI_c.patch
52 Patch11: %{name}-libpq_fs_h_path.patch
53 Patch12: %{name}-apache2.patch
54 Patch13: %{name}-pdflib4.0.2.patch
56 URL: http://www.php.net/
57 BuildRequires: apache(EAPI)-devel
58 BuildRequires: autoconf >= 1.4
59 BuildRequires: automake >= 1.4d
61 BuildRequires: bzip2-devel
62 BuildRequires: curl-devel
63 BuildRequires: cyrus-sasl-devel
64 BuildRequires: db3-devel >= 3.1.17
65 BuildRequires: expat-devel
67 BuildRequires: gmp-devel
68 BuildRequires: freetype-devel >= 2.0
69 BuildRequires: gd-devel >= 2.0.1
70 BuildRequires: gdbm-devel
71 %{!?_without_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2 }
72 # I think jdk is better for java
74 %{?_with_java:BuildRequires: kaffe-devel}
75 BuildRequires: libjpeg-devel
76 BuildRequires: libltdl-devel >= 1.4
77 BuildRequires: libmcrypt-devel >= 2.4.4
78 BuildRequires: libpng >= 1.0.8
79 BuildRequires: libtiff-devel
80 BuildRequires: libtool >= 1.4
81 BuildRequires: libxml2-devel >= 2.2.7
82 BuildRequires: mhash-devel
83 BuildRequires: ming-devel >= 0.1.0
84 %{!?_without_mm:BuildRequires: mm-devel >= 1.1.3}
85 BuildRequires: mysql-devel >= 3.23.32
86 %{!?_without_ldap:BuildRequires: openldap-devel >= 2.0}
87 BuildRequires: pam-devel
88 BuildRequires: pdflib-devel >= 4.0.0
90 BuildRequires: pkgconfig
91 BuildRequires: postgresql-devel
92 BuildRequires: postgresql-backend-devel >= 7.2
93 %{!?_without_recode:BuildRequires: recode-devel >= 3.5d-3}
94 BuildRequires: t1lib-devel
95 %{!?_without_snmp:BuildRequires: ucd-snmp-devel >= 4.2.3}
96 %{!?_without_odbc:BuildRequires: unixODBC-devel}
98 BuildRequires: zlib-devel >= 1.0.9
99 #BuildRequires: fastcgi-devkit
100 %if %(expr %{?_with_openssl:1}%{!?_with_openssl:0} + %{!?_without_ldap:1}%{?_without_ldap:0})
101 %{!?_without_openssl:BuildRequires: openssl-devel >= 0.9.6a}
103 %{?_with_libcpdf:BuildRequires: libcpdf-devel >= 2.00}
104 %{?_with_xslt:BuildRequires: sablotron-devel}
105 %{?_with_xslt:BuildRequires: expat-devel}
106 %{?_with_xslt:BuildRequires: w3c-libwww-devel}
107 # apache 1.3 vs apache 2.0
109 PreReq: apache(EAPI) >= 2.0.35
111 PreReq: apache(EAPI) < 2.0.0
112 PreReq: apache(EAPI) >= 1.3.9
115 PreReq: %{_sbindir}/apxs
116 PreReq: %{name}-common = %{version}
117 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
119 Obsoletes: apache-mod_php
121 %define _sysconfdir /etc/php
122 %define extensionsdir %{_libdir}/php
123 %define peardir %{_datadir}/pear
126 PHP is an HTML-embedded scripting language. PHP attempts to make it
127 easy for developers to write dynamically generated web pages. PHP also
128 offers built-in database integration for several commercial and
129 non-commercial database management systems, so writing a
130 database-enabled web page with PHP is fairly simple. The most common
131 use of PHP coding is probably as a replacement for CGI scripts. The
132 mod_php module enables the Apache web server to understand and process
133 the embedded PHP language in web pages. This package contains PHP
134 version %{version}. If you use applications which specifically rely on
135 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
136 module contained in the phpfi package. If you're just starting with
137 PHP, you should install this package. You'll also need to install the
141 PHP est un langage de script embarque dans le HTM. PHP essaye de
142 rendre simple aux developpeurs d'ecrire des pages web generees
143 dynamiquement. PHP incorpore egalement une integration avec plusieurs
144 systemes de gestion de bases de donnees commerciaux et
145 non-connerciaux, qui rent facile la creation de pages web liees avec
146 des bases de donnees. L'utilisation la plus commune de PHP est
147 probablement en remplacement de scripts CGI. Le module mod_php permet
148 au serveur web apache de comprendre et de traiter le langage PHP
149 integre dans des pages web. Ce package contient PHP version
150 %{version}. Si vous utilisez des applications qui utilisent
151 specifiquement PHP/FI, vous devrez installer le module PHP/FI inclus
152 dans le package mod_php. Si vous debutez avec PHP, vous devriez
153 installer ce package. Vous aurez egalement besoin d'installer le
157 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
158 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
159 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
160 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
161 zosta³a z jêzyków: C, Java i Perl.
164 Summary: PHP as CGI program
165 Summary(pl): PHP jako program CGI
167 PreReq: %{name}-common = %{version}
172 %description cgi -l pl
173 PHP jako program CGI.
176 Summary: Common files nneded by both apache module and CGI
177 Summary(pl): Wspólne pliki dla modu³u apacha i programu CGI
181 Common files needed by both apache module and CGI.
183 %description common -l pl
184 Wspólne pliki dla modu³u apacha i programu CGI.
187 Summary: MySQL database module for PHP
188 Summary(pl): Modu³ bazy danych MySQL dla PHP
190 Requires(post): %{name}-common = %{version}
191 Requires(preun): %{name}-common = %{version}
194 This is a dynamic shared object (DSO) for Apache that will add MySQL
195 database support to PHP. If you need back-end support for MySQL, you
196 should install this package in addition to the main %{name} package.
198 %description mysql -l pl
199 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
202 Summary: libPDF module for PHP
203 Summary(pl): Modu³ do tworzenia plików PDF dla PHP
205 Requires(post): %{name}-common = %{version}
206 Requires(preun): %{name}-common = %{version}
210 This is a dynamic shared object (DSO) for Apache that will add PDF
213 %description pdf -l pl
214 Modu³ PHP umo¿liwiaj±cy tworzenie plików PDF. Wykorzystuje bibliotekê
218 Summary: PostgreSQL database module for PHP
219 Summary(pl): Modu³ bazy danych PostgreSQL dla PHP
221 Requires(post): %{name}-common = %{version}
222 Requires(preun): %{name}-common = %{version}
225 This is a dynamic shared object (DSO) for Apache that will add
226 PostgreSQL database support to PHP. If you need back-end support for
227 PostgreSQL, you should install this package in addition to the main
230 %description pgsql -l pl
231 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
234 Summary: Oracle 8 database module for PHP
235 Summary(pl): Modu³ bazy danych Oracle 8 dla PHP
237 Requires(post): %{name}-common = %{version}
238 Requires(preun): %{name}-common = %{version}
242 This is a dynamic shared object (DSO) for Apache that will add Oracle
243 8 database support to PHP. If you need back-end support for Oracle 8,
244 you should install this package in addition to the main %{name}
247 %description oci8 -l pl
248 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 8.
251 Summary: Oracle 7 database module for PHP
252 Summary(pl): Modu³ bazy danych Oracle 7 dla PHP
254 Requires(post): %{name}-common = %{version}
255 Requires(preun): %{name}-common = %{version}
259 This is a dynamic shared object (DSO) for Apache that will add Oracle
260 7 database support to PHP. If you need back-end support for Oracle 7,
261 you should install this package in addition to the main %{name}
264 %description oracle -l pl
265 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7.
268 Summary: Interbase database module for PHP
269 Summary(pl): Modu³ bazy danych Interbase dla PHP
271 Requires(post): %{name}-common = %{version}
272 Requires(preun): %{name}-common = %{version}
275 %description interbase
276 This is a dynamic shared object (DSO) for Apache that will add InterBase
277 database support to PHP. If you need back-end support for InterBase.
278 you should install this package in addition to the main %{name}
281 %description interbase -l pl
282 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych InterBase.
286 Summary: GD extension module for PHP
287 Summary: Modu³ GD dla PHP
289 Requires(post): %{name}-common = %{version}
290 Requires(preun): %{name}-common = %{version}
293 This is a dynamic shared object (DSO) for Apache that will add GD
294 support to PHP. You should install this package in addition to the
295 main %{name} package if you want to create and manipulate images with
298 %description gd -l pl
299 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD - do obróbki
300 obrazków z poziomu PHP.
303 Summary: Java extension module for PHP
304 Summary(pl): Modu³ Javy dla PHP
306 Requires(post): %{name}-common = %{version}
307 Requires(preun): %{name}-common = %{version}
310 This is a dynamic shared object (DSO) for Apache that will add JAVA
311 support to PHP. This extension provides a simple and effective means
312 for creating and invoking methods on Java objects from PHP.
314 %description java -l pl
315 Modu³ PHP dodaj±cy wsparcie dla Javy. Umo¿liwia odwo³ywanie siê do
316 obiektów Javy z poziomu PHP.
319 Summary: XML extension module for PHP
320 Summary(pl): Modu³ XML dla PHP
322 Requires(post): %{name}-common = %{version}
323 Requires(preun): %{name}-common = %{version}
326 This is a dynamic shared object (DSO) for Apache that will add XML
327 support to PHP. This extension lets you create XML parsers and then
328 define handlers for different XML events. If you want to be able to
329 parse XML documents you should install this package in addition to the
330 main %{name} package.
332 %description xml -l pl
333 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
334 zwi±zanych z tymi plikami.
337 Summary: DBA extension module for PHP
338 Summary(pl): Modu³ DBA dla PHP
340 Requires(post): %{name}-common = %{version}
341 Requires(preun): %{name}-common = %{version}
344 This is a dynamic shared object (DSO) for Apache that will add
345 flat-file databases (DBA) support to PHP.
347 %description dba -l pl
348 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
349 wsparcie dla baz danych DBA.
352 Summary: ODBC extension module for PHP
353 Summary(pl): Modu³ ODBC dla PHP
355 Requires(post): %{name}-common = %{version}
356 Requires(preun): %{name}-common = %{version}
359 This is a dynamic shared object (DSO) for Apache that will add ODBC
362 %description odbc -l pl
363 Modu³ PHP ze wsparciem dla ODBC.
366 Summary: Calendar extension module for PHP
367 Summary(pl): Modu³ funkcji kalendarza dla PHP
369 Requires(post): %{name}-common = %{version}
370 Requires(preun): %{name}-common = %{version}
372 %description calendar
373 This is a dynamic shared object (DSO) for Apache that will add
374 calendar support to PHP.
376 %description calendar -l pl
377 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
378 wsparcie dla kalendarza.
381 Summary: DBase extension module for PHP
382 Summary(pl): Modu³ DBase dla PHP
384 Requires(post): %{name}-common = %{version}
385 Requires(preun): %{name}-common = %{version}
388 This is a dynamic shared object (DSO) for Apache that will add DBase
391 %description dbase -l pl
392 Modu³ PHP ze wsparciem dla DBase.
395 Summary: FilePro extension module for PHP
396 Summary(pl): Modu³ FilePro dla PHP
398 Requires(post): %{name}-common = %{version}
399 Requires(preun): %{name}-common = %{version}
402 This is a dynamic shared object (DSO) for Apache that will add FilePro
405 %description filepro -l pl
406 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
407 wsparcie dla FilePro.
410 Summary: POSIX extension module for PHP
411 Summary(pl): Modu³ POSIX dla PHP
413 Requires(post): %{name}-common = %{version}
414 Requires(preun): %{name}-common = %{version}
417 This is a dynamic shared object (DSO) for Apache that will add POSIX
418 functions support to PHP.
420 %description posix -l pl
421 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
424 Summary: PCRE extension module for PHP
425 Summary(pl): Modu³ PCRE dla PHP
427 Requires(post): %{name}-common = %{version}
428 Requires(preun): %{name}-common = %{version}
431 This is a dynamic shared object (DSO) for Apache that will add Perl
432 Compatible Regular Expression support to PHP.
434 %description pcre -l pl
435 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
436 (Perl Compatible Regular Expressions)
439 Summary: SysV sem extension module for PHP
440 Summary(pl): Modu³ SysV sem dla PHP
442 Requires(post): %{name}-common = %{version}
443 Requires(preun): %{name}-common = %{version}
446 This is a dynamic shared object (DSO) for Apache that will add SysV
447 semafores support to PHP.
449 %description sysvsem -l pl
450 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
453 Summary: SysV shm extension module for PHP
454 Summary(pl): Modu³ SysV shm dla PHP
456 Requires(post): %{name}-common = %{version}
457 Requires(preun): %{name}-common = %{version}
460 This is a dynamic shared object (DSO) for Apache that will add SysV
461 Shared Memory support to PHP.
463 %description sysvshm -l pl
464 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
467 Summary: NIS (yp) extension module for PHP
468 Summary(pl): Modu³ NIS (yp) dla PHP
470 Requires(post): %{name}-common = %{version}
471 Requires(preun): %{name}-common = %{version}
474 This is a dynamic shared object (DSO) for Apache that will add NIS
475 (Yellow Pages) support to PHP.
477 %description yp -l pl
478 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
479 wsparcie dla NIS (Yellow Pages).
482 Summary: bcmath extension module for PHP
483 Summary(pl): Modu³ bcmath dla PHP
485 Requires(post): %{name}-common = %{version}
486 Requires(preun): %{name}-common = %{version}
489 This is a dynamic shared object (DSO) for Apache that will add bc
490 style precision math functions support to PHP.
492 %description bcmath -l pl
493 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
494 matematycznych takich jak w programie bc.
497 Summary: FTP extension module for PHP
498 Summary(pl): Modu³ FTP dla PHP
500 Requires(post): %{name}-common = %{version}
501 Requires(preun): %{name}-common = %{version}
504 This is a dynamic shared object (DSO) for Apache that will add FTP
507 %description ftp -l pl
508 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
511 Summary: Zlib extension module for PHP
512 Summary(pl): Modu³ zlib dla PHP
514 Requires(post): %{name}-common = %{version}
515 Requires(preun): %{name}-common = %{version}
518 This is a dynamic shared object (DSO) for Apache that will add
519 compression (zlib) support to PHP.
521 %description zlib -l pl
522 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji (poprzez bibliotekê zlib).
525 Summary: Bzip2 extension module for PHP
526 Summary(pl): Modu³ bzip2 dla PHP
528 Requires(post): %{name}-common = %{version}
529 Requires(preun): %{name}-common = %{version}
532 This is a dynamic shared object (DSO) for Apache that will add
533 compression (bzip2) support to PHP.
535 %description bzip2 -l pl
536 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji (poprzez bibliotekê bzip2).
539 Summary: exif extension module for PHP
540 Summary(pl): Modu³ exif dla PHP
542 Requires(post): %{name}-common = %{version}
543 Requires(preun): %{name}-common = %{version}
546 This is a dynamic shared object (DSO) for Apache that will add exif
549 %description exif -l pl
550 Modu³ PHP dodaj±cy obs³ugê plików EXIF.
553 Summary: recode extension module for PHP
554 Summary(pl): Modu³ recode dla PHP
556 Requires(post): %{name}-common = %{version}
557 Requires(preun): %{name}-common = %{version}
558 Requires: recode >= 3.5d-3
561 This is a dynamic shared object (DSO) for Apache that will add recode
564 %description recode -l pl
565 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
569 Summary: session extension module for PHP
570 Summary(pl): Modu³ session dla PHP
572 Requires(post): %{name}-common = %{version}
573 Requires(preun): %{name}-common = %{version}
576 This is a dynamic shared object (DSO) for Apache that will add session
579 %description session -l pl
580 Modu³ PHP dodaj±cy obs³ugê sesji.
583 Summary: gettext extension module for PHP
584 Summary(pl): Modu³ gettext dla PHP
586 Requires(post): %{name}-common = %{version}
587 Requires(preun): %{name}-common = %{version}
590 This is a dynamic shared object (DSO) for Apache that will add gettext
593 %description gettext -l pl
594 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
597 Summary: SNMP extension module for PHP
598 Summary(pl): Modu³ SNMP dla PHP
600 Requires(post): %{name}-common = %{version}
601 Requires(preun): %{name}-common = %{version}
604 This is a dynamic shared object (DSO) for Apache that will add SNMP
607 %description snmp -l pl
608 Modu³ PHP dodaj±cy obs³ugê SNMP.
611 Summary: IMAP extension module for PHP
612 Summary(pl): Modu³ IMAP dla PHP
614 Requires(post): %{name}-common = %{version}
615 Requires(preun): %{name}-common = %{version}
618 This is a dynamic shared object (DSO) for Apache that will add IMAP
621 %description imap -l pl
622 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
625 Summary: LDAP extension module for PHP
626 Summary(pl): Modu³ LDAP dla PHP
628 Requires(post): %{name}-common = %{version}
629 Requires(preun): %{name}-common = %{version}
632 This is a dynamic shared object (DSO) for Apache that will add LDAP
635 %description ldap -l pl
636 Modu³ PHP dodaj±cy obs³ugê LDAP.
639 Summary: sockets extension module for PHP
640 Summary(pl): Modu³ socket dla PHP
642 Requires(post): %{name}-common = %{version}
643 Requires(preun): %{name}-common = %{version}
646 This is a dynamic shared object (DSO) for Apache that will add sockets
649 %description sockets -l pl
650 Modu³ PHP dodaj±cy obs³ugê gniazdek.
653 Summary: mcrypt extension module for PHP
654 Summary(pl): Modu³ mcrypt dla PHP
656 Requires(post): %{name}-common = %{version}
657 Requires(preun): %{name}-common = %{version}
660 This is a dynamic shared object (DSO) for Apache that will add mcrypt
663 %description mcrypt -l pl
664 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
667 Summary: mhash extension module for PHP
668 Summary(pl): Modu³ mhash dla PHP
670 Requires(post): %{name}-common = %{version}
671 Requires(preun): %{name}-common = %{version}
674 This is a dynamic shared object (DSO) for Apache that will add mhash
677 %description mhash -l pl
678 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
681 Summary: Online manual for PHP
682 Summary(pl): Dokumentacja dla PHP
683 Group: Networking/Daemons
684 Obsoletes: php-manual
687 Comprehensive documentation for PHP, viewable through your web server,
690 %description doc -l pl
691 Dokumentacja dla pakietu PHP. Mo¿na j± równie¿ ogl±daæ poprzez serwer
695 Summary: PEAR - PHP Extension and Application Repository
696 Summary(pl): PEAR - Rozszerzenie PHP i Repozytorium Aplikacji
697 Group: Development/Languages/PHP
698 Requires: %{name}-cgi = %{version}
699 Requires: %{name}-xml = %{version}
702 PEAR - PHP Extension and Application Repository.
704 %description pear -l pl
705 PEAR (PHP Extension and Application Repository) - Rozszerzenie PHP i
706 Repozytorium Aplikacji.
709 Summary: DOM XML module
710 Summary(pl): Modu³ DOM XML
711 Group: Development/Languages/PHP
716 %description domxml -l pl
720 Summary: Files for PHP modules development
721 Summary(pl): Pliki do kompilacji modu³ów PHP
722 Group: Development/Languages/PHP
723 Requires: %{name}-common = %{version}
726 Files for PHP modules development.
728 %description devel -l pl
729 Pliki potrzebne do kompilacji modu³ów PHP.
732 Summary: curl extension module for PHP
733 Summary(pl): Modu³ curl dla PHP
737 This is a dynamic shared object (DSO) for Apache that will add curl
740 %description curl -l pl
741 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
744 Summary: xslt extension module for PHP
745 Summary(pl): Modu³ xslt dla PHP
747 Requires(post): %{name}-common = %{version}
748 Requires(preun): %{name}-common = %{version}
751 This is a dynamic shared object (DSO) for Apache that will add xslt
754 %description xslt -l pl
755 Modu³ PHP umo¿liwiaj±cy korzystanie z technologii xslt.
758 Summary: wddx extension module for PHP
759 Summary(pl): Modu³ wddx dla PHP
761 Requires(post): %{name}-common = %{version}
762 Requires(preun): %{name}-common = %{version}
765 This is a dynamic shared object (DSO) for Apache that will add wddx
768 %description wddx -l pl
769 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
772 Summary: ming extension module for PHP
773 Summary(pl): Modu³ ming dla PHP
775 Requires(post): %{name}-common = %{version}
776 Requires(preun): %{name}-common = %{version}
779 This is a dynamic shared object (DSO) for Apache that will add ming
780 (Flash - .swf files) support to PHP.
782 %description ming -l pl
783 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
787 Summary: cpdf extension module for PHP
788 Summary(pl): Modu³ cpdf dla PHP
790 Requires(post): %{name}-common = %{version}
791 Requires(preun): %{name}-common = %{version}
794 This is a dynamic shared object (DSO) for Apache that will add libcpdf
797 %description libcpdf -l pl
798 Modu³ PHP dodaj±cy obs³ugê libcpdf.
801 Summary: iconv extension module for PHP
802 Summary(pl): Modu³ iconv dla PHP
804 Requires(post): %{name}-common = %{version}
805 Requires(preun): %{name}-common = %{version}
808 This is a dynamic shared object (DSO) for Apache that will add iconv
811 %description iconv -l pl
812 Modu³ PHP dodaj±cy obs³ugê iconv.
815 Summary: gmp extension module for PHP
816 Summary(pl): Modu³ gmp dla PHP
818 Requires(post): %{name}-common = %{version}
819 Requires(preun): %{name}-common = %{version}
822 This is a dynamic shared object (DSO) for Apache that will add
823 arbitrary length number support with GNU MP library to PHP.
825 %description gmp -l pl
826 Modu³ PHP umorzliwiaj±cy korzystanie z biblioteki gmp.
829 Summary: Shared Memory Operations extension module for PHP
830 Summary(pl): Modu³ shmop dla PHP
832 Requires(post): %{name}-common = %{version}
833 Requires(preun): %{name}-common = %{version}
836 This is a dynamic shared object (DSO) for Apache that will add
837 Shared Memory Operations support to PHP.
839 %description shmop -l pl
840 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
860 bzip2 -dc %{SOURCE4} | tar -xf - -C manual
863 CFLAGS="%{rpmcflags} -DEAPI -I%{_prefix}/X11R6/include"; export CFLAGS
864 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
866 libtoolize --copy --force
869 #for i in cgi fastcgi apxs ; do
870 for i in cgi apxs ; do
872 `[ $i = cgi ] && echo --enable-discard-path` \
873 `[ $i = fastcgi ] && echo --enable-discard-path --with-fastcgi=%{_prefix}` \
875 `[ $i = apxs ] && echo --with-apxs2=%{_sbindir}/apxs` \
877 `[ $i = apxs ] && echo --with-apxs=%{_sbindir}/apxs` \
879 --with-config-file-path=%{_sysconfdir} \
880 --with-exec-dir=%{_bindir} \
881 --%{!?debug:dis}%{?debug:en}able-debug \
882 --enable-bcmath=shared \
883 --enable-calendar=shared \
884 --enable-dba=shared \
885 --enable-exif=shared \
886 --enable-ftp=shared \
887 --enable-gd-native-ttf \
888 --enable-magic-quotes \
889 --enable-posix=shared \
892 --enable-shmop=shared \
893 --enable-sysvsem=shared \
894 --enable-sysvshm=shared \
895 --enable-track-vars \
898 --enable-sockets=shared \
900 --enable-ucd-snmp-hack \
901 --enable-xml=shared \
902 --with-expat-dir=/usr \
903 %{?_with_xslt:--enable-xslt=shared} \
905 %{?_with_libcpdf:--with-cpdflib=shared} \
906 --with-ctype=shared \
910 --with-dbase=shared \
911 --with-iconv=shared \
913 --with-dom-xslt=shared \
914 --with-filepro=shared \
915 --with-freetype-dir=shared \
916 --with-gettext=shared \
921 %{!?_without_imap:--with-imap=shared --with-imap-ssl} \
922 %{?_with_java:--with-java} \
923 --with-jpeg-dir=shared \
924 %{!?_without_ldap:--with-ldap=shared} \
925 --with-mcrypt=shared \
926 --with-mysql=shared,%{_prefix} \
927 --with-mysql-sock=/var/lib/mysql/mysql.sock \
928 --with-mhash=shared \
930 %{!?_without_mm:--with-mm} \
931 %{!?_without_openssl:--with-openssl} \
932 %{?_with_oracle:--with-oracle=shared} \
933 %{?_with_interbase:--with-interbase=shared} \
934 %{?_with_oci8:--with-oci8=shared} \
935 --with-pear=%{peardir} \
936 --with-pcre-regex=shared \
937 --with-pdflib=shared \
938 --with-pgsql=shared,%{_prefix} \
939 --with-png-dir=shared \
940 %{!?_without_recode:--with-recode=shared} \
942 %{!?_without_sablot:--with-sablot=/usr/lib} \
943 %{!?_without_snmp:--with-snmp=shared} \
944 --with-t1lib=shared \
945 %{!?_without_odbc:--with-unixODBC=shared} \
946 %{?_with_wddx:--enable-wddx=shared} \
948 --with-zlib-dir=shared \
950 %{?_with_xslt:--with-xslt-sablot=shared}
953 # TODO --with-pspell=/usr,shared (pspell missing)
954 # --with-qtdom=shared
956 rm -f ext/xml/libs.mk
957 install %{SOURCE6} ext/xml/libs.mk
960 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" -C sapi/cgi
962 # Kill -rpath from php binary and libphp4.so
963 perl -pi -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
964 perl -pi -e 's|^runpath_var=.*|runpath_var=|g' libtool
965 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" php
967 perl -pi -e 's|^hardcode_into_libs=.*|hardcode_into_libs=no|g' libtool
968 rm libphp4.la ; %{__make} libphp4.la
971 rm -rf $RPM_BUILD_ROOT
972 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache},%{_sysconfdir}/{apache,cgi}} \
973 $RPM_BUILD_ROOT/home/httpd/icons \
974 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
975 $RPM_BUILD_ROOT/var/run/php
978 INSTALL_ROOT=$RPM_BUILD_ROOT \
979 INSTALL_IT="install libs/libphp4.so $RPM_BUILD_ROOT%{_libdir}/apache/ ; install libs/libphp_common*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}"
981 install .libs/php $RPM_BUILD_ROOT%{_bindir}/php
984 #install .libs/*.so $RPM_BUILD_ROOT%{_pkglibdir}
985 #install modules/*.so $RPM_BUILD_ROOT%{_pkglibdir}/php
987 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
988 install %{SOURCE3} php4.gif $RPM_BUILD_ROOT/home/httpd/icons
989 install %{SOURCE5} $RPM_BUILD_ROOT/%{_sbindir}
993 gzip -9nf CODING_STANDARDS CREDITS \
994 EXTENSIONS NEWS TODO* LICENSE Zend/LICENSE \
995 Zend/ZEND_CHANGES README.SELF-CONTAINED-EXTENSIONS README.EXT_SKEL
998 rm -rf $RPM_BUILD_ROOT
1001 %{_sbindir}/apxs -e -a -n php4 %{_pkglibdir}/libphp4.so 1>&2
1002 perl -pi -e 's|^#AddType application/x-httpd-php \.php|AddType application/x-httpd-php .php|' \
1003 /etc/httpd/httpd.conf
1004 if [ -f /var/lock/subsys/httpd ]; then
1005 /etc/rc.d/init.d/httpd restart 1>&2
1009 if [ "$1" = "0" ]; then
1010 %{_sbindir}/apxs -e -A -n php4 %{_pkglibdir}/libphp4.so 1>&2
1012 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
1013 /etc/httpd/httpd.conf
1014 if [ -f /var/lock/subsys/httpd ]; then
1015 /etc/rc.d/init.d/httpd restart 1>&2
1019 %post common -p /sbin/ldconfig
1020 %postun common -p /sbin/ldconfig
1023 %{_sbindir}/php-module-install install bcmath %{_sysconfdir}/php.ini
1026 if [ "$1" = "0" ]; then
1027 %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
1031 %{_sbindir}/php-module-install install calendar %{_sysconfdir}/php.ini
1034 if [ "$1" = "0" ]; then
1035 %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
1039 %{_sbindir}/php-module-install install dba %{_sysconfdir}/php.ini
1042 if [ "$1" = "0" ]; then
1043 %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
1047 %{_sbindir}/php-module-install install dbase %{_sysconfdir}/php.ini
1050 if [ "$1" = "0" ]; then
1051 %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
1055 %{_sbindir}/php-module-install install exif %{_sysconfdir}/php.ini
1058 if [ "$1" = "0" ]; then
1059 %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
1063 %{_sbindir}/php-module-install install filepro %{_sysconfdir}/php.ini
1066 if [ "$1" = "0" ]; then
1067 %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
1071 %{_sbindir}/php-module-install install ftp %{_sysconfdir}/php.ini
1074 if [ "$1" = "0" ]; then
1075 %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
1079 %{_sbindir}/php-module-install install gd %{_sysconfdir}/php.ini
1082 if [ "$1" = "0" ]; then
1083 %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
1087 %{_sbindir}/php-module-install install gettext %{_sysconfdir}/php.ini
1090 if [ "$1" = "0" ]; then
1091 %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
1094 %if %{?_without_imap:0}%{!?_without_imap:1}
1096 %{_sbindir}/php-module-install install imap %{_sysconfdir}/php.ini
1099 if [ "$1" = "0" ]; then
1100 %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
1104 %if %{?_with_java:1}%{!?_with_java:0}
1106 %{_sbindir}/php-module-install install libphp_java %{_sysconfdir}/php.ini
1109 if [ "$1" = "0" ]; then
1110 %{_sbindir}/php-module-install remove libphp_java %{_sysconfdir}/php.ini
1114 %if %{?_without_ldap:0}%{!?_without_ldap:1}
1116 %{_sbindir}/php-module-install install ldap %{_sysconfdir}/php.ini
1119 if [ "$1" = "0" ]; then
1120 %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
1125 %{_sbindir}/php-module-install install mcrypt %{_sysconfdir}/php.ini
1128 if [ "$1" = "0" ]; then
1129 %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
1133 %{_sbindir}/php-module-install install mhash %{_sysconfdir}/php.ini
1136 if [ "$1" = "0" ]; then
1137 %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
1141 %{_sbindir}/php-module-install install mysql %{_sysconfdir}/php.ini
1144 if [ "$1" = "0" ]; then
1145 %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
1149 %{_sbindir}/php-module-install install libpdf_php %{_sysconfdir}/php.ini
1152 if [ "$1" = "0" ]; then
1153 %{_sbindir}/php-module-install remove libpdf_php %{_sysconfdir}/php.ini
1157 if [ "$1" = "0" ]; then
1158 %{_sbindir}/php-module-install remove domxml %{_sysconfdir}/php.ini
1162 %{_sbindir}/php-module-install install domxml %{_sysconfdir}/php.ini
1164 %if %{?_with_oci8:1}%{!?_with_oci8:0}
1166 %{_sbindir}/php-module-install install oci8 %{_sysconfdir}/php.ini
1169 if [ "$1" = "0" ]; then
1170 %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
1174 %if %{?_without_odbc:0}%{!?_without_odbc:1}
1176 %{_sbindir}/php-module-install install odbc %{_sysconfdir}/php.ini
1179 if [ "$1" = "0" ]; then
1180 %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
1184 %if %{?_with_oracle:1}%{!?_with_oracle:0}
1186 %{_sbindir}/php-module-install install oracle %{_sysconfdir}/php.ini
1189 if [ "$1" = "0" ]; then
1190 %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
1194 %if %{?_with_interbase:1}%{!?_with_interbase:0}
1196 %{_sbindir}/php-module-install install interbase %{_sysconfdir}/php.ini
1199 if [ "$1" = "0" ]; then
1200 %{_sbindir}/php-module-install remove interbase %{_sysconfdir}/php.ini
1205 %{_sbindir}/php-module-install install pcre %{_sysconfdir}/php.ini
1208 if [ "$1" = "0" ]; then
1209 %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
1213 %{_sbindir}/php-module-install install pgsql %{_sysconfdir}/php.ini
1216 if [ "$1" = "0" ]; then
1217 %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
1221 %{_sbindir}/php-module-install install posix %{_sysconfdir}/php.ini
1224 if [ "$1" = "0" ]; then
1225 %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
1228 %if %{?_without_recode:0}%{!?_without_recode:1}
1230 %{_sbindir}/php-module-install install recode %{_sysconfdir}/php.ini
1233 if [ "$1" = "0" ]; then
1234 %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
1239 %{_sbindir}/php-module-install install session %{_sysconfdir}/php.ini
1242 if [ "$1" = "0" ]; then
1243 %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
1246 %if %{?_without_snmp:0}%{!?_without_snmp:1}
1248 %{_sbindir}/php-module-install install snmp %{_sysconfdir}/php.ini
1251 if [ "$1" = "0" ]; then
1252 %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
1257 %{_sbindir}/php-module-install install sockets %{_sysconfdir}/php.ini
1260 if [ "$1" = "0" ]; then
1261 %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
1265 %{_sbindir}/php-module-install install sysvsem %{_sysconfdir}/php.ini
1268 if [ "$1" = "0" ]; then
1269 %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
1273 %{_sbindir}/php-module-install install sysvshm %{_sysconfdir}/php.ini
1276 if [ "$1" = "0" ]; then
1277 %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
1281 %{_sbindir}/php-module-install install xml %{_sysconfdir}/php.ini
1284 if [ "$1" = "0" ]; then
1285 %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
1289 %{_sbindir}/php-module-install install yp %{_sysconfdir}/php.ini
1292 if [ "$1" = "0" ]; then
1293 %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
1297 %{_sbindir}/php-module-install install zlib %{_sysconfdir}/php.ini
1300 if [ "$1" = "0" ]; then
1301 %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
1305 %{_sbindir}/php-module-install install bz2 %{_sysconfdir}/php.ini
1308 if [ "$1" = "0" ]; then
1309 %{_sbindir}/php-module-install remove bz2 %{_sysconfdir}/php.ini
1313 %{_sbindir}/php-module-install install curl %{_sysconfdir}/php.ini
1316 if [ "$1" = "0" ]; then
1317 %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
1321 %{_sbindir}/php-module-install install ming %{_sysconfdir}/php.ini
1324 if [ "$1" = "0" ]; then
1325 %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
1328 %if %{?_with_xslt:1}%{!?_with_xslt:0}
1330 %{_sbindir}/php-module-install install xslt %{_sysconfdir}/php.ini
1333 if [ "$1" = "0" ]; then
1334 %{_sbindir}/php-module-install remove xslt %{_sysconfdir}/php.ini
1338 %if %{?_with_wddx:1}%{!?_with_wddx:0}
1340 %{_sbindir}/php-module-install install wddx %{_sysconfdir}/php.ini
1343 if [ "$1" = "0" ]; then
1344 %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
1348 %if %{?_with_libcpdf:1}%{!?_with_libcpdf:0}
1350 %{_sbindir}/php-module-install install libcpdf %{_sysconfdir}/php.ini
1353 if [ "$1" = "0" ]; then
1354 %{_sbindir}/php-module-install remove libcpdf %{_sysconfdir}/php.ini
1359 %{_sbindir}/php-module-install install iconv %{_sysconfdir}/php.ini
1362 if [ "$1" = "0" ]; then
1363 %{_sbindir}/php-module-install remove iconv %{_sysconfdir}/php.ini
1367 %{_sbindir}/php-module-install install gmp %{_sysconfdir}/php.ini
1370 if [ "$1" = "0" ]; then
1371 %{_sbindir}/php-module-install remove gmp %{_sysconfdir}/php.ini
1375 %{_sbindir}/php-module-install install shmop %{_sysconfdir}/php.ini
1378 if [ "$1" = "0" ]; then
1379 %{_sbindir}/php-module-install remove shmop %{_sysconfdir}/php.ini
1383 %defattr(644,root,root,755)
1384 %attr(755,root,root) %{_libdir}/apache/libphp4.so
1387 %defattr(644,root,root,755)
1388 %attr(755,root,root) %{_bindir}/php
1391 %defattr(644,root,root,755)
1392 %doc {CODING_STANDARDS,CREDITS,Zend/ZEND_CHANGES}.gz
1393 %doc {LICENSE,Zend/LICENSE,EXTENSIONS,NEWS,TODO*}.gz
1394 %doc {README.EXT_SKEL,README.SELF-CONTAINED-EXTENSIONS}.gz
1397 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
1398 %attr(730,root,http) %dir %verify(not group mode) /var/run/php
1401 %attr(755,root,root) %{_sbindir}/*
1402 %attr(755,root,root) %{_libdir}/libphp_common*.so.*.*.*
1403 %dir %{extensionsdir}
1406 %defattr(644,root,root,755)
1408 %{_libdir}/php/build
1409 %attr(755,root,root) %{_bindir}/phpextdist
1410 %attr(755,root,root) %{_bindir}/phpize
1411 %attr(755,root,root) %{_bindir}/php-config
1414 %defattr(644,root,root,755)
1415 %attr(755,root,root) %{extensionsdir}/domxml.so
1418 %defattr(644,root,root,755)
1419 %attr(755,root,root) %{_bindir}/pear
1423 %defattr(644,root,root,755)
1424 %attr(755,root,root) %{extensionsdir}/mysql.so
1427 %defattr(644,root,root,755)
1428 %attr(755,root,root) %{extensionsdir}/libpdf_php.so
1431 %defattr(644,root,root,755)
1432 %attr(755,root,root) %{extensionsdir}/pgsql.so
1434 %if %{?_with_oracle:1}%{!?_with_oracle:0}
1436 %defattr(644,root,root,755)
1437 %attr(755,root,root) %{extensionsdir}/oracle.so
1440 %if %{?_with_interbase:1}%{!?_with_interbase:0}
1442 %defattr(644,root,root,755)
1443 %attr(755,root,root) %{extensionsdir}/interbase.so
1446 %if %{?_with_oci8:1}%{!?_with_oci8:0}
1448 %defattr(644,root,root,755)
1449 %attr(755,root,root) %{extensionsdir}/oci8.so
1453 %defattr(644,root,root,755)
1454 %attr(755,root,root) %{extensionsdir}/gd.so
1457 %defattr(644,root,root,755)
1458 %attr(755,root,root) %{extensionsdir}/xml.so
1461 %defattr(644,root,root,755)
1462 %attr(755,root,root) %{extensionsdir}/dba.so
1465 %defattr(644,root,root,755)
1466 %attr(755,root,root) %{extensionsdir}/dbase.so
1469 %defattr(644,root,root,755)
1470 %attr(755,root,root) %{extensionsdir}/filepro.so
1473 %defattr(644,root,root,755)
1474 %attr(755,root,root) %{extensionsdir}/pcre.so
1477 %defattr(644,root,root,755)
1478 %attr(755,root,root) %{extensionsdir}/posix.so
1481 %defattr(644,root,root,755)
1482 %attr(755,root,root) %{extensionsdir}/sysvsem.so
1485 %defattr(644,root,root,755)
1486 %attr(755,root,root) %{extensionsdir}/sysvshm.so
1489 %defattr(644,root,root,755)
1490 %attr(755,root,root) %{extensionsdir}/yp.so
1493 %defattr(644,root,root,755)
1494 %attr(755,root,root) %{extensionsdir}/calendar.so
1497 %defattr(644,root,root,755)
1498 %attr(755,root,root) %{extensionsdir}/bcmath.so
1501 %defattr(644,root,root,755)
1502 %attr(755,root,root) %{extensionsdir}/ftp.so
1505 %defattr(644,root,root,755)
1506 %attr(755,root,root) %{extensionsdir}/zlib.so
1509 %defattr(644,root,root,755)
1510 %attr(755,root,root) %{extensionsdir}/bz2.so
1513 %defattr(644,root,root,755)
1514 %attr(755,root,root) %{extensionsdir}/exif.so
1516 %if %{?_without_recode:0}%{!?_without_recode:1}
1518 %defattr(644,root,root,755)
1519 %attr(755,root,root) %{extensionsdir}/recode.so
1523 #%defattr(644,root,root,755)
1524 #%attr(755,root,root) %{extensionsdir}/session.so
1527 %defattr(644,root,root,755)
1528 %attr(755,root,root) %{extensionsdir}/gettext.so
1530 %if %{?_without_imap:0}%{!?_without_imap:1}
1532 %defattr(644,root,root,755)
1533 %attr(755,root,root) %{extensionsdir}/imap.so
1536 %if %{?_without_snmp:0}%{!?_without_snmp:1}
1538 %defattr(644,root,root,755)
1539 %attr(755,root,root) %{extensionsdir}/snmp.so
1542 %if %{?_with_java:1}%{!?_with_java:0}
1544 %defattr(644,root,root,755)
1545 %attr(755,root,root) %{extensionsdir}/libphp_java.so
1548 %if %{?_without_ldap:0}%{!?_without_ldap:1}
1550 %defattr(644,root,root,755)
1551 %attr(755,root,root) %{extensionsdir}/ldap.so
1555 %defattr(644,root,root,755)
1556 %attr(755,root,root) %{extensionsdir}/sockets.so
1559 %defattr(644,root,root,755)
1560 %attr(755,root,root) %{extensionsdir}/mcrypt.so
1563 %defattr(644,root,root,755)
1564 %attr(755,root,root) %{extensionsdir}/mhash.so
1566 %if %{?_without_odbc:0}%{!?_without_odbc:1}
1568 %defattr(644,root,root,755)
1569 %attr(755,root,root) %{extensionsdir}/odbc.so
1573 %defattr(644,root,root,755)
1577 %defattr(644,root,root,755)
1578 %attr(755,root,root) %{extensionsdir}/curl.so
1581 %defattr(644,root,root,755)
1582 %attr(755,root,root) %{extensionsdir}/ming.so
1584 %if %{?_with_xslt:1}%{!?_with_xslt:0}
1586 %defattr(644,root,root,755)
1587 %attr(755,root,root) %{extensionsdir}/xslt.so
1590 %if %{?_with_wddx:1}%{!?_with_wddx:0}
1592 %defattr(644,root,root,755)
1593 %attr(755,root,root) %{extensionsdir}/wddx.so
1596 %if %{?_with_libcpdf:1}%{!?_with_libcpdf:0}
1598 %defattr(644,root,root,755)
1599 %attr(755,root,root) %{extensionsdir}/cpdf.so
1603 %defattr(644,root,root,755)
1604 %attr(755,root,root) %{extensionsdir}/iconv.so
1607 %defattr(644,root,root,755)
1608 %attr(755,root,root) %{extensionsdir}/gmp.so
1611 %defattr(644,root,root,755)
1612 %attr(755,root,root) %{extensionsdir}/shmop.so