2 # - think of including support for:
6 # These extensions BuildRequires proprietary libraries...
7 # - deal with modules removed from php and not moved to PECL
8 # (existing only in php4):
9 # db, hyperwave, java, mcal, overload, qtdom
10 # and removed from php 5.1:
11 # cpdf, fam, yp, oracle
12 # and removed from php 5.2:
14 # - mime_magic can't handle new "string/*" entries in magic.mime
15 # thus doesn't work with system magic.mime databse
16 # - make additional headers added by mail patch configurable
17 # - apply -hardened patch by default ?
18 # - modularize session, standard (output from pure php -m)?
21 %bcond_with db3 # use db3 packages instead of db (4.x) for Berkeley DB support
22 %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary lib)
23 %bcond_with hardening # build with hardening patch applied (http://www.hardened-php.net/)
24 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
25 %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
26 %bcond_without curl # without CURL extension module
27 %bcond_without imap # without IMAP extension module
28 %bcond_with interbase # with 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 mssql # without MS SQL extension module
34 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
35 %bcond_without mime_magic # without mime-magic 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 pgsql # without PostgreSQL extension module
40 %bcond_without pspell # without pspell extension module
41 %bcond_without recode # without recode extension module
42 %bcond_without snmp # without SNMP extension module
43 %bcond_without sqlite # without SQLite extension module
44 %bcond_without sybase # without Sybase extension module
45 %bcond_without sybase_ct # without Sybase-CT extension module
46 %bcond_without tidy # without Tidy extension module
47 %bcond_without wddx # without WDDX extension module
48 %bcond_without xmlrpc # without XML-RPC extension module
49 %bcond_without apache1 # disable building apache 1.3.x module
50 %bcond_without apache2 # disable building apache 2.x module
51 %bcond_without fcgi # disable building FCGI SAPI
52 %bcond_without zts # disable experimental-zts
53 %bcond_with versioning # build with experimental versioning (to load php4/php5 into same apache)
55 %define apxs1 /usr/sbin/apxs1
56 %define apxs2 /usr/sbin/apxs
58 # some problems with apache 2.x
63 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
64 %undefine with_interbase
67 %if %{without apache1} && %{without apache2}
68 ERROR: You need to select at least one Apache SAPI to build shared modules.
72 Summary: PHP: Hypertext Preprocessor
73 Summary(fr): Le langage de script embarque-HTML PHP
74 Summary(pl): Jêzyk skryptowy PHP
75 Summary(pt_BR): A linguagem de script PHP
76 Summary(ru): PHP ÷ÅÒÓÉÉ 5 - ÑÚÙË ÐÒÅÐÒÏÃÅÓÓÉÒÏ×ÁÎÉÑ HTML-ÆÁÊÌÏ×, ×ÙÐÏÌÎÑÅÍÙÊ ÎÁ ÓÅÒ×ÅÒÅ
77 Summary(uk): PHP ÷ÅÒÓ¦§ 5 - ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
80 Release: %{_rel}%{?with_hardening:hardened}
84 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
85 # Source0-md5: e6029fafcee029edcfa2ceed7a005333
87 Source3: %{name}-mod_%{name}.conf
88 Source4: %{name}-cgi-fcgi.ini
89 Source5: %{name}-cgi.ini
90 Source6: %{name}-apache.ini
91 Source7: %{name}-cli.ini
92 Source8: http://www.hardened-php.net/hardening-patch-5.0.4-0.3.0.patch.gz
93 # Source8-md5: 47a742fa9fab2826ad10c13a2376111a
94 Patch0: %{name}-shared.patch
95 Patch1: %{name}-pldlogo.patch
96 Patch2: %{name}-mail.patch
97 Patch3: %{name}-link-libs.patch
98 Patch4: %{name}-libpq_fs_h_path.patch
99 Patch6: %{name}-build_modules.patch
100 Patch7: %{name}-sapi-ini-file.patch
101 Patch8: %{name}-no-metaccld.patch
102 Patch9: %{name}-reflection.patch
103 Patch10: %{name}-ini.patch
104 Patch11: %{name}-acam.patch
105 Patch14: %{name}-allow-db31.patch
106 Patch15: %{name}-threads-acfix.patch
107 Patch16: %{name}-tsrmlsfetchgcc2.patch
108 Patch17: %{name}-no_pear_install.patch
109 Patch18: %{name}-zlib.patch
110 Patch19: %{name}-sybase-fix.patch
111 Patch20: %{name}-readline.patch
112 Patch21: %{name}-nohttpd.patch
113 Patch23: %{name}-gd_imagerotate_enable.patch
114 Patch24: %{name}-uint32_t.patch
115 Patch26: %{name}-dba-link.patch
116 Patch30: %{name}-hardening-fix.patch
117 Patch31: %{name}-both-apxs.patch
118 Patch32: %{name}-builddir.patch
119 Patch33: %{name}-zlib-for-getimagesize.patch
120 Patch35: %{name}-versioning.patch
121 Patch36: %{name}-linkflags-clean.patch
122 Patch38: %{name}-amd64.patch
123 Patch39: %{name}-pear.patch
124 URL: http://www.php.net/
125 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
126 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
127 BuildRequires: autoconf >= 2.53
128 BuildRequires: automake >= 1.4d
130 BuildRequires: bzip2-devel
131 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
132 BuildRequires: cyrus-sasl-devel
133 %{!?with_db3:BuildRequires: db-devel >= 4.0}
134 %{?with_db3:BuildRequires: db3-devel >= 3.1}
135 BuildRequires: elfutils-devel
137 BuildRequires: expat-devel
139 %{?with_fcgi:BuildRequires: fcgi-devel}
140 %{?with_fdf:BuildRequires: fdftk-devel}
142 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
143 BuildRequires: freetds-devel
145 BuildRequires: freetype-devel >= 2.0
146 BuildRequires: gd-devel >= 2.0.28-4
147 BuildRequires: gdbm-devel
148 BuildRequires: gmp-devel
149 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
150 BuildRequires: libjpeg-devel
151 BuildRequires: libltdl-devel >= 1.4
152 BuildRequires: libmcrypt-devel >= 2.4.4
153 BuildRequires: libpng-devel >= 1.0.8
154 BuildRequires: libtiff-devel
155 BuildRequires: libtool >= 1.4.3
156 BuildRequires: libwrap-devel
157 BuildRequires: libxml2-devel >= 2.5.10
158 BuildRequires: libxslt-devel >= 1.1.0
159 %{?with_mhash:BuildRequires: mhash-devel}
160 %{?with_ming:BuildRequires: ming-devel >= 0.2a-11}
161 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
162 BuildRequires: mysql-devel >= 4.0.0
163 %{?with_mysqli:BuildRequires: mysql-devel >= 4.1.0}
164 BuildRequires: ncurses-ext-devel
165 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
166 %if %{with openssl} || %{with ldap}
167 BuildRequires: openssl-devel >= 0.9.7d
169 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
170 BuildRequires: pam-devel
171 %{?with_pcre:BuildRequires: pcre-devel >= 6.6}
172 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
173 %{?with_pgsql:BuildRequires: postgresql-devel}
174 BuildRequires: readline-devel
175 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
176 BuildRequires: rpm-build >= 4.4.0
177 BuildRequires: rpmbuild(macros) >= 1.238
178 %{?with_sqlite:BuildRequires: sqlite-devel}
179 %{?with_sqlite:BuildRequires: sqlite3-devel}
180 BuildRequires: t1lib-devel
181 %{?with_tidy:BuildRequires: tidy-devel}
182 %{?with_odbc:BuildRequires: unixODBC-devel}
183 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
184 BuildRequires: zlib-devel >= 1.0.9
186 BuildRequires: apache1-devel
189 BuildRequires: apache-devel >= 2.0.52-2
190 BuildRequires: apr-devel >= 1:1.0.0
191 BuildRequires: apr-util-devel >= 1:1.0.0
193 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
195 %define _sysconfdir /etc/php
196 %define extensionsdir %{_libdir}/php
198 # must be in sync with source. extra check ensuring that it is so is done in %%build
199 %define php_api_version 20041225
200 %define zend_module_api 20060613
201 %define zend_extension_api 220060519
202 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
203 %define php_debug %{!?debug:0}%{?debug:1}
206 PHP is an HTML-embedded scripting language. PHP attempts to make it
207 easy for developers to write dynamically generated web pages. PHP also
208 offers built-in database integration for several commercial and
209 non-commercial database management systems, so writing a
210 database-enabled web page with PHP is fairly simple. The most common
211 use of PHP coding is probably as a replacement for CGI scripts. The
212 mod_php module enables the Apache web server to understand and process
213 the embedded PHP language in web pages. This package contains php
214 version %{version}. If you use applications which specifically rely on
215 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
216 module contained in the phpfi package. If you're just starting with
217 PHP, you should install this package. You'll also need to install the
221 PHP est un langage de script embarque dans le HTM. PHP essaye de
222 rendre simple aux developpeurs d'ecrire des pages web generees
223 dynamiquement. PHP incorpore egalement une integration avec plusieurs
224 systemes de gestion de bases de donnees commerciaux et
225 non-connerciaux, qui rent facile la creation de pages web liees avec
226 des bases de donnees. L'utilisation la plus commune de PHP est
227 probablement en remplacement de scripts CGI. Le module mod_php permet
228 au serveur web apache de comprendre et de traiter le langage PHP
229 integre dans des pages web. Ce package contient php version
230 %{version}. Si vous utilisez des applications qui utilisent
231 specifiquement PHP/FI, vous devrez installer le module PHP/FI inclus
232 dans le package mod_php. Si vous debutez avec PHP, vous devriez
233 installer ce package. Vous aurez egalement besoin dinstaller le
237 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
238 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
239 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
240 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
241 zosta³a z jêzyków: C, Java i Perl.
243 %description -l pt_BR
244 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
245 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
246 com algumas características únicas, específicas ao PHP. O objetivo da
247 linguagem é permitir que desenvolvedores web escrevam páginas
248 dinamicamente geradas de forma rápida.
251 PHP - ÜÔÏ ÑÚÙË ÎÁÐÉÓÁÎÉÑ ÓËÒÉÐÔÏ×, ×ÓÔÒÁÉ×ÁÅÍÙÈ × HTML-ËÏÄ. PHP
252 ÐÒÅÄÌÁÇÁÅÔ ÉÎÔÅÒÇÒÁÃÉÀ Ó ÍÎÏÖÅÓÔ×ÏÍ óõâä, ÐÏÜÔÏÍÕ ÎÁÐÉÓÁÎÉÅ ÓËÒÉÐÔÏ×
253 ÄÌÑ ÒÁÂÏÔÙ Ó ÂÁÚÁÍÉ ÄÁÎÎÙÈ ÏÔÎÏÓÉÔÅÌØÎÏ ÐÒÏÓÔÏ. îÁÉÂÏÌÅÅ ÐÏÐÕÌÑÒÎÏÅ
254 ÉÓÐÏÌØÚÏ×ÁÎÉÅ PHP - ÚÁÍÅÎÁ ÄÌÑ CGI ÓËÒÉÐÔÏ×.
256 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÁÍÏÄÏÓÔÁÔÏÞÎÕÀ (CGI) ×ÅÒÓÉÀ ÉÎÔÅÒÐÒÅÔÁÔÏÒÁ ÑÚÙËÁ.
257 ÷Ù ÄÏÌÖÎÙ ÔÁËÖÅ ÕÓÔÁÎÏ×ÉÔØ ÐÁËÅÔ %{name}-common. åÓÌÉ ×ÁÍ ÎÕÖÅÎ
258 ÉÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache, ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ
262 PHP - ÃÅ ÍÏ×Á ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦×, ÝÏ ×ÂÕÄÏ×ÕÀÔØÓÑ × HTML-ËÏÄ. PHP
263 ÐÒÏÐÏÎÕ¤ ¦ÎÔÅÇÒÁæÀ Ú ÂÁÇÁÔØÍÁ óõâä, ÔÏÍÕ ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦× ÄÌÑ
264 ÒÏÂÏÔÉ Ú ÂÁÚÁÍÉ ÄÁÎÉÈ ¤ ÄÏ×Ï̦ ÐÒÏÓÔÉÍ. îÁʦÌØÛ ÐÏÐÕÌÑÒÎÅ
265 ×ÉËÏÒÉÓÔÁÎÎÑ PHP - ÚÁͦÎÁ ÄÌÑ CGI ÓËÒÉÐÔ¦×.
267 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÁÍÏÄÏÓÔÁÔÎÀ (CGI) ×ÅÒÓ¦À ¦ÎÔÅÒÐÒÅÔÁÔÏÒÁ ÍÏ×É. ÷É
268 ÍÁ¤ÔÅ ÔÁËÏÖ ×ÓÔÁÎÏ×ÉÔÉ ÐÁËÅÔ %{name}-common. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÅÎ
269 ¦ÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache, ×ÓÔÁÎÏצÔØ ÐÁËÅÔ apache-php.
271 %package -n apache1-mod_php
272 Summary: PHP DSO module for apache 1.3.x
273 Summary(pl): Modu³ DSO (Dynamic Shared Object) php dla apache 1.3.x
274 Group: Development/Languages/PHP
275 Requires(triggerpostun): sed >= 4.0
276 Requires: %{name}-common = %{epoch}:%{version}-%{release}
277 Requires: apache1(EAPI) >= 1.3.33-2
278 Requires: apache1-mod_mime
279 Provides: php = %{epoch}:%{version}-%{release}
280 Obsoletes: apache-mod_php < 1:4.1.1
283 %description -n apache1-mod_php
284 PHP as DSO module for apache 1.3.x.
286 %description -n apache1-mod_php -l pl
287 php jako modu³ DSO (Dynamic Shared Object) dla apache 1.3.x.
289 %package -n apache-mod_php
290 Summary: PHP DSO module for apache 2.x
291 Summary(pl): Modu³ DSO (Dynamic Shared Object) php dla apache 2.x
292 Group: Development/Languages/PHP
293 Requires: %{name}-common = %{epoch}:%{version}-%{release}
294 Requires: apache(modules-api) = %{apache_modules_api}
295 Requires: apache-mod_mime
296 Provides: php = %{epoch}:%{version}-%{release}
299 %description -n apache-mod_php
300 PHP as DSO module for apache 2.x.
302 %description -n apache-mod_php -l pl
303 php jako modu³ DSO (Dynamic Shared Object) dla apache 2.x.
306 Summary: php as FastCGI program
307 Summary(pl): php jako program FastCGI
308 Group: Development/Languages/PHP
309 Requires: %{name}-common = %{epoch}:%{version}-%{release}
310 Provides: php = %{epoch}:%{version}-%{release}
313 php as FastCGI program.
315 %description fcgi -l pl
316 php jako program FastCGI.
319 Summary: php as CGI program
320 Summary(pl): php jako program CGI
321 Group: Development/Languages/PHP
322 Requires: %{name}-common = %{epoch}:%{version}-%{release}
327 %description cgi -l pl
328 php jako program CGI.
331 Summary: php as CLI interpreter
332 Summary(pl): php jako interpreter dzia³aj±cy z linii poleceñ
333 Group: Development/Languages/PHP
334 Requires: %{name}-common = %{epoch}:%{version}-%{release}
337 php as CLI interpreter.
339 %description cli -l pl
340 php jako interpreter dzia³aj±cy z linii poleceñ.
343 Summary: /usr/bin/php symlink
344 Summary(pl): Dowi±zanie symboliczne /usr/bin/php
345 Group: Development/Languages/PHP
346 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
347 Obsoletes: /usr/bin/php
350 Package providing /usr/bin/php symlink to PHP CLI.
352 %description program -l pl
353 Pakiet dostarczaj±cy dowi±zanie symboliczne /usr/bin/php do PHP CLI.
356 Summary: Common files needed by both apache module and CGI
357 Summary(pl): Wspólne pliki dla modu³u apache'a i programu CGI
358 Summary(ru): òÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ php
359 Summary(uk): â¦Â̦ÏÔÅËÉ ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÄÌÑ php
361 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
362 Requires: glibc >= 6:2.3.5
364 Provides: %{name}-libxml = %{epoch}:%{version}-%{release}
365 Provides: %{name}-overload = %{epoch}:%{version}-%{release}
366 Provides: %{name}-session = %{epoch}:%{version}-%{release}
367 Provides: %{name}-simplexml = %{epoch}:%{version}-%{release}
368 Provides: %{name}-spl = %{epoch}:%{version}-%{release}
369 Provides: %{name}-standard = %{epoch}:%{version}-%{release}
370 %{?with_pcre:Provides: %{name}-pcre = %{epoch}:%{version}-%{release}}
371 Provides: php(modules_api) = %{php_api_version}
372 Provides: php(zend_extension_api) = %{zend_extension_api}
373 Provides: php(zend_module_api) = %{zend_module_api}
374 Provides: php5(debug) = %{php_debug}
375 Provides: php5(thread-safety) = %{zend_zts}
376 Obsoletes: php-pecl-domxml
377 Obsoletes: php-session < 3:4.2.1-2
378 #Obsoletes: php-pcre < 4:5.2.0
379 # for the posttrans scriptlet, conflicts because in vserver enviroinment rpm package is not installed.
380 Conflicts: rpm < 4.4.2-0.2
383 Common files needed by both apache module and CGI.
385 %description common -l pl
386 Wspólne pliki dla modu³u apacha i programu CGI.
388 %description common -l ru
389 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÏÂÝÉÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÎÙÈ ×ÁÒÉÁÎÔÏ× ÒÅÁÌÉÚÁÃÉÉ PHP
390 (ÓÁÍÏÄÏÓÔÁÔÏÞÎÏÊ É × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache).
392 %description common -l uk
393 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓЦÌØΦ ÆÁÊÌÉ ÄÌÑ Ò¦ÚÎÉÈ ×ÁÒ¦ÁÎÔ¦× ÒÅÁ̦ÚÁæ§ PHP
394 (ÓÁÍÏÄÏÓÔÁÔÎØϧ ÔÁ × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache).
397 Summary: Files for PHP modules development
398 Summary(pl): Pliki do kompilacji modu³ów PHP
399 Summary(pt_BR): Arquivos de desenvolvimento para PHP
400 Summary(ru): ðÁËÅÔ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÏÓÔÒÏÅÎÉÑ ÒÁÓÛÉÒÅÎÉÊ PHP
401 Summary(uk): ðÁËÅÔ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÏÂÕÄÏ×É ÒÏÚÛÉÒÅÎØ PHP
402 Group: Development/Languages/PHP
403 Requires: %{name}-common = %{epoch}:%{version}-%{release}
408 Obsoletes: php-pear-devel
409 Obsoletes: php4-devel
412 The php-devel package lets you compile dynamic extensions to PHP.
413 Included here is the source for the PHP extensions. Instead of
414 recompiling the whole php binary to add support for, say, oracle,
415 install this package and use the new self-contained extensions
416 support. For more information, read the file
417 README.SELF-CONTAINED-EXTENSIONS.
419 %description devel -l pl
420 Ten pakiet zawiera pliki potrzebne do kompilacji modu³ów PHP. Zamiast
421 rekompilowaæ ca³e php aby dodaæ obs³ugê np. oracle, mo¿na przy u¿yciu
422 tego pakietu skompilowaæ samodzielne rozszerzenie. Wiêcej informacji o
423 samodzielnych rozszerzeniach mo¿na znale¼æ w pliku
424 README.SELF-CONTAINED-EXTENSIONS.
426 %description devel -l pt_BR
427 Este pacote contém arquivos usados no desenvolvimento de programas ou
430 %description devel -l ru
431 ðÁËÅÔ php-devel ÄÁÅÔ ×ÏÚÍÏÖÎÏÓÔØ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÄÉÎÁÍÉÞÅÓËÉÅ ÒÁÓÛÉÒÅÎÉÑ
432 PHP. ðÁËÅÔ ×ËÌÀÞÁÅÔ ÉÓÈÏÄÎÙÊ ËÏÄ ÜÔÉÈ ÒÁÓÛÉÒÅÎÉÊ. ÷ÍÅÓÔÏ ÐÏ×ÔÏÒÎÏÊ
433 ËÏÍÐÉÌÑÃÉÉ ÂÉÎÁÒÎÏÇÏ ÆÁÊÌÁ php ÄÌÑ ÄÏÂÁ×ÌÅÎÉÑ, ÎÁÐÒÉÍÅÒ, ÐÏÄÄÅÒÖËÉ
434 oracle, ÕÓÔÁÎÏ×ÉÔÅ ÜÔÏÔ ÐÁËÅÔ ÄÌÑ ËÏÍÐÉÌÉÒÏ×ÁÎÉÑ ÏÔÄÅÌØÎÙÈ ÒÁÓÛÉÒÅÎÉÊ.
435 ðÏÄÒÏÂÎÏÓÔÉ - × ÆÁÊÌÅ README.SELF-CONTAINED-EXTENSIONS.
437 %description devel -l uk
438 ðÁËÅÔ php-devel ÄÁ¤ ÍÏÖÌÉצÓÔØ ËÏÍЦÌÀ×ÁÔÉ ÄÉÎÁͦÞΦ ÒÏÚÛÉÒÅÎÎÑ PHP.
439 äÏ ÐÁËÅÔÕ ×ËÌÀÞÅÎÏ ×ÉȦÄÎÉÊ ËÏÄ ÄÌÑ ÒÏÚÛÉÒÅÎØ. úÁͦÓÔØ ÐÏ×ÔÏÒÎϧ
440 ËÏÍЦÌÑæ§ ¦ÎÁÒÎÏÇÏ ÆÁÊÌÕ php ÄÌÑ ÄÏÄÁÎÎÑ, ÎÁÐÒÉËÌÁÄ, ЦÄÔÒÉÍËÉ
441 oracle, ×ÓÔÁÎÏצÔØ ÃÅÊ ÐÁËÅÔ ÄÌÑ ËÏÍЦÌÑæ§ ÏËÒÅÍÉÈ ÒÏÚÛÉÒÅÎØ.
442 äÅÔÁÌØΦÛÁ ¦ÎÆÏÒÍÁÃ¦Ñ - × ÆÁÊ̦ README.SELF-CONTAINED-EXTENSIONS.
445 Summary: bcmath extension module for PHP
446 Summary(pl): Modu³ bcmath dla PHP
448 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
449 Requires: %{name}-common = %{epoch}:%{version}-%{release}
452 This is a dynamic shared object (DSO) for PHP that will add bc style
453 precision math functions support.
455 %description bcmath -l pl
456 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
457 matematycznych takich jak w programie bc.
460 Summary: Bzip2 extension module for PHP
461 Summary(pl): Modu³ bzip2 dla PHP
463 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
464 Requires: %{name}-common = %{epoch}:%{version}-%{release}
467 This is a dynamic shared object (DSO) for PHP that will add bzip2
468 compression support to PHP.
470 %description bzip2 -l pl
471 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji bzip2.
474 Summary: Calendar extension module for PHP
475 Summary(pl): Modu³ funkcji kalendarza dla PHP
477 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
478 Requires: %{name}-common = %{epoch}:%{version}-%{release}
480 %description calendar
481 This is a dynamic shared object (DSO) for PHP that will add calendar
484 %description calendar -l pl
485 Modu³ PHP dodaj±cy wsparcie dla kalendarza.
488 Summary: ctype extension module for PHP
489 Summary(pl): Modu³ ctype dla PHP
491 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
492 Requires: %{name}-common = %{epoch}:%{version}-%{release}
495 This is a dynamic shared object (DSO) for PHP that will add ctype
498 %description ctype -l pl
499 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
502 Summary: curl extension module for PHP
503 Summary(pl): Modu³ curl dla PHP
505 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
506 Requires: %{name}-common = %{epoch}:%{version}-%{release}
509 This is a dynamic shared object (DSO) for PHP that will add curl
512 %description curl -l pl
513 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
516 Summary: DBA extension module for PHP
517 Summary(pl): Modu³ DBA dla PHP
519 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
520 Requires: %{name}-common = %{epoch}:%{version}-%{release}
523 This is a dynamic shared object (DSO) for PHP that will add flat-file
524 databases (DBA) support.
526 %description dba -l pl
527 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych opartych na plikach
531 Summary: DBase extension module for PHP
532 Summary(pl): Modu³ DBase dla PHP
534 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
535 Requires: %{name}-common = %{epoch}:%{version}-%{release}
538 This is a dynamic shared object (DSO) for PHP that will add DBase
541 %description dbase -l pl
542 Modu³ PHP ze wsparciem dla DBase.
545 Summary: DOM extension module for PHP
546 Summary(pl): Modu³ DOM dla PHP
548 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
549 Requires: %{name}-common = %{epoch}:%{version}-%{release}
550 # it has some compatibility functions
551 Provides: php-domxml = %{epoch}:%{version}-%{release}
552 Obsoletes: php-domxml <= 3:4.3.8-1
555 This is a dynamic shared object (DSO) for PHP that will add new DOM
558 %description dom -l pl
559 Modu³ PHP dodaj±cy now± obs³ugê DOM.
562 Summary: exif extension module for PHP
563 Summary(pl): Modu³ exif dla PHP
565 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
566 Requires: %{name}-common = %{epoch}:%{version}-%{release}
569 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
570 support in image files.
572 %description exif -l pl
573 Modu³ PHP dodaj±cy obs³ugê znaczników EXIF w plikach obrazków.
576 Summary: FDF extension module for PHP
577 Summary(pl): Modu³ FDF dla PHP
579 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
580 Requires: %{name}-common = %{epoch}:%{version}-%{release}
583 This PHP module adds support for PDF Forms through Adobe FDFTK
586 %description fdf -l pl
587 Modu³ PHP dodaj±cy obs³ugê formularzy PDF poprzez bibliotekê Adobe
591 Summary: FTP extension module for PHP
592 Summary(pl): Modu³ FTP dla PHP
594 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
595 Requires: %{name}-common = %{epoch}:%{version}-%{release}
598 This is a dynamic shared object (DSO) for PHP that will add FTP
601 %description ftp -l pl
602 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
605 Summary: GD extension module for PHP
606 Summary(pl): Modu³ GD dla PHP
608 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
609 Requires: %{name}-common = %{epoch}:%{version}-%{release}
610 Requires: gd >= 2.0.28-4
611 Provides: %{name}-gd(gif) = %{epoch}:%{version}-%{release}
614 This is a dynamic shared object (DSO) for PHP that will add GD
615 support, allowing you to create and manipulate images with PHP.
617 %description gd -l pl
618 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD, pozwalaj±cej na
619 tworzenie i obróbkê obrazków.
622 Summary: gettext extension module for PHP
623 Summary(pl): Modu³ gettext dla PHP
625 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
626 Requires: %{name}-common = %{epoch}:%{version}-%{release}
629 This is a dynamic shared object (DSO) for PHP that will add gettext
632 %description gettext -l pl
633 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
636 Summary: gmp extension module for PHP
637 Summary(pl): Modu³ gmp dla PHP
639 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
640 Requires: %{name}-common = %{epoch}:%{version}-%{release}
643 This is a dynamic shared object (DSO) for PHP that will add arbitrary
644 length number support with GNU MP library.
646 %description gmp -l pl
647 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki gmp do obliczeñ na
648 liczbach o dowolnej d³ugo¶ci.
651 Summary: iconv extension module for PHP
652 Summary(pl): Modu³ iconv dla PHP
654 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
655 Requires: %{name}-common = %{epoch}:%{version}-%{release}
658 This is a dynamic shared object (DSO) for PHP that will add iconv
661 %description iconv -l pl
662 Modu³ PHP dodaj±cy obs³ugê iconv.
665 Summary: IMAP extension module for PHP
666 Summary(pl): Modu³ IMAP dla PHP
667 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
669 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
670 Requires: %{name}-common = %{epoch}:%{version}-%{release}
673 This is a dynamic shared object (DSO) for PHP that will add IMAP
676 %description imap -l pl
677 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
679 %description imap -l pt_BR
680 Um módulo para aplicações PHP que usam IMAP.
683 Summary: InterBase/Firebird database module for PHP
684 Summary(pl): Modu³ bazy danych InterBase/Firebird dla PHP
686 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
687 Requires: %{name}-common = %{epoch}:%{version}-%{release}
688 %{?with_interbase_inst:Autoreq: false}
690 %description interbase
691 This is a dynamic shared object (DSO) for PHP that will add InterBase
692 and Firebird database support.
694 %description interbase -l pl
695 Modu³ PHP umo¿liwiaj±cy dostêp do baz danych InterBase i Firebird.
698 Summary: LDAP extension module for PHP
699 Summary(pl): Modu³ LDAP dla PHP
700 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
702 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
703 Requires: %{name}-common = %{epoch}:%{version}-%{release}
706 This is a dynamic shared object (DSO) for PHP that will add LDAP
709 %description ldap -l pl
710 Modu³ PHP dodaj±cy obs³ugê LDAP.
712 %description ldap -l pt_BR
713 Um módulo para aplicações PHP que usam LDAP.
716 Summary: mbstring extension module for PHP
717 Summary(pl): Modu³ mbstring dla PHP
719 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
720 Requires: %{name}-common = %{epoch}:%{version}-%{release}
722 %description mbstring
723 This is a dynamic shared object (DSO) for PHP that will add multibyte
726 %description mbstring -l pl
727 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
730 Summary: mcrypt extension module for PHP
731 Summary(pl): Modu³ mcrypt dla PHP
733 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
734 Requires: %{name}-common = %{epoch}:%{version}-%{release}
737 This is a dynamic shared object (DSO) for PHP that will add mcrypt
740 %description mcrypt -l pl
741 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
744 Summary: mhash extension module for PHP
745 Summary(pl): Modu³ mhash dla PHP
747 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
748 Requires: %{name}-common = %{epoch}:%{version}-%{release}
751 This is a dynamic shared object (DSO) for PHP that will add mhash
754 %description mhash -l pl
755 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
758 Summary: mime_magic extension module for PHP
759 Summary(pl): Modu³ mime_magic dla PHP
761 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
762 Requires: %{name}-common = %{epoch}:%{version}-%{release}
763 Requires: /usr/share/file/magic.mime
765 %description mime_magic
766 This PHP module adds support for MIME type lookup via file magic
767 numbers using magic.mime database.
769 %description mime_magic -l pl
770 Modu³ PHP dodaj±cy obs³ugê wyszukiwania typów MIME wed³ug magicznych
771 znaczników plików z u¿yciem bazy danych magic.mime.
774 Summary: ming extension module for PHP
775 Summary(pl): Modu³ ming dla PHP
777 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
778 Requires: %{name}-common = %{epoch}:%{version}-%{release}
781 This is a dynamic shared object (DSO) for PHP that will add ming
782 (Flash - .swf files) support.
784 %description ming -l pl
785 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
789 Summary: MS SQL extension module for PHP
790 Summary(pl): Modu³ MS SQL dla PHP
792 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
793 Requires: %{name}-common = %{epoch}:%{version}-%{release}
796 This is a dynamic shared object (DSO) for PHP that will add MS SQL
797 databases support through FreeTDS library.
799 %description mssql -l pl
800 Modu³ PHP dodaj±cy obs³ugê baz danych MS SQL poprzez bibliotekê
804 Summary: MySQL database module for PHP
805 Summary(pl): Modu³ bazy danych MySQL dla PHP
806 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
808 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
809 Requires: %{name}-common = %{epoch}:%{version}-%{release}
812 This is a dynamic shared object (DSO) for PHP that will add MySQL
815 %description mysql -l pl
816 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
818 %description mysql -l pt_BR
819 Um módulo para aplicações PHP que usam bancos de dados MySQL.
822 Summary: MySQLi module for PHP
823 Summary(pl): Modu³ MySQLi dla PHP
825 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
826 Requires: %{name}-common = %{epoch}:%{version}-%{release}
827 Requires: mysql-libs >= 4.1.0
830 This is a dynamic shared object (DSO) for PHP that will add MySQLi
831 (Improved MySQL) support. The difference between it and mysql module
832 is that it provides access to functionality of MySQL 4.1 and above.
834 %description mysqli -l pl
835 Modu³ PHP umo¿liwiaj±cy udoskonalony dostêp do bazy danych MySQL.
836 Ró¿nic± miêdzy nim a modu³em mysql jest dostêp do funkcjonalno¶ci
837 MySQL w wersji 4.1 i nowszych.
840 Summary: ncurses module for PHP
841 Summary(pl): Modu³ ncurses dla PHP
843 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
844 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
847 This PHP module adds support for ncurses functions (only for cli and
850 %description ncurses -l pl
851 Modu³ PHP dodaj±cy obs³ugê funkcji ncurses (tylko do SAPI cli i cgi).
854 Summary: Oracle 8+ database module for PHP
855 Summary(pl): Modu³ bazy danych Oracle 8+ dla PHP
857 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
858 Requires: %{name}-common = %{epoch}:%{version}-%{release}
862 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
863 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
865 %description oci8 -l pl
866 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7, 8, 9 i 10
867 poprzez interfejs Oracle8 Call-Interface (OCI8).
870 Summary: ODBC extension module for PHP
871 Summary(pl): Modu³ ODBC dla PHP
872 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
874 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
875 Requires: %{name}-common = %{epoch}:%{version}-%{release}
876 Requires: unixODBC >= 2.1.1-3
879 This is a dynamic shared object (DSO) for PHP that will add ODBC
882 %description odbc -l pl
883 Modu³ PHP ze wsparciem dla ODBC.
885 %description odbc -l pt_BR
886 Um módulo para aplicações PHP que usam ODBC.
889 Summary: OpenSSL extension module for PHP
890 Summary(pl): Modu³ OpenSSL dla PHP
892 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
893 Requires: %{name}-common = %{epoch}:%{version}-%{release}
896 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
899 Warning: this is an experimental module.
901 %description openssl -l pl
902 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki OpenSSL.
904 Uwaga: to jest modu³ eksperymentalny.
907 Summary: Process Control extension module for PHP
908 Summary(pl): Modu³ Process Control dla PHP
910 Requires(post,preun): %{name}-program = %{epoch}:%{version}-%{release}
911 Requires: %{name}-program = %{epoch}:%{version}-%{release}
914 This is a dynamic shared object (DSO) for PHP that will add process
915 spawning and control support. It supports functions like fork(),
916 waitpid(), signal() etc.
918 Warning: this is an experimental module. Also, don't use it in
919 webserver environment!
921 %description pcntl -l pl
922 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
923 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
925 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
926 u¿ywania z serwerem WWW - nie próbuj tego!
929 Summary: PHP Data Objects (PDO)
930 Summary(pl): Obs³uga PHP Data Objects (PDO)
932 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
933 Requires: %{name}-common = %{epoch}:%{version}-%{release}
934 Obsoletes: php-pecl-PDO
937 This is a dynamic shared object (DSO) for PHP that will add PDO
940 %description pdo -l pl
941 Modu³ PHP dodaj±cy obs³ugê PDO (PHP Data Objects).
944 Summary: PHP Data Objects (PDO) FreeTDS support
945 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± FreeTDS
947 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
948 Requires: %{name}-common = %{epoch}:%{version}-%{release}
949 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
951 %description pdo-dblib
952 This is a dynamic shared object (DSO) for PHP that will add PDO
955 %description pdo-dblib -l pl
956 Modu³ dla PHP dodaj±cy obs³ugê baz danych FreeTDS za po¶rednictwem
959 %package pdo-firebird
960 Summary: PHP Data Objects (PDO) Firebird support
961 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± Firebirda
963 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
964 Requires: %{name}-common = %{epoch}:%{version}-%{release}
965 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
966 Obsoletes: php-pecl-PDO_FIREBIRD
968 %description pdo-firebird
969 This is a dynamic shared object (DSO) for PHP that will add PDO
972 %description pdo-firebird -l pl
973 Modu³ dla PHP dodaj±cy obs³ugê baz danych Firebird za po¶rednictwem
977 Summary: PHP Data Objects (PDO) MySQL support
978 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± MySQL-a
980 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
981 Requires: %{name}-common = %{epoch}:%{version}-%{release}
982 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
983 Obsoletes: php-pecl-PDO_MYSQL
985 %description pdo-mysql
986 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
989 %description pdo-mysql -l pl
990 Modu³ dla PHP dodaj±cy obs³ugê baz danych MySQL za po¶rednictwem
994 Summary: PHP Data Objects (PDO) Oracle support
995 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± Oracle'a
997 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
998 Requires: %{name}-common = %{epoch}:%{version}-%{release}
999 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1000 Obsoletes: php-pecl-PDO_OCI
1002 %description pdo-oci
1003 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1006 %description pdo-oci -l pl
1007 Modu³ dla PHP dodaj±cy obs³ugê baz danych Oracle za po¶rednictwem
1011 Summary: PHP Data Objects (PDO) ODBC support
1012 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± ODBC
1014 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1015 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1016 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1017 Obsoletes: php-pecl-PDO_ODBC
1019 %description pdo-odbc
1020 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1023 %description pdo-odbc -l pl
1024 Modu³ dla PHP dodaj±cy obs³ugê baz danych ODBC za po¶rednictwem
1028 Summary: PHP Data Objects (PDO) PostgreSQL support
1029 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± PostgreSQL-a
1031 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1032 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1033 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1034 Obsoletes: php-pecl-PDO_PGSQL
1036 %description pdo-pgsql
1037 This is a dynamic shared object (DSO) for PHP that will add PDO
1040 %description pdo-pgsql -l pl
1041 Modu³ dla PHP dodaj±cy obs³ugê baz danych PostgreSQL za po¶rednictwem
1045 Summary: PHP Data Objects (PDO) SQLite support
1046 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± SQLite
1048 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1049 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1050 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1051 Obsoletes: php-pecl-PDO_SQLITE
1053 %description pdo-sqlite
1054 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1057 %description pdo-sqlite -l pl
1058 Modu³ dla PHP dodaj±cy obs³ugê baz danych SQLite za po¶rednictwem
1062 Summary: PostgreSQL database module for PHP
1063 Summary(pl): Modu³ bazy danych PostgreSQL dla PHP
1065 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1066 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1069 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1072 %description pgsql -l pl
1073 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
1075 %description pgsql -l pt_BR
1076 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1079 Summary: POSIX extension module for PHP
1080 Summary(pl): Modu³ POSIX dla PHP
1082 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1083 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1086 This is a dynamic shared object (DSO) for PHP that will add POSIX
1087 functions support to PHP.
1089 %description posix -l pl
1090 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
1093 Summary: pspell extension module for PHP
1094 Summary(pl): Modu³ pspell dla PHP
1096 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1097 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1100 This is a dynamic shared object (DSO) for PHP that will add pspell
1101 support to PHP. It allows to check the spelling of a word and offer
1104 %description pspell -l pl
1105 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
1106 sprawdzanie pisowni s³owa i sugerowanie poprawek.
1109 Summary: readline extension module for PHP
1110 Summary(pl): Modu³ readline dla PHP
1112 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
1113 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1115 %description readline
1116 This PHP module adds support for readline functions (only for cli and
1119 %description readline -l pl
1120 Modu³ PHP dodaj±cy obs³ugê funkcji readline (tylko do SAPI cli i cgi).
1123 Summary: recode extension module for PHP
1124 Summary(pl): Modu³ recode dla PHP
1126 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1127 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1128 Requires: recode >= 3.5d-3
1131 This is a dynamic shared object (DSO) for PHP that will add recode
1134 %description recode -l pl
1135 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1139 Summary: session extension module for PHP
1140 Summary(pl): Modu³ session dla PHP
1142 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1143 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1145 %description session
1146 This is a dynamic shared object (DSO) for PHP that will add session
1149 %description session -l pl
1150 Modu³ PHP dodaj±cy obs³ugê sesji.
1153 Summary: Shared Memory Operations extension module for PHP
1154 Summary(pl): Modu³ shmop dla PHP
1156 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1157 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1160 This is a dynamic shared object (DSO) for PHP that will add Shared
1161 Memory Operations support.
1163 Warning: this is an experimental module.
1165 %description shmop -l pl
1166 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1168 Uwaga: to jest modu³ eksperymentalny.
1171 Summary: Simple XML extension module for PHP
1172 Summary(pl): Modu³ prostego rozszerzenia XML dla PHP
1174 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1175 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1177 %description simplexml
1178 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1181 %description simplexml -l pl
1182 Modu³ PHP dodaj±cy obs³ugê prostego XML-a.
1185 Summary: SNMP extension module for PHP
1186 Summary(pl): Modu³ SNMP dla PHP
1188 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1189 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1190 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1193 This is a dynamic shared object (DSO) for PHP that will add SNMP
1196 %description snmp -l pl
1197 Modu³ PHP dodaj±cy obs³ugê SNMP.
1200 Summary: soap extension module for PHP
1201 Summary(pl): Modu³ soap dla PHP
1203 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1204 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1207 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1210 %description soap -l pl
1211 Modu³ PHP dodaj±cy obs³ugê SOAP/WSDL.
1214 Summary: sockets extension module for PHP
1215 Summary(pl): Modu³ socket dla PHP
1217 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1218 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1220 %description sockets
1221 This is a dynamic shared object (DSO) for PHP that will add sockets
1224 Warning: this is an experimental module.
1226 %description sockets -l pl
1227 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1229 Uwaga: to jest modu³ eksperymentalny.
1232 Summary: SQLite extension module for PHP
1233 Summary(pl): Modu³ SQLite dla PHP
1235 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1236 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1237 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1240 SQLite is a C library that implements an embeddable SQL database
1241 engine. Programs that link with the SQLite library can have SQL
1242 database access without running a separate RDBMS process.
1244 SQLite is not a client library used to connect to a big database
1245 server. SQLite is the server. The SQLite library reads and writes
1246 directly to and from the database files on disk.
1248 %description sqlite -l pl
1249 SQLite jest napisan± w C bibliotek± implementuj±c± osadzalny silnik
1250 bazodanowy SQL. Program linkuj±cy siê z bibliotek± SQLite mo¿e mieæ
1251 dostêp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1254 SQLite to nie klient baz danych - biblioteka nie ³±czy siê z serwerami
1255 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1256 zapisuje dane bezpo¶rednio z/do plików baz danych znajduj±cych siê na
1260 Summary: Sybase DB extension module for PHP
1261 Summary(pl): Modu³ Sybase DB dla PHP
1263 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1264 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1265 Obsoletes: php-sybase-ct
1268 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1269 MS SQL databases support through SYBDB library. Currently Sybase
1270 module is not maintained. Using Sybase-CT module is recommended
1273 %description sybase -l pl
1274 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1275 bibliotekê SYBDB. W chwili obecnej modu³ Sybase nie jest wspierany.
1276 Zaleca siê u¿ywanie modu³u Sybase-CT.
1279 Summary: Sybase-CT extension module for PHP
1280 Summary(pl): Modu³ Sybase-CT dla PHP
1282 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1283 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1284 Obsoletes: php-sybase
1286 %description sybase-ct
1287 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1288 MS SQL databases support through CT-lib.
1290 %description sybase-ct -l pl
1291 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1295 Summary: SysV msg extension module for PHP
1296 Summary(pl): Modu³ SysV msg dla PHP
1298 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1299 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1301 %description sysvmsg
1302 This is a dynamic shared object (DSO) for PHP that will add SysV
1303 message queues support.
1305 %description sysvmsg -l pl
1306 Modu³ PHP umo¿liwiaj±cy korzystanie z kolejek komunikatów SysV.
1309 Summary: SysV sem extension module for PHP
1310 Summary(pl): Modu³ SysV sem dla PHP
1312 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1313 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1315 %description sysvsem
1316 This is a dynamic shared object (DSO) for PHP that will add SysV
1319 %description sysvsem -l pl
1320 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1323 Summary: SysV shm extension module for PHP
1324 Summary(pl): Modu³ SysV shm dla PHP
1326 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1327 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1329 %description sysvshm
1330 This is a dynamic shared object (DSO) for PHP that will add SysV
1331 Shared Memory support.
1333 %description sysvshm -l pl
1334 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1337 Summary: Tidy extension module for PHP
1338 Summary(pl): Modu³ Tidy dla PHP
1340 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1341 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1345 This is a dynamic shared object (DSO) for PHP that will add Tidy
1348 %description tidy -l pl
1349 Modu³ PHP umo¿liwiaj±cy korzystanie z tidy.
1352 Summary: tokenizer extension module for PHP
1353 Summary(pl): Modu³ rozszerzenia tokenizer dla PHP
1355 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1356 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1358 %description tokenizer
1359 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1362 %description tokenizer -l pl
1363 Modu³ PHP dodaj±cy obs³ugê tokenizera do PHP.
1366 Summary: wddx extension module for PHP
1367 Summary(pl): Modu³ wddx dla PHP
1369 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1370 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1371 Requires: %{name}-session = %{epoch}:%{version}-%{release}
1372 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1375 This is a dynamic shared object (DSO) for PHP that will add wddx
1378 %description wddx -l pl
1379 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1382 Summary: XML extension module for PHP
1383 Summary(pl): Modu³ XML dla PHP
1385 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1386 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1389 This is a dynamic shared object (DSO) for PHP that will add XML
1390 support. This extension lets you create XML parsers and then define
1391 handlers for different XML events.
1393 %description xml -l pl
1394 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1395 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1396 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1399 Summary: XML Reader extension module for PHP
1400 Summary(pl): Modu³ XML Reader dla PHP
1402 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1403 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1404 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1406 %description xmlreader
1407 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1408 support. The XMLReader extension is an XML Pull parser. The reader
1409 acts as a cursor going forward on the document stream and stopping at
1410 each node on the way.
1412 %description xmlreader -l pl
1413 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML w trybie Pull. Czytnik
1414 dzia³a jako kursor przechodz±cy przez strumieñ dokumentu i
1415 zatrzymuj±cy siê naka¿dym wê¼le po drodze.
1418 Summary: xmlrpc extension module for PHP
1419 Summary(pl): Modu³ xmlrpc dla PHP
1421 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1422 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1425 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1428 Warning: this is an experimental module.
1430 %description xmlrpc -l pl
1431 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1433 Uwaga: to jest modu³ eksperymentalny.
1436 Summary: xsl extension module for PHP
1437 Summary(pl): Modu³ xsl dla PHP
1439 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1440 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1441 Requires: libxslt >= 1.0.18
1442 # actually not true, functionality is similar, but API differs
1443 Obsoletes: php-xslt <= 3:4.3.8-1
1446 This is a dynamic shared object (DSO) for PHP that will add new XSL
1447 support (using libxslt).
1449 %description xsl -l pl
1450 Modu³ PHP dodaj±cy now± obs³ugê XSLT (przy u¿yciu libxslt).
1453 Summary: Zip management extension
1454 Summary(pl): Zarz±dzanie archiwami zip
1456 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1457 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1460 Zip is an extension to create, modify and read zip files.
1462 %description zip -l pl
1463 Zip jest rozszerzeniem umo¿liwiaj±cym tworzenie, modyfikacjê oraz
1464 odczyt archiwów zip.
1467 Summary: Zlib extension module for PHP
1468 Summary(pl): Modu³ zlib dla PHP
1470 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1471 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1474 This is a dynamic shared object (DSO) for PHP that will add zlib
1475 compression support to PHP.
1477 %description zlib -l pl
1478 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1492 #%patch9 -p1 # TEST OR UPGRADE
1493 cp php.ini-dist php.ini
1495 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1506 #%patch23 -p1 # UPDATE?
1510 %if %{with hardening}
1511 zcat %{SOURCE8} | patch -p1 || exit 1
1512 patch -p1 < %{PATCH30} || exit 1
1517 %{?with_versioning:%patch35 -p1}
1518 %if "%{_lib}" == "lib64"
1523 # conflict seems to be resolved by recode patches
1524 rm -f ext/recode/config9.m4
1526 # remove all bundled libraries not to link with them accidentally
1527 #rm -rf ext/sqlite/libsqlite
1528 #rm -rf ext/bcmath/libbcmath
1529 #rm -rf ext/date/lib
1530 #rm -rf ext/dba/libcdb
1531 #rm -rf ext/dba/libflatfile
1532 #rm -rf ext/dba/libinifile
1533 #rm -rf ext/gd/libgd
1534 #rm -rf ext/mbstring/libmbfl
1535 #rm -rf ext/mbstring/oniguruma
1536 rm -rf ext/pcre/pcrelib
1537 rm -rf ext/pdo_sqlite/sqlite
1538 #rm -rf ext/soap/interop
1539 rm -rf ext/xmlrpc/libxmlrpc
1542 if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then
1543 echo "Set %%define php_api_version to $API and rerun."
1547 if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then
1548 echo "Set %%define zend_module_api to $API and rerun."
1552 if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then
1553 echo "Set %%define zend_extension_api to $API and rerun."
1557 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1558 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1559 rm -f Makefile.{fcgi,cgi,cli,apxs{1,2}} # now remove Makefile copies
1565 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1579 for sapi in $sapis; do
1580 [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1586 echo --enable-discard-path --enable-force-cgi-redirect
1592 echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect
1595 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
1596 echo --with-apxs=%{apxs1} --with-apache-version=$ver
1599 ver=%(rpm -q --qf '%%{version}' apache-apxs)
1600 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
1604 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1605 --cache-file=config.cache \
1607 --with-libdir=%{_lib} \
1608 --with-config-file-path=%{_sysconfdir} \
1609 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1610 --with-exec-dir=%{_bindir} \
1611 --%{!?debug:dis}%{?debug:en}able-debug \
1612 %{?with_zts:--enable-maintainer-zts} \
1613 --enable-inline-optimization \
1614 --enable-memory-limit \
1615 --enable-bcmath=shared \
1616 --enable-calendar=shared \
1617 --enable-ctype=shared \
1618 --enable-dba=shared \
1621 --enable-dom=shared \
1622 --enable-exif=shared \
1623 --enable-ftp=shared \
1624 --enable-gd-native-ttf \
1625 --enable-gd-jus-conf \
1627 --enable-magic-quotes \
1628 --enable-mbstring=shared,all \
1630 --enable-pcntl=shared \
1631 --enable-pdo=shared \
1632 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
1633 --with-pdo-dblib=shared \
1635 %if %{with interbase} && %{without interbase_inst}
1636 --with-pdo-firebird=shared \
1638 --with-pdo-mysql=shared \
1639 %{?with_oci8:--with-pdo-oci=shared} \
1640 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1641 %{?with_pgsql:--with-pdo-pgsql=shared} \
1642 %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
1643 --enable-posix=shared \
1644 --enable-reflection \
1647 --enable-shmop=shared \
1648 --enable-simplexml \
1649 --enable-sysvmsg=shared \
1650 --enable-sysvsem=shared \
1651 --enable-sysvshm=shared \
1652 --enable-track-vars \
1653 --enable-trans-sid \
1654 --enable-safe-mode \
1655 --enable-soap=shared \
1656 --enable-sockets=shared \
1657 --enable-tokenizer=shared \
1658 --enable-ucd-snmp-hack \
1659 %{?with_wddx:--enable-wddx=shared} \
1660 --enable-xml=shared \
1661 --enable-xmlreader=shared \
1663 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1664 %{?with_db3:--with-db3}%{!?with_db3:--with-db4} \
1665 --enable-dbase=shared \
1667 --with-expat-dir=shared,/usr \
1669 --without-expat-dir \
1671 %{?with_fdf:--with-fdftk=shared} \
1672 --with-iconv=shared \
1673 --with-freetype-dir=shared \
1674 --with-gettext=shared \
1675 --with-gd=shared,/usr \
1678 %{?with_imap:--with-imap=shared --with-imap-ssl} \
1679 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1680 --with-jpeg-dir=/usr \
1681 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1682 --with-mcrypt=shared \
1683 %{?with_mhash:--with-mhash=shared} \
1684 %{?with_mime_magic:--with-mime-magic=shared,/usr/share/file/magic.mime}%{!?with_mime_magic:--disable-mime-magic} \
1685 %{?with_ming:--with-ming=shared} \
1686 %{?with_mm:--with-mm} \
1687 %{?with_mssql:--with-mssql=shared} \
1688 --with-mysql=shared,/usr \
1689 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1690 %{?with_mysqli:--with-mysqli=shared} \
1691 --with-ncurses=shared \
1692 %{?with_oci8:--with-oci8=shared} \
1693 %{?with_openssl:--with-openssl=shared} \
1695 %{!?with_pcre:--without-pcre-regex --disable-filter}%{?with_pcre:--with-pcre-regex=/usr} \
1696 --with-pear=%{php_pear_dir} \
1697 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1698 --with-png-dir=/usr \
1699 %{?with_pspell:--with-pspell=shared} \
1700 --with-readline=shared \
1701 %{?with_recode:--with-recode=shared} \
1703 --without-sablot-js \
1704 %{?with_snmp:--with-snmp=shared} \
1705 %{?with_sybase:--with-sybase=shared,/usr} \
1706 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1707 %{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1708 --with-t1lib=shared \
1709 %{?with_tidy:--with-tidy=shared} \
1710 --with-tiff-dir=/usr \
1711 %{?with_odbc:--with-unixODBC=shared,/usr} \
1712 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1714 --with-zlib=shared \
1715 --with-zlib-dir=shared,/usr \
1716 --enable-zip=shared,/usr \
1718 cp -f Makefile Makefile.$sapi
1719 cp -f main/php_config.h php_config.h.$sapi
1722 # must make this first, so modules can link against it.
1723 %{__make} libphp_common.la
1724 %{__make} build-modules
1727 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1731 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1736 cp -af php_config.h.fcgi main/php_config.h
1737 %{__make} sapi/cgi/php -f Makefile.fcgi
1738 cp -r sapi/cgi sapi/fcgi
1739 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1743 cp -af php_config.h.cgi main/php_config.h
1744 %{__make} sapi/cgi/php -f Makefile.cgi
1747 cp -af php_config.h.cli main/php_config.h
1748 %{__make} sapi/cli/php -f Makefile.cli
1751 rm -rf $RPM_BUILD_ROOT
1752 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
1753 $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
1754 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1755 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/httpd.conf} \
1756 $RPM_BUILD_ROOT%{_mandir}/man1 \
1758 # install the apache modules' files
1759 %{__make} install-headers install-build install-modules install-programs \
1760 INSTALL_ROOT=$RPM_BUILD_ROOT
1762 # install apache1 DSO module
1764 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
1767 # install apache2 DSO module
1769 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
1772 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1773 # fix install paths, avoid evil rpaths
1774 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
1776 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
1779 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php.cgi
1783 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php.fcgi
1787 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
1788 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
1789 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
1791 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1793 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1795 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1797 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1798 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1801 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
1802 install %{SOURCE3} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
1803 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1804 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
1808 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1809 install %{SOURCE3} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1810 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1811 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
1814 cp -f Zend/LICENSE{,.Zend}
1816 # Generate stub .ini files for each subpackage
1817 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1818 for so in modules/*.so; do
1819 mod=$(basename $so .so)
1820 conf="%{_sysconfdir}/conf.d/${mod}.ini"
1821 # xml needs to be loaded before wddx
1822 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_${mod}.ini"
1823 cat > $RPM_BUILD_ROOT${conf} <<EOF
1824 ; Enable ${mod} extension module
1829 # per SAPI ini directories
1830 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi,cli,cgi-fcgi,apache,apache2handler}.d
1833 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{ncurses,pcntl,readline}.ini,cli.d}
1835 # use system automake and {lib,sh}tool
1836 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
1837 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
1838 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
1839 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
1841 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
1842 # isn't installed by install-headers make target, we do it manually here.
1843 # this header file is required by e.g. filter PECL extension
1844 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
1847 rm -rf $RPM_BUILD_ROOT
1850 if [ "$1" = "1" ]; then
1852 %service -q apache restart
1855 %service -q httpd restart
1860 if [ "$1" = "0" ]; then
1862 %service -q apache restart
1865 %service -q httpd restart
1869 %post -n apache1-mod_php
1870 if [ "$1" = "1" ]; then
1871 %service -q apache restart
1874 %postun -n apache1-mod_php
1875 if [ "$1" = "0" ]; then
1876 %service -q apache restart
1879 %post -n apache-mod_php
1880 if [ "$1" = "1" ]; then
1881 %service -q httpd restart
1884 %postun -n apache-mod_php
1885 if [ "$1" = "0" ]; then
1886 %service -q httpd restart
1889 # so tired of typing... so decided to create macros
1890 # macro called at extension post scriptlet
1891 %define extension_post \
1892 if [ "$1" = "1" ]; then \
1893 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1894 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1897 # macro called at extension postun scriptlet
1898 %define extension_postun \
1899 if [ "$1" = "0" ]; then \
1900 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1901 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1904 %post common -p /sbin/ldconfig
1905 %postun common -p /sbin/ldconfig
1908 # minimizing apache restarts logics. we restart webserver:
1910 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1911 # 2. first install of extension (post: $1 = 1)
1912 # 2. uninstall of extension (postun: $1 == 0)
1914 # the strict internal deps between extensions (and apache modules) and
1915 # common package are very important for all this to work.
1917 # restart webserver at the end of transaction
1918 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
1919 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
1922 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
1924 /^AddType application\/x-httpd-php \.php/s,^,#,
1925 /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
1926 ' /etc/apache/apache.conf
1927 %service -q apache restart
1931 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
1932 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1933 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1934 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1935 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2122 %postun pdo-firebird
2293 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2294 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2296 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2297 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bzip2\.so/d' %{_sysconfdir}/php.ini
2299 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2300 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2302 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2303 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2305 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2306 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2308 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2309 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2311 %triggerun dbase -- %{name}-dbase < 4:5.0.4-9.1
2312 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbase\.so/d' %{_sysconfdir}/php.ini
2314 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2315 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini
2317 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2318 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2320 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2321 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2323 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2324 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2326 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2327 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2329 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2330 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2332 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2333 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2335 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2336 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2338 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2339 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2341 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2342 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2344 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2345 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2347 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2348 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2350 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2351 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2353 %triggerun mhash -- %{name}-mhash < 4:5.0.4-9.1
2354 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mhash\.so/d' %{_sysconfdir}/php.ini
2356 %triggerun mime_magic -- %{name}-mime_magic < 4:5.0.4-9.1
2357 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mime_magic\.so/d' %{_sysconfdir}/php.ini
2359 %triggerun ming -- %{name}-ming < 4:5.0.4-9.1
2360 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ming\.so/d' %{_sysconfdir}/php.ini
2362 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2363 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2365 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2366 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2368 %triggerun ncurses -- %{name}-ncurses < 4:5.1.2-9.5
2369 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2370 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cgi.ini
2372 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2373 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cli.ini
2376 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2377 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini
2379 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2380 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2382 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2383 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2385 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2386 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2388 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2389 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2390 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2392 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2393 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2396 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2397 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2399 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2400 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2402 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2403 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2405 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2406 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2407 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2409 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2410 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2413 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2414 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2416 %triggerun session -- %{name}-session < 4:5.0.4-9.1
2417 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*session\.so/d' %{_sysconfdir}/php.ini
2419 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2420 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2422 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2423 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2425 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2426 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini
2428 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2429 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2431 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2432 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini
2434 %triggerun sybase -- %{name}-sybase < 4:5.0.4-9.1
2435 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase\.so/d' %{_sysconfdir}/php.ini
2437 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2438 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini
2440 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2441 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2443 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2444 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2446 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2447 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2449 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2450 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini
2452 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2453 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2455 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2456 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2458 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2459 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2461 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2462 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini
2464 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2465 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2468 %files -n apache1-mod_php
2469 %defattr(644,root,root,755)
2470 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2471 %dir %{_sysconfdir}/apache.d
2472 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2473 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2474 /home/services/apache/icons/*
2478 %files -n apache-mod_php
2479 %defattr(644,root,root,755)
2480 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php.conf
2481 %dir %{_sysconfdir}/apache2handler.d
2482 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2483 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2484 /home/services/httpd/icons/*
2489 %defattr(644,root,root,755)
2490 %doc sapi/cgi/README.FastCGI
2491 %dir %{_sysconfdir}/cgi-fcgi.d
2492 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2493 %attr(755,root,root) %{_bindir}/php.fcgi
2497 %defattr(644,root,root,755)
2498 %dir %{_sysconfdir}/cgi.d
2499 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2500 %attr(755,root,root) %{_bindir}/php.cgi
2503 %defattr(644,root,root,755)
2504 %dir %{_sysconfdir}/cli.d
2505 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2506 %attr(755,root,root) %{_bindir}/php.cli
2507 %{_mandir}/man1/php.1*
2508 %{_mandir}/man1/php.cli.1*
2511 %defattr(644,root,root,755)
2512 %attr(755,root,root) %{_bindir}/php
2515 %defattr(644,root,root,755)
2517 %doc CREDITS Zend/ZEND_CHANGES
2518 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2521 %dir %{_sysconfdir}/conf.d
2522 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2523 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2524 %dir %{extensionsdir}
2526 %doc ext/session/mod_files.sh
2529 %defattr(644,root,root,755)
2530 %doc README.UNIX-BUILD-SYSTEM
2531 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2532 %doc CODING_STANDARDS
2533 %attr(755,root,root) %{_bindir}/phpize
2534 %attr(755,root,root) %{_bindir}/php-config
2535 %attr(755,root,root) %{_libdir}/libphp_common.so
2536 %{_libdir}/libphp_common.la
2538 %{_libdir}/php/build
2542 %defattr(644,root,root,755)
2543 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2544 %attr(755,root,root) %{extensionsdir}/bcmath.so
2547 %defattr(644,root,root,755)
2548 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2549 %attr(755,root,root) %{extensionsdir}/bz2.so
2552 %defattr(644,root,root,755)
2553 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2554 %attr(755,root,root) %{extensionsdir}/calendar.so
2557 %defattr(644,root,root,755)
2558 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2559 %attr(755,root,root) %{extensionsdir}/ctype.so
2563 %defattr(644,root,root,755)
2564 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2565 %attr(755,root,root) %{extensionsdir}/curl.so
2569 %defattr(644,root,root,755)
2570 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2571 %attr(755,root,root) %{extensionsdir}/dba.so
2574 %defattr(644,root,root,755)
2575 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2576 %attr(755,root,root) %{extensionsdir}/dbase.so
2579 %defattr(644,root,root,755)
2580 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2581 %attr(755,root,root) %{extensionsdir}/dom.so
2585 %defattr(644,root,root,755)
2586 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2587 %attr(755,root,root) %{extensionsdir}/fdf.so
2591 %defattr(644,root,root,755)
2592 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2593 %attr(755,root,root) %{extensionsdir}/exif.so
2596 %defattr(644,root,root,755)
2597 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2598 %attr(755,root,root) %{extensionsdir}/ftp.so
2601 %defattr(644,root,root,755)
2602 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2603 %attr(755,root,root) %{extensionsdir}/gd.so
2606 %defattr(644,root,root,755)
2607 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2608 %attr(755,root,root) %{extensionsdir}/gettext.so
2611 %defattr(644,root,root,755)
2612 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2613 %attr(755,root,root) %{extensionsdir}/gmp.so
2616 %defattr(644,root,root,755)
2617 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2618 %attr(755,root,root) %{extensionsdir}/iconv.so
2622 %defattr(644,root,root,755)
2623 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2624 %attr(755,root,root) %{extensionsdir}/imap.so
2627 %if %{with interbase}
2629 %defattr(644,root,root,755)
2630 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2631 %attr(755,root,root) %{extensionsdir}/interbase.so
2636 %defattr(644,root,root,755)
2637 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2638 %attr(755,root,root) %{extensionsdir}/ldap.so
2642 %defattr(644,root,root,755)
2643 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2644 %attr(755,root,root) %{extensionsdir}/mbstring.so
2647 %defattr(644,root,root,755)
2648 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2649 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2653 %defattr(644,root,root,755)
2654 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2655 %attr(755,root,root) %{extensionsdir}/mhash.so
2658 %if %{with mime_magic}
2660 %defattr(644,root,root,755)
2661 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2662 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2667 %defattr(644,root,root,755)
2668 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2669 %attr(755,root,root) %{extensionsdir}/ming.so
2674 %defattr(644,root,root,755)
2675 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2676 %attr(755,root,root) %{extensionsdir}/mssql.so
2680 %defattr(644,root,root,755)
2681 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2682 %attr(755,root,root) %{extensionsdir}/mysql.so
2686 %defattr(644,root,root,755)
2687 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2688 %attr(755,root,root) %{extensionsdir}/mysqli.so
2692 %defattr(644,root,root,755)
2693 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/ncurses.ini
2694 %attr(755,root,root) %{extensionsdir}/ncurses.so
2698 %defattr(644,root,root,755)
2699 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2700 %attr(755,root,root) %{extensionsdir}/oci8.so
2705 %defattr(644,root,root,755)
2706 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2707 %attr(755,root,root) %{extensionsdir}/odbc.so
2712 %defattr(644,root,root,755)
2713 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2714 %attr(755,root,root) %{extensionsdir}/openssl.so
2718 %defattr(644,root,root,755)
2719 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2720 %attr(755,root,root) %{extensionsdir}/pcntl.so
2723 %defattr(644,root,root,755)
2724 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2725 %attr(755,root,root) %{extensionsdir}/pdo.so
2727 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
2729 %defattr(644,root,root,755)
2730 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2731 %attr(755,root,root) %{extensionsdir}/pdo_dblib.so
2734 %if %{with interbase} && %{without interbase_inst}
2736 %defattr(644,root,root,755)
2737 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2738 %attr(755,root,root) %{extensionsdir}/pdo_firebird.so
2742 %defattr(644,root,root,755)
2743 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2744 %attr(755,root,root) %{extensionsdir}/pdo_mysql.so
2748 %defattr(644,root,root,755)
2749 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2750 %attr(755,root,root) %{extensionsdir}/pdo_oci.so
2755 %defattr(644,root,root,755)
2756 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2757 %attr(755,root,root) %{extensionsdir}/pdo_odbc.so
2762 %defattr(644,root,root,755)
2763 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2764 %attr(755,root,root) %{extensionsdir}/pdo_pgsql.so
2769 %defattr(644,root,root,755)
2770 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2771 %attr(755,root,root) %{extensionsdir}/pdo_sqlite.so
2776 %defattr(644,root,root,755)
2777 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2778 %attr(755,root,root) %{extensionsdir}/pgsql.so
2782 %defattr(644,root,root,755)
2783 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2784 %attr(755,root,root) %{extensionsdir}/posix.so
2788 %defattr(644,root,root,755)
2789 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2790 %attr(755,root,root) %{extensionsdir}/pspell.so
2794 %defattr(644,root,root,755)
2795 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2796 %attr(755,root,root) %{extensionsdir}/readline.so
2800 %defattr(644,root,root,755)
2801 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2802 %attr(755,root,root) %{extensionsdir}/recode.so
2806 # simplexml is needed by spl, and spl can't be built shared as of now (5.1.0RC3)
2808 %defattr(644,root,root,755)
2809 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2810 %attr(755,root,root) %{extensionsdir}/simplexml.so
2814 %defattr(644,root,root,755)
2815 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2816 %attr(755,root,root) %{extensionsdir}/shmop.so
2820 %defattr(644,root,root,755)
2821 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2822 %attr(755,root,root) %{extensionsdir}/snmp.so
2826 %defattr(644,root,root,755)
2827 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2828 %attr(755,root,root) %{extensionsdir}/soap.so
2831 %defattr(644,root,root,755)
2832 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2833 %attr(755,root,root) %{extensionsdir}/sockets.so
2837 %defattr(644,root,root,755)
2838 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2839 %attr(755,root,root) %{extensionsdir}/sqlite.so
2844 %defattr(644,root,root,755)
2845 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
2846 %attr(755,root,root) %{extensionsdir}/sybase.so
2849 %if %{with sybase_ct}
2851 %defattr(644,root,root,755)
2852 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2853 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2857 %defattr(644,root,root,755)
2858 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2859 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
2862 %defattr(644,root,root,755)
2863 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2864 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2867 %defattr(644,root,root,755)
2868 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2869 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2873 %defattr(644,root,root,755)
2874 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2875 %attr(755,root,root) %{extensionsdir}/tidy.so
2879 %defattr(644,root,root,755)
2880 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2881 %attr(755,root,root) %{extensionsdir}/tokenizer.so
2885 %defattr(644,root,root,755)
2886 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2887 %attr(755,root,root) %{extensionsdir}/wddx.so
2891 %defattr(644,root,root,755)
2892 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
2893 %attr(755,root,root) %{extensionsdir}/xml.so
2896 %defattr(644,root,root,755)
2897 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
2898 %attr(755,root,root) %{extensionsdir}/xmlreader.so
2902 %defattr(644,root,root,755)
2903 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
2904 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
2908 %defattr(644,root,root,755)
2909 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
2910 %attr(755,root,root) %{extensionsdir}/xsl.so
2913 %defattr(644,root,root,755)
2914 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
2915 %attr(755,root,root) %{extensionsdir}/zip.so
2918 %defattr(644,root,root,755)
2919 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
2920 %attr(755,root,root) %{extensionsdir}/zlib.so