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
28 Summary(pt_BR): A linguagem de script PHP
34 License: The PHP license (see "LICENSE" file included in distribution)
35 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.gz
39 Source4: http://www.php.net/distributions/manual/%{name}_manual_en.tar.bz2
40 Source5: %{name}-module-install
41 Source6: %{name}-xml_fix
42 Patch0: %{name}-shared.patch
43 Patch1: %{name}-pldlogo.patch
44 Patch2: %{name}-mysql-socket.patch
45 Patch3: %{name}-mail.patch
46 Patch4: %{name}-link-libs.patch
47 Patch5: %{name}-am_ac_lt.patch
48 Patch6: %{name}-fastcgi.patch
49 Patch7: %{name}-ac250.patch
50 Patch8: %{name}-mailsecurity2.patch
51 Patch9: %{name}-oracle9.patch
52 Patch10: %{name}-no_%{name}_pcre_in_SAPI_c.patch
53 Patch11: %{name}-libpq_fs_h_path.patch
54 Patch12: %{name}-apache2.patch
55 Patch13: %{name}-pdflib4.0.2.patch
57 URL: http://www.php.net/
58 BuildRequires: apache(EAPI)-devel
59 BuildRequires: autoconf >= 1.4
60 BuildRequires: automake >= 1.4d
62 BuildRequires: bzip2-devel
63 BuildRequires: curl-devel
64 BuildRequires: cyrus-sasl-devel
65 BuildRequires: db3-devel >= 3.1.17
66 BuildRequires: expat-devel
68 BuildRequires: gmp-devel
69 BuildRequires: freetype-devel >= 2.0
70 BuildRequires: gd-devel >= 2.0.1
71 BuildRequires: gdbm-devel
72 %{!?_without_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2 }
73 # I think jdk is better for java
75 %{?_with_java:BuildRequires: kaffe-devel}
76 BuildRequires: libjpeg-devel
77 BuildRequires: libltdl-devel >= 1.4
78 BuildRequires: libmcrypt-devel >= 2.4.4
79 BuildRequires: libpng >= 1.0.8
80 BuildRequires: libtiff-devel
81 BuildRequires: libtool >= 1.4
82 BuildRequires: libxml2-devel >= 2.2.7
83 BuildRequires: mhash-devel
84 BuildRequires: ming-devel >= 0.1.0
85 %{!?_without_mm:BuildRequires: mm-devel >= 1.1.3}
86 BuildRequires: mysql-devel >= 3.23.32
87 %{!?_without_ldap:BuildRequires: openldap-devel >= 2.0}
88 BuildRequires: pam-devel
89 BuildRequires: pdflib-devel >= 4.0.0
91 BuildRequires: pkgconfig
92 BuildRequires: postgresql-devel
93 BuildRequires: postgresql-backend-devel >= 7.2
94 %{!?_without_recode:BuildRequires: recode-devel >= 3.5d-3}
95 BuildRequires: t1lib-devel
96 %{!?_without_snmp:BuildRequires: ucd-snmp-devel >= 4.2.5}
97 %{!?_without_odbc:BuildRequires: unixODBC-devel}
99 BuildRequires: zlib-devel >= 1.0.9
100 #BuildRequires: fastcgi-devkit
101 %if %(expr %{?_with_openssl:1}%{!?_with_openssl:0} + %{!?_without_ldap:1}%{?_without_ldap:0})
102 %{!?_without_openssl:BuildRequires: openssl-devel >= 0.9.6a}
104 %{?_with_libcpdf:BuildRequires: libcpdf-devel >= 2.00}
105 %{?_with_xslt:BuildRequires: sablotron-devel}
106 %{?_with_xslt:BuildRequires: expat-devel}
107 %{?_with_xslt:BuildRequires: w3c-libwww-devel}
108 # apache 1.3 vs apache 2.0
110 PreReq: apache(EAPI) >= 2.0.35
112 PreReq: apache(EAPI) < 2.0.0
113 PreReq: apache(EAPI) >= 1.3.9
116 PreReq: %{_sbindir}/apxs
117 PreReq: %{name}-common = %{version}
118 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
120 Obsoletes: apache-mod_php
122 %define _sysconfdir /etc/php
123 %define extensionsdir %{_libdir}/php
124 %define peardir %{_datadir}/pear
127 PHP is an HTML-embedded scripting language. PHP attempts to make it
128 easy for developers to write dynamically generated web pages. PHP also
129 offers built-in database integration for several commercial and
130 non-commercial database management systems, so writing a
131 database-enabled web page with PHP is fairly simple. The most common
132 use of PHP coding is probably as a replacement for CGI scripts. The
133 mod_php module enables the Apache web server to understand and process
134 the embedded PHP language in web pages. This package contains PHP
135 version %{version}. If you use applications which specifically rely on
136 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
137 module contained in the phpfi package. If you're just starting with
138 PHP, you should install this package. You'll also need to install the
142 PHP est un langage de script embarque dans le HTM. PHP essaye de
143 rendre simple aux developpeurs d'ecrire des pages web generees
144 dynamiquement. PHP incorpore egalement une integration avec plusieurs
145 systemes de gestion de bases de donnees commerciaux et
146 non-connerciaux, qui rent facile la creation de pages web liees avec
147 des bases de donnees. L'utilisation la plus commune de PHP est
148 probablement en remplacement de scripts CGI. Le module mod_php permet
149 au serveur web apache de comprendre et de traiter le langage PHP
150 integre dans des pages web. Ce package contient PHP version
151 %{version}. Si vous utilisez des applications qui utilisent
152 specifiquement PHP/FI, vous devrez installer le module PHP/FI inclus
153 dans le package mod_php. Si vous debutez avec PHP, vous devriez
154 installer ce package. Vous aurez egalement besoin d'installer le
157 %description -l pt_BR
158 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
159 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
160 com algumas características únicas, específicas ao PHP. O objetivo da
161 linguagem é permitir que desenvolvedores web escrevam páginas
162 dinamicamente geradas de forma rápida.
164 Com módulos adicionais ela suporta comunicação direta com bancos de
165 dados postgresql, mysql, msql, arquivos DBF e tem interface para a
166 biblioteca gráfica gd.
169 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
170 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
171 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
172 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
173 zosta³a z jêzyków: C, Java i Perl.
176 Summary: PHP as CGI program
177 Summary(pl): PHP jako program CGI
179 PreReq: %{name}-common = %{version}
184 %description cgi -l pl
185 PHP jako program CGI.
188 Summary: Common files nneded by both apache module and CGI
189 Summary(pl): Wspólne pliki dla modu³u apacha i programu CGI
193 Common files needed by both apache module and CGI.
195 %description common -l pl
196 Wspólne pliki dla modu³u apacha i programu CGI.
199 Summary: MySQL database module for PHP
200 Summary(pl): Modu³ bazy danych MySQL dla PHP
201 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
203 Requires(post): %{name}-common = %{version}
204 Requires(preun): %{name}-common = %{version}
207 This is a dynamic shared object (DSO) for Apache that will add MySQL
208 database support to PHP. If you need back-end support for MySQL, you
209 should install this package in addition to the main %{name} package.
211 %description mysql -l pl
212 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
214 %description mysql -l pt_BR
215 Um módulo para aplicações PHP que usam bancos de dados MySQL.
218 Summary: libPDF module for PHP
219 Summary(pl): Modu³ do tworzenia plików PDF dla PHP
221 Requires(post): %{name}-common = %{version}
222 Requires(preun): %{name}-common = %{version}
226 This is a dynamic shared object (DSO) for Apache that will add PDF
229 %description pdf -l pl
230 Modu³ PHP umo¿liwiaj±cy tworzenie plików PDF. Wykorzystuje bibliotekê
234 Summary: PostgreSQL database module for PHP
235 Summary(pl): Modu³ bazy danych PostgreSQL dla PHP
236 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados postgresql
238 Requires(post): %{name}-common = %{version}
239 Requires(preun): %{name}-common = %{version}
242 This is a dynamic shared object (DSO) for Apache that will add
243 PostgreSQL database support to PHP. If you need back-end support for
244 PostgreSQL, you should install this package in addition to the main
247 %description pgsql -l pl
248 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
250 %description pgsql -l pt_BR
251 Um módulo para aplicações PHP que usam bancos de dados postgresql.
254 Summary: Oracle 8 database module for PHP
255 Summary(pl): Modu³ bazy danych Oracle 8 dla PHP
257 Requires(post): %{name}-common = %{version}
258 Requires(preun): %{name}-common = %{version}
262 This is a dynamic shared object (DSO) for Apache that will add Oracle
263 8 database support to PHP. If you need back-end support for Oracle 8,
264 you should install this package in addition to the main %{name}
267 %description oci8 -l pl
268 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 8.
271 Summary: Oracle 7 database module for PHP
272 Summary(pl): Modu³ bazy danych Oracle 7 dla PHP
274 Requires(post): %{name}-common = %{version}
275 Requires(preun): %{name}-common = %{version}
279 This is a dynamic shared object (DSO) for Apache that will add Oracle
280 7 database support to PHP. If you need back-end support for Oracle 7,
281 you should install this package in addition to the main %{name}
284 %description oracle -l pl
285 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7.
288 Summary: Interbase database module for PHP
289 Summary(pl): Modu³ bazy danych Interbase dla PHP
291 Requires(post): %{name}-common = %{version}
292 Requires(preun): %{name}-common = %{version}
295 %description interbase
296 This is a dynamic shared object (DSO) for Apache that will add
297 InterBase database support to PHP. If you need back-end support for
298 InterBase. you should install this package in addition to the main
301 %description interbase -l pl
302 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych InterBase.
305 Summary: GD extension module for PHP
306 Summary: Modu³ GD dla PHP
308 Requires(post): %{name}-common = %{version}
309 Requires(preun): %{name}-common = %{version}
312 This is a dynamic shared object (DSO) for Apache that will add GD
313 support to PHP. You should install this package in addition to the
314 main %{name} package if you want to create and manipulate images with
317 %description gd -l pl
318 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD - do obróbki
319 obrazków z poziomu PHP.
322 Summary: Java extension module for PHP
323 Summary(pl): Modu³ Javy dla PHP
325 Requires(post): %{name}-common = %{version}
326 Requires(preun): %{name}-common = %{version}
329 This is a dynamic shared object (DSO) for Apache that will add JAVA
330 support to PHP. This extension provides a simple and effective means
331 for creating and invoking methods on Java objects from PHP.
333 %description java -l pl
334 Modu³ PHP dodaj±cy wsparcie dla Javy. Umo¿liwia odwo³ywanie siê do
335 obiektów Javy z poziomu PHP.
338 Summary: XML extension module for PHP
339 Summary(pl): Modu³ XML dla PHP
341 Requires(post): %{name}-common = %{version}
342 Requires(preun): %{name}-common = %{version}
345 This is a dynamic shared object (DSO) for Apache that will add XML
346 support to PHP. This extension lets you create XML parsers and then
347 define handlers for different XML events. If you want to be able to
348 parse XML documents you should install this package in addition to the
349 main %{name} package.
351 %description xml -l pl
352 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
353 zwi±zanych z tymi plikami.
356 Summary: DBA extension module for PHP
357 Summary(pl): Modu³ DBA dla PHP
359 Requires(post): %{name}-common = %{version}
360 Requires(preun): %{name}-common = %{version}
363 This is a dynamic shared object (DSO) for Apache that will add
364 flat-file databases (DBA) support to PHP.
366 %description dba -l pl
367 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
368 wsparcie dla baz danych DBA.
371 Summary: ODBC extension module for PHP
372 Summary(pl): Modu³ ODBC dla PHP
373 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
375 Requires(post): %{name}-common = %{version}
376 Requires(preun): %{name}-common = %{version}
379 This is a dynamic shared object (DSO) for Apache that will add ODBC
382 %description odbc -l pl
383 Modu³ PHP ze wsparciem dla ODBC.
385 %description odbc -l pt_BR
386 Um módulo para aplicações PHP que usam ODBC.
389 Summary: Calendar extension module for PHP
390 Summary(pl): Modu³ funkcji kalendarza dla PHP
392 Requires(post): %{name}-common = %{version}
393 Requires(preun): %{name}-common = %{version}
395 %description calendar
396 This is a dynamic shared object (DSO) for Apache that will add
397 calendar support to PHP.
399 %description calendar -l pl
400 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
401 wsparcie dla kalendarza.
404 Summary: DBase extension module for PHP
405 Summary(pl): Modu³ DBase dla PHP
407 Requires(post): %{name}-common = %{version}
408 Requires(preun): %{name}-common = %{version}
411 This is a dynamic shared object (DSO) for Apache that will add DBase
414 %description dbase -l pl
415 Modu³ PHP ze wsparciem dla DBase.
418 Summary: FilePro extension module for PHP
419 Summary(pl): Modu³ FilePro dla PHP
421 Requires(post): %{name}-common = %{version}
422 Requires(preun): %{name}-common = %{version}
425 This is a dynamic shared object (DSO) for Apache that will add FilePro
428 %description filepro -l pl
429 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
430 wsparcie dla FilePro.
433 Summary: POSIX extension module for PHP
434 Summary(pl): Modu³ POSIX dla PHP
436 Requires(post): %{name}-common = %{version}
437 Requires(preun): %{name}-common = %{version}
440 This is a dynamic shared object (DSO) for Apache that will add POSIX
441 functions support to PHP.
443 %description posix -l pl
444 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
447 Summary: PCRE extension module for PHP
448 Summary(pl): Modu³ PCRE dla PHP
450 Requires(post): %{name}-common = %{version}
451 Requires(preun): %{name}-common = %{version}
454 This is a dynamic shared object (DSO) for Apache that will add Perl
455 Compatible Regular Expression support to PHP.
457 %description pcre -l pl
458 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
459 (Perl Compatible Regular Expressions)
462 Summary: SysV sem extension module for PHP
463 Summary(pl): Modu³ SysV sem dla PHP
465 Requires(post): %{name}-common = %{version}
466 Requires(preun): %{name}-common = %{version}
469 This is a dynamic shared object (DSO) for Apache that will add SysV
470 semafores support to PHP.
472 %description sysvsem -l pl
473 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
476 Summary: SysV shm extension module for PHP
477 Summary(pl): Modu³ SysV shm dla PHP
479 Requires(post): %{name}-common = %{version}
480 Requires(preun): %{name}-common = %{version}
483 This is a dynamic shared object (DSO) for Apache that will add SysV
484 Shared Memory support to PHP.
486 %description sysvshm -l pl
487 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
490 Summary: NIS (yp) extension module for PHP
491 Summary(pl): Modu³ NIS (yp) dla PHP
493 Requires(post): %{name}-common = %{version}
494 Requires(preun): %{name}-common = %{version}
497 This is a dynamic shared object (DSO) for Apache that will add NIS
498 (Yellow Pages) support to PHP.
500 %description yp -l pl
501 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
502 wsparcie dla NIS (Yellow Pages).
505 Summary: bcmath extension module for PHP
506 Summary(pl): Modu³ bcmath dla PHP
508 Requires(post): %{name}-common = %{version}
509 Requires(preun): %{name}-common = %{version}
512 This is a dynamic shared object (DSO) for Apache that will add bc
513 style precision math functions support to PHP.
515 %description bcmath -l pl
516 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
517 matematycznych takich jak w programie bc.
520 Summary: FTP extension module for PHP
521 Summary(pl): Modu³ FTP dla PHP
523 Requires(post): %{name}-common = %{version}
524 Requires(preun): %{name}-common = %{version}
527 This is a dynamic shared object (DSO) for Apache that will add FTP
530 %description ftp -l pl
531 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
534 Summary: Zlib extension module for PHP
535 Summary(pl): Modu³ zlib dla PHP
537 Requires(post): %{name}-common = %{version}
538 Requires(preun): %{name}-common = %{version}
541 This is a dynamic shared object (DSO) for Apache that will add
542 compression (zlib) support to PHP.
544 %description zlib -l pl
545 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji (poprzez bibliotekê zlib).
548 Summary: Bzip2 extension module for PHP
549 Summary(pl): Modu³ bzip2 dla PHP
551 Requires(post): %{name}-common = %{version}
552 Requires(preun): %{name}-common = %{version}
555 This is a dynamic shared object (DSO) for Apache that will add
556 compression (bzip2) support to PHP.
558 %description bzip2 -l pl
559 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji (poprzez bibliotekê bzip2).
562 Summary: exif extension module for PHP
563 Summary(pl): Modu³ exif dla PHP
565 Requires(post): %{name}-common = %{version}
566 Requires(preun): %{name}-common = %{version}
569 This is a dynamic shared object (DSO) for Apache that will add exif
572 %description exif -l pl
573 Modu³ PHP dodaj±cy obs³ugê plików EXIF.
576 Summary: recode extension module for PHP
577 Summary(pl): Modu³ recode dla PHP
579 Requires(post): %{name}-common = %{version}
580 Requires(preun): %{name}-common = %{version}
581 Requires: recode >= 3.5d-3
584 This is a dynamic shared object (DSO) for Apache that will add recode
587 %description recode -l pl
588 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
592 Summary: session extension module for PHP
593 Summary(pl): Modu³ session dla PHP
595 Requires(post): %{name}-common = %{version}
596 Requires(preun): %{name}-common = %{version}
599 This is a dynamic shared object (DSO) for Apache that will add session
602 %description session -l pl
603 Modu³ PHP dodaj±cy obs³ugê sesji.
606 Summary: gettext extension module for PHP
607 Summary(pl): Modu³ gettext dla PHP
609 Requires(post): %{name}-common = %{version}
610 Requires(preun): %{name}-common = %{version}
613 This is a dynamic shared object (DSO) for Apache that will add gettext
616 %description gettext -l pl
617 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
620 Summary: SNMP extension module for PHP
621 Summary(pl): Modu³ SNMP dla PHP
623 Requires(post): %{name}-common = %{version}
624 Requires(preun): %{name}-common = %{version}
627 This is a dynamic shared object (DSO) for Apache that will add SNMP
630 %description snmp -l pl
631 Modu³ PHP dodaj±cy obs³ugê SNMP.
634 Summary: IMAP extension module for PHP
635 Summary(pl): Modu³ IMAP dla PHP
636 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
638 Requires(post): %{name}-common = %{version}
639 Requires(preun): %{name}-common = %{version}
642 This is a dynamic shared object (DSO) for Apache that will add IMAP
645 %description imap -l pl
646 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
648 %description imap -l pt_BR
649 Um módulo para aplicações PHP que usam IMAP.
652 Summary: LDAP extension module for PHP
653 Summary(pl): Modu³ LDAP dla PHP
654 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
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 LDAP
663 %description ldap -l pl
664 Modu³ PHP dodaj±cy obs³ugê LDAP.
666 %description ldap -l pt_BR
667 Um módulo para aplicações PHP que usam LDAP.
670 Summary: sockets extension module for PHP
671 Summary(pl): Modu³ socket dla PHP
673 Requires(post): %{name}-common = %{version}
674 Requires(preun): %{name}-common = %{version}
677 This is a dynamic shared object (DSO) for Apache that will add sockets
680 %description sockets -l pl
681 Modu³ PHP dodaj±cy obs³ugê gniazdek.
684 Summary: mcrypt extension module for PHP
685 Summary(pl): Modu³ mcrypt dla PHP
687 Requires(post): %{name}-common = %{version}
688 Requires(preun): %{name}-common = %{version}
691 This is a dynamic shared object (DSO) for Apache that will add mcrypt
694 %description mcrypt -l pl
695 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
698 Summary: mhash extension module for PHP
699 Summary(pl): Modu³ mhash dla PHP
701 Requires(post): %{name}-common = %{version}
702 Requires(preun): %{name}-common = %{version}
705 This is a dynamic shared object (DSO) for Apache that will add mhash
708 %description mhash -l pl
709 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
712 Summary: Online manual for PHP
713 Summary(pl): Dokumentacja dla PHP
714 Summary(pt_BR): Manual da linguagem PHP, em formato HTML
715 Group: Networking/Daemons
716 Obsoletes: php-manual
719 Comprehensive documentation for PHP, viewable through your web server,
722 %description doc -l pl
723 Dokumentacja dla pakietu PHP. Mo¿na j± równie¿ ogl±daæ poprzez serwer
726 %description doc -l pt_BR
727 Manual da linguagem PHP, em formato HTML.
730 Summary: PEAR - PHP Extension and Application Repository
731 Summary(pl): PEAR - Rozszerzenie PHP i Repozytorium Aplikacji
732 Group: Development/Languages/PHP
733 Requires: %{name}-cgi = %{version}
734 Requires: %{name}-xml = %{version}
737 PEAR - PHP Extension and Application Repository.
739 %description pear -l pl
740 PEAR (PHP Extension and Application Repository) - Rozszerzenie PHP i
741 Repozytorium Aplikacji.
744 Summary: DOM XML module
745 Summary(pl): Modu³ DOM XML
746 Group: Development/Languages/PHP
751 %description domxml -l pl
755 Summary: Files for PHP modules development
756 Summary(pl): Pliki do kompilacji modu³ów PHP
757 Summary(pt_BR): Arquivos de desenvolvimento para PHP
758 Group: Development/Languages/PHP
759 Requires: %{name}-common = %{version}
762 Files for PHP modules development.
764 %description devel -l pl
765 Pliki potrzebne do kompilacji modu³ów PHP.
767 %description devel -l pt_BR
768 Este pacote contém arquivos usados no desenvolvimento de programas ou
772 Summary: curl extension module for PHP
773 Summary(pl): Modu³ curl dla PHP
777 This is a dynamic shared object (DSO) for Apache that will add curl
780 %description curl -l pl
781 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
784 Summary: xslt extension module for PHP
785 Summary(pl): Modu³ xslt dla PHP
787 Requires(post): %{name}-common = %{version}
788 Requires(preun): %{name}-common = %{version}
791 This is a dynamic shared object (DSO) for Apache that will add xslt
794 %description xslt -l pl
795 Modu³ PHP umo¿liwiaj±cy korzystanie z technologii xslt.
798 Summary: wddx extension module for PHP
799 Summary(pl): Modu³ wddx dla PHP
801 Requires(post): %{name}-common = %{version}
802 Requires(preun): %{name}-common = %{version}
805 This is a dynamic shared object (DSO) for Apache that will add wddx
808 %description wddx -l pl
809 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
812 Summary: ming extension module for PHP
813 Summary(pl): Modu³ ming dla PHP
815 Requires(post): %{name}-common = %{version}
816 Requires(preun): %{name}-common = %{version}
819 This is a dynamic shared object (DSO) for Apache that will add ming
820 (Flash - .swf files) support to PHP.
822 %description ming -l pl
823 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
827 Summary: cpdf extension module for PHP
828 Summary(pl): Modu³ cpdf dla PHP
830 Requires(post): %{name}-common = %{version}
831 Requires(preun): %{name}-common = %{version}
834 This is a dynamic shared object (DSO) for Apache that will add libcpdf
837 %description libcpdf -l pl
838 Modu³ PHP dodaj±cy obs³ugê libcpdf.
841 Summary: iconv extension module for PHP
842 Summary(pl): Modu³ iconv dla PHP
844 Requires(post): %{name}-common = %{version}
845 Requires(preun): %{name}-common = %{version}
848 This is a dynamic shared object (DSO) for Apache that will add iconv
851 %description iconv -l pl
852 Modu³ PHP dodaj±cy obs³ugê iconv.
855 Summary: gmp extension module for PHP
856 Summary(pl): Modu³ gmp dla PHP
858 Requires(post): %{name}-common = %{version}
859 Requires(preun): %{name}-common = %{version}
862 This is a dynamic shared object (DSO) for Apache that will add
863 arbitrary length number support with GNU MP library to PHP.
865 %description gmp -l pl
866 Modu³ PHP umorzliwiaj±cy korzystanie z biblioteki gmp.
869 Summary: Shared Memory Operations extension module for PHP
870 Summary(pl): Modu³ shmop dla PHP
872 Requires(post): %{name}-common = %{version}
873 Requires(preun): %{name}-common = %{version}
876 This is a dynamic shared object (DSO) for Apache that will add Shared
877 Memory Operations support to PHP.
879 %description shmop -l pl
880 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
900 bzip2 -dc %{SOURCE4} | tar -xf - -C manual
903 CFLAGS="%{rpmcflags} -DEAPI -I%{_prefix}/X11R6/include"; export CFLAGS
904 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
906 libtoolize --copy --force
909 #for i in cgi fastcgi apxs ; do
910 for i in cgi apxs ; do
912 `[ $i = cgi ] && echo --enable-discard-path` \
913 `[ $i = fastcgi ] && echo --enable-discard-path --with-fastcgi=%{_prefix}` \
915 `[ $i = apxs ] && echo --with-apxs2=%{_sbindir}/apxs` \
917 `[ $i = apxs ] && echo --with-apxs=%{_sbindir}/apxs` \
919 --with-config-file-path=%{_sysconfdir} \
920 --with-exec-dir=%{_bindir} \
921 --%{!?debug:dis}%{?debug:en}able-debug \
922 --enable-bcmath=shared \
923 --enable-calendar=shared \
924 --enable-dba=shared \
925 --enable-exif=shared \
926 --enable-ftp=shared \
927 --enable-gd-native-ttf \
928 --enable-magic-quotes \
929 --enable-posix=shared \
932 --enable-shmop=shared \
933 --enable-sysvsem=shared \
934 --enable-sysvshm=shared \
935 --enable-track-vars \
938 --enable-sockets=shared \
940 --enable-ucd-snmp-hack \
941 --enable-xml=shared \
942 --with-expat-dir=/usr \
943 --enable-versioning \
944 %{?_with_xslt:--enable-xslt=shared} \
946 %{?_with_libcpdf:--with-cpdflib=shared} \
947 --with-ctype=shared \
951 --with-dbase=shared \
952 --with-iconv=shared \
954 --with-dom-xslt=shared \
955 --with-filepro=shared \
956 --with-freetype-dir=shared \
957 --with-gettext=shared \
962 %{!?_without_imap:--with-imap=shared --with-imap-ssl} \
963 %{?_with_java:--with-java} \
964 --with-jpeg-dir=shared \
965 %{!?_without_ldap:--with-ldap=shared} \
966 --with-mcrypt=shared \
967 --with-mysql=shared,%{_prefix} \
968 --with-mysql-sock=/var/lib/mysql/mysql.sock \
969 --with-mhash=shared \
971 %{!?_without_mm:--with-mm} \
972 %{!?_without_openssl:--with-openssl} \
973 %{?_with_oracle:--with-oracle=shared} \
974 %{?_with_interbase:--with-interbase=shared} \
975 %{?_with_oci8:--with-oci8=shared} \
976 --with-pear=%{peardir} \
977 --with-pcre-regex=shared \
978 --with-pdflib=shared \
979 --with-pgsql=shared,%{_prefix} \
980 --with-png-dir=shared \
981 %{!?_without_recode:--with-recode=shared} \
983 %{!?_without_sablot:--with-sablot=/usr/lib} \
984 %{!?_without_snmp:--with-snmp=shared} \
985 --with-t1lib=shared \
986 %{!?_without_odbc:--with-unixODBC=shared} \
987 %{?_with_wddx:--enable-wddx=shared} \
989 --with-zlib-dir=shared \
991 %{?_with_xslt:--with-xslt-sablot=shared}
994 # TODO --with-pspell=/usr,shared (pspell missing)
995 # --with-qtdom=shared
997 rm -f ext/xml/libs.mk
998 install %{SOURCE6} ext/xml/libs.mk
1001 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" -C sapi/cgi
1003 # Kill -rpath from php binary and libphp4.so
1004 perl -pi -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
1005 perl -pi -e 's|^runpath_var=.*|runpath_var=|g' libtool
1006 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" php
1008 perl -pi -e 's|^hardcode_into_libs=.*|hardcode_into_libs=no|g' libtool
1009 rm libphp4.la ; %{__make} libphp4.la
1012 rm -rf $RPM_BUILD_ROOT
1013 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache},%{_sysconfdir}/{apache,cgi}} \
1014 $RPM_BUILD_ROOT/home/httpd/icons \
1015 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1016 $RPM_BUILD_ROOT/var/run/php
1019 INSTALL_ROOT=$RPM_BUILD_ROOT \
1020 INSTALL_IT="install libs/libphp4.so $RPM_BUILD_ROOT%{_libdir}/apache/ ; install libs/libphp_common*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}"
1022 install .libs/php $RPM_BUILD_ROOT%{_bindir}/php
1025 #install .libs/*.so $RPM_BUILD_ROOT%{_pkglibdir}
1026 #install modules/*.so $RPM_BUILD_ROOT%{_pkglibdir}/php
1028 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1029 install %{SOURCE3} php4.gif $RPM_BUILD_ROOT/home/httpd/icons
1030 install %{SOURCE5} $RPM_BUILD_ROOT/%{_sbindir}
1033 install %{SOURCE1} .
1034 gzip -9nf CODING_STANDARDS CREDITS \
1035 EXTENSIONS NEWS TODO* LICENSE Zend/LICENSE \
1036 Zend/ZEND_CHANGES README.SELF-CONTAINED-EXTENSIONS README.EXT_SKEL
1039 rm -rf $RPM_BUILD_ROOT
1042 %{_sbindir}/apxs -e -a -n php4 %{_pkglibdir}/libphp4.so 1>&2
1043 perl -pi -e 's|^#AddType application/x-httpd-php \.php|AddType application/x-httpd-php .php|' \
1044 /etc/httpd/httpd.conf
1045 if [ -f /var/lock/subsys/httpd ]; then
1046 /etc/rc.d/init.d/httpd restart 1>&2
1050 if [ "$1" = "0" ]; then
1051 %{_sbindir}/apxs -e -A -n php4 %{_pkglibdir}/libphp4.so 1>&2
1053 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
1054 /etc/httpd/httpd.conf
1055 if [ -f /var/lock/subsys/httpd ]; then
1056 /etc/rc.d/init.d/httpd restart 1>&2
1060 %post common -p /sbin/ldconfig
1061 %postun common -p /sbin/ldconfig
1064 %{_sbindir}/php-module-install install bcmath %{_sysconfdir}/php.ini
1067 if [ "$1" = "0" ]; then
1068 %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
1072 %{_sbindir}/php-module-install install calendar %{_sysconfdir}/php.ini
1075 if [ "$1" = "0" ]; then
1076 %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
1080 %{_sbindir}/php-module-install install dba %{_sysconfdir}/php.ini
1083 if [ "$1" = "0" ]; then
1084 %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
1088 %{_sbindir}/php-module-install install dbase %{_sysconfdir}/php.ini
1091 if [ "$1" = "0" ]; then
1092 %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
1096 %{_sbindir}/php-module-install install exif %{_sysconfdir}/php.ini
1099 if [ "$1" = "0" ]; then
1100 %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
1104 %{_sbindir}/php-module-install install filepro %{_sysconfdir}/php.ini
1107 if [ "$1" = "0" ]; then
1108 %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
1112 %{_sbindir}/php-module-install install ftp %{_sysconfdir}/php.ini
1115 if [ "$1" = "0" ]; then
1116 %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
1120 %{_sbindir}/php-module-install install gd %{_sysconfdir}/php.ini
1123 if [ "$1" = "0" ]; then
1124 %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
1128 %{_sbindir}/php-module-install install gettext %{_sysconfdir}/php.ini
1131 if [ "$1" = "0" ]; then
1132 %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
1135 %if %{?_without_imap:0}%{!?_without_imap:1}
1137 %{_sbindir}/php-module-install install imap %{_sysconfdir}/php.ini
1140 if [ "$1" = "0" ]; then
1141 %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
1145 %if %{?_with_java:1}%{!?_with_java:0}
1147 %{_sbindir}/php-module-install install libphp_java %{_sysconfdir}/php.ini
1150 if [ "$1" = "0" ]; then
1151 %{_sbindir}/php-module-install remove libphp_java %{_sysconfdir}/php.ini
1155 %if %{?_without_ldap:0}%{!?_without_ldap:1}
1157 %{_sbindir}/php-module-install install ldap %{_sysconfdir}/php.ini
1160 if [ "$1" = "0" ]; then
1161 %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
1166 %{_sbindir}/php-module-install install mcrypt %{_sysconfdir}/php.ini
1169 if [ "$1" = "0" ]; then
1170 %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
1174 %{_sbindir}/php-module-install install mhash %{_sysconfdir}/php.ini
1177 if [ "$1" = "0" ]; then
1178 %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
1182 %{_sbindir}/php-module-install install mysql %{_sysconfdir}/php.ini
1185 if [ "$1" = "0" ]; then
1186 %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
1190 %{_sbindir}/php-module-install install libpdf_php %{_sysconfdir}/php.ini
1193 if [ "$1" = "0" ]; then
1194 %{_sbindir}/php-module-install remove libpdf_php %{_sysconfdir}/php.ini
1198 if [ "$1" = "0" ]; then
1199 %{_sbindir}/php-module-install remove domxml %{_sysconfdir}/php.ini
1203 %{_sbindir}/php-module-install install domxml %{_sysconfdir}/php.ini
1205 %if %{?_with_oci8:1}%{!?_with_oci8:0}
1207 %{_sbindir}/php-module-install install oci8 %{_sysconfdir}/php.ini
1210 if [ "$1" = "0" ]; then
1211 %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
1215 %if %{?_without_odbc:0}%{!?_without_odbc:1}
1217 %{_sbindir}/php-module-install install odbc %{_sysconfdir}/php.ini
1220 if [ "$1" = "0" ]; then
1221 %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
1225 %if %{?_with_oracle:1}%{!?_with_oracle:0}
1227 %{_sbindir}/php-module-install install oracle %{_sysconfdir}/php.ini
1230 if [ "$1" = "0" ]; then
1231 %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
1235 %if %{?_with_interbase:1}%{!?_with_interbase:0}
1237 %{_sbindir}/php-module-install install interbase %{_sysconfdir}/php.ini
1240 if [ "$1" = "0" ]; then
1241 %{_sbindir}/php-module-install remove interbase %{_sysconfdir}/php.ini
1246 %{_sbindir}/php-module-install install pcre %{_sysconfdir}/php.ini
1249 if [ "$1" = "0" ]; then
1250 %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
1254 %{_sbindir}/php-module-install install pgsql %{_sysconfdir}/php.ini
1257 if [ "$1" = "0" ]; then
1258 %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
1262 %{_sbindir}/php-module-install install posix %{_sysconfdir}/php.ini
1265 if [ "$1" = "0" ]; then
1266 %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
1269 %if %{?_without_recode:0}%{!?_without_recode:1}
1271 %{_sbindir}/php-module-install install recode %{_sysconfdir}/php.ini
1274 if [ "$1" = "0" ]; then
1275 %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
1280 %{_sbindir}/php-module-install install session %{_sysconfdir}/php.ini
1283 if [ "$1" = "0" ]; then
1284 %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
1287 %if %{?_without_snmp:0}%{!?_without_snmp:1}
1289 %{_sbindir}/php-module-install install snmp %{_sysconfdir}/php.ini
1292 if [ "$1" = "0" ]; then
1293 %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
1298 %{_sbindir}/php-module-install install sockets %{_sysconfdir}/php.ini
1301 if [ "$1" = "0" ]; then
1302 %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
1306 %{_sbindir}/php-module-install install sysvsem %{_sysconfdir}/php.ini
1309 if [ "$1" = "0" ]; then
1310 %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
1314 %{_sbindir}/php-module-install install sysvshm %{_sysconfdir}/php.ini
1317 if [ "$1" = "0" ]; then
1318 %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
1322 %{_sbindir}/php-module-install install xml %{_sysconfdir}/php.ini
1325 if [ "$1" = "0" ]; then
1326 %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
1330 %{_sbindir}/php-module-install install yp %{_sysconfdir}/php.ini
1333 if [ "$1" = "0" ]; then
1334 %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
1338 %{_sbindir}/php-module-install install zlib %{_sysconfdir}/php.ini
1341 if [ "$1" = "0" ]; then
1342 %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
1346 %{_sbindir}/php-module-install install bz2 %{_sysconfdir}/php.ini
1349 if [ "$1" = "0" ]; then
1350 %{_sbindir}/php-module-install remove bz2 %{_sysconfdir}/php.ini
1354 %{_sbindir}/php-module-install install curl %{_sysconfdir}/php.ini
1357 if [ "$1" = "0" ]; then
1358 %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
1362 %{_sbindir}/php-module-install install ming %{_sysconfdir}/php.ini
1365 if [ "$1" = "0" ]; then
1366 %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
1369 %if %{?_with_xslt:1}%{!?_with_xslt:0}
1371 %{_sbindir}/php-module-install install xslt %{_sysconfdir}/php.ini
1374 if [ "$1" = "0" ]; then
1375 %{_sbindir}/php-module-install remove xslt %{_sysconfdir}/php.ini
1379 %if %{?_with_wddx:1}%{!?_with_wddx:0}
1381 %{_sbindir}/php-module-install install wddx %{_sysconfdir}/php.ini
1384 if [ "$1" = "0" ]; then
1385 %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
1389 %if %{?_with_libcpdf:1}%{!?_with_libcpdf:0}
1391 %{_sbindir}/php-module-install install libcpdf %{_sysconfdir}/php.ini
1394 if [ "$1" = "0" ]; then
1395 %{_sbindir}/php-module-install remove libcpdf %{_sysconfdir}/php.ini
1400 %{_sbindir}/php-module-install install iconv %{_sysconfdir}/php.ini
1403 if [ "$1" = "0" ]; then
1404 %{_sbindir}/php-module-install remove iconv %{_sysconfdir}/php.ini
1408 %{_sbindir}/php-module-install install gmp %{_sysconfdir}/php.ini
1411 if [ "$1" = "0" ]; then
1412 %{_sbindir}/php-module-install remove gmp %{_sysconfdir}/php.ini
1416 %{_sbindir}/php-module-install install shmop %{_sysconfdir}/php.ini
1419 if [ "$1" = "0" ]; then
1420 %{_sbindir}/php-module-install remove shmop %{_sysconfdir}/php.ini
1424 %defattr(644,root,root,755)
1425 %attr(755,root,root) %{_libdir}/apache/libphp4.so
1428 %defattr(644,root,root,755)
1429 %attr(755,root,root) %{_bindir}/php
1432 %defattr(644,root,root,755)
1433 %doc {CODING_STANDARDS,CREDITS,Zend/ZEND_CHANGES}.gz
1434 %doc {LICENSE,Zend/LICENSE,EXTENSIONS,NEWS,TODO*}.gz
1435 %doc {README.EXT_SKEL,README.SELF-CONTAINED-EXTENSIONS}.gz
1438 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
1439 %attr(730,root,http) %dir %verify(not group mode) /var/run/php
1442 %attr(755,root,root) %{_sbindir}/*
1443 %attr(755,root,root) %{_libdir}/libphp_common*.so.*.*.*
1444 %dir %{extensionsdir}
1447 %defattr(644,root,root,755)
1449 %{_libdir}/php/build
1450 %attr(755,root,root) %{_bindir}/phpextdist
1451 %attr(755,root,root) %{_bindir}/phpize
1452 %attr(755,root,root) %{_bindir}/php-config
1455 %defattr(644,root,root,755)
1456 %attr(755,root,root) %{extensionsdir}/domxml.so
1459 %defattr(644,root,root,755)
1460 %attr(755,root,root) %{_bindir}/pear
1464 %defattr(644,root,root,755)
1465 %attr(755,root,root) %{extensionsdir}/mysql.so
1468 %defattr(644,root,root,755)
1469 %attr(755,root,root) %{extensionsdir}/libpdf_php.so
1472 %defattr(644,root,root,755)
1473 %attr(755,root,root) %{extensionsdir}/pgsql.so
1475 %if %{?_with_oracle:1}%{!?_with_oracle:0}
1477 %defattr(644,root,root,755)
1478 %attr(755,root,root) %{extensionsdir}/oracle.so
1481 %if %{?_with_interbase:1}%{!?_with_interbase:0}
1483 %defattr(644,root,root,755)
1484 %attr(755,root,root) %{extensionsdir}/interbase.so
1487 %if %{?_with_oci8:1}%{!?_with_oci8:0}
1489 %defattr(644,root,root,755)
1490 %attr(755,root,root) %{extensionsdir}/oci8.so
1494 %defattr(644,root,root,755)
1495 %attr(755,root,root) %{extensionsdir}/gd.so
1498 %defattr(644,root,root,755)
1499 %attr(755,root,root) %{extensionsdir}/xml.so
1502 %defattr(644,root,root,755)
1503 %attr(755,root,root) %{extensionsdir}/dba.so
1506 %defattr(644,root,root,755)
1507 %attr(755,root,root) %{extensionsdir}/dbase.so
1510 %defattr(644,root,root,755)
1511 %attr(755,root,root) %{extensionsdir}/filepro.so
1514 %defattr(644,root,root,755)
1515 %attr(755,root,root) %{extensionsdir}/pcre.so
1518 %defattr(644,root,root,755)
1519 %attr(755,root,root) %{extensionsdir}/posix.so
1522 %defattr(644,root,root,755)
1523 %attr(755,root,root) %{extensionsdir}/sysvsem.so
1526 %defattr(644,root,root,755)
1527 %attr(755,root,root) %{extensionsdir}/sysvshm.so
1530 %defattr(644,root,root,755)
1531 %attr(755,root,root) %{extensionsdir}/yp.so
1534 %defattr(644,root,root,755)
1535 %attr(755,root,root) %{extensionsdir}/calendar.so
1538 %defattr(644,root,root,755)
1539 %attr(755,root,root) %{extensionsdir}/bcmath.so
1542 %defattr(644,root,root,755)
1543 %attr(755,root,root) %{extensionsdir}/ftp.so
1546 %defattr(644,root,root,755)
1547 %attr(755,root,root) %{extensionsdir}/zlib.so
1550 %defattr(644,root,root,755)
1551 %attr(755,root,root) %{extensionsdir}/bz2.so
1554 %defattr(644,root,root,755)
1555 %attr(755,root,root) %{extensionsdir}/exif.so
1557 %if %{?_without_recode:0}%{!?_without_recode:1}
1559 %defattr(644,root,root,755)
1560 %attr(755,root,root) %{extensionsdir}/recode.so
1564 #%defattr(644,root,root,755)
1565 #%attr(755,root,root) %{extensionsdir}/session.so
1568 %defattr(644,root,root,755)
1569 %attr(755,root,root) %{extensionsdir}/gettext.so
1571 %if %{?_without_imap:0}%{!?_without_imap:1}
1573 %defattr(644,root,root,755)
1574 %attr(755,root,root) %{extensionsdir}/imap.so
1577 %if %{?_without_snmp:0}%{!?_without_snmp:1}
1579 %defattr(644,root,root,755)
1580 %attr(755,root,root) %{extensionsdir}/snmp.so
1583 %if %{?_with_java:1}%{!?_with_java:0}
1585 %defattr(644,root,root,755)
1586 %attr(755,root,root) %{extensionsdir}/libphp_java.so
1589 %if %{?_without_ldap:0}%{!?_without_ldap:1}
1591 %defattr(644,root,root,755)
1592 %attr(755,root,root) %{extensionsdir}/ldap.so
1596 %defattr(644,root,root,755)
1597 %attr(755,root,root) %{extensionsdir}/sockets.so
1600 %defattr(644,root,root,755)
1601 %attr(755,root,root) %{extensionsdir}/mcrypt.so
1604 %defattr(644,root,root,755)
1605 %attr(755,root,root) %{extensionsdir}/mhash.so
1607 %if %{?_without_odbc:0}%{!?_without_odbc:1}
1609 %defattr(644,root,root,755)
1610 %attr(755,root,root) %{extensionsdir}/odbc.so
1614 %defattr(644,root,root,755)
1618 %defattr(644,root,root,755)
1619 %attr(755,root,root) %{extensionsdir}/curl.so
1622 %defattr(644,root,root,755)
1623 %attr(755,root,root) %{extensionsdir}/ming.so
1625 %if %{?_with_xslt:1}%{!?_with_xslt:0}
1627 %defattr(644,root,root,755)
1628 %attr(755,root,root) %{extensionsdir}/xslt.so
1631 %if %{?_with_wddx:1}%{!?_with_wddx:0}
1633 %defattr(644,root,root,755)
1634 %attr(755,root,root) %{extensionsdir}/wddx.so
1637 %if %{?_with_libcpdf:1}%{!?_with_libcpdf:0}
1639 %defattr(644,root,root,755)
1640 %attr(755,root,root) %{extensionsdir}/cpdf.so
1644 %defattr(644,root,root,755)
1645 %attr(755,root,root) %{extensionsdir}/iconv.so
1648 %defattr(644,root,root,755)
1649 %attr(755,root,root) %{extensionsdir}/gmp.so
1652 %defattr(644,root,root,755)
1653 %attr(755,root,root) %{extensionsdir}/shmop.so