2 # Do NOT build openssl as shared module or
3 # fsockopen('tls://host',...) will not work!
6 # - make additional headers added by mail patch configurable
7 # - too many unneccessary libs:
8 # - php4-common-4.4.0-14 marks heimdal-libs-0.7.1-1 (cap heimdal-libs)
9 # heimdal-libs-0.7.1-1 marks openldap-libs-2.2.29-1 (cap liblber-2.2.so.7()(64bit))
10 # openldap-libs-2.2.29-1 marks cyrus-sasl-2.1.21-3 (cap cyrus-sasl)
11 # php5-common doesn't have such deps
12 # - php4-cli pulls: libltdl
13 # - above is caused by openssl linked in statically as openssl links with kerberos
16 %bcond_with db3 # use db3 packages instead of db (4.x) for Berkeley DB support
17 %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary lib)
18 %bcond_with hardening # build with hardening patch applied (http://www.hardened-php.net/)
19 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
20 %bcond_with java # with Java extension module (BR: jdk)
21 %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
22 %bcond_with oracle # with oracle extension module (BR: proprietary libs)
23 %bcond_without cpdf # without cpdf extension module
24 %bcond_without curl # without CURL extension module
25 %bcond_without domxslt # without DOM XSLT/EXSLT support in DOM XML extension module
26 %bcond_without fribidi # without FriBiDi extension module
27 %bcond_without imap # without IMAP extension module
28 %bcond_without interbase # without InterBase extension module
29 %bcond_without ldap # without LDAP extension module
30 %bcond_without mhash # without mhash extension module
31 %bcond_without ming # without ming extension module
32 %bcond_without mm # without mm support for session storage
33 %bcond_without mnogosearch # without mnogosearch extension module
34 %bcond_without msession # without msession extension module
35 %bcond_without mssql # without MS SQL extension module
36 %bcond_without odbc # without ODBC extension module
37 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
38 %bcond_without pcre # without PCRE extension module
39 %bcond_without pdf # without PDF extension module
40 %bcond_without pgsql # without PostgreSQL extension module
41 %bcond_without pspell # without pspell extension module
42 %bcond_without qtdom # without Qt DOM extension module
43 %bcond_without recode # without recode extension module
44 %bcond_without snmp # without SNMP extension module
45 %bcond_without sybase # without Sybase and Sybase-CT extension modules
46 %bcond_without wddx # without WDDX extension module
47 %bcond_without xml # without XML and DOMXML extension modules
48 %bcond_without xmlrpc # without XML-RPC extension module
49 %bcond_without xslt # without XSLT extension module
50 %bcond_without yaz # without YAZ extension module
51 %bcond_without apache1 # disable building apache 1.3.x module
52 %bcond_without apache2 # disable building apache 2.x module
53 %bcond_without fcgi # disable building FCGI SAPI
54 %bcond_without zts # disable experimental-zts
55 %bcond_with versioning # build with experimental versioning (to load php4/php5 into same apache)
57 %define apxs1 /usr/sbin/apxs1
58 %define apxs2 /usr/sbin/apxs
60 # mm is not thread safe
61 # ext/session/mod_mm.c:37:3: #error mm is not thread-safe
66 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha
67 %undefine with_interbase
72 %undefine with_msession
76 Summary: PHP: Hypertext Preprocessor
77 Summary(fr): Le langage de script embarque-HTML PHP
78 Summary(pl): Jêzyk skryptowy PHP
79 Summary(pt_BR): A linguagem de script PHP
80 Summary(ru): PHP ÷ÅÒÓÉÉ 4 - ÑÚÙË ÐÒÅÐÒÏÃÅÓÓÉÒÏ×ÁÎÉÑ HTML-ÆÁÊÌÏ×, ×ÙÐÏÌÎÑÅÍÙÊ ÎÁ ÓÅÒ×ÅÒÅ
81 Summary(uk): PHP ÷ÅÒÓ¦§ 4 - ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
84 Release: %{_rel}%{?with_hardening:hardened}
88 Source0: http://www.php.net/distributions/php-%{version}.tar.bz2
89 # Source0-md5: bc6fa8908e2ac36e93bab9f7d42cda3a
91 Source3: %{name}-mod_php.conf
92 Source4: %{name}-cgi-fcgi.ini
93 Source5: %{name}-cgi.ini
94 Source6: %{name}-apache.ini
95 Source7: %{name}-cli.ini
96 Source8: http://www.hardened-php.net/hardening-patch-4.4.0-0.4.3.patch.gz
97 # Source8-md5: 6eac3c5c5a7473c68a043c7657298f48
98 Patch0: %{name}-shared.patch
99 Patch1: %{name}-pldlogo.patch
100 Patch2: %{name}-xml-expat-fix.patch
101 Patch3: %{name}-mail.patch
102 Patch4: %{name}-link-libs.patch
103 Patch5: %{name}-libpq_fs_h_path.patch
104 Patch6: %{name}-wddx-fix.patch
105 Patch7: %{name}-lib.patch
106 Patch8: %{name}-hyperwave-fix.patch
107 Patch9: %{name}-xslt-gcc33.patch
108 Patch10: %{name}-java-norpath.patch
109 Patch11: %{name}-mcal-shared-lib.patch
110 Patch12: %{name}-msession-shared-lib.patch
111 Patch13: %{name}-build_modules.patch
112 Patch14: %{name}-sapi-ini-file.patch
113 Patch15: %{name}-no-metaccld.patch
114 Patch16: %{name}-session-unregister.patch
115 Patch17: %{name}-ini.patch
116 Patch18: %{name}-acam.patch
117 Patch19: %{name}-xmlrpc-fix.patch
118 Patch20: %{name}-libtool.patch
119 Patch21: %{name}-allow-db31.patch
120 Patch22: %{name}-threads-acfix.patch
121 Patch23: %{name}-gmp.patch
122 Patch24: %{name}-qt.patch
123 Patch25: %{name}-no_pear_install.patch
124 Patch26: %{name}-zlib.patch
125 Patch27: %{name}-db-shared.patch
126 Patch28: %{name}-sybase-fix.patch
127 Patch29: %{name}-lib64.patch
128 Patch30: %{name}-mnogosearch-fix.patch
129 Patch31: %{name}-stupidapache_version.patch
130 Patch32: %{name}-gd_imagerotate_enable.patch
131 Patch33: %{name}-uint32_t.patch
132 Patch34: %{name}-install_gd_headers.patch
133 Patch35: %{name}-both-apxs.patch
134 Patch36: php-dextension.patch
135 Patch37: %{name}-zlib-for-getimagesize.patch
136 Patch38: %{name}-ini-search-path.patch
137 Patch39: %{name}-versioning.patch
138 Patch40: %{name}-linkflags-clean.patch
140 Patch41: %{name}-openssl-huge-hack.patch
141 Patch42: %{name}-apr-apu.patch
142 Patch43: %{name}-branch.diff
143 URL: http://www.php.net/
144 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
145 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
146 BuildRequires: autoconf >= 2.53
147 BuildRequires: automake >= 1.4d
149 BuildRequires: bzip2-devel
150 BuildRequires: cracklib-devel >= 2.7-15
151 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
152 BuildRequires: cyrus-sasl-devel
153 %{!?with_db3:BuildRequires: db-devel >= 4.0}
154 %{?with_db3:BuildRequires: db3-devel >= 3.1}
155 BuildRequires: elfutils-devel
156 %if %{with wddx} || %{with xml} || %{with xmlrpc}
157 BuildRequires: expat-devel
159 %{?with_fcgi:BuildRequires: fcgi-devel}
160 %{?with_fdf:BuildRequires: fdftk-devel}
162 %if %{with mssql} || %{with sybase}
163 BuildRequires: freetds-devel
165 BuildRequires: freetype-devel >= 2.0
166 %{?with_fribidi:BuildRequires: fribidi-devel >= 0.10.4}
167 BuildRequires: gd-devel >= 2.0.28-2
168 BuildRequires: gd-devel(gif)
169 BuildRequires: gdbm-devel
170 BuildRequires: gmp-devel
171 %{?with_imap:BuildRequires: heimdal-devel >= 0.7}
172 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
173 %{?with_java:BuildRequires: jdk >= 1.1}
174 %{?with_cpdf:BuildRequires: libcpdf-devel >= 2.02r1-2}
175 BuildRequires: libjpeg-devel
176 BuildRequires: libltdl-devel >= 1.4
177 BuildRequires: libmcal-devel
178 BuildRequires: libmcrypt-devel >= 2.4.4
179 BuildRequires: libpng-devel >= 1.0.8
180 BuildRequires: libtiff-devel
181 BuildRequires: libtool >= 1.4.3
182 %{?with_xml:BuildRequires: libxml2-devel >= 2.2.7}
183 %{?with_domxslt:BuildRequires: libxslt-devel >= 1.0.3}
184 %{?with_mhash:BuildRequires: mhash-devel}
185 %{?with_ming:BuildRequires: ming-devel >= 0.1.0}
186 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
187 %{?with_mnogosearch:BuildRequires: mnogosearch-devel >= 3.2.29}
188 BuildRequires: mysql-devel >= 3.23.32
189 BuildRequires: ncurses-ext-devel
190 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
191 %if %{with openssl} || %{with ldap}
192 BuildRequires: openssl-devel >= 0.9.7d
194 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
195 BuildRequires: pam-devel
196 BuildRequires: pcre-devel
197 %{?with_pdf:BuildRequires: pdflib-devel >= 4.0.0}
198 %{?with_msession:BuildRequires: phoenix-devel}
199 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
200 %{?with_pgsql:BuildRequires: postgresql-devel}
201 %{?with_qtdom:BuildRequires: qt-devel >= 2.2.0}
202 BuildRequires: readline-devel
203 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
204 BuildRequires: rpm-build >= 4.4.0
205 BuildRequires: rpmbuild(macros) >= 1.236
206 %{?with_xslt:BuildRequires: sablotron-devel >= 0.96}
207 BuildRequires: sed >= 4.0
208 BuildRequires: t1lib-devel
209 %{?with_odbc:BuildRequires: unixODBC-devel}
210 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
211 %{?with_yaz:BuildRequires: yaz-devel >= 1.9}
213 BuildRequires: zlib-devel >= 1.0.9
214 BuildRequires: zziplib-devel
216 BuildRequires: apache1-devel >= 1.3.33-2
219 BuildRequires: apache-devel >= 2.0.52-2
220 BuildRequires: apr-devel >= 1:1.0.0
221 BuildRequires: apr-util-devel >= 1:1.0.0
223 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
225 %define _sysconfdir /etc/php4
226 %define extensionsdir %{_libdir}/php4
228 # must be in sync with source. extra check ensuring that it is so is done in %%build
229 %define php_api_version 20020918
230 %define zend_module_api 20020429
231 %define zend_extension_api 20050606
232 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
233 %define php_debug %{!?debug:0}%{?debug:1}
236 PHP is an HTML-embedded scripting language. PHP attempts to make it
237 easy for developers to write dynamically generated web pages. PHP also
238 offers built-in database integration for several commercial and
239 non-commercial database management systems, so writing a
240 database-enabled web page with PHP is fairly simple. The most common
241 use of PHP coding is probably as a replacement for CGI scripts. The
242 mod_php module enables the Apache web server to understand and process
243 the embedded PHP language in web pages. This package contains php
247 PHP est un langage de script embarque dans le HTM. PHP essaye de
248 rendre simple aux developpeurs d'ecrire des pages web generees
249 dynamiquement. PHP incorpore egalement une integration avec plusieurs
250 systemes de gestion de bases de donnees commerciaux et
251 non-connerciaux, qui rent facile la creation de pages web liees avec
252 des bases de donnees. L'utilisation la plus commune de PHP est
253 probablement en remplacement de scripts CGI. Le module mod_php permet
254 au serveur web apache de comprendre et de traiter le langage PHP
255 integre dans des pages web. Ce package contient php version
259 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
260 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
261 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
262 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
263 zosta³a z jêzyków: C, Java i Perl.
265 %description -l pt_BR
266 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
267 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
268 com algumas características únicas, específicas ao PHP. O objetivo da
269 linguagem é permitir que desenvolvedores web escrevam páginas
270 dinamicamente geradas de forma rápida.
273 PHP4 - ÜÔÏ ÑÚÙË ÎÁÐÉÓÁÎÉÑ ÓËÒÉÐÔÏ×, ×ÓÔÒÁÉ×ÁÅÍÙÈ × HTML-ËÏÄ. PHP
274 ÐÒÅÄÌÁÇÁÅÔ ÉÎÔÅÒÇÒÁÃÉÀ Ó ÍÎÏÖÅÓÔ×ÏÍ óõâä, ÐÏÜÔÏÍÕ ÎÁÐÉÓÁÎÉÅ ÓËÒÉÐÔÏ×
275 ÄÌÑ ÒÁÂÏÔÙ Ó ÂÁÚÁÍÉ ÄÁÎÎÙÈ ÏÔÎÏÓÉÔÅÌØÎÏ ÐÒÏÓÔÏ. îÁÉÂÏÌÅÅ ÐÏÐÕÌÑÒÎÏÅ
276 ÉÓÐÏÌØÚÏ×ÁÎÉÅ PHP - ÚÁÍÅÎÁ ÄÌÑ CGI ÓËÒÉÐÔÏ×.
278 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÁÍÏÄÏÓÔÁÔÏÞÎÕÀ (CGI) ×ÅÒÓÉÀ ÉÎÔÅÒÐÒÅÔÁÔÏÒÁ ÑÚÙËÁ.
279 ÷Ù ÄÏÌÖÎÙ ÔÁËÖÅ ÕÓÔÁÎÏ×ÉÔØ ÐÁËÅÔ %{name}-common. åÓÌÉ ×ÁÍ ÎÕÖÅÎ
280 ÉÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache, ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ
284 PHP4 - ÃÅ ÍÏ×Á ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦×, ÝÏ ×ÂÕÄÏ×ÕÀÔØÓÑ × HTML-ËÏÄ. PHP
285 ÐÒÏÐÏÎÕ¤ ¦ÎÔÅÇÒÁæÀ Ú ÂÁÇÁÔØÍÁ óõâä, ÔÏÍÕ ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦× ÄÌÑ
286 ÒÏÂÏÔÉ Ú ÂÁÚÁÍÉ ÄÁÎÉÈ ¤ ÄÏ×Ï̦ ÐÒÏÓÔÉÍ. îÁʦÌØÛ ÐÏÐÕÌÑÒÎÅ
287 ×ÉËÏÒÉÓÔÁÎÎÑ PHP - ÚÁͦÎÁ ÄÌÑ CGI ÓËÒÉÐÔ¦×.
289 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÁÍÏÄÏÓÔÁÔÎÀ (CGI) ×ÅÒÓ¦À ¦ÎÔÅÒÐÒÅÔÁÔÏÒÁ ÍÏ×É. ÷É
290 ÍÁ¤ÔÅ ÔÁËÏÖ ×ÓÔÁÎÏ×ÉÔÉ ÐÁËÅÔ %{name}-common. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÅÎ
291 ¦ÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache, ×ÓÔÁÎÏצÔØ ÐÁËÅÔ apache-php.
293 %package -n apache1-mod_php4
294 Summary: php4 DSO module for apache 1.3.x
295 Summary(pl): Modu³ DSO (Dynamic Shared Object) php4 dla apache 1.3.x
296 Group: Development/Languages/PHP
297 Requires: %{name}-common = %{epoch}:%{version}-%{release}
298 Requires: apache1(EAPI) >= 1.3.33-2
299 Requires: apache1-mod_mime
300 Provides: webserver(php) = %{version}
301 Obsoletes: apache-mod_php < 1:4.1.1
303 # Obsolete last version when apache module was in main package
304 Obsoletes: php4 < 3:4.3.11-4.16
306 %description -n apache1-mod_php4
307 php4 as DSO module for apache 1.3.x.
309 %description -n apache1-mod_php4 -l pl
310 php4 jako modu³ DSO (Dynamic Shared Object) dla apache 1.3.x.
312 %package -n apache-mod_php4
313 Summary: php4 DSO module for apache 2.x
314 Summary(pl): Modu³ DSO (Dynamic Shared Object) php4 dla apache 2.x
315 Group: Development/Languages/PHP
316 Requires: %{name}-common = %{epoch}:%{version}-%{release}
317 Requires: apache(modules-api) = %{apache_modules_api}
318 Requires: apache-mod_mime
319 Provides: webserver(php) = %{version}
320 Obsoletes: apache-mod_php < 1:4.1.1
322 # Obsolete last version when apache module was in main package
323 Obsoletes: php4 < 3:4.3.11-4.16
325 %description -n apache-mod_php4
326 php4 as DSO module for apache 2.x.
328 %description -n apache-mod_php4 -l pl
329 php4 jako modu³ DSO (Dynamic Shared Object) dla apache 2.x.
332 Summary: php4 as FastCGI program
333 Summary(pl): php4 jako program FastCGI
334 Group: Development/Languages/PHP
335 Requires: %{name}-common = %{epoch}:%{version}-%{release}
336 Provides: php-fcgi = %{epoch}:%{version}-%{release}
337 Provides: webserver(php) = %{version}
340 php4 as FastCGI program.
342 %description fcgi -l pl
343 php4 jako program FastCGI.
346 Summary: php4 as CGI program
347 Summary(pl): php4 jako program CGI
348 Group: Development/Languages/PHP
349 Requires: %{name}-common = %{epoch}:%{version}-%{release}
350 Provides: php-cgi = %{epoch}:%{version}-%{release}
355 %description cgi -l pl
356 php4 jako program CGI.
359 Summary: php4 as CLI interpreter
360 Summary(pl): php4 jako interpreter dzia³aj±cy z linii poleceñ
361 Group: Development/Languages/PHP
362 Requires: %{name}-common = %{epoch}:%{version}-%{release}
363 Provides: php-cli = %{epoch}:%{version}-%{release}
366 php4 as CLI interpreter.
368 %description cli -l pl
369 php4 jako interpreter dzia³aj±cy z linii poleceñ.
372 Summary: /usr/bin/php symlink
373 Summary(pl): Dowi±zanie symboliczne /usr/bin/php
374 Group: Development/Languages/PHP
375 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
376 Obsoletes: /usr/bin/php
379 Package providing /usr/bin/php symlink to PHP CLI.
381 %description program -l pl
382 Pakiet dostarczaj±cy dowi±zanie symboliczne /usr/bin/php do PHP CLI.
385 Summary: Common files needed by all PHP SAPIs
386 Summary(pl): Wspólne pliki dla modu³u apache'a i programu CGI
387 Summary(ru): òÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ php
388 Summary(uk): â¦Â̦ÏÔÅËÉ ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÄÌÑ php
390 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
391 Requires(triggerun): sed >= 4.0
392 Requires: glibc >= 6:2.3.5
394 Provides: php(modules_api) = %{php_api_version}
395 Provides: php(openssl)
396 Provides: php(session)
397 Provides: php(standard)
398 Provides: php(zend_extension_api) = %{zend_extension_api}
399 Provides: php(zend_module_api) = %{zend_module_api}
400 Provides: php-common = %{epoch}:%{version}-%{release}
401 Provides: php4(debug) = %{php_debug}
402 Provides: php4(thread-safety) = %{zend_zts}
403 Obsoletes: php-session < 3:4.2.1-2
404 Obsoletes: php4-openssl < 3:4.4.0-4
405 # for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
406 Conflicts: rpm < 4.4.2-0.2
409 Common files needed by all PHP SAPIs.
411 %description common -l pl
412 Wspólne pliki dla modu³u apacha i programu CGI.
414 %description common -l ru
415 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÏÂÝÉÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÎÙÈ ×ÁÒÉÁÎÔÏ× ÒÅÁÌÉÚÁÃÉÉ PHP
416 (ÓÁÍÏÄÏÓÔÁÔÏÞÎÏÊ É × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache).
418 %description common -l uk
419 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓЦÌØΦ ÆÁÊÌÉ ÄÌÑ Ò¦ÚÎÉÈ ×ÁÒ¦ÁÎÔ¦× ÒÅÁ̦ÚÁæ§ PHP
420 (ÓÁÍÏÄÏÓÔÁÔÎØϧ ÔÁ × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache).
423 Summary: Files for PHP modules development
424 Summary(pl): Pliki do kompilacji modu³ów PHP
425 Summary(pt_BR): Arquivos de desenvolvimento para PHP
426 Summary(ru): ðÁËÅÔ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÏÓÔÒÏÅÎÉÑ ÒÁÓÛÉÒÅÎÉÊ PHP
427 Summary(uk): ðÁËÅÔ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÏÂÕÄÏ×É ÒÏÚÛÉÒÅÎØ PHP
428 Group: Development/Languages/PHP
429 Requires: %{name}-common = %{epoch}:%{version}-%{release}
435 The php-devel package lets you compile dynamic extensions to PHP.
436 Included here is the source for the PHP extensions. Instead of
437 recompiling the whole php4 binary to add support for, say, oracle,
438 install this package and use the new self-contained extensions
439 support. For more information, read the file
440 SELF-CONTAINED-EXTENSIONS.
442 %description devel -l pl
443 Pliki potrzebne do kompilacji modu³ów PHP.
445 %description devel -l pt_BR
446 Este pacote contém arquivos usados no desenvolvimento de programas ou
449 %description devel -l uk
450 ðÁËÅÔ php-devel ÄÁ¤ ÍÏÖÌÉצÓÔØ ËÏÍЦÌÀ×ÁÔÉ ÄÉÎÁͦÞΦ ÒÏÚÛÉÒÅÎÎÑ PHP.
451 äÏ ÐÁËÅÔÕ ×ËÌÀÞÅÎÏ ×ÉȦÄÎÉÊ ËÏÄ ÄÌÑ ÒÏÚÛÉÒÅÎØ. úÁͦÓÔØ ÐÏ×ÔÏÒÎϧ
452 ËÏÍЦÌÑæ§ ¦ÎÁÒÎÏÇÏ ÆÁÊÌÕ php4 ÄÌÑ ÄÏÄÁÎÎÑ, ÎÁÐÒÉËÌÁÄ, ЦÄÔÒÉÍËÉ
453 oracle, ×ÓÔÁÎÏצÔØ ÃÅÊ ÐÁËÅÔ ÄÌÑ ËÏÍЦÌÑæ§ ÏËÒÅÍÉÈ ÒÏÚÛÉÒÅÎØ.
454 äÅÔÁÌØΦÛÁ ¦ÎÆÏÒÍÁÃ¦Ñ - × ÆÁÊ̦ SELF-CONTAINED-EXTENSIONS.
456 %description devel -l ru
457 ðÁËÅÔ php-devel ÄÁÅÔ ×ÏÚÍÏÖÎÏÓÔØ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÄÉÎÁÍÉÞÅÓËÉÅ ÒÁÓÛÉÒÅÎÉÑ
458 PHP. ðÁËÅÔ ×ËÌÀÞÁÅÔ ÉÓÈÏÄÎÙÊ ËÏÄ ÜÔÉÈ ÒÁÓÛÉÒÅÎÉÊ. ÷ÍÅÓÔÏ ÐÏ×ÔÏÒÎÏÊ
459 ËÏÍÐÉÌÑÃÉÉ ÂÉÎÁÒÎÏÇÏ ÆÁÊÌÁ php4 ÄÌÑ ÄÏÂÁ×ÌÅÎÉÑ, ÎÁÐÒÉÍÅÒ, ÐÏÄÄÅÒÖËÉ
460 oracle, ÕÓÔÁÎÏ×ÉÔÅ ÜÔÏÔ ÐÁËÅÔ ÄÌÑ ËÏÍÐÉÌÉÒÏ×ÁÎÉÑ ÏÔÄÅÌØÎÙÈ ÒÁÓÛÉÒÅÎÉÊ.
461 ðÏÄÒÏÂÎÏÓÔÉ - × ÆÁÊÌÅ SELF-CONTAINED-EXTENSIONS.
464 Summary: bcmath extension module for PHP
465 Summary(pl): Modu³ bcmath dla PHP
467 Requires: %{name}-common = %{epoch}:%{version}-%{release}
468 Provides: php(bcmath)
471 This is a dynamic shared object (DSO) for PHP that will add bc style
472 precision math functions support.
474 %description bcmath -l pl
475 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
476 matematycznych takich jak w programie bc.
479 Summary: Bzip2 extension module for PHP
480 Summary(pl): Modu³ bzip2 dla PHP
482 Requires: %{name}-common = %{epoch}:%{version}-%{release}
486 This is a dynamic shared object (DSO) for PHP that will add bzip2
487 compression support to PHP.
489 %description bzip2 -l pl
490 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji bzip2.
493 Summary: Calendar extension module for PHP
494 Summary(pl): Modu³ funkcji kalendarza dla PHP
496 Requires: %{name}-common = %{epoch}:%{version}-%{release}
497 Provides: php(calendar)
499 %description calendar
500 This is a dynamic shared object (DSO) for PHP that will add calendar
503 %description calendar -l pl
504 Modu³ PHP dodaj±cy wsparcie dla kalendarza.
507 Summary: cpdf extension module for PHP
508 Summary(pl): Modu³ cpdf dla PHP
510 Requires: %{name}-common = %{epoch}:%{version}-%{release}
514 This is a dynamic shared object (DSO) for PHP that will add PDF
515 support through libcpdf library.
517 %description cpdf -l pl
518 Modu³ PHP dodaj±cy obs³ugê plików PDF poprzez bibliotekê libcpdf.
521 Summary: crack extension module for PHP
522 Summary(pl): Modu³ crack dla PHP
524 Requires: %{name}-common = %{epoch}:%{version}-%{release}
528 This is a dynamic shared object (DSO) for PHP that will add cracklib
531 Warning: this is an experimental module.
533 %description crack -l pl
534 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki cracklib.
536 Uwaga: to jest modu³ eksperymentalny.
539 Summary: ctype extension module for PHP
540 Summary(pl): Modu³ ctype dla PHP
542 Requires: %{name}-common = %{epoch}:%{version}-%{release}
546 This is a dynamic shared object (DSO) for PHP that will add ctype
549 %description ctype -l pl
550 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
553 Summary: curl extension module for PHP
554 Summary(pl): Modu³ curl dla PHP
556 Requires: %{name}-common = %{epoch}:%{version}-%{release}
560 This is a dynamic shared object (DSO) for PHP that will add curl
563 %description curl -l pl
564 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
567 Summary: Old xDBM extension module for PHP
568 Summary(pl): Modu³ xDBM dla PHP
570 Requires: %{name}-common = %{epoch}:%{version}-%{release}
574 This is an old dynamic shared object (DSO) for PHP that will add DBM
577 Warning: this module is deprecated and does not support database
578 locking correctly. Please use DBA extension which is a fully
579 operational superset.
581 %description db -l pl
582 Stary modu³ PHP dodaj±cy obs³ugê baz danych DBM.
584 Uwaga: ten modu³ jest przestarza³y i nie obs³uguje poprawnie
585 blokowania bazy danych. Zamiast niego lepiej u¿ywaæ rozszerzenia DBA,
586 które obs³uguje nadzbiór funkcjonalno¶ci tego modu³u.
589 Summary: DBA extension module for PHP
590 Summary(pl): Modu³ DBA dla PHP
592 Requires: %{name}-common = %{epoch}:%{version}-%{release}
596 This is a dynamic shared object (DSO) for PHP that will add flat-file
597 databases (DBA) support.
599 %description dba -l pl
600 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych opartych na plikach
604 Summary: DBase extension module for PHP
605 Summary(pl): Modu³ DBase dla PHP
607 Requires: %{name}-common = %{epoch}:%{version}-%{release}
611 This is a dynamic shared object (DSO) for PHP that will add DBase
614 %description dbase -l pl
615 Modu³ PHP ze wsparciem dla DBase.
618 Summary: DBX extension module for PHP
619 Summary(pl): Modu³ DBX dla PHP
621 Requires: %{name}-common = %{epoch}:%{version}-%{release}
625 This is a dynamic shared object (DSO) for PHP that will add DB
626 abstraction layer. DBX supports odbc, mysql, pgsql, mssql, fbsql and
629 %description dbx -l pl
630 Modu³ PHP dodaj±cy warstwê abstrakcji do obs³ugi baz danych. DBX
631 obs³uguje bazy odbc, mysql, pgsql, mssql, fbsql i inne.
634 Summary: Direct I/O extension module for PHP
635 Summary(pl): Modu³ Direct I/O dla PHP
637 Requires: %{name}-common = %{epoch}:%{version}-%{release}
641 This is a dynamic shared object (DSO) for PHP that will add direct
644 %description dio -l pl
645 Modu³ PHP dodaj±cy obs³ugê bezpo¶rednich operacji I/O na plikach.
648 Summary: DOM XML extension module for PHP
649 Summary(pl): Modu³ DOM XML dla PHP
651 Requires: %{name}-common = %{epoch}:%{version}-%{release}
652 Provides: php(domxml)
655 This is a dynamic shared object (DSO) for PHP that will add DOM XML
658 Warning: this is an experimental module.
660 %description domxml -l pl
661 Modu³ PHP dodaj±cy obs³ugê DOM XML.
663 Uwaga: to jest modu³ eksperymentalny.
666 Summary: exif extension module for PHP
667 Summary(pl): Modu³ exif dla PHP
669 Requires: %{name}-common = %{epoch}:%{version}-%{release}
673 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
674 support in image files.
676 %description exif -l pl
677 Modu³ PHP dodaj±cy obs³ugê znaczników EXIF w plikach obrazków.
680 Summary: FDF extension module for PHP
681 Summary(pl): Modu³ FDF dla PHP
683 Requires: %{name}-common = %{epoch}:%{version}-%{release}
687 This PHP module adds support for PDF Forms through Adobe FDFTK
690 %description fdf -l pl
691 Modu³ PHP dodaj±cy obs³ugê formularzy PDF poprzez bibliotekê Adobe
695 Summary: filePro extension module for PHP
696 Summary(pl): Modu³ filePro dla PHP
698 Requires: %{name}-common = %{epoch}:%{version}-%{release}
699 Provides: php(filepro)
702 This is a dynamic shared object (DSO) for PHP that will add support
703 for read-only access to filePro databases.
705 %description filepro -l pl
706 Modu³ PHP dodaj±cy mo¿liwo¶æ dostêpu (tylko do odczytu) do baz danych
710 Summary: FriBiDi extension module for PHP
711 Summary(pl): Modu³e FriBiDi dla PHP
713 Requires: %{name}-common = %{epoch}:%{version}-%{release}
714 Provides: php(fribidi)
717 This extension is basically a wrapper for the FriBidi implementation
718 of the Unicode Bidi algorithm. The need for such an algorithm rises
719 from the bidirectional language usage done by applications.
720 Arabic/Hebrew embedded within English is such a case.
722 %description fribidi -l pl
723 To rozszerzenie to g³ównie interfejs do implementacji FriBiDi
724 algorytmu Unicode Bidi. Taki algorytm jest potrzebny w przypadku
725 u¿ywania dwukierunkowego pisma w aplikacjach - na przyk³ad przy
726 tek¶cie arabskim lub hebrajskim osadzonym wewn±trz angielskiego.
729 Summary: FTP extension module for PHP
730 Summary(pl): Modu³ FTP dla PHP
732 Requires: %{name}-common = %{epoch}:%{version}-%{release}
736 This is a dynamic shared object (DSO) for PHP that will add FTP
739 %description ftp -l pl
740 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
743 Summary: GD extension module for PHP
744 Summary(pl): Modu³ GD dla PHP
746 Requires: %{name}-common = %{epoch}:%{version}-%{release}
747 Requires: gd >= 2.0.28-2
752 This is a dynamic shared object (DSO) for PHP that will add GD
753 support, allowing you to create and manipulate images with PHP.
755 %description gd -l pl
756 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD, pozwalaj±cej na
757 tworzenie i obróbkê obrazków.
760 Summary: gettext extension module for PHP
761 Summary(pl): Modu³ gettext dla PHP
763 Requires: %{name}-common = %{epoch}:%{version}-%{release}
764 Provides: php(gettext)
767 This is a dynamic shared object (DSO) for PHP that will add gettext
770 %description gettext -l pl
771 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
774 Summary: gmp extension module for PHP
775 Summary(pl): Modu³ gmp dla PHP
777 Requires: %{name}-common = %{epoch}:%{version}-%{release}
781 This is a dynamic shared object (DSO) for PHP that will add arbitrary
782 length number support with GNU MP library.
784 %description gmp -l pl
785 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki gmp do obliczeñ na
786 liczbach o dowolnej d³ugo¶ci.
789 Summary: Hyperwave extension module for PHP
790 Summary(pl): Modu³ Hyperwave dla PHP
792 Requires: %{name}-common = %{epoch}:%{version}-%{release}
793 Provides: php(hyperwave)
795 %description hyperwave
796 This is a dynamic shared object (DSO) for PHP that will add Hyperwave
799 %description hyperwave -l pl
800 Modu³ PHP dodaj±cy obs³ugê Hyperwave.
803 Summary: iconv extension module for PHP
804 Summary(pl): Modu³ iconv dla PHP
806 Requires: %{name}-common = %{epoch}:%{version}-%{release}
810 This is a dynamic shared object (DSO) for PHP that will add iconv
813 %description iconv -l pl
814 Modu³ PHP dodaj±cy obs³ugê iconv.
817 Summary: IMAP extension module for PHP
818 Summary(pl): Modu³ IMAP dla PHP
819 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
821 Requires: %{name}-common = %{epoch}:%{version}-%{release}
825 This is a dynamic shared object (DSO) for PHP that will add IMAP
828 %description imap -l pl
829 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
831 %description imap -l pt_BR
832 Um módulo para aplicações PHP que usam IMAP.
835 Summary: InterBase/Firebird database module for PHP
836 Summary(pl): Modu³ bazy danych InterBase/Firebird dla PHP
838 Requires: %{name}-common = %{epoch}:%{version}-%{release}
839 Provides: php(interbase)
840 %{?with_interbase_inst:Autoreq: false}
842 %description interbase
843 This is a dynamic shared object (DSO) for PHP that will add InterBase
844 and Firebird database support.
846 %description interbase -l pl
847 Modu³ PHP umo¿liwiaj±cy dostêp do baz danych InterBase i Firebird.
850 Summary: Java extension module for PHP
851 Summary(pl): Modu³ Javy dla PHP
853 Requires: %{name}-common = %{epoch}:%{version}-%{release}
857 This is a dynamic shared object (DSO) for PHP that will add Java
858 support to PHP. This extension provides a simple and effective means
859 for creating and invoking methods on Java objects from PHP.
861 Note: it requires setting LD_LIBRARY_PATH to JRE directories
862 containing JVM libraries (e.g. libjava.so, libverify.so and libjvm.so
863 for Sun's JRE) before starting Apache or PHP interpreter.
865 %description java -l pl
866 Modu³ PHP dodaj±cy wsparcie dla Javy. Umo¿liwia odwo³ywanie siê do
867 obiektów Javy z poziomu PHP.
869 Uwaga: modu³ wymaga ustawienia LD_LIBRARY_PATH na katalogi JRE
870 zawieraj±ce biblioteki JVM (np. libjava.so, libverify.so i libjvm.so
871 dla JRE Suna) przed uruchomieniem Apache'a lub interpretera PHP.
874 Summary: LDAP extension module for PHP
875 Summary(pl): Modu³ LDAP dla PHP
876 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
878 Requires: %{name}-common = %{epoch}:%{version}-%{release}
882 This is a dynamic shared object (DSO) for PHP that will add LDAP
885 %description ldap -l pl
886 Modu³ PHP dodaj±cy obs³ugê LDAP.
888 %description ldap -l pt_BR
889 Um módulo para aplicações PHP que usam LDAP.
892 Summary: mbstring extension module for PHP
893 Summary(pl): Modu³ mbstring dla PHP
895 Requires: %{name}-common = %{epoch}:%{version}-%{release}
896 Provides: php(mbstring)
898 %description mbstring
899 This is a dynamic shared object (DSO) for PHP that will add multibyte
902 %description mbstring -l pl
903 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
906 Summary: mcal extension module for PHP
907 Summary(pl): Modu³ mcal dla PHP
909 Requires: %{name}-common = %{epoch}:%{version}-%{release}
913 This is a dynamic shared object (DSO) for PHP that will add mcal
914 (Modular Calendar Access Library) support.
916 %description mcal -l pl
917 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki mcal (daj±cej dostêp
921 Summary: mcrypt extension module for PHP
922 Summary(pl): Modu³ mcrypt dla PHP
924 Requires: %{name}-common = %{epoch}:%{version}-%{release}
925 Provides: php(mcrypt)
928 This is a dynamic shared object (DSO) for PHP that will add mcrypt
931 %description mcrypt -l pl
932 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
935 Summary: mhash extension module for PHP
936 Summary(pl): Modu³ mhash dla PHP
938 Requires: %{name}-common = %{epoch}:%{version}-%{release}
942 This is a dynamic shared object (DSO) for PHP that will add mhash
945 %description mhash -l pl
946 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
949 Summary: mime_magic extension module for PHP
950 Summary(pl): Modu³ mime_magic dla PHP
952 Requires: %{name}-common = %{epoch}:%{version}-%{release}
953 Requires: /usr/share/file/magic.mime
954 Provides: php(mime_magic)
956 %description mime_magic
957 This PHP module adds support for MIME type lookup via file magic
958 numbers using magic.mime database.
960 %description mime_magic -l pl
961 Modu³ PHP dodaj±cy obs³ugê wyszukiwania typów MIME wed³ug magicznych
962 znaczników plików z u¿yciem bazy danych magic.mime.
965 Summary: ming extension module for PHP
966 Summary(pl): Modu³ ming dla PHP
968 Requires: %{name}-common = %{epoch}:%{version}-%{release}
972 This is a dynamic shared object (DSO) for PHP that will add ming
973 (Flash - .swf files) support.
975 %description ming -l pl
976 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
980 Summary: mnoGoSearch extension module for PHP
981 Summary(pl): Modu³ mnoGoSearch dla PHP
983 Requires: %{name}-common = %{epoch}:%{version}-%{release}
984 Provides: php(mnogosearch)
986 %description mnogosearch
987 This is a dynamic shared object (DSO) for PHP that will allow you to
988 access mnoGoSearch free search engine.
990 %description mnogosearch -l pl
991 Modu³ PHP dodaj±cy pozwalaj±cy na dostêp do wolnodostêpnego silnika
992 wyszukiwarki mnoGoSearch.
995 Summary: msession extension module for PHP
996 Summary(pl): Modu³ msession dla PHP
998 Requires: %{name}-common = %{epoch}:%{version}-%{release}
999 Provides: php(msession)
1001 %description msession
1002 This is a dynamic shared object (DSO) for PHP that will allow you to
1003 use msession. msession is a high speed session daemon which can run
1004 either locally or remotely. It is designed to provide consistent
1005 session management for a PHP web farm.
1007 %description msession -l pl
1008 Modu³ PHP dodaj±cy umo¿liwiaj±cy korzystanie z demona msession. Jest
1009 to demon szybkiej obs³ugi sesji, który mo¿e dzia³aæ lokalnie lub na
1010 innej maszynie. S³u¿y do zapewniania spójnej obs³ugi sesji dla farmy
1014 Summary: MS SQL extension module for PHP
1015 Summary(pl): Modu³ MS SQL dla PHP
1017 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1018 Provides: php(mssql)
1019 Conflicts: %{name}-sybase
1020 Conflicts: %{name}-sybase-ct
1023 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1024 databases support through FreeTDS library.
1026 %description mssql -l pl
1027 Modu³ PHP dodaj±cy obs³ugê baz danych MS SQL poprzez bibliotekê
1031 Summary: MySQL database module for PHP
1032 Summary(pl): Modu³ bazy danych MySQL dla PHP
1033 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
1035 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1036 Provides: php(mysql)
1039 This is a dynamic shared object (DSO) for PHP that will add MySQL
1042 %description mysql -l pl
1043 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
1045 %description mysql -l pt_BR
1046 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1049 Summary: ncurses module for PHP
1050 Summary(pl): Modu³ ncurses dla PHP
1052 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1053 Provides: php(ncurses)
1055 %description ncurses
1056 This PHP module adds support for ncurses functions (only for cli and
1059 %description ncurses -l pl
1060 Modu³ PHP dodaj±cy obs³ugê funkcji ncurses (tylko do SAPI cli i cgi).
1063 Summary: Oracle 8 database module for PHP
1064 Summary(pl): Modu³ bazy danych Oracle 8 dla PHP
1066 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1071 This is a dynamic shared object (DSO) for PHP that will add Oracle 7
1072 and Oracle 8 database support through Oracle8 Call-Interface (OCI8).
1074 %description oci8 -l pl
1075 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7 i Oracle 8
1076 poprzez interfejs Oracle8 Call-Interface (OCI8).
1079 Summary: ODBC extension module for PHP
1080 Summary(pl): Modu³ ODBC dla PHP
1081 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
1083 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1084 Requires: unixODBC >= 2.1.1-3
1088 This is a dynamic shared object (DSO) for PHP that will add ODBC
1091 %description odbc -l pl
1092 Modu³ PHP ze wsparciem dla ODBC.
1094 %description odbc -l pt_BR
1095 Um módulo para aplicações PHP que usam ODBC.
1098 Summary: Oracle 7 database module for PHP
1099 Summary(pl): Modu³ bazy danych Oracle 7 dla PHP
1101 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1102 Provides: php(oracle)
1106 This is a dynamic shared object (DSO) for PHP that will add Oracle 7
1109 %description oracle -l pl
1110 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7.
1113 Summary: Overload extension module for PHP
1114 Summary(pl): Modu³ Overload dla PHP
1116 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1117 Provides: php(overload)
1119 %description overload
1120 This is a dynamic shared object (DSO) for PHP that will add user-space
1121 object overloading support.
1123 Warning: this is an experimental module.
1125 %description overload -l pl
1126 Modu³ PHP umo¿liwiaj±cy przeci±¿anie obiektów.
1128 Uwaga: to jest modu³ eksperymentalny.
1131 Summary: Process Control extension module for PHP
1132 Summary(pl): Modu³ Process Control dla PHP
1134 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1135 Provides: php(pcntl)
1138 This is a dynamic shared object (DSO) for PHP that will add process
1139 spawning and control support. It supports functions like fork(),
1140 waitpid(), signal() etc.
1142 Warning: this is an experimental module. Also, don't use it in
1143 webserver environment!
1145 %description pcntl -l pl
1146 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
1147 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
1149 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
1150 u¿ywania z serwerem WWW - nie próbuj tego!
1153 Summary: PCRE extension module for PHP
1154 Summary(pl): Modu³ PCRE dla PHP
1156 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1160 This is a dynamic shared object (DSO) for PHP that will add Perl
1161 Compatible Regular Expression support.
1163 %description pcre -l pl
1164 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
1165 (Perl Compatible Regular Expressions)
1168 Summary: PDF creation module module for PHP
1169 Summary(pl): Modu³ do tworzenia plików PDF dla PHP
1171 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1175 This is a dynamic shared object (DSO) for PHP that will add PDF
1176 support through pdflib.
1178 %description pdf -l pl
1179 Modu³ PHP umo¿liwiaj±cy tworzenie plików PDF. Wykorzystuje bibliotekê
1183 Summary: PostgreSQL database module for PHP
1184 Summary(pl): Modu³ bazy danych PostgreSQL dla PHP
1186 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1187 Provides: php(pgsql)
1190 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1193 %description pgsql -l pl
1194 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
1196 %description pgsql -l pt_BR
1197 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1200 Summary: POSIX extension module for PHP
1201 Summary(pl): Modu³ POSIX dla PHP
1203 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1204 Provides: php(posix)
1207 This is a dynamic shared object (DSO) for PHP that will add POSIX
1208 functions support to PHP.
1210 %description posix -l pl
1211 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
1214 Summary: pspell extension module for PHP
1215 Summary(pl): Modu³ pspell dla PHP
1217 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1218 Provides: php(pspell)
1221 This is a dynamic shared object (DSO) for PHP that will add pspell
1222 support to PHP. It allows to check the spelling of a word and offer
1225 %description pspell -l pl
1226 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
1227 sprawdzanie pisowni s³owa i sugerowanie poprawek.
1230 Summary: Qt DOM extension module for PHP
1231 Summary(pl): Modu³ Qt DOM dla PHP
1233 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1234 Provides: php(qtdom)
1237 This PHP module adds Qt DOM functions support.
1239 %description qtdom -l pl
1240 Modu³ PHP dodaj±cy obs³ugê funkcji Qt DOM.
1243 Summary: readline extension module for PHP
1244 Summary(pl): Modu³ readline dla PHP
1246 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1247 Provides: php(readline)
1249 %description readline
1250 This PHP module adds support for readline functions (only for cli and
1253 %description readline -l pl
1254 Modu³ PHP dodaj±cy obs³ugê funkcji readline (tylko do SAPI cli i cgi).
1257 Summary: recode extension module for PHP
1258 Summary(pl): Modu³ recode dla PHP
1260 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1261 Requires: recode >= 3.5d-3
1262 Provides: php(recode)
1265 This is a dynamic shared object (DSO) for PHP that will add recode
1268 %description recode -l pl
1269 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1273 Summary: Shared Memory Operations extension module for PHP
1274 Summary(pl): Modu³ shmop dla PHP
1276 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1277 Provides: php(shmop)
1280 This is a dynamic shared object (DSO) for PHP that will add Shared
1281 Memory Operations support.
1283 Warning: this is an experimental module.
1285 %description shmop -l pl
1286 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1288 Uwaga: to jest modu³ eksperymentalny.
1291 Summary: SNMP extension module for PHP
1292 Summary(pl): Modu³ SNMP dla PHP
1294 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1298 This is a dynamic shared object (DSO) for PHP that will add SNMP
1301 %description snmp -l pl
1302 Modu³ PHP dodaj±cy obs³ugê SNMP.
1305 Summary: sockets extension module for PHP
1306 Summary(pl): Modu³ socket dla PHP
1308 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1309 Provides: php(sockets)
1311 %description sockets
1312 This is a dynamic shared object (DSO) for PHP that will add sockets
1315 Warning: this is an experimental module.
1317 %description sockets -l pl
1318 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1320 Uwaga: to jest modu³ eksperymentalny.
1323 Summary: Sybase DB extension module for PHP
1324 Summary(pl): Modu³ Sybase DB dla PHP
1326 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1327 Provides: php(sybase)
1328 Obsoletes: php4-sybase-ct
1329 Conflicts: %{name}-mssql
1332 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1333 MS SQL databases support through SYBDB library. Currently Sybase
1334 module is not maintained. Using Sybase-CT module is recommended
1337 %description sybase -l pl
1338 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1339 bibliotekê SYBDB. W chwili obecnej modu³ Sybase nie jest wspierany.
1340 Zaleca siê u¿ywanie modu³u Sybase-CT.
1343 Summary: Sybase-CT extension module for PHP
1344 Summary(pl): Modu³ Sybase-CT dla PHP
1346 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1347 Provides: php(sybase-ct)
1348 Obsoletes: php4-sybase
1349 Conflicts: %{name}-mssql
1351 %description sybase-ct
1352 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1353 MS SQL databases support through CT-lib.
1355 %description sybase-ct -l pl
1356 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1360 Summary: SysV msg extension module for PHP
1361 Summary(pl): Modu³ SysV msg dla PHP
1363 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1364 Provides: php(sysvmsg)
1366 %description sysvmsg
1367 This is a dynamic shared object (DSO) for PHP that will add SysV
1368 message queues support.
1370 %description sysvmsg -l pl
1371 Modu³ PHP umo¿liwiaj±cy korzystanie z kolejek komunikatów SysV.
1374 Summary: SysV sem extension module for PHP
1375 Summary(pl): Modu³ SysV sem dla PHP
1377 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1378 Provides: php(sysvsem)
1380 %description sysvsem
1381 This is a dynamic shared object (DSO) for PHP that will add SysV
1384 %description sysvsem -l pl
1385 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1388 Summary: SysV shm extension module for PHP
1389 Summary(pl): Modu³ SysV shm dla PHP
1391 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1392 Provides: php(sysvshm)
1394 %description sysvshm
1395 This is a dynamic shared object (DSO) for PHP that will add SysV
1396 Shared Memory support.
1398 %description sysvshm -l pl
1399 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1402 Summary: tokenizer extension module for PHP
1403 Summary(pl): Modu³ rozszerzenia tokenizer dla PHP
1405 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1406 Provides: php(tokenizer)
1408 %description tokenizer
1409 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1412 %description tokenizer -l pl
1413 Modu³ PHP dodaj±cy obs³ugê tokenizera do PHP.
1416 Summary: wddx extension module for PHP
1417 Summary(pl): Modu³ wddx dla PHP
1419 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1420 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1421 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1425 This is a dynamic shared object (DSO) for PHP that will add wddx
1428 %description wddx -l pl
1429 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1432 Summary: XML extension module for PHP
1433 Summary(pl): Modu³ XML dla PHP
1435 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1439 This is a dynamic shared object (DSO) for PHP that will add XML
1440 support. This extension lets you create XML parsers and then define
1441 handlers for different XML events.
1443 %description xml -l pl
1444 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1445 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1446 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1449 Summary: xmlrpc extension module for PHP
1450 Summary(pl): Modu³ xmlrpc dla PHP
1452 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1453 Provides: php(xmlrpc)
1456 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1459 Warning: this is an experimental module.
1461 %description xmlrpc -l pl
1462 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1464 Uwaga: to jest modu³ eksperymentalny.
1467 Summary: xslt extension module for PHP
1468 Summary(pl): Modu³ xslt dla PHP
1470 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1474 This is a dynamic shared object (DSO) for PHP that will add xslt
1477 %description xslt -l pl
1478 Modu³ PHP umo¿liwiaj±cy korzystanie z technologii xslt.
1481 Summary: yaz extension module for PHP
1482 Summary(pl): Modu³ yaz dla PHP
1484 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1485 Requires: yaz >= 1.9
1489 This is a dynamic shared object (DSO) for PHP that will add yaz
1490 support. yaz toolkit implements the Z39.50 protocol for information
1493 %description yaz -l pl
1494 Modu³ PHP umo¿liwiaj±cy korzystanie z yaz - implementacji protoko³u
1495 Z39.50 s³u¿±cego do pozyskiwania informacji.
1498 Summary: NIS (yp) extension module for PHP
1499 Summary(pl): Modu³ NIS (yp) dla PHP
1501 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1505 This is a dynamic shared object (DSO) for PHP that will add NIS
1506 (Yellow Pages) support.
1508 %description yp -l pl
1509 Modu³ PHP dodaj±cy wsparcie dla NIS (Yellow Pages).
1512 Summary: zip extension module for PHP
1513 Summary(pl): Modu³ zip dla PHP
1515 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1519 This is a dynamic shared object (DSO) for PHP that will add ZZipLib
1520 (read-only access to ZIP archives) support.
1522 %description zip -l pl
1523 Modu³ PHP umo¿liwiaj±cy korzystanie z bibliotekli ZZipLib
1524 (pozwalaj±cej na odczyt archiwów ZIP).
1527 Summary: Zlib extension module for PHP
1528 Summary(pl): Modu³ zlib dla PHP
1530 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1534 This is a dynamic shared object (DSO) for PHP that will add zlib
1535 compression support to PHP.
1537 %description zlib -l pl
1538 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1541 %setup -q -n php-%{version}
1553 # Not really needed?
1562 cp php.ini-dist php.ini
1564 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1577 %if "%{_lib}" == "lib64"
1589 %{?with_versioning:%patch39 -p1}
1590 # XXX: I believe this one is obsolete as of 4.4.3
1594 %if %{with hardening}
1595 zcat %{SOURCE8} | patch -p1
1599 if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then
1600 echo "Set %%define php_api_version to $API and rerun."
1604 if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then
1605 echo "Set %%define zend_module_api to $API and rerun."
1609 if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then
1610 echo "Set %%define zend_extension_api to $API and rerun."
1614 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1615 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1622 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1636 for sapi in $sapis; do
1637 [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1643 echo --enable-discard-path --enable-force-cgi-redirect
1649 echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect
1652 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
1653 echo --with-apxs=%{apxs1} --with-apache-version=$ver
1656 ver=%(rpm -q --qf '%%{version}' apache-apxs)
1657 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
1661 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1662 --cache-file=config.cache \
1664 --with-config-file-path=%{_sysconfdir} \
1665 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1666 --with-exec-dir=%{_bindir} \
1667 --%{!?debug:dis}%{?debug:en}able-debug \
1668 %{?with_zts:--enable-experimental-zts} \
1669 --enable-inline-optimization \
1672 --enable-bcmath=shared \
1673 --enable-calendar=shared \
1674 --enable-ctype=shared \
1675 --enable-dba=shared \
1676 --enable-dbx=shared \
1677 --enable-dio=shared \
1678 --enable-exif=shared \
1679 --enable-filepro=shared \
1680 --enable-ftp=shared \
1681 --enable-magic-quotes \
1682 --enable-mbstring=shared,all --enable-mbregex \
1683 --enable-memory-limit \
1684 --enable-overload=shared \
1685 --enable-pcntl=shared \
1686 --enable-posix=shared \
1687 %{?with_recode:--with-recode=shared} \
1688 --enable-safe-mode \
1689 --enable-session --enable-trans-sid \
1690 --enable-shmop=shared \
1691 --enable-sockets=shared \
1692 --enable-sysvmsg=shared \
1693 --enable-sysvsem=shared \
1694 --enable-sysvshm=shared \
1695 --enable-tokenizer=shared \
1696 --enable-track-vars \
1697 %{?with_wddx:--enable-wddx=shared} \
1698 %{!?with_xml:--disable-xml}%{?with_xml:--enable-xml=shared} \
1699 %{?with_xslt:--enable-xslt=shared} \
1700 --enable-yp=shared \
1702 %{?with_cpdf:--with-cpdflib=shared} \
1703 --with-crack=shared \
1704 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1705 --with-db=shared --with-db%{?with_db3:3}%{!?with_db3:4} \
1706 --with-dbase=shared \
1707 %{?with_domxslt:--with-dom-xslt=shared --with-dom-exslt=shared} \
1708 %if %{with xml} || %{with xmlrpc}
1709 --with-expat-dir=shared,/usr \
1711 --without-expat-dir \
1713 %{?with_fdf:--with-fdftk=shared} \
1714 --with-filepro=shared \
1715 --with-freetype-dir=shared \
1716 %{?with_fribidi:--with-fribidi=shared} \
1717 --with-gd=shared,/usr --enable-gd-native-ttf \
1719 --with-gettext=shared \
1721 --with-hyperwave=shared \
1722 --with-iconv=shared \
1723 %{?with_imap:--with-imap=shared --with-imap-ssl --with-kerberos} \
1724 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1725 %{?with_java:--with-java=%{_libdir}/java} \
1726 --with-jpeg-dir=/usr \
1727 %{?with_ldap:--with-ldap=shared} \
1728 --with-mcal=shared,/usr \
1729 --with-mcrypt=shared \
1730 %{?with_mhash:--with-mhash=shared} \
1731 --with-mime-magic=shared,/usr/share/file/magic.mime \
1732 %{?with_ming:--with-ming=shared} \
1733 %{!?with_mnogosearch:--without-mnogosearch}%{?with_mnogosearch:--with-mnogosearch=shared,/usr} \
1734 %{?with_msession:--with-msession=shared}%{!?with_msession:--without-msession} \
1735 %{?with_mssql:--with-mssql=shared} \
1736 --with-mysql=shared,/usr --with-mysql-sock=/var/lib/mysql/mysql.sock \
1737 --with-ncurses=shared \
1738 %{?with_oci8:--with-oci8=shared} \
1739 %{?with_odbc:--with-unixODBC=shared} \
1740 %{?with_openssl:--with-openssl} \
1741 %{?with_oracle:--with-oracle=shared} \
1742 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared,/usr} \
1743 %{?with_pdf:--with-pdflib=shared} \
1744 --with-pear=%{php_pear_dir} \
1745 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1746 --with-png-dir=/usr \
1747 %{?with_qtdom:--with-qtdom=shared} \
1748 --with-readline=shared \
1750 %{?with_snmp:--with-snmp=shared --enable-ucd-snmp-hack} \
1751 %{?with_pspell:--with-pspell=shared} \
1752 %{?with_sybase:--with-sybase-ct=shared,/usr --with-sybase=shared,/usr} \
1753 --with-t1lib=shared \
1754 --with-tiff-dir=/usr \
1755 %{?with_xml:--with-dom=shared} \
1756 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1757 %{?with_xslt:--with-xslt-sablot=shared} --without-sablot-js \
1758 %{?with_yaz:--with-yaz=shared} \
1760 --with-zlib=shared --with-zlib-dir=shared,/usr \
1762 cp -f Makefile Makefile.$sapi
1763 cp -f main/php_config.h php_config.h.$sapi
1766 # must make this first, so modules can link against it.
1767 %{__make} libphp_common.la
1768 # FIXME: needed for linking modules with libphp_common.la
1769 #libtool --mode=install cp libphp_common.la `pwd`/libs
1771 %{__make} build-modules
1774 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp4.la -f Makefile.apxs1
1778 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp4.la -f Makefile.apxs2
1783 cp -af php_config.h.fcgi main/php_config.h
1784 %{__make} sapi/cgi/php -f Makefile.fcgi
1785 cp -r sapi/cgi sapi/fcgi
1786 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1790 cp -af php_config.h.cgi main/php_config.h
1791 %{__make} sapi/cgi/php -f Makefile.cgi
1794 cp -af php_config.h.cli main/php_config.h
1795 %{__make} sapi/cli/php -f Makefile.cli
1798 rm -rf $RPM_BUILD_ROOT
1799 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}} \
1800 $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
1801 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1802 $RPM_BUILD_ROOT{/etc/apache/conf.d,/etc/httpd/httpd.conf} \
1803 $RPM_BUILD_ROOT%{_mandir}/man1
1805 # install the apache modules' files
1806 %{__make} install-headers install-build install-modules install-programs \
1807 INSTALL_ROOT=$RPM_BUILD_ROOT
1809 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1810 # fix install paths, avoid evil rpaths
1811 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
1813 # install apache1 DSO module
1815 libtool --silent --mode=install install sapi/apache/libphp4.la $RPM_BUILD_ROOT%{_libdir}/apache1
1816 rm $RPM_BUILD_ROOT%{_libdir}/apache1/libphp4.la
1819 # install apache2 DSO module
1821 libtool --silent --mode=install install sapi/apache2handler/libphp4.la $RPM_BUILD_ROOT%{_libdir}/apache
1822 rm $RPM_BUILD_ROOT%{_libdir}/apache/libphp4.la
1826 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
1829 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php4.cgi
1833 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php4.fcgi
1837 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php4.cli
1839 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php4.1
1840 ln -sf php4.cli $RPM_BUILD_ROOT%{_bindir}/php4
1841 ln -sf php4.cli $RPM_BUILD_ROOT%{_bindir}/php
1843 %{?with_java:install ext/java/php_java.jar $RPM_BUILD_ROOT%{extensionsdir}}
1845 install php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1847 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1849 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1850 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1853 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
1854 install %{SOURCE3} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php4.conf
1855 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1859 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1860 install %{SOURCE3} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php4.conf
1861 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1864 cp -f Zend/LICENSE{,.Zend}
1866 install ext/ext_skel $RPM_BUILD_ROOT%{_bindir}/php-ext_skel
1868 # Generate stub .ini files for each subpackage
1869 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1870 for so in modules/*.so; do
1871 mod=$(basename $so .so)
1872 conf="%{_sysconfdir}/conf.d/${mod}.ini"
1873 # xml needs to be loaded before wddx
1874 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_${mod}.ini"
1875 cat > $RPM_BUILD_ROOT${conf} <<EOF
1876 ; Enable ${mod} extension module
1881 # per SAPI ini directories
1882 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi,cli,cgi-fcgi,apache,apache2handler}.d
1885 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{ncurses,pcntl,readline}.ini,cli.d}
1887 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
1888 # isn't installed by install-headers make target, we do it manually here.
1889 # this header file is required by e.g. filter PECL extension
1890 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
1893 rm -rf $RPM_BUILD_ROOT
1895 %post -n apache1-mod_php4
1896 if [ "$1" = "1" ]; then
1897 %service -q apache restart
1900 %postun -n apache1-mod_php4
1901 if [ "$1" = "0" ]; then
1902 %service -q apache restart
1905 %post -n apache-mod_php4
1906 if [ "$1" = "1" ]; then
1907 %service -q httpd restart
1910 %postun -n apache-mod_php4
1911 if [ "$1" = "0" ]; then
1912 %service -q httpd restart
1915 # so tired of typing... so decided to create macros
1916 # macro called at extension post scriptlet
1917 %define extension_post \
1918 if [ "$1" = "1" ]; then \
1919 [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart \
1920 [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart \
1923 # macro called at extension postun scriptlet
1924 %define extension_postun \
1925 if [ "$1" = "0" ]; then \
1926 [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart \
1927 [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart \
1930 %post common -p /sbin/ldconfig
1931 %postun common -p /sbin/ldconfig
1934 # minimizing apache restarts logics. we restart webserver:
1936 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1937 # 2. first install of extension (post: $1 = 1)
1938 # 2. uninstall of extension (postun: $1 == 0)
1940 # the strict internal deps between extensions (and apache modules) and
1941 # common package are very important for all this to work.
1943 # restart webserver at the end of transaction
1944 [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart
1945 [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart
1948 %triggerpostun -n apache-mod_php4 -- apache-mod_php4 < 3:4.4.0-2.16, php4 < 3:4.3.11-4.16
1949 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1950 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1951 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1952 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2346 # openssl trigger on common package. it removes shared openssl module from php.ini, if it was there.
2347 %triggerun common -- %{name}-openssl < 3:4.4.0-4
2348 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2350 %triggerun bcmath -- %{name}-bcmath < 3:4.4.0-2.1
2351 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2353 %triggerun bzip2 -- %{name}-bzip2 < 3:4.4.0-2.1
2354 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bz2\.so/d' %{_sysconfdir}/php.ini
2356 %triggerun calendar -- %{name}-calendar < 3:4.4.0-2.1
2357 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2359 %triggerun cpdf -- %{name}-cpdf < 3:4.4.0-2.1
2360 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*cpdf\.so/d' %{_sysconfdir}/php.ini
2362 %triggerun crack -- %{name}-crack < 3:4.4.0-2.1
2363 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*crack\.so/d' %{_sysconfdir}/php.ini
2365 %triggerun ctype -- %{name}-ctype < 3:4.4.0-2.1
2366 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2368 %triggerun curl -- %{name}-curl < 3:4.4.0-2.1
2369 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2371 %triggerun db -- %{name}-db < 3:4.4.0-2.1
2372 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*db\.so/d' %{_sysconfdir}/php.ini
2374 %triggerun dba -- %{name}-dba < 3:4.4.0-2.1
2375 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2377 %triggerun dbase -- %{name}-dbase < 3:4.4.0-2.1
2378 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbase\.so/d' %{_sysconfdir}/php.ini
2380 %triggerun dbx -- %{name}-dbx < 3:4.4.0-2.1
2381 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbx\.so/d' %{_sysconfdir}/php.ini
2383 %triggerun dio -- %{name}-dio < 3:4.4.0-2.1
2384 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dio\.so/d' %{_sysconfdir}/php.ini
2386 %triggerun domxml -- %{name}-domxml < 3:4.4.0-2.1
2387 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*domxml\.so/d' %{_sysconfdir}/php.ini
2389 %triggerun exif -- %{name}-exif < 3:4.4.0-2.1
2390 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2392 %triggerun fdf -- %{name}-fdf < 3:4.4.0-2.1
2393 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2395 %triggerun filepro -- %{name}-filepro < 3:4.4.0-2.1
2396 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*filepro\.so/d' %{_sysconfdir}/php.ini
2398 %triggerun fribidi -- %{name}-fribidi < 3:4.4.0-2.1
2399 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fribidi\.so/d' %{_sysconfdir}/php.ini
2401 %triggerun ftp -- %{name}-ftp < 3:4.4.0-2.1
2402 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2404 %triggerun gd -- %{name}-gd < 3:4.4.0-2.1
2405 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2407 %triggerun gettext -- %{name}-gettext < 3:4.4.0-2.1
2408 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2410 %triggerun gmp -- %{name}-gmp < 3:4.4.0-2.1
2411 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2413 %triggerun hyperwave -- %{name}-hyperwave < 3:4.4.0-2.1
2414 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*hyperwave\.so/d' %{_sysconfdir}/php.ini
2416 %triggerun iconv -- %{name}-iconv < 3:4.4.0-2.1
2417 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2419 %triggerun imap -- %{name}-imap < 3:4.4.0-2.1
2420 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2422 %triggerun interbase -- %{name}-interbase < 3:4.4.0-2.1
2423 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2425 %triggerun java -- %{name}-java < 3:4.4.0-2.1
2426 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*java\.so/d' %{_sysconfdir}/php.ini
2428 %triggerun ldap -- %{name}-ldap < 3:4.4.0-2.1
2429 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2431 %triggerun mbstring -- %{name}-mbstring < 3:4.4.0-2.1
2432 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2434 %triggerun mcal -- %{name}-mcal < 3:4.4.0-2.1
2435 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcal\.so/d' %{_sysconfdir}/php.ini
2437 %triggerun mcrypt -- %{name}-mcrypt < 3:4.4.0-2.1
2438 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2440 %triggerun mhash -- %{name}-mhash < 3:4.4.0-2.1
2441 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mhash\.so/d' %{_sysconfdir}/php.ini
2443 %triggerun mime_magic -- %{name}-mime_magic < 3:4.4.0-2.1
2444 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mime_magic\.so/d' %{_sysconfdir}/php.ini
2446 %triggerun ming -- %{name}-ming < 3:4.4.0-2.1
2447 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ming\.so/d' %{_sysconfdir}/php.ini
2449 %triggerun mnogosearch -- %{name}-mnogosearch < 3:4.4.0-2.1
2450 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mnogosearch\.so/d' %{_sysconfdir}/php.ini
2452 %triggerun msession -- %{name}-msession < 3:4.4.0-2.1
2453 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*msession\.so/d' %{_sysconfdir}/php.ini
2455 %triggerun mssql -- %{name}-mssql < 3:4.4.0-2.1
2456 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2458 %triggerun mysql -- %{name}-mysql < 3:4.4.0-2.1
2459 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2461 %triggerun ncurses -- %{name}-ncurses < 3:4.4.2-9.4
2462 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2463 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cgi.ini
2465 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2466 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cli.ini
2469 %triggerun oci8 -- %{name}-oci8 < 3:4.4.0-2.1
2470 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2472 %triggerun odbc -- %{name}-odbc < 3:4.4.0-2.1
2473 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2475 %triggerun oracle -- %{name}-oracle < 3:4.4.0-2.1
2476 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oracle\.so/d' %{_sysconfdir}/php.ini
2478 %triggerun overload -- %{name}-overload < 3:4.4.0-2.1
2479 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*overload\.so/d' %{_sysconfdir}/php.ini
2481 %triggerun pcntl -- %{name}-pcntl < 3:4.4.2-9.4
2482 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2483 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2485 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2486 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2489 %triggerun pcre -- %{name}-pcre < 3:4.4.0-2.1
2490 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcre\.so/d' %{_sysconfdir}/php.ini
2492 %triggerun pdf -- %{name}-pdf < 3:4.4.0-2.1
2493 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pdf\.so/d' %{_sysconfdir}/php.ini
2495 %triggerun pgsql -- %{name}-pgsql < 3:4.4.0-2.1
2496 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2498 %triggerun posix -- %{name}-posix < 3:4.4.0-2.1
2499 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2501 %triggerun pspell -- %{name}-pspell < 3:4.4.0-2.1
2502 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2504 %triggerun qtdom -- %{name}-qtdom < 3:4.4.0-2.1
2505 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*qtdom\.so/d' %{_sysconfdir}/php.ini
2507 %triggerun readline -- %{name}-readline < 3:4.4.2-9.4
2508 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2509 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2511 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2512 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2515 %triggerun recode -- %{name}-recode < 3:4.4.0-2.1
2516 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2518 %triggerun shmop -- %{name}-shmop < 3:4.4.0-2.1
2519 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2521 %triggerun snmp -- %{name}-snmp < 3:4.4.0-2.1
2522 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2524 %triggerun sockets -- %{name}-sockets < 3:4.4.0-2.1
2525 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2527 %triggerun sybase -- %{name}-sybase < 3:4.4.0-2.1
2528 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase\.so/d' %{_sysconfdir}/php.ini
2530 %triggerun sybase-ct -- %{name}-sybase-ct < 3:4.4.0-2.1
2531 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase_ct\.so/d' %{_sysconfdir}/php.ini
2533 %triggerun sysvmsg -- %{name}-sysvmsg < 3:4.4.0-2.1
2534 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2536 %triggerun sysvsem -- %{name}-sysvsem < 3:4.4.0-2.1
2537 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2539 %triggerun sysvshm -- %{name}-sysvshm < 3:4.4.0-2.1
2540 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2542 %triggerun wddx -- %{name}-wddx < 3:4.4.0-2.1
2543 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2545 %triggerun xml -- %{name}-xml < 3:4.4.0-2.1
2546 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2548 %triggerun xmlrpc -- %{name}-xmlrpc < 3:4.4.0-2.1
2549 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2551 %triggerun xslt -- %{name}-xslt < 3:4.4.0-2.1
2552 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xslt\.so/d' %{_sysconfdir}/php.ini
2554 %triggerun yaz -- %{name}-yaz < 3:4.4.0-2.1
2555 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*yaz\.so/d' %{_sysconfdir}/php.ini
2557 %triggerun yp -- %{name}-yp < 3:4.4.0-2.1
2558 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*yp\.so/d' %{_sysconfdir}/php.ini
2560 %triggerun zip -- %{name}-zip < 3:4.4.0-2.1
2561 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zip\.so/d' %{_sysconfdir}/php.ini
2563 %triggerun zlib -- %{name}-zlib < 3:4.4.0-2.1
2564 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2567 %files -n apache1-mod_php4
2568 %defattr(644,root,root,755)
2569 %doc sapi/apache/CREDITS
2570 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php4.conf
2571 %dir %{_sysconfdir}/apache.d
2572 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2573 %attr(755,root,root) %{_libdir}/apache1/libphp4.so
2574 /home/services/apache/icons/*
2578 %files -n apache-mod_php4
2579 %defattr(644,root,root,755)
2580 %doc sapi/apache2handler/{CREDITS,README}
2581 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php4.conf
2582 %dir %{_sysconfdir}/apache2handler.d
2583 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2584 %attr(755,root,root) %{_libdir}/apache/libphp4.so
2585 /home/services/httpd/icons/*
2590 %defattr(644,root,root,755)
2591 %doc sapi/cgi/{CREDITS,README.FastCGI}
2592 %attr(755,root,root) %{_bindir}/php4.fcgi
2593 %dir %{_sysconfdir}/cgi-fcgi.d
2594 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2598 %defattr(644,root,root,755)
2599 %doc sapi/cgi/CREDITS
2600 %attr(755,root,root) %{_bindir}/php4.cgi
2601 %dir %{_sysconfdir}/cgi.d
2602 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2605 %defattr(644,root,root,755)
2606 %doc sapi/cli/{CREDITS,README}
2607 %attr(755,root,root) %{_bindir}/php4.cli
2608 %attr(755,root,root) %{_bindir}/php4
2609 %dir %{_sysconfdir}/cli.d
2610 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2611 %{_mandir}/man1/php4.1*
2614 %defattr(644,root,root,755)
2615 %attr(755,root,root) %{_bindir}/php
2618 %defattr(644,root,root,755)
2620 %doc CREDITS Zend/ZEND_CHANGES
2621 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2624 %dir %{_sysconfdir}/conf.d
2625 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2626 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2627 %dir %{extensionsdir}
2630 %defattr(644,root,root,755)
2631 %doc README.UNIX-BUILD-SYSTEM
2632 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2633 %doc CODING_STANDARDS
2634 %attr(755,root,root) %{_bindir}/phpize
2635 %attr(755,root,root) %{_bindir}/php-config
2636 %attr(755,root,root) %{_bindir}/php-ext_skel
2637 %attr(755,root,root) %{_libdir}/libphp_common.so
2638 # FIXME: how exactly this is needed? as it contains libdir for apache1 or apache2
2639 %{_libdir}/libphp_common.la
2641 %{_libdir}/php/build
2642 %{_mandir}/man1/php-config.1*
2643 %{_mandir}/man1/phpize.1*
2646 %defattr(644,root,root,755)
2647 %doc ext/bcmath/CREDITS
2648 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2649 %attr(755,root,root) %{extensionsdir}/bcmath.so
2652 %defattr(644,root,root,755)
2653 %doc ext/bz2/CREDITS
2654 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2655 %attr(755,root,root) %{extensionsdir}/bz2.so
2658 %defattr(644,root,root,755)
2659 %doc ext/calendar/CREDITS
2660 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2661 %attr(755,root,root) %{extensionsdir}/calendar.so
2665 %defattr(644,root,root,755)
2666 %doc ext/cpdf/CREDITS
2667 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/cpdf.ini
2668 %attr(755,root,root) %{extensionsdir}/cpdf.so
2672 %defattr(644,root,root,755)
2673 %doc ext/crack/CREDITS
2674 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/crack.ini
2675 %attr(755,root,root) %{extensionsdir}/crack.so
2678 %defattr(644,root,root,755)
2679 %doc ext/ctype/{CREDITS,README}
2680 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2681 %attr(755,root,root) %{extensionsdir}/ctype.so
2685 %defattr(644,root,root,755)
2686 %doc ext/curl/CREDITS
2687 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2688 %attr(755,root,root) %{extensionsdir}/curl.so
2692 %defattr(644,root,root,755)
2694 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/db.ini
2695 %attr(755,root,root) %{extensionsdir}/db.so
2698 %defattr(644,root,root,755)
2699 %doc ext/dba/{CREDITS,README}
2700 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2701 %attr(755,root,root) %{extensionsdir}/dba.so
2704 %defattr(644,root,root,755)
2705 %doc ext/dbase/CREDITS
2706 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2707 %attr(755,root,root) %{extensionsdir}/dbase.so
2710 %defattr(644,root,root,755)
2711 %doc ext/dbx/{CREDITS,howto_extend_dbx.html}
2712 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbx.ini
2713 %attr(755,root,root) %{extensionsdir}/dbx.so
2716 %defattr(644,root,root,755)
2717 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dio.ini
2718 %attr(755,root,root) %{extensionsdir}/dio.so
2722 %defattr(644,root,root,755)
2723 %doc ext/domxml/{CREDITS,TODO}
2724 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/domxml.ini
2725 %attr(755,root,root) %{extensionsdir}/domxml.so
2730 %defattr(644,root,root,755)
2731 %doc ext/fdf/CREDITS
2732 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2733 %attr(755,root,root) %{extensionsdir}/fdf.so
2737 %defattr(644,root,root,755)
2738 %doc ext/exif/CREDITS
2739 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2740 %attr(755,root,root) %{extensionsdir}/exif.so
2743 %defattr(644,root,root,755)
2744 %doc ext/filepro/CREDITS
2745 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filepro.ini
2746 %attr(755,root,root) %{extensionsdir}/filepro.so
2750 %defattr(644,root,root,755)
2751 %doc ext/fribidi/{CREDITS,README}
2752 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fribidi.ini
2753 %attr(755,root,root) %{extensionsdir}/fribidi.so
2757 %defattr(644,root,root,755)
2758 %doc ext/ftp/CREDITS
2759 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2760 %attr(755,root,root) %{extensionsdir}/ftp.so
2763 %defattr(644,root,root,755)
2765 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2766 %attr(755,root,root) %{extensionsdir}/gd.so
2769 %defattr(644,root,root,755)
2770 %doc ext/gettext/CREDITS
2771 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2772 %attr(755,root,root) %{extensionsdir}/gettext.so
2775 %defattr(644,root,root,755)
2776 %doc ext/gmp/{CREDITS,README,TODO}
2777 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2778 %attr(755,root,root) %{extensionsdir}/gmp.so
2781 %defattr(644,root,root,755)
2782 %doc ext/hyperwave/CREDITS
2783 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hyperwave.ini
2784 %attr(755,root,root) %{extensionsdir}/hyperwave.so
2787 %defattr(644,root,root,755)
2788 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2789 %attr(755,root,root) %{extensionsdir}/iconv.so
2793 %defattr(644,root,root,755)
2794 %doc ext/imap/CREDITS
2795 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2796 %attr(755,root,root) %{extensionsdir}/imap.so
2799 %if %{with interbase}
2801 %defattr(644,root,root,755)
2802 %doc ext/interbase/CREDITS
2803 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2804 %attr(755,root,root) %{extensionsdir}/interbase.so
2809 %defattr(644,root,root,755)
2810 %doc ext/java/{CREDITS,README}
2811 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/java.ini
2812 %attr(755,root,root) %{extensionsdir}/java.so
2813 %{extensionsdir}/php_java.jar
2818 %defattr(644,root,root,755)
2819 %doc ext/ldap/CREDITS
2820 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2821 %attr(755,root,root) %{extensionsdir}/ldap.so
2825 %defattr(644,root,root,755)
2826 %doc ext/mbstring/{CREDITS,README,README.libmbfl}
2827 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2828 %attr(755,root,root) %{extensionsdir}/mbstring.so
2831 %defattr(644,root,root,755)
2832 %doc ext/mcal/CREDITS
2833 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcal.ini
2834 %attr(755,root,root) %{extensionsdir}/mcal.so
2837 %defattr(644,root,root,755)
2838 %doc ext/mcrypt/{CREDITS,TODO}
2839 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2840 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2844 %defattr(644,root,root,755)
2845 %doc ext/mhash/CREDITS
2846 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2847 %attr(755,root,root) %{extensionsdir}/mhash.so
2851 %defattr(644,root,root,755)
2852 %doc ext/mime_magic/{CREDITS,TODO}
2853 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2854 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2858 %defattr(644,root,root,755)
2859 %doc ext/ming/CREDITS
2860 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2861 %attr(755,root,root) %{extensionsdir}/ming.so
2864 %if %{with mnogosearch}
2866 %defattr(644,root,root,755)
2867 %doc ext/mnogosearch/{CREDITS,README}
2868 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mnogosearch.ini
2869 %attr(755,root,root) %{extensionsdir}/mnogosearch.so
2872 %if %{with msession}
2874 %defattr(644,root,root,755)
2875 %doc ext/msession/{CREDITS,README,msession-test.php}
2876 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/msession.ini
2877 %attr(755,root,root) %{extensionsdir}/msession.so
2882 %defattr(644,root,root,755)
2883 %doc ext/mssql/CREDITS
2884 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2885 %attr(755,root,root) %{extensionsdir}/mssql.so
2889 %defattr(644,root,root,755)
2890 %doc ext/mysql/CREDITS
2891 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2892 %attr(755,root,root) %{extensionsdir}/mysql.so
2895 %defattr(644,root,root,755)
2896 %doc ext/ncurses/CREDITS
2897 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/ncurses.ini
2898 %attr(755,root,root) %{extensionsdir}/ncurses.so
2902 %defattr(644,root,root,755)
2903 %doc ext/oci8/CREDITS
2904 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2905 %attr(755,root,root) %{extensionsdir}/oci8.so
2910 %defattr(644,root,root,755)
2911 %doc ext/odbc/CREDITS
2912 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2913 %attr(755,root,root) %{extensionsdir}/odbc.so
2918 %defattr(644,root,root,755)
2919 %doc ext/oracle/CREDITS
2920 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oracle.ini
2921 %attr(755,root,root) %{extensionsdir}/oracle.so
2925 %defattr(644,root,root,755)
2926 %doc ext/overload/{CREDITS,README}
2927 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/overload.ini
2928 %attr(755,root,root) %{extensionsdir}/overload.so
2931 %defattr(644,root,root,755)
2932 %doc ext/pcntl/{CREDITS,README}
2933 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2934 %attr(755,root,root) %{extensionsdir}/pcntl.so
2938 %defattr(644,root,root,755)
2939 %doc ext/pcre/CREDITS
2940 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcre.ini
2941 %attr(755,root,root) %{extensionsdir}/pcre.so
2946 %defattr(644,root,root,755)
2947 %doc ext/pdf/CREDITS
2948 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdf.ini
2949 %attr(755,root,root) %{extensionsdir}/pdf.so
2954 %defattr(644,root,root,755)
2955 %doc ext/pgsql/{CREDITS,README}
2956 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2957 %attr(755,root,root) %{extensionsdir}/pgsql.so
2961 %defattr(644,root,root,755)
2962 %doc ext/posix/CREDITS
2963 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2964 %attr(755,root,root) %{extensionsdir}/posix.so
2968 %defattr(644,root,root,755)
2969 %doc ext/overload/{CREDITS,README}
2970 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2971 %attr(755,root,root) %{extensionsdir}/pspell.so
2976 %defattr(644,root,root,755)
2977 %doc ext/qtdom/CREDITS
2978 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/qtdom.ini
2979 %attr(755,root,root) %{extensionsdir}/qtdom.so
2983 %defattr(644,root,root,755)
2984 %doc ext/readline/{CREDITS,README.libedit}
2985 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2986 %attr(755,root,root) %{extensionsdir}/readline.so
2990 %defattr(644,root,root,755)
2991 %doc ext/recode/CREDITS
2992 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2993 %attr(755,root,root) %{extensionsdir}/recode.so
2996 # session_mm doesn't work with shared session
2998 #%defattr(644,root,root,755)
2999 #%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/session.ini
3000 #%attr(755,root,root) %{extensionsdir}/session.so
3003 %defattr(644,root,root,755)
3004 %doc ext/shmop/{CREDITS,README}
3005 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3006 %attr(755,root,root) %{extensionsdir}/shmop.so
3010 %defattr(644,root,root,755)
3011 %doc ext/snmp/CREDITS
3012 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3013 %attr(755,root,root) %{extensionsdir}/snmp.so
3017 %defattr(644,root,root,755)
3018 %doc ext/sockets/CREDITS
3019 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3020 %attr(755,root,root) %{extensionsdir}/sockets.so
3024 %defattr(644,root,root,755)
3025 %doc ext/sybase/CREDITS
3026 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
3027 %attr(755,root,root) %{extensionsdir}/sybase.so
3030 %defattr(644,root,root,755)
3031 %doc ext/sybase_ct/CREDITS
3032 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3033 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
3037 %defattr(644,root,root,755)
3038 %doc ext/sysvmsg/CREDITS
3039 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3040 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
3043 %defattr(644,root,root,755)
3044 %doc ext/sysvsem/CREDITS
3045 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3046 %attr(755,root,root) %{extensionsdir}/sysvsem.so
3049 %defattr(644,root,root,755)
3050 %doc ext/sysvshm/CREDITS
3051 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3052 %attr(755,root,root) %{extensionsdir}/sysvshm.so
3055 %defattr(644,root,root,755)
3056 %doc ext/tokenizer/{CREDITS,tokenizer.php}
3057 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3058 %attr(755,root,root) %{extensionsdir}/tokenizer.so
3062 %defattr(644,root,root,755)
3063 %doc ext/wddx/CREDITS
3064 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3065 %attr(755,root,root) %{extensionsdir}/wddx.so
3070 %defattr(644,root,root,755)
3071 %doc ext/xml/CREDITS
3072 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3073 %attr(755,root,root) %{extensionsdir}/xml.so
3078 %defattr(644,root,root,755)
3079 %doc ext/xmlrpc/CREDITS
3080 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3081 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
3086 %defattr(644,root,root,755)
3087 %doc ext/xslt/{README.XSLT-BACKENDS,TODO}
3088 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xslt.ini
3089 %attr(755,root,root) %{extensionsdir}/xslt.so
3094 %defattr(644,root,root,755)
3095 %doc ext/yaz/{CREDITS,README}
3096 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/yaz.ini
3097 %attr(755,root,root) %{extensionsdir}/yaz.so
3101 %defattr(644,root,root,755)
3103 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/yp.ini
3104 %attr(755,root,root) %{extensionsdir}/yp.so
3107 %defattr(644,root,root,755)
3108 %doc ext/zip/CREDITS
3109 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3110 %attr(755,root,root) %{extensionsdir}/zip.so
3113 %defattr(644,root,root,755)
3114 %doc ext/zlib/CREDITS
3115 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3116 %attr(755,root,root) %{extensionsdir}/zlib.so