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 msession # without msession extension module
32 %bcond_without mssql # without MS SQL extension module
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_without mysqli # with mysqli support (Requires mysql > 4.1)
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.
71 %undefine with_msession
74 Summary: The PHP HTML-embedded scripting language for use with Apache
75 Summary(fr): Le langage de script embarque-HTML PHP pour Apache
76 Summary(pl): Jêzyk skryptowy PHP - u¿ywany wraz z serwerem Apache
77 Summary(pt_BR): A linguagem de script PHP
78 Summary(ru): PHP ÷ÅÒÓÉÉ 5 - ÑÚÙË ÐÒÅÐÒÏÃÅÓÓÉÒÏ×ÁÎÉÑ HTML-ÆÁÊÌÏ×, ×ÙÐÏÌÎÑÅÍÙÊ ÎÁ ÓÅÒ×ÅÒÅ
79 Summary(uk): PHP ÷ÅÒÓ¦§ 5 - ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
83 Release: %{_rel}%{?with_hardening:hardened}
87 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
88 # Source0-md5: 70a7c90de182d1a1901c390b844153c7
91 Source3: %{name}-module-install
92 Source4: %{name}-mod_%{name}.conf
93 Source5: %{name}-cgi-fcgi.ini
94 Source6: %{name}-cgi.ini
95 Source7: %{name}-apache.ini
96 Source8: %{name}-cli.ini
97 Source9: http://www.hardened-php.net/hardening-patch-5.0.4-0.3.0.patch.gz
98 # Source9-md5: 47a742fa9fab2826ad10c13a2376111a
99 Patch0: %{name}-shared.patch
100 Patch1: %{name}-pldlogo.patch
101 Patch2: %{name}-mail.patch
102 Patch3: %{name}-link-libs.patch
103 Patch4: %{name}-libpq_fs_h_path.patch
104 Patch5: %{name}-msession-shared-lib.patch
105 Patch6: %{name}-build_modules.patch
106 Patch7: %{name}-sapi-ini-file.patch
107 Patch8: %{name}-no-metaccld.patch
108 Patch10: %{name}-ini.patch
109 Patch11: %{name}-acam.patch
110 Patch14: %{name}-allow-db31.patch
111 Patch15: %{name}-threads-acfix.patch
112 Patch16: %{name}-tsrmlsfetchgcc2.patch
113 Patch17: %{name}-no_pear_install.patch
114 Patch18: %{name}-zlib.patch
115 Patch19: %{name}-sybase-fix.patch
116 Patch20: %{name}-readline.patch
117 Patch21: %{name}-nohttpd.patch
118 Patch23: %{name}-gd_imagerotate_enable.patch
119 Patch24: %{name}-uint32_t.patch
120 Patch25: %{name}-hwapi-link.patch
121 Patch26: %{name}-dba-link.patch
122 Patch30: %{name}-hardening-fix.patch
123 Patch31: %{name}-both-apxs.patch
124 Patch32: %{name}-builddir.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.1.0}
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.0}
168 %if %{with openssl} || %{with ldap}
169 BuildRequires: openssl-devel >= 0.9.7d
171 BuildRequires: %{__perl}
172 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
173 BuildRequires: pam-devel
174 %{?with_pcre:BuildRequires: pcre-devel}
175 %{?with_msession:BuildRequires: phoenix-devel}
176 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
177 %{?with_pgsql:BuildRequires: postgresql-devel}
178 BuildRequires: readline-devel
179 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
180 BuildRequires: rpm-build >= 4.4.0
181 BuildRequires: rpmbuild(macros) >= 1.238
182 %{?with_sqlite:BuildRequires: sqlite-devel}
183 BuildRequires: t1lib-devel
184 %{?with_tidy:BuildRequires: tidy-devel}
185 %{?with_odbc:BuildRequires: unixODBC-devel}
186 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
187 BuildRequires: zlib-devel >= 1.0.9
189 BuildRequires: apache1-devel
192 BuildRequires: apache-devel >= 2.0.52-2
193 BuildRequires: apr-devel >= 1:1.0.0
194 BuildRequires: apr-util-devel >= 1:1.0.0
196 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
198 %define _sysconfdir /etc/php
199 %define _phpsharedir %{_datadir}/php
200 %define extensionsdir %{_libdir}/php
202 # must be in sync with source. extra check ensuring that it is so is done in %%build
203 %define php_api_version 20041225
204 %define zend_module_api 20050922
205 %define zend_extension_api 220051025
206 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
207 %define php_debug %{!?debug:0}%{?debug:1}
210 PHP is an HTML-embedded scripting language. PHP attempts to make it
211 easy for developers to write dynamically generated web pages. PHP also
212 offers built-in database integration for several commercial and
213 non-commercial database management systems, so writing a
214 database-enabled web page with PHP is fairly simple. The most common
215 use of PHP coding is probably as a replacement for CGI scripts. The
216 mod_php module enables the Apache web server to understand and process
217 the embedded PHP language in web pages. This package contains php
218 version %{version}. If you use applications which specifically rely on
219 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
220 module contained in the phpfi package. If you're just starting with
221 PHP, you should install this package. You'll also need to install the
225 PHP est un langage de script embarque dans le HTM. PHP essaye de
226 rendre simple aux developpeurs d'ecrire des pages web generees
227 dynamiquement. PHP incorpore egalement une integration avec plusieurs
228 systemes de gestion de bases de donnees commerciaux et
229 non-connerciaux, qui rent facile la creation de pages web liees avec
230 des bases de donnees. L'utilisation la plus commune de PHP est
231 probablement en remplacement de scripts CGI. Le module mod_php permet
232 au serveur web apache de comprendre et de traiter le langage PHP
233 integre dans des pages web. Ce package contient php version
234 %{version}. Si vous utilisez des applications qui utilisent
235 specifiquement PHP/FI, vous devrez installer le module PHP/FI inclus
236 dans le package mod_php. Si vous debutez avec PHP, vous devriez
237 installer ce package. Vous aurez egalement besoin dinstaller le
241 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
242 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
243 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
244 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
245 zosta³a z jêzyków: C, Java i Perl.
247 %description -l pt_BR
248 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
249 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
250 com algumas características únicas, específicas ao PHP. O objetivo da
251 linguagem é permitir que desenvolvedores web escrevam páginas
252 dinamicamente geradas de forma rápida.
255 PHP - ÜÔÏ ÑÚÙË ÎÁÐÉÓÁÎÉÑ ÓËÒÉÐÔÏ×, ×ÓÔÒÁÉ×ÁÅÍÙÈ × HTML-ËÏÄ. PHP
256 ÐÒÅÄÌÁÇÁÅÔ ÉÎÔÅÒÇÒÁÃÉÀ Ó ÍÎÏÖÅÓÔ×ÏÍ óõâä, ÐÏÜÔÏÍÕ ÎÁÐÉÓÁÎÉÅ ÓËÒÉÐÔÏ×
257 ÄÌÑ ÒÁÂÏÔÙ Ó ÂÁÚÁÍÉ ÄÁÎÎÙÈ ÏÔÎÏÓÉÔÅÌØÎÏ ÐÒÏÓÔÏ. îÁÉÂÏÌÅÅ ÐÏÐÕÌÑÒÎÏÅ
258 ÉÓÐÏÌØÚÏ×ÁÎÉÅ PHP - ÚÁÍÅÎÁ ÄÌÑ CGI ÓËÒÉÐÔÏ×.
260 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÁÍÏÄÏÓÔÁÔÏÞÎÕÀ (CGI) ×ÅÒÓÉÀ ÉÎÔÅÒÐÒÅÔÁÔÏÒÁ ÑÚÙËÁ.
261 ÷Ù ÄÏÌÖÎÙ ÔÁËÖÅ ÕÓÔÁÎÏ×ÉÔØ ÐÁËÅÔ %{name}-common. åÓÌÉ ×ÁÍ ÎÕÖÅÎ
262 ÉÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache, ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ
266 PHP - ÃÅ ÍÏ×Á ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦×, ÝÏ ×ÂÕÄÏ×ÕÀÔØÓÑ × HTML-ËÏÄ. PHP
267 ÐÒÏÐÏÎÕ¤ ¦ÎÔÅÇÒÁæÀ Ú ÂÁÇÁÔØÍÁ óõâä, ÔÏÍÕ ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦× ÄÌÑ
268 ÒÏÂÏÔÉ Ú ÂÁÚÁÍÉ ÄÁÎÉÈ ¤ ÄÏ×Ï̦ ÐÒÏÓÔÉÍ. îÁʦÌØÛ ÐÏÐÕÌÑÒÎÅ
269 ×ÉËÏÒÉÓÔÁÎÎÑ PHP - ÚÁͦÎÁ ÄÌÑ CGI ÓËÒÉÐÔ¦×.
271 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÁÍÏÄÏÓÔÁÔÎÀ (CGI) ×ÅÒÓ¦À ¦ÎÔÅÒÐÒÅÔÁÔÏÒÁ ÍÏ×É. ÷É
272 ÍÁ¤ÔÅ ÔÁËÏÖ ×ÓÔÁÎÏ×ÉÔÉ ÐÁËÅÔ %{name}-common. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÅÎ
273 ¦ÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache, ×ÓÔÁÎÏצÔØ ÐÁËÅÔ apache-php.
275 %package -n apache1-mod_php
276 Summary: PHP DSO module for apache 1.3.x
277 Summary(pl): Modu³ DSO (Dynamic Shared Object) php dla apache 1.3.x
278 Group: Development/Languages/PHP
279 Requires(post,preun): %{__perl}
280 Requires(post,preun): %{apxs1}
281 Requires: %{name}-common = %{epoch}:%{version}-%{release}
282 Requires: apache1(EAPI) >= 1.3.33-2
283 Requires: apache1-mod_mime
284 Provides: php = %{epoch}:%{version}-%{release}
286 Obsoletes: apache-mod_php < 1:4.1.1
288 %description -n apache1-mod_php
289 PHP as DSO module for apache 1.3.x.
291 %description -n apache1-mod_php -l pl
292 php jako modu³ DSO (Dynamic Shared Object) dla apache 1.3.x.
294 %package -n apache-mod_php
295 Summary: PHP DSO module for apache 2.x
296 Summary(pl): Modu³ DSO (Dynamic Shared Object) php dla apache 2.x
297 Group: Development/Languages/PHP
298 Requires: %{name}-common = %{epoch}:%{version}-%{release}
299 Requires: apache(modules-api) = %{apache_modules_api}
300 Requires: apache >= 2.2.0
301 Provides: php = %{epoch}:%{version}-%{release}
303 Obsoletes: apache-mod_php < 1:4.1.1
305 %description -n apache-mod_php
306 PHP as DSO module for apache 2.x.
308 %description -n apache-mod_php -l pl
309 php jako modu³ DSO (Dynamic Shared Object) dla apache 2.x.
312 Summary: php as FastCGI program
313 Summary(pl): php jako program FastCGI
314 Group: Development/Languages/PHP
315 Requires: %{name}-common = %{epoch}:%{version}-%{release}
316 Provides: php = %{epoch}:%{version}-%{release}
319 php as FastCGI program.
321 %description fcgi -l pl
322 php jako program FastCGI.
325 Summary: php as CGI program
326 Summary(pl): php jako program CGI
327 Group: Development/Languages/PHP
328 Requires: %{name}-common = %{epoch}:%{version}-%{release}
333 %description cgi -l pl
334 php jako program CGI.
337 Summary: php as CLI interpreter
338 Summary(pl): php jako interpreter dzia³aj±cy z linii poleceñ
339 Group: Development/Languages/PHP
340 Requires: %{name}-common = %{epoch}:%{version}-%{release}
343 php as CLI interpreter.
345 %description cli -l pl
346 php jako interpreter dzia³aj±cy z linii poleceñ.
349 Summary: /usr/bin/php symlink
350 Summary(pl): Dowi±zanie symboliczne /usr/bin/php
351 Group: Development/Languages/PHP
352 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
353 Provides: php(program)
354 Obsoletes: php(program)
357 Package providing /usr/bin/php symlink to PHP CLI.
359 %description program -l pl
360 Pakiet dostarczaj±cy dowi±zanie symboliczne /usr/bin/php do PHP CLI.
363 Summary: Common files needed by both apache module and CGI
364 Summary(pl): Wspólne pliki dla modu³u apache'a i programu CGI
365 Summary(ru): òÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ php
366 Summary(uk): â¦Â̦ÏÔÅËÉ ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÄÌÑ php
368 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
369 Requires: glibc >= 6:2.3.5
371 Provides: %{name}-libxml = %{epoch}:%{version}-%{release}
372 Provides: %{name}-session = %{epoch}:%{version}-%{release}
373 Provides: %{name}-simplexml = %{epoch}:%{version}-%{release}
374 Provides: %{name}-spl = %{epoch}:%{version}-%{release}
375 Provides: %{name}-standard = %{epoch}:%{version}-%{release}
376 Provides: php(modules_api) = %{php_api_version}
377 Provides: php(zend_module_api) = %{zend_module_api}
378 Provides: php(zend_extension_api) = %{zend_extension_api}
379 Provides: php5(debug) = %{php_debug}
380 Provides: php5(thread-safety) = %{zend_zts}
381 Obsoletes: php-session < 3:4.2.1-2
382 # for the posttrans scriptlet, conflicts because in vserver enviroinment rpm package is not installed.
383 Conflicts: rpm < 4.4.2-0.2
386 Common files needed by both apache module and CGI.
388 %description common -l pl
389 Wspólne pliki dla modu³u apacha i programu CGI.
391 %description common -l ru
392 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÏÂÝÉÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÎÙÈ ×ÁÒÉÁÎÔÏ× ÒÅÁÌÉÚÁÃÉÉ PHP
393 (ÓÁÍÏÄÏÓÔÁÔÏÞÎÏÊ É × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache).
395 %description common -l uk
396 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓЦÌØΦ ÆÁÊÌÉ ÄÌÑ Ò¦ÚÎÉÈ ×ÁÒ¦ÁÎÔ¦× ÒÅÁ̦ÚÁæ§ PHP
397 (ÓÁÍÏÄÏÓÔÁÔÎØϧ ÔÁ × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache).
400 Summary: Files for PHP modules development
401 Summary(pl): Pliki do kompilacji modu³ów PHP
402 Summary(pt_BR): Arquivos de desenvolvimento para PHP
403 Summary(ru): ðÁËÅÔ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÏÓÔÒÏÅÎÉÑ ÒÁÓÛÉÒÅÎÉÊ PHP
404 Summary(uk): ðÁËÅÔ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÏÂÕÄÏ×É ÒÏÚÛÉÒÅÎØ PHP
405 Group: Development/Languages/PHP
406 Requires: %{name}-common = %{epoch}:%{version}-%{release}
411 Obsoletes: php-pear-devel
412 Obsoletes: php4-devel
415 The php-devel package lets you compile dynamic extensions to PHP.
416 Included here is the source for the PHP extensions. Instead of
417 recompiling the whole php binary to add support for, say, oracle,
418 install this package and use the new self-contained extensions
419 support. For more information, read the file
420 README.SELF-CONTAINED-EXTENSIONS.
422 %description devel -l pl
423 Ten pakiet zawiera pliki potrzebne do kompilacji modu³ów PHP. Zamiast
424 rekompilowaæ ca³e php aby dodaæ obs³ugê np. oracle, mo¿na przy u¿yciu
425 tego pakietu skompilowaæ samodzielne rozszerzenie. Wiêcej informacji o
426 samodzielnych rozszerzeniach mo¿na znale¼æ w pliku
427 README.SELF-CONTAINED-EXTENSIONS.
429 %description devel -l pt_BR
430 Este pacote contém arquivos usados no desenvolvimento de programas ou
433 %description devel -l ru
434 ðÁËÅÔ php-devel ÄÁÅÔ ×ÏÚÍÏÖÎÏÓÔØ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÄÉÎÁÍÉÞÅÓËÉÅ ÒÁÓÛÉÒÅÎÉÑ
435 PHP. ðÁËÅÔ ×ËÌÀÞÁÅÔ ÉÓÈÏÄÎÙÊ ËÏÄ ÜÔÉÈ ÒÁÓÛÉÒÅÎÉÊ. ÷ÍÅÓÔÏ ÐÏ×ÔÏÒÎÏÊ
436 ËÏÍÐÉÌÑÃÉÉ ÂÉÎÁÒÎÏÇÏ ÆÁÊÌÁ php ÄÌÑ ÄÏÂÁ×ÌÅÎÉÑ, ÎÁÐÒÉÍÅÒ, ÐÏÄÄÅÒÖËÉ
437 oracle, ÕÓÔÁÎÏ×ÉÔÅ ÜÔÏÔ ÐÁËÅÔ ÄÌÑ ËÏÍÐÉÌÉÒÏ×ÁÎÉÑ ÏÔÄÅÌØÎÙÈ ÒÁÓÛÉÒÅÎÉÊ.
438 ðÏÄÒÏÂÎÏÓÔÉ - × ÆÁÊÌÅ README.SELF-CONTAINED-EXTENSIONS.
440 %description devel -l uk
441 ðÁËÅÔ php-devel ÄÁ¤ ÍÏÖÌÉצÓÔØ ËÏÍЦÌÀ×ÁÔÉ ÄÉÎÁͦÞΦ ÒÏÚÛÉÒÅÎÎÑ PHP.
442 äÏ ÐÁËÅÔÕ ×ËÌÀÞÅÎÏ ×ÉȦÄÎÉÊ ËÏÄ ÄÌÑ ÒÏÚÛÉÒÅÎØ. úÁͦÓÔØ ÐÏ×ÔÏÒÎϧ
443 ËÏÍЦÌÑæ§ ¦ÎÁÒÎÏÇÏ ÆÁÊÌÕ php ÄÌÑ ÄÏÄÁÎÎÑ, ÎÁÐÒÉËÌÁÄ, ЦÄÔÒÉÍËÉ
444 oracle, ×ÓÔÁÎÏצÔØ ÃÅÊ ÐÁËÅÔ ÄÌÑ ËÏÍЦÌÑæ§ ÏËÒÅÍÉÈ ÒÏÚÛÉÒÅÎØ.
445 äÅÔÁÌØΦÛÁ ¦ÎÆÏÒÍÁÃ¦Ñ - × ÆÁÊ̦ README.SELF-CONTAINED-EXTENSIONS.
448 Summary: bcmath extension module for PHP
449 Summary(pl): Modu³ bcmath dla PHP
451 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
452 Requires: %{name}-common = %{epoch}:%{version}-%{release}
455 This is a dynamic shared object (DSO) for PHP that will add bc style
456 precision math functions support.
458 %description bcmath -l pl
459 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
460 matematycznych takich jak w programie bc.
463 Summary: Bzip2 extension module for PHP
464 Summary(pl): Modu³ bzip2 dla PHP
466 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
467 Requires: %{name}-common = %{epoch}:%{version}-%{release}
470 This is a dynamic shared object (DSO) for PHP that will add bzip2
471 compression support to PHP.
473 %description bzip2 -l pl
474 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji bzip2.
477 Summary: Calendar extension module for PHP
478 Summary(pl): Modu³ funkcji kalendarza dla PHP
480 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
481 Requires: %{name}-common = %{epoch}:%{version}-%{release}
483 %description calendar
484 This is a dynamic shared object (DSO) for PHP that will add calendar
487 %description calendar -l pl
488 Modu³ PHP dodaj±cy wsparcie dla kalendarza.
491 Summary: ctype extension module for PHP
492 Summary(pl): Modu³ ctype dla PHP
494 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
495 Requires: %{name}-common = %{epoch}:%{version}-%{release}
498 This is a dynamic shared object (DSO) for PHP that will add ctype
501 %description ctype -l pl
502 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
505 Summary: curl extension module for PHP
506 Summary(pl): Modu³ curl dla PHP
508 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
509 Requires: %{name}-common = %{epoch}:%{version}-%{release}
512 This is a dynamic shared object (DSO) for PHP that will add curl
515 %description curl -l pl
516 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
519 Summary: DBA extension module for PHP
520 Summary(pl): Modu³ DBA dla PHP
522 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
523 Requires: %{name}-common = %{epoch}:%{version}-%{release}
526 This is a dynamic shared object (DSO) for PHP that will add flat-file
527 databases (DBA) support.
529 %description dba -l pl
530 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych opartych na plikach
534 Summary: DBase extension module for PHP
535 Summary(pl): Modu³ DBase dla PHP
537 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
538 Requires: %{name}-common = %{epoch}:%{version}-%{release}
541 This is a dynamic shared object (DSO) for PHP that will add DBase
544 %description dbase -l pl
545 Modu³ PHP ze wsparciem dla DBase.
548 Summary: DOM extension module for PHP
549 Summary(pl): Modu³ DOM dla PHP
551 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
552 Requires: %{name}-common = %{epoch}:%{version}-%{release}
553 # it has some compatibility functions
554 Provides: php-domxml = %{epoch}:%{version}-%{release}
555 Obsoletes: php-domxml <= 3:4.3.8-1
558 This is a dynamic shared object (DSO) for PHP that will add new DOM
561 %description dom -l pl
562 Modu³ PHP dodaj±cy now± obs³ugê DOM.
565 Summary: exif extension module for PHP
566 Summary(pl): Modu³ exif dla PHP
568 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
569 Requires: %{name}-common = %{epoch}:%{version}-%{release}
572 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
573 support in image files.
575 %description exif -l pl
576 Modu³ PHP dodaj±cy obs³ugê znaczników EXIF w plikach obrazków.
579 Summary: FDF extension module for PHP
580 Summary(pl): Modu³ FDF dla PHP
582 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
583 Requires: %{name}-common = %{epoch}:%{version}-%{release}
586 This PHP module adds support for PDF Forms through Adobe FDFTK
589 %description fdf -l pl
590 Modu³ PHP dodaj±cy obs³ugê formularzy PDF poprzez bibliotekê Adobe
594 Summary: filePro extension module for PHP
595 Summary(pl): Modu³ filePro dla PHP
597 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
598 Requires: %{name}-common = %{epoch}:%{version}-%{release}
601 This is a dynamic shared object (DSO) for PHP that will add support
602 for read-only access to filePro databases.
604 %description filepro -l pl
605 Modu³ PHP dodaj±cy mo¿liwo¶æ dostêpu (tylko do odczytu) do baz danych
609 Summary: FTP extension module for PHP
610 Summary(pl): Modu³ FTP dla PHP
612 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
613 Requires: %{name}-common = %{epoch}:%{version}-%{release}
616 This is a dynamic shared object (DSO) for PHP that will add FTP
619 %description ftp -l pl
620 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
623 Summary: GD extension module for PHP
624 Summary(pl): Modu³ GD dla PHP
626 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
627 Requires: %{name}-common = %{epoch}:%{version}-%{release}
628 Requires: gd >= 2.0.28-4
629 Provides: %{name}-gd(gif) = %{epoch}:%{version}-%{release}
632 This is a dynamic shared object (DSO) for PHP that will add GD
633 support, allowing you to create and manipulate images with PHP.
635 %description gd -l pl
636 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD, pozwalaj±cej na
637 tworzenie i obróbkê obrazków.
640 Summary: gettext extension module for PHP
641 Summary(pl): Modu³ gettext dla PHP
643 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
644 Requires: %{name}-common = %{epoch}:%{version}-%{release}
647 This is a dynamic shared object (DSO) for PHP that will add gettext
650 %description gettext -l pl
651 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
654 Summary: gmp extension module for PHP
655 Summary(pl): Modu³ gmp dla PHP
657 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
658 Requires: %{name}-common = %{epoch}:%{version}-%{release}
661 This is a dynamic shared object (DSO) for PHP that will add arbitrary
662 length number support with GNU MP library.
664 %description gmp -l pl
665 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki gmp do obliczeñ na
666 liczbach o dowolnej d³ugo¶ci.
669 Summary: Hyperwave API extension module for PHP
670 Summary(pl): Modu³ API Hyperwave dla PHP
672 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
673 Requires: %{name}-common = %{epoch}:%{version}-%{release}
676 This is a dynamic shared object (DSO) for PHP that will add official
677 Hyperwave API support.
679 %description hwapi -l pl
680 Modu³ PHP dodaj±cy obs³ugê Hyperwave.
683 Summary: iconv extension module for PHP
684 Summary(pl): Modu³ iconv dla PHP
686 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
687 Requires: %{name}-common = %{epoch}:%{version}-%{release}
690 This is a dynamic shared object (DSO) for PHP that will add iconv
693 %description iconv -l pl
694 Modu³ PHP dodaj±cy obs³ugê iconv.
697 Summary: IMAP extension module for PHP
698 Summary(pl): Modu³ IMAP dla PHP
699 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
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 IMAP
708 %description imap -l pl
709 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
711 %description imap -l pt_BR
712 Um módulo para aplicações PHP que usam IMAP.
715 Summary: InterBase/Firebird database module for PHP
716 Summary(pl): Modu³ bazy danych InterBase/Firebird dla PHP
718 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
719 Requires: %{name}-common = %{epoch}:%{version}-%{release}
720 %{?with_interbase_inst:Autoreq: false}
722 %description interbase
723 This is a dynamic shared object (DSO) for PHP that will add InterBase
724 and Firebird database support.
726 %description interbase -l pl
727 Modu³ PHP umo¿liwiaj±cy dostêp do baz danych InterBase i Firebird.
730 Summary: LDAP extension module for PHP
731 Summary(pl): Modu³ LDAP dla PHP
732 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
734 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
735 Requires: %{name}-common = %{epoch}:%{version}-%{release}
738 This is a dynamic shared object (DSO) for PHP that will add LDAP
741 %description ldap -l pl
742 Modu³ PHP dodaj±cy obs³ugê LDAP.
744 %description ldap -l pt_BR
745 Um módulo para aplicações PHP que usam LDAP.
748 Summary: mbstring extension module for PHP
749 Summary(pl): Modu³ mbstring dla PHP
751 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
752 Requires: %{name}-common = %{epoch}:%{version}-%{release}
754 %description mbstring
755 This is a dynamic shared object (DSO) for PHP that will add multibyte
758 %description mbstring -l pl
759 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
762 Summary: mcrypt extension module for PHP
763 Summary(pl): Modu³ mcrypt dla PHP
765 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
766 Requires: %{name}-common = %{epoch}:%{version}-%{release}
769 This is a dynamic shared object (DSO) for PHP that will add mcrypt
772 %description mcrypt -l pl
773 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
776 Summary: mhash extension module for PHP
777 Summary(pl): Modu³ mhash dla PHP
779 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
780 Requires: %{name}-common = %{epoch}:%{version}-%{release}
783 This is a dynamic shared object (DSO) for PHP that will add mhash
786 %description mhash -l pl
787 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
790 Summary: mime_magic extension module for PHP
791 Summary(pl): Modu³ mime_magic dla PHP
793 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
794 Requires: %{name}-common = %{epoch}:%{version}-%{release}
795 Requires: /usr/share/file/magic.mime
797 %description mime_magic
798 This PHP module adds support for MIME type lookup via file magic
799 numbers using magic.mime database.
801 %description mime_magic -l pl
802 Modu³ PHP dodaj±cy obs³ugê wyszukiwania typów MIME wed³ug magicznych
803 znaczników plików z u¿yciem bazy danych magic.mime.
806 Summary: ming extension module for PHP
807 Summary(pl): Modu³ ming dla PHP
809 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
810 Requires: %{name}-common = %{epoch}:%{version}-%{release}
813 This is a dynamic shared object (DSO) for PHP that will add ming
814 (Flash - .swf files) support.
816 %description ming -l pl
817 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
821 Summary: msession extension module for PHP
822 Summary(pl): Modu³ msession dla PHP
824 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
825 Requires: %{name}-common = %{epoch}:%{version}-%{release}
827 %description msession
828 This is a dynamic shared object (DSO) for PHP that will allow you to
829 use msession. msession is a high speed session daemon which can run
830 either locally or remotely. It is designed to provide consistent
831 session management for a PHP web farm.
833 %description msession -l pl
834 Modu³ PHP dodaj±cy umo¿liwiaj±cy korzystanie z demona msession. Jest
835 to demon szybkiej obs³ugi sesji, który mo¿e dzia³aæ lokalnie lub na
836 innej maszynie. S³u¿y do zapewniania spójnej obs³ugi sesji dla farmy
840 Summary: MS SQL extension module for PHP
841 Summary(pl): Modu³ MS SQL dla PHP
843 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
844 Requires: %{name}-common = %{epoch}:%{version}-%{release}
847 This is a dynamic shared object (DSO) for PHP that will add MS SQL
848 databases support through FreeTDS library.
850 %description mssql -l pl
851 Modu³ PHP dodaj±cy obs³ugê baz danych MS SQL poprzez bibliotekê
855 Summary: MySQL database module for PHP
856 Summary(pl): Modu³ bazy danych MySQL dla PHP
857 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
859 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
860 Requires: %{name}-common = %{epoch}:%{version}-%{release}
863 This is a dynamic shared object (DSO) for PHP that will add MySQL
866 %description mysql -l pl
867 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
869 %description mysql -l pt_BR
870 Um módulo para aplicações PHP que usam bancos de dados MySQL.
873 Summary: MySQLi module for PHP
874 Summary(pl): Modu³ MySQLi dla PHP
876 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
877 Requires: %{name}-common = %{epoch}:%{version}-%{release}
878 Requires: mysql-libs >= 4.1.0
881 This is a dynamic shared object (DSO) for PHP that will add MySQLi
882 (Improved MySQL) support. The difference between it and mysql module
883 is that it provides access to functionality of MySQL 4.1 and above.
885 %description mysqli -l pl
886 Modu³ PHP umo¿liwiaj±cy udoskonalony dostêp do bazy danych MySQL.
887 Ró¿nic± miêdzy nim a modu³em mysql jest dostêp do funkcjonalno¶ci
888 MySQL w wersji 4.1 i nowszych.
891 Summary: ncurses module for PHP
892 Summary(pl): Modu³ ncurses dla PHP
894 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
895 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
898 This PHP module adds support for ncurses functions (only for cli and
901 %description ncurses -l pl
902 Modu³ PHP dodaj±cy obs³ugê funkcji ncurses (tylko do SAPI cli i cgi).
905 Summary: Oracle 8+ database module for PHP
906 Summary(pl): Modu³ bazy danych Oracle 8+ dla PHP
908 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
909 Requires: %{name}-common = %{epoch}:%{version}-%{release}
913 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
914 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
916 %description oci8 -l pl
917 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7, 8, 9 i 10
918 poprzez interfejs Oracle8 Call-Interface (OCI8).
921 Summary: ODBC extension module for PHP
922 Summary(pl): Modu³ ODBC dla PHP
923 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
925 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
926 Requires: %{name}-common = %{epoch}:%{version}-%{release}
927 Requires: unixODBC >= 2.1.1-3
930 This is a dynamic shared object (DSO) for PHP that will add ODBC
933 %description odbc -l pl
934 Modu³ PHP ze wsparciem dla ODBC.
936 %description odbc -l pt_BR
937 Um módulo para aplicações PHP que usam ODBC.
940 Summary: OpenSSL extension module for PHP
941 Summary(pl): Modu³ OpenSSL dla PHP
943 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
944 Requires: %{name}-common = %{epoch}:%{version}-%{release}
947 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
950 Warning: this is an experimental module.
952 %description openssl -l pl
953 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki OpenSSL.
955 Uwaga: to jest modu³ eksperymentalny.
958 Summary: Process Control extension module for PHP
959 Summary(pl): Modu³ Process Control dla PHP
961 Requires(post,preun): %{name}-program = %{epoch}:%{version}-%{release}
962 Requires: %{name}-program = %{epoch}:%{version}-%{release}
965 This is a dynamic shared object (DSO) for PHP that will add process
966 spawning and control support. It supports functions like fork(),
967 waitpid(), signal() etc.
969 Warning: this is an experimental module. Also, don't use it in
970 webserver environment!
972 %description pcntl -l pl
973 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
974 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
976 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
977 u¿ywania z serwerem WWW - nie próbuj tego!
980 Summary: PCRE extension module for PHP
981 Summary(pl): Modu³ PCRE dla PHP
983 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
984 Requires: %{name}-common = %{epoch}:%{version}-%{release}
987 This is a dynamic shared object (DSO) for PHP that will add Perl
988 Compatible Regular Expression support.
990 %description pcre -l pl
991 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
992 (Perl Compatible Regular Expressions)
995 Summary: PHP Data Objects (PDO)
996 Summary(pl): Obs³uga PHP Data Objects (PDO)
998 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
999 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1002 This is a dynamic shared object (DSO) for PHP that will add PDO
1005 %description pdo -l pl
1006 Modu³ PHP dodaj±cy obs³ugê PDO (PHP Data Objects).
1009 Summary: PHP Data Objects (PDO) FreeTDS support
1010 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± FreeTDS
1012 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1013 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1014 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1016 %description pdo-dblib
1017 This is a dynamic shared object (DSO) for PHP that will add PDO
1020 %description pdo-dblib -l pl
1021 Modu³ dla PHP dodaj±cy obs³ugê baz danych FreeTDS za po¶rednictwem
1025 Summary: PHP Data Objects (PDO) MySQL support
1026 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± MySQL-a
1028 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1029 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1030 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1032 %description pdo-mysql
1033 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1036 %description pdo-mysql -l pl
1037 Modu³ dla PHP dodaj±cy obs³ugê baz danych MySQL za po¶rednictwem
1041 Summary: PHP Data Objects (PDO) Oracle support
1042 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± Oracle'a
1044 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1045 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1046 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1048 %description pdo-oci
1049 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1052 %description pdo-oci -l pl
1053 Modu³ dla PHP dodaj±cy obs³ugê baz danych Oracle za po¶rednictwem
1057 Summary: PHP Data Objects (PDO) ODBC support
1058 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± ODBC
1060 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1061 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1062 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1064 %description pdo-odbc
1065 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1068 %description pdo-odbc -l pl
1069 Modu³ dla PHP dodaj±cy obs³ugê baz danych ODBC za po¶rednictwem
1073 Summary: PHP Data Objects (PDO) PostgreSQL support
1074 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± PostgreSQL-a
1076 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1077 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1078 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1080 %description pdo-pgsql
1081 This is a dynamic shared object (DSO) for PHP that will add PDO
1084 %description pdo-pgsql -l pl
1085 Modu³ dla PHP dodaj±cy obs³ugê baz danych PostgreSQL za po¶rednictwem
1089 Summary: PHP Data Objects (PDO) SQLite support
1090 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± SQLite
1092 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1093 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1094 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1096 %description pdo-sqlite
1097 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1100 %description pdo-sqlite -l pl
1101 Modu³ dla PHP dodaj±cy obs³ugê baz danych SQLite za po¶rednictwem
1105 Summary: PostgreSQL database module for PHP
1106 Summary(pl): Modu³ bazy danych PostgreSQL dla PHP
1108 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1109 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1112 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1115 %description pgsql -l pl
1116 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
1118 %description pgsql -l pt_BR
1119 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1122 Summary: POSIX extension module for PHP
1123 Summary(pl): Modu³ POSIX dla PHP
1125 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1126 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1129 This is a dynamic shared object (DSO) for PHP that will add POSIX
1130 functions support to PHP.
1132 %description posix -l pl
1133 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
1136 Summary: pspell extension module for PHP
1137 Summary(pl): Modu³ pspell dla PHP
1139 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1140 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1143 This is a dynamic shared object (DSO) for PHP that will add pspell
1144 support to PHP. It allows to check the spelling of a word and offer
1147 %description pspell -l pl
1148 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
1149 sprawdzanie pisowni s³owa i sugerowanie poprawek.
1152 Summary: readline extension module for PHP
1153 Summary(pl): Modu³ readline dla PHP
1155 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
1156 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1158 %description readline
1159 This PHP module adds support for readline functions (only for cli and
1162 %description readline -l pl
1163 Modu³ PHP dodaj±cy obs³ugê funkcji readline (tylko do SAPI cli i cgi).
1166 Summary: recode extension module for PHP
1167 Summary(pl): Modu³ recode dla PHP
1169 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1170 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1171 Requires: recode >= 3.5d-3
1174 This is a dynamic shared object (DSO) for PHP that will add recode
1177 %description recode -l pl
1178 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1182 Summary: session extension module for PHP
1183 Summary(pl): Modu³ session dla PHP
1185 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1186 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1188 %description session
1189 This is a dynamic shared object (DSO) for PHP that will add session
1192 %description session -l pl
1193 Modu³ PHP dodaj±cy obs³ugê sesji.
1196 Summary: Shared Memory Operations extension module for PHP
1197 Summary(pl): Modu³ shmop dla PHP
1199 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1200 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1203 This is a dynamic shared object (DSO) for PHP that will add Shared
1204 Memory Operations support.
1206 Warning: this is an experimental module.
1208 %description shmop -l pl
1209 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1211 Uwaga: to jest modu³ eksperymentalny.
1214 Summary: Simple XML extension module for PHP
1215 Summary(pl): Modu³ prostego rozszerzenia XML dla PHP
1217 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1218 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1220 %description simplexml
1221 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1224 %description simplexml -l pl
1225 Modu³ PHP dodaj±cy obs³ugê prostego XML-a.
1228 Summary: SNMP extension module for PHP
1229 Summary(pl): Modu³ SNMP dla PHP
1231 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1232 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1233 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1236 This is a dynamic shared object (DSO) for PHP that will add SNMP
1239 %description snmp -l pl
1240 Modu³ PHP dodaj±cy obs³ugê SNMP.
1243 Summary: soap extension module for PHP
1244 Summary(pl): Modu³ soap dla PHP
1246 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1247 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1250 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1253 %description soap -l pl
1254 Modu³ PHP dodaj±cy obs³ugê SOAP/WSDL.
1257 Summary: sockets extension module for PHP
1258 Summary(pl): Modu³ socket dla PHP
1260 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1261 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1263 %description sockets
1264 This is a dynamic shared object (DSO) for PHP that will add sockets
1267 Warning: this is an experimental module.
1269 %description sockets -l pl
1270 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1272 Uwaga: to jest modu³ eksperymentalny.
1275 Summary: SQLite extension module for PHP
1276 Summary(pl): Modu³ SQLite dla PHP
1278 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1279 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1282 SQLite is a C library that implements an embeddable SQL database
1283 engine. Programs that link with the SQLite library can have SQL
1284 database access without running a separate RDBMS process.
1286 SQLite is not a client library used to connect to a big database
1287 server. SQLite is the server. The SQLite library reads and writes
1288 directly to and from the database files on disk.
1290 %description sqlite -l pl
1291 SQLite jest napisan± w C bibliotek± implementuj±c± osadzalny silnik
1292 bazodanowy SQL. Program linkuj±cy siê z bibliotek± SQLite mo¿e mieæ
1293 dostêp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1296 SQLite to nie klient baz danych - biblioteka nie ³±czy siê z serwerami
1297 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1298 zapisuje dane bezpo¶rednio z/do plików baz danych znajduj±cych siê na
1302 Summary: Sybase DB extension module for PHP
1303 Summary(pl): Modu³ Sybase DB dla PHP
1305 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1306 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1307 Obsoletes: php-sybase-ct
1310 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1311 MS SQL databases support through SYBDB library. Currently Sybase
1312 module is not maintained. Using Sybase-CT module is recommended
1315 %description sybase -l pl
1316 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1317 bibliotekê SYBDB. W chwili obecnej modu³ Sybase nie jest wspierany.
1318 Zaleca siê u¿ywanie modu³u Sybase-CT.
1321 Summary: Sybase-CT extension module for PHP
1322 Summary(pl): Modu³ Sybase-CT dla PHP
1324 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1325 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1326 Obsoletes: php-sybase
1328 %description sybase-ct
1329 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1330 MS SQL databases support through CT-lib.
1332 %description sybase-ct -l pl
1333 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1337 Summary: SysV msg extension module for PHP
1338 Summary(pl): Modu³ SysV msg dla PHP
1340 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1341 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1343 %description sysvmsg
1344 This is a dynamic shared object (DSO) for PHP that will add SysV
1345 message queues support.
1347 %description sysvmsg -l pl
1348 Modu³ PHP umo¿liwiaj±cy korzystanie z kolejek komunikatów SysV.
1351 Summary: SysV sem extension module for PHP
1352 Summary(pl): Modu³ SysV sem dla PHP
1354 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1355 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1357 %description sysvsem
1358 This is a dynamic shared object (DSO) for PHP that will add SysV
1361 %description sysvsem -l pl
1362 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1365 Summary: SysV shm extension module for PHP
1366 Summary(pl): Modu³ SysV shm dla PHP
1368 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1369 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1371 %description sysvshm
1372 This is a dynamic shared object (DSO) for PHP that will add SysV
1373 Shared Memory support.
1375 %description sysvshm -l pl
1376 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1379 Summary: Tidy extension module for PHP
1380 Summary(pl): Modu³ Tidy dla PHP
1382 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1383 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1387 This is a dynamic shared object (DSO) for PHP that will add Tidy
1390 %description tidy -l pl
1391 Modu³ PHP umo¿liwiaj±cy korzystanie z tidy.
1394 Summary: tokenizer extension module for PHP
1395 Summary(pl): Modu³ rozszerzenia tokenizer dla PHP
1397 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1398 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1400 %description tokenizer
1401 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1404 %description tokenizer -l pl
1405 Modu³ PHP dodaj±cy obs³ugê tokenizera do PHP.
1408 Summary: wddx extension module for PHP
1409 Summary(pl): Modu³ wddx dla PHP
1411 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1412 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1413 Requires: %{name}-session = %{epoch}:%{version}-%{release}
1414 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1417 This is a dynamic shared object (DSO) for PHP that will add wddx
1420 %description wddx -l pl
1421 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1424 Summary: XML extension module for PHP
1425 Summary(pl): Modu³ XML dla PHP
1427 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1428 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1431 This is a dynamic shared object (DSO) for PHP that will add XML
1432 support. This extension lets you create XML parsers and then define
1433 handlers for different XML events.
1435 %description xml -l pl
1436 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1437 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1438 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1441 Summary: XML Reader extension module for PHP
1442 Summary(pl): Modu³ XML Reader dla PHP
1444 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1445 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1447 %description xmlreader
1448 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1449 support. The XMLReader extension is an XML Pull parser. The reader
1450 acts as a cursor going forward on the document stream and stopping at
1451 each node on the way.
1453 %description xmlreader -l pl
1454 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML w trybie Pull. Czytnik
1455 dzia³a jako kursor przechodz±cy przez strumieñ dokumentu i
1456 zatrzymuj±cy siê naka¿dym wê¼le po drodze.
1459 Summary: xmlrpc extension module for PHP
1460 Summary(pl): Modu³ xmlrpc dla PHP
1462 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1463 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1466 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1469 Warning: this is an experimental module.
1471 %description xmlrpc -l pl
1472 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1474 Uwaga: to jest modu³ eksperymentalny.
1477 Summary: xsl extension module for PHP
1478 Summary(pl): Modu³ xsl dla PHP
1480 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1481 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1482 Requires: libxslt >= 1.0.18
1483 # Maybe it would be nice to add it here?
1485 # actually not true, functionality is similar, but API differs
1486 Obsoletes: php-xslt <= 3:4.3.8-1
1489 This is a dynamic shared object (DSO) for PHP that will add new XSL
1490 support (using libxslt).
1492 %description xsl -l pl
1493 Modu³ PHP dodaj±cy now± obs³ugê XSLT (przy u¿yciu libxslt).
1496 Summary: Zlib extension module for PHP
1497 Summary(pl): Modu³ zlib dla PHP
1499 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1500 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1503 This is a dynamic shared object (DSO) for PHP that will add zlib
1504 compression support to PHP.
1506 %description zlib -l pl
1507 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1511 # this patch is broken by design, breaks --enable-versioning for example
1512 # update: --enable-version is broken by itself, it disables dynamic modules.
1522 cp php.ini-dist php.ini
1524 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1540 %if %{with hardening}
1541 zcat %{SOURCE9} | patch -p1 || exit 1
1542 patch -p1 < %{PATCH30} || exit 1
1547 # conflict seems to be resolved by recode patches
1548 rm -f ext/recode/config9.m4
1551 sed -i -e 's#apr-config#apr-1-config#g' sapi/apache*/*.m4
1554 if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then
1555 echo "Set %%define php_api_version to $API and rerun."
1559 if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then
1560 echo "Set %%define zend_module_api to $API and rerun."
1564 if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then
1565 echo "Set %%define zend_extension_api to $API and rerun."
1569 CFLAGS="%{rpmcflags} -DEAPI=1 -I/usr/X11R6/include"
1571 # Apache2 CFLAGS. harmless for other SAPIs.
1572 CFLAGS="$CFLAGS $(%{_bindir}/apr-1-config --includes) $(%{_bindir}/apu-1-config --includes)"
1575 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1576 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1577 rm -f Makefile.{fcgi,cgi,cli,apxs{1,2}} # now remove Makefile copies
1583 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1597 for sapi in $sapis; do
1598 [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1604 echo --enable-discard-path --enable-force-cgi-redirect
1610 echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect
1613 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
1614 echo --with-apxs=%{apxs1} --with-apache-version=$ver
1617 ver=%(rpm -q --qf '%%{version}' apache-apxs)
1618 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
1622 --cache-file=config.cache \
1623 --with-libdir=%{_lib} \
1624 --with-config-file-path=%{_sysconfdir} \
1625 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1626 --with-exec-dir=%{_bindir} \
1627 --%{!?debug:dis}%{?debug:en}able-debug \
1628 --enable-zend-multibyte \
1629 %{?with_zts:--enable-maintainer-zts} \
1630 --enable-memory-limit \
1631 --enable-bcmath=shared \
1632 --enable-calendar=shared \
1633 --enable-ctype=shared \
1634 --enable-dba=shared \
1637 --enable-dom=shared \
1638 --enable-exif=shared \
1639 --enable-filepro=shared \
1640 --enable-ftp=shared \
1641 --enable-gd-native-ttf \
1642 --enable-gd-jus-conf \
1644 --enable-magic-quotes \
1645 --enable-mbstring=shared,all \
1647 --enable-pcntl=shared \
1648 --enable-pdo=shared \
1649 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
1650 --with-pdo-dblib=shared \
1652 %if %{with interbase} && %{without interbase_inst}
1653 --with-pdo-firebird=shared \
1655 --with-pdo-mysql=shared \
1656 %{?with_oci8:--with-pdo-oci=shared} \
1657 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1658 %{?with_pgsql:--with-pdo-pgsql=shared} \
1659 %{?with_sqlite:--with-pdo-sqlite=shared} \
1660 --enable-posix=shared \
1663 --enable-shmop=shared \
1664 --enable-simplexml \
1665 --enable-sysvmsg=shared \
1666 --enable-sysvsem=shared \
1667 --enable-sysvshm=shared \
1668 --enable-track-vars \
1669 --enable-trans-sid \
1670 --enable-safe-mode \
1671 --enable-soap=shared \
1672 --enable-sockets=shared \
1673 --enable-tokenizer=shared \
1674 --enable-ucd-snmp-hack \
1675 %{?with_wddx:--enable-wddx=shared} \
1676 --enable-xml=shared \
1677 --with-xmlreader=shared \
1679 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1680 %{?with_db3:--with-db3}%{!?with_db3:--with-db4} \
1681 --enable-dbase=shared \
1683 --with-expat-dir=shared,/usr \
1685 --without-expat-dir \
1687 %{?with_fdf:--with-fdftk=shared} \
1688 --with-iconv=shared \
1689 --with-filepro=shared \
1690 --with-freetype-dir=shared \
1691 --with-gettext=shared \
1692 --with-gd=shared,/usr \
1695 %{?with_hwapi:--with-hwapi=shared} \
1696 %{?with_imap:--with-imap=shared --with-imap-ssl} \
1697 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1698 --with-jpeg-dir=/usr \
1699 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1700 --with-mcrypt=shared \
1701 %{?with_mhash:--with-mhash=shared} \
1702 %{?with_mime_magic:--with-mime-magic=shared,/usr/share/file/magic.mime}%{!?with_mime_magic:--disable-mime-magic} \
1703 %{?with_ming:--with-ming=shared} \
1704 %{?with_mm:--with-mm} \
1705 %{?with_msession:--with-msession=shared}%{!?with_msession:--without-msession} \
1706 %{?with_mssql:--with-mssql=shared} \
1707 --with-mysql=shared,/usr \
1708 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1709 %{?with_mysqli:--with-mysqli=shared} \
1710 --with-ncurses=shared \
1711 %{?with_oci8:--with-oci8=shared} \
1712 %{?with_openssl:--with-openssl=shared} \
1714 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared,/usr} \
1715 --with-pear=%{php_pear_dir} \
1716 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1717 --with-png-dir=/usr \
1718 %{?with_pspell:--with-pspell=shared} \
1719 --with-readline=shared \
1720 %{?with_recode:--with-recode=shared} \
1722 --without-sablot-js \
1723 %{?with_snmp:--with-snmp=shared} \
1724 %{?with_sybase:--with-sybase=shared,/usr} \
1725 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1726 %{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1727 --with-t1lib=shared \
1728 %{?with_tidy:--with-tidy=shared} \
1729 --with-tiff-dir=/usr \
1730 %{?with_odbc:--with-unixODBC=shared,/usr} \
1731 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1733 --with-zlib=shared \
1734 --with-zlib-dir=shared,/usr
1736 cp -f Makefile Makefile.$sapi
1738 # left for debugging purposes
1739 cp -f main/php_config.h php_config.h.$sapi
1742 # for now session_mm doesn't work with shared session module...
1743 # --enable-session=shared
1744 # %{!?with_mm:--with-mm=shared,no}%{?with_mm:--with-mm=shared}
1746 %{__make} build-modules
1748 %{__make} libphp_common.la
1749 # fix install paths, avoid evil rpaths
1750 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" libphp_common.la
1753 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1755 s|^libdir=.*|libdir='%{_libdir}/apache1'|;
1756 s|^(relink_command=.* -rpath )[^ ]*/libs |$1%{_libdir}/apache1 |" sapi/apache/libphp5.la
1760 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1762 s|^libdir=.*|libdir='%{_libdir}/apache'|;
1763 s|^(relink_command=.* -rpath )[^ ]*/libs |$1%{_libdir}/apache |" sapi/apache2handler/libphp5.la
1768 cp -af php_config.h.fcgi main/php_config.h
1769 %{__make} sapi/cgi/php -f Makefile.fcgi
1770 cp -r sapi/cgi sapi/fcgi
1771 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1775 cp -af php_config.h.cgi main/php_config.h
1776 %{__make} sapi/cgi/php -f Makefile.cgi
1779 cp -af php_config.h.cli main/php_config.h
1780 %{__make} sapi/cli/php -f Makefile.cli
1783 rm -rf $RPM_BUILD_ROOT
1784 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi},%{_phpsharedir}} \
1785 $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
1786 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1787 $RPM_BUILD_ROOT/var/run/php \
1788 $RPM_BUILD_ROOT{/etc/apache/conf.d,/etc/httpd/httpd.conf} \
1789 $RPM_BUILD_ROOT%{_mandir}/man1
1791 # install apache1 DSO module
1793 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1/
1796 # install apache2 DSO module
1798 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache/
1801 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1803 # install the apache modules' files
1804 %{__make} install-headers install-build install-modules install-programs \
1805 INSTALL_ROOT=$RPM_BUILD_ROOT
1807 # as of 5.0.5, phpextdist isn't installed by default
1808 install scripts/dev/phpextdist $RPM_BUILD_ROOT%{_bindir}
1811 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php.cgi
1815 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php.fcgi
1819 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
1820 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
1821 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
1824 # Why make install doesn't install libphp5.so ?
1825 #install libs/libphp5.so $RPM_BUILD_ROOT%{apachelib}
1827 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1829 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1831 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1833 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1834 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1835 install %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir}
1836 install %{SOURCE1} .
1839 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
1840 install %{SOURCE4} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
1841 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1842 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
1846 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1847 install %{SOURCE4} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1848 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1849 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
1852 cp -f Zend/LICENSE{,.Zend}
1854 # Generate stub .ini files for each subpackage
1855 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1856 for so in modules/*.so; do
1857 mod=$(basename $so .so)
1858 conf="%{_sysconfdir}/conf.d/${mod}.ini"
1859 # xml needs to be loaded before wddx
1860 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_${mod}.ini"
1861 cat > $RPM_BUILD_ROOT${conf} <<EOF
1862 ; Enable ${mod} extension module
1867 # Not in all SAPI, so don't need the .ini fragments.
1868 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/{ncurses,pcntl,readline}.ini
1870 # use system automake and {lib,sh}tool
1871 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
1872 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
1873 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
1874 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
1877 rm -rf $RPM_BUILD_ROOT
1880 %triggerpostun -- %{name} < 4:5.0.4-9.11
1881 %{apxs1} -e -A -n php5 %{_pkglibdir}/libphp5.so 1>&2
1883 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
1884 /etc/apache/apache.conf
1885 %service -q apache restart
1889 if [ "$1" = "1" ]; then
1891 %service -q apache restart
1894 %service -q httpd restart
1899 if [ "$1" = "0" ]; then
1901 %service -q apache restart
1904 %service -q httpd restart
1908 %post -n apache1-mod_php
1909 if [ "$1" = "1" ]; then
1910 %service -q apache restart
1913 %postun -n apache1-mod_php
1914 if [ "$1" = "0" ]; then
1915 %service -q apache restart
1918 %post -n apache-mod_php
1919 if [ "$1" = "1" ]; then
1920 %service -q httpd restart
1923 %postun -n apache-mod_php
1924 if [ "$1" = "0" ]; then
1925 %service -q httpd restart
1928 # so tired of typing... so decided to create macros
1929 # macro called at extension post scriptlet
1930 %define extension_post \
1931 if [ "$1" = "1" ]; then \
1932 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1933 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1936 # macro called at extension postun scriptlet
1937 %define extension_postun \
1938 if [ "$1" = "0" ]; then \
1939 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1940 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1943 %post common -p /sbin/ldconfig
1944 %postun common -p /sbin/ldconfig
1947 # minimizing apache restarts logics. we restart webserver:
1949 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1950 # 2. first install of extension (post: $1 = 1)
1951 # 2. uninstall of extension (postun: $1 == 0)
1953 # the strict internal deps between extensions (and apache modules) and
1954 # common package are very important for all this to work.
1956 # restart webserver at the end of transaction
1957 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
1958 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
1961 %triggerpostun -- php < 4:5.0.4-7.1
1962 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1963 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1964 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1965 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
1968 # extra trigger, if they did not upgrade to 4:5.0.4-7 but still had old php-apache.ini
1969 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1
1970 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1971 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1972 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1973 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2152 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2153 %{_sbindir}/php-module-install install ncurses %{_sysconfdir}/php-cgi.ini
2155 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2156 %{_sbindir}/php-module-install install ncurses %{_sysconfdir}/php-cli.ini
2160 if [ "$1" = "0" ]; then
2161 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2162 %{_sbindir}/php-module-install remove ncurses %{_sysconfdir}/php-cgi.ini
2164 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2165 %{_sbindir}/php-module-install remove ncurses %{_sysconfdir}/php-cli.ini
2188 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2189 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php-cgi.ini
2191 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2192 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php-cli.ini
2196 if [ "$1" = "0" ]; then
2197 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2198 %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php-cgi.ini
2200 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2201 %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php-cli.ini
2260 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2261 %{_sbindir}/php-module-install install readline %{_sysconfdir}/php-cgi.ini
2263 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2264 %{_sbindir}/php-module-install install readline %{_sysconfdir}/php-cli.ini
2268 if [ "$1" = "0" ]; then
2269 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2270 %{_sbindir}/php-module-install remove readline %{_sysconfdir}/php-cgi.ini
2272 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2273 %{_sbindir}/php-module-install remove readline %{_sysconfdir}/php-cli.ini
2306 if [ "$1" = "0" ]; then
2307 %{_sbindir}/php-module-install remove soap %{_sysconfdir}/php.ini
2400 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2401 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
2403 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2404 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove bzip2 %{_sysconfdir}/php.ini
2406 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2407 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
2409 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2410 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ctype %{_sysconfdir}/php.ini
2412 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2413 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
2415 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2416 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
2418 %triggerun dbase -- %{name}-dbase < 4:5.0.4-9.1
2419 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
2421 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2422 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dom %{_sysconfdir}/php.ini
2424 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2425 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
2427 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2428 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove fdf %{_sysconfdir}/php.ini
2430 %triggerun filepro -- %{name}-filepro < 4:5.0.4-9.1
2431 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
2433 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2434 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
2436 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2437 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
2439 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2440 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
2442 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2443 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gmp %{_sysconfdir}/php.ini
2445 %triggerun hwapi -- %{name}-hwapi < 4:5.0.4-9.1
2446 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove hwapi %{_sysconfdir}/php.ini
2448 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2449 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove iconv %{_sysconfdir}/php.ini
2451 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2452 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
2454 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2455 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove interbase %{_sysconfdir}/php.ini
2457 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2458 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
2460 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2461 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mbstring %{_sysconfdir}/php.ini
2463 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2464 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
2466 %triggerun mhash -- %{name}-mhash < 4:5.0.4-9.1
2467 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
2469 %triggerun mime_magic -- %{name}-mime_magic < 4:5.0.4-9.1
2470 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mime_magic %{_sysconfdir}/php.ini
2472 %triggerun ming -- %{name}-ming < 4:5.0.4-9.1
2473 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
2475 %triggerun msession -- %{name}-msession < 4:5.0.4-9.1
2476 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove msession %{_sysconfdir}/php.ini
2478 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2479 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mssql %{_sysconfdir}/php.ini
2481 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2482 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
2484 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2485 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mysqli %{_sysconfdir}/php.ini
2487 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2488 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
2490 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2491 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
2493 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2494 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove openssl %{_sysconfdir}/php.ini
2496 %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1
2497 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
2499 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2500 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
2502 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2503 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
2505 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2506 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pspell %{_sysconfdir}/php.ini
2508 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2509 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
2511 %triggerun session -- %{name}-session < 4:5.0.4-9.1
2512 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
2514 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2515 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove shmop %{_sysconfdir}/php.ini
2517 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2518 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
2520 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2521 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove soap %{_sysconfdir}/php.ini
2523 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2524 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
2526 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2527 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sqlite %{_sysconfdir}/php.ini
2529 %triggerun sybase -- %{name}-sybase < 4:5.0.4-9.1
2530 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sybase %{_sysconfdir}/php.ini
2532 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2533 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sybase-ct %{_sysconfdir}/php.ini
2535 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2536 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvmsg %{_sysconfdir}/php.ini
2538 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2539 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
2541 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2542 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
2544 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2545 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove tidy %{_sysconfdir}/php.ini
2547 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2548 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
2550 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2551 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
2553 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2554 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xmlrpc %{_sysconfdir}/php.ini
2556 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2557 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xsl %{_sysconfdir}/php.ini
2559 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2560 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
2563 %files -n apache1-mod_php
2564 %defattr(644,root,root,755)
2565 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2566 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2567 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2568 /home/services/apache/icons/*
2572 %files -n apache-mod_php
2573 %defattr(644,root,root,755)
2574 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php.conf
2575 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2576 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2577 /home/services/httpd/icons/*
2582 %defattr(644,root,root,755)
2583 %doc sapi/cgi/README.FastCGI
2584 %attr(755,root,root) %{_bindir}/php.fcgi
2585 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2589 %defattr(644,root,root,755)
2590 %attr(755,root,root) %{_bindir}/php.cgi
2591 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2594 %defattr(644,root,root,755)
2595 %attr(755,root,root) %{_bindir}/php.cli
2596 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2597 %{_mandir}/man1/php.1*
2598 %{_mandir}/man1/php.cli.1*
2601 %defattr(644,root,root,755)
2602 %attr(755,root,root) %{_bindir}/php
2605 %defattr(644,root,root,755)
2607 %doc CREDITS Zend/ZEND_CHANGES
2608 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2611 %dir %{_sysconfdir}/conf.d
2612 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2613 %attr(770,root,http) %dir %verify(not group mode) /var/run/php
2614 %attr(755,root,root) %{_sbindir}/php-module-install
2615 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2616 %dir %{extensionsdir}
2617 %dir %{_phpsharedir}
2620 %defattr(644,root,root,755)
2621 %doc README.UNIX-BUILD-SYSTEM
2622 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2623 %doc CODING_STANDARDS
2624 %attr(755,root,root) %{_bindir}/phpextdist
2625 %attr(755,root,root) %{_bindir}/phpize
2626 %attr(755,root,root) %{_bindir}/php-config
2627 %attr(755,root,root) %{_libdir}/libphp_common.so
2628 %{_libdir}/libphp_common.la
2630 %{_libdir}/php/build
2634 %defattr(644,root,root,755)
2635 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2636 %attr(755,root,root) %{extensionsdir}/bcmath.so
2639 %defattr(644,root,root,755)
2640 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2641 %attr(755,root,root) %{extensionsdir}/bz2.so
2644 %defattr(644,root,root,755)
2645 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2646 %attr(755,root,root) %{extensionsdir}/calendar.so
2649 %defattr(644,root,root,755)
2650 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2651 %attr(755,root,root) %{extensionsdir}/ctype.so
2655 %defattr(644,root,root,755)
2656 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2657 %attr(755,root,root) %{extensionsdir}/curl.so
2661 %defattr(644,root,root,755)
2662 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2663 %attr(755,root,root) %{extensionsdir}/dba.so
2666 %defattr(644,root,root,755)
2667 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2668 %attr(755,root,root) %{extensionsdir}/dbase.so
2671 %defattr(644,root,root,755)
2672 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2673 %attr(755,root,root) %{extensionsdir}/dom.so
2677 %defattr(644,root,root,755)
2678 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2679 %attr(755,root,root) %{extensionsdir}/fdf.so
2683 %defattr(644,root,root,755)
2684 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2685 %attr(755,root,root) %{extensionsdir}/exif.so
2688 %defattr(644,root,root,755)
2689 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filepro.ini
2690 %attr(755,root,root) %{extensionsdir}/filepro.so
2693 %defattr(644,root,root,755)
2694 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2695 %attr(755,root,root) %{extensionsdir}/ftp.so
2698 %defattr(644,root,root,755)
2699 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2700 %attr(755,root,root) %{extensionsdir}/gd.so
2703 %defattr(644,root,root,755)
2704 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2705 %attr(755,root,root) %{extensionsdir}/gettext.so
2708 %defattr(644,root,root,755)
2709 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2710 %attr(755,root,root) %{extensionsdir}/gmp.so
2714 %defattr(644,root,root,755)
2715 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hwapi.ini
2716 %attr(755,root,root) %{extensionsdir}/hwapi.so
2720 %defattr(644,root,root,755)
2721 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2722 %attr(755,root,root) %{extensionsdir}/iconv.so
2726 %defattr(644,root,root,755)
2727 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2728 %attr(755,root,root) %{extensionsdir}/imap.so
2731 %if %{with interbase}
2733 %defattr(644,root,root,755)
2734 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2735 %attr(755,root,root) %{extensionsdir}/interbase.so
2740 %defattr(644,root,root,755)
2741 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2742 %attr(755,root,root) %{extensionsdir}/ldap.so
2746 %defattr(644,root,root,755)
2747 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2748 %attr(755,root,root) %{extensionsdir}/mbstring.so
2751 %defattr(644,root,root,755)
2752 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2753 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2757 %defattr(644,root,root,755)
2758 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2759 %attr(755,root,root) %{extensionsdir}/mhash.so
2762 %if %{with mime_magic}
2764 %defattr(644,root,root,755)
2765 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2766 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2771 %defattr(644,root,root,755)
2772 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2773 %attr(755,root,root) %{extensionsdir}/ming.so
2776 %if %{with msession}
2778 %defattr(644,root,root,755)
2779 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/msession.ini
2780 %attr(755,root,root) %{extensionsdir}/msession.so
2785 %defattr(644,root,root,755)
2786 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2787 %attr(755,root,root) %{extensionsdir}/mssql.so
2791 %defattr(644,root,root,755)
2792 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2793 %attr(755,root,root) %{extensionsdir}/mysql.so
2797 %defattr(644,root,root,755)
2798 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2799 %attr(755,root,root) %{extensionsdir}/mysqli.so
2803 %defattr(644,root,root,755)
2804 %attr(755,root,root) %{extensionsdir}/ncurses.so
2808 %defattr(644,root,root,755)
2809 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2810 %attr(755,root,root) %{extensionsdir}/oci8.so
2815 %defattr(644,root,root,755)
2816 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2817 %attr(755,root,root) %{extensionsdir}/odbc.so
2822 %defattr(644,root,root,755)
2823 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2824 %attr(755,root,root) %{extensionsdir}/openssl.so
2828 %defattr(644,root,root,755)
2829 %attr(755,root,root) %{extensionsdir}/pcntl.so
2833 %defattr(644,root,root,755)
2834 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcre.ini
2835 %attr(755,root,root) %{extensionsdir}/pcre.so
2839 %defattr(644,root,root,755)
2840 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2841 %attr(755,root,root) %{extensionsdir}/pdo.so
2843 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
2845 %defattr(644,root,root,755)
2846 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2847 %attr(755,root,root) %{extensionsdir}/pdo_dblib.so
2851 %defattr(644,root,root,755)
2852 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2853 %attr(755,root,root) %{extensionsdir}/pdo_mysql.so
2857 %defattr(644,root,root,755)
2858 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2859 %attr(755,root,root) %{extensionsdir}/pdo_oci.so
2864 %defattr(644,root,root,755)
2865 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2866 %attr(755,root,root) %{extensionsdir}/pdo_odbc.so
2871 %defattr(644,root,root,755)
2872 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2873 %attr(755,root,root) %{extensionsdir}/pdo_pgsql.so
2878 %defattr(644,root,root,755)
2879 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2880 %attr(755,root,root) %{extensionsdir}/pdo_sqlite.so
2885 %defattr(644,root,root,755)
2886 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2887 %attr(755,root,root) %{extensionsdir}/pgsql.so
2891 %defattr(644,root,root,755)
2892 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2893 %attr(755,root,root) %{extensionsdir}/posix.so
2897 %defattr(644,root,root,755)
2898 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2899 %attr(755,root,root) %{extensionsdir}/pspell.so
2903 %defattr(644,root,root,755)
2904 %attr(755,root,root) %{extensionsdir}/readline.so
2908 %defattr(644,root,root,755)
2909 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2910 %attr(755,root,root) %{extensionsdir}/recode.so
2913 # session_mm doesn't work with shared session
2915 #%defattr(644,root,root,755)
2916 #%attr(755,root,root) %{extensionsdir}/session.so
2919 # simplexml is needed by spl, and spl can't be built shared as of now (5.1.0RC3)
2921 %defattr(644,root,root,755)
2922 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2923 %attr(755,root,root) %{extensionsdir}/simplexml.so
2927 %defattr(644,root,root,755)
2928 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2929 %attr(755,root,root) %{extensionsdir}/shmop.so
2933 %defattr(644,root,root,755)
2934 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2935 %attr(755,root,root) %{extensionsdir}/snmp.so
2939 %defattr(644,root,root,755)
2940 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2941 %attr(755,root,root) %{extensionsdir}/soap.so
2944 %defattr(644,root,root,755)
2945 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2946 %attr(755,root,root) %{extensionsdir}/sockets.so
2950 %defattr(644,root,root,755)
2951 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2952 %attr(755,root,root) %{extensionsdir}/sqlite.so
2957 %defattr(644,root,root,755)
2958 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
2959 %attr(755,root,root) %{extensionsdir}/sybase.so
2962 %if %{with sybase_ct}
2964 %defattr(644,root,root,755)
2965 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2966 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2970 %defattr(644,root,root,755)
2971 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2972 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
2975 %defattr(644,root,root,755)
2976 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2977 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2980 %defattr(644,root,root,755)
2981 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2982 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2986 %defattr(644,root,root,755)
2987 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2988 %attr(755,root,root) %{extensionsdir}/tidy.so
2992 %defattr(644,root,root,755)
2993 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2994 %attr(755,root,root) %{extensionsdir}/tokenizer.so
2998 %defattr(644,root,root,755)
2999 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3000 %attr(755,root,root) %{extensionsdir}/wddx.so
3004 %defattr(644,root,root,755)
3005 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3006 %attr(755,root,root) %{extensionsdir}/xml.so
3009 %defattr(644,root,root,755)
3010 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3011 %attr(755,root,root) %{extensionsdir}/xmlreader.so
3015 %defattr(644,root,root,755)
3016 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3017 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
3021 %defattr(644,root,root,755)
3022 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3023 %attr(755,root,root) %{extensionsdir}/xsl.so
3026 %defattr(644,root,root,755)
3027 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3028 %attr(755,root,root) %{extensionsdir}/zlib.so