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: PHP: Hypertext Preprocessor
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: 79cee17e9db85be878000a2a4198378e
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 Patch9: %{name}-reflection.patch
109 Patch10: %{name}-ini.patch
110 Patch11: %{name}-acam.patch
111 Patch14: %{name}-allow-db31.patch
112 Patch15: %{name}-threads-acfix.patch
113 Patch16: %{name}-tsrmlsfetchgcc2.patch
114 Patch17: %{name}-no_pear_install.patch
115 Patch18: %{name}-zlib.patch
116 Patch19: %{name}-sybase-fix.patch
117 Patch20: %{name}-readline.patch
118 Patch21: %{name}-nohttpd.patch
119 Patch23: %{name}-gd_imagerotate_enable.patch
120 Patch24: %{name}-uint32_t.patch
121 Patch25: %{name}-hwapi-link.patch
122 Patch26: %{name}-dba-link.patch
123 Patch30: %{name}-hardening-fix.patch
124 Patch31: %{name}-both-apxs.patch
125 Patch32: %{name}-builddir.patch
126 Patch33: %{name}-zlib-for-getimagesize.patch
127 Patch34: %{name}-ini-search-path.patch
128 URL: http://www.php.net/
129 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
130 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
131 BuildRequires: autoconf >= 2.53
132 BuildRequires: automake >= 1.4d
134 BuildRequires: bzip2-devel
135 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
136 BuildRequires: cyrus-sasl-devel
137 %{!?with_db3:BuildRequires: db-devel >= 4.0}
138 %{?with_db3:BuildRequires: db3-devel >= 3.1}
139 BuildRequires: elfutils-devel
141 BuildRequires: expat-devel
143 %{?with_fcgi:BuildRequires: fcgi-devel}
144 %{?with_fdf:BuildRequires: fdftk-devel}
146 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
147 BuildRequires: freetds-devel
149 BuildRequires: freetype-devel >= 2.0
150 BuildRequires: gd-devel >= 2.0.28-4
151 BuildRequires: gdbm-devel
152 BuildRequires: gmp-devel
153 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
154 BuildRequires: libjpeg-devel
155 BuildRequires: libltdl-devel >= 1.4
156 BuildRequires: libmcrypt-devel >= 2.4.4
157 BuildRequires: libpng-devel >= 1.0.8
158 BuildRequires: libtiff-devel
159 BuildRequires: libtool >= 1.4.3
160 BuildRequires: libwrap-devel
161 BuildRequires: libxml2-devel >= 2.5.10
162 BuildRequires: libxslt-devel >= 1.0.18
163 %{?with_mhash:BuildRequires: mhash-devel}
164 %{?with_ming:BuildRequires: ming-devel >= 0.1.0}
165 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
166 BuildRequires: mysql-devel >= 4.0.0
167 %{?with_mysqli:BuildRequires: mysql-devel >= 4.1.0}
168 BuildRequires: ncurses-ext-devel
169 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
170 %if %{with openssl} || %{with ldap}
171 BuildRequires: openssl-devel >= 0.9.7d
173 BuildRequires: %{__perl}
174 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
175 BuildRequires: pam-devel
176 %{?with_pcre:BuildRequires: pcre-devel}
177 %{?with_msession:BuildRequires: phoenix-devel}
178 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
179 %{?with_pgsql:BuildRequires: postgresql-devel}
180 BuildRequires: readline-devel
181 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
182 BuildRequires: rpm-build >= 4.4.0
183 BuildRequires: rpmbuild(macros) >= 1.238
184 %{?with_sqlite:BuildRequires: sqlite-devel}
185 %{?with_sqlite:BuildRequires: sqlite3-devel}
186 BuildRequires: t1lib-devel
187 %{?with_tidy:BuildRequires: tidy-devel}
188 %{?with_odbc:BuildRequires: unixODBC-devel}
189 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
190 BuildRequires: zlib-devel >= 1.0.9
192 BuildRequires: apache1-devel
195 BuildRequires: apache-devel >= 2.0.52-2
196 BuildRequires: apr-devel >= 1:1.0.0
197 BuildRequires: apr-util-devel >= 1:1.0.0
199 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
201 %define _sysconfdir /etc/php
202 %define _phpsharedir %{_datadir}/php
203 %define extensionsdir %{_libdir}/php
205 # must be in sync with source. extra check ensuring that it is so is done in %%build
206 %define php_api_version 20041225
207 %define zend_module_api 20050922
208 %define zend_extension_api 220051025
209 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
210 %define php_debug %{!?debug:0}%{?debug:1}
213 PHP is an HTML-embedded scripting language. PHP attempts to make it
214 easy for developers to write dynamically generated web pages. PHP also
215 offers built-in database integration for several commercial and
216 non-commercial database management systems, so writing a
217 database-enabled web page with PHP is fairly simple. The most common
218 use of PHP coding is probably as a replacement for CGI scripts. The
219 mod_php module enables the Apache web server to understand and process
220 the embedded PHP language in web pages. This package contains php
221 version %{version}. If you use applications which specifically rely on
222 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
223 module contained in the phpfi package. If you're just starting with
224 PHP, you should install this package. You'll also need to install the
228 PHP est un langage de script embarque dans le HTM. PHP essaye de
229 rendre simple aux developpeurs d'ecrire des pages web generees
230 dynamiquement. PHP incorpore egalement une integration avec plusieurs
231 systemes de gestion de bases de donnees commerciaux et
232 non-connerciaux, qui rent facile la creation de pages web liees avec
233 des bases de donnees. L'utilisation la plus commune de PHP est
234 probablement en remplacement de scripts CGI. Le module mod_php permet
235 au serveur web apache de comprendre et de traiter le langage PHP
236 integre dans des pages web. Ce package contient php version
237 %{version}. Si vous utilisez des applications qui utilisent
238 specifiquement PHP/FI, vous devrez installer le module PHP/FI inclus
239 dans le package mod_php. Si vous debutez avec PHP, vous devriez
240 installer ce package. Vous aurez egalement besoin dinstaller le
244 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
245 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
246 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
247 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
248 zosta³a z jêzyków: C, Java i Perl.
250 %description -l pt_BR
251 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
252 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
253 com algumas características únicas, específicas ao PHP. O objetivo da
254 linguagem é permitir que desenvolvedores web escrevam páginas
255 dinamicamente geradas de forma rápida.
258 PHP - ÜÔÏ ÑÚÙË ÎÁÐÉÓÁÎÉÑ ÓËÒÉÐÔÏ×, ×ÓÔÒÁÉ×ÁÅÍÙÈ × HTML-ËÏÄ. PHP
259 ÐÒÅÄÌÁÇÁÅÔ ÉÎÔÅÒÇÒÁÃÉÀ Ó ÍÎÏÖÅÓÔ×ÏÍ óõâä, ÐÏÜÔÏÍÕ ÎÁÐÉÓÁÎÉÅ ÓËÒÉÐÔÏ×
260 ÄÌÑ ÒÁÂÏÔÙ Ó ÂÁÚÁÍÉ ÄÁÎÎÙÈ ÏÔÎÏÓÉÔÅÌØÎÏ ÐÒÏÓÔÏ. îÁÉÂÏÌÅÅ ÐÏÐÕÌÑÒÎÏÅ
261 ÉÓÐÏÌØÚÏ×ÁÎÉÅ PHP - ÚÁÍÅÎÁ ÄÌÑ CGI ÓËÒÉÐÔÏ×.
263 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÁÍÏÄÏÓÔÁÔÏÞÎÕÀ (CGI) ×ÅÒÓÉÀ ÉÎÔÅÒÐÒÅÔÁÔÏÒÁ ÑÚÙËÁ.
264 ÷Ù ÄÏÌÖÎÙ ÔÁËÖÅ ÕÓÔÁÎÏ×ÉÔØ ÐÁËÅÔ %{name}-common. åÓÌÉ ×ÁÍ ÎÕÖÅÎ
265 ÉÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache, ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ
269 PHP - ÃÅ ÍÏ×Á ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦×, ÝÏ ×ÂÕÄÏ×ÕÀÔØÓÑ × HTML-ËÏÄ. PHP
270 ÐÒÏÐÏÎÕ¤ ¦ÎÔÅÇÒÁæÀ Ú ÂÁÇÁÔØÍÁ óõâä, ÔÏÍÕ ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦× ÄÌÑ
271 ÒÏÂÏÔÉ Ú ÂÁÚÁÍÉ ÄÁÎÉÈ ¤ ÄÏ×Ï̦ ÐÒÏÓÔÉÍ. îÁʦÌØÛ ÐÏÐÕÌÑÒÎÅ
272 ×ÉËÏÒÉÓÔÁÎÎÑ PHP - ÚÁͦÎÁ ÄÌÑ CGI ÓËÒÉÐÔ¦×.
274 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÁÍÏÄÏÓÔÁÔÎÀ (CGI) ×ÅÒÓ¦À ¦ÎÔÅÒÐÒÅÔÁÔÏÒÁ ÍÏ×É. ÷É
275 ÍÁ¤ÔÅ ÔÁËÏÖ ×ÓÔÁÎÏ×ÉÔÉ ÐÁËÅÔ %{name}-common. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÅÎ
276 ¦ÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache, ×ÓÔÁÎÏצÔØ ÐÁËÅÔ apache-php.
278 %package -n apache1-mod_php
279 Summary: PHP DSO module for apache 1.3.x
280 Summary(pl): Modu³ DSO (Dynamic Shared Object) php dla apache 1.3.x
281 Group: Development/Languages/PHP
282 Requires(triggerpostun): sed >= 4.0
283 Requires: %{name}-common = %{epoch}:%{version}-%{release}
284 Requires: apache1(EAPI) >= 1.3.33-2
285 Requires: apache1-mod_mime
286 Provides: php = %{epoch}:%{version}-%{release}
287 Obsoletes: apache-mod_php < 1:4.1.1
290 %description -n apache1-mod_php
291 PHP as DSO module for apache 1.3.x.
293 %description -n apache1-mod_php -l pl
294 php jako modu³ DSO (Dynamic Shared Object) dla apache 1.3.x.
296 %package -n apache-mod_php
297 Summary: PHP DSO module for apache 2.x
298 Summary(pl): Modu³ DSO (Dynamic Shared Object) php dla apache 2.x
299 Group: Development/Languages/PHP
300 Requires: %{name}-common = %{epoch}:%{version}-%{release}
301 Requires: apache(modules-api) = %{apache_modules_api}
302 Requires: apache-mod_mime
303 Provides: php = %{epoch}:%{version}-%{release}
306 %description -n apache-mod_php
307 PHP as DSO module for apache 2.x.
309 %description -n apache-mod_php -l pl
310 php jako modu³ DSO (Dynamic Shared Object) dla apache 2.x.
313 Summary: php as FastCGI program
314 Summary(pl): php jako program FastCGI
315 Group: Development/Languages/PHP
316 Requires: %{name}-common = %{epoch}:%{version}-%{release}
317 Provides: php = %{epoch}:%{version}-%{release}
320 php as FastCGI program.
322 %description fcgi -l pl
323 php jako program FastCGI.
326 Summary: php as CGI program
327 Summary(pl): php jako program CGI
328 Group: Development/Languages/PHP
329 Requires: %{name}-common = %{epoch}:%{version}-%{release}
334 %description cgi -l pl
335 php jako program CGI.
338 Summary: php as CLI interpreter
339 Summary(pl): php jako interpreter dzia³aj±cy z linii poleceñ
340 Group: Development/Languages/PHP
341 Requires: %{name}-common = %{epoch}:%{version}-%{release}
344 php as CLI interpreter.
346 %description cli -l pl
347 php jako interpreter dzia³aj±cy z linii poleceñ.
350 Summary: /usr/bin/php symlink
351 Summary(pl): Dowi±zanie symboliczne /usr/bin/php
352 Group: Development/Languages/PHP
353 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
354 Provides: php(program)
355 Obsoletes: php(program)
358 Package providing /usr/bin/php symlink to PHP CLI.
360 %description program -l pl
361 Pakiet dostarczaj±cy dowi±zanie symboliczne /usr/bin/php do PHP CLI.
364 Summary: Common files needed by both apache module and CGI
365 Summary(pl): Wspólne pliki dla modu³u apache'a i programu CGI
366 Summary(ru): òÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ php
367 Summary(uk): â¦Â̦ÏÔÅËÉ ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÄÌÑ php
369 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
370 Requires: glibc >= 6:2.3.5
372 Provides: %{name}-libxml = %{epoch}:%{version}-%{release}
373 Provides: %{name}-session = %{epoch}:%{version}-%{release}
374 Provides: %{name}-simplexml = %{epoch}:%{version}-%{release}
375 Provides: %{name}-spl = %{epoch}:%{version}-%{release}
376 Provides: %{name}-standard = %{epoch}:%{version}-%{release}
377 Provides: php(modules_api) = %{php_api_version}
378 Provides: php(zend_extension_api) = %{zend_extension_api}
379 Provides: php(zend_module_api) = %{zend_module_api}
380 Provides: php5(debug) = %{php_debug}
381 Provides: php5(thread-safety) = %{zend_zts}
382 Obsoletes: php-pecl-domxml
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 README.SELF-CONTAINED-EXTENSIONS.
424 %description devel -l pl
425 Ten pakiet zawiera pliki potrzebne do kompilacji modu³ów PHP. Zamiast
426 rekompilowaæ ca³e php aby dodaæ obs³ugê np. oracle, mo¿na przy u¿yciu
427 tego pakietu skompilowaæ samodzielne rozszerzenie. Wiêcej informacji o
428 samodzielnych rozszerzeniach mo¿na znale¼æ w pliku
429 README.SELF-CONTAINED-EXTENSIONS.
431 %description devel -l pt_BR
432 Este pacote contém arquivos usados no desenvolvimento de programas ou
435 %description devel -l ru
436 ðÁËÅÔ php-devel ÄÁÅÔ ×ÏÚÍÏÖÎÏÓÔØ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÄÉÎÁÍÉÞÅÓËÉÅ ÒÁÓÛÉÒÅÎÉÑ
437 PHP. ðÁËÅÔ ×ËÌÀÞÁÅÔ ÉÓÈÏÄÎÙÊ ËÏÄ ÜÔÉÈ ÒÁÓÛÉÒÅÎÉÊ. ÷ÍÅÓÔÏ ÐÏ×ÔÏÒÎÏÊ
438 ËÏÍÐÉÌÑÃÉÉ ÂÉÎÁÒÎÏÇÏ ÆÁÊÌÁ php ÄÌÑ ÄÏÂÁ×ÌÅÎÉÑ, ÎÁÐÒÉÍÅÒ, ÐÏÄÄÅÒÖËÉ
439 oracle, ÕÓÔÁÎÏ×ÉÔÅ ÜÔÏÔ ÐÁËÅÔ ÄÌÑ ËÏÍÐÉÌÉÒÏ×ÁÎÉÑ ÏÔÄÅÌØÎÙÈ ÒÁÓÛÉÒÅÎÉÊ.
440 ðÏÄÒÏÂÎÏÓÔÉ - × ÆÁÊÌÅ README.SELF-CONTAINED-EXTENSIONS.
442 %description devel -l uk
443 ðÁËÅÔ php-devel ÄÁ¤ ÍÏÖÌÉצÓÔØ ËÏÍЦÌÀ×ÁÔÉ ÄÉÎÁͦÞΦ ÒÏÚÛÉÒÅÎÎÑ PHP.
444 äÏ ÐÁËÅÔÕ ×ËÌÀÞÅÎÏ ×ÉȦÄÎÉÊ ËÏÄ ÄÌÑ ÒÏÚÛÉÒÅÎØ. úÁͦÓÔØ ÐÏ×ÔÏÒÎϧ
445 ËÏÍЦÌÑæ§ ¦ÎÁÒÎÏÇÏ ÆÁÊÌÕ php ÄÌÑ ÄÏÄÁÎÎÑ, ÎÁÐÒÉËÌÁÄ, ЦÄÔÒÉÍËÉ
446 oracle, ×ÓÔÁÎÏצÔØ ÃÅÊ ÐÁËÅÔ ÄÌÑ ËÏÍЦÌÑæ§ ÏËÒÅÍÉÈ ÒÏÚÛÉÒÅÎØ.
447 äÅÔÁÌØΦÛÁ ¦ÎÆÏÒÍÁÃ¦Ñ - × ÆÁÊ̦ README.SELF-CONTAINED-EXTENSIONS.
450 Summary: bcmath extension module for PHP
451 Summary(pl): Modu³ bcmath dla PHP
453 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
454 Requires: %{name}-common = %{epoch}:%{version}-%{release}
457 This is a dynamic shared object (DSO) for PHP that will add bc style
458 precision math functions support.
460 %description bcmath -l pl
461 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
462 matematycznych takich jak w programie bc.
465 Summary: Bzip2 extension module for PHP
466 Summary(pl): Modu³ bzip2 dla PHP
468 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
469 Requires: %{name}-common = %{epoch}:%{version}-%{release}
472 This is a dynamic shared object (DSO) for PHP that will add bzip2
473 compression support to PHP.
475 %description bzip2 -l pl
476 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji bzip2.
479 Summary: Calendar extension module for PHP
480 Summary(pl): Modu³ funkcji kalendarza dla PHP
482 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
483 Requires: %{name}-common = %{epoch}:%{version}-%{release}
485 %description calendar
486 This is a dynamic shared object (DSO) for PHP that will add calendar
489 %description calendar -l pl
490 Modu³ PHP dodaj±cy wsparcie dla kalendarza.
493 Summary: ctype extension module for PHP
494 Summary(pl): Modu³ ctype dla PHP
496 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
497 Requires: %{name}-common = %{epoch}:%{version}-%{release}
500 This is a dynamic shared object (DSO) for PHP that will add ctype
503 %description ctype -l pl
504 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
507 Summary: curl extension module for PHP
508 Summary(pl): Modu³ curl dla PHP
510 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
511 Requires: %{name}-common = %{epoch}:%{version}-%{release}
514 This is a dynamic shared object (DSO) for PHP that will add curl
517 %description curl -l pl
518 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
521 Summary: DBA extension module for PHP
522 Summary(pl): Modu³ DBA dla PHP
524 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
525 Requires: %{name}-common = %{epoch}:%{version}-%{release}
528 This is a dynamic shared object (DSO) for PHP that will add flat-file
529 databases (DBA) support.
531 %description dba -l pl
532 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych opartych na plikach
536 Summary: DBase extension module for PHP
537 Summary(pl): Modu³ DBase dla PHP
539 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
540 Requires: %{name}-common = %{epoch}:%{version}-%{release}
543 This is a dynamic shared object (DSO) for PHP that will add DBase
546 %description dbase -l pl
547 Modu³ PHP ze wsparciem dla DBase.
550 Summary: DOM extension module for PHP
551 Summary(pl): Modu³ DOM dla PHP
553 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
554 Requires: %{name}-common = %{epoch}:%{version}-%{release}
555 # it has some compatibility functions
556 Provides: php-domxml = %{epoch}:%{version}-%{release}
557 Obsoletes: php-domxml <= 3:4.3.8-1
560 This is a dynamic shared object (DSO) for PHP that will add new DOM
563 %description dom -l pl
564 Modu³ PHP dodaj±cy now± obs³ugê DOM.
567 Summary: exif extension module for PHP
568 Summary(pl): Modu³ exif dla PHP
570 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
571 Requires: %{name}-common = %{epoch}:%{version}-%{release}
574 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
575 support in image files.
577 %description exif -l pl
578 Modu³ PHP dodaj±cy obs³ugê znaczników EXIF w plikach obrazków.
581 Summary: FDF extension module for PHP
582 Summary(pl): Modu³ FDF dla PHP
584 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
585 Requires: %{name}-common = %{epoch}:%{version}-%{release}
588 This PHP module adds support for PDF Forms through Adobe FDFTK
591 %description fdf -l pl
592 Modu³ PHP dodaj±cy obs³ugê formularzy PDF poprzez bibliotekê Adobe
596 Summary: filePro extension module for PHP
597 Summary(pl): Modu³ filePro dla PHP
599 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
600 Requires: %{name}-common = %{epoch}:%{version}-%{release}
603 This is a dynamic shared object (DSO) for PHP that will add support
604 for read-only access to filePro databases.
606 %description filepro -l pl
607 Modu³ PHP dodaj±cy mo¿liwo¶æ dostêpu (tylko do odczytu) do baz danych
611 Summary: FTP extension module for PHP
612 Summary(pl): Modu³ FTP dla PHP
614 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
615 Requires: %{name}-common = %{epoch}:%{version}-%{release}
618 This is a dynamic shared object (DSO) for PHP that will add FTP
621 %description ftp -l pl
622 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
625 Summary: GD extension module for PHP
626 Summary(pl): Modu³ GD dla PHP
628 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
629 Requires: %{name}-common = %{epoch}:%{version}-%{release}
630 Requires: gd >= 2.0.28-4
631 Provides: %{name}-gd(gif) = %{epoch}:%{version}-%{release}
634 This is a dynamic shared object (DSO) for PHP that will add GD
635 support, allowing you to create and manipulate images with PHP.
637 %description gd -l pl
638 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD, pozwalaj±cej na
639 tworzenie i obróbkê obrazków.
642 Summary: gettext extension module for PHP
643 Summary(pl): Modu³ gettext dla PHP
645 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
646 Requires: %{name}-common = %{epoch}:%{version}-%{release}
649 This is a dynamic shared object (DSO) for PHP that will add gettext
652 %description gettext -l pl
653 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
656 Summary: gmp extension module for PHP
657 Summary(pl): Modu³ gmp dla PHP
659 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
660 Requires: %{name}-common = %{epoch}:%{version}-%{release}
663 This is a dynamic shared object (DSO) for PHP that will add arbitrary
664 length number support with GNU MP library.
666 %description gmp -l pl
667 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki gmp do obliczeñ na
668 liczbach o dowolnej d³ugo¶ci.
671 Summary: Hyperwave API extension module for PHP
672 Summary(pl): Modu³ API Hyperwave dla PHP
674 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
675 Requires: %{name}-common = %{epoch}:%{version}-%{release}
678 This is a dynamic shared object (DSO) for PHP that will add official
679 Hyperwave API support.
681 %description hwapi -l pl
682 Modu³ PHP dodaj±cy obs³ugê Hyperwave.
685 Summary: iconv extension module for PHP
686 Summary(pl): Modu³ iconv dla PHP
688 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
689 Requires: %{name}-common = %{epoch}:%{version}-%{release}
692 This is a dynamic shared object (DSO) for PHP that will add iconv
695 %description iconv -l pl
696 Modu³ PHP dodaj±cy obs³ugê iconv.
699 Summary: IMAP extension module for PHP
700 Summary(pl): Modu³ IMAP dla PHP
701 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
703 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
704 Requires: %{name}-common = %{epoch}:%{version}-%{release}
707 This is a dynamic shared object (DSO) for PHP that will add IMAP
710 %description imap -l pl
711 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
713 %description imap -l pt_BR
714 Um módulo para aplicações PHP que usam IMAP.
717 Summary: InterBase/Firebird database module for PHP
718 Summary(pl): Modu³ bazy danych InterBase/Firebird dla PHP
720 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
721 Requires: %{name}-common = %{epoch}:%{version}-%{release}
722 %{?with_interbase_inst:Autoreq: false}
724 %description interbase
725 This is a dynamic shared object (DSO) for PHP that will add InterBase
726 and Firebird database support.
728 %description interbase -l pl
729 Modu³ PHP umo¿liwiaj±cy dostêp do baz danych InterBase i Firebird.
732 Summary: LDAP extension module for PHP
733 Summary(pl): Modu³ LDAP dla PHP
734 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
736 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
737 Requires: %{name}-common = %{epoch}:%{version}-%{release}
740 This is a dynamic shared object (DSO) for PHP that will add LDAP
743 %description ldap -l pl
744 Modu³ PHP dodaj±cy obs³ugê LDAP.
746 %description ldap -l pt_BR
747 Um módulo para aplicações PHP que usam LDAP.
750 Summary: mbstring extension module for PHP
751 Summary(pl): Modu³ mbstring dla PHP
753 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
754 Requires: %{name}-common = %{epoch}:%{version}-%{release}
756 %description mbstring
757 This is a dynamic shared object (DSO) for PHP that will add multibyte
760 %description mbstring -l pl
761 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
764 Summary: mcrypt extension module for PHP
765 Summary(pl): Modu³ mcrypt dla PHP
767 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
768 Requires: %{name}-common = %{epoch}:%{version}-%{release}
771 This is a dynamic shared object (DSO) for PHP that will add mcrypt
774 %description mcrypt -l pl
775 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
778 Summary: mhash extension module for PHP
779 Summary(pl): Modu³ mhash dla PHP
781 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
782 Requires: %{name}-common = %{epoch}:%{version}-%{release}
785 This is a dynamic shared object (DSO) for PHP that will add mhash
788 %description mhash -l pl
789 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
792 Summary: mime_magic extension module for PHP
793 Summary(pl): Modu³ mime_magic dla PHP
795 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
796 Requires: %{name}-common = %{epoch}:%{version}-%{release}
797 Requires: /usr/share/file/magic.mime
799 %description mime_magic
800 This PHP module adds support for MIME type lookup via file magic
801 numbers using magic.mime database.
803 %description mime_magic -l pl
804 Modu³ PHP dodaj±cy obs³ugê wyszukiwania typów MIME wed³ug magicznych
805 znaczników plików z u¿yciem bazy danych magic.mime.
808 Summary: ming extension module for PHP
809 Summary(pl): Modu³ ming dla PHP
811 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
812 Requires: %{name}-common = %{epoch}:%{version}-%{release}
815 This is a dynamic shared object (DSO) for PHP that will add ming
816 (Flash - .swf files) support.
818 %description ming -l pl
819 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
823 Summary: msession extension module for PHP
824 Summary(pl): Modu³ msession dla PHP
826 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
827 Requires: %{name}-common = %{epoch}:%{version}-%{release}
829 %description msession
830 This is a dynamic shared object (DSO) for PHP that will allow you to
831 use msession. msession is a high speed session daemon which can run
832 either locally or remotely. It is designed to provide consistent
833 session management for a PHP web farm.
835 %description msession -l pl
836 Modu³ PHP dodaj±cy umo¿liwiaj±cy korzystanie z demona msession. Jest
837 to demon szybkiej obs³ugi sesji, który mo¿e dzia³aæ lokalnie lub na
838 innej maszynie. S³u¿y do zapewniania spójnej obs³ugi sesji dla farmy
842 Summary: MS SQL extension module for PHP
843 Summary(pl): Modu³ MS SQL dla PHP
845 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
846 Requires: %{name}-common = %{epoch}:%{version}-%{release}
849 This is a dynamic shared object (DSO) for PHP that will add MS SQL
850 databases support through FreeTDS library.
852 %description mssql -l pl
853 Modu³ PHP dodaj±cy obs³ugê baz danych MS SQL poprzez bibliotekê
857 Summary: MySQL database module for PHP
858 Summary(pl): Modu³ bazy danych MySQL dla PHP
859 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
861 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
862 Requires: %{name}-common = %{epoch}:%{version}-%{release}
865 This is a dynamic shared object (DSO) for PHP that will add MySQL
868 %description mysql -l pl
869 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
871 %description mysql -l pt_BR
872 Um módulo para aplicações PHP que usam bancos de dados MySQL.
875 Summary: MySQLi module for PHP
876 Summary(pl): Modu³ MySQLi dla PHP
878 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
879 Requires: %{name}-common = %{epoch}:%{version}-%{release}
880 Requires: mysql-libs >= 4.1.0
883 This is a dynamic shared object (DSO) for PHP that will add MySQLi
884 (Improved MySQL) support. The difference between it and mysql module
885 is that it provides access to functionality of MySQL 4.1 and above.
887 %description mysqli -l pl
888 Modu³ PHP umo¿liwiaj±cy udoskonalony dostêp do bazy danych MySQL.
889 Ró¿nic± miêdzy nim a modu³em mysql jest dostêp do funkcjonalno¶ci
890 MySQL w wersji 4.1 i nowszych.
893 Summary: ncurses module for PHP
894 Summary(pl): Modu³ ncurses dla PHP
896 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
897 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
900 This PHP module adds support for ncurses functions (only for cli and
903 %description ncurses -l pl
904 Modu³ PHP dodaj±cy obs³ugê funkcji ncurses (tylko do SAPI cli i cgi).
907 Summary: Oracle 8+ database module for PHP
908 Summary(pl): Modu³ bazy danych Oracle 8+ dla PHP
910 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
911 Requires: %{name}-common = %{epoch}:%{version}-%{release}
915 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
916 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
918 %description oci8 -l pl
919 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7, 8, 9 i 10
920 poprzez interfejs Oracle8 Call-Interface (OCI8).
923 Summary: ODBC extension module for PHP
924 Summary(pl): Modu³ ODBC dla PHP
925 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
927 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
928 Requires: %{name}-common = %{epoch}:%{version}-%{release}
929 Requires: unixODBC >= 2.1.1-3
932 This is a dynamic shared object (DSO) for PHP that will add ODBC
935 %description odbc -l pl
936 Modu³ PHP ze wsparciem dla ODBC.
938 %description odbc -l pt_BR
939 Um módulo para aplicações PHP que usam ODBC.
942 Summary: OpenSSL extension module for PHP
943 Summary(pl): Modu³ OpenSSL dla PHP
945 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
946 Requires: %{name}-common = %{epoch}:%{version}-%{release}
949 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
952 Warning: this is an experimental module.
954 %description openssl -l pl
955 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki OpenSSL.
957 Uwaga: to jest modu³ eksperymentalny.
960 Summary: Process Control extension module for PHP
961 Summary(pl): Modu³ Process Control dla PHP
963 Requires(post,preun): %{name}-program = %{epoch}:%{version}-%{release}
964 Requires: %{name}-program = %{epoch}:%{version}-%{release}
967 This is a dynamic shared object (DSO) for PHP that will add process
968 spawning and control support. It supports functions like fork(),
969 waitpid(), signal() etc.
971 Warning: this is an experimental module. Also, don't use it in
972 webserver environment!
974 %description pcntl -l pl
975 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
976 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
978 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
979 u¿ywania z serwerem WWW - nie próbuj tego!
982 Summary: PCRE extension module for PHP
983 Summary(pl): Modu³ PCRE dla PHP
985 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
986 Requires: %{name}-common = %{epoch}:%{version}-%{release}
989 This is a dynamic shared object (DSO) for PHP that will add Perl
990 Compatible Regular Expression support.
992 %description pcre -l pl
993 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
994 (Perl Compatible Regular Expressions)
997 Summary: PHP Data Objects (PDO)
998 Summary(pl): Obs³uga PHP Data Objects (PDO)
1000 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1001 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1004 This is a dynamic shared object (DSO) for PHP that will add PDO
1007 %description pdo -l pl
1008 Modu³ PHP dodaj±cy obs³ugê PDO (PHP Data Objects).
1011 Summary: PHP Data Objects (PDO) FreeTDS support
1012 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± FreeTDS
1014 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1015 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1016 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1018 %description pdo-dblib
1019 This is a dynamic shared object (DSO) for PHP that will add PDO
1022 %description pdo-dblib -l pl
1023 Modu³ dla PHP dodaj±cy obs³ugê baz danych FreeTDS za po¶rednictwem
1026 %package pdo-firebird
1027 Summary: PHP Data Objects (PDO) Firebird support
1028 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± Firebirda
1030 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1031 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1032 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1034 %description pdo-firebird
1035 This is a dynamic shared object (DSO) for PHP that will add PDO
1038 %description pdo-firebird -l pl
1039 Modu³ dla PHP dodaj±cy obs³ugê baz danych Firebird za po¶rednictwem
1043 Summary: PHP Data Objects (PDO) MySQL support
1044 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± MySQL-a
1046 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1047 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1048 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1050 %description pdo-mysql
1051 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1054 %description pdo-mysql -l pl
1055 Modu³ dla PHP dodaj±cy obs³ugê baz danych MySQL za po¶rednictwem
1059 Summary: PHP Data Objects (PDO) Oracle support
1060 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± Oracle'a
1062 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1063 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1064 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1066 %description pdo-oci
1067 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1070 %description pdo-oci -l pl
1071 Modu³ dla PHP dodaj±cy obs³ugê baz danych Oracle za po¶rednictwem
1075 Summary: PHP Data Objects (PDO) ODBC support
1076 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± ODBC
1078 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1079 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1080 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1082 %description pdo-odbc
1083 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1086 %description pdo-odbc -l pl
1087 Modu³ dla PHP dodaj±cy obs³ugê baz danych ODBC za po¶rednictwem
1091 Summary: PHP Data Objects (PDO) PostgreSQL support
1092 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± PostgreSQL-a
1094 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1095 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1096 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1098 %description pdo-pgsql
1099 This is a dynamic shared object (DSO) for PHP that will add PDO
1102 %description pdo-pgsql -l pl
1103 Modu³ dla PHP dodaj±cy obs³ugê baz danych PostgreSQL za po¶rednictwem
1107 Summary: PHP Data Objects (PDO) SQLite support
1108 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± SQLite
1110 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1111 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1112 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1114 %description pdo-sqlite
1115 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1118 %description pdo-sqlite -l pl
1119 Modu³ dla PHP dodaj±cy obs³ugê baz danych SQLite za po¶rednictwem
1123 Summary: PostgreSQL database module for PHP
1124 Summary(pl): Modu³ bazy danych PostgreSQL dla PHP
1126 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1127 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1130 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1133 %description pgsql -l pl
1134 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
1136 %description pgsql -l pt_BR
1137 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1140 Summary: POSIX extension module for PHP
1141 Summary(pl): Modu³ POSIX dla PHP
1143 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1144 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1147 This is a dynamic shared object (DSO) for PHP that will add POSIX
1148 functions support to PHP.
1150 %description posix -l pl
1151 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
1154 Summary: pspell extension module for PHP
1155 Summary(pl): Modu³ pspell dla PHP
1157 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1158 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1161 This is a dynamic shared object (DSO) for PHP that will add pspell
1162 support to PHP. It allows to check the spelling of a word and offer
1165 %description pspell -l pl
1166 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
1167 sprawdzanie pisowni s³owa i sugerowanie poprawek.
1170 Summary: readline extension module for PHP
1171 Summary(pl): Modu³ readline dla PHP
1173 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
1174 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1176 %description readline
1177 This PHP module adds support for readline functions (only for cli and
1180 %description readline -l pl
1181 Modu³ PHP dodaj±cy obs³ugê funkcji readline (tylko do SAPI cli i cgi).
1184 Summary: recode extension module for PHP
1185 Summary(pl): Modu³ recode dla PHP
1187 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1188 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1189 Requires: recode >= 3.5d-3
1192 This is a dynamic shared object (DSO) for PHP that will add recode
1195 %description recode -l pl
1196 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1200 Summary: session extension module for PHP
1201 Summary(pl): Modu³ session dla PHP
1203 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1204 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1206 %description session
1207 This is a dynamic shared object (DSO) for PHP that will add session
1210 %description session -l pl
1211 Modu³ PHP dodaj±cy obs³ugê sesji.
1214 Summary: Shared Memory Operations extension module for PHP
1215 Summary(pl): Modu³ shmop dla PHP
1217 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1218 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1221 This is a dynamic shared object (DSO) for PHP that will add Shared
1222 Memory Operations support.
1224 Warning: this is an experimental module.
1226 %description shmop -l pl
1227 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1229 Uwaga: to jest modu³ eksperymentalny.
1232 Summary: Simple XML extension module for PHP
1233 Summary(pl): Modu³ prostego rozszerzenia XML dla PHP
1235 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1236 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1238 %description simplexml
1239 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1242 %description simplexml -l pl
1243 Modu³ PHP dodaj±cy obs³ugê prostego XML-a.
1246 Summary: SNMP extension module for PHP
1247 Summary(pl): Modu³ SNMP dla PHP
1249 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1250 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1251 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1254 This is a dynamic shared object (DSO) for PHP that will add SNMP
1257 %description snmp -l pl
1258 Modu³ PHP dodaj±cy obs³ugê SNMP.
1261 Summary: soap extension module for PHP
1262 Summary(pl): Modu³ soap dla PHP
1264 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1265 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1268 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1271 %description soap -l pl
1272 Modu³ PHP dodaj±cy obs³ugê SOAP/WSDL.
1275 Summary: sockets extension module for PHP
1276 Summary(pl): Modu³ socket dla PHP
1278 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1279 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1281 %description sockets
1282 This is a dynamic shared object (DSO) for PHP that will add sockets
1285 Warning: this is an experimental module.
1287 %description sockets -l pl
1288 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1290 Uwaga: to jest modu³ eksperymentalny.
1293 Summary: SQLite extension module for PHP
1294 Summary(pl): Modu³ SQLite dla PHP
1296 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1297 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1298 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1301 SQLite is a C library that implements an embeddable SQL database
1302 engine. Programs that link with the SQLite library can have SQL
1303 database access without running a separate RDBMS process.
1305 SQLite is not a client library used to connect to a big database
1306 server. SQLite is the server. The SQLite library reads and writes
1307 directly to and from the database files on disk.
1309 %description sqlite -l pl
1310 SQLite jest napisan± w C bibliotek± implementuj±c± osadzalny silnik
1311 bazodanowy SQL. Program linkuj±cy siê z bibliotek± SQLite mo¿e mieæ
1312 dostêp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1315 SQLite to nie klient baz danych - biblioteka nie ³±czy siê z serwerami
1316 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1317 zapisuje dane bezpo¶rednio z/do plików baz danych znajduj±cych siê na
1321 Summary: Sybase DB extension module for PHP
1322 Summary(pl): Modu³ Sybase DB dla PHP
1324 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1325 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1326 Obsoletes: php-sybase-ct
1329 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1330 MS SQL databases support through SYBDB library. Currently Sybase
1331 module is not maintained. Using Sybase-CT module is recommended
1334 %description sybase -l pl
1335 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1336 bibliotekê SYBDB. W chwili obecnej modu³ Sybase nie jest wspierany.
1337 Zaleca siê u¿ywanie modu³u Sybase-CT.
1340 Summary: Sybase-CT extension module for PHP
1341 Summary(pl): Modu³ Sybase-CT dla PHP
1343 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1344 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1345 Obsoletes: php-sybase
1347 %description sybase-ct
1348 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1349 MS SQL databases support through CT-lib.
1351 %description sybase-ct -l pl
1352 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1356 Summary: SysV msg extension module for PHP
1357 Summary(pl): Modu³ SysV msg dla PHP
1359 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1360 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1362 %description sysvmsg
1363 This is a dynamic shared object (DSO) for PHP that will add SysV
1364 message queues support.
1366 %description sysvmsg -l pl
1367 Modu³ PHP umo¿liwiaj±cy korzystanie z kolejek komunikatów SysV.
1370 Summary: SysV sem extension module for PHP
1371 Summary(pl): Modu³ SysV sem dla PHP
1373 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1374 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1376 %description sysvsem
1377 This is a dynamic shared object (DSO) for PHP that will add SysV
1380 %description sysvsem -l pl
1381 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1384 Summary: SysV shm extension module for PHP
1385 Summary(pl): Modu³ SysV shm dla PHP
1387 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1388 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1390 %description sysvshm
1391 This is a dynamic shared object (DSO) for PHP that will add SysV
1392 Shared Memory support.
1394 %description sysvshm -l pl
1395 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1398 Summary: Tidy extension module for PHP
1399 Summary(pl): Modu³ Tidy dla PHP
1401 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1402 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1406 This is a dynamic shared object (DSO) for PHP that will add Tidy
1409 %description tidy -l pl
1410 Modu³ PHP umo¿liwiaj±cy korzystanie z tidy.
1413 Summary: tokenizer extension module for PHP
1414 Summary(pl): Modu³ rozszerzenia tokenizer dla PHP
1416 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1417 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1419 %description tokenizer
1420 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1423 %description tokenizer -l pl
1424 Modu³ PHP dodaj±cy obs³ugê tokenizera do PHP.
1427 Summary: wddx extension module for PHP
1428 Summary(pl): Modu³ wddx dla PHP
1430 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1431 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1432 Requires: %{name}-session = %{epoch}:%{version}-%{release}
1433 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1436 This is a dynamic shared object (DSO) for PHP that will add wddx
1439 %description wddx -l pl
1440 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1443 Summary: XML extension module for PHP
1444 Summary(pl): Modu³ XML dla PHP
1446 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1447 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1450 This is a dynamic shared object (DSO) for PHP that will add XML
1451 support. This extension lets you create XML parsers and then define
1452 handlers for different XML events.
1454 %description xml -l pl
1455 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1456 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1457 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1460 Summary: XML Reader extension module for PHP
1461 Summary(pl): Modu³ XML Reader dla PHP
1463 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1464 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1466 %description xmlreader
1467 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1468 support. The XMLReader extension is an XML Pull parser. The reader
1469 acts as a cursor going forward on the document stream and stopping at
1470 each node on the way.
1472 %description xmlreader -l pl
1473 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML w trybie Pull. Czytnik
1474 dzia³a jako kursor przechodz±cy przez strumieñ dokumentu i
1475 zatrzymuj±cy siê naka¿dym wê¼le po drodze.
1478 Summary: xmlrpc extension module for PHP
1479 Summary(pl): Modu³ xmlrpc dla PHP
1481 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1482 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1485 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1488 Warning: this is an experimental module.
1490 %description xmlrpc -l pl
1491 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1493 Uwaga: to jest modu³ eksperymentalny.
1496 Summary: xsl extension module for PHP
1497 Summary(pl): Modu³ xsl dla PHP
1499 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1500 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1501 Requires: libxslt >= 1.0.18
1502 # actually not true, functionality is similar, but API differs
1503 Obsoletes: php-xslt <= 3:4.3.8-1
1506 This is a dynamic shared object (DSO) for PHP that will add new XSL
1507 support (using libxslt).
1509 %description xsl -l pl
1510 Modu³ PHP dodaj±cy now± obs³ugê XSLT (przy u¿yciu libxslt).
1513 Summary: Zlib extension module for PHP
1514 Summary(pl): Modu³ zlib dla PHP
1516 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1517 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1520 This is a dynamic shared object (DSO) for PHP that will add zlib
1521 compression support to PHP.
1523 %description zlib -l pl
1524 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1528 # this patch is broken by design, breaks --enable-versioning for example
1529 # update: --enable-version is broken by itself, it disables dynamic modules.
1540 cp php.ini-dist php.ini
1542 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1558 %if %{with hardening}
1559 zcat %{SOURCE9} | patch -p1 || exit 1
1560 patch -p1 < %{PATCH30} || exit 1
1567 # conflict seems to be resolved by recode patches
1568 rm -f ext/recode/config9.m4
1571 sed -i -e 's#apr-config#apr-1-config#g' sapi/apache*/*.m4
1573 # remove all bundled libraries not to link with them accidentally
1574 #rm -rf ext/sqlite/libsqlite
1575 #rm -rf ext/bcmath/libbcmath
1576 #rm -rf ext/date/lib
1577 #rm -rf ext/dba/libcdb
1578 #rm -rf ext/dba/libflatfile
1579 #rm -rf ext/dba/libinifile
1580 #rm -rf ext/gd/libgd
1581 #rm -rf ext/mbstring/libmbfl
1582 #rm -rf ext/mbstring/oniguruma
1583 rm -rf ext/pcre/pcrelib
1584 rm -rf ext/pdo_sqlite/sqlite
1585 #rm -rf ext/soap/interop
1586 rm -rf ext/xmlrpc/libxmlrpc
1589 if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then
1590 echo "Set %%define php_api_version to $API and rerun."
1594 if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then
1595 echo "Set %%define zend_module_api to $API and rerun."
1599 if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then
1600 echo "Set %%define zend_extension_api to $API and rerun."
1604 CFLAGS="%{rpmcflags} -DEAPI=1 -I/usr/X11R6/include"
1606 # Apache2 CFLAGS. harmless for other SAPIs.
1607 CFLAGS="$CFLAGS $(%{_bindir}/apr-1-config --includes) $(%{_bindir}/apu-1-config --includes)"
1610 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1611 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1612 rm -f Makefile.{fcgi,cgi,cli,apxs{1,2}} # now remove Makefile copies
1618 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1632 for sapi in $sapis; do
1633 [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1639 echo --enable-discard-path --enable-force-cgi-redirect
1645 echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect
1648 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
1649 echo --with-apxs=%{apxs1} --with-apache-version=$ver
1652 ver=%(rpm -q --qf '%%{version}' apache-apxs)
1653 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
1657 --cache-file=config.cache \
1658 --with-libdir=%{_lib} \
1659 --with-config-file-path=%{_sysconfdir} \
1660 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1661 --with-exec-dir=%{_bindir} \
1662 --%{!?debug:dis}%{?debug:en}able-debug \
1663 %{?with_zts:--enable-maintainer-zts} \
1664 --enable-inline-optimization \
1665 --enable-memory-limit \
1666 --enable-bcmath=shared \
1667 --enable-calendar=shared \
1668 --enable-ctype=shared \
1669 --enable-dba=shared \
1672 --enable-dom=shared \
1673 --enable-exif=shared \
1674 --enable-filepro=shared \
1675 --enable-ftp=shared \
1676 --enable-gd-native-ttf \
1677 --enable-gd-jus-conf \
1679 --enable-magic-quotes \
1680 --enable-mbstring=shared,all \
1682 --enable-pcntl=shared \
1683 --enable-pdo=shared \
1684 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
1685 --with-pdo-dblib=shared \
1687 %if %{with interbase} && %{without interbase_inst}
1688 --with-pdo-firebird=shared \
1690 --with-pdo-mysql=shared \
1691 %{?with_oci8:--with-pdo-oci=shared} \
1692 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1693 %{?with_pgsql:--with-pdo-pgsql=shared} \
1694 %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
1695 --enable-posix=shared \
1696 --enable-reflection \
1699 --enable-shmop=shared \
1700 --enable-simplexml \
1701 --enable-sysvmsg=shared \
1702 --enable-sysvsem=shared \
1703 --enable-sysvshm=shared \
1704 --enable-track-vars \
1705 --enable-trans-sid \
1706 --enable-safe-mode \
1707 --enable-soap=shared \
1708 --enable-sockets=shared \
1709 --enable-tokenizer=shared \
1710 --enable-ucd-snmp-hack \
1711 %{?with_wddx:--enable-wddx=shared} \
1712 --enable-xml=shared \
1713 --enable-xmlreader=shared \
1715 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1716 %{?with_db3:--with-db3}%{!?with_db3:--with-db4} \
1717 --enable-dbase=shared \
1719 --with-expat-dir=shared,/usr \
1721 --without-expat-dir \
1723 %{?with_fdf:--with-fdftk=shared} \
1724 --with-iconv=shared \
1725 --with-filepro=shared \
1726 --with-freetype-dir=shared \
1727 --with-gettext=shared \
1728 --with-gd=shared,/usr \
1731 %{?with_hwapi:--with-hwapi=shared} \
1732 %{?with_imap:--with-imap=shared --with-imap-ssl} \
1733 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1734 --with-jpeg-dir=/usr \
1735 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1736 --with-mcrypt=shared \
1737 %{?with_mhash:--with-mhash=shared} \
1738 %{?with_mime_magic:--with-mime-magic=shared,/usr/share/file/magic.mime}%{!?with_mime_magic:--disable-mime-magic} \
1739 %{?with_ming:--with-ming=shared} \
1740 %{?with_mm:--with-mm} \
1741 %{?with_msession:--with-msession=shared}%{!?with_msession:--without-msession} \
1742 %{?with_mssql:--with-mssql=shared} \
1743 --with-mysql=shared,/usr \
1744 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1745 %{?with_mysqli:--with-mysqli=shared} \
1746 --with-ncurses=shared \
1747 %{?with_oci8:--with-oci8=shared} \
1748 %{?with_openssl:--with-openssl=shared} \
1750 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared,/usr} \
1751 --with-pear=%{php_pear_dir} \
1752 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1753 --with-png-dir=/usr \
1754 %{?with_pspell:--with-pspell=shared} \
1755 --with-readline=shared \
1756 %{?with_recode:--with-recode=shared} \
1758 --without-sablot-js \
1759 %{?with_snmp:--with-snmp=shared} \
1760 %{?with_sybase:--with-sybase=shared,/usr} \
1761 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1762 %{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1763 --with-t1lib=shared \
1764 %{?with_tidy:--with-tidy=shared} \
1765 --with-tiff-dir=/usr \
1766 %{?with_odbc:--with-unixODBC=shared,/usr} \
1767 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1769 --with-zlib=shared \
1770 --with-zlib-dir=shared,/usr
1772 cp -f Makefile Makefile.$sapi
1773 cp -f main/php_config.h php_config.h.$sapi
1776 # for now session_mm doesn't work with shared session module...
1777 # --enable-session=shared
1778 # %{!?with_mm:--with-mm=shared,no}%{?with_mm:--with-mm=shared}
1780 %{__make} build-modules
1782 %{__make} libphp_common.la
1783 # fix install paths, avoid evil rpaths
1784 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" libphp_common.la
1787 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1789 s|^libdir=.*|libdir='%{_libdir}/apache1'|;
1790 s|^(relink_command=.* -rpath )[^ ]*/libs |$1%{_libdir}/apache1 |" sapi/apache/libphp5.la
1794 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1796 s|^libdir=.*|libdir='%{_libdir}/apache'|;
1797 s|^(relink_command=.* -rpath )[^ ]*/libs |$1%{_libdir}/apache |" sapi/apache2handler/libphp5.la
1802 cp -af php_config.h.fcgi main/php_config.h
1803 %{__make} sapi/cgi/php -f Makefile.fcgi
1804 cp -r sapi/cgi sapi/fcgi
1805 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1809 cp -af php_config.h.cgi main/php_config.h
1810 %{__make} sapi/cgi/php -f Makefile.cgi
1813 cp -af php_config.h.cli main/php_config.h
1814 %{__make} sapi/cli/php -f Makefile.cli
1817 rm -rf $RPM_BUILD_ROOT
1818 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi},%{_phpsharedir}} \
1819 $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
1820 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1821 $RPM_BUILD_ROOT/var/run/php \
1822 $RPM_BUILD_ROOT{/etc/apache/conf.d,/etc/httpd/httpd.conf} \
1823 $RPM_BUILD_ROOT%{_mandir}/man1
1825 # install apache1 DSO module
1827 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1/
1830 # install apache2 DSO module
1832 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache/
1835 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1837 # install the apache modules' files
1838 %{__make} install-headers install-build install-modules install-programs \
1839 INSTALL_ROOT=$RPM_BUILD_ROOT
1841 # as of 5.0.5, phpextdist isn't installed by default
1842 install scripts/dev/phpextdist $RPM_BUILD_ROOT%{_bindir}
1845 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php.cgi
1849 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php.fcgi
1853 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
1854 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
1855 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
1858 # Why make install doesn't install libphp5.so ?
1859 #install libs/libphp5.so $RPM_BUILD_ROOT%{apachelib}
1861 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1863 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1865 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1867 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1868 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1869 install %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir}
1870 install %{SOURCE1} .
1873 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
1874 install %{SOURCE4} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
1875 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1876 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
1880 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1881 install %{SOURCE4} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1882 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1883 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
1886 cp -f Zend/LICENSE{,.Zend}
1888 # Generate stub .ini files for each subpackage
1889 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1890 for so in modules/*.so; do
1891 mod=$(basename $so .so)
1892 conf="%{_sysconfdir}/conf.d/${mod}.ini"
1893 # xml needs to be loaded before wddx
1894 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_${mod}.ini"
1895 cat > $RPM_BUILD_ROOT${conf} <<EOF
1896 ; Enable ${mod} extension module
1901 # Not in all SAPI, so don't need the .ini fragments.
1902 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/{ncurses,pcntl,readline}.ini
1904 # use system automake and {lib,sh}tool
1905 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
1906 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
1907 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
1908 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
1911 rm -rf $RPM_BUILD_ROOT
1914 if [ "$1" = "1" ]; then
1916 %service -q apache restart
1919 %service -q httpd restart
1924 if [ "$1" = "0" ]; then
1926 %service -q apache restart
1929 %service -q httpd restart
1933 %post -n apache1-mod_php
1934 if [ "$1" = "1" ]; then
1935 %service -q apache restart
1938 %postun -n apache1-mod_php
1939 if [ "$1" = "0" ]; then
1940 %service -q apache restart
1943 %post -n apache-mod_php
1944 if [ "$1" = "1" ]; then
1945 %service -q httpd restart
1948 %postun -n apache-mod_php
1949 if [ "$1" = "0" ]; then
1950 %service -q httpd restart
1953 # so tired of typing... so decided to create macros
1954 # macro called at extension post scriptlet
1955 %define extension_post \
1956 if [ "$1" = "1" ]; then \
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 # macro called at extension postun scriptlet
1962 %define extension_postun \
1963 if [ "$1" = "0" ]; then \
1964 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1965 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1968 %post common -p /sbin/ldconfig
1969 %postun common -p /sbin/ldconfig
1972 # minimizing apache restarts logics. we restart webserver:
1974 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1975 # 2. first install of extension (post: $1 = 1)
1976 # 2. uninstall of extension (postun: $1 == 0)
1978 # the strict internal deps between extensions (and apache modules) and
1979 # common package are very important for all this to work.
1981 # restart webserver at the end of transaction
1982 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
1983 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
1986 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
1988 /^AddType application\/x-httpd-php \.php/s,^,#,
1989 /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
1990 ' /etc/apache/apache.conf
1991 %service -q apache restart
1995 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
1996 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1997 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1998 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1999 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2178 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2179 %{_sbindir}/php-module-install install ncurses %{_sysconfdir}/php-cgi.ini
2181 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2182 %{_sbindir}/php-module-install install ncurses %{_sysconfdir}/php-cli.ini
2186 if [ "$1" = "0" ]; then
2187 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2188 %{_sbindir}/php-module-install remove ncurses %{_sysconfdir}/php-cgi.ini
2190 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2191 %{_sbindir}/php-module-install remove ncurses %{_sysconfdir}/php-cli.ini
2214 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2215 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php-cgi.ini
2217 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2218 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php-cli.ini
2222 if [ "$1" = "0" ]; then
2223 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2224 %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php-cgi.ini
2226 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2227 %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php-cli.ini
2246 %postun pdo-firebird
2292 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2293 %{_sbindir}/php-module-install install readline %{_sysconfdir}/php-cgi.ini
2295 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2296 %{_sbindir}/php-module-install install readline %{_sysconfdir}/php-cli.ini
2300 if [ "$1" = "0" ]; then
2301 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2302 %{_sbindir}/php-module-install remove readline %{_sysconfdir}/php-cgi.ini
2304 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2305 %{_sbindir}/php-module-install remove readline %{_sysconfdir}/php-cli.ini
2338 if [ "$1" = "0" ]; then
2339 %{_sbindir}/php-module-install remove soap %{_sysconfdir}/php.ini
2432 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2433 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
2435 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2436 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove bzip2 %{_sysconfdir}/php.ini
2438 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2439 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
2441 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2442 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ctype %{_sysconfdir}/php.ini
2444 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2445 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
2447 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2448 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
2450 %triggerun dbase -- %{name}-dbase < 4:5.0.4-9.1
2451 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
2453 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2454 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dom %{_sysconfdir}/php.ini
2456 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2457 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
2459 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2460 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove fdf %{_sysconfdir}/php.ini
2462 %triggerun filepro -- %{name}-filepro < 4:5.0.4-9.1
2463 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
2465 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2466 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
2468 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2469 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
2471 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2472 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
2474 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2475 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gmp %{_sysconfdir}/php.ini
2477 %triggerun hwapi -- %{name}-hwapi < 4:5.0.4-9.1
2478 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove hwapi %{_sysconfdir}/php.ini
2480 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2481 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove iconv %{_sysconfdir}/php.ini
2483 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2484 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
2486 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2487 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove interbase %{_sysconfdir}/php.ini
2489 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2490 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
2492 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2493 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mbstring %{_sysconfdir}/php.ini
2495 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2496 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
2498 %triggerun mhash -- %{name}-mhash < 4:5.0.4-9.1
2499 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
2501 %triggerun mime_magic -- %{name}-mime_magic < 4:5.0.4-9.1
2502 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mime_magic %{_sysconfdir}/php.ini
2504 %triggerun ming -- %{name}-ming < 4:5.0.4-9.1
2505 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
2507 %triggerun msession -- %{name}-msession < 4:5.0.4-9.1
2508 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove msession %{_sysconfdir}/php.ini
2510 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2511 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mssql %{_sysconfdir}/php.ini
2513 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2514 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
2516 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2517 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mysqli %{_sysconfdir}/php.ini
2519 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2520 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
2522 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2523 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
2525 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2526 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove openssl %{_sysconfdir}/php.ini
2528 %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1
2529 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
2531 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2532 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
2534 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2535 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
2537 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2538 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pspell %{_sysconfdir}/php.ini
2540 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2541 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
2543 %triggerun session -- %{name}-session < 4:5.0.4-9.1
2544 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
2546 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2547 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove shmop %{_sysconfdir}/php.ini
2549 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2550 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
2552 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2553 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove soap %{_sysconfdir}/php.ini
2555 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2556 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
2558 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2559 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sqlite %{_sysconfdir}/php.ini
2561 %triggerun sybase -- %{name}-sybase < 4:5.0.4-9.1
2562 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sybase %{_sysconfdir}/php.ini
2564 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2565 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sybase-ct %{_sysconfdir}/php.ini
2567 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2568 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvmsg %{_sysconfdir}/php.ini
2570 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2571 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
2573 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2574 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
2576 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2577 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove tidy %{_sysconfdir}/php.ini
2579 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2580 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
2582 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2583 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
2585 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2586 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xmlrpc %{_sysconfdir}/php.ini
2588 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2589 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xsl %{_sysconfdir}/php.ini
2591 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2592 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
2595 %files -n apache1-mod_php
2596 %defattr(644,root,root,755)
2597 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2598 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2599 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2600 /home/services/apache/icons/*
2604 %files -n apache-mod_php
2605 %defattr(644,root,root,755)
2606 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php.conf
2607 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2608 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2609 /home/services/httpd/icons/*
2614 %defattr(644,root,root,755)
2615 %doc sapi/cgi/README.FastCGI
2616 %attr(755,root,root) %{_bindir}/php.fcgi
2617 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2621 %defattr(644,root,root,755)
2622 %attr(755,root,root) %{_bindir}/php.cgi
2623 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2626 %defattr(644,root,root,755)
2627 %attr(755,root,root) %{_bindir}/php.cli
2628 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2629 %{_mandir}/man1/php.1*
2630 %{_mandir}/man1/php.cli.1*
2633 %defattr(644,root,root,755)
2634 %attr(755,root,root) %{_bindir}/php
2637 %defattr(644,root,root,755)
2639 %doc CREDITS Zend/ZEND_CHANGES
2640 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2643 %dir %{_sysconfdir}/conf.d
2644 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2645 %attr(770,root,http) %dir %verify(not group mode) /var/run/php
2646 %attr(755,root,root) %{_sbindir}/php-module-install
2647 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2648 %dir %{extensionsdir}
2649 %dir %{_phpsharedir}
2651 # session_mm doesn't work with shared session
2653 #%defattr(644,root,root,755)
2654 #%attr(755,root,root) %{extensionsdir}/session.so
2655 %doc ext/session/mod_files.sh
2658 %defattr(644,root,root,755)
2659 %doc README.UNIX-BUILD-SYSTEM
2660 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2661 %doc CODING_STANDARDS
2662 %attr(755,root,root) %{_bindir}/phpextdist
2663 %attr(755,root,root) %{_bindir}/phpize
2664 %attr(755,root,root) %{_bindir}/php-config
2665 %attr(755,root,root) %{_libdir}/libphp_common.so
2666 %{_libdir}/libphp_common.la
2668 %{_libdir}/php/build
2672 %defattr(644,root,root,755)
2673 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2674 %attr(755,root,root) %{extensionsdir}/bcmath.so
2677 %defattr(644,root,root,755)
2678 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2679 %attr(755,root,root) %{extensionsdir}/bz2.so
2682 %defattr(644,root,root,755)
2683 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2684 %attr(755,root,root) %{extensionsdir}/calendar.so
2687 %defattr(644,root,root,755)
2688 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2689 %attr(755,root,root) %{extensionsdir}/ctype.so
2693 %defattr(644,root,root,755)
2694 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2695 %attr(755,root,root) %{extensionsdir}/curl.so
2699 %defattr(644,root,root,755)
2700 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2701 %attr(755,root,root) %{extensionsdir}/dba.so
2704 %defattr(644,root,root,755)
2705 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2706 %attr(755,root,root) %{extensionsdir}/dbase.so
2709 %defattr(644,root,root,755)
2710 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2711 %attr(755,root,root) %{extensionsdir}/dom.so
2715 %defattr(644,root,root,755)
2716 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2717 %attr(755,root,root) %{extensionsdir}/fdf.so
2721 %defattr(644,root,root,755)
2722 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2723 %attr(755,root,root) %{extensionsdir}/exif.so
2726 %defattr(644,root,root,755)
2727 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filepro.ini
2728 %attr(755,root,root) %{extensionsdir}/filepro.so
2731 %defattr(644,root,root,755)
2732 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2733 %attr(755,root,root) %{extensionsdir}/ftp.so
2736 %defattr(644,root,root,755)
2737 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2738 %attr(755,root,root) %{extensionsdir}/gd.so
2741 %defattr(644,root,root,755)
2742 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2743 %attr(755,root,root) %{extensionsdir}/gettext.so
2746 %defattr(644,root,root,755)
2747 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2748 %attr(755,root,root) %{extensionsdir}/gmp.so
2752 %defattr(644,root,root,755)
2753 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hwapi.ini
2754 %attr(755,root,root) %{extensionsdir}/hwapi.so
2758 %defattr(644,root,root,755)
2759 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2760 %attr(755,root,root) %{extensionsdir}/iconv.so
2764 %defattr(644,root,root,755)
2765 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2766 %attr(755,root,root) %{extensionsdir}/imap.so
2769 %if %{with interbase}
2771 %defattr(644,root,root,755)
2772 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2773 %attr(755,root,root) %{extensionsdir}/interbase.so
2778 %defattr(644,root,root,755)
2779 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2780 %attr(755,root,root) %{extensionsdir}/ldap.so
2784 %defattr(644,root,root,755)
2785 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2786 %attr(755,root,root) %{extensionsdir}/mbstring.so
2789 %defattr(644,root,root,755)
2790 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2791 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2795 %defattr(644,root,root,755)
2796 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2797 %attr(755,root,root) %{extensionsdir}/mhash.so
2800 %if %{with mime_magic}
2802 %defattr(644,root,root,755)
2803 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2804 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2809 %defattr(644,root,root,755)
2810 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2811 %attr(755,root,root) %{extensionsdir}/ming.so
2814 %if %{with msession}
2816 %defattr(644,root,root,755)
2817 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/msession.ini
2818 %attr(755,root,root) %{extensionsdir}/msession.so
2823 %defattr(644,root,root,755)
2824 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2825 %attr(755,root,root) %{extensionsdir}/mssql.so
2829 %defattr(644,root,root,755)
2830 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2831 %attr(755,root,root) %{extensionsdir}/mysql.so
2835 %defattr(644,root,root,755)
2836 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2837 %attr(755,root,root) %{extensionsdir}/mysqli.so
2841 %defattr(644,root,root,755)
2842 %attr(755,root,root) %{extensionsdir}/ncurses.so
2846 %defattr(644,root,root,755)
2847 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2848 %attr(755,root,root) %{extensionsdir}/oci8.so
2853 %defattr(644,root,root,755)
2854 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2855 %attr(755,root,root) %{extensionsdir}/odbc.so
2860 %defattr(644,root,root,755)
2861 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2862 %attr(755,root,root) %{extensionsdir}/openssl.so
2866 %defattr(644,root,root,755)
2867 %attr(755,root,root) %{extensionsdir}/pcntl.so
2871 %defattr(644,root,root,755)
2872 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcre.ini
2873 %attr(755,root,root) %{extensionsdir}/pcre.so
2877 %defattr(644,root,root,755)
2878 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2879 %attr(755,root,root) %{extensionsdir}/pdo.so
2881 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
2883 %defattr(644,root,root,755)
2884 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2885 %attr(755,root,root) %{extensionsdir}/pdo_dblib.so
2888 %if %{with interbase} && %{without interbase_inst}
2890 %defattr(644,root,root,755)
2891 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2892 %attr(755,root,root) %{extensionsdir}/pdo_firebird.so
2896 %defattr(644,root,root,755)
2897 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2898 %attr(755,root,root) %{extensionsdir}/pdo_mysql.so
2902 %defattr(644,root,root,755)
2903 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2904 %attr(755,root,root) %{extensionsdir}/pdo_oci.so
2909 %defattr(644,root,root,755)
2910 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2911 %attr(755,root,root) %{extensionsdir}/pdo_odbc.so
2916 %defattr(644,root,root,755)
2917 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2918 %attr(755,root,root) %{extensionsdir}/pdo_pgsql.so
2923 %defattr(644,root,root,755)
2924 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2925 %attr(755,root,root) %{extensionsdir}/pdo_sqlite.so
2930 %defattr(644,root,root,755)
2931 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2932 %attr(755,root,root) %{extensionsdir}/pgsql.so
2936 %defattr(644,root,root,755)
2937 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2938 %attr(755,root,root) %{extensionsdir}/posix.so
2942 %defattr(644,root,root,755)
2943 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2944 %attr(755,root,root) %{extensionsdir}/pspell.so
2948 %defattr(644,root,root,755)
2949 %attr(755,root,root) %{extensionsdir}/readline.so
2953 %defattr(644,root,root,755)
2954 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2955 %attr(755,root,root) %{extensionsdir}/recode.so
2959 # simplexml is needed by spl, and spl can't be built shared as of now (5.1.0RC3)
2961 %defattr(644,root,root,755)
2962 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2963 %attr(755,root,root) %{extensionsdir}/simplexml.so
2967 %defattr(644,root,root,755)
2968 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2969 %attr(755,root,root) %{extensionsdir}/shmop.so
2973 %defattr(644,root,root,755)
2974 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2975 %attr(755,root,root) %{extensionsdir}/snmp.so
2979 %defattr(644,root,root,755)
2980 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2981 %attr(755,root,root) %{extensionsdir}/soap.so
2984 %defattr(644,root,root,755)
2985 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2986 %attr(755,root,root) %{extensionsdir}/sockets.so
2990 %defattr(644,root,root,755)
2991 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2992 %attr(755,root,root) %{extensionsdir}/sqlite.so
2997 %defattr(644,root,root,755)
2998 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
2999 %attr(755,root,root) %{extensionsdir}/sybase.so
3002 %if %{with sybase_ct}
3004 %defattr(644,root,root,755)
3005 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3006 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
3010 %defattr(644,root,root,755)
3011 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3012 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
3015 %defattr(644,root,root,755)
3016 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3017 %attr(755,root,root) %{extensionsdir}/sysvsem.so
3020 %defattr(644,root,root,755)
3021 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3022 %attr(755,root,root) %{extensionsdir}/sysvshm.so
3026 %defattr(644,root,root,755)
3027 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3028 %attr(755,root,root) %{extensionsdir}/tidy.so
3032 %defattr(644,root,root,755)
3033 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3034 %attr(755,root,root) %{extensionsdir}/tokenizer.so
3038 %defattr(644,root,root,755)
3039 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3040 %attr(755,root,root) %{extensionsdir}/wddx.so
3044 %defattr(644,root,root,755)
3045 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3046 %attr(755,root,root) %{extensionsdir}/xml.so
3049 %defattr(644,root,root,755)
3050 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3051 %attr(755,root,root) %{extensionsdir}/xmlreader.so
3055 %defattr(644,root,root,755)
3056 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3057 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
3061 %defattr(644,root,root,755)
3062 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3063 %attr(755,root,root) %{extensionsdir}/xsl.so
3066 %defattr(644,root,root,755)
3067 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3068 %attr(755,root,root) %{extensionsdir}/zlib.so