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
24 Group(da): Biblioteker
25 Group(de): Bibliotheken
26 Group(es): Bibliotecas
30 Group(no): Biblioteker
32 Group(pt): Bibliotecas
33 Group(pt_BR): Bibliotecas
37 License: The PHP license (see "LICENSE" file included in distribution)
38 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.gz
42 Source4: http://www.php.net/distributions/manual/%{name}_manual_en.tar.bz2
43 Source5: %{name}-module-install
44 Patch0: %{name}-shared.patch
45 Patch1: %{name}-pldlogo.patch
46 Patch2: %{name}-mysql-socket.patch
47 Patch3: %{name}-mail.patch
48 Patch4: %{name}-link-libs.patch
49 Patch5: %{name}-session-path.patch
50 Patch6: %{name}-am_ac_lt.patch
51 Patch7: %{name}-fastcgi.patch
52 Patch8: %{name}-ac250.patch
53 Patch9: %{name}-mailsecurity2.patch
54 Patch10: %{name}-oracle9.patch
55 Patch11: %{name}-no_%{name}_pcre_in_SAPI_c.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
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 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: recode-devel >= 3.5d-3
93 BuildRequires: t1lib-devel
94 %{!?_without_snmp:BuildRequires: ucd-snmp-devel >= 4.2.3}
95 %{!?_without_odbc:BuildRequires: unixODBC-devel}
97 BuildRequires: zlib-devel >= 1.0.9
98 #BuildRequires: fastcgi-devkit
99 %if %(expr %{?_with_openssl:1}%{!?_with_openssl:0} + %{!?_without_ldap:1}%{?_without_ldap:0})
100 %{!?_without_openssl:BuildRequires: openssl-devel >= 0.9.6a}
102 %{?_with_libcpdf:BuildRequires: libcpdf-devel >= 2.00}
103 %{?_with_xslt:BuildRequires: sablotron-devel}
104 %{?_with_xslt:BuildRequires: expat-devel}
105 %{?_with_xslt:BuildRequires: w3c-libwww-devel}
106 Prereq: apache(EAPI) >= 1.3.9
108 Prereq: %{_sbindir}/apxs
109 PreReq: %{name}-common = %{version}
110 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
112 Obsoletes: apache-mod_php
114 %define _sysconfdir /etc/php
115 %define extensionsdir %{_libdir}/php
116 %define peardir %{_datadir}/pear
119 PHP is an HTML-embedded scripting language. PHP attempts to make it
120 easy for developers to write dynamically generated web pages. PHP also
121 offers built-in database integration for several commercial and
122 non-commercial database management systems, so writing a
123 database-enabled web page with PHP is fairly simple. The most common
124 use of PHP coding is probably as a replacement for CGI scripts. The
125 mod_php module enables the Apache web server to understand and process
126 the embedded PHP language in web pages. This package contains PHP
127 version %{version}. If you use applications which specifically rely on
128 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
129 module contained in the phpfi package. If you're just starting with
130 PHP, you should install this package. You'll also need to install the
134 PHP est un langage de script embarque dans le HTM. PHP essaye de
135 rendre simple aux developpeurs d'ecrire des pages web generees
136 dynamiquement. PHP incorpore egalement une integration avec plusieurs
137 systemes de gestion de bases de donnees commerciaux et
138 non-connerciaux, qui rent facile la creation de pages web liees avec
139 des bases de donnees. L'utilisation la plus commune de PHP est
140 probablement en remplacement de scripts CGI. Le module mod_php permet
141 au serveur web apache de comprendre et de traiter le langage PHP
142 integre dans des pages web. Ce package contient PHP version
143 %{version}. Si vous utilisez des applications qui utilisent
144 specifiquement PHP/FI, vous devrez installer le module PHP/FI inclus
145 dans le package mod_php. Si vous debutez avec PHP, vous devriez
146 installer ce package. Vous aurez egalement besoin d'installer le
150 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
151 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
152 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
153 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
154 zosta³a z jêzyków: C, Java i Perl.
157 Summary: PHP as CGI program
158 Summary(pl): PHP jako program CGI
161 Group(da): Biblioteker
162 Group(de): Bibliotheken
163 Group(es): Bibliotecas
164 Group(fr): Librairies
166 Group(ja): ¥é¥¤¥Ö¥é¥ê
167 Group(no): Biblioteker
168 Group(pl): Biblioteki
169 Group(pt): Bibliotecas
170 Group(pt_BR): Bibliotecas
171 Group(ru): âÉÂÌÉÏÔÅËÉ
173 Group(uk): â¦Â̦ÏÔÅËÉ
174 PreReq: %{name}-common = %{version}
179 %description cgi -l pl
180 PHP jako program CGI.
183 Summary: Common files nneded by both apache module and CGI
184 Summary(pl): Wspólne pliki dla modu³u apacha i programu CGI
187 Group(da): Biblioteker
188 Group(de): Bibliotheken
189 Group(es): Bibliotecas
190 Group(fr): Librairies
192 Group(ja): ¥é¥¤¥Ö¥é¥ê
193 Group(no): Biblioteker
194 Group(pl): Biblioteki
195 Group(pt): Bibliotecas
196 Group(pt_BR): Bibliotecas
197 Group(ru): âÉÂÌÉÏÔÅËÉ
199 Group(uk): â¦Â̦ÏÔÅËÉ
202 Common files needed by both apache module and CGI.
204 %description common -l pl
205 Wspólne pliki dla modu³u apacha i programu CGI.
208 Summary: MySQL database module for PHP
209 Summary(pl): Modu³ bazy danych MySQL dla PHP
212 Group(da): Biblioteker
213 Group(de): Bibliotheken
214 Group(es): Bibliotecas
215 Group(fr): Librairies
217 Group(ja): ¥é¥¤¥Ö¥é¥ê
218 Group(no): Biblioteker
219 Group(pl): Biblioteki
220 Group(pt): Bibliotecas
221 Group(pt_BR): Bibliotecas
222 Group(ru): âÉÂÌÉÏÔÅËÉ
224 Group(uk): â¦Â̦ÏÔÅËÉ
225 PreReq: %{name}-common = %{version}
228 This is a dynamic shared object (DSO) for Apache that will add MySQL
229 database support to PHP. If you need back-end support for MySQL, you
230 should install this package in addition to the main %{name} package.
232 %description mysql -l pl
233 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
236 Summary: libPDF module for PHP
237 Summary(pl): Modu³ do tworzenia plików PDF dla PHP
240 Group(da): Biblioteker
241 Group(de): Bibliotheken
242 Group(es): Bibliotecas
243 Group(fr): Librairies
245 Group(ja): ¥é¥¤¥Ö¥é¥ê
246 Group(no): Biblioteker
247 Group(pl): Biblioteki
248 Group(pt): Bibliotecas
249 Group(pt_BR): Bibliotecas
250 Group(ru): âÉÂÌÉÏÔÅËÉ
252 Group(uk): â¦Â̦ÏÔÅËÉ
253 PreReq: %{name}-common = %{version}
257 This is a dynamic shared object (DSO) for Apache that will add PDF
260 %description pdf -l pl
261 Modu³ PHP umo¿liwiaj±cy tworzenie plików PDF. Wykorzystuje bibliotekê
265 Summary: PostgreSQL database module for PHP
266 Summary(pl): Modu³ bazy danych PostgreSQL dla PHP
269 Group(da): Biblioteker
270 Group(de): Bibliotheken
271 Group(es): Bibliotecas
272 Group(fr): Librairies
274 Group(ja): ¥é¥¤¥Ö¥é¥ê
275 Group(no): Biblioteker
276 Group(pl): Biblioteki
277 Group(pt): Bibliotecas
278 Group(pt_BR): Bibliotecas
279 Group(ru): âÉÂÌÉÏÔÅËÉ
281 Group(uk): â¦Â̦ÏÔÅËÉ
282 PreReq: %{name}-common = %{version}
285 This is a dynamic shared object (DSO) for Apache that will add
286 PostgreSQL database support to PHP. If you need back-end support for
287 PostgreSQL, you should install this package in addition to the main
290 %description pgsql -l pl
291 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
294 Summary: Oracle 8 database module for PHP
295 Summary(pl): Modu³ bazy danych Oracle 8 dla PHP
298 Group(da): Biblioteker
299 Group(de): Bibliotheken
300 Group(es): Bibliotecas
301 Group(fr): Librairies
303 Group(ja): ¥é¥¤¥Ö¥é¥ê
304 Group(no): Biblioteker
305 Group(pl): Biblioteki
306 Group(pt): Bibliotecas
307 Group(pt_BR): Bibliotecas
308 Group(ru): âÉÂÌÉÏÔÅËÉ
310 Group(uk): â¦Â̦ÏÔÅËÉ
311 PreReq: %{name}-common = %{version}
315 This is a dynamic shared object (DSO) for Apache that will add Oracle
316 8 database support to PHP. If you need back-end support for Oracle 8,
317 you should install this package in addition to the main %{name}
320 %description oci8 -l pl
321 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 8.
324 Summary: Oracle 7 database module for PHP
325 Summary(pl): Modu³ bazy danych Oracle 7 dla PHP
328 Group(da): Biblioteker
329 Group(de): Bibliotheken
330 Group(es): Bibliotecas
331 Group(fr): Librairies
333 Group(ja): ¥é¥¤¥Ö¥é¥ê
334 Group(no): Biblioteker
335 Group(pl): Biblioteki
336 Group(pt): Bibliotecas
337 Group(pt_BR): Bibliotecas
338 Group(ru): âÉÂÌÉÏÔÅËÉ
340 Group(uk): â¦Â̦ÏÔÅËÉ
341 PreReq: %{name}-common = %{version}
345 This is a dynamic shared object (DSO) for Apache that will add Oracle
346 7 database support to PHP. If you need back-end support for Oracle 7,
347 you should install this package in addition to the main %{name}
350 %description oracle -l pl
351 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7.
354 Summary: GD extension module for PHP
355 Summary: Modu³ GD dla PHP
358 Group(da): Biblioteker
359 Group(de): Bibliotheken
360 Group(es): Bibliotecas
361 Group(fr): Librairies
363 Group(ja): ¥é¥¤¥Ö¥é¥ê
364 Group(no): Biblioteker
365 Group(pl): Biblioteki
366 Group(pt): Bibliotecas
367 Group(pt_BR): Bibliotecas
368 Group(ru): âÉÂÌÉÏÔÅËÉ
370 Group(uk): â¦Â̦ÏÔÅËÉ
371 PreReq: %{name}-common = %{version}
374 This is a dynamic shared object (DSO) for Apache that will add GD
375 support to PHP. You should install this package in addition to the
376 main %{name} package if you want to create and manipulate images with
379 %description gd -l pl
380 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD - do obróbki
381 obrazków z poziomu PHP.
384 Summary: Java extension module for PHP
385 Summary(pl): Modu³ Javy dla PHP
388 Group(da): Biblioteker
389 Group(de): Bibliotheken
390 Group(es): Bibliotecas
391 Group(fr): Librairies
393 Group(ja): ¥é¥¤¥Ö¥é¥ê
394 Group(no): Biblioteker
395 Group(pl): Biblioteki
396 Group(pt): Bibliotecas
397 Group(pt_BR): Bibliotecas
398 Group(ru): âÉÂÌÉÏÔÅËÉ
400 Group(uk): â¦Â̦ÏÔÅËÉ
401 PreReq: %{name}-common = %{version}
404 This is a dynamic shared object (DSO) for Apache that will add JAVA
405 support to PHP. This extension provides a simple and effective means
406 for creating and invoking methods on Java objects from PHP.
408 %description java -l pl
409 Modu³ PHP dodaj±cy wsparcie dla Javy. Umo¿liwia odwo³ywanie siê do
410 obiektów Javy z poziomu PHP.
413 Summary: XML extension module for PHP
414 Summary(pl): Modu³ XML dla PHP
417 Group(da): Biblioteker
418 Group(de): Bibliotheken
419 Group(es): Bibliotecas
420 Group(fr): Librairies
422 Group(ja): ¥é¥¤¥Ö¥é¥ê
423 Group(no): Biblioteker
424 Group(pl): Biblioteki
425 Group(pt): Bibliotecas
426 Group(pt_BR): Bibliotecas
427 Group(ru): âÉÂÌÉÏÔÅËÉ
429 Group(uk): â¦Â̦ÏÔÅËÉ
430 PreReq: %{name}-common = %{version}
433 This is a dynamic shared object (DSO) for Apache that will add XML
434 support to PHP. This extension lets you create XML parsers and then
435 define handlers for different XML events. If you want to be able to
436 parse XML documents you should install this package in addition to the
437 main %{name} package.
439 %description xml -l pl
440 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
441 zwi±zanych z tymi plikami.
444 Summary: DBA extension module for PHP
445 Summary(pl): Modu³ DBA dla PHP
448 Group(da): Biblioteker
449 Group(de): Bibliotheken
450 Group(es): Bibliotecas
451 Group(fr): Librairies
453 Group(ja): ¥é¥¤¥Ö¥é¥ê
454 Group(no): Biblioteker
455 Group(pl): Biblioteki
456 Group(pt): Bibliotecas
457 Group(pt_BR): Bibliotecas
458 Group(ru): âÉÂÌÉÏÔÅËÉ
460 Group(uk): â¦Â̦ÏÔÅËÉ
461 PreReq: %{name}-common = %{version}
464 This is a dynamic shared object (DSO) for Apache that will add
465 flat-file databases (DBA) support to PHP.
467 #%description dba -l pl
470 Summary: ODBC extension module for PHP
471 Summary(pl): Modu³ ODBC dla PHP
474 Group(da): Biblioteker
475 Group(de): Bibliotheken
476 Group(es): Bibliotecas
477 Group(fr): Librairies
479 Group(ja): ¥é¥¤¥Ö¥é¥ê
480 Group(no): Biblioteker
481 Group(pl): Biblioteki
482 Group(pt): Bibliotecas
483 Group(pt_BR): Bibliotecas
484 Group(ru): âÉÂÌÉÏÔÅËÉ
486 Group(uk): â¦Â̦ÏÔÅËÉ
487 PreReq: %{name}-common = %{version}
490 This is a dynamic shared object (DSO) for Apache that will add ODBC
493 %description odbc -l pl
494 Modu³ PHP ze wsparciem dla ODBC.
497 Summary: Calendar extension module for PHP
498 Summary(pl): Modu³ funkcji kalendarza dla PHP
501 Group(da): Biblioteker
502 Group(de): Bibliotheken
503 Group(es): Bibliotecas
504 Group(fr): Librairies
506 Group(ja): ¥é¥¤¥Ö¥é¥ê
507 Group(no): Biblioteker
508 Group(pl): Biblioteki
509 Group(pt): Bibliotecas
510 Group(pt_BR): Bibliotecas
511 Group(ru): âÉÂÌÉÏÔÅËÉ
513 Group(uk): â¦Â̦ÏÔÅËÉ
514 PreReq: %{name}-common = %{version}
516 %description calendar
517 This is a dynamic shared object (DSO) for Apache that will add
518 calendar support to PHP.
520 #%description calendar -l pl
523 Summary: DBase extension module for PHP
524 Summary(pl): Modu³ DBase dla PHP
527 Group(da): Biblioteker
528 Group(de): Bibliotheken
529 Group(es): Bibliotecas
530 Group(fr): Librairies
532 Group(ja): ¥é¥¤¥Ö¥é¥ê
533 Group(no): Biblioteker
534 Group(pl): Biblioteki
535 Group(pt): Bibliotecas
536 Group(pt_BR): Bibliotecas
537 Group(ru): âÉÂÌÉÏÔÅËÉ
539 Group(uk): â¦Â̦ÏÔÅËÉ
540 PreReq: %{name}-common = %{version}
543 This is a dynamic shared object (DSO) for Apache that will add DBase
546 %description dbase -l pl
547 Modu³ PHP ze wsparciem dla DBase.
550 Summary: FilePro extension module for PHP
551 Summary(pl): Modu³ FilePro dla PHP
554 Group(da): Biblioteker
555 Group(de): Bibliotheken
556 Group(es): Bibliotecas
557 Group(fr): Librairies
559 Group(ja): ¥é¥¤¥Ö¥é¥ê
560 Group(no): Biblioteker
561 Group(pl): Biblioteki
562 Group(pt): Bibliotecas
563 Group(pt_BR): Bibliotecas
564 Group(ru): âÉÂÌÉÏÔÅËÉ
566 Group(uk): â¦Â̦ÏÔÅËÉ
567 PreReq: %{name}-common = %{version}
570 This is a dynamic shared object (DSO) for Apache that will add FilePro
573 #%description filepro -l pl
576 Summary: POSIX extension module for PHP
577 Summary(pl): Modu³ POSIX dla PHP
580 Group(da): Biblioteker
581 Group(de): Bibliotheken
582 Group(es): Bibliotecas
583 Group(fr): Librairies
585 Group(ja): ¥é¥¤¥Ö¥é¥ê
586 Group(no): Biblioteker
587 Group(pl): Biblioteki
588 Group(pt): Bibliotecas
589 Group(pt_BR): Bibliotecas
590 Group(ru): âÉÂÌÉÏÔÅËÉ
592 Group(uk): â¦Â̦ÏÔÅËÉ
593 PreReq: %{name}-common = %{version}
596 This is a dynamic shared object (DSO) for Apache that will add POSIX
597 functions support to PHP.
599 %description posix -l pl
600 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
602 Summary: PCRE extension module for PHP
603 Summary(pl): Modu³ PCRE dla PHP
606 Group(da): Biblioteker
607 Group(de): Bibliotheken
608 Group(es): Bibliotecas
609 Group(fr): Librairies
611 Group(ja): ¥é¥¤¥Ö¥é¥ê
612 Group(no): Biblioteker
613 Group(pl): Biblioteki
614 Group(pt): Bibliotecas
615 Group(pt_BR): Bibliotecas
616 Group(ru): âÉÂÌÉÏÔÅËÉ
618 Group(uk): â¦Â̦ÏÔÅËÉ
619 PreReq: %{name}-common = %{version}
622 This is a dynamic shared object (DSO) for Apache that will add Perl
623 Compatible Regular Expression support to PHP.
625 %description pcre -l pl
626 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
627 (Perl Compatible Regular Expressions)
630 Summary: SysV sem extension module for PHP
631 Summary(pl): Modu³ SysV sem dla PHP
634 Group(da): Biblioteker
635 Group(de): Bibliotheken
636 Group(es): Bibliotecas
637 Group(fr): Librairies
639 Group(ja): ¥é¥¤¥Ö¥é¥ê
640 Group(no): Biblioteker
641 Group(pl): Biblioteki
642 Group(pt): Bibliotecas
643 Group(pt_BR): Bibliotecas
644 Group(ru): âÉÂÌÉÏÔÅËÉ
646 Group(uk): â¦Â̦ÏÔÅËÉ
647 PreReq: %{name}-common = %{version}
650 This is a dynamic shared object (DSO) for Apache that will add SysV
651 semafores support to PHP.
653 %description sysvsem -l pl
654 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
657 Summary: SysV shm extension module for PHP
658 Summary(pl): Modu³ SysV shm dla PHP
661 Group(da): Biblioteker
662 Group(de): Bibliotheken
663 Group(es): Bibliotecas
664 Group(fr): Librairies
666 Group(ja): ¥é¥¤¥Ö¥é¥ê
667 Group(no): Biblioteker
668 Group(pl): Biblioteki
669 Group(pt): Bibliotecas
670 Group(pt_BR): Bibliotecas
671 Group(ru): âÉÂÌÉÏÔÅËÉ
673 Group(uk): â¦Â̦ÏÔÅËÉ
674 PreReq: %{name}-common = %{version}
677 This is a dynamic shared object (DSO) for Apache that will add SysV
678 Shared Memory support to PHP.
680 %description sysvshm -l pl
681 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
684 Summary: NIS (yp) extension module for PHP
685 Summary(pl): Modu³ NIS (yp) dla PHP
688 Group(da): Biblioteker
689 Group(de): Bibliotheken
690 Group(es): Bibliotecas
691 Group(fr): Librairies
693 Group(ja): ¥é¥¤¥Ö¥é¥ê
694 Group(no): Biblioteker
695 Group(pl): Biblioteki
696 Group(pt): Bibliotecas
697 Group(pt_BR): Bibliotecas
698 Group(ru): âÉÂÌÉÏÔÅËÉ
700 Group(uk): â¦Â̦ÏÔÅËÉ
701 PreReq: %{name}-common = %{version}
704 This is a dynamic shared object (DSO) for Apache that will add NIS
705 (Yellow Pages) support to PHP.
707 #%description yp -l pl
710 Summary: bcmath extension module for PHP
711 Summary(pl): Modu³ bcmath dla PHP
714 Group(da): Biblioteker
715 Group(de): Bibliotheken
716 Group(es): Bibliotecas
717 Group(fr): Librairies
719 Group(ja): ¥é¥¤¥Ö¥é¥ê
720 Group(no): Biblioteker
721 Group(pl): Biblioteki
722 Group(pt): Bibliotecas
723 Group(pt_BR): Bibliotecas
724 Group(ru): âÉÂÌÉÏÔÅËÉ
726 Group(uk): â¦Â̦ÏÔÅËÉ
727 PreReq: %{name}-common = %{version}
730 This is a dynamic shared object (DSO) for Apache that will add bc
731 style precision math functions support to PHP.
733 %description bcmath -l pl
734 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
735 matematycznych takich jak w programie bc.
738 Summary: FTP extension module for PHP
739 Summary(pl): Modu³ FTP dla PHP
742 Group(da): Biblioteker
743 Group(de): Bibliotheken
744 Group(es): Bibliotecas
745 Group(fr): Librairies
747 Group(ja): ¥é¥¤¥Ö¥é¥ê
748 Group(no): Biblioteker
749 Group(pl): Biblioteki
750 Group(pt): Bibliotecas
751 Group(pt_BR): Bibliotecas
752 Group(ru): âÉÂÌÉÏÔÅËÉ
754 Group(uk): â¦Â̦ÏÔÅËÉ
755 PreReq: %{name}-common = %{version}
758 This is a dynamic shared object (DSO) for Apache that will add FTP
761 %description ftp -l pl
762 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
765 Summary: Zlib extension module for PHP
766 Summary(pl): Modu³ zlib dla PHP
769 Group(da): Biblioteker
770 Group(de): Bibliotheken
771 Group(es): Bibliotecas
772 Group(fr): Librairies
774 Group(ja): ¥é¥¤¥Ö¥é¥ê
775 Group(no): Biblioteker
776 Group(pl): Biblioteki
777 Group(pt): Bibliotecas
778 Group(pt_BR): Bibliotecas
779 Group(ru): âÉÂÌÉÏÔÅËÉ
781 Group(uk): â¦Â̦ÏÔÅËÉ
782 PreReq: %{name}-common = %{version}
785 This is a dynamic shared object (DSO) for Apache that will add
786 compression (zlib) support to PHP.
788 %description zlib -l pl
789 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji (poprzez bibliotekê zlib).
792 Summary: exif extension module for PHP
793 Summary(pl): Modu³ exif dla PHP
796 Group(da): Biblioteker
797 Group(de): Bibliotheken
798 Group(es): Bibliotecas
799 Group(fr): Librairies
801 Group(ja): ¥é¥¤¥Ö¥é¥ê
802 Group(no): Biblioteker
803 Group(pl): Biblioteki
804 Group(pt): Bibliotecas
805 Group(pt_BR): Bibliotecas
806 Group(ru): âÉÂÌÉÏÔÅËÉ
808 Group(uk): â¦Â̦ÏÔÅËÉ
809 PreReq: %{name}-common = %{version}
812 This is a dynamic shared object (DSO) for Apache that will add exif
815 %description exif -l pl
816 Modu³ PHP dodaj±cy obs³ugê plików EXIF.
819 Summary: recode extension module for PHP
820 Summary(pl): Modu³ recode dla PHP
823 Group(da): Biblioteker
824 Group(de): Bibliotheken
825 Group(es): Bibliotecas
826 Group(fr): Librairies
828 Group(ja): ¥é¥¤¥Ö¥é¥ê
829 Group(no): Biblioteker
830 Group(pl): Biblioteki
831 Group(pt): Bibliotecas
832 Group(pt_BR): Bibliotecas
833 Group(ru): âÉÂÌÉÏÔÅËÉ
835 Group(uk): â¦Â̦ÏÔÅËÉ
836 PreReq: %{name}-common = %{version}
837 Requires: recode >= 3.5d-3
840 This is a dynamic shared object (DSO) for Apache that will add recode
843 %description recode -l pl
844 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
848 Summary: session extension module for PHP
849 Summary(pl): Modu³ session dla PHP
852 Group(da): Biblioteker
853 Group(de): Bibliotheken
854 Group(es): Bibliotecas
855 Group(fr): Librairies
857 Group(ja): ¥é¥¤¥Ö¥é¥ê
858 Group(no): Biblioteker
859 Group(pl): Biblioteki
860 Group(pt): Bibliotecas
861 Group(pt_BR): Bibliotecas
862 Group(ru): âÉÂÌÉÏÔÅËÉ
864 Group(uk): â¦Â̦ÏÔÅËÉ
865 PreReq: %{name}-common = %{version}
868 This is a dynamic shared object (DSO) for Apache that will add session
871 %description session -l pl
872 Modu³ PHP dodaj±cy obs³ugê sesji.
875 Summary: gettext extension module for PHP
876 Summary(pl): Modu³ gettext dla PHP
879 Group(da): Biblioteker
880 Group(de): Bibliotheken
881 Group(es): Bibliotecas
882 Group(fr): Librairies
884 Group(ja): ¥é¥¤¥Ö¥é¥ê
885 Group(no): Biblioteker
886 Group(pl): Biblioteki
887 Group(pt): Bibliotecas
888 Group(pt_BR): Bibliotecas
889 Group(ru): âÉÂÌÉÏÔÅËÉ
891 Group(uk): â¦Â̦ÏÔÅËÉ
892 PreReq: %{name}-common = %{version}
895 This is a dynamic shared object (DSO) for Apache that will add gettext
898 %description gettext -l pl
899 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
902 Summary: SNMP extension module for PHP
903 Summary(pl): Modu³ SNMP dla PHP
906 Group(da): Biblioteker
907 Group(de): Bibliotheken
908 Group(es): Bibliotecas
909 Group(fr): Librairies
911 Group(ja): ¥é¥¤¥Ö¥é¥ê
912 Group(no): Biblioteker
913 Group(pl): Biblioteki
914 Group(pt): Bibliotecas
915 Group(pt_BR): Bibliotecas
916 Group(ru): âÉÂÌÉÏÔÅËÉ
918 Group(uk): â¦Â̦ÏÔÅËÉ
919 PreReq: %{name}-common = %{version}
922 This is a dynamic shared object (DSO) for Apache that will add SNMP
925 %description snmp -l pl
926 Modu³ PHP dodaj±cy obs³ugê SNMP.
929 Summary: IMAP extension module for PHP
930 Summary(pl): Modu³ IMAP dla PHP
933 Group(da): Biblioteker
934 Group(de): Bibliotheken
935 Group(es): Bibliotecas
936 Group(fr): Librairies
938 Group(ja): ¥é¥¤¥Ö¥é¥ê
939 Group(no): Biblioteker
940 Group(pl): Biblioteki
941 Group(pt): Bibliotecas
942 Group(pt_BR): Bibliotecas
943 Group(ru): âÉÂÌÉÏÔÅËÉ
945 Group(uk): â¦Â̦ÏÔÅËÉ
946 PreReq: %{name}-common = %{version}
949 This is a dynamic shared object (DSO) for Apache that will add IMAP
952 %description imap -l pl
953 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
956 Summary: LDAP extension module for PHP
957 Summary(pl): Modu³ LDAP dla PHP
960 Group(da): Biblioteker
961 Group(de): Bibliotheken
962 Group(es): Bibliotecas
963 Group(fr): Librairies
965 Group(ja): ¥é¥¤¥Ö¥é¥ê
966 Group(no): Biblioteker
967 Group(pl): Biblioteki
968 Group(pt): Bibliotecas
969 Group(pt_BR): Bibliotecas
970 Group(ru): âÉÂÌÉÏÔÅËÉ
972 Group(uk): â¦Â̦ÏÔÅËÉ
973 PreReq: %{name}-common = %{version}
976 This is a dynamic shared object (DSO) for Apache that will add LDAP
979 %description ldap -l pl
980 Modu³ PHP dodaj±cy obs³ugê LDAP.
983 Summary: sockets extension module for PHP
984 Summary(pl): Modu³ socket dla PHP
987 Group(da): Biblioteker
988 Group(de): Bibliotheken
989 Group(es): Bibliotecas
990 Group(fr): Librairies
992 Group(ja): ¥é¥¤¥Ö¥é¥ê
993 Group(no): Biblioteker
994 Group(pl): Biblioteki
995 Group(pt): Bibliotecas
996 Group(pt_BR): Bibliotecas
997 Group(ru): âÉÂÌÉÏÔÅËÉ
999 Group(uk): â¦Â̦ÏÔÅËÉ
1000 PreReq: %{name}-common = %{version}
1002 %description sockets
1003 This is a dynamic shared object (DSO) for Apache that will add sockets
1006 %description sockets -l pl
1007 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1010 Summary: mcrypt extension module for PHP
1011 Summary(pl): Modu³ mcrypt dla PHP
1014 Group(da): Biblioteker
1015 Group(de): Bibliotheken
1016 Group(es): Bibliotecas
1017 Group(fr): Librairies
1019 Group(ja): ¥é¥¤¥Ö¥é¥ê
1020 Group(no): Biblioteker
1021 Group(pl): Biblioteki
1022 Group(pt): Bibliotecas
1023 Group(pt_BR): Bibliotecas
1024 Group(ru): âÉÂÌÉÏÔÅËÉ
1025 Group(sv): Bibliotek
1026 Group(uk): â¦Â̦ÏÔÅËÉ
1027 PreReq: %{name}-common = %{version}
1030 This is a dynamic shared object (DSO) for Apache that will add mcrypt
1033 %description mcrypt -l pl
1034 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
1037 Summary: mhash extension module for PHP
1038 Summary(pl): Modu³ mhash dla PHP
1041 Group(da): Biblioteker
1042 Group(de): Bibliotheken
1043 Group(es): Bibliotecas
1044 Group(fr): Librairies
1046 Group(ja): ¥é¥¤¥Ö¥é¥ê
1047 Group(no): Biblioteker
1048 Group(pl): Biblioteki
1049 Group(pt): Bibliotecas
1050 Group(pt_BR): Bibliotecas
1051 Group(ru): âÉÂÌÉÏÔÅËÉ
1052 Group(sv): Bibliotek
1053 Group(uk): â¦Â̦ÏÔÅËÉ
1054 PreReq: %{name}-common = %{version}
1057 This is a dynamic shared object (DSO) for Apache that will add mhash
1060 %description mhash -l pl
1061 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
1064 Summary: Online manual for PHP
1065 Summary(pl): Dokumentacja dla PHP
1066 Group: Networking/Daemons
1067 Group(cs): Sí»ové/Démoni
1068 Group(da): Netværks/Dæmoner
1069 Group(de): Netzwerkwesen/Server
1070 Group(es): Red/Servidores
1071 Group(fr): Réseau/Serveurs
1072 Group(it): Rete/Demoni
1073 Group(no): Nettverks/Daemoner
1074 Group(pl): Sieciowe/Serwery
1075 Group(pt): Rede/Servidores
1076 Group(ru): óÅÔÅ×ÙÅ/äÅÍÏÎÙ
1077 Group(sv): Nätverk/Demoner
1078 Obsoletes: php-manual
1081 Comprehensive documentation for PHP, viewable through your web server,
1084 %description doc -l pl
1085 Dokumentacja dla pakietu PHP. Mo¿na j± równie¿ ogl±daæ poprzez serwer
1089 Summary: PEAR - PHP Extension and Application Repository
1090 Summary(pl): PEAR - Rozszerzenie PHP i Repozytorium Aplikacji
1091 Group: Development/Languages/PHP
1092 Group(cs): Vývojové prostøedky/Programovací jazyky/PHP
1093 Group(da): Udvikling/Sprog/PHP
1094 Group(de): Entwicklung/Sprachen/PHP
1095 Group(es): Desarrollo/Lenguajes/PHP
1096 Group(fr): Development/Langues/PHP
1097 Group(it): Sviluppo/Linguaggi/PHP
1098 Group(ja): ³«È¯/¸À¸ì/PHP
1099 Group(no): Utvikling/Programmeringsspråk/PHP
1100 Group(pl): Programowanie/Jêzyki/PHP
1101 Group(pt): Desenvolvimento/Linguagens/PHP
1102 Group(ru): òÁÚÒÁÂÏÔËÁ/ñÚÙËÉ/PHP
1103 Group(sv): Utveckling/Språk/PHP
1106 PEAR - PHP Extension and Application Repository.
1108 %description pear -l pl
1109 PEAR (PHP Extension and Application Repository) - Rozszerzenie PHP i
1110 Repozytorium Aplikacji.
1113 Summary: DOM XML module
1114 Summary(pl): Modu³ DOM XML
1115 Group: Development/Languages/PHP
1116 Group(cs): Vývojové prostøedky/Programovací jazyky/PHP
1117 Group(da): Udvikling/Sprog/PHP
1118 Group(de): Entwicklung/Sprachen/PHP
1119 Group(es): Desarrollo/Lenguajes/PHP
1120 Group(fr): Development/Langues/PHP
1121 Group(it): Sviluppo/Linguaggi/PHP
1122 Group(ja): ³«È¯/¸À¸ì/PHP
1123 Group(no): Utvikling/Programmeringsspråk/PHP
1124 Group(pl): Programowanie/Jêzyki/PHP
1125 Group(pt): Desenvolvimento/Linguagens/PHP
1126 Group(ru): òÁÚÒÁÂÏÔËÁ/ñÚÙËÉ/PHP
1127 Group(sv): Utveckling/Språk/PHP
1132 %description domxml -l pl
1136 Summary: Files for PHP modules development
1137 Summary(pl): Pliki do kompilacji modu³ów PHP
1138 Group: Development/Languages/PHP
1139 Group(cs): Vývojové prostøedky/Programovací jazyky/PHP
1140 Group(da): Udvikling/Sprog/PHP
1141 Group(de): Entwicklung/Sprachen/PHP
1142 Group(es): Desarrollo/Lenguajes/PHP
1143 Group(fr): Development/Langues/PHP
1144 Group(it): Sviluppo/Linguaggi/PHP
1145 Group(ja): ³«È¯/¸À¸ì/PHP
1146 Group(no): Utvikling/Programmeringsspråk/PHP
1147 Group(pl): Programowanie/Jêzyki/PHP
1148 Group(pt): Desenvolvimento/Linguagens/PHP
1149 Group(ru): òÁÚÒÁÂÏÔËÁ/ñÚÙËÉ/PHP
1150 Group(sv): Utveckling/Språk/PHP
1151 Requires: %{name}-common = %{version}
1154 Files for PHP modules development.
1156 %description devel -l pl
1157 Pliki potrzebne do kompilacji modu³ów PHP.
1160 Summary: curl extension module for PHP
1161 Summary(pl): Modu³ curl dla PHP
1164 Group(da): Biblioteker
1165 Group(de): Bibliotheken
1166 Group(es): Bibliotecas
1167 Group(fr): Librairies
1169 Group(ja): ¥é¥¤¥Ö¥é¥ê
1170 Group(no): Biblioteker
1171 Group(pl): Biblioteki
1172 Group(pt): Bibliotecas
1173 Group(pt_BR): Bibliotecas
1174 Group(ru): âÉÂÌÉÏÔÅËÉ
1175 Group(sv): Bibliotek
1176 Group(uk): â¦Â̦ÏÔÅËÉ
1177 PreReq: %{name}-common = %{version}
1180 This is a dynamic shared object (DSO) for Apache that will add curl
1183 %description curl -l pl
1184 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
1187 Summary: xslt extension module for PHP
1188 Summary(pl): Modu³ xslt dla PHP
1191 Group(da): Biblioteker
1192 Group(de): Bibliotheken
1193 Group(es): Bibliotecas
1194 Group(fr): Librairies
1196 Group(ja): ¥é¥¤¥Ö¥é¥ê
1197 Group(no): Biblioteker
1198 Group(pl): Biblioteki
1199 Group(pt): Bibliotecas
1200 Group(pt_BR): Bibliotecas
1201 Group(ru): âÉÂÌÉÏÔÅËÉ
1202 Group(sv): Bibliotek
1203 Group(uk): â¦Â̦ÏÔÅËÉ
1204 PreReq: %{name}-common = %{version}
1207 This is a dynamic shared object (DSO) for Apache that will add xslt
1210 %description xslt -l pl
1211 Modu³ PHP umo¿liwiaj±cy korzystanie z technologii xslt.
1214 Summary: wddx extension module for PHP
1215 Summary(pl): Modu³ wddx dla PHP
1218 Group(da): Biblioteker
1219 Group(de): Bibliotheken
1220 Group(es): Bibliotecas
1221 Group(fr): Librairies
1223 Group(ja): ¥é¥¤¥Ö¥é¥ê
1224 Group(no): Biblioteker
1225 Group(pl): Biblioteki
1226 Group(pt): Bibliotecas
1227 Group(pt_BR): Bibliotecas
1228 Group(ru): âÉÂÌÉÏÔÅËÉ
1229 Group(sv): Bibliotek
1230 Group(uk): â¦Â̦ÏÔÅËÉ
1231 PreReq: %{name}-common = %{version}
1234 This is a dynamic shared object (DSO) for Apache that will add wddx
1237 %description wddx -l pl
1238 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1241 Summary: ming extension module for PHP
1242 Summary(pl): Modu³ ming dla PHP
1245 Group(da): Biblioteker
1246 Group(de): Bibliotheken
1247 Group(es): Bibliotecas
1248 Group(fr): Librairies
1250 Group(ja): ¥é¥¤¥Ö¥é¥ê
1251 Group(no): Biblioteker
1252 Group(pl): Biblioteki
1253 Group(pt): Bibliotecas
1254 Group(pt_BR): Bibliotecas
1255 Group(ru): âÉÂÌÉÏÔÅËÉ
1256 Group(sv): Bibliotek
1257 Group(uk): â¦Â̦ÏÔÅËÉ
1258 PreReq: %{name}-common = %{version}
1261 This is a dynamic shared object (DSO) for Apache that will add ming
1262 (Flash - .swf files) support to PHP.
1264 %description ming -l pl
1265 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
1269 Summary: cpdf extension module for PHP
1270 Summary(pl): Modu³ cpdf dla PHP
1273 Group(da): Biblioteker
1274 Group(de): Bibliotheken
1275 Group(es): Bibliotecas
1276 Group(fr): Librairies
1278 Group(ja): ¥é¥¤¥Ö¥é¥ê
1279 Group(no): Biblioteker
1280 Group(pl): Biblioteki
1281 Group(pt): Bibliotecas
1282 Group(pt_BR): Bibliotecas
1283 Group(ru): âÉÂÌÉÏÔÅËÉ
1284 Group(sv): Bibliotek
1285 Group(uk): â¦Â̦ÏÔÅËÉ
1286 PreReq: %{name}-common = %{version}
1288 %description libcpdf
1289 This is a dynamic shared object (DSO) for Apache that will add libcpdf
1292 %description libcpdf -l pl
1293 Modu³ PHP dodaj±cy obs³ugê libcpdf.
1310 bzip2 -dc %{SOURCE4} | tar -xf - -C manual
1313 CFLAGS="%{rpmcflags} -DEAPI -I%{_prefix}/X11R6/include"; export CFLAGS
1314 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1316 libtoolize --copy --force
1319 #for i in cgi fastcgi apxs ; do
1320 for i in cgi apxs ; do
1322 `[ $i = cgi ] && echo --enable-discard-path` \
1323 `[ $i = fastcgi ] && echo --enable-discard-path --with-fastcgi=%{_prefix}` \
1324 `[ $i = apxs ] && echo --with-apxs=%{_sbindir}/apxs` \
1325 --with-config-file-path=%{_sysconfdir} \
1326 --with-exec-dir=%{_bindir} \
1327 --%{!?debug:dis}%{?debug:en}able-debug \
1328 --enable-bcmath=shared \
1329 --enable-calendar=shared \
1330 --enable-dba=shared \
1331 --enable-exif=shared \
1332 --enable-ftp=shared \
1333 --enable-gd-native-ttf \
1334 --enable-magic-quotes \
1335 --enable-posix=shared \
1338 --enable-shmop=shared \
1339 --enable-sysvsem=shared \
1340 --enable-sysvshm=shared \
1341 --enable-track-vars \
1342 --enable-trans-sid \
1343 --enable-safe-mode \
1344 --enable-sockets=shared \
1345 --enable-yp=shared \
1346 --enable-ucd-snmp-hack \
1347 --enable-xml=shared \
1348 %{?_with_xslt:--enable-xslt=shared} \
1350 %{?_with_libcpdf:--with-cpdflib=shared} \
1351 --with-ctype=shared \
1352 --with-curl=shared \
1355 --with-dbase=shared \
1357 --with-filepro=shared \
1358 --with-freetype-dir=shared \
1359 --with-gettext=shared \
1364 %{!?_without_imap:--with-imap=shared --with-imap-ssl} \
1365 %{?_with_java:--with-java} \
1366 --with-jpeg-dir=shared \
1367 %{!?_without_ldap:--with-ldap=shared} \
1368 --with-mcrypt=shared \
1369 --with-mysql=shared,%{_prefix} \
1370 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1371 --with-mhash=shared \
1372 --with-ming=shared \
1374 %{!?_without_openssl:--with-openssl} \
1375 %{?_with_oracle:--with-oracle=shared} \
1376 %{?_with_oci8:--with-oci8=shared} \
1377 --with-pear=%{peardir} \
1378 --with-pcre-regex=shared \
1379 --with-pdflib=shared \
1380 --with-pgsql=shared,%{_prefix} \
1381 --with-png-dir=shared \
1382 --with-recode=shared \
1384 %{!?_without_sablot:--with-sablot=/usr/lib} \
1385 %{!?_without_snmp:--with-snmp=shared} \
1386 --with-t1lib=shared \
1387 %{!?_without_odbc:--with-unixODBC=shared} \
1388 %{?_with_wddx:--enable-wddx=shared} \
1389 --with-zlib=shared \
1390 --with-zlib-dir=shared \
1392 %{?_with_xslt:--with-xslt-sablot=shared}
1395 # TODO --with-pspell=/usr,shared (pspell missing)
1396 # --with-qtdom=shared
1399 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" -C sapi/cgi
1401 # Kill -rpath from php binary and libphp4.so
1402 perl -pi -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
1403 perl -pi -e 's|^runpath_var=.*|runpath_var=|g' libtool
1404 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" php
1406 perl -pi -e 's|^hardcode_into_libs=.*|hardcode_into_libs=no|g' libtool
1407 rm libphp4.la ; %{__make} libphp4.la
1410 rm -rf $RPM_BUILD_ROOT
1411 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache},%{_sysconfdir}/{apache,cgi}} \
1412 $RPM_BUILD_ROOT/home/httpd/icons \
1413 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}}
1416 INSTALL_ROOT=$RPM_BUILD_ROOT \
1417 INSTALL_IT="install libs/libphp4.so $RPM_BUILD_ROOT%{_libdir}/apache/ ; install libs/libphp_common*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}"
1419 install .libs/php $RPM_BUILD_ROOT%{_bindir}/php
1422 #install .libs/*.so $RPM_BUILD_ROOT%{_pkglibdir}
1423 #install modules/*.so $RPM_BUILD_ROOT%{_pkglibdir}/php
1425 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1426 install %{SOURCE3} php4.gif $RPM_BUILD_ROOT/home/httpd/icons
1427 install %{SOURCE5} $RPM_BUILD_ROOT/%{_sbindir}
1430 install %{SOURCE1} .
1431 gzip -9nf CODING_STANDARDS CREDITS \
1432 EXTENSIONS NEWS TODO* LICENSE Zend/LICENSE \
1433 Zend/ZEND_CHANGES README.SELF-CONTAINED-EXTENSIONS README.EXT_SKEL
1436 rm -rf $RPM_BUILD_ROOT
1439 %{_sbindir}/apxs -e -a -n php4 %{_pkglibdir}/libphp4.so 1>&2
1440 perl -pi -e 's|^#AddType application/x-httpd-php \.php|AddType application/x-httpd-php .php|' \
1441 /etc/httpd/httpd.conf
1442 if [ -f /var/lock/subsys/httpd ]; then
1443 /etc/rc.d/init.d/httpd restart 1>&2
1447 if [ "$1" = "0" ]; then
1448 %{_sbindir}/apxs -e -A -n php4 %{_pkglibdir}/libphp4.so 1>&2
1450 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
1451 /etc/httpd/httpd.conf
1452 if [ -f /var/lock/subsys/httpd ]; then
1453 /etc/rc.d/init.d/httpd restart 1>&2
1457 %post common -p /sbin/ldconfig
1458 %postun common -p /sbin/ldconfig
1461 %{_sbindir}/php-module-install install bcmath %{_sysconfdir}/php.ini
1464 if [ "$1" = "0" ]; then
1465 %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
1469 %{_sbindir}/php-module-install install calendar %{_sysconfdir}/php.ini
1472 if [ "$1" = "0" ]; then
1473 %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
1477 %{_sbindir}/php-module-install install dba %{_sysconfdir}/php.ini
1480 if [ "$1" = "0" ]; then
1481 %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
1485 %{_sbindir}/php-module-install install dbase %{_sysconfdir}/php.ini
1488 if [ "$1" = "0" ]; then
1489 %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
1493 %{_sbindir}/php-module-install install exif %{_sysconfdir}/php.ini
1496 if [ "$1" = "0" ]; then
1497 %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
1501 %{_sbindir}/php-module-install install filepro %{_sysconfdir}/php.ini
1504 if [ "$1" = "0" ]; then
1505 %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
1509 %{_sbindir}/php-module-install install ftp %{_sysconfdir}/php.ini
1512 if [ "$1" = "0" ]; then
1513 %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
1517 %{_sbindir}/php-module-install install gd %{_sysconfdir}/php.ini
1520 if [ "$1" = "0" ]; then
1521 %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
1525 %{_sbindir}/php-module-install install gettext %{_sysconfdir}/php.ini
1528 if [ "$1" = "0" ]; then
1529 %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
1532 %if %{?_without_imap:0}%{!?_without_imap:1}
1534 %{_sbindir}/php-module-install install imap %{_sysconfdir}/php.ini
1537 if [ "$1" = "0" ]; then
1538 %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
1542 %if %{?_with_java:1}%{!?_with_java:0}
1544 %{_sbindir}/php-module-install install libphp_java %{_sysconfdir}/php.ini
1547 if [ "$1" = "0" ]; then
1548 %{_sbindir}/php-module-install remove libphp_java %{_sysconfdir}/php.ini
1552 %if %{?_without_ldap:0}%{!?_without_ldap:1}
1554 %{_sbindir}/php-module-install install ldap %{_sysconfdir}/php.ini
1557 if [ "$1" = "0" ]; then
1558 %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
1563 %{_sbindir}/php-module-install install mcrypt %{_sysconfdir}/php.ini
1566 if [ "$1" = "0" ]; then
1567 %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
1571 %{_sbindir}/php-module-install install mhash %{_sysconfdir}/php.ini
1574 if [ "$1" = "0" ]; then
1575 %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
1579 %{_sbindir}/php-module-install install mysql %{_sysconfdir}/php.ini
1582 if [ "$1" = "0" ]; then
1583 %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
1587 %{_sbindir}/php-module-install install libpdf_php %{_sysconfdir}/php.ini
1590 if [ "$1" = "0" ]; then
1591 %{_sbindir}/php-module-install remove libpdf_php %{_sysconfdir}/php.ini
1595 if [ "$1" = "0" ]; then
1596 %{_sbindir}/php-module-install remove domxml %{_sysconfdir}/php.ini
1600 %{_sbindir}/php-module-install install domxml %{_sysconfdir}/php.ini
1602 %if %{?_with_oci8:1}%{!?_with_oci8:0}
1604 %{_sbindir}/php-module-install install oci8 %{_sysconfdir}/php.ini
1607 if [ "$1" = "0" ]; then
1608 %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
1612 %if %{?_without_odbc:0}%{!?_without_odbc:1}
1614 %{_sbindir}/php-module-install install odbc %{_sysconfdir}/php.ini
1617 if [ "$1" = "0" ]; then
1618 %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
1622 %if %{?_with_oracle:1}%{!?_with_oracle:0}
1624 %{_sbindir}/php-module-install install oracle %{_sysconfdir}/php.ini
1627 if [ "$1" = "0" ]; then
1628 %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
1633 %{_sbindir}/php-module-install install pcre %{_sysconfdir}/php.ini
1636 if [ "$1" = "0" ]; then
1637 %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
1641 %{_sbindir}/php-module-install install pgsql %{_sysconfdir}/php.ini
1644 if [ "$1" = "0" ]; then
1645 %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
1649 %{_sbindir}/php-module-install install posix %{_sysconfdir}/php.ini
1652 if [ "$1" = "0" ]; then
1653 %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
1657 %{_sbindir}/php-module-install install recode %{_sysconfdir}/php.ini
1660 if [ "$1" = "0" ]; then
1661 %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
1665 %{_sbindir}/php-module-install install session %{_sysconfdir}/php.ini
1668 if [ "$1" = "0" ]; then
1669 %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
1672 %if %{?_without_snmp:0}%{!?_without_snmp:1}
1674 %{_sbindir}/php-module-install install snmp %{_sysconfdir}/php.ini
1677 if [ "$1" = "0" ]; then
1678 %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
1683 %{_sbindir}/php-module-install install sockets %{_sysconfdir}/php.ini
1686 if [ "$1" = "0" ]; then
1687 %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
1691 %{_sbindir}/php-module-install install sysvsem %{_sysconfdir}/php.ini
1694 if [ "$1" = "0" ]; then
1695 %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
1699 %{_sbindir}/php-module-install install sysvshm %{_sysconfdir}/php.ini
1702 if [ "$1" = "0" ]; then
1703 %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
1707 %{_sbindir}/php-module-install install xml %{_sysconfdir}/php.ini
1710 if [ "$1" = "0" ]; then
1711 %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
1715 %{_sbindir}/php-module-install install yp %{_sysconfdir}/php.ini
1718 if [ "$1" = "0" ]; then
1719 %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
1723 %{_sbindir}/php-module-install install zlib %{_sysconfdir}/php.ini
1726 if [ "$1" = "0" ]; then
1727 %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
1731 %{_sbindir}/php-module-install install curl %{_sysconfdir}/php.ini
1734 if [ "$1" = "0" ]; then
1735 %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
1739 %{_sbindir}/php-module-install install ming %{_sysconfdir}/php.ini
1742 if [ "$1" = "0" ]; then
1743 %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
1746 %if %{?_with_xslt:1}%{!?_with_xslt:0}
1748 %{_sbindir}/php-module-install install xslt %{_sysconfdir}/php.ini
1751 if [ "$1" = "0" ]; then
1752 %{_sbindir}/php-module-install remove xslt %{_sysconfdir}/php.ini
1756 %if %{?_with_wddx:1}%{!?_with_wddx:0}
1758 %{_sbindir}/php-module-install install wddx %{_sysconfdir}/php.ini
1761 if [ "$1" = "0" ]; then
1762 %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
1766 %if %{?_with_libcpdf:1}%{!?_with_libcpdf:0}
1768 %{_sbindir}/php-module-install install libcpdf %{_sysconfdir}/php.ini
1771 if [ "$1" = "0" ]; then
1772 %{_sbindir}/php-module-install remove libcpdf %{_sysconfdir}/php.ini
1777 %defattr(644,root,root,755)
1778 %attr(755,root,root) %{_libdir}/apache/libphp4.so
1781 %defattr(644,root,root,755)
1782 %attr(755,root,root) %{_bindir}/php
1785 %defattr(644,root,root,755)
1786 %doc {CODING_STANDARDS,CREDITS,Zend/ZEND_CHANGES}.gz
1787 %doc {LICENSE,Zend/LICENSE,EXTENSIONS,NEWS,TODO*}.gz
1788 %doc {README.EXT_SKEL,README.SELF-CONTAINED-EXTENSIONS}.gz
1791 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
1795 %attr(755,root,root) %{_sbindir}/*
1797 %attr(755,root,root) %{_libdir}/libphp_common*.so.*.*.*
1799 %dir %{extensionsdir}
1802 %defattr(644,root,root,755)
1804 %{_libdir}/php/build
1805 %attr(755,root,root) %{_bindir}/phpextdist
1806 %attr(755,root,root) %{_bindir}/phpize
1807 %attr(755,root,root) %{_bindir}/php-config
1810 %defattr(644,root,root,755)
1811 %attr(755,root,root) %{extensionsdir}/domxml.so
1814 %defattr(644,root,root,755)
1815 %attr(755,root,root) %{_bindir}/pear
1819 %defattr(644,root,root,755)
1820 %attr(755,root,root) %{extensionsdir}/mysql.so
1823 %defattr(644,root,root,755)
1824 %attr(755,root,root) %{extensionsdir}/libpdf_php.so
1827 %defattr(644,root,root,755)
1828 %attr(755,root,root) %{extensionsdir}/pgsql.so
1830 %if %{?_with_oracle:1}%{!?_with_oracle:0}
1832 %defattr(644,root,root,755)
1833 %attr(755,root,root) %{extensionsdir}/oracle.so
1836 %if %{?_with_oci8:1}%{!?_with_oci8:0}
1838 %defattr(644,root,root,755)
1839 %attr(755,root,root) %{extensionsdir}/oci8.so
1843 %defattr(644,root,root,755)
1844 %attr(755,root,root) %{extensionsdir}/gd.so
1848 #%defattr(644,root,root,755)
1849 #%attr(755,root,root) %{extensionsdir}/xml.so
1852 %defattr(644,root,root,755)
1853 %attr(755,root,root) %{extensionsdir}/dba.so
1856 %defattr(644,root,root,755)
1857 %attr(755,root,root) %{extensionsdir}/dbase.so
1860 %defattr(644,root,root,755)
1861 %attr(755,root,root) %{extensionsdir}/filepro.so
1864 %defattr(644,root,root,755)
1865 %attr(755,root,root) %{extensionsdir}/pcre.so
1868 %defattr(644,root,root,755)
1869 %attr(755,root,root) %{extensionsdir}/posix.so
1872 %defattr(644,root,root,755)
1873 %attr(755,root,root) %{extensionsdir}/sysvsem.so
1876 %defattr(644,root,root,755)
1877 %attr(755,root,root) %{extensionsdir}/sysvshm.so
1880 %defattr(644,root,root,755)
1881 %attr(755,root,root) %{extensionsdir}/yp.so
1884 %defattr(644,root,root,755)
1885 %attr(755,root,root) %{extensionsdir}/calendar.so
1888 %defattr(644,root,root,755)
1889 %attr(755,root,root) %{extensionsdir}/bcmath.so
1892 %defattr(644,root,root,755)
1893 %attr(755,root,root) %{extensionsdir}/ftp.so
1896 %defattr(644,root,root,755)
1897 %attr(755,root,root) %{extensionsdir}/zlib.so
1900 %defattr(644,root,root,755)
1901 %attr(755,root,root) %{extensionsdir}/exif.so
1904 %defattr(644,root,root,755)
1905 %attr(755,root,root) %{extensionsdir}/recode.so
1908 #%defattr(644,root,root,755)
1909 #%attr(755,root,root) %{extensionsdir}/session.so
1912 %defattr(644,root,root,755)
1913 %attr(755,root,root) %{extensionsdir}/gettext.so
1915 %if %{?_without_imap:0}%{!?_without_imap:1}
1917 %defattr(644,root,root,755)
1918 %attr(755,root,root) %{extensionsdir}/imap.so
1921 %if %{?_without_snmp:0}%{!?_without_snmp:1}
1923 %defattr(644,root,root,755)
1924 %attr(755,root,root) %{extensionsdir}/snmp.so
1927 %if %{?_with_java:1}%{!?_with_java:0}
1929 %defattr(644,root,root,755)
1930 %attr(755,root,root) %{extensionsdir}/libphp_java.so
1933 %if %{?_without_ldap:0}%{!?_without_ldap:1}
1935 %defattr(644,root,root,755)
1936 %attr(755,root,root) %{extensionsdir}/ldap.*
1940 %defattr(644,root,root,755)
1941 %attr(755,root,root) %{extensionsdir}/sockets.so
1944 %defattr(644,root,root,755)
1945 %attr(755,root,root) %{extensionsdir}/mcrypt.so
1948 %defattr(644,root,root,755)
1949 %attr(755,root,root) %{extensionsdir}/mhash.so
1951 %if %{?_without_odbc:0}%{!?_without_odbc:1}
1953 %defattr(644,root,root,755)
1954 %attr(755,root,root) %{extensionsdir}/odbc.so
1958 %defattr(644,root,root,755)
1962 %defattr(644,root,root,755)
1963 %attr(755,root,root) %{extensionsdir}/curl.so
1966 %defattr(644,root,root,755)
1967 %attr(755,root,root) %{extensionsdir}/ming.so
1969 %if %{?_with_xslt:1}%{!?_with_xslt:0}
1971 %defattr(644,root,root,755)
1972 %attr(755,root,root) %{extensionsdir}/xslt.so
1975 %if %{?_with_wddx:1}%{!?_with_wddx:0}
1977 %defattr(644,root,root,755)
1978 %attr(755,root,root) %{extensionsdir}/wddx.so
1981 %if %{?_with_libcpdf:1}%{!?_with_libcpdf:0}
1983 %defattr(644,root,root,755)
1984 %attr(755,root,root) %{extensionsdir}/cpdf.so