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_with 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 mysqli # without mysqli support (Requires mysql > 4.1)
34 %bcond_without mime_magic # without mime-magic module
35 %bcond_without odbc # without ODBC extension module
36 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
37 %bcond_without pcre # without PCRE extension module
38 %bcond_without pgsql # without PostgreSQL extension module
39 %bcond_without pspell # without pspell extension module
40 %bcond_without recode # without recode extension module
41 %bcond_without snmp # without SNMP extension module
42 %bcond_without sqlite # without SQLite extension module
43 %bcond_without sybase # without Sybase extension module
44 %bcond_without sybase_ct # without Sybase-CT extension module
45 %bcond_without tidy # without Tidy extension module
46 %bcond_without wddx # without WDDX extension module
47 %bcond_without xmlrpc # without XML-RPC extension module
48 %bcond_without apache1 # disable building apache 1.3.x module
49 %bcond_without apache2 # disable building apache 2.x module
50 %bcond_without fcgi # disable building FCGI SAPI
51 %bcond_without zts # disable experimental-zts
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
76 Summary(pl): Jêzyk skryptowy PHP
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 # Very big hack that is sane only with non-thread MPMs.
129 # The case with threaded MPMs is lost even without this hack.
130 # http://bugs.php.net/bug.php?id=36152
131 Patch35: %{name}-openssl-huge-hack.patch
132 URL: http://www.php.net/
133 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
134 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
135 BuildRequires: autoconf >= 2.53
136 BuildRequires: automake >= 1.4d
138 BuildRequires: bzip2-devel
139 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
140 BuildRequires: cyrus-sasl-devel
141 %{!?with_db3:BuildRequires: db-devel >= 4.0}
142 %{?with_db3:BuildRequires: db3-devel >= 3.1}
143 BuildRequires: elfutils-devel
145 BuildRequires: expat-devel
147 %{?with_fcgi:BuildRequires: fcgi-devel}
148 %{?with_fdf:BuildRequires: fdftk-devel}
150 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
151 BuildRequires: freetds-devel
153 BuildRequires: freetype-devel >= 2.0
154 BuildRequires: gd-devel >= 2.0.28-4
155 BuildRequires: gdbm-devel
156 BuildRequires: gmp-devel
157 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
158 BuildRequires: libjpeg-devel
159 BuildRequires: libltdl-devel >= 1.4
160 BuildRequires: libmcrypt-devel >= 2.4.4
161 BuildRequires: libpng-devel >= 1.0.8
162 BuildRequires: libtiff-devel
163 BuildRequires: libtool >= 1.4.3
164 BuildRequires: libwrap-devel
165 BuildRequires: libxml2-devel >= 2.5.10
166 BuildRequires: libxslt-devel >= 1.0.18
167 %{?with_mhash:BuildRequires: mhash-devel}
168 %{?with_ming:BuildRequires: ming-devel >= 0.1.0}
169 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
170 BuildRequires: mysql-devel >= 4.0.0
171 %{?with_mysqli:BuildRequires: mysql-devel >= 4.1.0}
172 BuildRequires: ncurses-ext-devel
173 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
174 %if %{with openssl} || %{with ldap}
175 BuildRequires: openssl-devel >= 0.9.7d
177 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
178 BuildRequires: pam-devel
179 %{?with_pcre:BuildRequires: pcre-devel}
180 %{?with_msession:BuildRequires: phoenix-devel}
181 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
182 %{?with_pgsql:BuildRequires: postgresql-devel}
183 BuildRequires: readline-devel
184 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
185 BuildRequires: rpm-build >= 4.4.0
186 BuildRequires: rpmbuild(macros) >= 1.238
187 %{?with_sqlite:BuildRequires: sqlite-devel}
188 %{?with_sqlite:BuildRequires: sqlite3-devel}
189 BuildRequires: t1lib-devel
190 %{?with_tidy:BuildRequires: tidy-devel}
191 %{?with_odbc:BuildRequires: unixODBC-devel}
192 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
193 BuildRequires: zlib-devel >= 1.0.9
195 BuildRequires: apache1-devel
198 BuildRequires: apache-devel >= 2.0.52-2
199 BuildRequires: apr-devel >= 1:1.0.0
200 BuildRequires: apr-util-devel >= 1:1.0.0
202 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
204 %define _sysconfdir /etc/php
205 %define _phpsharedir %{_datadir}/php
206 %define extensionsdir %{_libdir}/php
208 # must be in sync with source. extra check ensuring that it is so is done in %%build
209 %define php_api_version 20041225
210 %define zend_module_api 20050922
211 %define zend_extension_api 220051025
212 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
213 %define php_debug %{!?debug:0}%{?debug:1}
216 PHP is an HTML-embedded scripting language. PHP attempts to make it
217 easy for developers to write dynamically generated web pages. PHP also
218 offers built-in database integration for several commercial and
219 non-commercial database management systems, so writing a
220 database-enabled web page with PHP is fairly simple. The most common
221 use of PHP coding is probably as a replacement for CGI scripts. The
222 mod_php module enables the Apache web server to understand and process
223 the embedded PHP language in web pages. This package contains php
224 version %{version}. If you use applications which specifically rely on
225 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
226 module contained in the phpfi package. If you're just starting with
227 PHP, you should install this package. You'll also need to install the
231 PHP est un langage de script embarque dans le HTM. PHP essaye de
232 rendre simple aux developpeurs d'ecrire des pages web generees
233 dynamiquement. PHP incorpore egalement une integration avec plusieurs
234 systemes de gestion de bases de donnees commerciaux et
235 non-connerciaux, qui rent facile la creation de pages web liees avec
236 des bases de donnees. L'utilisation la plus commune de PHP est
237 probablement en remplacement de scripts CGI. Le module mod_php permet
238 au serveur web apache de comprendre et de traiter le langage PHP
239 integre dans des pages web. Ce package contient php version
240 %{version}. Si vous utilisez des applications qui utilisent
241 specifiquement PHP/FI, vous devrez installer le module PHP/FI inclus
242 dans le package mod_php. Si vous debutez avec PHP, vous devriez
243 installer ce package. Vous aurez egalement besoin dinstaller le
247 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
248 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
249 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
250 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
251 zosta³a z jêzyków: C, Java i Perl.
253 %description -l pt_BR
254 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
255 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
256 com algumas características únicas, específicas ao PHP. O objetivo da
257 linguagem é permitir que desenvolvedores web escrevam páginas
258 dinamicamente geradas de forma rápida.
261 PHP - ÜÔÏ ÑÚÙË ÎÁÐÉÓÁÎÉÑ ÓËÒÉÐÔÏ×, ×ÓÔÒÁÉ×ÁÅÍÙÈ × HTML-ËÏÄ. PHP
262 ÐÒÅÄÌÁÇÁÅÔ ÉÎÔÅÒÇÒÁÃÉÀ Ó ÍÎÏÖÅÓÔ×ÏÍ óõâä, ÐÏÜÔÏÍÕ ÎÁÐÉÓÁÎÉÅ ÓËÒÉÐÔÏ×
263 ÄÌÑ ÒÁÂÏÔÙ Ó ÂÁÚÁÍÉ ÄÁÎÎÙÈ ÏÔÎÏÓÉÔÅÌØÎÏ ÐÒÏÓÔÏ. îÁÉÂÏÌÅÅ ÐÏÐÕÌÑÒÎÏÅ
264 ÉÓÐÏÌØÚÏ×ÁÎÉÅ PHP - ÚÁÍÅÎÁ ÄÌÑ CGI ÓËÒÉÐÔÏ×.
266 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÁÍÏÄÏÓÔÁÔÏÞÎÕÀ (CGI) ×ÅÒÓÉÀ ÉÎÔÅÒÐÒÅÔÁÔÏÒÁ ÑÚÙËÁ.
267 ÷Ù ÄÏÌÖÎÙ ÔÁËÖÅ ÕÓÔÁÎÏ×ÉÔØ ÐÁËÅÔ %{name}-common. åÓÌÉ ×ÁÍ ÎÕÖÅÎ
268 ÉÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache, ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ
272 PHP - ÃÅ ÍÏ×Á ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦×, ÝÏ ×ÂÕÄÏ×ÕÀÔØÓÑ × HTML-ËÏÄ. PHP
273 ÐÒÏÐÏÎÕ¤ ¦ÎÔÅÇÒÁæÀ Ú ÂÁÇÁÔØÍÁ óõâä, ÔÏÍÕ ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦× ÄÌÑ
274 ÒÏÂÏÔÉ Ú ÂÁÚÁÍÉ ÄÁÎÉÈ ¤ ÄÏ×Ï̦ ÐÒÏÓÔÉÍ. îÁʦÌØÛ ÐÏÐÕÌÑÒÎÅ
275 ×ÉËÏÒÉÓÔÁÎÎÑ PHP - ÚÁͦÎÁ ÄÌÑ CGI ÓËÒÉÐÔ¦×.
277 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÁÍÏÄÏÓÔÁÔÎÀ (CGI) ×ÅÒÓ¦À ¦ÎÔÅÒÐÒÅÔÁÔÏÒÁ ÍÏ×É. ÷É
278 ÍÁ¤ÔÅ ÔÁËÏÖ ×ÓÔÁÎÏ×ÉÔÉ ÐÁËÅÔ %{name}-common. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÅÎ
279 ¦ÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache, ×ÓÔÁÎÏצÔØ ÐÁËÅÔ apache-php.
281 %package -n apache1-mod_php
282 Summary: PHP DSO module for apache 1.3.x
283 Summary(pl): Modu³ DSO (Dynamic Shared Object) php dla apache 1.3.x
284 Group: Development/Languages/PHP
285 Requires(triggerpostun): sed >= 4.0
286 Requires: %{name}-common = %{epoch}:%{version}-%{release}
287 Requires: apache1(EAPI) >= 1.3.33-2
288 Requires: apache1-mod_mime
289 Provides: php = %{epoch}:%{version}-%{release}
290 Obsoletes: apache-mod_php < 1:4.1.1
293 %description -n apache1-mod_php
294 PHP as DSO module for apache 1.3.x.
296 %description -n apache1-mod_php -l pl
297 php jako modu³ DSO (Dynamic Shared Object) dla apache 1.3.x.
299 %package -n apache-mod_php
300 Summary: PHP DSO module for apache 2.x
301 Summary(pl): Modu³ DSO (Dynamic Shared Object) php dla apache 2.x
302 Group: Development/Languages/PHP
303 Requires: %{name}-common = %{epoch}:%{version}-%{release}
304 Requires: apache(modules-api) = %{apache_modules_api}
305 Requires: apache-mod_mime
306 Provides: php = %{epoch}:%{version}-%{release}
309 %description -n apache-mod_php
310 PHP as DSO module for apache 2.x.
312 %description -n apache-mod_php -l pl
313 php jako modu³ DSO (Dynamic Shared Object) dla apache 2.x.
316 Summary: php as FastCGI program
317 Summary(pl): php jako program FastCGI
318 Group: Development/Languages/PHP
319 Requires: %{name}-common = %{epoch}:%{version}-%{release}
320 Provides: php = %{epoch}:%{version}-%{release}
323 php as FastCGI program.
325 %description fcgi -l pl
326 php jako program FastCGI.
329 Summary: php as CGI program
330 Summary(pl): php jako program CGI
331 Group: Development/Languages/PHP
332 Requires: %{name}-common = %{epoch}:%{version}-%{release}
337 %description cgi -l pl
338 php jako program CGI.
341 Summary: php as CLI interpreter
342 Summary(pl): php jako interpreter dzia³aj±cy z linii poleceñ
343 Group: Development/Languages/PHP
344 Requires: %{name}-common = %{epoch}:%{version}-%{release}
347 php as CLI interpreter.
349 %description cli -l pl
350 php jako interpreter dzia³aj±cy z linii poleceñ.
353 Summary: /usr/bin/php symlink
354 Summary(pl): Dowi±zanie symboliczne /usr/bin/php
355 Group: Development/Languages/PHP
356 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
357 Provides: php(program)
358 Obsoletes: php(program)
361 Package providing /usr/bin/php symlink to PHP CLI.
363 %description program -l pl
364 Pakiet dostarczaj±cy dowi±zanie symboliczne /usr/bin/php do PHP CLI.
367 Summary: Common files needed by both apache module and CGI
368 Summary(pl): Wspólne pliki dla modu³u apache'a i programu CGI
369 Summary(ru): òÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ php
370 Summary(uk): â¦Â̦ÏÔÅËÉ ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÄÌÑ php
372 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
373 Requires: glibc >= 6:2.3.5
376 Provides: %{name}-libxml = %{epoch}:%{version}-%{release}
377 Provides: %{name}-session = %{epoch}:%{version}-%{release}
378 Provides: %{name}-simplexml = %{epoch}:%{version}-%{release}
379 Provides: %{name}-spl = %{epoch}:%{version}-%{release}
380 Provides: %{name}-standard = %{epoch}:%{version}-%{release}
381 Provides: php(modules_api) = %{php_api_version}
382 Provides: php(zend_extension_api) = %{zend_extension_api}
383 Provides: php(zend_module_api) = %{zend_module_api}
384 Provides: php5(debug) = %{php_debug}
385 Provides: php5(thread-safety) = %{zend_zts}
386 Obsoletes: php-pecl-domxml
387 Obsoletes: php-session < 3:4.2.1-2
388 # for the posttrans scriptlet, conflicts because in vserver enviroinment rpm package is not installed.
389 Conflicts: rpm < 4.4.2-0.2
392 Common files needed by both apache module and CGI.
394 %description common -l pl
395 Wspólne pliki dla modu³u apacha i programu CGI.
397 %description common -l ru
398 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÏÂÝÉÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÎÙÈ ×ÁÒÉÁÎÔÏ× ÒÅÁÌÉÚÁÃÉÉ PHP
399 (ÓÁÍÏÄÏÓÔÁÔÏÞÎÏÊ É × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache).
401 %description common -l uk
402 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓЦÌØΦ ÆÁÊÌÉ ÄÌÑ Ò¦ÚÎÉÈ ×ÁÒ¦ÁÎÔ¦× ÒÅÁ̦ÚÁæ§ PHP
403 (ÓÁÍÏÄÏÓÔÁÔÎØϧ ÔÁ × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache).
406 Summary: Files for PHP modules development
407 Summary(pl): Pliki do kompilacji modu³ów PHP
408 Summary(pt_BR): Arquivos de desenvolvimento para PHP
409 Summary(ru): ðÁËÅÔ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÏÓÔÒÏÅÎÉÑ ÒÁÓÛÉÒÅÎÉÊ PHP
410 Summary(uk): ðÁËÅÔ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÏÂÕÄÏ×É ÒÏÚÛÉÒÅÎØ PHP
411 Group: Development/Languages/PHP
412 Requires: %{name}-common = %{epoch}:%{version}-%{release}
417 Obsoletes: php-pear-devel
418 Obsoletes: php4-devel
421 The php-devel package lets you compile dynamic extensions to PHP.
422 Included here is the source for the PHP extensions. Instead of
423 recompiling the whole php binary to add support for, say, oracle,
424 install this package and use the new self-contained extensions
425 support. For more information, read the file
426 README.SELF-CONTAINED-EXTENSIONS.
428 %description devel -l pl
429 Ten pakiet zawiera pliki potrzebne do kompilacji modu³ów PHP. Zamiast
430 rekompilowaæ ca³e php aby dodaæ obs³ugê np. oracle, mo¿na przy u¿yciu
431 tego pakietu skompilowaæ samodzielne rozszerzenie. Wiêcej informacji o
432 samodzielnych rozszerzeniach mo¿na znale¼æ w pliku
433 README.SELF-CONTAINED-EXTENSIONS.
435 %description devel -l pt_BR
436 Este pacote contém arquivos usados no desenvolvimento de programas ou
439 %description devel -l ru
440 ðÁËÅÔ php-devel ÄÁÅÔ ×ÏÚÍÏÖÎÏÓÔØ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÄÉÎÁÍÉÞÅÓËÉÅ ÒÁÓÛÉÒÅÎÉÑ
441 PHP. ðÁËÅÔ ×ËÌÀÞÁÅÔ ÉÓÈÏÄÎÙÊ ËÏÄ ÜÔÉÈ ÒÁÓÛÉÒÅÎÉÊ. ÷ÍÅÓÔÏ ÐÏ×ÔÏÒÎÏÊ
442 ËÏÍÐÉÌÑÃÉÉ ÂÉÎÁÒÎÏÇÏ ÆÁÊÌÁ php ÄÌÑ ÄÏÂÁ×ÌÅÎÉÑ, ÎÁÐÒÉÍÅÒ, ÐÏÄÄÅÒÖËÉ
443 oracle, ÕÓÔÁÎÏ×ÉÔÅ ÜÔÏÔ ÐÁËÅÔ ÄÌÑ ËÏÍÐÉÌÉÒÏ×ÁÎÉÑ ÏÔÄÅÌØÎÙÈ ÒÁÓÛÉÒÅÎÉÊ.
444 ðÏÄÒÏÂÎÏÓÔÉ - × ÆÁÊÌÅ README.SELF-CONTAINED-EXTENSIONS.
446 %description devel -l uk
447 ðÁËÅÔ php-devel ÄÁ¤ ÍÏÖÌÉצÓÔØ ËÏÍЦÌÀ×ÁÔÉ ÄÉÎÁͦÞΦ ÒÏÚÛÉÒÅÎÎÑ PHP.
448 äÏ ÐÁËÅÔÕ ×ËÌÀÞÅÎÏ ×ÉȦÄÎÉÊ ËÏÄ ÄÌÑ ÒÏÚÛÉÒÅÎØ. úÁͦÓÔØ ÐÏ×ÔÏÒÎϧ
449 ËÏÍЦÌÑæ§ ¦ÎÁÒÎÏÇÏ ÆÁÊÌÕ php ÄÌÑ ÄÏÄÁÎÎÑ, ÎÁÐÒÉËÌÁÄ, ЦÄÔÒÉÍËÉ
450 oracle, ×ÓÔÁÎÏצÔØ ÃÅÊ ÐÁËÅÔ ÄÌÑ ËÏÍЦÌÑæ§ ÏËÒÅÍÉÈ ÒÏÚÛÉÒÅÎØ.
451 äÅÔÁÌØΦÛÁ ¦ÎÆÏÒÍÁÃ¦Ñ - × ÆÁÊ̦ README.SELF-CONTAINED-EXTENSIONS.
454 Summary: bcmath extension module for PHP
455 Summary(pl): Modu³ bcmath dla PHP
457 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
458 Requires: %{name}-common = %{epoch}:%{version}-%{release}
461 This is a dynamic shared object (DSO) for PHP that will add bc style
462 precision math functions support.
464 %description bcmath -l pl
465 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
466 matematycznych takich jak w programie bc.
469 Summary: Bzip2 extension module for PHP
470 Summary(pl): Modu³ bzip2 dla PHP
472 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
473 Requires: %{name}-common = %{epoch}:%{version}-%{release}
476 This is a dynamic shared object (DSO) for PHP that will add bzip2
477 compression support to PHP.
479 %description bzip2 -l pl
480 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji bzip2.
483 Summary: Calendar extension module for PHP
484 Summary(pl): Modu³ funkcji kalendarza dla PHP
486 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
487 Requires: %{name}-common = %{epoch}:%{version}-%{release}
489 %description calendar
490 This is a dynamic shared object (DSO) for PHP that will add calendar
493 %description calendar -l pl
494 Modu³ PHP dodaj±cy wsparcie dla kalendarza.
497 Summary: ctype extension module for PHP
498 Summary(pl): Modu³ ctype dla PHP
500 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
501 Requires: %{name}-common = %{epoch}:%{version}-%{release}
504 This is a dynamic shared object (DSO) for PHP that will add ctype
507 %description ctype -l pl
508 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
511 Summary: curl extension module for PHP
512 Summary(pl): Modu³ curl dla PHP
514 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
515 Requires: %{name}-common = %{epoch}:%{version}-%{release}
518 This is a dynamic shared object (DSO) for PHP that will add curl
521 %description curl -l pl
522 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
525 Summary: DBA extension module for PHP
526 Summary(pl): Modu³ DBA dla PHP
528 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
529 Requires: %{name}-common = %{epoch}:%{version}-%{release}
532 This is a dynamic shared object (DSO) for PHP that will add flat-file
533 databases (DBA) support.
535 %description dba -l pl
536 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych opartych na plikach
540 Summary: DBase extension module for PHP
541 Summary(pl): Modu³ DBase dla PHP
543 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
544 Requires: %{name}-common = %{epoch}:%{version}-%{release}
547 This is a dynamic shared object (DSO) for PHP that will add DBase
550 %description dbase -l pl
551 Modu³ PHP ze wsparciem dla DBase.
554 Summary: DOM extension module for PHP
555 Summary(pl): Modu³ DOM dla PHP
557 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
558 Requires: %{name}-common = %{epoch}:%{version}-%{release}
559 # it has some compatibility functions
560 Provides: php-domxml = %{epoch}:%{version}-%{release}
561 Obsoletes: php-domxml <= 3:4.3.8-1
564 This is a dynamic shared object (DSO) for PHP that will add new DOM
567 %description dom -l pl
568 Modu³ PHP dodaj±cy now± obs³ugê DOM.
571 Summary: exif extension module for PHP
572 Summary(pl): Modu³ exif dla PHP
574 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
575 Requires: %{name}-common = %{epoch}:%{version}-%{release}
578 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
579 support in image files.
581 %description exif -l pl
582 Modu³ PHP dodaj±cy obs³ugê znaczników EXIF w plikach obrazków.
585 Summary: FDF extension module for PHP
586 Summary(pl): Modu³ FDF dla PHP
588 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
589 Requires: %{name}-common = %{epoch}:%{version}-%{release}
592 This PHP module adds support for PDF Forms through Adobe FDFTK
595 %description fdf -l pl
596 Modu³ PHP dodaj±cy obs³ugê formularzy PDF poprzez bibliotekê Adobe
600 Summary: filePro extension module for PHP
601 Summary(pl): Modu³ filePro dla PHP
603 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
604 Requires: %{name}-common = %{epoch}:%{version}-%{release}
607 This is a dynamic shared object (DSO) for PHP that will add support
608 for read-only access to filePro databases.
610 %description filepro -l pl
611 Modu³ PHP dodaj±cy mo¿liwo¶æ dostêpu (tylko do odczytu) do baz danych
615 Summary: FTP extension module for PHP
616 Summary(pl): Modu³ FTP dla PHP
618 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
619 Requires: %{name}-common = %{epoch}:%{version}-%{release}
622 This is a dynamic shared object (DSO) for PHP that will add FTP
625 %description ftp -l pl
626 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
629 Summary: GD extension module for PHP
630 Summary(pl): Modu³ GD dla PHP
632 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
633 Requires: %{name}-common = %{epoch}:%{version}-%{release}
634 Requires: gd >= 2.0.28-4
635 Provides: %{name}-gd(gif) = %{epoch}:%{version}-%{release}
638 This is a dynamic shared object (DSO) for PHP that will add GD
639 support, allowing you to create and manipulate images with PHP.
641 %description gd -l pl
642 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD, pozwalaj±cej na
643 tworzenie i obróbkê obrazków.
646 Summary: gettext extension module for PHP
647 Summary(pl): Modu³ gettext dla PHP
649 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
650 Requires: %{name}-common = %{epoch}:%{version}-%{release}
653 This is a dynamic shared object (DSO) for PHP that will add gettext
656 %description gettext -l pl
657 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
660 Summary: gmp extension module for PHP
661 Summary(pl): Modu³ gmp dla PHP
663 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
664 Requires: %{name}-common = %{epoch}:%{version}-%{release}
667 This is a dynamic shared object (DSO) for PHP that will add arbitrary
668 length number support with GNU MP library.
670 %description gmp -l pl
671 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki gmp do obliczeñ na
672 liczbach o dowolnej d³ugo¶ci.
675 Summary: Hyperwave API extension module for PHP
676 Summary(pl): Modu³ API Hyperwave dla PHP
678 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
679 Requires: %{name}-common = %{epoch}:%{version}-%{release}
682 This is a dynamic shared object (DSO) for PHP that will add official
683 Hyperwave API support.
685 %description hwapi -l pl
686 Modu³ PHP dodaj±cy obs³ugê Hyperwave.
689 Summary: iconv extension module for PHP
690 Summary(pl): Modu³ iconv dla PHP
692 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
693 Requires: %{name}-common = %{epoch}:%{version}-%{release}
696 This is a dynamic shared object (DSO) for PHP that will add iconv
699 %description iconv -l pl
700 Modu³ PHP dodaj±cy obs³ugê iconv.
703 Summary: IMAP extension module for PHP
704 Summary(pl): Modu³ IMAP dla PHP
705 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
707 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
708 Requires: %{name}-common = %{epoch}:%{version}-%{release}
711 This is a dynamic shared object (DSO) for PHP that will add IMAP
714 %description imap -l pl
715 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
717 %description imap -l pt_BR
718 Um módulo para aplicações PHP que usam IMAP.
721 Summary: InterBase/Firebird database module for PHP
722 Summary(pl): Modu³ bazy danych InterBase/Firebird dla PHP
724 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
725 Requires: %{name}-common = %{epoch}:%{version}-%{release}
726 %{?with_interbase_inst:Autoreq: false}
728 %description interbase
729 This is a dynamic shared object (DSO) for PHP that will add InterBase
730 and Firebird database support.
732 %description interbase -l pl
733 Modu³ PHP umo¿liwiaj±cy dostêp do baz danych InterBase i Firebird.
736 Summary: LDAP extension module for PHP
737 Summary(pl): Modu³ LDAP dla PHP
738 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
740 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
741 Requires: %{name}-common = %{epoch}:%{version}-%{release}
744 This is a dynamic shared object (DSO) for PHP that will add LDAP
747 %description ldap -l pl
748 Modu³ PHP dodaj±cy obs³ugê LDAP.
750 %description ldap -l pt_BR
751 Um módulo para aplicações PHP que usam LDAP.
754 Summary: mbstring extension module for PHP
755 Summary(pl): Modu³ mbstring dla PHP
757 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
758 Requires: %{name}-common = %{epoch}:%{version}-%{release}
760 %description mbstring
761 This is a dynamic shared object (DSO) for PHP that will add multibyte
764 %description mbstring -l pl
765 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
768 Summary: mcrypt extension module for PHP
769 Summary(pl): Modu³ mcrypt dla PHP
771 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
772 Requires: %{name}-common = %{epoch}:%{version}-%{release}
775 This is a dynamic shared object (DSO) for PHP that will add mcrypt
778 %description mcrypt -l pl
779 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
782 Summary: mhash extension module for PHP
783 Summary(pl): Modu³ mhash dla PHP
785 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
786 Requires: %{name}-common = %{epoch}:%{version}-%{release}
789 This is a dynamic shared object (DSO) for PHP that will add mhash
792 %description mhash -l pl
793 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
796 Summary: mime_magic extension module for PHP
797 Summary(pl): Modu³ mime_magic dla PHP
799 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
800 Requires: %{name}-common = %{epoch}:%{version}-%{release}
801 Requires: /usr/share/file/magic.mime
803 %description mime_magic
804 This PHP module adds support for MIME type lookup via file magic
805 numbers using magic.mime database.
807 %description mime_magic -l pl
808 Modu³ PHP dodaj±cy obs³ugê wyszukiwania typów MIME wed³ug magicznych
809 znaczników plików z u¿yciem bazy danych magic.mime.
812 Summary: ming extension module for PHP
813 Summary(pl): Modu³ ming dla PHP
815 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
816 Requires: %{name}-common = %{epoch}:%{version}-%{release}
819 This is a dynamic shared object (DSO) for PHP that will add ming
820 (Flash - .swf files) support.
822 %description ming -l pl
823 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
827 Summary: msession extension module for PHP
828 Summary(pl): Modu³ msession dla PHP
830 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
831 Requires: %{name}-common = %{epoch}:%{version}-%{release}
833 %description msession
834 This is a dynamic shared object (DSO) for PHP that will allow you to
835 use msession. msession is a high speed session daemon which can run
836 either locally or remotely. It is designed to provide consistent
837 session management for a PHP web farm.
839 %description msession -l pl
840 Modu³ PHP dodaj±cy umo¿liwiaj±cy korzystanie z demona msession. Jest
841 to demon szybkiej obs³ugi sesji, który mo¿e dzia³aæ lokalnie lub na
842 innej maszynie. S³u¿y do zapewniania spójnej obs³ugi sesji dla farmy
846 Summary: MS SQL extension module for PHP
847 Summary(pl): Modu³ MS SQL dla PHP
849 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
850 Requires: %{name}-common = %{epoch}:%{version}-%{release}
853 This is a dynamic shared object (DSO) for PHP that will add MS SQL
854 databases support through FreeTDS library.
856 %description mssql -l pl
857 Modu³ PHP dodaj±cy obs³ugê baz danych MS SQL poprzez bibliotekê
861 Summary: MySQL database module for PHP
862 Summary(pl): Modu³ bazy danych MySQL dla PHP
863 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
865 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
866 Requires: %{name}-common = %{epoch}:%{version}-%{release}
869 This is a dynamic shared object (DSO) for PHP that will add MySQL
872 %description mysql -l pl
873 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
875 %description mysql -l pt_BR
876 Um módulo para aplicações PHP que usam bancos de dados MySQL.
879 Summary: MySQLi module for PHP
880 Summary(pl): Modu³ MySQLi dla PHP
882 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
883 Requires: %{name}-common = %{epoch}:%{version}-%{release}
884 Requires: mysql-libs >= 4.1.0
887 This is a dynamic shared object (DSO) for PHP that will add MySQLi
888 (Improved MySQL) support. The difference between it and mysql module
889 is that it provides access to functionality of MySQL 4.1 and above.
891 %description mysqli -l pl
892 Modu³ PHP umo¿liwiaj±cy udoskonalony dostêp do bazy danych MySQL.
893 Ró¿nic± miêdzy nim a modu³em mysql jest dostêp do funkcjonalno¶ci
894 MySQL w wersji 4.1 i nowszych.
897 Summary: ncurses module for PHP
898 Summary(pl): Modu³ ncurses dla PHP
900 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
901 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
904 This PHP module adds support for ncurses functions (only for cli and
907 %description ncurses -l pl
908 Modu³ PHP dodaj±cy obs³ugê funkcji ncurses (tylko do SAPI cli i cgi).
911 Summary: Oracle 8+ database module for PHP
912 Summary(pl): Modu³ bazy danych Oracle 8+ dla PHP
914 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
915 Requires: %{name}-common = %{epoch}:%{version}-%{release}
919 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
920 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
922 %description oci8 -l pl
923 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7, 8, 9 i 10
924 poprzez interfejs Oracle8 Call-Interface (OCI8).
927 Summary: ODBC extension module for PHP
928 Summary(pl): Modu³ ODBC dla PHP
929 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
931 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
932 Requires: %{name}-common = %{epoch}:%{version}-%{release}
933 Requires: unixODBC >= 2.1.1-3
936 This is a dynamic shared object (DSO) for PHP that will add ODBC
939 %description odbc -l pl
940 Modu³ PHP ze wsparciem dla ODBC.
942 %description odbc -l pt_BR
943 Um módulo para aplicações PHP que usam ODBC.
946 Summary: OpenSSL extension module for PHP
947 Summary(pl): Modu³ OpenSSL dla PHP
949 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
950 Requires: %{name}-common = %{epoch}:%{version}-%{release}
953 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
956 Warning: this is an experimental module.
958 %description openssl -l pl
959 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki OpenSSL.
961 Uwaga: to jest modu³ eksperymentalny.
964 Summary: Process Control extension module for PHP
965 Summary(pl): Modu³ Process Control dla PHP
967 Requires(post,preun): %{name}-program = %{epoch}:%{version}-%{release}
968 Requires: %{name}-program = %{epoch}:%{version}-%{release}
971 This is a dynamic shared object (DSO) for PHP that will add process
972 spawning and control support. It supports functions like fork(),
973 waitpid(), signal() etc.
975 Warning: this is an experimental module. Also, don't use it in
976 webserver environment!
978 %description pcntl -l pl
979 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
980 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
982 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
983 u¿ywania z serwerem WWW - nie próbuj tego!
986 Summary: PCRE extension module for PHP
987 Summary(pl): Modu³ PCRE dla PHP
989 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
990 Requires: %{name}-common = %{epoch}:%{version}-%{release}
993 This is a dynamic shared object (DSO) for PHP that will add Perl
994 Compatible Regular Expression support.
996 %description pcre -l pl
997 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
998 (Perl Compatible Regular Expressions)
1001 Summary: PHP Data Objects (PDO)
1002 Summary(pl): Obs³uga PHP Data Objects (PDO)
1004 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1005 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1006 Obsoletes: php-pecl-PDO
1009 This is a dynamic shared object (DSO) for PHP that will add PDO
1012 %description pdo -l pl
1013 Modu³ PHP dodaj±cy obs³ugê PDO (PHP Data Objects).
1016 Summary: PHP Data Objects (PDO) FreeTDS support
1017 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± FreeTDS
1019 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1020 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1021 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1023 %description pdo-dblib
1024 This is a dynamic shared object (DSO) for PHP that will add PDO
1027 %description pdo-dblib -l pl
1028 Modu³ dla PHP dodaj±cy obs³ugê baz danych FreeTDS za po¶rednictwem
1031 %package pdo-firebird
1032 Summary: PHP Data Objects (PDO) Firebird support
1033 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± Firebirda
1035 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1036 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1037 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1038 Obsoletes: php-pecl-PDO_FIREBIRD
1040 %description pdo-firebird
1041 This is a dynamic shared object (DSO) for PHP that will add PDO
1044 %description pdo-firebird -l pl
1045 Modu³ dla PHP dodaj±cy obs³ugê baz danych Firebird za po¶rednictwem
1049 Summary: PHP Data Objects (PDO) MySQL support
1050 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± MySQL-a
1052 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1053 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1054 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1055 Obsoletes: php-pecl-PDO_MYSQL
1057 %description pdo-mysql
1058 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1061 %description pdo-mysql -l pl
1062 Modu³ dla PHP dodaj±cy obs³ugê baz danych MySQL za po¶rednictwem
1066 Summary: PHP Data Objects (PDO) Oracle support
1067 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± Oracle'a
1069 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1070 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1071 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1072 Obsoletes: php-pecl-PDO_OCI
1074 %description pdo-oci
1075 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1078 %description pdo-oci -l pl
1079 Modu³ dla PHP dodaj±cy obs³ugê baz danych Oracle za po¶rednictwem
1083 Summary: PHP Data Objects (PDO) ODBC support
1084 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± ODBC
1086 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1087 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1088 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1089 Obsoletes: php-pecl-PDO_ODBC
1091 %description pdo-odbc
1092 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1095 %description pdo-odbc -l pl
1096 Modu³ dla PHP dodaj±cy obs³ugê baz danych ODBC za po¶rednictwem
1100 Summary: PHP Data Objects (PDO) PostgreSQL support
1101 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± PostgreSQL-a
1103 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1104 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1105 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1106 Obsoletes: php-pecl-PDO_PGSQL
1108 %description pdo-pgsql
1109 This is a dynamic shared object (DSO) for PHP that will add PDO
1112 %description pdo-pgsql -l pl
1113 Modu³ dla PHP dodaj±cy obs³ugê baz danych PostgreSQL za po¶rednictwem
1117 Summary: PHP Data Objects (PDO) SQLite support
1118 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± SQLite
1120 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1121 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1122 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1123 Obsoletes: php-pecl-PDO_SQLITE
1125 %description pdo-sqlite
1126 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1129 %description pdo-sqlite -l pl
1130 Modu³ dla PHP dodaj±cy obs³ugê baz danych SQLite za po¶rednictwem
1134 Summary: PostgreSQL database module for PHP
1135 Summary(pl): Modu³ bazy danych PostgreSQL dla PHP
1137 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1138 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1141 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1144 %description pgsql -l pl
1145 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
1147 %description pgsql -l pt_BR
1148 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1151 Summary: POSIX extension module for PHP
1152 Summary(pl): Modu³ POSIX dla PHP
1154 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1155 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1158 This is a dynamic shared object (DSO) for PHP that will add POSIX
1159 functions support to PHP.
1161 %description posix -l pl
1162 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
1165 Summary: pspell extension module for PHP
1166 Summary(pl): Modu³ pspell dla PHP
1168 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1169 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1172 This is a dynamic shared object (DSO) for PHP that will add pspell
1173 support to PHP. It allows to check the spelling of a word and offer
1176 %description pspell -l pl
1177 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
1178 sprawdzanie pisowni s³owa i sugerowanie poprawek.
1181 Summary: readline extension module for PHP
1182 Summary(pl): Modu³ readline dla PHP
1184 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
1185 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1187 %description readline
1188 This PHP module adds support for readline functions (only for cli and
1191 %description readline -l pl
1192 Modu³ PHP dodaj±cy obs³ugê funkcji readline (tylko do SAPI cli i cgi).
1195 Summary: recode extension module for PHP
1196 Summary(pl): Modu³ recode dla PHP
1198 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1199 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1200 Requires: recode >= 3.5d-3
1203 This is a dynamic shared object (DSO) for PHP that will add recode
1206 %description recode -l pl
1207 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1211 Summary: session extension module for PHP
1212 Summary(pl): Modu³ session dla PHP
1214 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1215 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1217 %description session
1218 This is a dynamic shared object (DSO) for PHP that will add session
1221 %description session -l pl
1222 Modu³ PHP dodaj±cy obs³ugê sesji.
1225 Summary: Shared Memory Operations extension module for PHP
1226 Summary(pl): Modu³ shmop dla PHP
1228 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1229 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1232 This is a dynamic shared object (DSO) for PHP that will add Shared
1233 Memory Operations support.
1235 Warning: this is an experimental module.
1237 %description shmop -l pl
1238 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1240 Uwaga: to jest modu³ eksperymentalny.
1243 Summary: Simple XML extension module for PHP
1244 Summary(pl): Modu³ prostego rozszerzenia XML dla PHP
1246 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1247 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1249 %description simplexml
1250 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1253 %description simplexml -l pl
1254 Modu³ PHP dodaj±cy obs³ugê prostego XML-a.
1257 Summary: SNMP extension module for PHP
1258 Summary(pl): Modu³ SNMP dla PHP
1260 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1261 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1262 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1265 This is a dynamic shared object (DSO) for PHP that will add SNMP
1268 %description snmp -l pl
1269 Modu³ PHP dodaj±cy obs³ugê SNMP.
1272 Summary: soap extension module for PHP
1273 Summary(pl): Modu³ soap dla PHP
1275 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1276 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1279 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1282 %description soap -l pl
1283 Modu³ PHP dodaj±cy obs³ugê SOAP/WSDL.
1286 Summary: sockets extension module for PHP
1287 Summary(pl): Modu³ socket dla PHP
1289 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1290 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1292 %description sockets
1293 This is a dynamic shared object (DSO) for PHP that will add sockets
1296 Warning: this is an experimental module.
1298 %description sockets -l pl
1299 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1301 Uwaga: to jest modu³ eksperymentalny.
1304 Summary: SQLite extension module for PHP
1305 Summary(pl): Modu³ SQLite dla PHP
1307 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1308 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1309 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1312 SQLite is a C library that implements an embeddable SQL database
1313 engine. Programs that link with the SQLite library can have SQL
1314 database access without running a separate RDBMS process.
1316 SQLite is not a client library used to connect to a big database
1317 server. SQLite is the server. The SQLite library reads and writes
1318 directly to and from the database files on disk.
1320 %description sqlite -l pl
1321 SQLite jest napisan± w C bibliotek± implementuj±c± osadzalny silnik
1322 bazodanowy SQL. Program linkuj±cy siê z bibliotek± SQLite mo¿e mieæ
1323 dostêp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1326 SQLite to nie klient baz danych - biblioteka nie ³±czy siê z serwerami
1327 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1328 zapisuje dane bezpo¶rednio z/do plików baz danych znajduj±cych siê na
1332 Summary: Sybase DB extension module for PHP
1333 Summary(pl): Modu³ Sybase DB dla PHP
1335 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1336 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1337 Obsoletes: php-sybase-ct
1340 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1341 MS SQL databases support through SYBDB library. Currently Sybase
1342 module is not maintained. Using Sybase-CT module is recommended
1345 %description sybase -l pl
1346 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1347 bibliotekê SYBDB. W chwili obecnej modu³ Sybase nie jest wspierany.
1348 Zaleca siê u¿ywanie modu³u Sybase-CT.
1351 Summary: Sybase-CT extension module for PHP
1352 Summary(pl): Modu³ Sybase-CT dla PHP
1354 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1355 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1356 Obsoletes: php-sybase
1358 %description sybase-ct
1359 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1360 MS SQL databases support through CT-lib.
1362 %description sybase-ct -l pl
1363 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1367 Summary: SysV msg extension module for PHP
1368 Summary(pl): Modu³ SysV msg dla PHP
1370 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1371 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1373 %description sysvmsg
1374 This is a dynamic shared object (DSO) for PHP that will add SysV
1375 message queues support.
1377 %description sysvmsg -l pl
1378 Modu³ PHP umo¿liwiaj±cy korzystanie z kolejek komunikatów SysV.
1381 Summary: SysV sem extension module for PHP
1382 Summary(pl): Modu³ SysV sem dla PHP
1384 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1385 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1387 %description sysvsem
1388 This is a dynamic shared object (DSO) for PHP that will add SysV
1391 %description sysvsem -l pl
1392 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1395 Summary: SysV shm extension module for PHP
1396 Summary(pl): Modu³ SysV shm dla PHP
1398 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1399 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1401 %description sysvshm
1402 This is a dynamic shared object (DSO) for PHP that will add SysV
1403 Shared Memory support.
1405 %description sysvshm -l pl
1406 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1409 Summary: Tidy extension module for PHP
1410 Summary(pl): Modu³ Tidy dla PHP
1412 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1413 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1417 This is a dynamic shared object (DSO) for PHP that will add Tidy
1420 %description tidy -l pl
1421 Modu³ PHP umo¿liwiaj±cy korzystanie z tidy.
1424 Summary: tokenizer extension module for PHP
1425 Summary(pl): Modu³ rozszerzenia tokenizer dla PHP
1427 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1428 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1430 %description tokenizer
1431 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1434 %description tokenizer -l pl
1435 Modu³ PHP dodaj±cy obs³ugê tokenizera do PHP.
1438 Summary: wddx extension module for PHP
1439 Summary(pl): Modu³ wddx dla PHP
1441 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1442 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1443 Requires: %{name}-session = %{epoch}:%{version}-%{release}
1444 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1447 This is a dynamic shared object (DSO) for PHP that will add wddx
1450 %description wddx -l pl
1451 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1454 Summary: XML extension module for PHP
1455 Summary(pl): Modu³ XML dla PHP
1457 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1458 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1461 This is a dynamic shared object (DSO) for PHP that will add XML
1462 support. This extension lets you create XML parsers and then define
1463 handlers for different XML events.
1465 %description xml -l pl
1466 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1467 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1468 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1471 Summary: XML Reader extension module for PHP
1472 Summary(pl): Modu³ XML Reader dla PHP
1474 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1475 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1476 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1478 %description xmlreader
1479 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1480 support. The XMLReader extension is an XML Pull parser. The reader
1481 acts as a cursor going forward on the document stream and stopping at
1482 each node on the way.
1484 %description xmlreader -l pl
1485 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML w trybie Pull. Czytnik
1486 dzia³a jako kursor przechodz±cy przez strumieñ dokumentu i
1487 zatrzymuj±cy siê naka¿dym wê¼le po drodze.
1490 Summary: xmlrpc extension module for PHP
1491 Summary(pl): Modu³ xmlrpc dla PHP
1493 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1494 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1497 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1500 Warning: this is an experimental module.
1502 %description xmlrpc -l pl
1503 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1505 Uwaga: to jest modu³ eksperymentalny.
1508 Summary: xsl extension module for PHP
1509 Summary(pl): Modu³ xsl dla PHP
1511 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1512 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1513 Requires: libxslt >= 1.0.18
1514 # actually not true, functionality is similar, but API differs
1515 Obsoletes: php-xslt <= 3:4.3.8-1
1518 This is a dynamic shared object (DSO) for PHP that will add new XSL
1519 support (using libxslt).
1521 %description xsl -l pl
1522 Modu³ PHP dodaj±cy now± obs³ugê XSLT (przy u¿yciu libxslt).
1525 Summary: Zlib extension module for PHP
1526 Summary(pl): Modu³ zlib dla PHP
1528 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1529 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1532 This is a dynamic shared object (DSO) for PHP that will add zlib
1533 compression support to PHP.
1535 %description zlib -l pl
1536 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1540 # this patch is broken by design, breaks --enable-versioning for example
1541 # update: --enable-version is broken by itself, it disables dynamic modules.
1552 cp php.ini-dist php.ini
1554 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1570 %if %{with hardening}
1571 zcat %{SOURCE9} | patch -p1 || exit 1
1572 patch -p1 < %{PATCH30} || exit 1
1580 # conflict seems to be resolved by recode patches
1581 rm -f ext/recode/config9.m4
1584 sed -i -e 's#apr-config#apr-1-config#g' sapi/apache*/*.m4
1586 # remove all bundled libraries not to link with them accidentally
1587 #rm -rf ext/sqlite/libsqlite
1588 #rm -rf ext/bcmath/libbcmath
1589 #rm -rf ext/date/lib
1590 #rm -rf ext/dba/libcdb
1591 #rm -rf ext/dba/libflatfile
1592 #rm -rf ext/dba/libinifile
1593 #rm -rf ext/gd/libgd
1594 #rm -rf ext/mbstring/libmbfl
1595 #rm -rf ext/mbstring/oniguruma
1596 rm -rf ext/pcre/pcrelib
1597 rm -rf ext/pdo_sqlite/sqlite
1598 #rm -rf ext/soap/interop
1599 rm -rf ext/xmlrpc/libxmlrpc
1602 if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then
1603 echo "Set %%define php_api_version to $API and rerun."
1607 if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then
1608 echo "Set %%define zend_module_api to $API and rerun."
1612 if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then
1613 echo "Set %%define zend_extension_api to $API and rerun."
1617 CFLAGS="%{rpmcflags} -DEAPI=1 -I/usr/X11R6/include"
1619 # Apache2 CFLAGS. harmless for other SAPIs.
1620 CFLAGS="$CFLAGS $(%{_bindir}/apr-1-config --includes) $(%{_bindir}/apu-1-config --includes)"
1623 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1624 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1625 rm -f Makefile.{fcgi,cgi,cli,apxs{1,2}} # now remove Makefile copies
1631 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1645 for sapi in $sapis; do
1646 [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1652 echo --enable-discard-path --enable-force-cgi-redirect
1658 echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect
1661 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
1662 echo --with-apxs=%{apxs1} --with-apache-version=$ver
1665 ver=%(rpm -q --qf '%%{version}' apache-apxs)
1666 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
1670 --cache-file=config.cache \
1671 --with-libdir=%{_lib} \
1672 --with-config-file-path=%{_sysconfdir} \
1673 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1674 --with-exec-dir=%{_bindir} \
1675 --%{!?debug:dis}%{?debug:en}able-debug \
1676 %{?with_zts:--enable-maintainer-zts} \
1677 --enable-inline-optimization \
1678 --enable-memory-limit \
1679 --enable-bcmath=shared \
1680 --enable-calendar=shared \
1681 --enable-ctype=shared \
1682 --enable-dba=shared \
1685 --enable-dom=shared \
1686 --enable-exif=shared \
1687 --enable-filepro=shared \
1688 --enable-ftp=shared \
1689 --enable-gd-native-ttf \
1690 --enable-gd-jus-conf \
1692 --enable-magic-quotes \
1693 --enable-mbstring=shared,all \
1695 --enable-pcntl=shared \
1696 --enable-pdo=shared \
1697 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
1698 --with-pdo-dblib=shared \
1700 %if %{with interbase} && %{without interbase_inst}
1701 --with-pdo-firebird=shared \
1703 --with-pdo-mysql=shared \
1704 %{?with_oci8:--with-pdo-oci=shared} \
1705 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1706 %{?with_pgsql:--with-pdo-pgsql=shared} \
1707 %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
1708 --enable-posix=shared \
1709 --enable-reflection \
1712 --enable-shmop=shared \
1713 --enable-simplexml \
1714 --enable-sysvmsg=shared \
1715 --enable-sysvsem=shared \
1716 --enable-sysvshm=shared \
1717 --enable-track-vars \
1718 --enable-trans-sid \
1719 --enable-safe-mode \
1720 --enable-soap=shared \
1721 --enable-sockets=shared \
1722 --enable-tokenizer=shared \
1723 --enable-ucd-snmp-hack \
1724 %{?with_wddx:--enable-wddx=shared} \
1725 --enable-xml=shared \
1726 --enable-xmlreader=shared \
1728 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1729 %{?with_db3:--with-db3}%{!?with_db3:--with-db4} \
1730 --enable-dbase=shared \
1732 --with-expat-dir=shared,/usr \
1734 --without-expat-dir \
1736 %{?with_fdf:--with-fdftk=shared} \
1737 --with-iconv=shared \
1738 --with-filepro=shared \
1739 --with-freetype-dir=shared \
1740 --with-gettext=shared \
1741 --with-gd=shared,/usr \
1744 %{?with_hwapi:--with-hwapi=shared} \
1745 %{?with_imap:--with-imap=shared --with-imap-ssl} \
1746 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1747 --with-jpeg-dir=/usr \
1748 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1749 --with-mcrypt=shared \
1750 %{?with_mhash:--with-mhash=shared} \
1751 %{?with_mime_magic:--with-mime-magic=shared,/usr/share/file/magic.mime}%{!?with_mime_magic:--disable-mime-magic} \
1752 %{?with_ming:--with-ming=shared} \
1753 %{?with_mm:--with-mm} \
1754 %{?with_msession:--with-msession=shared}%{!?with_msession:--without-msession} \
1755 %{?with_mssql:--with-mssql=shared} \
1756 --with-mysql=shared,/usr \
1757 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1758 %{?with_mysqli:--with-mysqli=shared} \
1759 --with-ncurses=shared \
1760 %{?with_oci8:--with-oci8=shared} \
1761 %{?with_openssl:--with-openssl=shared} \
1763 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared,/usr} \
1764 --with-pear=%{php_pear_dir} \
1765 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1766 --with-png-dir=/usr \
1767 %{?with_pspell:--with-pspell=shared} \
1768 --with-readline=shared \
1769 %{?with_recode:--with-recode=shared} \
1771 --without-sablot-js \
1772 %{?with_snmp:--with-snmp=shared} \
1773 %{?with_sybase:--with-sybase=shared,/usr} \
1774 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1775 %{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1776 --with-t1lib=shared \
1777 %{?with_tidy:--with-tidy=shared} \
1778 --with-tiff-dir=/usr \
1779 %{?with_odbc:--with-unixODBC=shared,/usr} \
1780 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1782 --with-zlib=shared \
1783 --with-zlib-dir=shared,/usr
1785 cp -f Makefile Makefile.$sapi
1786 cp -f main/php_config.h php_config.h.$sapi
1789 # for now session_mm doesn't work with shared session module...
1790 # --enable-session=shared
1791 # %{!?with_mm:--with-mm=shared,no}%{?with_mm:--with-mm=shared}
1793 %{__make} build-modules
1795 %{__make} libphp_common.la
1796 # fix install paths, avoid evil rpaths
1797 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" libphp_common.la
1800 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1802 s|^libdir=.*|libdir='%{_libdir}/apache1'|;
1803 s|^(relink_command=.* -rpath )[^ ]*/libs |$1%{_libdir}/apache1 |" sapi/apache/libphp5.la
1807 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1809 s|^libdir=.*|libdir='%{_libdir}/apache'|;
1810 s|^(relink_command=.* -rpath )[^ ]*/libs |$1%{_libdir}/apache |" sapi/apache2handler/libphp5.la
1815 cp -af php_config.h.fcgi main/php_config.h
1816 %{__make} sapi/cgi/php -f Makefile.fcgi
1817 cp -r sapi/cgi sapi/fcgi
1818 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1822 cp -af php_config.h.cgi main/php_config.h
1823 %{__make} sapi/cgi/php -f Makefile.cgi
1826 cp -af php_config.h.cli main/php_config.h
1827 %{__make} sapi/cli/php -f Makefile.cli
1830 rm -rf $RPM_BUILD_ROOT
1831 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi},%{_phpsharedir}} \
1832 $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
1833 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1834 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/httpd.conf} \
1835 $RPM_BUILD_ROOT%{_mandir}/man1 \
1837 # install apache1 DSO module
1839 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1/
1842 # install apache2 DSO module
1844 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache/
1847 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1849 # install the apache modules' files
1850 %{__make} install-headers install-build install-modules install-programs \
1851 INSTALL_ROOT=$RPM_BUILD_ROOT
1853 # as of 5.0.5, phpextdist isn't installed by default
1854 install scripts/dev/phpextdist $RPM_BUILD_ROOT%{_bindir}
1857 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php.cgi
1861 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php.fcgi
1865 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
1866 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
1867 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
1870 # Why make install doesn't install libphp5.so ?
1871 #install libs/libphp5.so $RPM_BUILD_ROOT%{apachelib}
1873 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1875 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1877 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1879 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1880 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1881 install %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir}
1882 install %{SOURCE1} .
1885 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
1886 install %{SOURCE4} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
1887 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1888 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
1892 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1893 install %{SOURCE4} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1894 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1895 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
1898 cp -f Zend/LICENSE{,.Zend}
1900 # Generate stub .ini files for each subpackage
1901 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1902 for so in modules/*.so; do
1903 mod=$(basename $so .so)
1904 conf="%{_sysconfdir}/conf.d/${mod}.ini"
1905 # xml needs to be loaded before wddx
1906 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_${mod}.ini"
1907 cat > $RPM_BUILD_ROOT${conf} <<EOF
1908 ; Enable ${mod} extension module
1913 # Not in all SAPI, so don't need the .ini fragments.
1914 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/{ncurses,pcntl,readline}.ini
1916 # use system automake and {lib,sh}tool
1917 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
1918 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
1919 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
1920 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
1923 rm -rf $RPM_BUILD_ROOT
1926 if [ "$1" = "1" ]; then
1928 %service -q apache restart
1931 %service -q httpd restart
1936 if [ "$1" = "0" ]; then
1938 %service -q apache restart
1941 %service -q httpd restart
1945 %post -n apache1-mod_php
1946 if [ "$1" = "1" ]; then
1947 %service -q apache restart
1950 %postun -n apache1-mod_php
1951 if [ "$1" = "0" ]; then
1952 %service -q apache restart
1955 %post -n apache-mod_php
1956 if [ "$1" = "1" ]; then
1957 %service -q httpd restart
1960 %postun -n apache-mod_php
1961 if [ "$1" = "0" ]; then
1962 %service -q httpd restart
1965 # so tired of typing... so decided to create macros
1966 # macro called at extension post scriptlet
1967 %define extension_post \
1968 if [ "$1" = "1" ]; then \
1969 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1970 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1973 # macro called at extension postun scriptlet
1974 %define extension_postun \
1975 if [ "$1" = "0" ]; then \
1976 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1977 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1980 %post common -p /sbin/ldconfig
1981 %postun common -p /sbin/ldconfig
1984 # minimizing apache restarts logics. we restart webserver:
1986 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1987 # 2. first install of extension (post: $1 = 1)
1988 # 2. uninstall of extension (postun: $1 == 0)
1990 # the strict internal deps between extensions (and apache modules) and
1991 # common package are very important for all this to work.
1993 # restart webserver at the end of transaction
1994 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
1995 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
1998 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
2000 /^AddType application\/x-httpd-php \.php/s,^,#,
2001 /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
2002 ' /etc/apache/apache.conf
2003 %service -q apache restart
2007 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
2008 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
2009 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
2010 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
2011 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2190 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2191 %{_sbindir}/php-module-install install ncurses %{_sysconfdir}/php-cgi.ini
2193 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2194 %{_sbindir}/php-module-install install ncurses %{_sysconfdir}/php-cli.ini
2198 if [ "$1" = "0" ]; then
2199 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2200 %{_sbindir}/php-module-install remove ncurses %{_sysconfdir}/php-cgi.ini
2202 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2203 %{_sbindir}/php-module-install remove ncurses %{_sysconfdir}/php-cli.ini
2226 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2227 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php-cgi.ini
2229 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2230 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php-cli.ini
2234 if [ "$1" = "0" ]; then
2235 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2236 %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php-cgi.ini
2238 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2239 %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php-cli.ini
2258 %postun pdo-firebird
2304 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2305 %{_sbindir}/php-module-install install readline %{_sysconfdir}/php-cgi.ini
2307 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2308 %{_sbindir}/php-module-install install readline %{_sysconfdir}/php-cli.ini
2312 if [ "$1" = "0" ]; then
2313 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2314 %{_sbindir}/php-module-install remove readline %{_sysconfdir}/php-cgi.ini
2316 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2317 %{_sbindir}/php-module-install remove readline %{_sysconfdir}/php-cli.ini
2350 if [ "$1" = "0" ]; then
2351 %{_sbindir}/php-module-install remove soap %{_sysconfdir}/php.ini
2444 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2445 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
2447 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2448 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove bzip2 %{_sysconfdir}/php.ini
2450 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2451 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
2453 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2454 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ctype %{_sysconfdir}/php.ini
2456 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2457 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
2459 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2460 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
2462 %triggerun dbase -- %{name}-dbase < 4:5.0.4-9.1
2463 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
2465 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2466 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dom %{_sysconfdir}/php.ini
2468 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2469 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
2471 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2472 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove fdf %{_sysconfdir}/php.ini
2474 %triggerun filepro -- %{name}-filepro < 4:5.0.4-9.1
2475 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
2477 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2478 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
2480 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2481 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
2483 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2484 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
2486 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2487 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gmp %{_sysconfdir}/php.ini
2489 %triggerun hwapi -- %{name}-hwapi < 4:5.0.4-9.1
2490 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove hwapi %{_sysconfdir}/php.ini
2492 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2493 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove iconv %{_sysconfdir}/php.ini
2495 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2496 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
2498 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2499 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove interbase %{_sysconfdir}/php.ini
2501 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2502 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
2504 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2505 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mbstring %{_sysconfdir}/php.ini
2507 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2508 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
2510 %triggerun mhash -- %{name}-mhash < 4:5.0.4-9.1
2511 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
2513 %triggerun mime_magic -- %{name}-mime_magic < 4:5.0.4-9.1
2514 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mime_magic %{_sysconfdir}/php.ini
2516 %triggerun ming -- %{name}-ming < 4:5.0.4-9.1
2517 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
2519 %triggerun msession -- %{name}-msession < 4:5.0.4-9.1
2520 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove msession %{_sysconfdir}/php.ini
2522 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2523 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mssql %{_sysconfdir}/php.ini
2525 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2526 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
2528 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2529 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mysqli %{_sysconfdir}/php.ini
2531 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2532 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
2534 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2535 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
2537 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2538 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove openssl %{_sysconfdir}/php.ini
2540 %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1
2541 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
2543 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2544 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
2546 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2547 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
2549 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2550 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pspell %{_sysconfdir}/php.ini
2552 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2553 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
2555 %triggerun session -- %{name}-session < 4:5.0.4-9.1
2556 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
2558 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2559 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove shmop %{_sysconfdir}/php.ini
2561 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2562 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
2564 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2565 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove soap %{_sysconfdir}/php.ini
2567 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2568 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
2570 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2571 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sqlite %{_sysconfdir}/php.ini
2573 %triggerun sybase -- %{name}-sybase < 4:5.0.4-9.1
2574 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sybase %{_sysconfdir}/php.ini
2576 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2577 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sybase-ct %{_sysconfdir}/php.ini
2579 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2580 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvmsg %{_sysconfdir}/php.ini
2582 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2583 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
2585 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2586 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
2588 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2589 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove tidy %{_sysconfdir}/php.ini
2591 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2592 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
2594 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2595 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
2597 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2598 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xmlrpc %{_sysconfdir}/php.ini
2600 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2601 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xsl %{_sysconfdir}/php.ini
2603 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2604 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
2607 %files -n apache1-mod_php
2608 %defattr(644,root,root,755)
2609 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2610 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2611 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2612 /home/services/apache/icons/*
2616 %files -n apache-mod_php
2617 %defattr(644,root,root,755)
2618 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php.conf
2619 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2620 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2621 /home/services/httpd/icons/*
2626 %defattr(644,root,root,755)
2627 %doc sapi/cgi/README.FastCGI
2628 %attr(755,root,root) %{_bindir}/php.fcgi
2629 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2633 %defattr(644,root,root,755)
2634 %attr(755,root,root) %{_bindir}/php.cgi
2635 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2638 %defattr(644,root,root,755)
2639 %attr(755,root,root) %{_bindir}/php.cli
2640 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2641 %{_mandir}/man1/php.1*
2642 %{_mandir}/man1/php.cli.1*
2645 %defattr(644,root,root,755)
2646 %attr(755,root,root) %{_bindir}/php
2649 %defattr(644,root,root,755)
2651 %doc CREDITS Zend/ZEND_CHANGES
2652 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2655 %dir %{_sysconfdir}/conf.d
2656 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2657 %attr(755,root,root) %{_sbindir}/php-module-install
2658 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2659 %dir %{extensionsdir}
2660 %dir %{_phpsharedir}
2662 # session_mm doesn't work with shared session
2664 #%defattr(644,root,root,755)
2665 #%attr(755,root,root) %{extensionsdir}/session.so
2666 %doc ext/session/mod_files.sh
2669 %defattr(644,root,root,755)
2670 %doc README.UNIX-BUILD-SYSTEM
2671 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2672 %doc CODING_STANDARDS
2673 %attr(755,root,root) %{_bindir}/phpextdist
2674 %attr(755,root,root) %{_bindir}/phpize
2675 %attr(755,root,root) %{_bindir}/php-config
2676 %attr(755,root,root) %{_libdir}/libphp_common.so
2677 %{_libdir}/libphp_common.la
2679 %{_libdir}/php/build
2683 %defattr(644,root,root,755)
2684 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2685 %attr(755,root,root) %{extensionsdir}/bcmath.so
2688 %defattr(644,root,root,755)
2689 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2690 %attr(755,root,root) %{extensionsdir}/bz2.so
2693 %defattr(644,root,root,755)
2694 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2695 %attr(755,root,root) %{extensionsdir}/calendar.so
2698 %defattr(644,root,root,755)
2699 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2700 %attr(755,root,root) %{extensionsdir}/ctype.so
2704 %defattr(644,root,root,755)
2705 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2706 %attr(755,root,root) %{extensionsdir}/curl.so
2710 %defattr(644,root,root,755)
2711 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2712 %attr(755,root,root) %{extensionsdir}/dba.so
2715 %defattr(644,root,root,755)
2716 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2717 %attr(755,root,root) %{extensionsdir}/dbase.so
2720 %defattr(644,root,root,755)
2721 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2722 %attr(755,root,root) %{extensionsdir}/dom.so
2726 %defattr(644,root,root,755)
2727 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2728 %attr(755,root,root) %{extensionsdir}/fdf.so
2732 %defattr(644,root,root,755)
2733 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2734 %attr(755,root,root) %{extensionsdir}/exif.so
2737 %defattr(644,root,root,755)
2738 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filepro.ini
2739 %attr(755,root,root) %{extensionsdir}/filepro.so
2742 %defattr(644,root,root,755)
2743 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2744 %attr(755,root,root) %{extensionsdir}/ftp.so
2747 %defattr(644,root,root,755)
2748 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2749 %attr(755,root,root) %{extensionsdir}/gd.so
2752 %defattr(644,root,root,755)
2753 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2754 %attr(755,root,root) %{extensionsdir}/gettext.so
2757 %defattr(644,root,root,755)
2758 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2759 %attr(755,root,root) %{extensionsdir}/gmp.so
2763 %defattr(644,root,root,755)
2764 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hwapi.ini
2765 %attr(755,root,root) %{extensionsdir}/hwapi.so
2769 %defattr(644,root,root,755)
2770 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2771 %attr(755,root,root) %{extensionsdir}/iconv.so
2775 %defattr(644,root,root,755)
2776 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2777 %attr(755,root,root) %{extensionsdir}/imap.so
2780 %if %{with interbase}
2782 %defattr(644,root,root,755)
2783 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2784 %attr(755,root,root) %{extensionsdir}/interbase.so
2789 %defattr(644,root,root,755)
2790 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2791 %attr(755,root,root) %{extensionsdir}/ldap.so
2795 %defattr(644,root,root,755)
2796 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2797 %attr(755,root,root) %{extensionsdir}/mbstring.so
2800 %defattr(644,root,root,755)
2801 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2802 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2806 %defattr(644,root,root,755)
2807 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2808 %attr(755,root,root) %{extensionsdir}/mhash.so
2811 %if %{with mime_magic}
2813 %defattr(644,root,root,755)
2814 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2815 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2820 %defattr(644,root,root,755)
2821 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2822 %attr(755,root,root) %{extensionsdir}/ming.so
2825 %if %{with msession}
2827 %defattr(644,root,root,755)
2828 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/msession.ini
2829 %attr(755,root,root) %{extensionsdir}/msession.so
2834 %defattr(644,root,root,755)
2835 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2836 %attr(755,root,root) %{extensionsdir}/mssql.so
2840 %defattr(644,root,root,755)
2841 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2842 %attr(755,root,root) %{extensionsdir}/mysql.so
2846 %defattr(644,root,root,755)
2847 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2848 %attr(755,root,root) %{extensionsdir}/mysqli.so
2852 %defattr(644,root,root,755)
2853 %attr(755,root,root) %{extensionsdir}/ncurses.so
2857 %defattr(644,root,root,755)
2858 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2859 %attr(755,root,root) %{extensionsdir}/oci8.so
2864 %defattr(644,root,root,755)
2865 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2866 %attr(755,root,root) %{extensionsdir}/odbc.so
2871 %defattr(644,root,root,755)
2872 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2873 %attr(755,root,root) %{extensionsdir}/openssl.so
2877 %defattr(644,root,root,755)
2878 %attr(755,root,root) %{extensionsdir}/pcntl.so
2882 %defattr(644,root,root,755)
2883 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcre.ini
2884 %attr(755,root,root) %{extensionsdir}/pcre.so
2888 %defattr(644,root,root,755)
2889 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2890 %attr(755,root,root) %{extensionsdir}/pdo.so
2892 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
2894 %defattr(644,root,root,755)
2895 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2896 %attr(755,root,root) %{extensionsdir}/pdo_dblib.so
2899 %if %{with interbase} && %{without interbase_inst}
2901 %defattr(644,root,root,755)
2902 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2903 %attr(755,root,root) %{extensionsdir}/pdo_firebird.so
2907 %defattr(644,root,root,755)
2908 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2909 %attr(755,root,root) %{extensionsdir}/pdo_mysql.so
2913 %defattr(644,root,root,755)
2914 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2915 %attr(755,root,root) %{extensionsdir}/pdo_oci.so
2920 %defattr(644,root,root,755)
2921 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2922 %attr(755,root,root) %{extensionsdir}/pdo_odbc.so
2927 %defattr(644,root,root,755)
2928 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2929 %attr(755,root,root) %{extensionsdir}/pdo_pgsql.so
2934 %defattr(644,root,root,755)
2935 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2936 %attr(755,root,root) %{extensionsdir}/pdo_sqlite.so
2941 %defattr(644,root,root,755)
2942 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2943 %attr(755,root,root) %{extensionsdir}/pgsql.so
2947 %defattr(644,root,root,755)
2948 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2949 %attr(755,root,root) %{extensionsdir}/posix.so
2953 %defattr(644,root,root,755)
2954 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2955 %attr(755,root,root) %{extensionsdir}/pspell.so
2959 %defattr(644,root,root,755)
2960 %attr(755,root,root) %{extensionsdir}/readline.so
2964 %defattr(644,root,root,755)
2965 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2966 %attr(755,root,root) %{extensionsdir}/recode.so
2970 # simplexml is needed by spl, and spl can't be built shared as of now (5.1.0RC3)
2972 %defattr(644,root,root,755)
2973 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2974 %attr(755,root,root) %{extensionsdir}/simplexml.so
2978 %defattr(644,root,root,755)
2979 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2980 %attr(755,root,root) %{extensionsdir}/shmop.so
2984 %defattr(644,root,root,755)
2985 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2986 %attr(755,root,root) %{extensionsdir}/snmp.so
2990 %defattr(644,root,root,755)
2991 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2992 %attr(755,root,root) %{extensionsdir}/soap.so
2995 %defattr(644,root,root,755)
2996 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2997 %attr(755,root,root) %{extensionsdir}/sockets.so
3001 %defattr(644,root,root,755)
3002 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
3003 %attr(755,root,root) %{extensionsdir}/sqlite.so
3008 %defattr(644,root,root,755)
3009 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
3010 %attr(755,root,root) %{extensionsdir}/sybase.so
3013 %if %{with sybase_ct}
3015 %defattr(644,root,root,755)
3016 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3017 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
3021 %defattr(644,root,root,755)
3022 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3023 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
3026 %defattr(644,root,root,755)
3027 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3028 %attr(755,root,root) %{extensionsdir}/sysvsem.so
3031 %defattr(644,root,root,755)
3032 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3033 %attr(755,root,root) %{extensionsdir}/sysvshm.so
3037 %defattr(644,root,root,755)
3038 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3039 %attr(755,root,root) %{extensionsdir}/tidy.so
3043 %defattr(644,root,root,755)
3044 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3045 %attr(755,root,root) %{extensionsdir}/tokenizer.so
3049 %defattr(644,root,root,755)
3050 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3051 %attr(755,root,root) %{extensionsdir}/wddx.so
3055 %defattr(644,root,root,755)
3056 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3057 %attr(755,root,root) %{extensionsdir}/xml.so
3060 %defattr(644,root,root,755)
3061 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3062 %attr(755,root,root) %{extensionsdir}/xmlreader.so
3066 %defattr(644,root,root,755)
3067 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3068 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
3072 %defattr(644,root,root,755)
3073 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3074 %attr(755,root,root) %{extensionsdir}/xsl.so
3077 %defattr(644,root,root,755)
3078 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3079 %attr(755,root,root) %{extensionsdir}/zlib.so