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 Patch44: %{name}-curl.patch
144 Patch45: %{name}-config-dir.patch
145 Patch46: %{name}-phpinfo_no_configure.patch
146 Patch47: %{name}-imap-2006-fix.patch
147 URL: http://www.php.net/
148 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
149 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
150 BuildRequires: autoconf >= 2.53
151 BuildRequires: automake >= 1.4d
153 BuildRequires: bzip2-devel
154 BuildRequires: cracklib-devel >= 2.7-15
155 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
156 BuildRequires: cyrus-sasl-devel
157 %{!?with_db3:BuildRequires: db-devel >= 4.0}
158 %{?with_db3:BuildRequires: db3-devel >= 3.1}
159 BuildRequires: elfutils-devel
160 %if %{with wddx} || %{with xml} || %{with xmlrpc}
161 BuildRequires: expat-devel
163 %{?with_fcgi:BuildRequires: fcgi-devel}
164 %{?with_fdf:BuildRequires: fdftk-devel}
166 %if %{with mssql} || %{with sybase}
167 BuildRequires: freetds-devel
169 BuildRequires: freetype-devel >= 2.0
170 %{?with_fribidi:BuildRequires: fribidi-devel >= 0.10.4}
171 BuildRequires: gd-devel >= 2.0.28-2
172 BuildRequires: gd-devel(gif)
173 BuildRequires: gdbm-devel
174 BuildRequires: gmp-devel
175 %{?with_imap:BuildRequires: heimdal-devel >= 0.7}
176 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
177 %{?with_java:BuildRequires: jdk >= 1.1}
178 %{?with_cpdf:BuildRequires: libcpdf-devel >= 2.02r1-2}
179 BuildRequires: libjpeg-devel
180 BuildRequires: libltdl-devel >= 1.4
181 BuildRequires: libmcal-devel
182 BuildRequires: libmcrypt-devel >= 2.4.4
183 BuildRequires: libpng-devel >= 1.0.8
184 BuildRequires: libtiff-devel
185 BuildRequires: libtool >= 1.4.3
186 %{?with_xml:BuildRequires: libxml2-devel >= 2.2.7}
187 %{?with_domxslt:BuildRequires: libxslt-devel >= 1.0.3}
188 %{?with_mhash:BuildRequires: mhash-devel}
189 %{?with_ming:BuildRequires: ming-devel >= 0.1.0}
190 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
191 %{?with_mnogosearch:BuildRequires: mnogosearch-devel >= 3.2.29}
192 BuildRequires: mysql-devel >= 3.23.32
193 BuildRequires: ncurses-ext-devel
194 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
195 %if %{with openssl} || %{with ldap}
196 BuildRequires: openssl-devel >= 0.9.7d
198 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
199 BuildRequires: pam-devel
200 BuildRequires: pcre-devel
201 %{?with_pdf:BuildRequires: pdflib-devel >= 4.0.0}
202 %{?with_msession:BuildRequires: phoenix-devel}
203 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
204 %{?with_pgsql:BuildRequires: postgresql-devel}
205 %{?with_qtdom:BuildRequires: qt-devel >= 2.2.0}
206 BuildRequires: readline-devel
207 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
208 BuildRequires: rpm-build >= 4.4.0
209 BuildRequires: rpmbuild(macros) >= 1.236
210 %{?with_xslt:BuildRequires: sablotron-devel >= 0.96}
211 BuildRequires: sed >= 4.0
212 BuildRequires: t1lib-devel
213 %{?with_odbc:BuildRequires: unixODBC-devel}
214 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
215 %{?with_yaz:BuildRequires: yaz-devel >= 1.9}
217 BuildRequires: zlib-devel >= 1.0.9
218 BuildRequires: zziplib-devel
220 BuildRequires: apache1-devel >= 1.3.33-2
223 BuildRequires: apache-devel >= 2.0.52-2
224 BuildRequires: apr-devel >= 1:1.0.0
225 BuildRequires: apr-util-devel >= 1:1.0.0
227 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
229 %define _sysconfdir /etc/php4
230 %define extensionsdir %{_libdir}/php4
232 # must be in sync with source. extra check ensuring that it is so is done in %%build
233 %define php_api_version 20020918
234 %define zend_module_api 20020429
235 %define zend_extension_api 20050606
236 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
237 %define php_debug %{!?debug:0}%{?debug:1}
240 PHP is an HTML-embedded scripting language. PHP attempts to make it
241 easy for developers to write dynamically generated web pages. PHP also
242 offers built-in database integration for several commercial and
243 non-commercial database management systems, so writing a
244 database-enabled web page with PHP is fairly simple. The most common
245 use of PHP coding is probably as a replacement for CGI scripts. The
246 mod_php module enables the Apache web server to understand and process
247 the embedded PHP language in web pages. This package contains php
251 PHP est un langage de script embarque dans le HTM. PHP essaye de
252 rendre simple aux developpeurs d'ecrire des pages web generees
253 dynamiquement. PHP incorpore egalement une integration avec plusieurs
254 systemes de gestion de bases de donnees commerciaux et
255 non-connerciaux, qui rent facile la creation de pages web liees avec
256 des bases de donnees. L'utilisation la plus commune de PHP est
257 probablement en remplacement de scripts CGI. Le module mod_php permet
258 au serveur web apache de comprendre et de traiter le langage PHP
259 integre dans des pages web. Ce package contient php version
263 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
264 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
265 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
266 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
267 zosta³a z jêzyków: C, Java i Perl.
269 %description -l pt_BR
270 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
271 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
272 com algumas características únicas, específicas ao PHP. O objetivo da
273 linguagem é permitir que desenvolvedores web escrevam páginas
274 dinamicamente geradas de forma rápida.
277 PHP4 - ÜÔÏ ÑÚÙË ÎÁÐÉÓÁÎÉÑ ÓËÒÉÐÔÏ×, ×ÓÔÒÁÉ×ÁÅÍÙÈ × HTML-ËÏÄ. PHP
278 ÐÒÅÄÌÁÇÁÅÔ ÉÎÔÅÒÇÒÁÃÉÀ Ó ÍÎÏÖÅÓÔ×ÏÍ óõâä, ÐÏÜÔÏÍÕ ÎÁÐÉÓÁÎÉÅ ÓËÒÉÐÔÏ×
279 ÄÌÑ ÒÁÂÏÔÙ Ó ÂÁÚÁÍÉ ÄÁÎÎÙÈ ÏÔÎÏÓÉÔÅÌØÎÏ ÐÒÏÓÔÏ. îÁÉÂÏÌÅÅ ÐÏÐÕÌÑÒÎÏÅ
280 ÉÓÐÏÌØÚÏ×ÁÎÉÅ PHP - ÚÁÍÅÎÁ ÄÌÑ CGI ÓËÒÉÐÔÏ×.
282 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÁÍÏÄÏÓÔÁÔÏÞÎÕÀ (CGI) ×ÅÒÓÉÀ ÉÎÔÅÒÐÒÅÔÁÔÏÒÁ ÑÚÙËÁ.
283 ÷Ù ÄÏÌÖÎÙ ÔÁËÖÅ ÕÓÔÁÎÏ×ÉÔØ ÐÁËÅÔ %{name}-common. åÓÌÉ ×ÁÍ ÎÕÖÅÎ
284 ÉÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache, ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ
288 PHP4 - ÃÅ ÍÏ×Á ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦×, ÝÏ ×ÂÕÄÏ×ÕÀÔØÓÑ × HTML-ËÏÄ. PHP
289 ÐÒÏÐÏÎÕ¤ ¦ÎÔÅÇÒÁæÀ Ú ÂÁÇÁÔØÍÁ óõâä, ÔÏÍÕ ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦× ÄÌÑ
290 ÒÏÂÏÔÉ Ú ÂÁÚÁÍÉ ÄÁÎÉÈ ¤ ÄÏ×Ï̦ ÐÒÏÓÔÉÍ. îÁʦÌØÛ ÐÏÐÕÌÑÒÎÅ
291 ×ÉËÏÒÉÓÔÁÎÎÑ PHP - ÚÁͦÎÁ ÄÌÑ CGI ÓËÒÉÐÔ¦×.
293 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÁÍÏÄÏÓÔÁÔÎÀ (CGI) ×ÅÒÓ¦À ¦ÎÔÅÒÐÒÅÔÁÔÏÒÁ ÍÏ×É. ÷É
294 ÍÁ¤ÔÅ ÔÁËÏÖ ×ÓÔÁÎÏ×ÉÔÉ ÐÁËÅÔ %{name}-common. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÅÎ
295 ¦ÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache, ×ÓÔÁÎÏצÔØ ÐÁËÅÔ apache-php.
297 %package -n apache1-mod_php4
298 Summary: php4 DSO module for apache 1.3.x
299 Summary(pl): Modu³ DSO (Dynamic Shared Object) php4 dla apache 1.3.x
300 Group: Development/Languages/PHP
301 Requires: %{name}-common = %{epoch}:%{version}-%{release}
302 Requires: apache1(EAPI) >= 1.3.33-2
303 Requires: apache1-mod_mime
304 Provides: webserver(php) = %{version}
305 Obsoletes: apache-mod_php < 1:4.1.1
307 # Obsolete last version when apache module was in main package
308 Obsoletes: php4 < 3:4.3.11-4.16
310 %description -n apache1-mod_php4
311 php4 as DSO module for apache 1.3.x.
313 %description -n apache1-mod_php4 -l pl
314 php4 jako modu³ DSO (Dynamic Shared Object) dla apache 1.3.x.
316 %package -n apache-mod_php4
317 Summary: php4 DSO module for apache 2.x
318 Summary(pl): Modu³ DSO (Dynamic Shared Object) php4 dla apache 2.x
319 Group: Development/Languages/PHP
320 Requires: %{name}-common = %{epoch}:%{version}-%{release}
321 Requires: apache(modules-api) = %{apache_modules_api}
322 Requires: apache-mod_mime
323 Provides: webserver(php) = %{version}
324 Obsoletes: apache-mod_php < 1:4.1.1
326 # Obsolete last version when apache module was in main package
327 Obsoletes: php4 < 3:4.3.11-4.16
329 %description -n apache-mod_php4
330 php4 as DSO module for apache 2.x.
332 %description -n apache-mod_php4 -l pl
333 php4 jako modu³ DSO (Dynamic Shared Object) dla apache 2.x.
336 Summary: php4 as FastCGI program
337 Summary(pl): php4 jako program FastCGI
338 Group: Development/Languages/PHP
339 Requires: %{name}-common = %{epoch}:%{version}-%{release}
340 Provides: php-fcgi = %{epoch}:%{version}-%{release}
341 Provides: webserver(php) = %{version}
344 php4 as FastCGI program.
346 %description fcgi -l pl
347 php4 jako program FastCGI.
350 Summary: php4 as CGI program
351 Summary(pl): php4 jako program CGI
352 Group: Development/Languages/PHP
353 Requires: %{name}-common = %{epoch}:%{version}-%{release}
354 Provides: php-cgi = %{epoch}:%{version}-%{release}
359 %description cgi -l pl
360 php4 jako program CGI.
363 Summary: php4 as CLI interpreter
364 Summary(pl): php4 jako interpreter dzia³aj±cy z linii poleceñ
365 Group: Development/Languages/PHP
366 Requires: %{name}-common = %{epoch}:%{version}-%{release}
367 Provides: php-cli = %{epoch}:%{version}-%{release}
370 php4 as CLI interpreter.
372 %description cli -l pl
373 php4 jako interpreter dzia³aj±cy z linii poleceñ.
376 Summary: /usr/bin/php symlink
377 Summary(pl): Dowi±zanie symboliczne /usr/bin/php
378 Group: Development/Languages/PHP
379 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
380 Obsoletes: /usr/bin/php
383 Package providing /usr/bin/php symlink to PHP CLI.
385 %description program -l pl
386 Pakiet dostarczaj±cy dowi±zanie symboliczne /usr/bin/php do PHP CLI.
389 Summary: Common files needed by all PHP SAPIs
390 Summary(pl): Wspólne pliki dla modu³u apache'a i programu CGI
391 Summary(ru): òÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ php
392 Summary(uk): â¦Â̦ÏÔÅËÉ ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÄÌÑ php
394 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
395 Requires(triggerun): sed >= 4.0
396 Requires: glibc >= 6:2.3.5
398 Provides: php(modules_api) = %{php_api_version}
399 Provides: php(openssl)
400 Provides: php(session)
401 Provides: php(standard)
402 Provides: php(zend_extension_api) = %{zend_extension_api}
403 Provides: php(zend_module_api) = %{zend_module_api}
404 Provides: php-common = %{epoch}:%{version}-%{release}
405 Provides: php4(debug) = %{php_debug}
406 Provides: php4(thread-safety) = %{zend_zts}
407 Obsoletes: php-session < 3:4.2.1-2
408 Obsoletes: php4-openssl < 3:4.4.0-4
409 # for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
410 Conflicts: rpm < 4.4.2-0.2
413 Common files needed by all PHP SAPIs.
415 %description common -l pl
416 Wspólne pliki dla modu³u apacha i programu CGI.
418 %description common -l ru
419 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÏÂÝÉÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÎÙÈ ×ÁÒÉÁÎÔÏ× ÒÅÁÌÉÚÁÃÉÉ PHP
420 (ÓÁÍÏÄÏÓÔÁÔÏÞÎÏÊ É × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache).
422 %description common -l uk
423 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓЦÌØΦ ÆÁÊÌÉ ÄÌÑ Ò¦ÚÎÉÈ ×ÁÒ¦ÁÎÔ¦× ÒÅÁ̦ÚÁæ§ PHP
424 (ÓÁÍÏÄÏÓÔÁÔÎØϧ ÔÁ × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache).
427 Summary: Files for PHP modules development
428 Summary(pl): Pliki do kompilacji modu³ów PHP
429 Summary(pt_BR): Arquivos de desenvolvimento para PHP
430 Summary(ru): ðÁËÅÔ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÏÓÔÒÏÅÎÉÑ ÒÁÓÛÉÒÅÎÉÊ PHP
431 Summary(uk): ðÁËÅÔ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÏÂÕÄÏ×É ÒÏÚÛÉÒÅÎØ PHP
432 Group: Development/Languages/PHP
433 Requires: %{name}-common = %{epoch}:%{version}-%{release}
439 The php-devel package lets you compile dynamic extensions to PHP.
440 Included here is the source for the PHP extensions. Instead of
441 recompiling the whole php4 binary to add support for, say, oracle,
442 install this package and use the new self-contained extensions
443 support. For more information, read the file
444 SELF-CONTAINED-EXTENSIONS.
446 %description devel -l pl
447 Pliki potrzebne do kompilacji modu³ów PHP.
449 %description devel -l pt_BR
450 Este pacote contém arquivos usados no desenvolvimento de programas ou
453 %description devel -l uk
454 ðÁËÅÔ php-devel ÄÁ¤ ÍÏÖÌÉצÓÔØ ËÏÍЦÌÀ×ÁÔÉ ÄÉÎÁͦÞΦ ÒÏÚÛÉÒÅÎÎÑ PHP.
455 äÏ ÐÁËÅÔÕ ×ËÌÀÞÅÎÏ ×ÉȦÄÎÉÊ ËÏÄ ÄÌÑ ÒÏÚÛÉÒÅÎØ. úÁͦÓÔØ ÐÏ×ÔÏÒÎϧ
456 ËÏÍЦÌÑæ§ ¦ÎÁÒÎÏÇÏ ÆÁÊÌÕ php4 ÄÌÑ ÄÏÄÁÎÎÑ, ÎÁÐÒÉËÌÁÄ, ЦÄÔÒÉÍËÉ
457 oracle, ×ÓÔÁÎÏצÔØ ÃÅÊ ÐÁËÅÔ ÄÌÑ ËÏÍЦÌÑæ§ ÏËÒÅÍÉÈ ÒÏÚÛÉÒÅÎØ.
458 äÅÔÁÌØΦÛÁ ¦ÎÆÏÒÍÁÃ¦Ñ - × ÆÁÊ̦ SELF-CONTAINED-EXTENSIONS.
460 %description devel -l ru
461 ðÁËÅÔ php-devel ÄÁÅÔ ×ÏÚÍÏÖÎÏÓÔØ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÄÉÎÁÍÉÞÅÓËÉÅ ÒÁÓÛÉÒÅÎÉÑ
462 PHP. ðÁËÅÔ ×ËÌÀÞÁÅÔ ÉÓÈÏÄÎÙÊ ËÏÄ ÜÔÉÈ ÒÁÓÛÉÒÅÎÉÊ. ÷ÍÅÓÔÏ ÐÏ×ÔÏÒÎÏÊ
463 ËÏÍÐÉÌÑÃÉÉ ÂÉÎÁÒÎÏÇÏ ÆÁÊÌÁ php4 ÄÌÑ ÄÏÂÁ×ÌÅÎÉÑ, ÎÁÐÒÉÍÅÒ, ÐÏÄÄÅÒÖËÉ
464 oracle, ÕÓÔÁÎÏ×ÉÔÅ ÜÔÏÔ ÐÁËÅÔ ÄÌÑ ËÏÍÐÉÌÉÒÏ×ÁÎÉÑ ÏÔÄÅÌØÎÙÈ ÒÁÓÛÉÒÅÎÉÊ.
465 ðÏÄÒÏÂÎÏÓÔÉ - × ÆÁÊÌÅ SELF-CONTAINED-EXTENSIONS.
468 Summary: bcmath extension module for PHP
469 Summary(pl): Modu³ bcmath dla PHP
471 Requires: %{name}-common = %{epoch}:%{version}-%{release}
472 Provides: php(bcmath)
475 This is a dynamic shared object (DSO) for PHP that will add bc style
476 precision math functions support.
478 %description bcmath -l pl
479 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
480 matematycznych takich jak w programie bc.
483 Summary: Bzip2 extension module for PHP
484 Summary(pl): Modu³ bzip2 dla PHP
486 Requires: %{name}-common = %{epoch}:%{version}-%{release}
490 This is a dynamic shared object (DSO) for PHP that will add bzip2
491 compression support to PHP.
493 %description bzip2 -l pl
494 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji bzip2.
497 Summary: Calendar extension module for PHP
498 Summary(pl): Modu³ funkcji kalendarza dla PHP
500 Requires: %{name}-common = %{epoch}:%{version}-%{release}
501 Provides: php(calendar)
503 %description calendar
504 This is a dynamic shared object (DSO) for PHP that will add calendar
507 %description calendar -l pl
508 Modu³ PHP dodaj±cy wsparcie dla kalendarza.
511 Summary: cpdf extension module for PHP
512 Summary(pl): Modu³ cpdf dla PHP
514 Requires: %{name}-common = %{epoch}:%{version}-%{release}
518 This is a dynamic shared object (DSO) for PHP that will add PDF
519 support through libcpdf library.
521 %description cpdf -l pl
522 Modu³ PHP dodaj±cy obs³ugê plików PDF poprzez bibliotekê libcpdf.
525 Summary: crack extension module for PHP
526 Summary(pl): Modu³ crack dla PHP
528 Requires: %{name}-common = %{epoch}:%{version}-%{release}
532 This is a dynamic shared object (DSO) for PHP that will add cracklib
535 Warning: this is an experimental module.
537 %description crack -l pl
538 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki cracklib.
540 Uwaga: to jest modu³ eksperymentalny.
543 Summary: ctype extension module for PHP
544 Summary(pl): Modu³ ctype dla PHP
546 Requires: %{name}-common = %{epoch}:%{version}-%{release}
550 This is a dynamic shared object (DSO) for PHP that will add ctype
553 %description ctype -l pl
554 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
557 Summary: curl extension module for PHP
558 Summary(pl): Modu³ curl dla PHP
560 Requires: %{name}-common = %{epoch}:%{version}-%{release}
564 This is a dynamic shared object (DSO) for PHP that will add curl
567 %description curl -l pl
568 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
571 Summary: Old xDBM extension module for PHP
572 Summary(pl): Modu³ xDBM dla PHP
574 Requires: %{name}-common = %{epoch}:%{version}-%{release}
578 This is an old dynamic shared object (DSO) for PHP that will add DBM
581 Warning: this module is deprecated and does not support database
582 locking correctly. Please use DBA extension which is a fully
583 operational superset.
585 %description db -l pl
586 Stary modu³ PHP dodaj±cy obs³ugê baz danych DBM.
588 Uwaga: ten modu³ jest przestarza³y i nie obs³uguje poprawnie
589 blokowania bazy danych. Zamiast niego lepiej u¿ywaæ rozszerzenia DBA,
590 które obs³uguje nadzbiór funkcjonalno¶ci tego modu³u.
593 Summary: DBA extension module for PHP
594 Summary(pl): Modu³ DBA dla PHP
596 Requires: %{name}-common = %{epoch}:%{version}-%{release}
600 This is a dynamic shared object (DSO) for PHP that will add flat-file
601 databases (DBA) support.
603 %description dba -l pl
604 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych opartych na plikach
608 Summary: DBase extension module for PHP
609 Summary(pl): Modu³ DBase dla PHP
611 Requires: %{name}-common = %{epoch}:%{version}-%{release}
615 This is a dynamic shared object (DSO) for PHP that will add DBase
618 %description dbase -l pl
619 Modu³ PHP ze wsparciem dla DBase.
622 Summary: DBX extension module for PHP
623 Summary(pl): Modu³ DBX dla PHP
625 Requires: %{name}-common = %{epoch}:%{version}-%{release}
629 This is a dynamic shared object (DSO) for PHP that will add DB
630 abstraction layer. DBX supports odbc, mysql, pgsql, mssql, fbsql and
633 %description dbx -l pl
634 Modu³ PHP dodaj±cy warstwê abstrakcji do obs³ugi baz danych. DBX
635 obs³uguje bazy odbc, mysql, pgsql, mssql, fbsql i inne.
638 Summary: Direct I/O extension module for PHP
639 Summary(pl): Modu³ Direct I/O dla PHP
641 Requires: %{name}-common = %{epoch}:%{version}-%{release}
645 This is a dynamic shared object (DSO) for PHP that will add direct
648 %description dio -l pl
649 Modu³ PHP dodaj±cy obs³ugê bezpo¶rednich operacji I/O na plikach.
652 Summary: DOM XML extension module for PHP
653 Summary(pl): Modu³ DOM XML dla PHP
655 Requires: %{name}-common = %{epoch}:%{version}-%{release}
656 Provides: php(domxml)
659 This is a dynamic shared object (DSO) for PHP that will add DOM XML
662 Warning: this is an experimental module.
664 %description domxml -l pl
665 Modu³ PHP dodaj±cy obs³ugê DOM XML.
667 Uwaga: to jest modu³ eksperymentalny.
670 Summary: exif extension module for PHP
671 Summary(pl): Modu³ exif dla PHP
673 Requires: %{name}-common = %{epoch}:%{version}-%{release}
677 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
678 support in image files.
680 %description exif -l pl
681 Modu³ PHP dodaj±cy obs³ugê znaczników EXIF w plikach obrazków.
684 Summary: FDF extension module for PHP
685 Summary(pl): Modu³ FDF dla PHP
687 Requires: %{name}-common = %{epoch}:%{version}-%{release}
691 This PHP module adds support for PDF Forms through Adobe FDFTK
694 %description fdf -l pl
695 Modu³ PHP dodaj±cy obs³ugê formularzy PDF poprzez bibliotekê Adobe
699 Summary: filePro extension module for PHP
700 Summary(pl): Modu³ filePro dla PHP
702 Requires: %{name}-common = %{epoch}:%{version}-%{release}
703 Provides: php(filepro)
706 This is a dynamic shared object (DSO) for PHP that will add support
707 for read-only access to filePro databases.
709 %description filepro -l pl
710 Modu³ PHP dodaj±cy mo¿liwo¶æ dostêpu (tylko do odczytu) do baz danych
714 Summary: FriBiDi extension module for PHP
715 Summary(pl): Modu³e FriBiDi dla PHP
717 Requires: %{name}-common = %{epoch}:%{version}-%{release}
718 Provides: php(fribidi)
721 This extension is basically a wrapper for the FriBidi implementation
722 of the Unicode Bidi algorithm. The need for such an algorithm rises
723 from the bidirectional language usage done by applications.
724 Arabic/Hebrew embedded within English is such a case.
726 %description fribidi -l pl
727 To rozszerzenie to g³ównie interfejs do implementacji FriBiDi
728 algorytmu Unicode Bidi. Taki algorytm jest potrzebny w przypadku
729 u¿ywania dwukierunkowego pisma w aplikacjach - na przyk³ad przy
730 tek¶cie arabskim lub hebrajskim osadzonym wewn±trz angielskiego.
733 Summary: FTP extension module for PHP
734 Summary(pl): Modu³ FTP dla PHP
736 Requires: %{name}-common = %{epoch}:%{version}-%{release}
740 This is a dynamic shared object (DSO) for PHP that will add FTP
743 %description ftp -l pl
744 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
747 Summary: GD extension module for PHP
748 Summary(pl): Modu³ GD dla PHP
750 Requires: %{name}-common = %{epoch}:%{version}-%{release}
751 Requires: gd >= 2.0.28-2
756 This is a dynamic shared object (DSO) for PHP that will add GD
757 support, allowing you to create and manipulate images with PHP.
759 %description gd -l pl
760 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD, pozwalaj±cej na
761 tworzenie i obróbkê obrazków.
764 Summary: gettext extension module for PHP
765 Summary(pl): Modu³ gettext dla PHP
767 Requires: %{name}-common = %{epoch}:%{version}-%{release}
768 Provides: php(gettext)
771 This is a dynamic shared object (DSO) for PHP that will add gettext
774 %description gettext -l pl
775 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
778 Summary: gmp extension module for PHP
779 Summary(pl): Modu³ gmp dla PHP
781 Requires: %{name}-common = %{epoch}:%{version}-%{release}
785 This is a dynamic shared object (DSO) for PHP that will add arbitrary
786 length number support with GNU MP library.
788 %description gmp -l pl
789 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki gmp do obliczeñ na
790 liczbach o dowolnej d³ugo¶ci.
793 Summary: Hyperwave extension module for PHP
794 Summary(pl): Modu³ Hyperwave dla PHP
796 Requires: %{name}-common = %{epoch}:%{version}-%{release}
797 Provides: php(hyperwave)
799 %description hyperwave
800 This is a dynamic shared object (DSO) for PHP that will add Hyperwave
803 %description hyperwave -l pl
804 Modu³ PHP dodaj±cy obs³ugê Hyperwave.
807 Summary: iconv extension module for PHP
808 Summary(pl): Modu³ iconv dla PHP
810 Requires: %{name}-common = %{epoch}:%{version}-%{release}
814 This is a dynamic shared object (DSO) for PHP that will add iconv
817 %description iconv -l pl
818 Modu³ PHP dodaj±cy obs³ugê iconv.
821 Summary: IMAP extension module for PHP
822 Summary(pl): Modu³ IMAP dla PHP
823 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
825 Requires: %{name}-common = %{epoch}:%{version}-%{release}
829 This is a dynamic shared object (DSO) for PHP that will add IMAP
832 %description imap -l pl
833 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
835 %description imap -l pt_BR
836 Um módulo para aplicações PHP que usam IMAP.
839 Summary: InterBase/Firebird database module for PHP
840 Summary(pl): Modu³ bazy danych InterBase/Firebird dla PHP
842 Requires: %{name}-common = %{epoch}:%{version}-%{release}
843 Provides: php(interbase)
844 %{?with_interbase_inst:Autoreq: false}
846 %description interbase
847 This is a dynamic shared object (DSO) for PHP that will add InterBase
848 and Firebird database support.
850 %description interbase -l pl
851 Modu³ PHP umo¿liwiaj±cy dostêp do baz danych InterBase i Firebird.
854 Summary: Java extension module for PHP
855 Summary(pl): Modu³ Javy dla PHP
857 Requires: %{name}-common = %{epoch}:%{version}-%{release}
861 This is a dynamic shared object (DSO) for PHP that will add Java
862 support to PHP. This extension provides a simple and effective means
863 for creating and invoking methods on Java objects from PHP.
865 Note: it requires setting LD_LIBRARY_PATH to JRE directories
866 containing JVM libraries (e.g. libjava.so, libverify.so and libjvm.so
867 for Sun's JRE) before starting Apache or PHP interpreter.
869 %description java -l pl
870 Modu³ PHP dodaj±cy wsparcie dla Javy. Umo¿liwia odwo³ywanie siê do
871 obiektów Javy z poziomu PHP.
873 Uwaga: modu³ wymaga ustawienia LD_LIBRARY_PATH na katalogi JRE
874 zawieraj±ce biblioteki JVM (np. libjava.so, libverify.so i libjvm.so
875 dla JRE Suna) przed uruchomieniem Apache'a lub interpretera PHP.
878 Summary: LDAP extension module for PHP
879 Summary(pl): Modu³ LDAP dla PHP
880 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
882 Requires: %{name}-common = %{epoch}:%{version}-%{release}
886 This is a dynamic shared object (DSO) for PHP that will add LDAP
889 %description ldap -l pl
890 Modu³ PHP dodaj±cy obs³ugê LDAP.
892 %description ldap -l pt_BR
893 Um módulo para aplicações PHP que usam LDAP.
896 Summary: mbstring extension module for PHP
897 Summary(pl): Modu³ mbstring dla PHP
899 Requires: %{name}-common = %{epoch}:%{version}-%{release}
900 Provides: php(mbstring)
902 %description mbstring
903 This is a dynamic shared object (DSO) for PHP that will add multibyte
906 %description mbstring -l pl
907 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
910 Summary: mcal extension module for PHP
911 Summary(pl): Modu³ mcal dla PHP
913 Requires: %{name}-common = %{epoch}:%{version}-%{release}
917 This is a dynamic shared object (DSO) for PHP that will add mcal
918 (Modular Calendar Access Library) support.
920 %description mcal -l pl
921 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki mcal (daj±cej dostêp
925 Summary: mcrypt extension module for PHP
926 Summary(pl): Modu³ mcrypt dla PHP
928 Requires: %{name}-common = %{epoch}:%{version}-%{release}
929 Provides: php(mcrypt)
932 This is a dynamic shared object (DSO) for PHP that will add mcrypt
935 %description mcrypt -l pl
936 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
939 Summary: mhash extension module for PHP
940 Summary(pl): Modu³ mhash dla PHP
942 Requires: %{name}-common = %{epoch}:%{version}-%{release}
946 This is a dynamic shared object (DSO) for PHP that will add mhash
949 %description mhash -l pl
950 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
953 Summary: mime_magic extension module for PHP
954 Summary(pl): Modu³ mime_magic dla PHP
956 Requires: %{name}-common = %{epoch}:%{version}-%{release}
957 Requires: /usr/share/file/magic.mime
958 Provides: php(mime_magic)
960 %description mime_magic
961 This PHP module adds support for MIME type lookup via file magic
962 numbers using magic.mime database.
964 %description mime_magic -l pl
965 Modu³ PHP dodaj±cy obs³ugê wyszukiwania typów MIME wed³ug magicznych
966 znaczników plików z u¿yciem bazy danych magic.mime.
969 Summary: ming extension module for PHP
970 Summary(pl): Modu³ ming dla PHP
972 Requires: %{name}-common = %{epoch}:%{version}-%{release}
976 This is a dynamic shared object (DSO) for PHP that will add ming
977 (Flash - .swf files) support.
979 %description ming -l pl
980 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
984 Summary: mnoGoSearch extension module for PHP
985 Summary(pl): Modu³ mnoGoSearch dla PHP
987 Requires: %{name}-common = %{epoch}:%{version}-%{release}
988 Provides: php(mnogosearch)
990 %description mnogosearch
991 This is a dynamic shared object (DSO) for PHP that will allow you to
992 access mnoGoSearch free search engine.
994 %description mnogosearch -l pl
995 Modu³ PHP dodaj±cy pozwalaj±cy na dostêp do wolnodostêpnego silnika
996 wyszukiwarki mnoGoSearch.
999 Summary: msession extension module for PHP
1000 Summary(pl): Modu³ msession dla PHP
1002 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1003 Provides: php(msession)
1005 %description msession
1006 This is a dynamic shared object (DSO) for PHP that will allow you to
1007 use msession. msession is a high speed session daemon which can run
1008 either locally or remotely. It is designed to provide consistent
1009 session management for a PHP web farm.
1011 %description msession -l pl
1012 Modu³ PHP dodaj±cy umo¿liwiaj±cy korzystanie z demona msession. Jest
1013 to demon szybkiej obs³ugi sesji, który mo¿e dzia³aæ lokalnie lub na
1014 innej maszynie. S³u¿y do zapewniania spójnej obs³ugi sesji dla farmy
1018 Summary: MS SQL extension module for PHP
1019 Summary(pl): Modu³ MS SQL dla PHP
1021 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1022 Provides: php(mssql)
1023 Conflicts: %{name}-sybase
1024 Conflicts: %{name}-sybase-ct
1027 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1028 databases support through FreeTDS library.
1030 %description mssql -l pl
1031 Modu³ PHP dodaj±cy obs³ugê baz danych MS SQL poprzez bibliotekê
1035 Summary: MySQL database module for PHP
1036 Summary(pl): Modu³ bazy danych MySQL dla PHP
1037 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
1039 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1040 Provides: php(mysql)
1043 This is a dynamic shared object (DSO) for PHP that will add MySQL
1046 %description mysql -l pl
1047 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
1049 %description mysql -l pt_BR
1050 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1053 Summary: ncurses module for PHP
1054 Summary(pl): Modu³ ncurses dla PHP
1056 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1057 Provides: php(ncurses)
1059 %description ncurses
1060 This PHP module adds support for ncurses functions (only for cli and
1063 %description ncurses -l pl
1064 Modu³ PHP dodaj±cy obs³ugê funkcji ncurses (tylko do SAPI cli i cgi).
1067 Summary: Oracle 8 database module for PHP
1068 Summary(pl): Modu³ bazy danych Oracle 8 dla PHP
1070 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1075 This is a dynamic shared object (DSO) for PHP that will add Oracle 7
1076 and Oracle 8 database support through Oracle8 Call-Interface (OCI8).
1078 %description oci8 -l pl
1079 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7 i Oracle 8
1080 poprzez interfejs Oracle8 Call-Interface (OCI8).
1083 Summary: ODBC extension module for PHP
1084 Summary(pl): Modu³ ODBC dla PHP
1085 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
1087 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1088 Requires: unixODBC >= 2.1.1-3
1092 This is a dynamic shared object (DSO) for PHP that will add ODBC
1095 %description odbc -l pl
1096 Modu³ PHP ze wsparciem dla ODBC.
1098 %description odbc -l pt_BR
1099 Um módulo para aplicações PHP que usam ODBC.
1102 Summary: Oracle 7 database module for PHP
1103 Summary(pl): Modu³ bazy danych Oracle 7 dla PHP
1105 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1106 Provides: php(oracle)
1110 This is a dynamic shared object (DSO) for PHP that will add Oracle 7
1113 %description oracle -l pl
1114 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7.
1117 Summary: Overload extension module for PHP
1118 Summary(pl): Modu³ Overload dla PHP
1120 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1121 Provides: php(overload)
1123 %description overload
1124 This is a dynamic shared object (DSO) for PHP that will add user-space
1125 object overloading support.
1127 Warning: this is an experimental module.
1129 %description overload -l pl
1130 Modu³ PHP umo¿liwiaj±cy przeci±¿anie obiektów.
1132 Uwaga: to jest modu³ eksperymentalny.
1135 Summary: Process Control extension module for PHP
1136 Summary(pl): Modu³ Process Control dla PHP
1138 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1139 Provides: php(pcntl)
1142 This is a dynamic shared object (DSO) for PHP that will add process
1143 spawning and control support. It supports functions like fork(),
1144 waitpid(), signal() etc.
1146 Warning: this is an experimental module. Also, don't use it in
1147 webserver environment!
1149 %description pcntl -l pl
1150 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
1151 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
1153 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
1154 u¿ywania z serwerem WWW - nie próbuj tego!
1157 Summary: PCRE extension module for PHP
1158 Summary(pl): Modu³ PCRE dla PHP
1160 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1164 This is a dynamic shared object (DSO) for PHP that will add Perl
1165 Compatible Regular Expression support.
1167 %description pcre -l pl
1168 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
1169 (Perl Compatible Regular Expressions)
1172 Summary: PDF creation module module for PHP
1173 Summary(pl): Modu³ do tworzenia plików PDF dla PHP
1175 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1179 This is a dynamic shared object (DSO) for PHP that will add PDF
1180 support through pdflib.
1182 %description pdf -l pl
1183 Modu³ PHP umo¿liwiaj±cy tworzenie plików PDF. Wykorzystuje bibliotekê
1187 Summary: PostgreSQL database module for PHP
1188 Summary(pl): Modu³ bazy danych PostgreSQL dla PHP
1190 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1191 Provides: php(pgsql)
1194 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1197 %description pgsql -l pl
1198 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
1200 %description pgsql -l pt_BR
1201 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1204 Summary: POSIX extension module for PHP
1205 Summary(pl): Modu³ POSIX dla PHP
1207 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1208 Provides: php(posix)
1211 This is a dynamic shared object (DSO) for PHP that will add POSIX
1212 functions support to PHP.
1214 %description posix -l pl
1215 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
1218 Summary: pspell extension module for PHP
1219 Summary(pl): Modu³ pspell dla PHP
1221 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1222 Provides: php(pspell)
1225 This is a dynamic shared object (DSO) for PHP that will add pspell
1226 support to PHP. It allows to check the spelling of a word and offer
1229 %description pspell -l pl
1230 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
1231 sprawdzanie pisowni s³owa i sugerowanie poprawek.
1234 Summary: Qt DOM extension module for PHP
1235 Summary(pl): Modu³ Qt DOM dla PHP
1237 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1238 Provides: php(qtdom)
1241 This PHP module adds Qt DOM functions support.
1243 %description qtdom -l pl
1244 Modu³ PHP dodaj±cy obs³ugê funkcji Qt DOM.
1247 Summary: readline extension module for PHP
1248 Summary(pl): Modu³ readline dla PHP
1250 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1251 Provides: php(readline)
1253 %description readline
1254 This PHP module adds support for readline functions (only for cli and
1257 %description readline -l pl
1258 Modu³ PHP dodaj±cy obs³ugê funkcji readline (tylko do SAPI cli i cgi).
1261 Summary: recode extension module for PHP
1262 Summary(pl): Modu³ recode dla PHP
1264 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1265 Requires: recode >= 3.5d-3
1266 Provides: php(recode)
1269 This is a dynamic shared object (DSO) for PHP that will add recode
1272 %description recode -l pl
1273 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1277 Summary: Shared Memory Operations extension module for PHP
1278 Summary(pl): Modu³ shmop dla PHP
1280 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1281 Provides: php(shmop)
1284 This is a dynamic shared object (DSO) for PHP that will add Shared
1285 Memory Operations support.
1287 Warning: this is an experimental module.
1289 %description shmop -l pl
1290 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1292 Uwaga: to jest modu³ eksperymentalny.
1295 Summary: SNMP extension module for PHP
1296 Summary(pl): Modu³ SNMP dla PHP
1298 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1302 This is a dynamic shared object (DSO) for PHP that will add SNMP
1305 %description snmp -l pl
1306 Modu³ PHP dodaj±cy obs³ugê SNMP.
1309 Summary: sockets extension module for PHP
1310 Summary(pl): Modu³ socket dla PHP
1312 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1313 Provides: php(sockets)
1315 %description sockets
1316 This is a dynamic shared object (DSO) for PHP that will add sockets
1319 Warning: this is an experimental module.
1321 %description sockets -l pl
1322 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1324 Uwaga: to jest modu³ eksperymentalny.
1327 Summary: Sybase DB extension module for PHP
1328 Summary(pl): Modu³ Sybase DB dla PHP
1330 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1331 Provides: php(sybase)
1332 Obsoletes: php4-sybase-ct
1333 Conflicts: %{name}-mssql
1336 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1337 MS SQL databases support through SYBDB library. Currently Sybase
1338 module is not maintained. Using Sybase-CT module is recommended
1341 %description sybase -l pl
1342 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1343 bibliotekê SYBDB. W chwili obecnej modu³ Sybase nie jest wspierany.
1344 Zaleca siê u¿ywanie modu³u Sybase-CT.
1347 Summary: Sybase-CT extension module for PHP
1348 Summary(pl): Modu³ Sybase-CT dla PHP
1350 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1351 Provides: php(sybase-ct)
1352 Obsoletes: php4-sybase
1353 Conflicts: %{name}-mssql
1355 %description sybase-ct
1356 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1357 MS SQL databases support through CT-lib.
1359 %description sybase-ct -l pl
1360 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1364 Summary: SysV msg extension module for PHP
1365 Summary(pl): Modu³ SysV msg dla PHP
1367 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1368 Provides: php(sysvmsg)
1370 %description sysvmsg
1371 This is a dynamic shared object (DSO) for PHP that will add SysV
1372 message queues support.
1374 %description sysvmsg -l pl
1375 Modu³ PHP umo¿liwiaj±cy korzystanie z kolejek komunikatów SysV.
1378 Summary: SysV sem extension module for PHP
1379 Summary(pl): Modu³ SysV sem dla PHP
1381 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1382 Provides: php(sysvsem)
1384 %description sysvsem
1385 This is a dynamic shared object (DSO) for PHP that will add SysV
1388 %description sysvsem -l pl
1389 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1392 Summary: SysV shm extension module for PHP
1393 Summary(pl): Modu³ SysV shm dla PHP
1395 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1396 Provides: php(sysvshm)
1398 %description sysvshm
1399 This is a dynamic shared object (DSO) for PHP that will add SysV
1400 Shared Memory support.
1402 %description sysvshm -l pl
1403 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1406 Summary: tokenizer extension module for PHP
1407 Summary(pl): Modu³ rozszerzenia tokenizer dla PHP
1409 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1410 Provides: php(tokenizer)
1412 %description tokenizer
1413 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1416 %description tokenizer -l pl
1417 Modu³ PHP dodaj±cy obs³ugê tokenizera do PHP.
1420 Summary: wddx extension module for PHP
1421 Summary(pl): Modu³ wddx dla PHP
1423 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1424 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1425 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1429 This is a dynamic shared object (DSO) for PHP that will add wddx
1432 %description wddx -l pl
1433 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1436 Summary: XML extension module for PHP
1437 Summary(pl): Modu³ XML dla PHP
1439 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1443 This is a dynamic shared object (DSO) for PHP that will add XML
1444 support. This extension lets you create XML parsers and then define
1445 handlers for different XML events.
1447 %description xml -l pl
1448 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1449 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1450 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1453 Summary: xmlrpc extension module for PHP
1454 Summary(pl): Modu³ xmlrpc dla PHP
1456 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1457 Provides: php(xmlrpc)
1460 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1463 Warning: this is an experimental module.
1465 %description xmlrpc -l pl
1466 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1468 Uwaga: to jest modu³ eksperymentalny.
1471 Summary: xslt extension module for PHP
1472 Summary(pl): Modu³ xslt dla PHP
1474 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1478 This is a dynamic shared object (DSO) for PHP that will add xslt
1481 %description xslt -l pl
1482 Modu³ PHP umo¿liwiaj±cy korzystanie z technologii xslt.
1485 Summary: yaz extension module for PHP
1486 Summary(pl): Modu³ yaz dla PHP
1488 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1489 Requires: yaz >= 1.9
1493 This is a dynamic shared object (DSO) for PHP that will add yaz
1494 support. yaz toolkit implements the Z39.50 protocol for information
1497 %description yaz -l pl
1498 Modu³ PHP umo¿liwiaj±cy korzystanie z yaz - implementacji protoko³u
1499 Z39.50 s³u¿±cego do pozyskiwania informacji.
1502 Summary: NIS (yp) extension module for PHP
1503 Summary(pl): Modu³ NIS (yp) dla PHP
1505 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1509 This is a dynamic shared object (DSO) for PHP that will add NIS
1510 (Yellow Pages) support.
1512 %description yp -l pl
1513 Modu³ PHP dodaj±cy wsparcie dla NIS (Yellow Pages).
1516 Summary: zip extension module for PHP
1517 Summary(pl): Modu³ zip dla PHP
1519 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1523 This is a dynamic shared object (DSO) for PHP that will add ZZipLib
1524 (read-only access to ZIP archives) support.
1526 %description zip -l pl
1527 Modu³ PHP umo¿liwiaj±cy korzystanie z bibliotekli ZZipLib
1528 (pozwalaj±cej na odczyt archiwów ZIP).
1531 Summary: Zlib extension module for PHP
1532 Summary(pl): Modu³ zlib dla PHP
1534 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1538 This is a dynamic shared object (DSO) for PHP that will add zlib
1539 compression support to PHP.
1541 %description zlib -l pl
1542 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1545 %setup -q -n php-%{version}
1557 # Not really needed?
1566 cp php.ini-dist php.ini
1568 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1581 %if "%{_lib}" == "lib64"
1593 %{?with_versioning:%patch39 -p1}
1594 # XXX: I believe this one is obsolete as of 4.4.3
1602 %if %{with hardening}
1603 zcat %{SOURCE8} | patch -p1
1607 if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then
1608 echo "Set %%define php_api_version to $API and rerun."
1612 if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then
1613 echo "Set %%define zend_module_api to $API and rerun."
1617 if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then
1618 echo "Set %%define zend_extension_api to $API and rerun."
1622 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1623 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1630 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1644 for sapi in $sapis; do
1645 [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1651 echo --enable-discard-path --enable-force-cgi-redirect
1657 echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect
1660 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
1661 echo --with-apxs=%{apxs1} --with-apache-version=$ver
1664 ver=%(rpm -q --qf '%%{version}' apache-apxs)
1665 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
1669 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1670 --cache-file=config.cache \
1672 --with-config-file-path=%{_sysconfdir} \
1673 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1674 --with-exec-dir=%{_bindir} \
1675 --%{!?debug:dis}%{?debug:en}able-debug \
1676 %{?with_zts:--enable-experimental-zts} \
1677 --enable-inline-optimization \
1680 --enable-bcmath=shared \
1681 --enable-calendar=shared \
1682 --enable-ctype=shared \
1683 --enable-dba=shared \
1684 --enable-dbx=shared \
1685 --enable-dio=shared \
1686 --enable-exif=shared \
1687 --enable-filepro=shared \
1688 --enable-ftp=shared \
1689 --enable-magic-quotes \
1690 --enable-mbstring=shared,all --enable-mbregex \
1691 --enable-memory-limit \
1692 --enable-overload=shared \
1693 --enable-pcntl=shared \
1694 --enable-posix=shared \
1695 %{?with_recode:--with-recode=shared} \
1696 --enable-safe-mode \
1697 --enable-session --enable-trans-sid \
1698 --enable-shmop=shared \
1699 --enable-sockets=shared \
1700 --enable-sysvmsg=shared \
1701 --enable-sysvsem=shared \
1702 --enable-sysvshm=shared \
1703 --enable-tokenizer=shared \
1704 --enable-track-vars \
1705 %{?with_wddx:--enable-wddx=shared} \
1706 %{!?with_xml:--disable-xml}%{?with_xml:--enable-xml=shared} \
1707 %{?with_xslt:--enable-xslt=shared} \
1708 --enable-yp=shared \
1710 %{?with_cpdf:--with-cpdflib=shared} \
1711 --with-crack=shared \
1712 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1713 --with-db=shared --with-db%{?with_db3:3}%{!?with_db3:4} \
1714 --with-dbase=shared \
1715 %{?with_domxslt:--with-dom-xslt=shared --with-dom-exslt=shared} \
1716 %if %{with xml} || %{with xmlrpc}
1717 --with-expat-dir=shared,/usr \
1719 --without-expat-dir \
1721 %{?with_fdf:--with-fdftk=shared} \
1722 --with-filepro=shared \
1723 --with-freetype-dir=shared \
1724 %{?with_fribidi:--with-fribidi=shared} \
1725 --with-gd=shared,/usr --enable-gd-native-ttf \
1727 --with-gettext=shared \
1729 --with-hyperwave=shared \
1730 --with-iconv=shared \
1731 %{?with_imap:--with-imap=shared --with-imap-ssl --with-kerberos} \
1732 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1733 %{?with_java:--with-java=%{_libdir}/java} \
1734 --with-jpeg-dir=/usr \
1735 %{?with_ldap:--with-ldap=shared} \
1736 --with-mcal=shared,/usr \
1737 --with-mcrypt=shared \
1738 %{?with_mhash:--with-mhash=shared} \
1739 --with-mime-magic=shared,/usr/share/file/magic.mime \
1740 %{?with_ming:--with-ming=shared} \
1741 %{!?with_mnogosearch:--without-mnogosearch}%{?with_mnogosearch:--with-mnogosearch=shared,/usr} \
1742 %{?with_msession:--with-msession=shared}%{!?with_msession:--without-msession} \
1743 %{?with_mssql:--with-mssql=shared} \
1744 --with-mysql=shared,/usr --with-mysql-sock=/var/lib/mysql/mysql.sock \
1745 --with-ncurses=shared \
1746 %{?with_oci8:--with-oci8=shared} \
1747 %{?with_odbc:--with-unixODBC=shared} \
1748 %{?with_openssl:--with-openssl} \
1749 %{?with_oracle:--with-oracle=shared} \
1750 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared,/usr} \
1751 %{?with_pdf:--with-pdflib=shared} \
1752 --with-pear=%{php_pear_dir} \
1753 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1754 --with-png-dir=/usr \
1755 %{?with_qtdom:--with-qtdom=shared} \
1756 --with-readline=shared \
1758 %{?with_snmp:--with-snmp=shared --enable-ucd-snmp-hack} \
1759 %{?with_pspell:--with-pspell=shared} \
1760 %{?with_sybase:--with-sybase-ct=shared,/usr --with-sybase=shared,/usr} \
1761 --with-t1lib=shared \
1762 --with-tiff-dir=/usr \
1763 %{?with_xml:--with-dom=shared} \
1764 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1765 %{?with_xslt:--with-xslt-sablot=shared} --without-sablot-js \
1766 %{?with_yaz:--with-yaz=shared} \
1768 --with-zlib=shared --with-zlib-dir=shared,/usr \
1770 cp -f Makefile Makefile.$sapi
1771 cp -f main/php_config.h php_config.h.$sapi
1774 # must make this first, so modules can link against it.
1775 %{__make} libphp_common.la
1776 # FIXME: needed for linking modules with libphp_common.la
1777 #libtool --mode=install cp libphp_common.la `pwd`/libs
1779 %{__make} build-modules
1782 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp4.la -f Makefile.apxs1
1786 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp4.la -f Makefile.apxs2
1791 cp -af php_config.h.fcgi main/php_config.h
1792 %{__make} sapi/cgi/php -f Makefile.fcgi
1793 cp -r sapi/cgi sapi/fcgi
1794 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1798 cp -af php_config.h.cgi main/php_config.h
1799 %{__make} sapi/cgi/php -f Makefile.cgi
1802 cp -af php_config.h.cli main/php_config.h
1803 %{__make} sapi/cli/php -f Makefile.cli
1806 rm -rf $RPM_BUILD_ROOT
1807 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}} \
1808 $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
1809 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1810 $RPM_BUILD_ROOT{/etc/apache/conf.d,/etc/httpd/httpd.conf} \
1811 $RPM_BUILD_ROOT%{_mandir}/man1
1813 # install the apache modules' files
1814 %{__make} install-headers install-build install-modules install-programs \
1815 INSTALL_ROOT=$RPM_BUILD_ROOT
1817 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1818 # fix install paths, avoid evil rpaths
1819 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
1821 # install apache1 DSO module
1823 libtool --silent --mode=install install sapi/apache/libphp4.la $RPM_BUILD_ROOT%{_libdir}/apache1
1824 rm $RPM_BUILD_ROOT%{_libdir}/apache1/libphp4.la
1827 # install apache2 DSO module
1829 libtool --silent --mode=install install sapi/apache2handler/libphp4.la $RPM_BUILD_ROOT%{_libdir}/apache
1830 rm $RPM_BUILD_ROOT%{_libdir}/apache/libphp4.la
1834 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
1837 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php4.cgi
1841 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php4.fcgi
1845 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php4.cli
1847 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php4.1
1848 ln -sf php4.cli $RPM_BUILD_ROOT%{_bindir}/php4
1849 ln -sf php4.cli $RPM_BUILD_ROOT%{_bindir}/php
1851 %{?with_java:install ext/java/php_java.jar $RPM_BUILD_ROOT%{extensionsdir}}
1853 install php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1855 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1857 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1858 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1861 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
1862 install %{SOURCE3} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php4.conf
1863 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1867 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1868 install %{SOURCE3} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php4.conf
1869 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1872 cp -f Zend/LICENSE{,.Zend}
1874 install ext/ext_skel $RPM_BUILD_ROOT%{_bindir}/php-ext_skel
1876 # Generate stub .ini files for each subpackage
1877 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1878 for so in modules/*.so; do
1879 mod=$(basename $so .so)
1880 conf="%{_sysconfdir}/conf.d/${mod}.ini"
1881 # xml needs to be loaded before wddx
1882 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_${mod}.ini"
1883 cat > $RPM_BUILD_ROOT${conf} <<EOF
1884 ; Enable ${mod} extension module
1889 # per SAPI ini directories
1890 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi,cli,cgi-fcgi,apache,apache2handler}.d
1893 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{ncurses,pcntl,readline}.ini,cli.d}
1895 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
1896 # isn't installed by install-headers make target, we do it manually here.
1897 # this header file is required by e.g. filter PECL extension
1898 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
1901 rm -rf $RPM_BUILD_ROOT
1903 %post -n apache1-mod_php4
1904 if [ "$1" = "1" ]; then
1905 %service -q apache restart
1908 %postun -n apache1-mod_php4
1909 if [ "$1" = "0" ]; then
1910 %service -q apache restart
1913 %post -n apache-mod_php4
1914 if [ "$1" = "1" ]; then
1915 %service -q httpd restart
1918 %postun -n apache-mod_php4
1919 if [ "$1" = "0" ]; then
1920 %service -q httpd restart
1923 # so tired of typing... so decided to create macros
1924 # macro called at extension post scriptlet
1925 %define extension_post \
1926 if [ "$1" = "1" ]; then \
1927 [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart \
1928 [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart \
1931 # macro called at extension postun scriptlet
1932 %define extension_postun \
1933 if [ "$1" = "0" ]; then \
1934 [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart \
1935 [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart \
1938 %post common -p /sbin/ldconfig
1939 %postun common -p /sbin/ldconfig
1942 # minimizing apache restarts logics. we restart webserver:
1944 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1945 # 2. first install of extension (post: $1 = 1)
1946 # 2. uninstall of extension (postun: $1 == 0)
1948 # the strict internal deps between extensions (and apache modules) and
1949 # common package are very important for all this to work.
1951 # restart webserver at the end of transaction
1952 [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart
1953 [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart
1956 %triggerpostun -n apache-mod_php4 -- apache-mod_php4 < 3:4.4.0-2.16, php4 < 3:4.3.11-4.16
1957 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1958 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1959 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1960 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2354 # openssl trigger on common package. it removes shared openssl module from php.ini, if it was there.
2355 %triggerun common -- %{name}-openssl < 3:4.4.0-4
2356 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2358 %triggerun bcmath -- %{name}-bcmath < 3:4.4.0-2.1
2359 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2361 %triggerun bzip2 -- %{name}-bzip2 < 3:4.4.0-2.1
2362 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bz2\.so/d' %{_sysconfdir}/php.ini
2364 %triggerun calendar -- %{name}-calendar < 3:4.4.0-2.1
2365 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2367 %triggerun cpdf -- %{name}-cpdf < 3:4.4.0-2.1
2368 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*cpdf\.so/d' %{_sysconfdir}/php.ini
2370 %triggerun crack -- %{name}-crack < 3:4.4.0-2.1
2371 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*crack\.so/d' %{_sysconfdir}/php.ini
2373 %triggerun ctype -- %{name}-ctype < 3:4.4.0-2.1
2374 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2376 %triggerun curl -- %{name}-curl < 3:4.4.0-2.1
2377 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2379 %triggerun db -- %{name}-db < 3:4.4.0-2.1
2380 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*db\.so/d' %{_sysconfdir}/php.ini
2382 %triggerun dba -- %{name}-dba < 3:4.4.0-2.1
2383 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2385 %triggerun dbase -- %{name}-dbase < 3:4.4.0-2.1
2386 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbase\.so/d' %{_sysconfdir}/php.ini
2388 %triggerun dbx -- %{name}-dbx < 3:4.4.0-2.1
2389 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbx\.so/d' %{_sysconfdir}/php.ini
2391 %triggerun dio -- %{name}-dio < 3:4.4.0-2.1
2392 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dio\.so/d' %{_sysconfdir}/php.ini
2394 %triggerun domxml -- %{name}-domxml < 3:4.4.0-2.1
2395 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*domxml\.so/d' %{_sysconfdir}/php.ini
2397 %triggerun exif -- %{name}-exif < 3:4.4.0-2.1
2398 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2400 %triggerun fdf -- %{name}-fdf < 3:4.4.0-2.1
2401 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2403 %triggerun filepro -- %{name}-filepro < 3:4.4.0-2.1
2404 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*filepro\.so/d' %{_sysconfdir}/php.ini
2406 %triggerun fribidi -- %{name}-fribidi < 3:4.4.0-2.1
2407 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fribidi\.so/d' %{_sysconfdir}/php.ini
2409 %triggerun ftp -- %{name}-ftp < 3:4.4.0-2.1
2410 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2412 %triggerun gd -- %{name}-gd < 3:4.4.0-2.1
2413 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2415 %triggerun gettext -- %{name}-gettext < 3:4.4.0-2.1
2416 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2418 %triggerun gmp -- %{name}-gmp < 3:4.4.0-2.1
2419 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2421 %triggerun hyperwave -- %{name}-hyperwave < 3:4.4.0-2.1
2422 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*hyperwave\.so/d' %{_sysconfdir}/php.ini
2424 %triggerun iconv -- %{name}-iconv < 3:4.4.0-2.1
2425 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2427 %triggerun imap -- %{name}-imap < 3:4.4.0-2.1
2428 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2430 %triggerun interbase -- %{name}-interbase < 3:4.4.0-2.1
2431 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2433 %triggerun java -- %{name}-java < 3:4.4.0-2.1
2434 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*java\.so/d' %{_sysconfdir}/php.ini
2436 %triggerun ldap -- %{name}-ldap < 3:4.4.0-2.1
2437 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2439 %triggerun mbstring -- %{name}-mbstring < 3:4.4.0-2.1
2440 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2442 %triggerun mcal -- %{name}-mcal < 3:4.4.0-2.1
2443 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcal\.so/d' %{_sysconfdir}/php.ini
2445 %triggerun mcrypt -- %{name}-mcrypt < 3:4.4.0-2.1
2446 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2448 %triggerun mhash -- %{name}-mhash < 3:4.4.0-2.1
2449 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mhash\.so/d' %{_sysconfdir}/php.ini
2451 %triggerun mime_magic -- %{name}-mime_magic < 3:4.4.0-2.1
2452 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mime_magic\.so/d' %{_sysconfdir}/php.ini
2454 %triggerun ming -- %{name}-ming < 3:4.4.0-2.1
2455 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ming\.so/d' %{_sysconfdir}/php.ini
2457 %triggerun mnogosearch -- %{name}-mnogosearch < 3:4.4.0-2.1
2458 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mnogosearch\.so/d' %{_sysconfdir}/php.ini
2460 %triggerun msession -- %{name}-msession < 3:4.4.0-2.1
2461 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*msession\.so/d' %{_sysconfdir}/php.ini
2463 %triggerun mssql -- %{name}-mssql < 3:4.4.0-2.1
2464 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2466 %triggerun mysql -- %{name}-mysql < 3:4.4.0-2.1
2467 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2469 %triggerun ncurses -- %{name}-ncurses < 3:4.4.2-9.4
2470 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2471 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cgi.ini
2473 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2474 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cli.ini
2477 %triggerun oci8 -- %{name}-oci8 < 3:4.4.0-2.1
2478 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2480 %triggerun odbc -- %{name}-odbc < 3:4.4.0-2.1
2481 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2483 %triggerun oracle -- %{name}-oracle < 3:4.4.0-2.1
2484 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oracle\.so/d' %{_sysconfdir}/php.ini
2486 %triggerun overload -- %{name}-overload < 3:4.4.0-2.1
2487 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*overload\.so/d' %{_sysconfdir}/php.ini
2489 %triggerun pcntl -- %{name}-pcntl < 3:4.4.2-9.4
2490 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2491 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2493 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2494 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2497 %triggerun pcre -- %{name}-pcre < 3:4.4.0-2.1
2498 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcre\.so/d' %{_sysconfdir}/php.ini
2500 %triggerun pdf -- %{name}-pdf < 3:4.4.0-2.1
2501 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pdf\.so/d' %{_sysconfdir}/php.ini
2503 %triggerun pgsql -- %{name}-pgsql < 3:4.4.0-2.1
2504 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2506 %triggerun posix -- %{name}-posix < 3:4.4.0-2.1
2507 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2509 %triggerun pspell -- %{name}-pspell < 3:4.4.0-2.1
2510 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2512 %triggerun qtdom -- %{name}-qtdom < 3:4.4.0-2.1
2513 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*qtdom\.so/d' %{_sysconfdir}/php.ini
2515 %triggerun readline -- %{name}-readline < 3:4.4.2-9.4
2516 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2517 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2519 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2520 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2523 %triggerun recode -- %{name}-recode < 3:4.4.0-2.1
2524 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2526 %triggerun shmop -- %{name}-shmop < 3:4.4.0-2.1
2527 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2529 %triggerun snmp -- %{name}-snmp < 3:4.4.0-2.1
2530 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2532 %triggerun sockets -- %{name}-sockets < 3:4.4.0-2.1
2533 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2535 %triggerun sybase -- %{name}-sybase < 3:4.4.0-2.1
2536 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase\.so/d' %{_sysconfdir}/php.ini
2538 %triggerun sybase-ct -- %{name}-sybase-ct < 3:4.4.0-2.1
2539 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase_ct\.so/d' %{_sysconfdir}/php.ini
2541 %triggerun sysvmsg -- %{name}-sysvmsg < 3:4.4.0-2.1
2542 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2544 %triggerun sysvsem -- %{name}-sysvsem < 3:4.4.0-2.1
2545 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2547 %triggerun sysvshm -- %{name}-sysvshm < 3:4.4.0-2.1
2548 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2550 %triggerun wddx -- %{name}-wddx < 3:4.4.0-2.1
2551 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2553 %triggerun xml -- %{name}-xml < 3:4.4.0-2.1
2554 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2556 %triggerun xmlrpc -- %{name}-xmlrpc < 3:4.4.0-2.1
2557 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2559 %triggerun xslt -- %{name}-xslt < 3:4.4.0-2.1
2560 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xslt\.so/d' %{_sysconfdir}/php.ini
2562 %triggerun yaz -- %{name}-yaz < 3:4.4.0-2.1
2563 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*yaz\.so/d' %{_sysconfdir}/php.ini
2565 %triggerun yp -- %{name}-yp < 3:4.4.0-2.1
2566 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*yp\.so/d' %{_sysconfdir}/php.ini
2568 %triggerun zip -- %{name}-zip < 3:4.4.0-2.1
2569 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zip\.so/d' %{_sysconfdir}/php.ini
2571 %triggerun zlib -- %{name}-zlib < 3:4.4.0-2.1
2572 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2575 %files -n apache1-mod_php4
2576 %defattr(644,root,root,755)
2577 %doc sapi/apache/CREDITS
2578 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php4.conf
2579 %dir %{_sysconfdir}/apache.d
2580 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2581 %attr(755,root,root) %{_libdir}/apache1/libphp4.so
2582 /home/services/apache/icons/*
2586 %files -n apache-mod_php4
2587 %defattr(644,root,root,755)
2588 %doc sapi/apache2handler/{CREDITS,README}
2589 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php4.conf
2590 %dir %{_sysconfdir}/apache2handler.d
2591 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2592 %attr(755,root,root) %{_libdir}/apache/libphp4.so
2593 /home/services/httpd/icons/*
2598 %defattr(644,root,root,755)
2599 %doc sapi/cgi/{CREDITS,README.FastCGI}
2600 %attr(755,root,root) %{_bindir}/php4.fcgi
2601 %dir %{_sysconfdir}/cgi-fcgi.d
2602 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2606 %defattr(644,root,root,755)
2607 %doc sapi/cgi/CREDITS
2608 %attr(755,root,root) %{_bindir}/php4.cgi
2609 %dir %{_sysconfdir}/cgi.d
2610 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2613 %defattr(644,root,root,755)
2614 %doc sapi/cli/{CREDITS,README}
2615 %attr(755,root,root) %{_bindir}/php4.cli
2616 %attr(755,root,root) %{_bindir}/php4
2617 %dir %{_sysconfdir}/cli.d
2618 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2619 %{_mandir}/man1/php4.1*
2622 %defattr(644,root,root,755)
2623 %attr(755,root,root) %{_bindir}/php
2626 %defattr(644,root,root,755)
2628 %doc CREDITS Zend/ZEND_CHANGES
2629 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2632 %dir %{_sysconfdir}/conf.d
2633 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2634 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2635 %dir %{extensionsdir}
2638 %defattr(644,root,root,755)
2639 %doc README.UNIX-BUILD-SYSTEM
2640 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2641 %doc CODING_STANDARDS
2642 %attr(755,root,root) %{_bindir}/phpize
2643 %attr(755,root,root) %{_bindir}/php-config
2644 %attr(755,root,root) %{_bindir}/php-ext_skel
2645 %attr(755,root,root) %{_libdir}/libphp_common.so
2646 # FIXME: how exactly this is needed? as it contains libdir for apache1 or apache2
2647 %{_libdir}/libphp_common.la
2649 %{_libdir}/php/build
2650 %{_mandir}/man1/php-config.1*
2651 %{_mandir}/man1/phpize.1*
2654 %defattr(644,root,root,755)
2655 %doc ext/bcmath/CREDITS
2656 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2657 %attr(755,root,root) %{extensionsdir}/bcmath.so
2660 %defattr(644,root,root,755)
2661 %doc ext/bz2/CREDITS
2662 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2663 %attr(755,root,root) %{extensionsdir}/bz2.so
2666 %defattr(644,root,root,755)
2667 %doc ext/calendar/CREDITS
2668 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2669 %attr(755,root,root) %{extensionsdir}/calendar.so
2673 %defattr(644,root,root,755)
2674 %doc ext/cpdf/CREDITS
2675 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/cpdf.ini
2676 %attr(755,root,root) %{extensionsdir}/cpdf.so
2680 %defattr(644,root,root,755)
2681 %doc ext/crack/CREDITS
2682 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/crack.ini
2683 %attr(755,root,root) %{extensionsdir}/crack.so
2686 %defattr(644,root,root,755)
2687 %doc ext/ctype/{CREDITS,README}
2688 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2689 %attr(755,root,root) %{extensionsdir}/ctype.so
2693 %defattr(644,root,root,755)
2694 %doc ext/curl/CREDITS
2695 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2696 %attr(755,root,root) %{extensionsdir}/curl.so
2700 %defattr(644,root,root,755)
2702 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/db.ini
2703 %attr(755,root,root) %{extensionsdir}/db.so
2706 %defattr(644,root,root,755)
2707 %doc ext/dba/{CREDITS,README}
2708 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2709 %attr(755,root,root) %{extensionsdir}/dba.so
2712 %defattr(644,root,root,755)
2713 %doc ext/dbase/CREDITS
2714 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2715 %attr(755,root,root) %{extensionsdir}/dbase.so
2718 %defattr(644,root,root,755)
2719 %doc ext/dbx/{CREDITS,howto_extend_dbx.html}
2720 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbx.ini
2721 %attr(755,root,root) %{extensionsdir}/dbx.so
2724 %defattr(644,root,root,755)
2725 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dio.ini
2726 %attr(755,root,root) %{extensionsdir}/dio.so
2730 %defattr(644,root,root,755)
2731 %doc ext/domxml/{CREDITS,TODO}
2732 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/domxml.ini
2733 %attr(755,root,root) %{extensionsdir}/domxml.so
2738 %defattr(644,root,root,755)
2739 %doc ext/fdf/CREDITS
2740 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2741 %attr(755,root,root) %{extensionsdir}/fdf.so
2745 %defattr(644,root,root,755)
2746 %doc ext/exif/CREDITS
2747 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2748 %attr(755,root,root) %{extensionsdir}/exif.so
2751 %defattr(644,root,root,755)
2752 %doc ext/filepro/CREDITS
2753 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filepro.ini
2754 %attr(755,root,root) %{extensionsdir}/filepro.so
2758 %defattr(644,root,root,755)
2759 %doc ext/fribidi/{CREDITS,README}
2760 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fribidi.ini
2761 %attr(755,root,root) %{extensionsdir}/fribidi.so
2765 %defattr(644,root,root,755)
2766 %doc ext/ftp/CREDITS
2767 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2768 %attr(755,root,root) %{extensionsdir}/ftp.so
2771 %defattr(644,root,root,755)
2773 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2774 %attr(755,root,root) %{extensionsdir}/gd.so
2777 %defattr(644,root,root,755)
2778 %doc ext/gettext/CREDITS
2779 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2780 %attr(755,root,root) %{extensionsdir}/gettext.so
2783 %defattr(644,root,root,755)
2784 %doc ext/gmp/{CREDITS,README,TODO}
2785 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2786 %attr(755,root,root) %{extensionsdir}/gmp.so
2789 %defattr(644,root,root,755)
2790 %doc ext/hyperwave/CREDITS
2791 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hyperwave.ini
2792 %attr(755,root,root) %{extensionsdir}/hyperwave.so
2795 %defattr(644,root,root,755)
2796 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2797 %attr(755,root,root) %{extensionsdir}/iconv.so
2801 %defattr(644,root,root,755)
2802 %doc ext/imap/CREDITS
2803 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2804 %attr(755,root,root) %{extensionsdir}/imap.so
2807 %if %{with interbase}
2809 %defattr(644,root,root,755)
2810 %doc ext/interbase/CREDITS
2811 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2812 %attr(755,root,root) %{extensionsdir}/interbase.so
2817 %defattr(644,root,root,755)
2818 %doc ext/java/{CREDITS,README}
2819 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/java.ini
2820 %attr(755,root,root) %{extensionsdir}/java.so
2821 %{extensionsdir}/php_java.jar
2826 %defattr(644,root,root,755)
2827 %doc ext/ldap/CREDITS
2828 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2829 %attr(755,root,root) %{extensionsdir}/ldap.so
2833 %defattr(644,root,root,755)
2834 %doc ext/mbstring/{CREDITS,README,README.libmbfl}
2835 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2836 %attr(755,root,root) %{extensionsdir}/mbstring.so
2839 %defattr(644,root,root,755)
2840 %doc ext/mcal/CREDITS
2841 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcal.ini
2842 %attr(755,root,root) %{extensionsdir}/mcal.so
2845 %defattr(644,root,root,755)
2846 %doc ext/mcrypt/{CREDITS,TODO}
2847 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2848 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2852 %defattr(644,root,root,755)
2853 %doc ext/mhash/CREDITS
2854 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2855 %attr(755,root,root) %{extensionsdir}/mhash.so
2859 %defattr(644,root,root,755)
2860 %doc ext/mime_magic/{CREDITS,TODO}
2861 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2862 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2866 %defattr(644,root,root,755)
2867 %doc ext/ming/CREDITS
2868 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2869 %attr(755,root,root) %{extensionsdir}/ming.so
2872 %if %{with mnogosearch}
2874 %defattr(644,root,root,755)
2875 %doc ext/mnogosearch/{CREDITS,README}
2876 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mnogosearch.ini
2877 %attr(755,root,root) %{extensionsdir}/mnogosearch.so
2880 %if %{with msession}
2882 %defattr(644,root,root,755)
2883 %doc ext/msession/{CREDITS,README,msession-test.php}
2884 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/msession.ini
2885 %attr(755,root,root) %{extensionsdir}/msession.so
2890 %defattr(644,root,root,755)
2891 %doc ext/mssql/CREDITS
2892 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2893 %attr(755,root,root) %{extensionsdir}/mssql.so
2897 %defattr(644,root,root,755)
2898 %doc ext/mysql/CREDITS
2899 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2900 %attr(755,root,root) %{extensionsdir}/mysql.so
2903 %defattr(644,root,root,755)
2904 %doc ext/ncurses/CREDITS
2905 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/ncurses.ini
2906 %attr(755,root,root) %{extensionsdir}/ncurses.so
2910 %defattr(644,root,root,755)
2911 %doc ext/oci8/CREDITS
2912 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2913 %attr(755,root,root) %{extensionsdir}/oci8.so
2918 %defattr(644,root,root,755)
2919 %doc ext/odbc/CREDITS
2920 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2921 %attr(755,root,root) %{extensionsdir}/odbc.so
2926 %defattr(644,root,root,755)
2927 %doc ext/oracle/CREDITS
2928 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oracle.ini
2929 %attr(755,root,root) %{extensionsdir}/oracle.so
2933 %defattr(644,root,root,755)
2934 %doc ext/overload/{CREDITS,README}
2935 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/overload.ini
2936 %attr(755,root,root) %{extensionsdir}/overload.so
2939 %defattr(644,root,root,755)
2940 %doc ext/pcntl/{CREDITS,README}
2941 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2942 %attr(755,root,root) %{extensionsdir}/pcntl.so
2946 %defattr(644,root,root,755)
2947 %doc ext/pcre/CREDITS
2948 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcre.ini
2949 %attr(755,root,root) %{extensionsdir}/pcre.so
2954 %defattr(644,root,root,755)
2955 %doc ext/pdf/CREDITS
2956 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdf.ini
2957 %attr(755,root,root) %{extensionsdir}/pdf.so
2962 %defattr(644,root,root,755)
2963 %doc ext/pgsql/{CREDITS,README}
2964 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2965 %attr(755,root,root) %{extensionsdir}/pgsql.so
2969 %defattr(644,root,root,755)
2970 %doc ext/posix/CREDITS
2971 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2972 %attr(755,root,root) %{extensionsdir}/posix.so
2976 %defattr(644,root,root,755)
2977 %doc ext/overload/{CREDITS,README}
2978 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2979 %attr(755,root,root) %{extensionsdir}/pspell.so
2984 %defattr(644,root,root,755)
2985 %doc ext/qtdom/CREDITS
2986 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/qtdom.ini
2987 %attr(755,root,root) %{extensionsdir}/qtdom.so
2991 %defattr(644,root,root,755)
2992 %doc ext/readline/{CREDITS,README.libedit}
2993 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2994 %attr(755,root,root) %{extensionsdir}/readline.so
2998 %defattr(644,root,root,755)
2999 %doc ext/recode/CREDITS
3000 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3001 %attr(755,root,root) %{extensionsdir}/recode.so
3004 # session_mm doesn't work with shared session
3006 #%defattr(644,root,root,755)
3007 #%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/session.ini
3008 #%attr(755,root,root) %{extensionsdir}/session.so
3011 %defattr(644,root,root,755)
3012 %doc ext/shmop/{CREDITS,README}
3013 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3014 %attr(755,root,root) %{extensionsdir}/shmop.so
3018 %defattr(644,root,root,755)
3019 %doc ext/snmp/CREDITS
3020 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3021 %attr(755,root,root) %{extensionsdir}/snmp.so
3025 %defattr(644,root,root,755)
3026 %doc ext/sockets/CREDITS
3027 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3028 %attr(755,root,root) %{extensionsdir}/sockets.so
3032 %defattr(644,root,root,755)
3033 %doc ext/sybase/CREDITS
3034 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
3035 %attr(755,root,root) %{extensionsdir}/sybase.so
3038 %defattr(644,root,root,755)
3039 %doc ext/sybase_ct/CREDITS
3040 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3041 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
3045 %defattr(644,root,root,755)
3046 %doc ext/sysvmsg/CREDITS
3047 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3048 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
3051 %defattr(644,root,root,755)
3052 %doc ext/sysvsem/CREDITS
3053 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3054 %attr(755,root,root) %{extensionsdir}/sysvsem.so
3057 %defattr(644,root,root,755)
3058 %doc ext/sysvshm/CREDITS
3059 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3060 %attr(755,root,root) %{extensionsdir}/sysvshm.so
3063 %defattr(644,root,root,755)
3064 %doc ext/tokenizer/{CREDITS,tokenizer.php}
3065 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3066 %attr(755,root,root) %{extensionsdir}/tokenizer.so
3070 %defattr(644,root,root,755)
3071 %doc ext/wddx/CREDITS
3072 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3073 %attr(755,root,root) %{extensionsdir}/wddx.so
3078 %defattr(644,root,root,755)
3079 %doc ext/xml/CREDITS
3080 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3081 %attr(755,root,root) %{extensionsdir}/xml.so
3086 %defattr(644,root,root,755)
3087 %doc ext/xmlrpc/CREDITS
3088 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3089 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
3094 %defattr(644,root,root,755)
3095 %doc ext/xslt/{README.XSLT-BACKENDS,TODO}
3096 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xslt.ini
3097 %attr(755,root,root) %{extensionsdir}/xslt.so
3102 %defattr(644,root,root,755)
3103 %doc ext/yaz/{CREDITS,README}
3104 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/yaz.ini
3105 %attr(755,root,root) %{extensionsdir}/yaz.so
3109 %defattr(644,root,root,755)
3111 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/yp.ini
3112 %attr(755,root,root) %{extensionsdir}/yp.so
3115 %defattr(644,root,root,755)
3116 %doc ext/zip/CREDITS
3117 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3118 %attr(755,root,root) %{extensionsdir}/zip.so
3121 %defattr(644,root,root,755)
3122 %doc ext/zlib/CREDITS
3123 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3124 %attr(755,root,root) %{extensionsdir}/zlib.so