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 # - make additional headers added by mail patch configurable
16 # - apply -hardened patch by default ?
17 # - modularize session, standard (output from pure php -m)?
20 %bcond_with db3 # use db3 packages instead of db (4.x) for Berkeley DB support
21 %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary lib)
22 %bcond_with hardening # build with hardening patch applied (http://www.hardened-php.net/)
23 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
24 %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
25 %bcond_without curl # without CURL extension module
26 %bcond_without imap # without IMAP extension module
27 %bcond_with interbase # with InterBase extension module
28 %bcond_without ldap # without LDAP extension module
29 %bcond_without mhash # without mhash extension module
30 %bcond_without ming # without ming extension module
31 %bcond_without mm # without mm support for session storage
32 %bcond_without mssql # without MS SQL extension module
33 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
34 %bcond_without mime_magic # without mime-magic module
35 %bcond_without odbc # without ODBC extension module
36 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
37 %bcond_without pcre # without PCRE extension module
38 %bcond_without pgsql # without PostgreSQL extension module
39 %bcond_without pspell # without pspell extension module
40 %bcond_without recode # without recode extension module
41 %bcond_without snmp # without SNMP extension module
42 %bcond_without sqlite # without SQLite extension module
43 %bcond_without sybase # without Sybase extension module
44 %bcond_without sybase_ct # without Sybase-CT extension module
45 %bcond_without tidy # without Tidy extension module
46 %bcond_without wddx # without WDDX extension module
47 %bcond_without xmlrpc # without XML-RPC extension module
48 %bcond_without apache1 # disable building apache 1.3.x module
49 %bcond_without apache2 # disable building apache 2.x module
50 %bcond_without fcgi # disable building FCGI SAPI
51 %bcond_without zts # disable experimental-zts
52 %bcond_with versioning # build with experimental versioning (to load php4/php5 into same apache)
54 %define apxs1 /usr/sbin/apxs1
55 %define apxs2 /usr/sbin/apxs
57 # some problems with apache 2.x
62 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
63 %undefine with_interbase
66 %if %{without apache1} && %{without apache2}
67 ERROR: You need to select at least one Apache SAPI to build shared modules.
71 Summary: PHP: Hypertext Preprocessor
72 Summary(fr): Le langage de script embarque-HTML PHP
73 Summary(pl): Jêzyk skryptowy PHP
74 Summary(pt_BR): A linguagem de script PHP
75 Summary(ru): PHP ÷ÅÒÓÉÉ 5 - ÑÚÙË ÐÒÅÐÒÏÃÅÓÓÉÒÏ×ÁÎÉÑ HTML-ÆÁÊÌÏ×, ×ÙÐÏÌÎÑÅÍÙÊ ÎÁ ÓÅÒ×ÅÒÅ
76 Summary(uk): PHP ÷ÅÒÓ¦§ 5 - ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
79 Release: %{_rel}%{?with_hardening:hardened}
83 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
84 # Source0-md5: e6029fafcee029edcfa2ceed7a005333
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 Patch26: %{name}-dba-link.patch
115 Patch30: %{name}-hardening-fix.patch
116 Patch31: %{name}-both-apxs.patch
117 Patch32: %{name}-builddir.patch
118 Patch33: %{name}-zlib-for-getimagesize.patch
119 Patch35: %{name}-versioning.patch
120 Patch36: %{name}-linkflags-clean.patch
121 Patch38: %{name}-amd64.patch
122 Patch39: %{name}-pear.patch
123 URL: http://www.php.net/
124 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
125 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
126 BuildRequires: autoconf >= 2.53
127 BuildRequires: automake >= 1.4d
129 BuildRequires: bzip2-devel
130 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
131 BuildRequires: cyrus-sasl-devel
132 %{!?with_db3:BuildRequires: db-devel >= 4.0}
133 %{?with_db3:BuildRequires: db3-devel >= 3.1}
134 BuildRequires: elfutils-devel
136 BuildRequires: expat-devel
138 %{?with_fcgi:BuildRequires: fcgi-devel}
139 %{?with_fdf:BuildRequires: fdftk-devel}
141 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
142 BuildRequires: freetds-devel
144 BuildRequires: freetype-devel >= 2.0
145 BuildRequires: gd-devel >= 2.0.28-4
146 BuildRequires: gdbm-devel
147 BuildRequires: gmp-devel
148 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
149 BuildRequires: libjpeg-devel
150 BuildRequires: libltdl-devel >= 1.4
151 BuildRequires: libmcrypt-devel >= 2.4.4
152 BuildRequires: libpng-devel >= 1.0.8
153 BuildRequires: libtiff-devel
154 BuildRequires: libtool >= 1.4.3
155 BuildRequires: libwrap-devel
156 BuildRequires: libxml2-devel >= 2.5.10
157 BuildRequires: libxslt-devel >= 1.1.0
158 %{?with_mhash:BuildRequires: mhash-devel}
159 %{?with_ming:BuildRequires: ming-devel >= 0.2a-11}
160 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
161 BuildRequires: mysql-devel >= 4.0.0
162 %{?with_mysqli:BuildRequires: mysql-devel >= 4.1.0}
163 BuildRequires: ncurses-ext-devel
164 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
165 %if %{with openssl} || %{with ldap}
166 BuildRequires: openssl-devel >= 0.9.7d
168 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
169 BuildRequires: pam-devel
170 %{?with_pcre:BuildRequires: pcre-devel >= 6.6}
171 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
172 %{?with_pgsql:BuildRequires: postgresql-devel}
173 BuildRequires: readline-devel
174 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
175 BuildRequires: rpm-build >= 4.4.0
176 BuildRequires: rpmbuild(macros) >= 1.238
177 %{?with_sqlite:BuildRequires: sqlite-devel}
178 %{?with_sqlite:BuildRequires: sqlite3-devel}
179 BuildRequires: t1lib-devel
180 %{?with_tidy:BuildRequires: tidy-devel}
181 %{?with_odbc:BuildRequires: unixODBC-devel}
182 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
183 BuildRequires: zlib-devel >= 1.0.9
185 BuildRequires: apache1-devel
188 BuildRequires: apache-devel >= 2.0.52-2
189 BuildRequires: apr-devel >= 1:1.0.0
190 BuildRequires: apr-util-devel >= 1:1.0.0
192 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
194 %define _sysconfdir /etc/php
195 %define extensionsdir %{_libdir}/php
197 # must be in sync with source. extra check ensuring that it is so is done in %%build
198 %define php_api_version 20041225
199 %define zend_module_api 20060613
200 %define zend_extension_api 220060519
201 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
202 %define php_debug %{!?debug:0}%{?debug:1}
205 PHP is an HTML-embedded scripting language. PHP attempts to make it
206 easy for developers to write dynamically generated web pages. PHP also
207 offers built-in database integration for several commercial and
208 non-commercial database management systems, so writing a
209 database-enabled web page with PHP is fairly simple. The most common
210 use of PHP coding is probably as a replacement for CGI scripts. The
211 mod_php module enables the Apache web server to understand and process
212 the embedded PHP language in web pages. This package contains php
213 version %{version}. If you use applications which specifically rely on
214 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
215 module contained in the phpfi package. If you're just starting with
216 PHP, you should install this package. You'll also need to install the
220 PHP est un langage de script embarque dans le HTM. PHP essaye de
221 rendre simple aux developpeurs d'ecrire des pages web generees
222 dynamiquement. PHP incorpore egalement une integration avec plusieurs
223 systemes de gestion de bases de donnees commerciaux et
224 non-connerciaux, qui rent facile la creation de pages web liees avec
225 des bases de donnees. L'utilisation la plus commune de PHP est
226 probablement en remplacement de scripts CGI. Le module mod_php permet
227 au serveur web apache de comprendre et de traiter le langage PHP
228 integre dans des pages web. Ce package contient php version
229 %{version}. Si vous utilisez des applications qui utilisent
230 specifiquement PHP/FI, vous devrez installer le module PHP/FI inclus
231 dans le package mod_php. Si vous debutez avec PHP, vous devriez
232 installer ce package. Vous aurez egalement besoin dinstaller le
236 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
237 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
238 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
239 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
240 zosta³a z jêzyków: C, Java i Perl.
242 %description -l pt_BR
243 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
244 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
245 com algumas características únicas, específicas ao PHP. O objetivo da
246 linguagem é permitir que desenvolvedores web escrevam páginas
247 dinamicamente geradas de forma rápida.
250 PHP - ÜÔÏ ÑÚÙË ÎÁÐÉÓÁÎÉÑ ÓËÒÉÐÔÏ×, ×ÓÔÒÁÉ×ÁÅÍÙÈ × HTML-ËÏÄ. PHP
251 ÐÒÅÄÌÁÇÁÅÔ ÉÎÔÅÒÇÒÁÃÉÀ Ó ÍÎÏÖÅÓÔ×ÏÍ óõâä, ÐÏÜÔÏÍÕ ÎÁÐÉÓÁÎÉÅ ÓËÒÉÐÔÏ×
252 ÄÌÑ ÒÁÂÏÔÙ Ó ÂÁÚÁÍÉ ÄÁÎÎÙÈ ÏÔÎÏÓÉÔÅÌØÎÏ ÐÒÏÓÔÏ. îÁÉÂÏÌÅÅ ÐÏÐÕÌÑÒÎÏÅ
253 ÉÓÐÏÌØÚÏ×ÁÎÉÅ PHP - ÚÁÍÅÎÁ ÄÌÑ CGI ÓËÒÉÐÔÏ×.
255 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÁÍÏÄÏÓÔÁÔÏÞÎÕÀ (CGI) ×ÅÒÓÉÀ ÉÎÔÅÒÐÒÅÔÁÔÏÒÁ ÑÚÙËÁ.
256 ÷Ù ÄÏÌÖÎÙ ÔÁËÖÅ ÕÓÔÁÎÏ×ÉÔØ ÐÁËÅÔ %{name}-common. åÓÌÉ ×ÁÍ ÎÕÖÅÎ
257 ÉÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache, ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ
261 PHP - ÃÅ ÍÏ×Á ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦×, ÝÏ ×ÂÕÄÏ×ÕÀÔØÓÑ × HTML-ËÏÄ. PHP
262 ÐÒÏÐÏÎÕ¤ ¦ÎÔÅÇÒÁæÀ Ú ÂÁÇÁÔØÍÁ óõâä, ÔÏÍÕ ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦× ÄÌÑ
263 ÒÏÂÏÔÉ Ú ÂÁÚÁÍÉ ÄÁÎÉÈ ¤ ÄÏ×Ï̦ ÐÒÏÓÔÉÍ. îÁʦÌØÛ ÐÏÐÕÌÑÒÎÅ
264 ×ÉËÏÒÉÓÔÁÎÎÑ PHP - ÚÁͦÎÁ ÄÌÑ CGI ÓËÒÉÐÔ¦×.
266 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÁÍÏÄÏÓÔÁÔÎÀ (CGI) ×ÅÒÓ¦À ¦ÎÔÅÒÐÒÅÔÁÔÏÒÁ ÍÏ×É. ÷É
267 ÍÁ¤ÔÅ ÔÁËÏÖ ×ÓÔÁÎÏ×ÉÔÉ ÐÁËÅÔ %{name}-common. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÅÎ
268 ¦ÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache, ×ÓÔÁÎÏצÔØ ÐÁËÅÔ apache-php.
270 %package -n apache1-mod_php
271 Summary: PHP DSO module for apache 1.3.x
272 Summary(pl): Modu³ DSO (Dynamic Shared Object) php dla apache 1.3.x
273 Group: Development/Languages/PHP
274 Requires(triggerpostun): sed >= 4.0
275 Requires: %{name}-common = %{epoch}:%{version}-%{release}
276 Requires: apache1(EAPI) >= 1.3.33-2
277 Requires: apache1-mod_mime
278 Provides: php = %{epoch}:%{version}-%{release}
279 Obsoletes: apache-mod_php < 1:4.1.1
282 %description -n apache1-mod_php
283 PHP as DSO module for apache 1.3.x.
285 %description -n apache1-mod_php -l pl
286 php jako modu³ DSO (Dynamic Shared Object) dla apache 1.3.x.
288 %package -n apache-mod_php
289 Summary: PHP DSO module for apache 2.x
290 Summary(pl): Modu³ DSO (Dynamic Shared Object) php dla apache 2.x
291 Group: Development/Languages/PHP
292 Requires: %{name}-common = %{epoch}:%{version}-%{release}
293 Requires: apache(modules-api) = %{apache_modules_api}
294 Requires: apache-mod_mime
295 Provides: php = %{epoch}:%{version}-%{release}
298 %description -n apache-mod_php
299 PHP as DSO module for apache 2.x.
301 %description -n apache-mod_php -l pl
302 php jako modu³ DSO (Dynamic Shared Object) dla apache 2.x.
305 Summary: php as FastCGI program
306 Summary(pl): php jako program FastCGI
307 Group: Development/Languages/PHP
308 Requires: %{name}-common = %{epoch}:%{version}-%{release}
309 Provides: php = %{epoch}:%{version}-%{release}
312 php as FastCGI program.
314 %description fcgi -l pl
315 php jako program FastCGI.
318 Summary: php as CGI program
319 Summary(pl): php jako program CGI
320 Group: Development/Languages/PHP
321 Requires: %{name}-common = %{epoch}:%{version}-%{release}
326 %description cgi -l pl
327 php jako program CGI.
330 Summary: php as CLI interpreter
331 Summary(pl): php jako interpreter dzia³aj±cy z linii poleceñ
332 Group: Development/Languages/PHP
333 Requires: %{name}-common = %{epoch}:%{version}-%{release}
336 php as CLI interpreter.
338 %description cli -l pl
339 php jako interpreter dzia³aj±cy z linii poleceñ.
342 Summary: /usr/bin/php symlink
343 Summary(pl): Dowi±zanie symboliczne /usr/bin/php
344 Group: Development/Languages/PHP
345 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
346 Obsoletes: /usr/bin/php
349 Package providing /usr/bin/php symlink to PHP CLI.
351 %description program -l pl
352 Pakiet dostarczaj±cy dowi±zanie symboliczne /usr/bin/php do PHP CLI.
355 Summary: Common files needed by both apache module and CGI
356 Summary(pl): Wspólne pliki dla modu³u apache'a i programu CGI
357 Summary(ru): òÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ php
358 Summary(uk): â¦Â̦ÏÔÅËÉ ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÄÌÑ php
360 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
361 Requires: glibc >= 6:2.3.5
363 Provides: %{name}-libxml = %{epoch}:%{version}-%{release}
364 Provides: %{name}-overload = %{epoch}:%{version}-%{release}
365 Provides: %{name}-session = %{epoch}:%{version}-%{release}
366 Provides: %{name}-simplexml = %{epoch}:%{version}-%{release}
367 Provides: %{name}-spl = %{epoch}:%{version}-%{release}
368 Provides: %{name}-standard = %{epoch}:%{version}-%{release}
369 %{?with_pcre:Provides: %{name}-pcre = %{epoch}:%{version}-%{release}}
370 Provides: php(modules_api) = %{php_api_version}
371 Provides: php(zend_extension_api) = %{zend_extension_api}
372 Provides: php(zend_module_api) = %{zend_module_api}
373 Provides: php5(debug) = %{php_debug}
374 Provides: php5(thread-safety) = %{zend_zts}
375 Obsoletes: php-pecl-domxml
376 Obsoletes: php-session < 3:4.2.1-2
377 #Obsoletes: php-pcre < 4:5.2.0
378 # for the posttrans scriptlet, conflicts because in vserver enviroinment rpm package is not installed.
379 Conflicts: rpm < 4.4.2-0.2
382 Common files needed by both apache module and CGI.
384 %description common -l pl
385 Wspólne pliki dla modu³u apacha i programu CGI.
387 %description common -l ru
388 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÏÂÝÉÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÎÙÈ ×ÁÒÉÁÎÔÏ× ÒÅÁÌÉÚÁÃÉÉ PHP
389 (ÓÁÍÏÄÏÓÔÁÔÏÞÎÏÊ É × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache).
391 %description common -l uk
392 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓЦÌØΦ ÆÁÊÌÉ ÄÌÑ Ò¦ÚÎÉÈ ×ÁÒ¦ÁÎÔ¦× ÒÅÁ̦ÚÁæ§ PHP
393 (ÓÁÍÏÄÏÓÔÁÔÎØϧ ÔÁ × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache).
396 Summary: Files for PHP modules development
397 Summary(pl): Pliki do kompilacji modu³ów PHP
398 Summary(pt_BR): Arquivos de desenvolvimento para PHP
399 Summary(ru): ðÁËÅÔ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÏÓÔÒÏÅÎÉÑ ÒÁÓÛÉÒÅÎÉÊ PHP
400 Summary(uk): ðÁËÅÔ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÏÂÕÄÏ×É ÒÏÚÛÉÒÅÎØ PHP
401 Group: Development/Languages/PHP
402 Requires: %{name}-common = %{epoch}:%{version}-%{release}
407 Obsoletes: php-pear-devel
408 Obsoletes: php4-devel
411 The php-devel package lets you compile dynamic extensions to PHP.
412 Included here is the source for the PHP extensions. Instead of
413 recompiling the whole php binary to add support for, say, oracle,
414 install this package and use the new self-contained extensions
415 support. For more information, read the file
416 README.SELF-CONTAINED-EXTENSIONS.
418 %description devel -l pl
419 Ten pakiet zawiera pliki potrzebne do kompilacji modu³ów PHP. Zamiast
420 rekompilowaæ ca³e php aby dodaæ obs³ugê np. oracle, mo¿na przy u¿yciu
421 tego pakietu skompilowaæ samodzielne rozszerzenie. Wiêcej informacji o
422 samodzielnych rozszerzeniach mo¿na znale¼æ w pliku
423 README.SELF-CONTAINED-EXTENSIONS.
425 %description devel -l pt_BR
426 Este pacote contém arquivos usados no desenvolvimento de programas ou
429 %description devel -l ru
430 ðÁËÅÔ php-devel ÄÁÅÔ ×ÏÚÍÏÖÎÏÓÔØ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÄÉÎÁÍÉÞÅÓËÉÅ ÒÁÓÛÉÒÅÎÉÑ
431 PHP. ðÁËÅÔ ×ËÌÀÞÁÅÔ ÉÓÈÏÄÎÙÊ ËÏÄ ÜÔÉÈ ÒÁÓÛÉÒÅÎÉÊ. ÷ÍÅÓÔÏ ÐÏ×ÔÏÒÎÏÊ
432 ËÏÍÐÉÌÑÃÉÉ ÂÉÎÁÒÎÏÇÏ ÆÁÊÌÁ php ÄÌÑ ÄÏÂÁ×ÌÅÎÉÑ, ÎÁÐÒÉÍÅÒ, ÐÏÄÄÅÒÖËÉ
433 oracle, ÕÓÔÁÎÏ×ÉÔÅ ÜÔÏÔ ÐÁËÅÔ ÄÌÑ ËÏÍÐÉÌÉÒÏ×ÁÎÉÑ ÏÔÄÅÌØÎÙÈ ÒÁÓÛÉÒÅÎÉÊ.
434 ðÏÄÒÏÂÎÏÓÔÉ - × ÆÁÊÌÅ README.SELF-CONTAINED-EXTENSIONS.
436 %description devel -l uk
437 ðÁËÅÔ php-devel ÄÁ¤ ÍÏÖÌÉצÓÔØ ËÏÍЦÌÀ×ÁÔÉ ÄÉÎÁͦÞΦ ÒÏÚÛÉÒÅÎÎÑ PHP.
438 äÏ ÐÁËÅÔÕ ×ËÌÀÞÅÎÏ ×ÉȦÄÎÉÊ ËÏÄ ÄÌÑ ÒÏÚÛÉÒÅÎØ. úÁͦÓÔØ ÐÏ×ÔÏÒÎϧ
439 ËÏÍЦÌÑæ§ ¦ÎÁÒÎÏÇÏ ÆÁÊÌÕ php ÄÌÑ ÄÏÄÁÎÎÑ, ÎÁÐÒÉËÌÁÄ, ЦÄÔÒÉÍËÉ
440 oracle, ×ÓÔÁÎÏצÔØ ÃÅÊ ÐÁËÅÔ ÄÌÑ ËÏÍЦÌÑæ§ ÏËÒÅÍÉÈ ÒÏÚÛÉÒÅÎØ.
441 äÅÔÁÌØΦÛÁ ¦ÎÆÏÒÍÁÃ¦Ñ - × ÆÁÊ̦ README.SELF-CONTAINED-EXTENSIONS.
444 Summary: bcmath extension module for PHP
445 Summary(pl): Modu³ bcmath dla PHP
447 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
448 Requires: %{name}-common = %{epoch}:%{version}-%{release}
451 This is a dynamic shared object (DSO) for PHP that will add bc style
452 precision math functions support.
454 %description bcmath -l pl
455 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
456 matematycznych takich jak w programie bc.
459 Summary: Bzip2 extension module for PHP
460 Summary(pl): Modu³ bzip2 dla PHP
462 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
463 Requires: %{name}-common = %{epoch}:%{version}-%{release}
466 This is a dynamic shared object (DSO) for PHP that will add bzip2
467 compression support to PHP.
469 %description bzip2 -l pl
470 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji bzip2.
473 Summary: Calendar extension module for PHP
474 Summary(pl): Modu³ funkcji kalendarza dla PHP
476 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
477 Requires: %{name}-common = %{epoch}:%{version}-%{release}
479 %description calendar
480 This is a dynamic shared object (DSO) for PHP that will add calendar
483 %description calendar -l pl
484 Modu³ PHP dodaj±cy wsparcie dla kalendarza.
487 Summary: ctype extension module for PHP
488 Summary(pl): Modu³ ctype dla PHP
490 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
491 Requires: %{name}-common = %{epoch}:%{version}-%{release}
494 This is a dynamic shared object (DSO) for PHP that will add ctype
497 %description ctype -l pl
498 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
501 Summary: curl extension module for PHP
502 Summary(pl): Modu³ curl dla PHP
504 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
505 Requires: %{name}-common = %{epoch}:%{version}-%{release}
508 This is a dynamic shared object (DSO) for PHP that will add curl
511 %description curl -l pl
512 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
515 Summary: DBA extension module for PHP
516 Summary(pl): Modu³ DBA dla PHP
518 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
519 Requires: %{name}-common = %{epoch}:%{version}-%{release}
522 This is a dynamic shared object (DSO) for PHP that will add flat-file
523 databases (DBA) support.
525 %description dba -l pl
526 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych opartych na plikach
530 Summary: DBase extension module for PHP
531 Summary(pl): Modu³ DBase dla PHP
533 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
534 Requires: %{name}-common = %{epoch}:%{version}-%{release}
537 This is a dynamic shared object (DSO) for PHP that will add DBase
540 %description dbase -l pl
541 Modu³ PHP ze wsparciem dla DBase.
544 Summary: DOM extension module for PHP
545 Summary(pl): Modu³ DOM dla PHP
547 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
548 Requires: %{name}-common = %{epoch}:%{version}-%{release}
549 # it has some compatibility functions
550 Provides: php-domxml = %{epoch}:%{version}-%{release}
551 Obsoletes: php-domxml <= 3:4.3.8-1
554 This is a dynamic shared object (DSO) for PHP that will add new DOM
557 %description dom -l pl
558 Modu³ PHP dodaj±cy now± obs³ugê DOM.
561 Summary: exif extension module for PHP
562 Summary(pl): Modu³ exif dla PHP
564 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
565 Requires: %{name}-common = %{epoch}:%{version}-%{release}
568 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
569 support in image files.
571 %description exif -l pl
572 Modu³ PHP dodaj±cy obs³ugê znaczników EXIF w plikach obrazków.
575 Summary: FDF extension module for PHP
576 Summary(pl): Modu³ FDF dla PHP
578 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
579 Requires: %{name}-common = %{epoch}:%{version}-%{release}
582 This PHP module adds support for PDF Forms through Adobe FDFTK
585 %description fdf -l pl
586 Modu³ PHP dodaj±cy obs³ugê formularzy PDF poprzez bibliotekê Adobe
590 Summary: FTP extension module for PHP
591 Summary(pl): Modu³ FTP dla PHP
593 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
594 Requires: %{name}-common = %{epoch}:%{version}-%{release}
597 This is a dynamic shared object (DSO) for PHP that will add FTP
600 %description ftp -l pl
601 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
604 Summary: GD extension module for PHP
605 Summary(pl): Modu³ GD dla PHP
607 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
608 Requires: %{name}-common = %{epoch}:%{version}-%{release}
609 Requires: gd >= 2.0.28-4
610 Provides: %{name}-gd(gif) = %{epoch}:%{version}-%{release}
613 This is a dynamic shared object (DSO) for PHP that will add GD
614 support, allowing you to create and manipulate images with PHP.
616 %description gd -l pl
617 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD, pozwalaj±cej na
618 tworzenie i obróbkê obrazków.
621 Summary: gettext extension module for PHP
622 Summary(pl): Modu³ gettext dla PHP
624 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
625 Requires: %{name}-common = %{epoch}:%{version}-%{release}
628 This is a dynamic shared object (DSO) for PHP that will add gettext
631 %description gettext -l pl
632 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
635 Summary: gmp extension module for PHP
636 Summary(pl): Modu³ gmp dla PHP
638 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
639 Requires: %{name}-common = %{epoch}:%{version}-%{release}
642 This is a dynamic shared object (DSO) for PHP that will add arbitrary
643 length number support with GNU MP library.
645 %description gmp -l pl
646 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki gmp do obliczeñ na
647 liczbach o dowolnej d³ugo¶ci.
650 Summary: iconv extension module for PHP
651 Summary(pl): Modu³ iconv dla PHP
653 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
654 Requires: %{name}-common = %{epoch}:%{version}-%{release}
657 This is a dynamic shared object (DSO) for PHP that will add iconv
660 %description iconv -l pl
661 Modu³ PHP dodaj±cy obs³ugê iconv.
664 Summary: IMAP extension module for PHP
665 Summary(pl): Modu³ IMAP dla PHP
666 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
668 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
669 Requires: %{name}-common = %{epoch}:%{version}-%{release}
672 This is a dynamic shared object (DSO) for PHP that will add IMAP
675 %description imap -l pl
676 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
678 %description imap -l pt_BR
679 Um módulo para aplicações PHP que usam IMAP.
682 Summary: InterBase/Firebird database module for PHP
683 Summary(pl): Modu³ bazy danych InterBase/Firebird dla PHP
685 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
686 Requires: %{name}-common = %{epoch}:%{version}-%{release}
687 %{?with_interbase_inst:Autoreq: false}
689 %description interbase
690 This is a dynamic shared object (DSO) for PHP that will add InterBase
691 and Firebird database support.
693 %description interbase -l pl
694 Modu³ PHP umo¿liwiaj±cy dostêp do baz danych InterBase i Firebird.
697 Summary: LDAP extension module for PHP
698 Summary(pl): Modu³ LDAP dla PHP
699 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
701 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
702 Requires: %{name}-common = %{epoch}:%{version}-%{release}
705 This is a dynamic shared object (DSO) for PHP that will add LDAP
708 %description ldap -l pl
709 Modu³ PHP dodaj±cy obs³ugê LDAP.
711 %description ldap -l pt_BR
712 Um módulo para aplicações PHP que usam LDAP.
715 Summary: mbstring extension module for PHP
716 Summary(pl): Modu³ mbstring dla PHP
718 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
719 Requires: %{name}-common = %{epoch}:%{version}-%{release}
721 %description mbstring
722 This is a dynamic shared object (DSO) for PHP that will add multibyte
725 %description mbstring -l pl
726 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
729 Summary: mcrypt extension module for PHP
730 Summary(pl): Modu³ mcrypt dla PHP
732 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
733 Requires: %{name}-common = %{epoch}:%{version}-%{release}
736 This is a dynamic shared object (DSO) for PHP that will add mcrypt
739 %description mcrypt -l pl
740 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
743 Summary: mhash extension module for PHP
744 Summary(pl): Modu³ mhash dla PHP
746 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
747 Requires: %{name}-common = %{epoch}:%{version}-%{release}
750 This is a dynamic shared object (DSO) for PHP that will add mhash
753 %description mhash -l pl
754 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
757 Summary: mime_magic extension module for PHP
758 Summary(pl): Modu³ mime_magic dla PHP
760 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
761 Requires: %{name}-common = %{epoch}:%{version}-%{release}
762 Requires: /usr/share/file/magic.mime
764 %description mime_magic
765 This PHP module adds support for MIME type lookup via file magic
766 numbers using magic.mime database.
768 %description mime_magic -l pl
769 Modu³ PHP dodaj±cy obs³ugê wyszukiwania typów MIME wed³ug magicznych
770 znaczników plików z u¿yciem bazy danych magic.mime.
773 Summary: ming extension module for PHP
774 Summary(pl): Modu³ ming dla PHP
776 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
777 Requires: %{name}-common = %{epoch}:%{version}-%{release}
780 This is a dynamic shared object (DSO) for PHP that will add ming
781 (Flash - .swf files) support.
783 %description ming -l pl
784 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
788 Summary: MS SQL extension module for PHP
789 Summary(pl): Modu³ MS SQL dla PHP
791 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
792 Requires: %{name}-common = %{epoch}:%{version}-%{release}
795 This is a dynamic shared object (DSO) for PHP that will add MS SQL
796 databases support through FreeTDS library.
798 %description mssql -l pl
799 Modu³ PHP dodaj±cy obs³ugê baz danych MS SQL poprzez bibliotekê
803 Summary: MySQL database module for PHP
804 Summary(pl): Modu³ bazy danych MySQL dla PHP
805 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
807 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
808 Requires: %{name}-common = %{epoch}:%{version}-%{release}
811 This is a dynamic shared object (DSO) for PHP that will add MySQL
814 %description mysql -l pl
815 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
817 %description mysql -l pt_BR
818 Um módulo para aplicações PHP que usam bancos de dados MySQL.
821 Summary: MySQLi module for PHP
822 Summary(pl): Modu³ MySQLi dla PHP
824 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
825 Requires: %{name}-common = %{epoch}:%{version}-%{release}
826 Requires: mysql-libs >= 4.1.0
829 This is a dynamic shared object (DSO) for PHP that will add MySQLi
830 (Improved MySQL) support. The difference between it and mysql module
831 is that it provides access to functionality of MySQL 4.1 and above.
833 %description mysqli -l pl
834 Modu³ PHP umo¿liwiaj±cy udoskonalony dostêp do bazy danych MySQL.
835 Ró¿nic± miêdzy nim a modu³em mysql jest dostêp do funkcjonalno¶ci
836 MySQL w wersji 4.1 i nowszych.
839 Summary: ncurses module for PHP
840 Summary(pl): Modu³ ncurses dla PHP
842 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
843 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
846 This PHP module adds support for ncurses functions (only for cli and
849 %description ncurses -l pl
850 Modu³ PHP dodaj±cy obs³ugê funkcji ncurses (tylko do SAPI cli i cgi).
853 Summary: Oracle 8+ database module for PHP
854 Summary(pl): Modu³ bazy danych Oracle 8+ dla PHP
856 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
857 Requires: %{name}-common = %{epoch}:%{version}-%{release}
861 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
862 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
864 %description oci8 -l pl
865 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7, 8, 9 i 10
866 poprzez interfejs Oracle8 Call-Interface (OCI8).
869 Summary: ODBC extension module for PHP
870 Summary(pl): Modu³ ODBC dla PHP
871 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
873 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
874 Requires: %{name}-common = %{epoch}:%{version}-%{release}
875 Requires: unixODBC >= 2.1.1-3
878 This is a dynamic shared object (DSO) for PHP that will add ODBC
881 %description odbc -l pl
882 Modu³ PHP ze wsparciem dla ODBC.
884 %description odbc -l pt_BR
885 Um módulo para aplicações PHP que usam ODBC.
888 Summary: OpenSSL extension module for PHP
889 Summary(pl): Modu³ OpenSSL dla PHP
891 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
892 Requires: %{name}-common = %{epoch}:%{version}-%{release}
895 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
898 Warning: this is an experimental module.
900 %description openssl -l pl
901 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki OpenSSL.
903 Uwaga: to jest modu³ eksperymentalny.
906 Summary: Process Control extension module for PHP
907 Summary(pl): Modu³ Process Control dla PHP
909 Requires(post,preun): %{name}-program = %{epoch}:%{version}-%{release}
910 Requires: %{name}-program = %{epoch}:%{version}-%{release}
913 This is a dynamic shared object (DSO) for PHP that will add process
914 spawning and control support. It supports functions like fork(),
915 waitpid(), signal() etc.
917 Warning: this is an experimental module. Also, don't use it in
918 webserver environment!
920 %description pcntl -l pl
921 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
922 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
924 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
925 u¿ywania z serwerem WWW - nie próbuj tego!
928 Summary: PHP Data Objects (PDO)
929 Summary(pl): Obs³uga PHP Data Objects (PDO)
931 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
932 Requires: %{name}-common = %{epoch}:%{version}-%{release}
933 Obsoletes: php-pecl-PDO
936 This is a dynamic shared object (DSO) for PHP that will add PDO
939 %description pdo -l pl
940 Modu³ PHP dodaj±cy obs³ugê PDO (PHP Data Objects).
943 Summary: PHP Data Objects (PDO) FreeTDS support
944 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± FreeTDS
946 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
947 Requires: %{name}-common = %{epoch}:%{version}-%{release}
948 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
950 %description pdo-dblib
951 This is a dynamic shared object (DSO) for PHP that will add PDO
954 %description pdo-dblib -l pl
955 Modu³ dla PHP dodaj±cy obs³ugê baz danych FreeTDS za po¶rednictwem
958 %package pdo-firebird
959 Summary: PHP Data Objects (PDO) Firebird support
960 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± Firebirda
962 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
963 Requires: %{name}-common = %{epoch}:%{version}-%{release}
964 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
965 Obsoletes: php-pecl-PDO_FIREBIRD
967 %description pdo-firebird
968 This is a dynamic shared object (DSO) for PHP that will add PDO
971 %description pdo-firebird -l pl
972 Modu³ dla PHP dodaj±cy obs³ugê baz danych Firebird za po¶rednictwem
976 Summary: PHP Data Objects (PDO) MySQL support
977 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± MySQL-a
979 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
980 Requires: %{name}-common = %{epoch}:%{version}-%{release}
981 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
982 Obsoletes: php-pecl-PDO_MYSQL
984 %description pdo-mysql
985 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
988 %description pdo-mysql -l pl
989 Modu³ dla PHP dodaj±cy obs³ugê baz danych MySQL za po¶rednictwem
993 Summary: PHP Data Objects (PDO) Oracle support
994 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± Oracle'a
996 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
997 Requires: %{name}-common = %{epoch}:%{version}-%{release}
998 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
999 Obsoletes: php-pecl-PDO_OCI
1001 %description pdo-oci
1002 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1005 %description pdo-oci -l pl
1006 Modu³ dla PHP dodaj±cy obs³ugê baz danych Oracle za po¶rednictwem
1010 Summary: PHP Data Objects (PDO) ODBC support
1011 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± ODBC
1013 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1014 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1015 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1016 Obsoletes: php-pecl-PDO_ODBC
1018 %description pdo-odbc
1019 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1022 %description pdo-odbc -l pl
1023 Modu³ dla PHP dodaj±cy obs³ugê baz danych ODBC za po¶rednictwem
1027 Summary: PHP Data Objects (PDO) PostgreSQL support
1028 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± PostgreSQL-a
1030 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1031 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1032 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1033 Obsoletes: php-pecl-PDO_PGSQL
1035 %description pdo-pgsql
1036 This is a dynamic shared object (DSO) for PHP that will add PDO
1039 %description pdo-pgsql -l pl
1040 Modu³ dla PHP dodaj±cy obs³ugê baz danych PostgreSQL za po¶rednictwem
1044 Summary: PHP Data Objects (PDO) SQLite support
1045 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± SQLite
1047 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1048 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1049 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1050 Obsoletes: php-pecl-PDO_SQLITE
1052 %description pdo-sqlite
1053 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1056 %description pdo-sqlite -l pl
1057 Modu³ dla PHP dodaj±cy obs³ugê baz danych SQLite za po¶rednictwem
1061 Summary: PostgreSQL database module for PHP
1062 Summary(pl): Modu³ bazy danych PostgreSQL dla PHP
1064 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1065 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1068 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1071 %description pgsql -l pl
1072 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
1074 %description pgsql -l pt_BR
1075 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1078 Summary: POSIX extension module for PHP
1079 Summary(pl): Modu³ POSIX dla PHP
1081 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1082 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1085 This is a dynamic shared object (DSO) for PHP that will add POSIX
1086 functions support to PHP.
1088 %description posix -l pl
1089 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
1092 Summary: pspell extension module for PHP
1093 Summary(pl): Modu³ pspell dla PHP
1095 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1096 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1099 This is a dynamic shared object (DSO) for PHP that will add pspell
1100 support to PHP. It allows to check the spelling of a word and offer
1103 %description pspell -l pl
1104 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
1105 sprawdzanie pisowni s³owa i sugerowanie poprawek.
1108 Summary: readline extension module for PHP
1109 Summary(pl): Modu³ readline dla PHP
1111 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
1112 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1114 %description readline
1115 This PHP module adds support for readline functions (only for cli and
1118 %description readline -l pl
1119 Modu³ PHP dodaj±cy obs³ugê funkcji readline (tylko do SAPI cli i cgi).
1122 Summary: recode extension module for PHP
1123 Summary(pl): Modu³ recode dla PHP
1125 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1126 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1127 Requires: recode >= 3.5d-3
1130 This is a dynamic shared object (DSO) for PHP that will add recode
1133 %description recode -l pl
1134 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1138 Summary: session extension module for PHP
1139 Summary(pl): Modu³ session dla PHP
1141 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1142 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1144 %description session
1145 This is a dynamic shared object (DSO) for PHP that will add session
1148 %description session -l pl
1149 Modu³ PHP dodaj±cy obs³ugê sesji.
1152 Summary: Shared Memory Operations extension module for PHP
1153 Summary(pl): Modu³ shmop dla PHP
1155 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1156 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1159 This is a dynamic shared object (DSO) for PHP that will add Shared
1160 Memory Operations support.
1162 Warning: this is an experimental module.
1164 %description shmop -l pl
1165 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1167 Uwaga: to jest modu³ eksperymentalny.
1170 Summary: Simple XML extension module for PHP
1171 Summary(pl): Modu³ prostego rozszerzenia XML dla PHP
1173 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1174 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1176 %description simplexml
1177 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1180 %description simplexml -l pl
1181 Modu³ PHP dodaj±cy obs³ugê prostego XML-a.
1184 Summary: SNMP extension module for PHP
1185 Summary(pl): Modu³ SNMP dla PHP
1187 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1188 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1189 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1192 This is a dynamic shared object (DSO) for PHP that will add SNMP
1195 %description snmp -l pl
1196 Modu³ PHP dodaj±cy obs³ugê SNMP.
1199 Summary: soap extension module for PHP
1200 Summary(pl): Modu³ soap dla PHP
1202 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1203 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1206 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1209 %description soap -l pl
1210 Modu³ PHP dodaj±cy obs³ugê SOAP/WSDL.
1213 Summary: sockets extension module for PHP
1214 Summary(pl): Modu³ socket dla PHP
1216 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1217 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1219 %description sockets
1220 This is a dynamic shared object (DSO) for PHP that will add sockets
1223 Warning: this is an experimental module.
1225 %description sockets -l pl
1226 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1228 Uwaga: to jest modu³ eksperymentalny.
1231 Summary: SQLite extension module for PHP
1232 Summary(pl): Modu³ SQLite dla PHP
1234 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1235 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1236 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1239 SQLite is a C library that implements an embeddable SQL database
1240 engine. Programs that link with the SQLite library can have SQL
1241 database access without running a separate RDBMS process.
1243 SQLite is not a client library used to connect to a big database
1244 server. SQLite is the server. The SQLite library reads and writes
1245 directly to and from the database files on disk.
1247 %description sqlite -l pl
1248 SQLite jest napisan± w C bibliotek± implementuj±c± osadzalny silnik
1249 bazodanowy SQL. Program linkuj±cy siê z bibliotek± SQLite mo¿e mieæ
1250 dostêp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1253 SQLite to nie klient baz danych - biblioteka nie ³±czy siê z serwerami
1254 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1255 zapisuje dane bezpo¶rednio z/do plików baz danych znajduj±cych siê na
1259 Summary: Sybase DB extension module for PHP
1260 Summary(pl): Modu³ Sybase DB dla PHP
1262 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1263 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1264 Obsoletes: php-sybase-ct
1267 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1268 MS SQL databases support through SYBDB library. Currently Sybase
1269 module is not maintained. Using Sybase-CT module is recommended
1272 %description sybase -l pl
1273 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1274 bibliotekê SYBDB. W chwili obecnej modu³ Sybase nie jest wspierany.
1275 Zaleca siê u¿ywanie modu³u Sybase-CT.
1278 Summary: Sybase-CT extension module for PHP
1279 Summary(pl): Modu³ Sybase-CT dla PHP
1281 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1282 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1283 Obsoletes: php-sybase
1285 %description sybase-ct
1286 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1287 MS SQL databases support through CT-lib.
1289 %description sybase-ct -l pl
1290 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1294 Summary: SysV msg extension module for PHP
1295 Summary(pl): Modu³ SysV msg dla PHP
1297 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1298 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1300 %description sysvmsg
1301 This is a dynamic shared object (DSO) for PHP that will add SysV
1302 message queues support.
1304 %description sysvmsg -l pl
1305 Modu³ PHP umo¿liwiaj±cy korzystanie z kolejek komunikatów SysV.
1308 Summary: SysV sem extension module for PHP
1309 Summary(pl): Modu³ SysV sem dla PHP
1311 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1312 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1314 %description sysvsem
1315 This is a dynamic shared object (DSO) for PHP that will add SysV
1318 %description sysvsem -l pl
1319 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1322 Summary: SysV shm extension module for PHP
1323 Summary(pl): Modu³ SysV shm dla PHP
1325 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1326 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1328 %description sysvshm
1329 This is a dynamic shared object (DSO) for PHP that will add SysV
1330 Shared Memory support.
1332 %description sysvshm -l pl
1333 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1336 Summary: Tidy extension module for PHP
1337 Summary(pl): Modu³ Tidy dla PHP
1339 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1340 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1344 This is a dynamic shared object (DSO) for PHP that will add Tidy
1347 %description tidy -l pl
1348 Modu³ PHP umo¿liwiaj±cy korzystanie z tidy.
1351 Summary: tokenizer extension module for PHP
1352 Summary(pl): Modu³ rozszerzenia tokenizer dla PHP
1354 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1355 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1357 %description tokenizer
1358 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1361 %description tokenizer -l pl
1362 Modu³ PHP dodaj±cy obs³ugê tokenizera do PHP.
1365 Summary: wddx extension module for PHP
1366 Summary(pl): Modu³ wddx dla PHP
1368 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1369 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1370 Requires: %{name}-session = %{epoch}:%{version}-%{release}
1371 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1374 This is a dynamic shared object (DSO) for PHP that will add wddx
1377 %description wddx -l pl
1378 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1381 Summary: XML extension module for PHP
1382 Summary(pl): Modu³ XML dla PHP
1384 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1385 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1388 This is a dynamic shared object (DSO) for PHP that will add XML
1389 support. This extension lets you create XML parsers and then define
1390 handlers for different XML events.
1392 %description xml -l pl
1393 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1394 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1395 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1398 Summary: XML Reader extension module for PHP
1399 Summary(pl): Modu³ XML Reader dla PHP
1401 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1402 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1403 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1405 %description xmlreader
1406 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1407 support. The XMLReader extension is an XML Pull parser. The reader
1408 acts as a cursor going forward on the document stream and stopping at
1409 each node on the way.
1411 %description xmlreader -l pl
1412 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML w trybie Pull. Czytnik
1413 dzia³a jako kursor przechodz±cy przez strumieñ dokumentu i
1414 zatrzymuj±cy siê naka¿dym wê¼le po drodze.
1417 Summary: xmlrpc extension module for PHP
1418 Summary(pl): Modu³ xmlrpc dla PHP
1420 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1421 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1424 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1427 Warning: this is an experimental module.
1429 %description xmlrpc -l pl
1430 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1432 Uwaga: to jest modu³ eksperymentalny.
1435 Summary: xsl extension module for PHP
1436 Summary(pl): Modu³ xsl dla PHP
1438 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1439 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1440 Requires: libxslt >= 1.0.18
1441 # actually not true, functionality is similar, but API differs
1442 Obsoletes: php-xslt <= 3:4.3.8-1
1445 This is a dynamic shared object (DSO) for PHP that will add new XSL
1446 support (using libxslt).
1448 %description xsl -l pl
1449 Modu³ PHP dodaj±cy now± obs³ugê XSLT (przy u¿yciu libxslt).
1452 Summary: Zip management extension
1453 Summary(pl): Zarz±dzanie archiwami zip
1455 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1456 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1459 Zip is an extension to create, modify and read zip files.
1461 %description zip -l pl
1462 Zip jest rozszerzeniem umo¿liwiaj±cym tworzenie, modyfikacjê oraz
1463 odczyt archiwów zip.
1466 Summary: Zlib extension module for PHP
1467 Summary(pl): Modu³ zlib dla PHP
1469 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1470 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1473 This is a dynamic shared object (DSO) for PHP that will add zlib
1474 compression support to PHP.
1476 %description zlib -l pl
1477 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1491 #%patch9 -p1 # TEST OR UPGRADE
1492 cp php.ini-dist php.ini
1494 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1505 #%patch23 -p1 # UPDATE?
1509 %if %{with hardening}
1510 zcat %{SOURCE8} | patch -p1 || exit 1
1511 patch -p1 < %{PATCH30} || exit 1
1516 %{?with_versioning:%patch35 -p1}
1517 %if "%{_lib}" == "lib64"
1522 # conflict seems to be resolved by recode patches
1523 rm -f ext/recode/config9.m4
1525 # remove all bundled libraries not to link with them accidentally
1526 #rm -rf ext/sqlite/libsqlite
1527 #rm -rf ext/bcmath/libbcmath
1528 #rm -rf ext/date/lib
1529 #rm -rf ext/dba/libcdb
1530 #rm -rf ext/dba/libflatfile
1531 #rm -rf ext/dba/libinifile
1532 #rm -rf ext/gd/libgd
1533 #rm -rf ext/mbstring/libmbfl
1534 #rm -rf ext/mbstring/oniguruma
1535 rm -rf ext/pcre/pcrelib
1536 rm -rf ext/pdo_sqlite/sqlite
1537 #rm -rf ext/soap/interop
1538 rm -rf ext/xmlrpc/libxmlrpc
1541 if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then
1542 echo "Set %%define php_api_version to $API and rerun."
1546 if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then
1547 echo "Set %%define zend_module_api to $API and rerun."
1551 if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then
1552 echo "Set %%define zend_extension_api to $API and rerun."
1556 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1557 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1558 rm -f Makefile.{fcgi,cgi,cli,apxs{1,2}} # now remove Makefile copies
1564 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1578 for sapi in $sapis; do
1579 [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1585 echo --enable-discard-path --enable-force-cgi-redirect
1591 echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect
1594 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
1595 echo --with-apxs=%{apxs1} --with-apache-version=$ver
1598 ver=%(rpm -q --qf '%%{version}' apache-apxs)
1599 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
1603 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1604 --cache-file=config.cache \
1606 --with-libdir=%{_lib} \
1607 --with-config-file-path=%{_sysconfdir} \
1608 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1609 --with-exec-dir=%{_bindir} \
1610 --%{!?debug:dis}%{?debug:en}able-debug \
1611 %{?with_zts:--enable-maintainer-zts} \
1612 --enable-inline-optimization \
1613 --enable-memory-limit \
1614 --enable-bcmath=shared \
1615 --enable-calendar=shared \
1616 --enable-ctype=shared \
1617 --enable-dba=shared \
1620 --enable-dom=shared \
1621 --enable-exif=shared \
1622 --enable-ftp=shared \
1623 --enable-gd-native-ttf \
1624 --enable-gd-jus-conf \
1626 --enable-magic-quotes \
1627 --enable-mbstring=shared,all \
1629 --enable-pcntl=shared \
1630 --enable-pdo=shared \
1631 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
1632 --with-pdo-dblib=shared \
1634 %if %{with interbase} && %{without interbase_inst}
1635 --with-pdo-firebird=shared \
1637 --with-pdo-mysql=shared \
1638 %{?with_oci8:--with-pdo-oci=shared} \
1639 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1640 %{?with_pgsql:--with-pdo-pgsql=shared} \
1641 %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
1642 --enable-posix=shared \
1643 --enable-reflection \
1646 --enable-shmop=shared \
1647 --enable-simplexml \
1648 --enable-sysvmsg=shared \
1649 --enable-sysvsem=shared \
1650 --enable-sysvshm=shared \
1651 --enable-track-vars \
1652 --enable-trans-sid \
1653 --enable-safe-mode \
1654 --enable-soap=shared \
1655 --enable-sockets=shared \
1656 --enable-tokenizer=shared \
1657 --enable-ucd-snmp-hack \
1658 %{?with_wddx:--enable-wddx=shared} \
1659 --enable-xml=shared \
1660 --enable-xmlreader=shared \
1662 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1663 %{?with_db3:--with-db3}%{!?with_db3:--with-db4} \
1664 --enable-dbase=shared \
1666 --with-expat-dir=shared,/usr \
1668 --without-expat-dir \
1670 %{?with_fdf:--with-fdftk=shared} \
1671 --with-iconv=shared \
1672 --with-freetype-dir=shared \
1673 --with-gettext=shared \
1674 --with-gd=shared,/usr \
1677 %{?with_imap:--with-imap=shared --with-imap-ssl} \
1678 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1679 --with-jpeg-dir=/usr \
1680 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1681 --with-mcrypt=shared \
1682 %{?with_mhash:--with-mhash=shared} \
1683 %{?with_mime_magic:--with-mime-magic=shared,/usr/share/file/magic.mime}%{!?with_mime_magic:--disable-mime-magic} \
1684 %{?with_ming:--with-ming=shared} \
1685 %{?with_mm:--with-mm} \
1686 %{?with_mssql:--with-mssql=shared} \
1687 --with-mysql=shared,/usr \
1688 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1689 %{?with_mysqli:--with-mysqli=shared} \
1690 --with-ncurses=shared \
1691 %{?with_oci8:--with-oci8=shared} \
1692 %{?with_openssl:--with-openssl=shared} \
1694 %{!?with_pcre:--without-pcre-regex --disable-filter}%{?with_pcre:--with-pcre-regex=/usr} \
1695 --with-pear=%{php_pear_dir} \
1696 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1697 --with-png-dir=/usr \
1698 %{?with_pspell:--with-pspell=shared} \
1699 --with-readline=shared \
1700 %{?with_recode:--with-recode=shared} \
1702 --without-sablot-js \
1703 %{?with_snmp:--with-snmp=shared} \
1704 %{?with_sybase:--with-sybase=shared,/usr} \
1705 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1706 %{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1707 --with-t1lib=shared \
1708 %{?with_tidy:--with-tidy=shared} \
1709 --with-tiff-dir=/usr \
1710 %{?with_odbc:--with-unixODBC=shared,/usr} \
1711 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1713 --with-zlib=shared \
1714 --with-zlib-dir=shared,/usr \
1715 --enable-zip=shared,/usr \
1717 cp -f Makefile Makefile.$sapi
1718 cp -f main/php_config.h php_config.h.$sapi
1721 # must make this first, so modules can link against it.
1722 %{__make} libphp_common.la
1723 %{__make} build-modules
1726 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1730 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1735 cp -af php_config.h.fcgi main/php_config.h
1736 %{__make} sapi/cgi/php -f Makefile.fcgi
1737 cp -r sapi/cgi sapi/fcgi
1738 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1742 cp -af php_config.h.cgi main/php_config.h
1743 %{__make} sapi/cgi/php -f Makefile.cgi
1746 cp -af php_config.h.cli main/php_config.h
1747 %{__make} sapi/cli/php -f Makefile.cli
1750 rm -rf $RPM_BUILD_ROOT
1751 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
1752 $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
1753 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1754 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/httpd.conf} \
1755 $RPM_BUILD_ROOT%{_mandir}/man1 \
1757 # install the apache modules' files
1758 %{__make} install-headers install-build install-modules install-programs \
1759 INSTALL_ROOT=$RPM_BUILD_ROOT
1761 # install apache1 DSO module
1763 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
1766 # install apache2 DSO module
1768 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
1771 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1772 # fix install paths, avoid evil rpaths
1773 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
1775 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
1778 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php.cgi
1782 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php.fcgi
1786 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
1787 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
1788 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
1790 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1792 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1794 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1796 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1797 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1800 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
1801 install %{SOURCE3} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
1802 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1803 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
1807 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1808 install %{SOURCE3} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1809 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1810 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
1813 cp -f Zend/LICENSE{,.Zend}
1815 # Generate stub .ini files for each subpackage
1816 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1817 for so in modules/*.so; do
1818 mod=$(basename $so .so)
1819 conf="%{_sysconfdir}/conf.d/${mod}.ini"
1820 # xml needs to be loaded before wddx
1821 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_${mod}.ini"
1822 cat > $RPM_BUILD_ROOT${conf} <<EOF
1823 ; Enable ${mod} extension module
1828 # per SAPI ini directories
1829 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi,cli,cgi-fcgi,apache,apache2handler}.d
1832 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{ncurses,pcntl,readline}.ini,cli.d}
1834 # use system automake and {lib,sh}tool
1835 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
1836 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
1837 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
1838 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
1840 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
1841 # isn't installed by install-headers make target, we do it manually here.
1842 # this header file is required by e.g. filter PECL extension
1843 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
1846 rm -rf $RPM_BUILD_ROOT
1849 if [ "$1" = "1" ]; then
1851 %service -q apache restart
1854 %service -q httpd restart
1859 if [ "$1" = "0" ]; then
1861 %service -q apache restart
1864 %service -q httpd restart
1868 %post -n apache1-mod_php
1869 if [ "$1" = "1" ]; then
1870 %service -q apache restart
1873 %postun -n apache1-mod_php
1874 if [ "$1" = "0" ]; then
1875 %service -q apache restart
1878 %post -n apache-mod_php
1879 if [ "$1" = "1" ]; then
1880 %service -q httpd restart
1883 %postun -n apache-mod_php
1884 if [ "$1" = "0" ]; then
1885 %service -q httpd restart
1888 # so tired of typing... so decided to create macros
1889 # macro called at extension post scriptlet
1890 %define extension_post \
1891 if [ "$1" = "1" ]; then \
1892 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1893 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1896 # macro called at extension postun scriptlet
1897 %define extension_postun \
1898 if [ "$1" = "0" ]; then \
1899 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1900 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1903 %post common -p /sbin/ldconfig
1904 %postun common -p /sbin/ldconfig
1907 # minimizing apache restarts logics. we restart webserver:
1909 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1910 # 2. first install of extension (post: $1 = 1)
1911 # 2. uninstall of extension (postun: $1 == 0)
1913 # the strict internal deps between extensions (and apache modules) and
1914 # common package are very important for all this to work.
1916 # restart webserver at the end of transaction
1917 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
1918 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
1921 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
1923 /^AddType application\/x-httpd-php \.php/s,^,#,
1924 /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
1925 ' /etc/apache/apache.conf
1926 %service -q apache restart
1930 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
1931 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1932 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1933 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1934 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2121 %postun pdo-firebird
2292 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2293 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2295 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2296 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bzip2\.so/d' %{_sysconfdir}/php.ini
2298 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2299 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2301 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2302 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2304 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2305 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2307 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2308 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2310 %triggerun dbase -- %{name}-dbase < 4:5.0.4-9.1
2311 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbase\.so/d' %{_sysconfdir}/php.ini
2313 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2314 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini
2316 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2317 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2319 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2320 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2322 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2323 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2325 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2326 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2328 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2329 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2331 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2332 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2334 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2335 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2337 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2338 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2340 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2341 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2343 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2344 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2346 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2347 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2349 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2350 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2352 %triggerun mhash -- %{name}-mhash < 4:5.0.4-9.1
2353 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mhash\.so/d' %{_sysconfdir}/php.ini
2355 %triggerun mime_magic -- %{name}-mime_magic < 4:5.0.4-9.1
2356 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mime_magic\.so/d' %{_sysconfdir}/php.ini
2358 %triggerun ming -- %{name}-ming < 4:5.0.4-9.1
2359 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ming\.so/d' %{_sysconfdir}/php.ini
2361 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2362 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2364 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2365 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2367 %triggerun ncurses -- %{name}-ncurses < 4:5.1.2-9.5
2368 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2369 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cgi.ini
2371 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2372 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cli.ini
2375 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2376 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini
2378 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2379 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2381 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2382 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2384 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2385 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2387 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2388 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2389 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2391 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2392 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2395 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2396 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2398 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2399 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2401 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2402 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2404 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2405 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2406 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2408 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2409 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2412 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2413 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2415 %triggerun session -- %{name}-session < 4:5.0.4-9.1
2416 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*session\.so/d' %{_sysconfdir}/php.ini
2418 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2419 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2421 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2422 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2424 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2425 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini
2427 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2428 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2430 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2431 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini
2433 %triggerun sybase -- %{name}-sybase < 4:5.0.4-9.1
2434 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase\.so/d' %{_sysconfdir}/php.ini
2436 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2437 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini
2439 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2440 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2442 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2443 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2445 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2446 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2448 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2449 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini
2451 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2452 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2454 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2455 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2457 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2458 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2460 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2461 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini
2463 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2464 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2467 %files -n apache1-mod_php
2468 %defattr(644,root,root,755)
2469 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2470 %dir %{_sysconfdir}/apache.d
2471 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2472 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2473 /home/services/apache/icons/*
2477 %files -n apache-mod_php
2478 %defattr(644,root,root,755)
2479 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php.conf
2480 %dir %{_sysconfdir}/apache2handler.d
2481 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2482 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2483 /home/services/httpd/icons/*
2488 %defattr(644,root,root,755)
2489 %doc sapi/cgi/README.FastCGI
2490 %dir %{_sysconfdir}/cgi-fcgi.d
2491 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2492 %attr(755,root,root) %{_bindir}/php.fcgi
2496 %defattr(644,root,root,755)
2497 %dir %{_sysconfdir}/cgi.d
2498 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2499 %attr(755,root,root) %{_bindir}/php.cgi
2502 %defattr(644,root,root,755)
2503 %dir %{_sysconfdir}/cli.d
2504 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2505 %attr(755,root,root) %{_bindir}/php.cli
2506 %{_mandir}/man1/php.1*
2507 %{_mandir}/man1/php.cli.1*
2510 %defattr(644,root,root,755)
2511 %attr(755,root,root) %{_bindir}/php
2514 %defattr(644,root,root,755)
2516 %doc CREDITS Zend/ZEND_CHANGES
2517 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2520 %dir %{_sysconfdir}/conf.d
2521 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2522 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2523 %dir %{extensionsdir}
2525 %doc ext/session/mod_files.sh
2528 %defattr(644,root,root,755)
2529 %doc README.UNIX-BUILD-SYSTEM
2530 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2531 %doc CODING_STANDARDS
2532 %attr(755,root,root) %{_bindir}/phpize
2533 %attr(755,root,root) %{_bindir}/php-config
2534 %attr(755,root,root) %{_libdir}/libphp_common.so
2535 %{_libdir}/libphp_common.la
2537 %{_libdir}/php/build
2541 %defattr(644,root,root,755)
2542 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2543 %attr(755,root,root) %{extensionsdir}/bcmath.so
2546 %defattr(644,root,root,755)
2547 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2548 %attr(755,root,root) %{extensionsdir}/bz2.so
2551 %defattr(644,root,root,755)
2552 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2553 %attr(755,root,root) %{extensionsdir}/calendar.so
2556 %defattr(644,root,root,755)
2557 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2558 %attr(755,root,root) %{extensionsdir}/ctype.so
2562 %defattr(644,root,root,755)
2563 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2564 %attr(755,root,root) %{extensionsdir}/curl.so
2568 %defattr(644,root,root,755)
2569 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2570 %attr(755,root,root) %{extensionsdir}/dba.so
2573 %defattr(644,root,root,755)
2574 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2575 %attr(755,root,root) %{extensionsdir}/dbase.so
2578 %defattr(644,root,root,755)
2579 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2580 %attr(755,root,root) %{extensionsdir}/dom.so
2584 %defattr(644,root,root,755)
2585 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2586 %attr(755,root,root) %{extensionsdir}/fdf.so
2590 %defattr(644,root,root,755)
2591 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2592 %attr(755,root,root) %{extensionsdir}/exif.so
2595 %defattr(644,root,root,755)
2596 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2597 %attr(755,root,root) %{extensionsdir}/ftp.so
2600 %defattr(644,root,root,755)
2601 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2602 %attr(755,root,root) %{extensionsdir}/gd.so
2605 %defattr(644,root,root,755)
2606 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2607 %attr(755,root,root) %{extensionsdir}/gettext.so
2610 %defattr(644,root,root,755)
2611 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2612 %attr(755,root,root) %{extensionsdir}/gmp.so
2615 %defattr(644,root,root,755)
2616 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2617 %attr(755,root,root) %{extensionsdir}/iconv.so
2621 %defattr(644,root,root,755)
2622 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2623 %attr(755,root,root) %{extensionsdir}/imap.so
2626 %if %{with interbase}
2628 %defattr(644,root,root,755)
2629 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2630 %attr(755,root,root) %{extensionsdir}/interbase.so
2635 %defattr(644,root,root,755)
2636 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2637 %attr(755,root,root) %{extensionsdir}/ldap.so
2641 %defattr(644,root,root,755)
2642 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2643 %attr(755,root,root) %{extensionsdir}/mbstring.so
2646 %defattr(644,root,root,755)
2647 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2648 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2652 %defattr(644,root,root,755)
2653 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2654 %attr(755,root,root) %{extensionsdir}/mhash.so
2657 %if %{with mime_magic}
2659 %defattr(644,root,root,755)
2660 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2661 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2666 %defattr(644,root,root,755)
2667 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2668 %attr(755,root,root) %{extensionsdir}/ming.so
2673 %defattr(644,root,root,755)
2674 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2675 %attr(755,root,root) %{extensionsdir}/mssql.so
2679 %defattr(644,root,root,755)
2680 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2681 %attr(755,root,root) %{extensionsdir}/mysql.so
2685 %defattr(644,root,root,755)
2686 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2687 %attr(755,root,root) %{extensionsdir}/mysqli.so
2691 %defattr(644,root,root,755)
2692 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/ncurses.ini
2693 %attr(755,root,root) %{extensionsdir}/ncurses.so
2697 %defattr(644,root,root,755)
2698 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2699 %attr(755,root,root) %{extensionsdir}/oci8.so
2704 %defattr(644,root,root,755)
2705 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2706 %attr(755,root,root) %{extensionsdir}/odbc.so
2711 %defattr(644,root,root,755)
2712 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2713 %attr(755,root,root) %{extensionsdir}/openssl.so
2717 %defattr(644,root,root,755)
2718 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2719 %attr(755,root,root) %{extensionsdir}/pcntl.so
2722 %defattr(644,root,root,755)
2723 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2724 %attr(755,root,root) %{extensionsdir}/pdo.so
2726 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
2728 %defattr(644,root,root,755)
2729 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2730 %attr(755,root,root) %{extensionsdir}/pdo_dblib.so
2733 %if %{with interbase} && %{without interbase_inst}
2735 %defattr(644,root,root,755)
2736 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2737 %attr(755,root,root) %{extensionsdir}/pdo_firebird.so
2741 %defattr(644,root,root,755)
2742 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2743 %attr(755,root,root) %{extensionsdir}/pdo_mysql.so
2747 %defattr(644,root,root,755)
2748 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2749 %attr(755,root,root) %{extensionsdir}/pdo_oci.so
2754 %defattr(644,root,root,755)
2755 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2756 %attr(755,root,root) %{extensionsdir}/pdo_odbc.so
2761 %defattr(644,root,root,755)
2762 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2763 %attr(755,root,root) %{extensionsdir}/pdo_pgsql.so
2768 %defattr(644,root,root,755)
2769 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2770 %attr(755,root,root) %{extensionsdir}/pdo_sqlite.so
2775 %defattr(644,root,root,755)
2776 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2777 %attr(755,root,root) %{extensionsdir}/pgsql.so
2781 %defattr(644,root,root,755)
2782 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2783 %attr(755,root,root) %{extensionsdir}/posix.so
2787 %defattr(644,root,root,755)
2788 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2789 %attr(755,root,root) %{extensionsdir}/pspell.so
2793 %defattr(644,root,root,755)
2794 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2795 %attr(755,root,root) %{extensionsdir}/readline.so
2799 %defattr(644,root,root,755)
2800 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2801 %attr(755,root,root) %{extensionsdir}/recode.so
2805 # simplexml is needed by spl, and spl can't be built shared as of now (5.1.0RC3)
2807 %defattr(644,root,root,755)
2808 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2809 %attr(755,root,root) %{extensionsdir}/simplexml.so
2813 %defattr(644,root,root,755)
2814 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2815 %attr(755,root,root) %{extensionsdir}/shmop.so
2819 %defattr(644,root,root,755)
2820 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2821 %attr(755,root,root) %{extensionsdir}/snmp.so
2825 %defattr(644,root,root,755)
2826 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2827 %attr(755,root,root) %{extensionsdir}/soap.so
2830 %defattr(644,root,root,755)
2831 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2832 %attr(755,root,root) %{extensionsdir}/sockets.so
2836 %defattr(644,root,root,755)
2837 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2838 %attr(755,root,root) %{extensionsdir}/sqlite.so
2843 %defattr(644,root,root,755)
2844 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
2845 %attr(755,root,root) %{extensionsdir}/sybase.so
2848 %if %{with sybase_ct}
2850 %defattr(644,root,root,755)
2851 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2852 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2856 %defattr(644,root,root,755)
2857 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2858 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
2861 %defattr(644,root,root,755)
2862 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2863 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2866 %defattr(644,root,root,755)
2867 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2868 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2872 %defattr(644,root,root,755)
2873 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2874 %attr(755,root,root) %{extensionsdir}/tidy.so
2878 %defattr(644,root,root,755)
2879 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2880 %attr(755,root,root) %{extensionsdir}/tokenizer.so
2884 %defattr(644,root,root,755)
2885 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2886 %attr(755,root,root) %{extensionsdir}/wddx.so
2890 %defattr(644,root,root,755)
2891 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
2892 %attr(755,root,root) %{extensionsdir}/xml.so
2895 %defattr(644,root,root,755)
2896 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
2897 %attr(755,root,root) %{extensionsdir}/xmlreader.so
2901 %defattr(644,root,root,755)
2902 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
2903 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
2907 %defattr(644,root,root,755)
2908 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
2909 %attr(755,root,root) %{extensionsdir}/xsl.so
2912 %defattr(644,root,root,755)
2913 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
2914 %attr(755,root,root) %{extensionsdir}/zip.so
2917 %defattr(644,root,root,755)
2918 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
2919 %attr(755,root,root) %{extensionsdir}/zlib.so