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 # - mime_magic can't handle new "string/*" entries in magic.mime
13 # - make additional headers added by mail patch configurable
14 # - apply -hardened patch by default ?
15 # - modularize session, standard (output from pure php -m)?
18 %bcond_with db3 # use db3 packages instead of db (4.x) for Berkeley DB support
19 %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary lib)
20 %bcond_with hardening # build with hardening patch applied (http://www.hardened-php.net/)
21 %bcond_with hwapi # with Hw API support (BR: proprietary libs)
22 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
23 %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
24 %bcond_without curl # without CURL extension module
25 %bcond_without imap # without IMAP extension module
26 %bcond_without interbase # with InterBase extension module
27 %bcond_without ldap # without LDAP extension module
28 %bcond_without mhash # without mhash extension module
29 %bcond_without ming # without ming extension module
30 %bcond_without mm # without mm support for session storage
31 %bcond_without mssql # without MS SQL extension module
32 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
33 %bcond_without mime_magic # without mime-magic module
34 %bcond_without odbc # without ODBC extension module
35 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
36 %bcond_without pcre # without PCRE extension module
37 %bcond_without pgsql # without PostgreSQL extension module
38 %bcond_without pspell # without pspell extension module
39 %bcond_without recode # without recode extension module
40 %bcond_without snmp # without SNMP extension module
41 %bcond_without sqlite # without SQLite extension module
42 %bcond_without sybase # without Sybase extension module
43 %bcond_without sybase_ct # without Sybase-CT extension module
44 %bcond_without tidy # without Tidy extension module
45 %bcond_without wddx # without WDDX extension module
46 %bcond_without xmlrpc # without XML-RPC extension module
47 %bcond_without apache1 # disable building apache 1.3.x module
48 %bcond_without apache2 # disable building apache 2.x module
49 %bcond_without fcgi # disable building FCGI SAPI
50 %bcond_without zts # disable experimental-zts
51 %bcond_with versioning # build with experimental versioning (to load php4/php5 into same apache)
53 %define apxs1 /usr/sbin/apxs1
54 %define apxs2 /usr/sbin/apxs
56 # some problems with apache 2.x
61 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
62 %undefine with_interbase
65 %if %{without apache1} && %{without apache2}
66 ERROR: You need to select at least one Apache SAPI to build shared modules.
70 Summary: PHP: Hypertext Preprocessor
71 Summary(fr): Le langage de script embarque-HTML PHP
72 Summary(pl): Jêzyk skryptowy PHP
73 Summary(pt_BR): A linguagem de script PHP
74 Summary(ru): PHP ÷ÅÒÓÉÉ 5 - ÑÚÙË ÐÒÅÐÒÏÃÅÓÓÉÒÏ×ÁÎÉÑ HTML-ÆÁÊÌÏ×, ×ÙÐÏÌÎÑÅÍÙÊ ÎÁ ÓÅÒ×ÅÒÅ
75 Summary(uk): PHP ÷ÅÒÓ¦§ 5 - ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
78 Release: %{_rel}%{?with_hardening:hardened}
82 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
83 # Source0-md5: 08e423aa314369d4392a36b3f7246afc
86 Source3: %{name}-mod_%{name}.conf
87 Source4: %{name}-cgi-fcgi.ini
88 Source5: %{name}-cgi.ini
89 Source6: %{name}-apache.ini
90 Source7: %{name}-cli.ini
91 Source8: http://www.hardened-php.net/hardening-patch-5.0.4-0.3.0.patch.gz
92 # Source8-md5: 47a742fa9fab2826ad10c13a2376111a
93 Patch0: %{name}-shared.patch
94 Patch1: %{name}-pldlogo.patch
95 Patch2: %{name}-mail.patch
96 Patch3: %{name}-link-libs.patch
97 Patch4: %{name}-libpq_fs_h_path.patch
98 Patch6: %{name}-build_modules.patch
99 Patch7: %{name}-sapi-ini-file.patch
100 Patch8: %{name}-no-metaccld.patch
101 Patch9: %{name}-reflection.patch
102 Patch10: %{name}-ini.patch
103 Patch11: %{name}-acam.patch
104 Patch14: %{name}-allow-db31.patch
105 Patch15: %{name}-threads-acfix.patch
106 Patch16: %{name}-tsrmlsfetchgcc2.patch
107 Patch17: %{name}-no_pear_install.patch
108 Patch18: %{name}-zlib.patch
109 Patch19: %{name}-sybase-fix.patch
110 Patch20: %{name}-readline.patch
111 Patch21: %{name}-nohttpd.patch
112 Patch23: %{name}-gd_imagerotate_enable.patch
113 Patch24: %{name}-uint32_t.patch
114 Patch25: %{name}-hwapi-link.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 Patch34: %{name}-ini-search-path.patch
121 Patch35: %{name}-versioning.patch
122 Patch36: %{name}-linkflags-clean.patch
123 Patch37: %{name}-cli-segv-fixes.patch
124 Patch38: %{name}-amd64.patch
125 Patch39: %{name}-soap.patch
126 URL: http://www.php.net/
127 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
128 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
129 BuildRequires: autoconf >= 2.53
130 BuildRequires: automake >= 1.4d
132 BuildRequires: bzip2-devel
133 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
134 BuildRequires: cyrus-sasl-devel
135 %{!?with_db3:BuildRequires: db-devel >= 4.0}
136 %{?with_db3:BuildRequires: db3-devel >= 3.1}
137 BuildRequires: elfutils-devel
139 BuildRequires: expat-devel
141 %{?with_fcgi:BuildRequires: fcgi-devel}
142 %{?with_fdf:BuildRequires: fdftk-devel}
144 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
145 BuildRequires: freetds-devel
147 BuildRequires: freetype-devel >= 2.0
148 BuildRequires: gd-devel >= 2.0.28-4
149 BuildRequires: gdbm-devel
150 BuildRequires: gmp-devel
151 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
152 BuildRequires: libjpeg-devel
153 BuildRequires: libltdl-devel >= 1.4
154 BuildRequires: libmcrypt-devel >= 2.4.4
155 BuildRequires: libpng-devel >= 1.0.8
156 BuildRequires: libtiff-devel
157 BuildRequires: libtool >= 1.4.3
158 BuildRequires: libwrap-devel
159 BuildRequires: libxml2-devel >= 2.5.10
160 BuildRequires: libxslt-devel >= 1.0.18
161 %{?with_mhash:BuildRequires: mhash-devel}
162 %{?with_ming:BuildRequires: ming-devel >= 0.2a-11}
163 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
164 BuildRequires: mysql-devel >= 4.0.0
165 %{?with_mysqli:BuildRequires: mysql-devel >= 4.1.0}
166 BuildRequires: ncurses-ext-devel
167 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
168 %if %{with openssl} || %{with ldap}
169 BuildRequires: openssl-devel >= 0.9.7d
171 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
172 BuildRequires: pam-devel
173 %{?with_pcre:BuildRequires: pcre-devel}
174 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
175 %{?with_pgsql:BuildRequires: postgresql-devel}
176 BuildRequires: readline-devel
177 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
178 BuildRequires: rpm-build >= 4.4.0
179 BuildRequires: rpmbuild(macros) >= 1.238
180 %{?with_sqlite:BuildRequires: sqlite-devel}
181 %{?with_sqlite:BuildRequires: sqlite3-devel}
182 BuildRequires: t1lib-devel
183 %{?with_tidy:BuildRequires: tidy-devel}
184 %{?with_odbc:BuildRequires: unixODBC-devel}
185 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
186 BuildRequires: zlib-devel >= 1.0.9
188 BuildRequires: apache1-devel
191 BuildRequires: apache-devel >= 2.0.52-2
192 BuildRequires: apr-devel >= 1:1.0.0
193 BuildRequires: apr-util-devel >= 1:1.0.0
195 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
197 %define _sysconfdir /etc/php
198 %define extensionsdir %{_libdir}/php
200 # must be in sync with source. extra check ensuring that it is so is done in %%build
201 %define php_api_version 20041225
202 %define zend_module_api 20050922
203 %define zend_extension_api 220051025
204 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
205 %define php_debug %{!?debug:0}%{?debug:1}
208 PHP is an HTML-embedded scripting language. PHP attempts to make it
209 easy for developers to write dynamically generated web pages. PHP also
210 offers built-in database integration for several commercial and
211 non-commercial database management systems, so writing a
212 database-enabled web page with PHP is fairly simple. The most common
213 use of PHP coding is probably as a replacement for CGI scripts. The
214 mod_php module enables the Apache web server to understand and process
215 the embedded PHP language in web pages. This package contains php
216 version %{version}. If you use applications which specifically rely on
217 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
218 module contained in the phpfi package. If you're just starting with
219 PHP, you should install this package. You'll also need to install the
223 PHP est un langage de script embarque dans le HTM. PHP essaye de
224 rendre simple aux developpeurs d'ecrire des pages web generees
225 dynamiquement. PHP incorpore egalement une integration avec plusieurs
226 systemes de gestion de bases de donnees commerciaux et
227 non-connerciaux, qui rent facile la creation de pages web liees avec
228 des bases de donnees. L'utilisation la plus commune de PHP est
229 probablement en remplacement de scripts CGI. Le module mod_php permet
230 au serveur web apache de comprendre et de traiter le langage PHP
231 integre dans des pages web. Ce package contient php version
232 %{version}. Si vous utilisez des applications qui utilisent
233 specifiquement PHP/FI, vous devrez installer le module PHP/FI inclus
234 dans le package mod_php. Si vous debutez avec PHP, vous devriez
235 installer ce package. Vous aurez egalement besoin dinstaller le
239 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
240 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
241 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
242 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
243 zosta³a z jêzyków: C, Java i Perl.
245 %description -l pt_BR
246 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
247 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
248 com algumas características únicas, específicas ao PHP. O objetivo da
249 linguagem é permitir que desenvolvedores web escrevam páginas
250 dinamicamente geradas de forma rápida.
253 PHP - ÜÔÏ ÑÚÙË ÎÁÐÉÓÁÎÉÑ ÓËÒÉÐÔÏ×, ×ÓÔÒÁÉ×ÁÅÍÙÈ × HTML-ËÏÄ. PHP
254 ÐÒÅÄÌÁÇÁÅÔ ÉÎÔÅÒÇÒÁÃÉÀ Ó ÍÎÏÖÅÓÔ×ÏÍ óõâä, ÐÏÜÔÏÍÕ ÎÁÐÉÓÁÎÉÅ ÓËÒÉÐÔÏ×
255 ÄÌÑ ÒÁÂÏÔÙ Ó ÂÁÚÁÍÉ ÄÁÎÎÙÈ ÏÔÎÏÓÉÔÅÌØÎÏ ÐÒÏÓÔÏ. îÁÉÂÏÌÅÅ ÐÏÐÕÌÑÒÎÏÅ
256 ÉÓÐÏÌØÚÏ×ÁÎÉÅ PHP - ÚÁÍÅÎÁ ÄÌÑ CGI ÓËÒÉÐÔÏ×.
258 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÁÍÏÄÏÓÔÁÔÏÞÎÕÀ (CGI) ×ÅÒÓÉÀ ÉÎÔÅÒÐÒÅÔÁÔÏÒÁ ÑÚÙËÁ.
259 ÷Ù ÄÏÌÖÎÙ ÔÁËÖÅ ÕÓÔÁÎÏ×ÉÔØ ÐÁËÅÔ %{name}-common. åÓÌÉ ×ÁÍ ÎÕÖÅÎ
260 ÉÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache, ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ
264 PHP - ÃÅ ÍÏ×Á ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦×, ÝÏ ×ÂÕÄÏ×ÕÀÔØÓÑ × HTML-ËÏÄ. PHP
265 ÐÒÏÐÏÎÕ¤ ¦ÎÔÅÇÒÁæÀ Ú ÂÁÇÁÔØÍÁ óõâä, ÔÏÍÕ ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦× ÄÌÑ
266 ÒÏÂÏÔÉ Ú ÂÁÚÁÍÉ ÄÁÎÉÈ ¤ ÄÏ×Ï̦ ÐÒÏÓÔÉÍ. îÁʦÌØÛ ÐÏÐÕÌÑÒÎÅ
267 ×ÉËÏÒÉÓÔÁÎÎÑ PHP - ÚÁͦÎÁ ÄÌÑ CGI ÓËÒÉÐÔ¦×.
269 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÁÍÏÄÏÓÔÁÔÎÀ (CGI) ×ÅÒÓ¦À ¦ÎÔÅÒÐÒÅÔÁÔÏÒÁ ÍÏ×É. ÷É
270 ÍÁ¤ÔÅ ÔÁËÏÖ ×ÓÔÁÎÏ×ÉÔÉ ÐÁËÅÔ %{name}-common. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÅÎ
271 ¦ÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache, ×ÓÔÁÎÏצÔØ ÐÁËÅÔ apache-php.
273 %package -n apache1-mod_php
274 Summary: PHP DSO module for apache 1.3.x
275 Summary(pl): Modu³ DSO (Dynamic Shared Object) php dla apache 1.3.x
276 Group: Development/Languages/PHP
277 Requires(triggerpostun): sed >= 4.0
278 Requires: %{name}-common = %{epoch}:%{version}-%{release}
279 Requires: apache1(EAPI) >= 1.3.33-2
280 Requires: apache1-mod_mime
281 Provides: php = %{epoch}:%{version}-%{release}
282 Provides: webserver(php) = %{version}
283 Obsoletes: apache-mod_php < 1:4.1.1
286 %description -n apache1-mod_php
287 PHP as DSO module for apache 1.3.x.
289 %description -n apache1-mod_php -l pl
290 php jako modu³ DSO (Dynamic Shared Object) dla apache 1.3.x.
292 %package -n apache-mod_php
293 Summary: PHP DSO module for apache 2.x
294 Summary(pl): Modu³ DSO (Dynamic Shared Object) php dla apache 2.x
295 Group: Development/Languages/PHP
296 Requires: %{name}-common = %{epoch}:%{version}-%{release}
297 Requires: apache(modules-api) = %{apache_modules_api}
298 Requires: apache-mod_mime
299 Provides: php = %{epoch}:%{version}-%{release}
300 Provides: webserver(php) = %{version}
303 %description -n apache-mod_php
304 PHP as DSO module for apache 2.x.
306 %description -n apache-mod_php -l pl
307 php jako modu³ DSO (Dynamic Shared Object) dla apache 2.x.
310 Summary: php as FastCGI program
311 Summary(pl): php jako program FastCGI
312 Group: Development/Languages/PHP
313 Requires: %{name}-common = %{epoch}:%{version}-%{release}
314 Provides: php = %{epoch}:%{version}-%{release}
315 Provides: webserver(php) = %{version}
318 php as FastCGI program.
320 %description fcgi -l pl
321 php jako program FastCGI.
324 Summary: php as CGI program
325 Summary(pl): php jako program CGI
326 Group: Development/Languages/PHP
327 Requires: %{name}-common = %{epoch}:%{version}-%{release}
332 %description cgi -l pl
333 php jako program CGI.
336 Summary: php as CLI interpreter
337 Summary(pl): php jako interpreter dzia³aj±cy z linii poleceñ
338 Group: Development/Languages/PHP
339 Requires: %{name}-common = %{epoch}:%{version}-%{release}
342 php as CLI interpreter.
344 %description cli -l pl
345 php jako interpreter dzia³aj±cy z linii poleceñ.
348 Summary: /usr/bin/php symlink
349 Summary(pl): Dowi±zanie symboliczne /usr/bin/php
350 Group: Development/Languages/PHP
351 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
352 Obsoletes: /usr/bin/php
355 Package providing /usr/bin/php symlink to PHP CLI.
357 %description program -l pl
358 Pakiet dostarczaj±cy dowi±zanie symboliczne /usr/bin/php do PHP CLI.
361 Summary: Common files needed by both apache module and CGI
362 Summary(pl): Wspólne pliki dla modu³u apache'a i programu CGI
363 Summary(ru): òÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ php
364 Summary(uk): â¦Â̦ÏÔÅËÉ ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÄÌÑ php
366 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
367 Requires: glibc >= 6:2.3.5
369 Provides: %{name}-libxml = %{epoch}:%{version}-%{release}
370 Provides: %{name}-overload = %{epoch}:%{version}-%{release}
371 Provides: %{name}-session = %{epoch}:%{version}-%{release}
372 Provides: %{name}-simplexml = %{epoch}:%{version}-%{release}
373 Provides: %{name}-spl = %{epoch}:%{version}-%{release}
374 Provides: %{name}-standard = %{epoch}:%{version}-%{release}
375 Provides: php(libxml)
376 Provides: php(modules_api) = %{php_api_version}
377 Provides: php(overload)
378 Provides: php(session)
379 Provides: php(simplexml)
381 Provides: php(standard)
382 Provides: php(zend_extension_api) = %{zend_extension_api}
383 Provides: php(zend_module_api) = %{zend_module_api}
384 Provides: php5(debug) = %{php_debug}
385 Provides: php5(thread-safety) = %{zend_zts}
386 Obsoletes: php-pecl-domxml
387 Obsoletes: php-session < 3:4.2.1-2
388 # for the posttrans scriptlet, conflicts because in vserver enviroinment rpm package is not installed.
389 Conflicts: rpm < 4.4.2-0.2
392 Common files needed by both apache module and CGI.
394 %description common -l pl
395 Wspólne pliki dla modu³u apacha i programu CGI.
397 %description common -l ru
398 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÏÂÝÉÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÎÙÈ ×ÁÒÉÁÎÔÏ× ÒÅÁÌÉÚÁÃÉÉ PHP
399 (ÓÁÍÏÄÏÓÔÁÔÏÞÎÏÊ É × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache).
401 %description common -l uk
402 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓЦÌØΦ ÆÁÊÌÉ ÄÌÑ Ò¦ÚÎÉÈ ×ÁÒ¦ÁÎÔ¦× ÒÅÁ̦ÚÁæ§ PHP
403 (ÓÁÍÏÄÏÓÔÁÔÎØϧ ÔÁ × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache).
406 Summary: Files for PHP modules development
407 Summary(pl): Pliki do kompilacji modu³ów PHP
408 Summary(pt_BR): Arquivos de desenvolvimento para PHP
409 Summary(ru): ðÁËÅÔ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÏÓÔÒÏÅÎÉÑ ÒÁÓÛÉÒÅÎÉÊ PHP
410 Summary(uk): ðÁËÅÔ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÏÂÕÄÏ×É ÒÏÚÛÉÒÅÎØ PHP
411 Group: Development/Languages/PHP
412 Requires: %{name}-common = %{epoch}:%{version}-%{release}
417 Obsoletes: php-pear-devel
418 Obsoletes: php4-devel
421 The php-devel package lets you compile dynamic extensions to PHP.
422 Included here is the source for the PHP extensions. Instead of
423 recompiling the whole php binary to add support for, say, oracle,
424 install this package and use the new self-contained extensions
425 support. For more information, read the file
426 README.SELF-CONTAINED-EXTENSIONS.
428 %description devel -l pl
429 Ten pakiet zawiera pliki potrzebne do kompilacji modu³ów PHP. Zamiast
430 rekompilowaæ ca³e php aby dodaæ obs³ugê np. oracle, mo¿na przy u¿yciu
431 tego pakietu skompilowaæ samodzielne rozszerzenie. Wiêcej informacji o
432 samodzielnych rozszerzeniach mo¿na znale¼æ w pliku
433 README.SELF-CONTAINED-EXTENSIONS.
435 %description devel -l pt_BR
436 Este pacote contém arquivos usados no desenvolvimento de programas ou
439 %description devel -l ru
440 ðÁËÅÔ php-devel ÄÁÅÔ ×ÏÚÍÏÖÎÏÓÔØ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÄÉÎÁÍÉÞÅÓËÉÅ ÒÁÓÛÉÒÅÎÉÑ
441 PHP. ðÁËÅÔ ×ËÌÀÞÁÅÔ ÉÓÈÏÄÎÙÊ ËÏÄ ÜÔÉÈ ÒÁÓÛÉÒÅÎÉÊ. ÷ÍÅÓÔÏ ÐÏ×ÔÏÒÎÏÊ
442 ËÏÍÐÉÌÑÃÉÉ ÂÉÎÁÒÎÏÇÏ ÆÁÊÌÁ php ÄÌÑ ÄÏÂÁ×ÌÅÎÉÑ, ÎÁÐÒÉÍÅÒ, ÐÏÄÄÅÒÖËÉ
443 oracle, ÕÓÔÁÎÏ×ÉÔÅ ÜÔÏÔ ÐÁËÅÔ ÄÌÑ ËÏÍÐÉÌÉÒÏ×ÁÎÉÑ ÏÔÄÅÌØÎÙÈ ÒÁÓÛÉÒÅÎÉÊ.
444 ðÏÄÒÏÂÎÏÓÔÉ - × ÆÁÊÌÅ README.SELF-CONTAINED-EXTENSIONS.
446 %description devel -l uk
447 ðÁËÅÔ php-devel ÄÁ¤ ÍÏÖÌÉצÓÔØ ËÏÍЦÌÀ×ÁÔÉ ÄÉÎÁͦÞΦ ÒÏÚÛÉÒÅÎÎÑ PHP.
448 äÏ ÐÁËÅÔÕ ×ËÌÀÞÅÎÏ ×ÉȦÄÎÉÊ ËÏÄ ÄÌÑ ÒÏÚÛÉÒÅÎØ. úÁͦÓÔØ ÐÏ×ÔÏÒÎϧ
449 ËÏÍЦÌÑæ§ ¦ÎÁÒÎÏÇÏ ÆÁÊÌÕ php ÄÌÑ ÄÏÄÁÎÎÑ, ÎÁÐÒÉËÌÁÄ, ЦÄÔÒÉÍËÉ
450 oracle, ×ÓÔÁÎÏצÔØ ÃÅÊ ÐÁËÅÔ ÄÌÑ ËÏÍЦÌÑæ§ ÏËÒÅÍÉÈ ÒÏÚÛÉÒÅÎØ.
451 äÅÔÁÌØΦÛÁ ¦ÎÆÏÒÍÁÃ¦Ñ - × ÆÁÊ̦ README.SELF-CONTAINED-EXTENSIONS.
454 Summary: bcmath extension module for PHP
455 Summary(pl): Modu³ bcmath dla PHP
457 Requires: %{name}-common = %{epoch}:%{version}-%{release}
458 Provides: php(bcmath)
461 This is a dynamic shared object (DSO) for PHP that will add bc style
462 precision math functions support.
464 %description bcmath -l pl
465 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
466 matematycznych takich jak w programie bc.
469 Summary: Bzip2 extension module for PHP
470 Summary(pl): Modu³ bzip2 dla PHP
472 Requires: %{name}-common = %{epoch}:%{version}-%{release}
476 This is a dynamic shared object (DSO) for PHP that will add bzip2
477 compression support to PHP.
479 %description bzip2 -l pl
480 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji bzip2.
483 Summary: Calendar extension module for PHP
484 Summary(pl): Modu³ funkcji kalendarza dla PHP
486 Requires: %{name}-common = %{epoch}:%{version}-%{release}
487 Provides: php(calendar)
489 %description calendar
490 This is a dynamic shared object (DSO) for PHP that will add calendar
493 %description calendar -l pl
494 Modu³ PHP dodaj±cy wsparcie dla kalendarza.
497 Summary: ctype extension module for PHP
498 Summary(pl): Modu³ ctype dla PHP
500 Requires: %{name}-common = %{epoch}:%{version}-%{release}
504 This is a dynamic shared object (DSO) for PHP that will add ctype
507 %description ctype -l pl
508 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
511 Summary: curl extension module for PHP
512 Summary(pl): Modu³ curl dla PHP
514 Requires: %{name}-common = %{epoch}:%{version}-%{release}
518 This is a dynamic shared object (DSO) for PHP that will add curl
521 %description curl -l pl
522 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
525 Summary: DBA extension module for PHP
526 Summary(pl): Modu³ DBA dla PHP
528 Requires: %{name}-common = %{epoch}:%{version}-%{release}
532 This is a dynamic shared object (DSO) for PHP that will add flat-file
533 databases (DBA) support.
535 %description dba -l pl
536 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych opartych na plikach
540 Summary: DBase extension module for PHP
541 Summary(pl): Modu³ DBase dla PHP
543 Requires: %{name}-common = %{epoch}:%{version}-%{release}
547 This is a dynamic shared object (DSO) for PHP that will add DBase
550 %description dbase -l pl
551 Modu³ PHP ze wsparciem dla DBase.
554 Summary: DOM extension module for PHP
555 Summary(pl): Modu³ DOM dla PHP
557 Requires: %{name}-common = %{epoch}:%{version}-%{release}
558 # it has some compatibility functions
560 Provides: php(domxml)
561 Provides: php-domxml = %{epoch}:%{version}-%{release}
562 Obsoletes: php-domxml <= 3:4.3.8-1
565 This is a dynamic shared object (DSO) for PHP that will add new DOM
568 %description dom -l pl
569 Modu³ PHP dodaj±cy now± obs³ugê DOM.
572 Summary: exif extension module for PHP
573 Summary(pl): Modu³ exif dla PHP
575 Requires: %{name}-common = %{epoch}:%{version}-%{release}
579 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
580 support in image files.
582 %description exif -l pl
583 Modu³ PHP dodaj±cy obs³ugê znaczników EXIF w plikach obrazków.
586 Summary: FDF extension module for PHP
587 Summary(pl): Modu³ FDF dla PHP
589 Requires: %{name}-common = %{epoch}:%{version}-%{release}
593 This PHP module adds support for PDF Forms through Adobe FDFTK
596 %description fdf -l pl
597 Modu³ PHP dodaj±cy obs³ugê formularzy PDF poprzez bibliotekê Adobe
601 Summary: filePro extension module for PHP
602 Summary(pl): Modu³ filePro dla PHP
604 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
605 Requires: %{name}-common = %{epoch}:%{version}-%{release}
608 This is a dynamic shared object (DSO) for PHP that will add support
609 for read-only access to filePro databases.
611 %description filepro -l pl
612 Modu³ PHP dodaj±cy mo¿liwo¶æ dostêpu (tylko do odczytu) do baz danych
616 Summary: FTP extension module for PHP
617 Summary(pl): Modu³ FTP dla PHP
619 Requires: %{name}-common = %{epoch}:%{version}-%{release}
623 This is a dynamic shared object (DSO) for PHP that will add FTP
626 %description ftp -l pl
627 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
630 Summary: GD extension module for PHP
631 Summary(pl): Modu³ GD dla PHP
633 Requires: %{name}-common = %{epoch}:%{version}-%{release}
634 Requires: gd >= 2.0.28-4
639 This is a dynamic shared object (DSO) for PHP that will add GD
640 support, allowing you to create and manipulate images with PHP.
642 %description gd -l pl
643 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD, pozwalaj±cej na
644 tworzenie i obróbkê obrazków.
647 Summary: gettext extension module for PHP
648 Summary(pl): Modu³ gettext dla PHP
650 Requires: %{name}-common = %{epoch}:%{version}-%{release}
651 Provides: php(gettext)
654 This is a dynamic shared object (DSO) for PHP that will add gettext
657 %description gettext -l pl
658 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
661 Summary: gmp extension module for PHP
662 Summary(pl): Modu³ gmp dla PHP
664 Requires: %{name}-common = %{epoch}:%{version}-%{release}
668 This is a dynamic shared object (DSO) for PHP that will add arbitrary
669 length number support with GNU MP library.
671 %description gmp -l pl
672 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki gmp do obliczeñ na
673 liczbach o dowolnej d³ugo¶ci.
676 Summary: Hyperwave API extension module for PHP
677 Summary(pl): Modu³ API Hyperwave dla PHP
679 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
680 Requires: %{name}-common = %{epoch}:%{version}-%{release}
683 This is a dynamic shared object (DSO) for PHP that will add official
684 Hyperwave API support.
686 %description hwapi -l pl
687 Modu³ PHP dodaj±cy obs³ugê Hyperwave.
690 Summary: iconv extension module for PHP
691 Summary(pl): Modu³ iconv dla PHP
693 Requires: %{name}-common = %{epoch}:%{version}-%{release}
697 This is a dynamic shared object (DSO) for PHP that will add iconv
700 %description iconv -l pl
701 Modu³ PHP dodaj±cy obs³ugê iconv.
704 Summary: IMAP extension module for PHP
705 Summary(pl): Modu³ IMAP dla PHP
706 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
708 Requires: %{name}-common = %{epoch}:%{version}-%{release}
712 This is a dynamic shared object (DSO) for PHP that will add IMAP
715 %description imap -l pl
716 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
718 %description imap -l pt_BR
719 Um módulo para aplicações PHP que usam IMAP.
722 Summary: InterBase/Firebird database module for PHP
723 Summary(pl): Modu³ bazy danych InterBase/Firebird dla PHP
725 Requires: %{name}-common = %{epoch}:%{version}-%{release}
726 Provides: php(interbase)
727 %{?with_interbase_inst:Autoreq: false}
729 %description interbase
730 This is a dynamic shared object (DSO) for PHP that will add InterBase
731 and Firebird database support.
733 %description interbase -l pl
734 Modu³ PHP umo¿liwiaj±cy dostêp do baz danych InterBase i Firebird.
737 Summary: LDAP extension module for PHP
738 Summary(pl): Modu³ LDAP dla PHP
739 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
741 Requires: %{name}-common = %{epoch}:%{version}-%{release}
745 This is a dynamic shared object (DSO) for PHP that will add LDAP
748 %description ldap -l pl
749 Modu³ PHP dodaj±cy obs³ugê LDAP.
751 %description ldap -l pt_BR
752 Um módulo para aplicações PHP que usam LDAP.
755 Summary: mbstring extension module for PHP
756 Summary(pl): Modu³ mbstring dla PHP
758 Requires: %{name}-common = %{epoch}:%{version}-%{release}
759 Provides: php(mbstring)
761 %description mbstring
762 This is a dynamic shared object (DSO) for PHP that will add multibyte
765 %description mbstring -l pl
766 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
769 Summary: mcrypt extension module for PHP
770 Summary(pl): Modu³ mcrypt dla PHP
772 Requires: %{name}-common = %{epoch}:%{version}-%{release}
773 Provides: php(mcrypt)
776 This is a dynamic shared object (DSO) for PHP that will add mcrypt
779 %description mcrypt -l pl
780 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
783 Summary: mhash extension module for PHP
784 Summary(pl): Modu³ mhash dla PHP
786 Requires: %{name}-common = %{epoch}:%{version}-%{release}
790 This is a dynamic shared object (DSO) for PHP that will add mhash
793 %description mhash -l pl
794 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
797 Summary: mime_magic extension module for PHP
798 Summary(pl): Modu³ mime_magic dla PHP
800 Requires: %{name}-common = %{epoch}:%{version}-%{release}
801 Requires: /usr/share/file/magic.mime
802 Provides: php(mime_magic)
804 %description mime_magic
805 This PHP module adds support for MIME type lookup via file magic
806 numbers using magic.mime database.
808 %description mime_magic -l pl
809 Modu³ PHP dodaj±cy obs³ugê wyszukiwania typów MIME wed³ug magicznych
810 znaczników plików z u¿yciem bazy danych magic.mime.
813 Summary: ming extension module for PHP
814 Summary(pl): Modu³ ming dla PHP
816 Requires: %{name}-common = %{epoch}:%{version}-%{release}
820 This is a dynamic shared object (DSO) for PHP that will add ming
821 (Flash - .swf files) support.
823 %description ming -l pl
824 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
828 Summary: MS SQL extension module for PHP
829 Summary(pl): Modu³ MS SQL dla PHP
831 Requires: %{name}-common = %{epoch}:%{version}-%{release}
835 This is a dynamic shared object (DSO) for PHP that will add MS SQL
836 databases support through FreeTDS library.
838 %description mssql -l pl
839 Modu³ PHP dodaj±cy obs³ugê baz danych MS SQL poprzez bibliotekê
843 Summary: MySQL database module for PHP
844 Summary(pl): Modu³ bazy danych MySQL dla PHP
845 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
847 Requires: %{name}-common = %{epoch}:%{version}-%{release}
851 This is a dynamic shared object (DSO) for PHP that will add MySQL
854 %description mysql -l pl
855 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
857 %description mysql -l pt_BR
858 Um módulo para aplicações PHP que usam bancos de dados MySQL.
861 Summary: MySQLi module for PHP
862 Summary(pl): Modu³ MySQLi dla PHP
864 Requires: %{name}-common = %{epoch}:%{version}-%{release}
865 Requires: mysql-libs >= 4.1.0
866 Provides: php(mysqli)
869 This is a dynamic shared object (DSO) for PHP that will add MySQLi
870 (Improved MySQL) support. The difference between it and mysql module
871 is that it provides access to functionality of MySQL 4.1 and above.
873 %description mysqli -l pl
874 Modu³ PHP umo¿liwiaj±cy udoskonalony dostêp do bazy danych MySQL.
875 Ró¿nic± miêdzy nim a modu³em mysql jest dostêp do funkcjonalno¶ci
876 MySQL w wersji 4.1 i nowszych.
879 Summary: ncurses module for PHP
880 Summary(pl): Modu³ ncurses dla PHP
882 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
883 Provides: php(ncurses)
886 This PHP module adds support for ncurses functions (only for cli and
889 %description ncurses -l pl
890 Modu³ PHP dodaj±cy obs³ugê funkcji ncurses (tylko do SAPI cli i cgi).
893 Summary: Oracle 8+ database module for PHP
894 Summary(pl): Modu³ bazy danych Oracle 8+ dla PHP
896 Requires: %{name}-common = %{epoch}:%{version}-%{release}
901 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
902 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
904 %description oci8 -l pl
905 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7, 8, 9 i 10
906 poprzez interfejs Oracle8 Call-Interface (OCI8).
909 Summary: ODBC extension module for PHP
910 Summary(pl): Modu³ ODBC dla PHP
911 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
913 Requires: %{name}-common = %{epoch}:%{version}-%{release}
914 Requires: unixODBC >= 2.1.1-3
918 This is a dynamic shared object (DSO) for PHP that will add ODBC
921 %description odbc -l pl
922 Modu³ PHP ze wsparciem dla ODBC.
924 %description odbc -l pt_BR
925 Um módulo para aplicações PHP que usam ODBC.
928 Summary: OpenSSL extension module for PHP
929 Summary(pl): Modu³ OpenSSL dla PHP
931 Requires: %{name}-common = %{epoch}:%{version}-%{release}
932 Provides: php(openssl)
935 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
938 Warning: this is an experimental module.
940 %description openssl -l pl
941 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki OpenSSL.
943 Uwaga: to jest modu³ eksperymentalny.
946 Summary: Process Control extension module for PHP
947 Summary(pl): Modu³ Process Control dla PHP
949 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
953 This is a dynamic shared object (DSO) for PHP that will add process
954 spawning and control support. It supports functions like fork(),
955 waitpid(), signal() etc.
957 Warning: this is an experimental module. Also, don't use it in
958 webserver environment!
960 %description pcntl -l pl
961 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
962 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
964 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
965 u¿ywania z serwerem WWW - nie próbuj tego!
968 Summary: PCRE extension module for PHP
969 Summary(pl): Modu³ PCRE dla PHP
971 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
972 Requires: %{name}-common = %{epoch}:%{version}-%{release}
975 This is a dynamic shared object (DSO) for PHP that will add Perl
976 Compatible Regular Expression support.
978 %description pcre -l pl
979 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
980 (Perl Compatible Regular Expressions)
983 Summary: PHP Data Objects (PDO)
984 Summary(pl): Obs³uga PHP Data Objects (PDO)
986 Requires: %{name}-common = %{epoch}:%{version}-%{release}
988 Obsoletes: php-pecl-PDO
991 This is a dynamic shared object (DSO) for PHP that will add PDO
994 %description pdo -l pl
995 Modu³ PHP dodaj±cy obs³ugê PDO (PHP Data Objects).
998 Summary: PHP Data Objects (PDO) FreeTDS support
999 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± FreeTDS
1001 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1002 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1003 Provides: php(dblib)
1005 %description pdo-dblib
1006 This is a dynamic shared object (DSO) for PHP that will add PDO
1009 %description pdo-dblib -l pl
1010 Modu³ dla PHP dodaj±cy obs³ugê baz danych FreeTDS za po¶rednictwem
1013 %package pdo-firebird
1014 Summary: PHP Data Objects (PDO) Firebird support
1015 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± Firebirda
1017 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1018 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1019 Provides: php(pdo-firebird)
1020 Obsoletes: php-pecl-PDO_FIREBIRD
1022 %description pdo-firebird
1023 This is a dynamic shared object (DSO) for PHP that will add PDO
1026 %description pdo-firebird -l pl
1027 Modu³ dla PHP dodaj±cy obs³ugê baz danych Firebird za po¶rednictwem
1031 Summary: PHP Data Objects (PDO) MySQL support
1032 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± MySQL-a
1034 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1035 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1036 Provides: php(pdo-mysql)
1037 Obsoletes: php-pecl-PDO_MYSQL
1039 %description pdo-mysql
1040 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1043 %description pdo-mysql -l pl
1044 Modu³ dla PHP dodaj±cy obs³ugê baz danych MySQL za po¶rednictwem
1048 Summary: PHP Data Objects (PDO) Oracle support
1049 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± Oracle'a
1051 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1052 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1053 Provides: php(pdo-oci)
1054 Obsoletes: php-pecl-PDO_OCI
1056 %description pdo-oci
1057 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1060 %description pdo-oci -l pl
1061 Modu³ dla PHP dodaj±cy obs³ugê baz danych Oracle za po¶rednictwem
1065 Summary: PHP Data Objects (PDO) ODBC support
1066 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± ODBC
1068 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1069 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1070 Provides: php(pdo-odbc)
1071 Obsoletes: php-pecl-PDO_ODBC
1073 %description pdo-odbc
1074 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1077 %description pdo-odbc -l pl
1078 Modu³ dla PHP dodaj±cy obs³ugê baz danych ODBC za po¶rednictwem
1082 Summary: PHP Data Objects (PDO) PostgreSQL support
1083 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± PostgreSQL-a
1085 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1086 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1087 Provides: php(pdo-pgsql)
1088 Obsoletes: php-pecl-PDO_PGSQL
1090 %description pdo-pgsql
1091 This is a dynamic shared object (DSO) for PHP that will add PDO
1094 %description pdo-pgsql -l pl
1095 Modu³ dla PHP dodaj±cy obs³ugê baz danych PostgreSQL za po¶rednictwem
1099 Summary: PHP Data Objects (PDO) SQLite support
1100 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± SQLite
1102 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1103 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1104 Provides: php(pdo-sqlite)
1105 Obsoletes: php-pecl-PDO_SQLITE
1107 %description pdo-sqlite
1108 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1111 %description pdo-sqlite -l pl
1112 Modu³ dla PHP dodaj±cy obs³ugê baz danych SQLite za po¶rednictwem
1116 Summary: PostgreSQL database module for PHP
1117 Summary(pl): Modu³ bazy danych PostgreSQL dla PHP
1119 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1120 Provides: php(pgsql)
1123 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1126 %description pgsql -l pl
1127 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
1129 %description pgsql -l pt_BR
1130 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1133 Summary: POSIX extension module for PHP
1134 Summary(pl): Modu³ POSIX dla PHP
1136 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1137 Provides: php(posix)
1140 This is a dynamic shared object (DSO) for PHP that will add POSIX
1141 functions support to PHP.
1143 %description posix -l pl
1144 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
1147 Summary: pspell extension module for PHP
1148 Summary(pl): Modu³ pspell dla PHP
1150 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1151 Provides: php(pspell)
1154 This is a dynamic shared object (DSO) for PHP that will add pspell
1155 support to PHP. It allows to check the spelling of a word and offer
1158 %description pspell -l pl
1159 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
1160 sprawdzanie pisowni s³owa i sugerowanie poprawek.
1163 Summary: readline extension module for PHP
1164 Summary(pl): Modu³ readline dla PHP
1166 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1167 Provides: php(readline)
1169 %description readline
1170 This PHP module adds support for readline functions (only for cli and
1173 %description readline -l pl
1174 Modu³ PHP dodaj±cy obs³ugê funkcji readline (tylko do SAPI cli i cgi).
1177 Summary: recode extension module for PHP
1178 Summary(pl): Modu³ recode dla PHP
1180 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1181 Requires: recode >= 3.5d-3
1182 Provides: php(recode)
1185 This is a dynamic shared object (DSO) for PHP that will add recode
1188 %description recode -l pl
1189 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1193 Summary: Shared Memory Operations extension module for PHP
1194 Summary(pl): Modu³ shmop dla PHP
1196 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1197 Provides: php(shmop)
1200 This is a dynamic shared object (DSO) for PHP that will add Shared
1201 Memory Operations support.
1203 Warning: this is an experimental module.
1205 %description shmop -l pl
1206 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1208 Uwaga: to jest modu³ eksperymentalny.
1211 Summary: Simple XML extension module for PHP
1212 Summary(pl): Modu³ prostego rozszerzenia XML dla PHP
1214 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1215 Provides: php(simplexml)
1217 %description simplexml
1218 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1221 %description simplexml -l pl
1222 Modu³ PHP dodaj±cy obs³ugê prostego XML-a.
1225 Summary: SNMP extension module for PHP
1226 Summary(pl): Modu³ SNMP dla PHP
1228 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1229 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1233 This is a dynamic shared object (DSO) for PHP that will add SNMP
1236 %description snmp -l pl
1237 Modu³ PHP dodaj±cy obs³ugê SNMP.
1240 Summary: soap extension module for PHP
1241 Summary(pl): Modu³ soap dla PHP
1243 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1247 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1250 %description soap -l pl
1251 Modu³ PHP dodaj±cy obs³ugê SOAP/WSDL.
1254 Summary: sockets extension module for PHP
1255 Summary(pl): Modu³ socket dla PHP
1257 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1258 Provides: php(sockets)
1260 %description sockets
1261 This is a dynamic shared object (DSO) for PHP that will add sockets
1264 Warning: this is an experimental module.
1266 %description sockets -l pl
1267 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1269 Uwaga: to jest modu³ eksperymentalny.
1272 Summary: SQLite extension module for PHP
1273 Summary(pl): Modu³ SQLite dla PHP
1275 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1276 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1277 Provides: php(sqlite)
1280 SQLite is a C library that implements an embeddable SQL database
1281 engine. Programs that link with the SQLite library can have SQL
1282 database access without running a separate RDBMS process.
1284 SQLite is not a client library used to connect to a big database
1285 server. SQLite is the server. The SQLite library reads and writes
1286 directly to and from the database files on disk.
1288 %description sqlite -l pl
1289 SQLite jest napisan± w C bibliotek± implementuj±c± osadzalny silnik
1290 bazodanowy SQL. Program linkuj±cy siê z bibliotek± SQLite mo¿e mieæ
1291 dostêp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1294 SQLite to nie klient baz danych - biblioteka nie ³±czy siê z serwerami
1295 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1296 zapisuje dane bezpo¶rednio z/do plików baz danych znajduj±cych siê na
1300 Summary: Sybase DB extension module for PHP
1301 Summary(pl): Modu³ Sybase DB dla PHP
1303 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1304 Provides: php(sybase)
1305 Obsoletes: php-sybase-ct
1308 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1309 MS SQL databases support through SYBDB library. Currently Sybase
1310 module is not maintained. Using Sybase-CT module is recommended
1313 %description sybase -l pl
1314 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1315 bibliotekê SYBDB. W chwili obecnej modu³ Sybase nie jest wspierany.
1316 Zaleca siê u¿ywanie modu³u Sybase-CT.
1319 Summary: Sybase-CT extension module for PHP
1320 Summary(pl): Modu³ Sybase-CT dla PHP
1322 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1323 Provides: php(sybase-ct)
1324 Obsoletes: php-sybase
1326 %description sybase-ct
1327 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1328 MS SQL databases support through CT-lib.
1330 %description sybase-ct -l pl
1331 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1335 Summary: SysV msg extension module for PHP
1336 Summary(pl): Modu³ SysV msg dla PHP
1338 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1339 Provides: php(sysvmsg)
1341 %description sysvmsg
1342 This is a dynamic shared object (DSO) for PHP that will add SysV
1343 message queues support.
1345 %description sysvmsg -l pl
1346 Modu³ PHP umo¿liwiaj±cy korzystanie z kolejek komunikatów SysV.
1349 Summary: SysV sem extension module for PHP
1350 Summary(pl): Modu³ SysV sem dla PHP
1352 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1353 Provides: php(sysvsem)
1355 %description sysvsem
1356 This is a dynamic shared object (DSO) for PHP that will add SysV
1359 %description sysvsem -l pl
1360 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1363 Summary: SysV shm extension module for PHP
1364 Summary(pl): Modu³ SysV shm dla PHP
1366 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1367 Provides: php(sysvshm)
1369 %description sysvshm
1370 This is a dynamic shared object (DSO) for PHP that will add SysV
1371 Shared Memory support.
1373 %description sysvshm -l pl
1374 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1377 Summary: Tidy extension module for PHP
1378 Summary(pl): Modu³ Tidy dla PHP
1380 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1385 This is a dynamic shared object (DSO) for PHP that will add Tidy
1388 %description tidy -l pl
1389 Modu³ PHP umo¿liwiaj±cy korzystanie z tidy.
1392 Summary: tokenizer extension module for PHP
1393 Summary(pl): Modu³ rozszerzenia tokenizer dla PHP
1395 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1396 Provides: php(tokenizer)
1398 %description tokenizer
1399 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1402 %description tokenizer -l pl
1403 Modu³ PHP dodaj±cy obs³ugê tokenizera do PHP.
1406 Summary: wddx extension module for PHP
1407 Summary(pl): Modu³ wddx dla PHP
1409 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1410 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1411 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1415 This is a dynamic shared object (DSO) for PHP that will add wddx
1418 %description wddx -l pl
1419 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1422 Summary: XML extension module for PHP
1423 Summary(pl): Modu³ XML dla PHP
1425 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1429 This is a dynamic shared object (DSO) for PHP that will add XML
1430 support. This extension lets you create XML parsers and then define
1431 handlers for different XML events.
1433 %description xml -l pl
1434 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1435 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1436 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1439 Summary: XML Reader extension module for PHP
1440 Summary(pl): Modu³ XML Reader dla PHP
1442 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1443 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1444 Provides: php(xmlreader)
1446 %description xmlreader
1447 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1448 support. The XMLReader extension is an XML Pull parser. The reader
1449 acts as a cursor going forward on the document stream and stopping at
1450 each node on the way.
1452 %description xmlreader -l pl
1453 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML w trybie Pull. Czytnik
1454 dzia³a jako kursor przechodz±cy przez strumieñ dokumentu i
1455 zatrzymuj±cy siê naka¿dym wê¼le po drodze.
1458 Summary: xmlrpc extension module for PHP
1459 Summary(pl): Modu³ xmlrpc dla PHP
1461 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1462 Provides: php(xmlrpc)
1465 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1468 Warning: this is an experimental module.
1470 %description xmlrpc -l pl
1471 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1473 Uwaga: to jest modu³ eksperymentalny.
1476 Summary: xsl extension module for PHP
1477 Summary(pl): Modu³ xsl dla PHP
1479 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1480 Requires: libxslt >= 1.0.18
1481 # actually not true, functionality is similar, but API differs
1483 Obsoletes: php-xslt <= 3:4.3.8-1
1486 This is a dynamic shared object (DSO) for PHP that will add new XSL
1487 support (using libxslt).
1489 %description xsl -l pl
1490 Modu³ PHP dodaj±cy now± obs³ugê XSLT (przy u¿yciu libxslt).
1493 Summary: Zlib extension module for PHP
1494 Summary(pl): Modu³ zlib dla PHP
1496 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1500 This is a dynamic shared object (DSO) for PHP that will add zlib
1501 compression support to PHP.
1503 %description zlib -l pl
1504 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1519 cp php.ini-dist php.ini
1521 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1537 %if %{with hardening}
1538 zcat %{SOURCE8} | patch -p1 || exit 1
1539 patch -p1 < %{PATCH30} || exit 1
1545 %{?with_versioning:%patch35 -p1}
1547 %if "%{_lib}" == "lib64"
1552 # conflict seems to be resolved by recode patches
1553 rm -f ext/recode/config9.m4
1555 # remove all bundled libraries not to link with them accidentally
1556 #rm -rf ext/sqlite/libsqlite
1557 #rm -rf ext/bcmath/libbcmath
1558 #rm -rf ext/date/lib
1559 #rm -rf ext/dba/libcdb
1560 #rm -rf ext/dba/libflatfile
1561 #rm -rf ext/dba/libinifile
1562 #rm -rf ext/gd/libgd
1563 #rm -rf ext/mbstring/libmbfl
1564 #rm -rf ext/mbstring/oniguruma
1565 rm -rf ext/pcre/pcrelib
1566 rm -rf ext/pdo_sqlite/sqlite
1567 #rm -rf ext/soap/interop
1568 rm -rf ext/xmlrpc/libxmlrpc
1571 if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then
1572 echo "Set %%define php_api_version to $API and rerun."
1576 if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then
1577 echo "Set %%define zend_module_api to $API and rerun."
1581 if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then
1582 echo "Set %%define zend_extension_api to $API and rerun."
1586 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1587 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1588 rm -f Makefile.{fcgi,cgi,cli,apxs{1,2}} # now remove Makefile copies
1594 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1608 for sapi in $sapis; do
1609 [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1615 echo --enable-discard-path --enable-force-cgi-redirect
1621 echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect
1624 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
1625 echo --with-apxs=%{apxs1} --with-apache-version=$ver
1628 ver=%(rpm -q --qf '%%{version}' apache-apxs)
1629 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
1633 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1634 --cache-file=config.cache \
1636 --with-libdir=%{_lib} \
1637 --with-config-file-path=%{_sysconfdir} \
1638 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1639 --with-exec-dir=%{_bindir} \
1640 --%{!?debug:dis}%{?debug:en}able-debug \
1641 %{?with_zts:--enable-maintainer-zts} \
1642 --enable-inline-optimization \
1643 --enable-memory-limit \
1644 --enable-bcmath=shared \
1645 --enable-calendar=shared \
1646 --enable-ctype=shared \
1647 --enable-dba=shared \
1650 --enable-dom=shared \
1651 --enable-exif=shared \
1652 --enable-filepro=shared \
1653 --enable-ftp=shared \
1654 --enable-gd-native-ttf \
1655 --enable-gd-jus-conf \
1657 --enable-magic-quotes \
1658 --enable-mbstring=shared,all \
1660 --enable-pcntl=shared \
1661 --enable-pdo=shared \
1662 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
1663 --with-pdo-dblib=shared \
1665 %if %{with interbase} && %{without interbase_inst}
1666 --with-pdo-firebird=shared \
1668 --with-pdo-mysql=shared \
1669 %{?with_oci8:--with-pdo-oci=shared} \
1670 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1671 %{?with_pgsql:--with-pdo-pgsql=shared} \
1672 %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
1673 --enable-posix=shared \
1674 --enable-reflection \
1677 --enable-shmop=shared \
1678 --enable-simplexml \
1679 --enable-sysvmsg=shared \
1680 --enable-sysvsem=shared \
1681 --enable-sysvshm=shared \
1682 --enable-track-vars \
1683 --enable-trans-sid \
1684 --enable-safe-mode \
1685 --enable-soap=shared \
1686 --enable-sockets=shared \
1687 --enable-tokenizer=shared \
1688 --enable-ucd-snmp-hack \
1689 %{?with_wddx:--enable-wddx=shared} \
1690 --enable-xml=shared \
1691 --enable-xmlreader=shared \
1693 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1694 %{?with_db3:--with-db3}%{!?with_db3:--with-db4} \
1695 --enable-dbase=shared \
1697 --with-expat-dir=shared,/usr \
1699 --without-expat-dir \
1701 %{?with_fdf:--with-fdftk=shared} \
1702 --with-iconv=shared \
1703 --with-filepro=shared \
1704 --with-freetype-dir=shared \
1705 --with-gettext=shared \
1706 --with-gd=shared,/usr \
1709 %{?with_hwapi:--with-hwapi=shared} \
1710 %{?with_imap:--with-imap=shared --with-imap-ssl} \
1711 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1712 --with-jpeg-dir=/usr \
1713 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1714 --with-mcrypt=shared \
1715 %{?with_mhash:--with-mhash=shared} \
1716 %{?with_mime_magic:--with-mime-magic=shared,/usr/share/file/magic.mime}%{!?with_mime_magic:--disable-mime-magic} \
1717 %{?with_ming:--with-ming=shared} \
1718 %{?with_mm:--with-mm} \
1719 %{?with_mssql:--with-mssql=shared} \
1720 --with-mysql=shared,/usr \
1721 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1722 %{?with_mysqli:--with-mysqli=shared} \
1723 --with-ncurses=shared \
1724 %{?with_oci8:--with-oci8=shared} \
1725 %{?with_openssl:--with-openssl=shared} \
1727 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared,/usr} \
1728 --with-pear=%{php_pear_dir} \
1729 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1730 --with-png-dir=/usr \
1731 %{?with_pspell:--with-pspell=shared} \
1732 --with-readline=shared \
1733 %{?with_recode:--with-recode=shared} \
1735 --without-sablot-js \
1736 %{?with_snmp:--with-snmp=shared} \
1737 %{?with_sybase:--with-sybase=shared,/usr} \
1738 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1739 %{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1740 --with-t1lib=shared \
1741 %{?with_tidy:--with-tidy=shared} \
1742 --with-tiff-dir=/usr \
1743 %{?with_odbc:--with-unixODBC=shared,/usr} \
1744 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1746 --with-zlib=shared \
1747 --with-zlib-dir=shared,/usr
1749 cp -f Makefile Makefile.$sapi
1750 cp -f main/php_config.h php_config.h.$sapi
1753 # must make this first, so modules can link against it.
1754 %{__make} libphp_common.la
1755 %{__make} build-modules
1758 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1762 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1767 cp -af php_config.h.fcgi main/php_config.h
1768 %{__make} sapi/cgi/php -f Makefile.fcgi
1769 cp -r sapi/cgi sapi/fcgi
1770 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1774 cp -af php_config.h.cgi main/php_config.h
1775 %{__make} sapi/cgi/php -f Makefile.cgi
1778 cp -af php_config.h.cli main/php_config.h
1779 %{__make} sapi/cli/php -f Makefile.cli
1782 rm -rf $RPM_BUILD_ROOT
1783 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
1784 $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
1785 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1786 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/httpd.conf} \
1787 $RPM_BUILD_ROOT%{_mandir}/man1 \
1789 # install the apache modules' files
1790 %{__make} install-headers install-build install-modules install-programs \
1791 INSTALL_ROOT=$RPM_BUILD_ROOT
1793 # install apache1 DSO module
1795 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
1798 # install apache2 DSO module
1800 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
1803 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1804 # fix install paths, avoid evil rpaths
1805 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
1807 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
1810 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php.cgi
1814 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php.fcgi
1818 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
1819 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
1820 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
1822 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1824 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1826 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1828 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1829 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1832 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
1833 install %{SOURCE3} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
1834 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1835 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
1839 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1840 install %{SOURCE3} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1841 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1842 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
1845 cp -f Zend/LICENSE{,.Zend}
1847 # Generate stub .ini files for each subpackage
1848 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1849 for so in modules/*.so; do
1850 mod=$(basename $so .so)
1851 conf="%{_sysconfdir}/conf.d/${mod}.ini"
1852 # xml needs to be loaded before wddx
1853 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_${mod}.ini"
1854 cat > $RPM_BUILD_ROOT${conf} <<EOF
1855 ; Enable ${mod} extension module
1860 # per SAPI ini directories
1861 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi,cli,cgi-fcgi,apache,apache2handler}.d
1864 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{ncurses,pcntl,readline}.ini,cli.d}
1866 # use system automake and {lib,sh}tool
1867 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
1868 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
1869 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
1870 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
1872 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
1873 # isn't installed by install-headers make target, we do it manually here.
1874 # this header file is required by e.g. filter PECL extension
1875 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
1878 rm -rf $RPM_BUILD_ROOT
1881 if [ "$1" = "1" ]; then
1883 %service -q apache restart
1886 %service -q httpd restart
1891 if [ "$1" = "0" ]; then
1893 %service -q apache restart
1896 %service -q httpd restart
1900 %post -n apache1-mod_php
1901 if [ "$1" = "1" ]; then
1902 %service -q apache restart
1905 %postun -n apache1-mod_php
1906 if [ "$1" = "0" ]; then
1907 %service -q apache restart
1910 %post -n apache-mod_php
1911 if [ "$1" = "1" ]; then
1912 %service -q httpd restart
1915 %postun -n apache-mod_php
1916 if [ "$1" = "0" ]; then
1917 %service -q httpd restart
1920 # so tired of typing... so decided to create macros
1921 # macro called at extension post scriptlet
1922 %define extension_post \
1923 if [ "$1" = "1" ]; then \
1924 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1925 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1928 # macro called at extension postun scriptlet
1929 %define extension_postun \
1930 if [ "$1" = "0" ]; then \
1931 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1932 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1935 %post common -p /sbin/ldconfig
1936 %postun common -p /sbin/ldconfig
1939 # minimizing apache restarts logics. we restart webserver:
1941 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1942 # 2. first install of extension (post: $1 = 1)
1943 # 2. uninstall of extension (postun: $1 == 0)
1945 # the strict internal deps between extensions (and apache modules) and
1946 # common package are very important for all this to work.
1948 # restart webserver at the end of transaction
1949 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
1950 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
1953 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
1955 /^AddType application\/x-httpd-php \.php/s,^,#,
1956 /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
1957 ' /etc/apache/apache.conf
1958 %service -q apache restart
1962 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
1963 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1964 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1965 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1966 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2171 %postun pdo-firebird
2330 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2331 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2333 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2334 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bzip2\.so/d' %{_sysconfdir}/php.ini
2336 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2337 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2339 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2340 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2342 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2343 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2345 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2346 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2348 %triggerun dbase -- %{name}-dbase < 4:5.0.4-9.1
2349 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbase\.so/d' %{_sysconfdir}/php.ini
2351 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2352 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini
2354 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2355 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2357 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2358 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2360 %triggerun filepro -- %{name}-filepro < 4:5.0.4-9.1
2361 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*filepro\.so/d' %{_sysconfdir}/php.ini
2363 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2364 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2366 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2367 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2369 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2370 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2372 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2373 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2375 %triggerun hwapi -- %{name}-hwapi < 4:5.0.4-9.1
2376 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*hwapi\.so/d' %{_sysconfdir}/php.ini
2378 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2379 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2381 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2382 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2384 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2385 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2387 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2388 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2390 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2391 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2393 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2394 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2396 %triggerun mhash -- %{name}-mhash < 4:5.0.4-9.1
2397 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mhash\.so/d' %{_sysconfdir}/php.ini
2399 %triggerun mime_magic -- %{name}-mime_magic < 4:5.0.4-9.1
2400 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mime_magic\.so/d' %{_sysconfdir}/php.ini
2402 %triggerun ming -- %{name}-ming < 4:5.0.4-9.1
2403 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ming\.so/d' %{_sysconfdir}/php.ini
2405 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2406 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2408 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2409 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2411 %triggerun ncurses -- %{name}-ncurses < 4:5.1.2-9.5
2412 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2413 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cgi.ini
2415 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2416 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cli.ini
2419 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2420 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini
2422 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2423 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2425 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2426 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2428 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2429 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2431 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2432 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2433 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2435 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2436 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2439 %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1
2440 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcre\.so/d' %{_sysconfdir}/php.ini
2442 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2443 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2445 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2446 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2448 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2449 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2451 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2452 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2453 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2455 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2456 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2459 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2460 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2462 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2463 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2465 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2466 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2468 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2469 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini
2471 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2472 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2474 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2475 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini
2477 %triggerun sybase -- %{name}-sybase < 4:5.0.4-9.1
2478 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase\.so/d' %{_sysconfdir}/php.ini
2480 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2481 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini
2483 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2484 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2486 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2487 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2489 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2490 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2492 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2493 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini
2495 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2496 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2498 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2499 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2501 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2502 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2504 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2505 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini
2507 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2508 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2511 %files -n apache1-mod_php
2512 %defattr(644,root,root,755)
2513 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2514 %dir %{_sysconfdir}/apache.d
2515 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2516 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2517 /home/services/apache/icons/*
2521 %files -n apache-mod_php
2522 %defattr(644,root,root,755)
2523 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php.conf
2524 %dir %{_sysconfdir}/apache2handler.d
2525 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2526 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2527 /home/services/httpd/icons/*
2532 %defattr(644,root,root,755)
2533 %doc sapi/cgi/README.FastCGI
2534 %dir %{_sysconfdir}/cgi-fcgi.d
2535 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2536 %attr(755,root,root) %{_bindir}/php.fcgi
2540 %defattr(644,root,root,755)
2541 %dir %{_sysconfdir}/cgi.d
2542 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2543 %attr(755,root,root) %{_bindir}/php.cgi
2546 %defattr(644,root,root,755)
2547 %dir %{_sysconfdir}/cli.d
2548 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2549 %attr(755,root,root) %{_bindir}/php.cli
2550 %{_mandir}/man1/php.1*
2551 %{_mandir}/man1/php.cli.1*
2554 %defattr(644,root,root,755)
2555 %attr(755,root,root) %{_bindir}/php
2558 %defattr(644,root,root,755)
2560 %doc CREDITS Zend/ZEND_CHANGES
2561 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2564 %dir %{_sysconfdir}/conf.d
2565 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2566 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2567 %dir %{extensionsdir}
2569 %doc ext/session/mod_files.sh
2572 %defattr(644,root,root,755)
2573 %doc README.UNIX-BUILD-SYSTEM
2574 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2575 %doc CODING_STANDARDS
2576 %attr(755,root,root) %{_bindir}/phpize
2577 %attr(755,root,root) %{_bindir}/php-config
2578 %attr(755,root,root) %{_libdir}/libphp_common.so
2579 %{_libdir}/libphp_common.la
2581 %{_libdir}/php/build
2585 %defattr(644,root,root,755)
2586 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2587 %attr(755,root,root) %{extensionsdir}/bcmath.so
2590 %defattr(644,root,root,755)
2591 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2592 %attr(755,root,root) %{extensionsdir}/bz2.so
2595 %defattr(644,root,root,755)
2596 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2597 %attr(755,root,root) %{extensionsdir}/calendar.so
2600 %defattr(644,root,root,755)
2601 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2602 %attr(755,root,root) %{extensionsdir}/ctype.so
2606 %defattr(644,root,root,755)
2607 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2608 %attr(755,root,root) %{extensionsdir}/curl.so
2612 %defattr(644,root,root,755)
2613 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2614 %attr(755,root,root) %{extensionsdir}/dba.so
2617 %defattr(644,root,root,755)
2618 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2619 %attr(755,root,root) %{extensionsdir}/dbase.so
2622 %defattr(644,root,root,755)
2623 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2624 %attr(755,root,root) %{extensionsdir}/dom.so
2628 %defattr(644,root,root,755)
2629 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2630 %attr(755,root,root) %{extensionsdir}/fdf.so
2634 %defattr(644,root,root,755)
2635 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2636 %attr(755,root,root) %{extensionsdir}/exif.so
2639 %defattr(644,root,root,755)
2640 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filepro.ini
2641 %attr(755,root,root) %{extensionsdir}/filepro.so
2644 %defattr(644,root,root,755)
2645 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2646 %attr(755,root,root) %{extensionsdir}/ftp.so
2649 %defattr(644,root,root,755)
2650 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2651 %attr(755,root,root) %{extensionsdir}/gd.so
2654 %defattr(644,root,root,755)
2655 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2656 %attr(755,root,root) %{extensionsdir}/gettext.so
2659 %defattr(644,root,root,755)
2660 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2661 %attr(755,root,root) %{extensionsdir}/gmp.so
2665 %defattr(644,root,root,755)
2666 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hwapi.ini
2667 %attr(755,root,root) %{extensionsdir}/hwapi.so
2671 %defattr(644,root,root,755)
2672 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2673 %attr(755,root,root) %{extensionsdir}/iconv.so
2677 %defattr(644,root,root,755)
2678 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2679 %attr(755,root,root) %{extensionsdir}/imap.so
2682 %if %{with interbase}
2684 %defattr(644,root,root,755)
2685 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2686 %attr(755,root,root) %{extensionsdir}/interbase.so
2691 %defattr(644,root,root,755)
2692 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2693 %attr(755,root,root) %{extensionsdir}/ldap.so
2697 %defattr(644,root,root,755)
2698 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2699 %attr(755,root,root) %{extensionsdir}/mbstring.so
2702 %defattr(644,root,root,755)
2703 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2704 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2708 %defattr(644,root,root,755)
2709 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2710 %attr(755,root,root) %{extensionsdir}/mhash.so
2713 %if %{with mime_magic}
2715 %defattr(644,root,root,755)
2716 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2717 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2722 %defattr(644,root,root,755)
2723 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2724 %attr(755,root,root) %{extensionsdir}/ming.so
2729 %defattr(644,root,root,755)
2730 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2731 %attr(755,root,root) %{extensionsdir}/mssql.so
2735 %defattr(644,root,root,755)
2736 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2737 %attr(755,root,root) %{extensionsdir}/mysql.so
2741 %defattr(644,root,root,755)
2742 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2743 %attr(755,root,root) %{extensionsdir}/mysqli.so
2747 %defattr(644,root,root,755)
2748 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/ncurses.ini
2749 %attr(755,root,root) %{extensionsdir}/ncurses.so
2753 %defattr(644,root,root,755)
2754 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2755 %attr(755,root,root) %{extensionsdir}/oci8.so
2760 %defattr(644,root,root,755)
2761 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2762 %attr(755,root,root) %{extensionsdir}/odbc.so
2767 %defattr(644,root,root,755)
2768 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2769 %attr(755,root,root) %{extensionsdir}/openssl.so
2773 %defattr(644,root,root,755)
2774 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2775 %attr(755,root,root) %{extensionsdir}/pcntl.so
2779 %defattr(644,root,root,755)
2780 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcre.ini
2781 %attr(755,root,root) %{extensionsdir}/pcre.so
2785 %defattr(644,root,root,755)
2786 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2787 %attr(755,root,root) %{extensionsdir}/pdo.so
2789 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
2791 %defattr(644,root,root,755)
2792 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2793 %attr(755,root,root) %{extensionsdir}/pdo_dblib.so
2796 %if %{with interbase} && %{without interbase_inst}
2798 %defattr(644,root,root,755)
2799 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2800 %attr(755,root,root) %{extensionsdir}/pdo_firebird.so
2804 %defattr(644,root,root,755)
2805 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2806 %attr(755,root,root) %{extensionsdir}/pdo_mysql.so
2810 %defattr(644,root,root,755)
2811 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2812 %attr(755,root,root) %{extensionsdir}/pdo_oci.so
2817 %defattr(644,root,root,755)
2818 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2819 %attr(755,root,root) %{extensionsdir}/pdo_odbc.so
2824 %defattr(644,root,root,755)
2825 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2826 %attr(755,root,root) %{extensionsdir}/pdo_pgsql.so
2831 %defattr(644,root,root,755)
2832 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2833 %attr(755,root,root) %{extensionsdir}/pdo_sqlite.so
2838 %defattr(644,root,root,755)
2839 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2840 %attr(755,root,root) %{extensionsdir}/pgsql.so
2844 %defattr(644,root,root,755)
2845 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2846 %attr(755,root,root) %{extensionsdir}/posix.so
2850 %defattr(644,root,root,755)
2851 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2852 %attr(755,root,root) %{extensionsdir}/pspell.so
2856 %defattr(644,root,root,755)
2857 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2858 %attr(755,root,root) %{extensionsdir}/readline.so
2862 %defattr(644,root,root,755)
2863 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2864 %attr(755,root,root) %{extensionsdir}/recode.so
2868 # simplexml is needed by spl, and spl can't be built shared as of now (5.1.0RC3)
2870 %defattr(644,root,root,755)
2871 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2872 %attr(755,root,root) %{extensionsdir}/simplexml.so
2876 %defattr(644,root,root,755)
2877 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2878 %attr(755,root,root) %{extensionsdir}/shmop.so
2882 %defattr(644,root,root,755)
2883 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2884 %attr(755,root,root) %{extensionsdir}/snmp.so
2888 %defattr(644,root,root,755)
2889 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2890 %attr(755,root,root) %{extensionsdir}/soap.so
2893 %defattr(644,root,root,755)
2894 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2895 %attr(755,root,root) %{extensionsdir}/sockets.so
2899 %defattr(644,root,root,755)
2900 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2901 %attr(755,root,root) %{extensionsdir}/sqlite.so
2906 %defattr(644,root,root,755)
2907 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
2908 %attr(755,root,root) %{extensionsdir}/sybase.so
2911 %if %{with sybase_ct}
2913 %defattr(644,root,root,755)
2914 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2915 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2919 %defattr(644,root,root,755)
2920 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2921 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
2924 %defattr(644,root,root,755)
2925 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2926 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2929 %defattr(644,root,root,755)
2930 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2931 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2935 %defattr(644,root,root,755)
2936 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2937 %attr(755,root,root) %{extensionsdir}/tidy.so
2941 %defattr(644,root,root,755)
2942 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2943 %attr(755,root,root) %{extensionsdir}/tokenizer.so
2947 %defattr(644,root,root,755)
2948 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2949 %attr(755,root,root) %{extensionsdir}/wddx.so
2953 %defattr(644,root,root,755)
2954 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
2955 %attr(755,root,root) %{extensionsdir}/xml.so
2958 %defattr(644,root,root,755)
2959 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
2960 %attr(755,root,root) %{extensionsdir}/xmlreader.so
2964 %defattr(644,root,root,755)
2965 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
2966 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
2970 %defattr(644,root,root,755)
2971 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
2972 %attr(755,root,root) %{extensionsdir}/xsl.so
2975 %defattr(644,root,root,755)
2976 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
2977 %attr(755,root,root) %{extensionsdir}/zlib.so