2 # - php-shared is SERIOUSLY broken. Try compiling with --enable-versioning.
3 # - think of including support for:
7 # These extensions BuildRequires proprietary libraries...
8 # - deal with modules removed from php and not moved to PECL
9 # (existing only in php4):
10 # db, hyperwave, java, mcal, overload, qtdom
11 # - mime_magic can't handle new "string/*" entries in magic.mime
12 # - make additional headers added by mail patch configurable
13 # - apply -hardened patch by default ?
14 # - modularize session, standard (output from pure php -m)?
15 # - having pcre module loaded cli crashes
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_with oracle # with oracle 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 msession # without msession extension module
33 %bcond_without mssql # without MS SQL extension module
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_without mysqli # with mysqli support (Requires mysql > 4.1)
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.
72 %undefine with_msession
75 Summary: The PHP HTML-embedded scripting language for use with Apache
76 Summary(fr): Le langage de script embarque-HTML PHP pour Apache
77 Summary(pl): Jêzyk skryptowy PHP - u¿ywany wraz z serwerem Apache
78 Summary(pt_BR): A linguagem de script PHP
79 Summary(ru): PHP ÷ÅÒÓÉÉ 5 - ÑÚÙË ÐÒÅÐÒÏÃÅÓÓÉÒÏ×ÁÎÉÑ HTML-ÆÁÊÌÏ×, ×ÙÐÏÌÎÑÅÍÙÊ ÎÁ ÓÅÒ×ÅÒÅ
80 Summary(uk): PHP ÷ÅÒÓ¦§ 5 - ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
83 Release: 1%{?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.0.52-2
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 # FIXME: apache2 specific Provides
377 Provides: php-common(apache-modules-api) = %{apache_modules_api}
378 Provides: php(modules_api) = %{php_api_version}
379 Provides: php(zend_module_api) = %{zend_module_api}
380 Provides: php(zend_extension_api) = %{zend_extension_api}
381 Provides: php5(debug) = %{php_debug}
382 Provides: php5(thread-safety) = %{zend_zts}
383 Obsoletes: php-session < 3:4.2.1-2
384 # for the posttrans scriptlet, conflicts because in vserver enviroinment rpm package is not installed.
385 Conflicts: rpm < 4.4.2-0.2
388 Common files needed by both apache module and CGI.
390 %description common -l pl
391 Wspólne pliki dla modu³u apacha i programu CGI.
393 %description common -l ru
394 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÏÂÝÉÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÎÙÈ ×ÁÒÉÁÎÔÏ× ÒÅÁÌÉÚÁÃÉÉ PHP
395 (ÓÁÍÏÄÏÓÔÁÔÏÞÎÏÊ É × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache).
397 %description common -l uk
398 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓЦÌØΦ ÆÁÊÌÉ ÄÌÑ Ò¦ÚÎÉÈ ×ÁÒ¦ÁÎÔ¦× ÒÅÁ̦ÚÁæ§ PHP
399 (ÓÁÍÏÄÏÓÔÁÔÎØϧ ÔÁ × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache).
402 Summary: Files for PHP modules development
403 Summary(pl): Pliki do kompilacji modu³ów PHP
404 Summary(pt_BR): Arquivos de desenvolvimento para PHP
405 Summary(ru): ðÁËÅÔ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÏÓÔÒÏÅÎÉÑ ÒÁÓÛÉÒÅÎÉÊ PHP
406 Summary(uk): ðÁËÅÔ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÏÂÕÄÏ×É ÒÏÚÛÉÒÅÎØ PHP
407 Group: Development/Languages/PHP
408 Requires: %{name}-common = %{epoch}:%{version}-%{release}
413 Obsoletes: php-pear-devel
414 Obsoletes: php4-devel
417 The php-devel package lets you compile dynamic extensions to PHP.
418 Included here is the source for the PHP extensions. Instead of
419 recompiling the whole php binary to add support for, say, oracle,
420 install this package and use the new self-contained extensions
421 support. For more information, read the file
422 SELF-CONTAINED-EXTENSIONS.
424 %description devel -l pl
425 Pliki potrzebne do kompilacji modu³ów PHP.
427 %description devel -l pt_BR
428 Este pacote contém arquivos usados no desenvolvimento de programas ou
431 %description devel -l uk
432 ðÁËÅÔ php-devel ÄÁ¤ ÍÏÖÌÉצÓÔØ ËÏÍЦÌÀ×ÁÔÉ ÄÉÎÁͦÞΦ ÒÏÚÛÉÒÅÎÎÑ PHP.
433 äÏ ÐÁËÅÔÕ ×ËÌÀÞÅÎÏ ×ÉȦÄÎÉÊ ËÏÄ ÄÌÑ ÒÏÚÛÉÒÅÎØ. úÁͦÓÔØ ÐÏ×ÔÏÒÎϧ
434 ËÏÍЦÌÑæ§ ¦ÎÁÒÎÏÇÏ ÆÁÊÌÕ php ÄÌÑ ÄÏÄÁÎÎÑ, ÎÁÐÒÉËÌÁÄ, ЦÄÔÒÉÍËÉ
435 oracle, ×ÓÔÁÎÏצÔØ ÃÅÊ ÐÁËÅÔ ÄÌÑ ËÏÍЦÌÑæ§ ÏËÒÅÍÉÈ ÒÏÚÛÉÒÅÎØ.
436 äÅÔÁÌØΦÛÁ ¦ÎÆÏÒÍÁÃ¦Ñ - × ÆÁÊ̦ SELF-CONTAINED-EXTENSIONS.
438 %description devel -l ru
439 ðÁËÅÔ php-devel ÄÁÅÔ ×ÏÚÍÏÖÎÏÓÔØ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÄÉÎÁÍÉÞÅÓËÉÅ ÒÁÓÛÉÒÅÎÉÑ
440 PHP. ðÁËÅÔ ×ËÌÀÞÁÅÔ ÉÓÈÏÄÎÙÊ ËÏÄ ÜÔÉÈ ÒÁÓÛÉÒÅÎÉÊ. ÷ÍÅÓÔÏ ÐÏ×ÔÏÒÎÏÊ
441 ËÏÍÐÉÌÑÃÉÉ ÂÉÎÁÒÎÏÇÏ ÆÁÊÌÁ php ÄÌÑ ÄÏÂÁ×ÌÅÎÉÑ, ÎÁÐÒÉÍÅÒ, ÐÏÄÄÅÒÖËÉ
442 oracle, ÕÓÔÁÎÏ×ÉÔÅ ÜÔÏÔ ÐÁËÅÔ ÄÌÑ ËÏÍÐÉÌÉÒÏ×ÁÎÉÑ ÏÔÄÅÌØÎÙÈ ÒÁÓÛÉÒÅÎÉÊ.
443 ðÏÄÒÏÂÎÏÓÔÉ - × ÆÁÊÌÅ SELF-CONTAINED-EXTENSIONS.
446 Summary: bcmath extension module for PHP
447 Summary(pl): Modu³ bcmath dla PHP
449 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
450 Requires: %{name}-common = %{epoch}:%{version}-%{release}
453 This is a dynamic shared object (DSO) for PHP that will add bc style
454 precision math functions support.
456 %description bcmath -l pl
457 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
458 matematycznych takich jak w programie bc.
461 Summary: Bzip2 extension module for PHP
462 Summary(pl): Modu³ bzip2 dla PHP
464 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
465 Requires: %{name}-common = %{epoch}:%{version}-%{release}
468 This is a dynamic shared object (DSO) for PHP that will add bzip2
469 compression support to PHP.
471 %description bzip2 -l pl
472 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji bzip2.
475 Summary: Calendar extension module for PHP
476 Summary(pl): Modu³ funkcji kalendarza dla PHP
478 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
479 Requires: %{name}-common = %{epoch}:%{version}-%{release}
481 %description calendar
482 This is a dynamic shared object (DSO) for PHP that will add calendar
485 %description calendar -l pl
486 Modu³ PHP dodaj±cy wsparcie dla kalendarza.
489 Summary: ctype extension module for PHP
490 Summary(pl): Modu³ ctype dla PHP
492 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
493 Requires: %{name}-common = %{epoch}:%{version}-%{release}
496 This is a dynamic shared object (DSO) for PHP that will add ctype
499 %description ctype -l pl
500 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
503 Summary: curl extension module for PHP
504 Summary(pl): Modu³ curl dla PHP
506 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
507 Requires: %{name}-common = %{epoch}:%{version}-%{release}
510 This is a dynamic shared object (DSO) for PHP that will add curl
513 %description curl -l pl
514 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
517 Summary: DBA extension module for PHP
518 Summary(pl): Modu³ DBA dla PHP
520 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
521 Requires: %{name}-common = %{epoch}:%{version}-%{release}
524 This is a dynamic shared object (DSO) for PHP that will add flat-file
525 databases (DBA) support.
527 %description dba -l pl
528 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych opartych na plikach
532 Summary: DBase extension module for PHP
533 Summary(pl): Modu³ DBase dla PHP
535 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
536 Requires: %{name}-common = %{epoch}:%{version}-%{release}
539 This is a dynamic shared object (DSO) for PHP that will add DBase
542 %description dbase -l pl
543 Modu³ PHP ze wsparciem dla DBase.
546 Summary: DOM extension module for PHP
547 Summary(pl): Modu³ DOM dla PHP
549 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
550 Requires: %{name}-common = %{epoch}:%{version}-%{release}
551 # it has some compatibility functions
552 Provides: php-domxml = %{epoch}:%{version}-%{release}
553 Obsoletes: php-domxml <= 3:4.3.8-1
556 This is a dynamic shared object (DSO) for PHP that will add new DOM
559 %description dom -l pl
560 Modu³ PHP dodaj±cy now± obs³ugê DOM.
563 Summary: exif extension module for PHP
564 Summary(pl): Modu³ exif dla PHP
566 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
567 Requires: %{name}-common = %{epoch}:%{version}-%{release}
570 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
571 support in image files.
573 %description exif -l pl
574 Modu³ PHP dodaj±cy obs³ugê znaczników EXIF w plikach obrazków.
577 Summary: FDF extension module for PHP
578 Summary(pl): Modu³ FDF dla PHP
580 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
581 Requires: %{name}-common = %{epoch}:%{version}-%{release}
584 This PHP module adds support for PDF Forms through Adobe FDFTK
587 %description fdf -l pl
588 Modu³ PHP dodaj±cy obs³ugê formularzy PDF poprzez bibliotekê Adobe
592 Summary: filePro extension module for PHP
593 Summary(pl): Modu³ filePro dla PHP
595 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
596 Requires: %{name}-common = %{epoch}:%{version}-%{release}
599 This is a dynamic shared object (DSO) for PHP that will add support
600 for read-only access to filePro databases.
602 %description filepro -l pl
603 Modu³ PHP dodaj±cy mo¿liwo¶æ dostêpu (tylko do odczytu) do baz danych
607 Summary: FTP extension module for PHP
608 Summary(pl): Modu³ FTP dla PHP
610 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
611 Requires: %{name}-common = %{epoch}:%{version}-%{release}
614 This is a dynamic shared object (DSO) for PHP that will add FTP
617 %description ftp -l pl
618 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
621 Summary: GD extension module for PHP
622 Summary(pl): Modu³ GD dla PHP
624 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
625 Requires: %{name}-common = %{epoch}:%{version}-%{release}
626 Requires: gd >= 2.0.28-4
627 Provides: %{name}-gd(gif) = %{epoch}:%{version}-%{release}
630 This is a dynamic shared object (DSO) for PHP that will add GD
631 support, allowing you to create and manipulate images with PHP.
633 %description gd -l pl
634 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD, pozwalaj±cej na
635 tworzenie i obróbkê obrazków.
638 Summary: gettext extension module for PHP
639 Summary(pl): Modu³ gettext dla PHP
641 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
642 Requires: %{name}-common = %{epoch}:%{version}-%{release}
645 This is a dynamic shared object (DSO) for PHP that will add gettext
648 %description gettext -l pl
649 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
652 Summary: gmp extension module for PHP
653 Summary(pl): Modu³ gmp dla PHP
655 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
656 Requires: %{name}-common = %{epoch}:%{version}-%{release}
659 This is a dynamic shared object (DSO) for PHP that will add arbitrary
660 length number support with GNU MP library.
662 %description gmp -l pl
663 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki gmp do obliczeñ na
664 liczbach o dowolnej d³ugo¶ci.
667 Summary: Hyperwave API extension module for PHP
668 Summary(pl): Modu³ API Hyperwave dla PHP
670 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
671 Requires: %{name}-common = %{epoch}:%{version}-%{release}
674 This is a dynamic shared object (DSO) for PHP that will add official
675 Hyperwave API support.
677 %description hwapi -l pl
678 Modu³ PHP dodaj±cy obs³ugê Hyperwave.
681 Summary: iconv extension module for PHP
682 Summary(pl): Modu³ iconv dla PHP
684 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
685 Requires: %{name}-common = %{epoch}:%{version}-%{release}
688 This is a dynamic shared object (DSO) for PHP that will add iconv
691 %description iconv -l pl
692 Modu³ PHP dodaj±cy obs³ugê iconv.
695 Summary: IMAP extension module for PHP
696 Summary(pl): Modu³ IMAP dla PHP
697 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
699 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
700 Requires: %{name}-common = %{epoch}:%{version}-%{release}
703 This is a dynamic shared object (DSO) for PHP that will add IMAP
706 %description imap -l pl
707 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
709 %description imap -l pt_BR
710 Um módulo para aplicações PHP que usam IMAP.
713 Summary: InterBase/Firebird database module for PHP
714 Summary(pl): Modu³ bazy danych InterBase/Firebird dla PHP
716 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
717 Requires: %{name}-common = %{epoch}:%{version}-%{release}
718 %{?with_interbase_inst:Autoreq: false}
720 %description interbase
721 This is a dynamic shared object (DSO) for PHP that will add InterBase
722 and Firebird database support.
724 %description interbase -l pl
725 Modu³ PHP umo¿liwiaj±cy dostêp do baz danych InterBase i Firebird.
728 Summary: LDAP extension module for PHP
729 Summary(pl): Modu³ LDAP dla PHP
730 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
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 LDAP
739 %description ldap -l pl
740 Modu³ PHP dodaj±cy obs³ugê LDAP.
742 %description ldap -l pt_BR
743 Um módulo para aplicações PHP que usam LDAP.
746 Summary: mbstring extension module for PHP
747 Summary(pl): Modu³ mbstring dla PHP
749 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
750 Requires: %{name}-common = %{epoch}:%{version}-%{release}
752 %description mbstring
753 This is a dynamic shared object (DSO) for PHP that will add multibyte
756 %description mbstring -l pl
757 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
760 Summary: mcrypt extension module for PHP
761 Summary(pl): Modu³ mcrypt dla PHP
763 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
764 Requires: %{name}-common = %{epoch}:%{version}-%{release}
767 This is a dynamic shared object (DSO) for PHP that will add mcrypt
770 %description mcrypt -l pl
771 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
774 Summary: mhash extension module for PHP
775 Summary(pl): Modu³ mhash dla PHP
777 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
778 Requires: %{name}-common = %{epoch}:%{version}-%{release}
781 This is a dynamic shared object (DSO) for PHP that will add mhash
784 %description mhash -l pl
785 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
788 Summary: mime_magic extension module for PHP
789 Summary(pl): Modu³ mime_magic dla PHP
791 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
792 Requires: %{name}-common = %{epoch}:%{version}-%{release}
793 Requires: /usr/share/file/magic.mime
795 %description mime_magic
796 This PHP module adds support for MIME type lookup via file magic
797 numbers using magic.mime database.
799 %description mime_magic -l pl
800 Modu³ PHP dodaj±cy obs³ugê wyszukiwania typów MIME wed³ug magicznych
801 znaczników plików z u¿yciem bazy danych magic.mime.
804 Summary: ming extension module for PHP
805 Summary(pl): Modu³ ming dla PHP
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 ming
812 (Flash - .swf files) support.
814 %description ming -l pl
815 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
819 Summary: msession extension module for PHP
820 Summary(pl): Modu³ msession dla PHP
822 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
823 Requires: %{name}-common = %{epoch}:%{version}-%{release}
825 %description msession
826 This is a dynamic shared object (DSO) for PHP that will allow you to
827 use msession. msession is a high speed session daemon which can run
828 either locally or remotely. It is designed to provide consistent
829 session management for a PHP web farm.
831 %description msession -l pl
832 Modu³ PHP dodaj±cy umo¿liwiaj±cy korzystanie z demona msession. Jest
833 to demon szybkiej obs³ugi sesji, który mo¿e dzia³aæ lokalnie lub na
834 innej maszynie. S³u¿y do zapewniania spójnej obs³ugi sesji dla farmy
838 Summary: MS SQL extension module for PHP
839 Summary(pl): Modu³ MS SQL dla PHP
841 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
842 Requires: %{name}-common = %{epoch}:%{version}-%{release}
845 This is a dynamic shared object (DSO) for PHP that will add MS SQL
846 databases support through FreeTDS library.
848 %description mssql -l pl
849 Modu³ PHP dodaj±cy obs³ugê baz danych MS SQL poprzez bibliotekê
853 Summary: MySQL database module for PHP
854 Summary(pl): Modu³ bazy danych MySQL dla PHP
855 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
857 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
858 Requires: %{name}-common = %{epoch}:%{version}-%{release}
861 This is a dynamic shared object (DSO) for PHP that will add MySQL
864 %description mysql -l pl
865 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
867 %description mysql -l pt_BR
868 Um módulo para aplicações PHP que usam bancos de dados MySQL.
871 Summary: MySQLi module for PHP
873 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
874 Requires: %{name}-common = %{epoch}:%{version}-%{release}
875 Requires: mysql-libs >= 4.1.0
878 This is a dynamic shared object (DSO) for PHP that will add MySQLi
879 (Improved MySQL) support. The difference between it and mysql module
880 is that it provides access to functionality of MySQL 4.1 and above.
882 %description mysqli -l pl
883 Modu³ PHP umo¿liwiaj±cy udoskonalony dostêp do bazy danych MySQL.
884 Ró¿nic± miêdzy nim a modu³em mysql jest dostêp do funkcjonalno¶ci
888 Summary: ncurses module for PHP
889 Summary(pl): Modu³ ncurses dla PHP
891 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
892 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
895 This PHP module adds support for ncurses functions (only for cli and
898 %description ncurses -l pl
899 Modu³ PHP dodaj±cy obs³ugê funkcji ncurses (tylko do SAPI cli i cgi).
902 Summary: Oracle 8 database module for PHP
903 Summary(pl): Modu³ bazy danych Oracle 8 dla PHP
905 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
906 Requires: %{name}-common = %{epoch}:%{version}-%{release}
910 This is a dynamic shared object (DSO) for PHP that will add Oracle 7
911 and Oracle 8 database support through Oracle8 Call-Interface (OCI8).
913 %description oci8 -l pl
914 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7 i Oracle 8
915 poprzez interfejs Oracle8 Call-Interface (OCI8).
918 Summary: ODBC extension module for PHP
919 Summary(pl): Modu³ ODBC dla PHP
920 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
922 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
923 Requires: %{name}-common = %{epoch}:%{version}-%{release}
924 Requires: unixODBC >= 2.1.1-3
927 This is a dynamic shared object (DSO) for PHP that will add ODBC
930 %description odbc -l pl
931 Modu³ PHP ze wsparciem dla ODBC.
933 %description odbc -l pt_BR
934 Um módulo para aplicações PHP que usam ODBC.
937 Summary: OpenSSL extension module for PHP
938 Summary(pl): Modu³ OpenSSL dla PHP
940 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
941 Requires: %{name}-common = %{epoch}:%{version}-%{release}
944 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
947 Warning: this is an experimental module.
949 %description openssl -l pl
950 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki OpenSSL.
952 Uwaga: to jest modu³ eksperymentalny.
955 Summary: Oracle 7 database module for PHP
956 Summary(pl): Modu³ bazy danych Oracle 7 dla PHP
958 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
959 Requires: %{name}-common = %{epoch}:%{version}-%{release}
963 This is a dynamic shared object (DSO) for PHP that will add Oracle 7
966 %description oracle -l pl
967 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7.
970 Summary: Process Control extension module for PHP
971 Summary(pl): Modu³ Process Control dla PHP
973 Requires(post,preun): %{name}-program = %{epoch}:%{version}-%{release}
974 Requires: %{name}-program = %{epoch}:%{version}-%{release}
977 This is a dynamic shared object (DSO) for PHP that will add process
978 spawning and control support. It supports functions like fork(),
979 waitpid(), signal() etc.
981 Warning: this is an experimental module. Also, don't use it in
982 webserver environment!
984 %description pcntl -l pl
985 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
986 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
988 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
989 u¿ywania z serwerem WWW - nie próbuj tego!
992 Summary: PCRE extension module for PHP
993 Summary(pl): Modu³ PCRE dla PHP
995 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
996 Requires: %{name}-common = %{epoch}:%{version}-%{release}
999 This is a dynamic shared object (DSO) for PHP that will add Perl
1000 Compatible Regular Expression support.
1002 %description pcre -l pl
1003 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
1004 (Perl Compatible Regular Expressions)
1007 Summary: PHP Data Objects (PDO)
1009 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1010 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1013 This is a dynamic shared object (DSO) for PHP that will add PDO
1017 Summary: PHP Data Objects (PDO) FreeTDS support
1018 Summary(pl): Modu³ PHP Data Objects (PDO) z wsparciem do FreeTDS
1020 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1021 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1022 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1024 %description pdo-dblib
1025 This is a dynamic shared object (DSO) for PHP that will add PDO
1028 %description pdo-dblib -l pl
1029 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych FreeTDS za po¶rednictwem
1033 Summary: PHP Data Objects (PDO) MySQL support
1034 Summary(pl): Modu³ PHP Data Objects (PDO) z wsparciem do MySQL
1036 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1037 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1038 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1040 %description pdo-mysql
1041 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1044 %description pdo-mysql -l pl
1045 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych MySQL za po¶rednictwem
1049 Summary: PHP Data Objects (PDO) ODBC support
1050 Summary(pl): Modu³ PHP Data Objects (PDO) z wsparciem do ODBC
1052 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1053 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1054 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1056 %description pdo-odbc
1057 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1060 %description pdo-odbc -l pl
1061 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych ODBC za po¶rednictwem
1065 Summary: PHP Data Objects (PDO) PostgreSQL support
1066 Summary(pl): Modu³ PHP Data Objects (PDO) z wsparciem do PostgreSQL
1068 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1069 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1070 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1072 %description pdo-pgsql
1073 This is a dynamic shared object (DSO) for PHP that will add PDO
1076 %description pdo-pgsql -l pl
1077 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych PostgreSQL za
1078 po¶rednictwem interfejsu PDO.
1081 Summary: PHP Data Objects (PDO) SQLite support
1082 Summary(pl): Modu³ PHP Data Objects (PDO) z wsparciem do SQLite
1084 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1085 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1086 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1088 %description pdo-sqlite
1089 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1092 %description pdo-sqlite -l pl
1093 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych SQLite za po¶rednictwem
1097 Summary: PostgreSQL database module for PHP
1098 Summary(pl): Modu³ bazy danych PostgreSQL dla PHP
1100 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1101 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1104 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1107 %description pgsql -l pl
1108 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
1110 %description pgsql -l pt_BR
1111 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1114 Summary: POSIX extension module for PHP
1115 Summary(pl): Modu³ POSIX dla PHP
1117 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1118 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1121 This is a dynamic shared object (DSO) for PHP that will add POSIX
1122 functions support to PHP.
1124 %description posix -l pl
1125 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
1128 Summary: pspell extension module for PHP
1129 Summary(pl): Modu³ pspell dla PHP
1131 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1132 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1135 This is a dynamic shared object (DSO) for PHP that will add pspell
1136 support to PHP. It allows to check the spelling of a word and offer
1139 %description pspell -l pl
1140 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
1141 sprawdzanie pisowni s³owa i sugerowanie poprawek.
1144 Summary: readline extension module for PHP
1145 Summary(pl): Modu³ readline dla PHP
1147 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
1148 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1150 %description readline
1151 This PHP module adds support for readline functions (only for cli and
1154 %description readline -l pl
1155 Modu³ PHP dodaj±cy obs³ugê funkcji readline (tylko do SAPI cli i cgi).
1158 Summary: recode extension module for PHP
1159 Summary(pl): Modu³ recode dla PHP
1161 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1162 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1163 Requires: recode >= 3.5d-3
1166 This is a dynamic shared object (DSO) for PHP that will add recode
1169 %description recode -l pl
1170 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1174 Summary: session extension module for PHP
1175 Summary(pl): Modu³ session dla PHP
1177 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1178 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1180 %description session
1181 This is a dynamic shared object (DSO) for PHP that will add session
1184 %description session -l pl
1185 Modu³ PHP dodaj±cy obs³ugê sesji.
1188 Summary: Shared Memory Operations extension module for PHP
1189 Summary(pl): Modu³ shmop dla PHP
1191 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1192 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1195 This is a dynamic shared object (DSO) for PHP that will add Shared
1196 Memory Operations support.
1198 Warning: this is an experimental module.
1200 %description shmop -l pl
1201 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1203 Uwaga: to jest modu³ eksperymentalny.
1206 Summary: Simple XML extension module for PHP
1208 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1209 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1211 %description simplexml
1212 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1216 Summary: SNMP extension module for PHP
1217 Summary(pl): Modu³ SNMP dla PHP
1219 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1220 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1221 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1224 This is a dynamic shared object (DSO) for PHP that will add SNMP
1227 %description snmp -l pl
1228 Modu³ PHP dodaj±cy obs³ugê SNMP.
1231 Summary: soap extension module for PHP
1232 Summary(pl): Modu³ soap dla PHP
1234 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1235 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1238 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1241 %description soap -l pl
1242 Modu³ PHP dodaj±cy obs³ugê SOAP/WSDL.
1245 Summary: sockets extension module for PHP
1246 Summary(pl): Modu³ socket dla PHP
1248 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1249 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1251 %description sockets
1252 This is a dynamic shared object (DSO) for PHP that will add sockets
1255 Warning: this is an experimental module.
1257 %description sockets -l pl
1258 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1260 Uwaga: to jest modu³ eksperymentalny.
1263 Summary: SQLite extension module for PHP
1264 Summary(pl): Modu³ SQLite dla PHP
1266 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1267 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1270 SQLite is a C library that implements an embeddable SQL database
1271 engine. Programs that link with the SQLite library can have SQL
1272 database access without running a separate RDBMS process.
1274 SQLite is not a client library used to connect to a big database
1275 server. SQLite is the server. The SQLite library reads and writes
1276 directly to and from the database files on disk.
1278 %description sqlite -l pl
1279 SQLite jest napisan± w C bibliotek± implementuj±c± osadzalny silnik
1280 bazodanowy SQL. Program linkuj±cy siê z bibliotek± SQLite mo¿e mieæ
1281 dostêp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1284 SQLite to nie klient baz danych - biblioteka nie ³±czy siê z serwerami
1285 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1286 zapisuje dane bezpo¶rednio z/do plików baz danych znajduj±cych siê na
1290 Summary: Sybase DB extension module for PHP
1291 Summary(pl): Modu³ Sybase DB dla PHP
1293 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1294 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1295 Obsoletes: php-sybase-ct
1298 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1299 MS SQL databases support through SYBDB library. Currently Sybase
1300 module is not maintained. Using Sybase-CT module is recommended
1303 %description sybase -l pl
1304 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1305 bibliotekê SYBDB. W chwili obecnej modu³ Sybase nie jest wspierany.
1306 Zaleca siê u¿ywanie modu³u Sybase-CT.
1309 Summary: Sybase-CT extension module for PHP
1310 Summary(pl): Modu³ Sybase-CT dla PHP
1312 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1313 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1314 Obsoletes: php-sybase
1316 %description sybase-ct
1317 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1318 MS SQL databases support through CT-lib.
1320 %description sybase-ct -l pl
1321 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1325 Summary: SysV msg extension module for PHP
1326 Summary(pl): Modu³ SysV msg dla PHP
1328 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1329 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1331 %description sysvmsg
1332 This is a dynamic shared object (DSO) for PHP that will add SysV
1333 message queues support.
1335 %description sysvmsg -l pl
1336 Modu³ PHP umo¿liwiaj±cy korzystanie z kolejek komunikatów SysV.
1339 Summary: SysV sem extension module for PHP
1340 Summary(pl): Modu³ SysV sem dla PHP
1342 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1343 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1345 %description sysvsem
1346 This is a dynamic shared object (DSO) for PHP that will add SysV
1349 %description sysvsem -l pl
1350 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1353 Summary: SysV shm extension module for PHP
1354 Summary(pl): Modu³ SysV shm dla PHP
1356 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1357 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1359 %description sysvshm
1360 This is a dynamic shared object (DSO) for PHP that will add SysV
1361 Shared Memory support.
1363 %description sysvshm -l pl
1364 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1367 Summary: Tidy extension module for PHP
1368 Summary(pl): Modu³ Tidy dla PHP
1370 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1371 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1375 This is a dynamic shared object (DSO) for PHP that will add Tidy
1378 %description tidy -l pl
1379 Modu³ PHP umo¿liwiaj±cy korzystanie z tidy.
1382 Summary: tokenizer extension module for PHP
1383 Summary(pl): Modu³ rozszerzenia tokenizer dla PHP
1385 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1386 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1388 %description tokenizer
1389 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1392 %description tokenizer -l pl
1393 Modu³ PHP dodaj±cy obs³ugê tokenizera do PHP.
1396 Summary: wddx extension module for PHP
1397 Summary(pl): Modu³ wddx dla PHP
1399 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1400 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1401 Requires: %{name}-session = %{epoch}:%{version}-%{release}
1402 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1405 This is a dynamic shared object (DSO) for PHP that will add wddx
1408 %description wddx -l pl
1409 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1412 Summary: XML extension module for PHP
1413 Summary(pl): Modu³ XML dla PHP
1415 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1416 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1419 This is a dynamic shared object (DSO) for PHP that will add XML
1420 support. This extension lets you create XML parsers and then define
1421 handlers for different XML events.
1423 %description xml -l pl
1424 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1425 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1426 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1429 Summary: XML Reader extension module for PHP
1430 Summary(pl): Modu³ XML Reader dla PHP
1432 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1433 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1435 %description xmlreader
1436 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1437 support. The XMLReader extension is an XML Pull parser. The reader
1438 acts as a cursor going forward on the document stream and stopping at
1439 each node on the way.
1441 %description xmlreader -l pl
1442 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML w trybie Pull. Czytnik
1443 dzia³a jako kursor przechodz±cy przez strumieñ dokumentu i
1444 zatrzymuj±cy siê naka¿dym wê¼le po drodze.
1447 Summary: xmlrpc extension module for PHP
1448 Summary(pl): Modu³ xmlrpc dla PHP
1450 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1451 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1454 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1457 Warning: this is an experimental module.
1459 %description xmlrpc -l pl
1460 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1462 Uwaga: to jest modu³ eksperymentalny.
1465 Summary: xsl extension module for PHP
1466 Summary(pl): Modu³ xsl dla PHP
1468 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1469 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1470 Requires: libxslt >= 1.0.18
1471 # Maybe it would be nice to add it here?
1473 # actually not true, functionality is similar, but API differs
1474 Obsoletes: php-xslt <= 3:4.3.8-1
1477 This is a dynamic shared object (DSO) for PHP that will add new XSL
1478 support (using libxslt).
1480 %description xsl -l pl
1481 Modu³ PHP dodaj±cy now± obs³ugê XSLT (przy u¿yciu libxslt).
1484 Summary: Zlib extension module for PHP
1485 Summary(pl): Modu³ zlib dla PHP
1487 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1488 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1491 This is a dynamic shared object (DSO) for PHP that will add zlib
1492 compression support to PHP.
1494 %description zlib -l pl
1495 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1499 # this patch is broken by design, breaks --enable-versioning for example
1500 # update: --enable-version is broken by itself, it disables dynamic modules.
1510 cp php.ini-dist php.ini
1512 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1528 %if %{with hardening}
1529 zcat %{SOURCE9} | patch -p1 || exit 1
1530 patch -p1 < %{PATCH30} || exit 1
1535 # conflict seems to be resolved by recode patches
1536 rm -f ext/recode/config9.m4
1539 sed -i -e 's#apr-config#apr-1-config#g' sapi/apache*/*.m4
1542 if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then
1543 echo "Set %%define php_api_version to $API and rerun."
1547 if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then
1548 echo "Set %%define zend_module_api to $API and rerun."
1552 if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then
1553 echo "Set %%define zend_extension_api to $API and rerun."
1557 CFLAGS="%{rpmcflags} -DEAPI=1 -I/usr/X11R6/include"
1559 # Apache2 CFLAGS. harmless for other SAPIs.
1560 CFLAGS="$CFLAGS $(%{_bindir}/apr-1-config --includes) $(%{_bindir}/apu-1-config --includes)"
1563 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1564 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1565 rm -f Makefile.{fcgi,cgi,cli,apxs{1,2}} # now remove Makefile copies
1571 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1585 for sapi in $sapis; do
1586 [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1592 echo --enable-discard-path --enable-force-cgi-redirect
1598 echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect
1601 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
1602 echo --with-apxs=%{apxs1} --with-apache-version=$ver
1605 ver=%(rpm -q --qf '%%{version}' apache-apxs)
1606 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
1610 --cache-file=config.cache \
1611 --with-libdir=%{_lib} \
1612 --with-config-file-path=%{_sysconfdir} \
1613 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1614 --with-exec-dir=%{_bindir} \
1615 --%{!?debug:dis}%{?debug:en}able-debug \
1616 --enable-zend-multibyte \
1617 %{?with_zts:--enable-maintainer-zts} \
1618 --enable-memory-limit \
1619 --enable-bcmath=shared \
1620 --enable-calendar=shared \
1621 --enable-ctype=shared \
1622 --enable-dba=shared \
1625 --enable-dom=shared \
1626 --enable-exif=shared \
1627 --enable-filepro=shared \
1628 --enable-ftp=shared \
1629 --enable-gd-native-ttf \
1630 --enable-gd-jus-conf \
1632 --enable-magic-quotes \
1633 --enable-mbstring=shared,all \
1635 --enable-pcntl=shared \
1636 --enable-pdo=shared \
1637 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
1638 --with-pdo-dblib=shared \
1640 %if %{with interbase} && %{without interbase_inst}
1641 --with-pdo-firebird=shared \
1643 --with-pdo-mysql=shared \
1644 %{?with_oracle:--with-pdo-oci=shared} \
1645 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1646 %{?with_pgsql:--with-pdo-pgsql=shared} \
1647 %{?with_sqlite:--with-pdo-sqlite=shared} \
1648 --enable-posix=shared \
1651 --enable-shmop=shared \
1652 --enable-simplexml \
1653 --enable-sysvmsg=shared \
1654 --enable-sysvsem=shared \
1655 --enable-sysvshm=shared \
1656 --enable-track-vars \
1657 --enable-trans-sid \
1658 --enable-safe-mode \
1659 --enable-soap=shared \
1660 --enable-sockets=shared \
1661 --enable-tokenizer=shared \
1662 --enable-ucd-snmp-hack \
1663 %{?with_wddx:--enable-wddx=shared} \
1664 --enable-xml=shared \
1665 --with-xmlreader=shared \
1667 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1668 %{?with_db3:--with-db3}%{!?with_db3:--with-db4} \
1669 --enable-dbase=shared \
1671 --with-expat-dir=shared,/usr \
1673 --without-expat-dir \
1675 %{?with_fdf:--with-fdftk=shared} \
1676 --with-iconv=shared \
1677 --with-filepro=shared \
1678 --with-freetype-dir=shared \
1679 --with-gettext=shared \
1680 --with-gd=shared,/usr \
1683 %{?with_hwapi:--with-hwapi=shared} \
1684 %{?with_imap:--with-imap=shared --with-imap-ssl} \
1685 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1686 --with-jpeg-dir=/usr \
1687 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1688 --with-mcrypt=shared \
1689 %{?with_mhash:--with-mhash=shared} \
1690 %{?with_mime_magic:--with-mime-magic=shared,/usr/share/file/magic.mime}%{!?with_mime_magic:--disable-mime-magic} \
1691 %{?with_ming:--with-ming=shared} \
1692 %{?with_mm:--with-mm} \
1693 %{?with_msession:--with-msession=shared}%{!?with_msession:--without-msession} \
1694 %{?with_mssql:--with-mssql=shared} \
1695 --with-mysql=shared,/usr \
1696 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1697 %{?with_mysqli:--with-mysqli=shared} \
1698 --with-ncurses=shared \
1699 %{?with_oci8:--with-oci8=shared} \
1700 %{?with_openssl:--with-openssl=shared} \
1702 %{?with_oracle:--with-oracle=shared} \
1703 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared,/usr} \
1704 --with-pear=%{php_pear_dir} \
1705 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1706 --with-png-dir=/usr \
1707 %{?with_pspell:--with-pspell=shared} \
1708 --with-readline=shared \
1709 %{?with_recode:--with-recode=shared} \
1711 --without-sablot-js \
1712 %{?with_snmp:--with-snmp=shared} \
1713 %{?with_sybase:--with-sybase=shared,/usr} \
1714 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1715 %{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1716 --with-t1lib=shared \
1717 %{?with_tidy:--with-tidy=shared} \
1718 --with-tiff-dir=/usr \
1719 %{?with_odbc:--with-unixODBC=shared,/usr} \
1720 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1722 --with-zlib=shared \
1723 --with-zlib-dir=shared,/usr
1725 cp -f Makefile Makefile.$sapi
1727 # left for debugging purposes
1728 cp -f main/php_config.h php_config.h.$sapi
1731 # for now session_mm doesn't work with shared session module...
1732 # --enable-session=shared
1733 # %{!?with_mm:--with-mm=shared,no}%{?with_mm:--with-mm=shared}
1735 %{__make} build-modules
1737 %{__make} libphp_common.la
1738 # fix install paths, avoid evil rpaths
1739 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" libphp_common.la
1742 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1744 s|^libdir=.*|libdir='%{_libdir}/apache1'|;
1745 s|^(relink_command=.* -rpath )[^ ]*/libs |$1%{_libdir}/apache1 |" sapi/apache/libphp5.la
1749 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1751 s|^libdir=.*|libdir='%{_libdir}/apache'|;
1752 s|^(relink_command=.* -rpath )[^ ]*/libs |$1%{_libdir}/apache |" sapi/apache2handler/libphp5.la
1757 cp -af php_config.h.fcgi main/php_config.h
1758 %{__make} sapi/cgi/php -f Makefile.fcgi
1759 cp -r sapi/cgi sapi/fcgi
1760 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1764 cp -af php_config.h.cgi main/php_config.h
1765 %{__make} sapi/cgi/php -f Makefile.cgi
1768 cp -af php_config.h.cli main/php_config.h
1769 %{__make} sapi/cli/php -f Makefile.cli
1772 rm -rf $RPM_BUILD_ROOT
1773 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi},%{_phpsharedir}} \
1774 $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
1775 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1776 $RPM_BUILD_ROOT/var/run/php \
1777 $RPM_BUILD_ROOT{/etc/apache/conf.d,/etc/httpd/httpd.conf} \
1778 $RPM_BUILD_ROOT%{_mandir}/man1
1780 # install apache1 DSO module
1782 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1/
1785 # install apache2 DSO module
1787 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache/
1790 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1792 # install the apache modules' files
1793 %{__make} install-headers install-build install-modules install-programs \
1794 INSTALL_ROOT=$RPM_BUILD_ROOT
1796 # as of 5.0.5, phpextdist isn't installed by default
1797 install scripts/dev/phpextdist $RPM_BUILD_ROOT%{_bindir}
1800 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php.cgi
1804 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php.fcgi
1808 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
1809 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
1810 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
1813 # Why make install doesn't install libphp5.so ?
1814 #install libs/libphp5.so $RPM_BUILD_ROOT%{apachelib}
1816 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1818 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1820 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1822 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1823 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1824 install %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir}
1825 install %{SOURCE1} .
1828 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
1829 install %{SOURCE4} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
1830 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1831 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
1835 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1836 install %{SOURCE4} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1837 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1838 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
1841 cp -f Zend/LICENSE{,.Zend}
1843 # Generate stub .ini files for each subpackage
1844 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1845 for so in modules/*.so; do
1846 mod=$(basename $so .so)
1847 conf="%{_sysconfdir}/conf.d/${mod}.ini"
1848 # xml needs to be loaded before wddx
1849 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_${mod}.ini"
1850 cat > $RPM_BUILD_ROOT${conf} <<EOF
1851 ; Enable ${mod} extension module
1856 # Not in all SAPI, so don't need the .ini fragments.
1857 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/{ncurses,pcntl,readline}.ini
1859 # use system automake and {lib,sh}tool
1860 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
1861 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
1862 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
1863 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
1866 rm -rf $RPM_BUILD_ROOT
1869 %triggerpostun -- %{name} < 4:5.0.4-9.11
1870 %{apxs1} -e -A -n php5 %{_pkglibdir}/libphp5.so 1>&2
1872 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
1873 /etc/apache/apache.conf
1874 %service -q apache restart
1878 if [ "$1" = "1" ]; then
1880 %service -q apache restart
1883 %service -q httpd restart
1888 if [ "$1" = "0" ]; then
1890 %service -q apache restart
1893 %service -q httpd restart
1897 %post -n apache1-mod_php
1898 if [ "$1" = "1" ]; then
1899 %service -q apache restart
1902 %postun -n apache1-mod_php
1903 if [ "$1" = "0" ]; then
1904 %service -q apache restart
1907 %post -n apache-mod_php
1908 if [ "$1" = "1" ]; then
1909 %service -q httpd restart
1912 %postun -n apache-mod_php
1913 if [ "$1" = "0" ]; then
1914 %service -q httpd restart
1917 # so tired of typing... so decided to create macros
1918 # macro called at extension post scriptlet
1919 %define extension_post \
1920 if [ "$1" = "1" ]; then \
1921 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1922 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1925 # macro called at extension postun scriptlet
1926 %define extension_postun \
1927 if [ "$1" = "0" ]; then \
1928 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1929 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1932 %post common -p /sbin/ldconfig
1933 %postun common -p /sbin/ldconfig
1936 # minimizing apache restarts logics. we restart webserver:
1938 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1939 # 2. first install of extension (post: $1 = 1)
1940 # 2. uninstall of extension (postun: $1 == 0)
1942 # the strict internal deps between extensions (and apache modules) and
1943 # common package are very important for all this to work.
1945 # restart webserver at the end of transaction
1946 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
1947 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
1950 %triggerpostun -- php < 4:5.0.4-7.1
1951 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1952 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1953 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1954 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
1957 # extra trigger, if they did not upgrade to 4:5.0.4-7 but still had old php-apache.ini
1958 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1
1959 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1960 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1961 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1962 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2141 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2142 %{_sbindir}/php-module-install install ncurses %{_sysconfdir}/php-cgi.ini
2144 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2145 %{_sbindir}/php-module-install install ncurses %{_sysconfdir}/php-cli.ini
2149 if [ "$1" = "0" ]; then
2150 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2151 %{_sbindir}/php-module-install remove ncurses %{_sysconfdir}/php-cgi.ini
2153 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2154 %{_sbindir}/php-module-install remove ncurses %{_sysconfdir}/php-cli.ini
2183 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2184 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php-cgi.ini
2186 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2187 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php-cli.ini
2191 if [ "$1" = "0" ]; then
2192 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2193 %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php-cgi.ini
2195 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2196 %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php-cli.ini
2255 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2256 %{_sbindir}/php-module-install install readline %{_sysconfdir}/php-cgi.ini
2258 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2259 %{_sbindir}/php-module-install install readline %{_sysconfdir}/php-cli.ini
2263 if [ "$1" = "0" ]; then
2264 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2265 %{_sbindir}/php-module-install remove readline %{_sysconfdir}/php-cgi.ini
2267 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2268 %{_sbindir}/php-module-install remove readline %{_sysconfdir}/php-cli.ini
2301 if [ "$1" = "0" ]; then
2302 %{_sbindir}/php-module-install remove soap %{_sysconfdir}/php.ini
2395 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2396 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
2398 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2399 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove bzip2 %{_sysconfdir}/php.ini
2401 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2402 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
2404 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2405 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ctype %{_sysconfdir}/php.ini
2407 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2408 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
2410 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2411 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
2413 %triggerun dbase -- %{name}-dbase < 4:5.0.4-9.1
2414 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
2416 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2417 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dom %{_sysconfdir}/php.ini
2419 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2420 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
2422 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2423 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove fdf %{_sysconfdir}/php.ini
2425 %triggerun filepro -- %{name}-filepro < 4:5.0.4-9.1
2426 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
2428 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2429 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
2431 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2432 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
2434 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2435 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
2437 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2438 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gmp %{_sysconfdir}/php.ini
2440 %triggerun hwapi -- %{name}-hwapi < 4:5.0.4-9.1
2441 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove hwapi %{_sysconfdir}/php.ini
2443 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2444 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove iconv %{_sysconfdir}/php.ini
2446 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2447 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
2449 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2450 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove interbase %{_sysconfdir}/php.ini
2452 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2453 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
2455 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2456 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mbstring %{_sysconfdir}/php.ini
2458 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2459 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
2461 %triggerun mhash -- %{name}-mhash < 4:5.0.4-9.1
2462 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
2464 %triggerun mime_magic -- %{name}-mime_magic < 4:5.0.4-9.1
2465 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mime_magic %{_sysconfdir}/php.ini
2467 %triggerun ming -- %{name}-ming < 4:5.0.4-9.1
2468 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
2470 %triggerun msession -- %{name}-msession < 4:5.0.4-9.1
2471 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove msession %{_sysconfdir}/php.ini
2473 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2474 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mssql %{_sysconfdir}/php.ini
2476 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2477 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
2479 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2480 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mysqli %{_sysconfdir}/php.ini
2482 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2483 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
2485 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2486 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
2488 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2489 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove openssl %{_sysconfdir}/php.ini
2491 %triggerun oracle -- %{name}-oracle < 4:5.0.4-9.1
2492 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
2494 %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1
2495 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
2497 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2498 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
2500 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2501 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
2503 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2504 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pspell %{_sysconfdir}/php.ini
2506 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2507 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
2509 %triggerun session -- %{name}-session < 4:5.0.4-9.1
2510 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
2512 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2513 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove shmop %{_sysconfdir}/php.ini
2515 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2516 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
2518 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2519 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove soap %{_sysconfdir}/php.ini
2521 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2522 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
2524 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2525 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sqlite %{_sysconfdir}/php.ini
2527 %triggerun sybase -- %{name}-sybase < 4:5.0.4-9.1
2528 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sybase %{_sysconfdir}/php.ini
2530 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2531 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sybase-ct %{_sysconfdir}/php.ini
2533 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2534 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvmsg %{_sysconfdir}/php.ini
2536 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2537 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
2539 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2540 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
2542 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2543 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove tidy %{_sysconfdir}/php.ini
2545 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2546 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
2548 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2549 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
2551 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2552 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xmlrpc %{_sysconfdir}/php.ini
2554 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2555 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xsl %{_sysconfdir}/php.ini
2557 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2558 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
2561 %files -n apache1-mod_php
2562 %defattr(644,root,root,755)
2563 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2564 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2565 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2566 /home/services/apache/icons/*
2570 %files -n apache-mod_php
2571 %defattr(644,root,root,755)
2572 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php.conf
2573 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2574 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2575 /home/services/httpd/icons/*
2580 %defattr(644,root,root,755)
2581 %doc sapi/cgi/README.FastCGI
2582 %attr(755,root,root) %{_bindir}/php.fcgi
2583 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2587 %defattr(644,root,root,755)
2588 %attr(755,root,root) %{_bindir}/php.cgi
2589 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2592 %defattr(644,root,root,755)
2593 %attr(755,root,root) %{_bindir}/php.cli
2594 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2595 %{_mandir}/man1/php.1*
2596 %{_mandir}/man1/php.cli.1*
2599 %defattr(644,root,root,755)
2600 %attr(755,root,root) %{_bindir}/php
2603 %defattr(644,root,root,755)
2605 %doc CREDITS Zend/ZEND_CHANGES
2606 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2609 %dir %{_sysconfdir}/conf.d
2610 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2611 %attr(770,root,http) %dir %verify(not group mode) /var/run/php
2612 %attr(755,root,root) %{_sbindir}/php-module-install
2613 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2614 %dir %{extensionsdir}
2615 %dir %{_phpsharedir}
2618 %defattr(644,root,root,755)
2619 %doc README.UNIX-BUILD-SYSTEM
2620 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2621 %doc CODING_STANDARDS
2622 %attr(755,root,root) %{_bindir}/phpextdist
2623 %attr(755,root,root) %{_bindir}/phpize
2624 %attr(755,root,root) %{_bindir}/php-config
2625 %attr(755,root,root) %{_libdir}/libphp_common.so
2626 %{_libdir}/libphp_common.la
2628 %{_libdir}/php/build
2632 %defattr(644,root,root,755)
2633 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2634 %attr(755,root,root) %{extensionsdir}/bcmath.so
2637 %defattr(644,root,root,755)
2638 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2639 %attr(755,root,root) %{extensionsdir}/bz2.so
2642 %defattr(644,root,root,755)
2643 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2644 %attr(755,root,root) %{extensionsdir}/calendar.so
2647 %defattr(644,root,root,755)
2648 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2649 %attr(755,root,root) %{extensionsdir}/ctype.so
2653 %defattr(644,root,root,755)
2654 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2655 %attr(755,root,root) %{extensionsdir}/curl.so
2659 %defattr(644,root,root,755)
2660 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2661 %attr(755,root,root) %{extensionsdir}/dba.so
2664 %defattr(644,root,root,755)
2665 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2666 %attr(755,root,root) %{extensionsdir}/dbase.so
2669 %defattr(644,root,root,755)
2670 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2671 %attr(755,root,root) %{extensionsdir}/dom.so
2675 %defattr(644,root,root,755)
2676 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2677 %attr(755,root,root) %{extensionsdir}/fdf.so
2681 %defattr(644,root,root,755)
2682 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2683 %attr(755,root,root) %{extensionsdir}/exif.so
2686 %defattr(644,root,root,755)
2687 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filepro.ini
2688 %attr(755,root,root) %{extensionsdir}/filepro.so
2691 %defattr(644,root,root,755)
2692 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2693 %attr(755,root,root) %{extensionsdir}/ftp.so
2696 %defattr(644,root,root,755)
2697 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2698 %attr(755,root,root) %{extensionsdir}/gd.so
2701 %defattr(644,root,root,755)
2702 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2703 %attr(755,root,root) %{extensionsdir}/gettext.so
2706 %defattr(644,root,root,755)
2707 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2708 %attr(755,root,root) %{extensionsdir}/gmp.so
2712 %defattr(644,root,root,755)
2713 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hwapi.ini
2714 %attr(755,root,root) %{extensionsdir}/hwapi.so
2718 %defattr(644,root,root,755)
2719 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2720 %attr(755,root,root) %{extensionsdir}/iconv.so
2724 %defattr(644,root,root,755)
2725 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2726 %attr(755,root,root) %{extensionsdir}/imap.so
2729 %if %{with interbase}
2731 %defattr(644,root,root,755)
2732 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2733 %attr(755,root,root) %{extensionsdir}/interbase.so
2738 %defattr(644,root,root,755)
2739 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2740 %attr(755,root,root) %{extensionsdir}/ldap.so
2744 %defattr(644,root,root,755)
2745 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2746 %attr(755,root,root) %{extensionsdir}/mbstring.so
2749 %defattr(644,root,root,755)
2750 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2751 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2755 %defattr(644,root,root,755)
2756 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2757 %attr(755,root,root) %{extensionsdir}/mhash.so
2760 %if %{with mime_magic}
2762 %defattr(644,root,root,755)
2763 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2764 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2769 %defattr(644,root,root,755)
2770 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2771 %attr(755,root,root) %{extensionsdir}/ming.so
2774 %if %{with msession}
2776 %defattr(644,root,root,755)
2777 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/msession.ini
2778 %attr(755,root,root) %{extensionsdir}/msession.so
2783 %defattr(644,root,root,755)
2784 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2785 %attr(755,root,root) %{extensionsdir}/mssql.so
2789 %defattr(644,root,root,755)
2790 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2791 %attr(755,root,root) %{extensionsdir}/mysql.so
2795 %defattr(644,root,root,755)
2796 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2797 %attr(755,root,root) %{extensionsdir}/mysqli.so
2801 %defattr(644,root,root,755)
2802 %attr(755,root,root) %{extensionsdir}/ncurses.so
2806 %defattr(644,root,root,755)
2807 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2808 %attr(755,root,root) %{extensionsdir}/oci8.so
2813 %defattr(644,root,root,755)
2814 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2815 %attr(755,root,root) %{extensionsdir}/odbc.so
2820 %defattr(644,root,root,755)
2821 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2822 %attr(755,root,root) %{extensionsdir}/openssl.so
2827 %defattr(644,root,root,755)
2828 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oracle.ini
2829 %attr(755,root,root) %{extensionsdir}/oracle.so
2833 %defattr(644,root,root,755)
2834 %attr(755,root,root) %{extensionsdir}/pcntl.so
2838 %defattr(644,root,root,755)
2839 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcre.ini
2840 %attr(755,root,root) %{extensionsdir}/pcre.so
2844 %defattr(644,root,root,755)
2845 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2846 %attr(755,root,root) %{extensionsdir}/pdo.so
2848 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
2850 %defattr(644,root,root,755)
2851 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2852 %attr(755,root,root) %{extensionsdir}/pdo_dblib.so
2856 %defattr(644,root,root,755)
2857 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2858 %attr(755,root,root) %{extensionsdir}/pdo_mysql.so
2862 %defattr(644,root,root,755)
2863 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oracle.ini
2864 %attr(755,root,root) %{extensionsdir}/pdo_oracle.so
2869 %defattr(644,root,root,755)
2870 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2871 %attr(755,root,root) %{extensionsdir}/pdo_odbc.so
2876 %defattr(644,root,root,755)
2877 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2878 %attr(755,root,root) %{extensionsdir}/pdo_pgsql.so
2883 %defattr(644,root,root,755)
2884 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2885 %attr(755,root,root) %{extensionsdir}/pdo_sqlite.so
2890 %defattr(644,root,root,755)
2891 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2892 %attr(755,root,root) %{extensionsdir}/pgsql.so
2896 %defattr(644,root,root,755)
2897 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2898 %attr(755,root,root) %{extensionsdir}/posix.so
2902 %defattr(644,root,root,755)
2903 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2904 %attr(755,root,root) %{extensionsdir}/pspell.so
2908 %defattr(644,root,root,755)
2909 %attr(755,root,root) %{extensionsdir}/readline.so
2913 %defattr(644,root,root,755)
2914 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2915 %attr(755,root,root) %{extensionsdir}/recode.so
2918 # session_mm doesn't work with shared session
2920 #%defattr(644,root,root,755)
2921 #%attr(755,root,root) %{extensionsdir}/session.so
2924 # simplexml is needed by spl, and spl can't be built shared as of now (5.1.0RC3)
2926 %defattr(644,root,root,755)
2927 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2928 %attr(755,root,root) %{extensionsdir}/simplexml.so
2932 %defattr(644,root,root,755)
2933 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2934 %attr(755,root,root) %{extensionsdir}/shmop.so
2938 %defattr(644,root,root,755)
2939 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2940 %attr(755,root,root) %{extensionsdir}/snmp.so
2944 %defattr(644,root,root,755)
2945 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2946 %attr(755,root,root) %{extensionsdir}/soap.so
2949 %defattr(644,root,root,755)
2950 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2951 %attr(755,root,root) %{extensionsdir}/sockets.so
2955 %defattr(644,root,root,755)
2956 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2957 %attr(755,root,root) %{extensionsdir}/sqlite.so
2962 %defattr(644,root,root,755)
2963 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
2964 %attr(755,root,root) %{extensionsdir}/sybase.so
2967 %if %{with sybase_ct}
2969 %defattr(644,root,root,755)
2970 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2971 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2975 %defattr(644,root,root,755)
2976 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2977 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
2980 %defattr(644,root,root,755)
2981 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2982 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2985 %defattr(644,root,root,755)
2986 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2987 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2991 %defattr(644,root,root,755)
2992 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2993 %attr(755,root,root) %{extensionsdir}/tidy.so
2997 %defattr(644,root,root,755)
2998 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2999 %attr(755,root,root) %{extensionsdir}/tokenizer.so
3003 %defattr(644,root,root,755)
3004 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3005 %attr(755,root,root) %{extensionsdir}/wddx.so
3009 %defattr(644,root,root,755)
3010 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3011 %attr(755,root,root) %{extensionsdir}/xml.so
3014 %defattr(644,root,root,755)
3015 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3016 %attr(755,root,root) %{extensionsdir}/xmlreader.so
3020 %defattr(644,root,root,755)
3021 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3022 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
3026 %defattr(644,root,root,755)
3027 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3028 %attr(755,root,root) %{extensionsdir}/xsl.so
3031 %defattr(644,root,root,755)
3032 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3033 %attr(755,root,root) %{extensionsdir}/zlib.so