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
52 %bcond_with versioning # build with experimental versioning (to load php4/php5 into same apache)
54 %define apxs1 /usr/sbin/apxs1
55 %define apxs2 /usr/sbin/apxs
57 # some problems with apache 2.x
62 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
63 %undefine with_interbase
66 %if %{without apache1} && %{without apache2}
67 ERROR: You need to select at least one Apache SAPI to build shared modules.
72 %undefine with_msession
76 Summary: PHP: Hypertext Preprocessor
77 Summary(fr): Le langage de script embarque-HTML PHP
78 Summary(pl): Jêzyk skryptowy PHP
79 Summary(pt_BR): A linguagem de script PHP
80 Summary(ru): PHP ÷ÅÒÓÉÉ 5 - ÑÚÙË ÐÒÅÐÒÏÃÅÓÓÉÒÏ×ÁÎÉÑ HTML-ÆÁÊÌÏ×, ×ÙÐÏÌÎÑÅÍÙÊ ÎÁ ÓÅÒ×ÅÒÅ
81 Summary(uk): PHP ÷ÅÒÓ¦§ 5 - ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
84 Release: %{_rel}%{?with_hardening:hardened}
88 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
89 # Source0-md5: 79cee17e9db85be878000a2a4198378e
92 Source3: %{name}-module-install
93 Source4: %{name}-mod_%{name}.conf
94 Source5: %{name}-cgi-fcgi.ini
95 Source6: %{name}-cgi.ini
96 Source7: %{name}-apache.ini
97 Source8: %{name}-cli.ini
98 Source9: http://www.hardened-php.net/hardening-patch-5.0.4-0.3.0.patch.gz
99 # Source9-md5: 47a742fa9fab2826ad10c13a2376111a
100 Patch0: %{name}-shared.patch
101 Patch1: %{name}-pldlogo.patch
102 Patch2: %{name}-mail.patch
103 Patch3: %{name}-link-libs.patch
104 Patch4: %{name}-libpq_fs_h_path.patch
105 Patch5: %{name}-msession-shared-lib.patch
106 Patch6: %{name}-build_modules.patch
107 Patch7: %{name}-sapi-ini-file.patch
108 Patch8: %{name}-no-metaccld.patch
109 Patch9: %{name}-reflection.patch
110 Patch10: %{name}-ini.patch
111 Patch11: %{name}-acam.patch
112 Patch14: %{name}-allow-db31.patch
113 Patch15: %{name}-threads-acfix.patch
114 Patch16: %{name}-tsrmlsfetchgcc2.patch
115 Patch17: %{name}-no_pear_install.patch
116 Patch18: %{name}-zlib.patch
117 Patch19: %{name}-sybase-fix.patch
118 Patch20: %{name}-readline.patch
119 Patch21: %{name}-nohttpd.patch
120 Patch23: %{name}-gd_imagerotate_enable.patch
121 Patch24: %{name}-uint32_t.patch
122 Patch25: %{name}-hwapi-link.patch
123 Patch26: %{name}-dba-link.patch
124 Patch30: %{name}-hardening-fix.patch
125 Patch31: %{name}-both-apxs.patch
126 Patch32: %{name}-builddir.patch
127 Patch33: %{name}-zlib-for-getimagesize.patch
128 Patch34: %{name}-ini-search-path.patch
129 # Very big hack that is sane only with non-thread MPMs.
130 # The case with threaded MPMs is lost even without this hack.
131 # http://bugs.php.net/bug.php?id=36152
132 Patch35: %{name}-openssl-huge-hack.patch
133 Patch36: %{name}-versioning.patch
134 Patch37: %{name}-linkflags-clean.patch
135 URL: http://www.php.net/
136 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
137 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
138 BuildRequires: autoconf >= 2.53
139 BuildRequires: automake >= 1.4d
141 BuildRequires: bzip2-devel
142 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
143 BuildRequires: cyrus-sasl-devel
144 %{!?with_db3:BuildRequires: db-devel >= 4.0}
145 %{?with_db3:BuildRequires: db3-devel >= 3.1}
146 BuildRequires: elfutils-devel
148 BuildRequires: expat-devel
150 %{?with_fcgi:BuildRequires: fcgi-devel}
151 %{?with_fdf:BuildRequires: fdftk-devel}
153 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
154 BuildRequires: freetds-devel
156 BuildRequires: freetype-devel >= 2.0
157 BuildRequires: gd-devel >= 2.0.28-4
158 BuildRequires: gdbm-devel
159 BuildRequires: gmp-devel
160 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
161 BuildRequires: libjpeg-devel
162 BuildRequires: libltdl-devel >= 1.4
163 BuildRequires: libmcrypt-devel >= 2.4.4
164 BuildRequires: libpng-devel >= 1.0.8
165 BuildRequires: libtiff-devel
166 BuildRequires: libtool >= 1.4.3
167 BuildRequires: libwrap-devel
168 BuildRequires: libxml2-devel >= 2.5.10
169 BuildRequires: libxslt-devel >= 1.0.18
170 %{?with_mhash:BuildRequires: mhash-devel}
171 %{?with_ming:BuildRequires: ming-devel >= 0.1.0}
172 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
173 BuildRequires: mysql-devel >= 4.0.0
174 %{?with_mysqli:BuildRequires: mysql-devel >= 4.1.0}
175 BuildRequires: ncurses-ext-devel
176 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
177 %if %{with openssl} || %{with ldap}
178 BuildRequires: openssl-devel >= 0.9.7d
180 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
181 BuildRequires: pam-devel
182 %{?with_pcre:BuildRequires: pcre-devel}
183 %{?with_msession:BuildRequires: phoenix-devel}
184 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
185 %{?with_pgsql:BuildRequires: postgresql-devel}
186 BuildRequires: readline-devel
187 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
188 BuildRequires: rpm-build >= 4.4.0
189 BuildRequires: rpmbuild(macros) >= 1.238
190 %{?with_sqlite:BuildRequires: sqlite-devel}
191 %{?with_sqlite:BuildRequires: sqlite3-devel}
192 BuildRequires: t1lib-devel
193 %{?with_tidy:BuildRequires: tidy-devel}
194 %{?with_odbc:BuildRequires: unixODBC-devel}
195 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
196 BuildRequires: zlib-devel >= 1.0.9
198 BuildRequires: apache1-devel
201 BuildRequires: apache-devel >= 2.0.52-2
202 BuildRequires: apr-devel >= 1:1.0.0
203 BuildRequires: apr-util-devel >= 1:1.0.0
205 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
207 %define _sysconfdir /etc/php
208 %define _phpsharedir %{_datadir}/php
209 %define extensionsdir %{_libdir}/php
211 # must be in sync with source. extra check ensuring that it is so is done in %%build
212 %define php_api_version 20041225
213 %define zend_module_api 20050922
214 %define zend_extension_api 220051025
215 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
216 %define php_debug %{!?debug:0}%{?debug:1}
219 PHP is an HTML-embedded scripting language. PHP attempts to make it
220 easy for developers to write dynamically generated web pages. PHP also
221 offers built-in database integration for several commercial and
222 non-commercial database management systems, so writing a
223 database-enabled web page with PHP is fairly simple. The most common
224 use of PHP coding is probably as a replacement for CGI scripts. The
225 mod_php module enables the Apache web server to understand and process
226 the embedded PHP language in web pages. This package contains php
227 version %{version}. If you use applications which specifically rely on
228 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
229 module contained in the phpfi package. If you're just starting with
230 PHP, you should install this package. You'll also need to install the
234 PHP est un langage de script embarque dans le HTM. PHP essaye de
235 rendre simple aux developpeurs d'ecrire des pages web generees
236 dynamiquement. PHP incorpore egalement une integration avec plusieurs
237 systemes de gestion de bases de donnees commerciaux et
238 non-connerciaux, qui rent facile la creation de pages web liees avec
239 des bases de donnees. L'utilisation la plus commune de PHP est
240 probablement en remplacement de scripts CGI. Le module mod_php permet
241 au serveur web apache de comprendre et de traiter le langage PHP
242 integre dans des pages web. Ce package contient php version
243 %{version}. Si vous utilisez des applications qui utilisent
244 specifiquement PHP/FI, vous devrez installer le module PHP/FI inclus
245 dans le package mod_php. Si vous debutez avec PHP, vous devriez
246 installer ce package. Vous aurez egalement besoin dinstaller le
250 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
251 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
252 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
253 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
254 zosta³a z jêzyków: C, Java i Perl.
256 %description -l pt_BR
257 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
258 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
259 com algumas características únicas, específicas ao PHP. O objetivo da
260 linguagem é permitir que desenvolvedores web escrevam páginas
261 dinamicamente geradas de forma rápida.
264 PHP - ÜÔÏ ÑÚÙË ÎÁÐÉÓÁÎÉÑ ÓËÒÉÐÔÏ×, ×ÓÔÒÁÉ×ÁÅÍÙÈ × HTML-ËÏÄ. PHP
265 ÐÒÅÄÌÁÇÁÅÔ ÉÎÔÅÒÇÒÁÃÉÀ Ó ÍÎÏÖÅÓÔ×ÏÍ óõâä, ÐÏÜÔÏÍÕ ÎÁÐÉÓÁÎÉÅ ÓËÒÉÐÔÏ×
266 ÄÌÑ ÒÁÂÏÔÙ Ó ÂÁÚÁÍÉ ÄÁÎÎÙÈ ÏÔÎÏÓÉÔÅÌØÎÏ ÐÒÏÓÔÏ. îÁÉÂÏÌÅÅ ÐÏÐÕÌÑÒÎÏÅ
267 ÉÓÐÏÌØÚÏ×ÁÎÉÅ PHP - ÚÁÍÅÎÁ ÄÌÑ CGI ÓËÒÉÐÔÏ×.
269 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÁÍÏÄÏÓÔÁÔÏÞÎÕÀ (CGI) ×ÅÒÓÉÀ ÉÎÔÅÒÐÒÅÔÁÔÏÒÁ ÑÚÙËÁ.
270 ÷Ù ÄÏÌÖÎÙ ÔÁËÖÅ ÕÓÔÁÎÏ×ÉÔØ ÐÁËÅÔ %{name}-common. åÓÌÉ ×ÁÍ ÎÕÖÅÎ
271 ÉÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache, ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ
275 PHP - ÃÅ ÍÏ×Á ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦×, ÝÏ ×ÂÕÄÏ×ÕÀÔØÓÑ × HTML-ËÏÄ. PHP
276 ÐÒÏÐÏÎÕ¤ ¦ÎÔÅÇÒÁæÀ Ú ÂÁÇÁÔØÍÁ óõâä, ÔÏÍÕ ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦× ÄÌÑ
277 ÒÏÂÏÔÉ Ú ÂÁÚÁÍÉ ÄÁÎÉÈ ¤ ÄÏ×Ï̦ ÐÒÏÓÔÉÍ. îÁʦÌØÛ ÐÏÐÕÌÑÒÎÅ
278 ×ÉËÏÒÉÓÔÁÎÎÑ PHP - ÚÁͦÎÁ ÄÌÑ CGI ÓËÒÉÐÔ¦×.
280 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÁÍÏÄÏÓÔÁÔÎÀ (CGI) ×ÅÒÓ¦À ¦ÎÔÅÒÐÒÅÔÁÔÏÒÁ ÍÏ×É. ÷É
281 ÍÁ¤ÔÅ ÔÁËÏÖ ×ÓÔÁÎÏ×ÉÔÉ ÐÁËÅÔ %{name}-common. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÅÎ
282 ¦ÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache, ×ÓÔÁÎÏצÔØ ÐÁËÅÔ apache-php.
284 %package -n apache1-mod_php
285 Summary: PHP DSO module for apache 1.3.x
286 Summary(pl): Modu³ DSO (Dynamic Shared Object) php dla apache 1.3.x
287 Group: Development/Languages/PHP
288 Requires(triggerpostun): sed >= 4.0
289 Requires: %{name}-common = %{epoch}:%{version}-%{release}
290 Requires: apache1(EAPI) >= 1.3.33-2
291 Requires: apache1-mod_mime
292 Provides: php = %{epoch}:%{version}-%{release}
293 Obsoletes: apache-mod_php < 1:4.1.1
296 %description -n apache1-mod_php
297 PHP as DSO module for apache 1.3.x.
299 %description -n apache1-mod_php -l pl
300 php jako modu³ DSO (Dynamic Shared Object) dla apache 1.3.x.
302 %package -n apache-mod_php
303 Summary: PHP DSO module for apache 2.x
304 Summary(pl): Modu³ DSO (Dynamic Shared Object) php dla apache 2.x
305 Group: Development/Languages/PHP
306 Requires: %{name}-common = %{epoch}:%{version}-%{release}
307 Requires: apache(modules-api) = %{apache_modules_api}
308 Requires: apache-mod_mime
309 Provides: php = %{epoch}:%{version}-%{release}
312 %description -n apache-mod_php
313 PHP as DSO module for apache 2.x.
315 %description -n apache-mod_php -l pl
316 php jako modu³ DSO (Dynamic Shared Object) dla apache 2.x.
319 Summary: php as FastCGI program
320 Summary(pl): php jako program FastCGI
321 Group: Development/Languages/PHP
322 Requires: %{name}-common = %{epoch}:%{version}-%{release}
323 Provides: php = %{epoch}:%{version}-%{release}
326 php as FastCGI program.
328 %description fcgi -l pl
329 php jako program FastCGI.
332 Summary: php as CGI program
333 Summary(pl): php jako program CGI
334 Group: Development/Languages/PHP
335 Requires: %{name}-common = %{epoch}:%{version}-%{release}
340 %description cgi -l pl
341 php jako program CGI.
344 Summary: php as CLI interpreter
345 Summary(pl): php jako interpreter dzia³aj±cy z linii poleceñ
346 Group: Development/Languages/PHP
347 Requires: %{name}-common = %{epoch}:%{version}-%{release}
350 php as CLI interpreter.
352 %description cli -l pl
353 php jako interpreter dzia³aj±cy z linii poleceñ.
356 Summary: /usr/bin/php symlink
357 Summary(pl): Dowi±zanie symboliczne /usr/bin/php
358 Group: Development/Languages/PHP
359 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
360 Obsoletes: /usr/bin/php
363 Package providing /usr/bin/php symlink to PHP CLI.
365 %description program -l pl
366 Pakiet dostarczaj±cy dowi±zanie symboliczne /usr/bin/php do PHP CLI.
369 Summary: Common files needed by both apache module and CGI
370 Summary(pl): Wspólne pliki dla modu³u apache'a i programu CGI
371 Summary(ru): òÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ php
372 Summary(uk): â¦Â̦ÏÔÅËÉ ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÄÌÑ php
374 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
375 Requires: glibc >= 6:2.3.5
378 Provides: %{name}-libxml = %{epoch}:%{version}-%{release}
379 Provides: %{name}-session = %{epoch}:%{version}-%{release}
380 Provides: %{name}-simplexml = %{epoch}:%{version}-%{release}
381 Provides: %{name}-spl = %{epoch}:%{version}-%{release}
382 Provides: %{name}-standard = %{epoch}:%{version}-%{release}
383 Provides: php(modules_api) = %{php_api_version}
384 Provides: php(zend_extension_api) = %{zend_extension_api}
385 Provides: php(zend_module_api) = %{zend_module_api}
386 Provides: php5(debug) = %{php_debug}
387 Provides: php5(thread-safety) = %{zend_zts}
388 Obsoletes: php-pecl-domxml
389 Obsoletes: php-session < 3:4.2.1-2
390 # for the posttrans scriptlet, conflicts because in vserver enviroinment rpm package is not installed.
391 Conflicts: rpm < 4.4.2-0.2
394 Common files needed by both apache module and CGI.
396 %description common -l pl
397 Wspólne pliki dla modu³u apacha i programu CGI.
399 %description common -l ru
400 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÏÂÝÉÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÎÙÈ ×ÁÒÉÁÎÔÏ× ÒÅÁÌÉÚÁÃÉÉ PHP
401 (ÓÁÍÏÄÏÓÔÁÔÏÞÎÏÊ É × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache).
403 %description common -l uk
404 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓЦÌØΦ ÆÁÊÌÉ ÄÌÑ Ò¦ÚÎÉÈ ×ÁÒ¦ÁÎÔ¦× ÒÅÁ̦ÚÁæ§ PHP
405 (ÓÁÍÏÄÏÓÔÁÔÎØϧ ÔÁ × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache).
408 Summary: Files for PHP modules development
409 Summary(pl): Pliki do kompilacji modu³ów PHP
410 Summary(pt_BR): Arquivos de desenvolvimento para PHP
411 Summary(ru): ðÁËÅÔ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÏÓÔÒÏÅÎÉÑ ÒÁÓÛÉÒÅÎÉÊ PHP
412 Summary(uk): ðÁËÅÔ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÏÂÕÄÏ×É ÒÏÚÛÉÒÅÎØ PHP
413 Group: Development/Languages/PHP
414 Requires: %{name}-common = %{epoch}:%{version}-%{release}
419 Obsoletes: php-pear-devel
420 Obsoletes: php4-devel
423 The php-devel package lets you compile dynamic extensions to PHP.
424 Included here is the source for the PHP extensions. Instead of
425 recompiling the whole php binary to add support for, say, oracle,
426 install this package and use the new self-contained extensions
427 support. For more information, read the file
428 README.SELF-CONTAINED-EXTENSIONS.
430 %description devel -l pl
431 Ten pakiet zawiera pliki potrzebne do kompilacji modu³ów PHP. Zamiast
432 rekompilowaæ ca³e php aby dodaæ obs³ugê np. oracle, mo¿na przy u¿yciu
433 tego pakietu skompilowaæ samodzielne rozszerzenie. Wiêcej informacji o
434 samodzielnych rozszerzeniach mo¿na znale¼æ w pliku
435 README.SELF-CONTAINED-EXTENSIONS.
437 %description devel -l pt_BR
438 Este pacote contém arquivos usados no desenvolvimento de programas ou
441 %description devel -l ru
442 ðÁËÅÔ php-devel ÄÁÅÔ ×ÏÚÍÏÖÎÏÓÔØ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÄÉÎÁÍÉÞÅÓËÉÅ ÒÁÓÛÉÒÅÎÉÑ
443 PHP. ðÁËÅÔ ×ËÌÀÞÁÅÔ ÉÓÈÏÄÎÙÊ ËÏÄ ÜÔÉÈ ÒÁÓÛÉÒÅÎÉÊ. ÷ÍÅÓÔÏ ÐÏ×ÔÏÒÎÏÊ
444 ËÏÍÐÉÌÑÃÉÉ ÂÉÎÁÒÎÏÇÏ ÆÁÊÌÁ php ÄÌÑ ÄÏÂÁ×ÌÅÎÉÑ, ÎÁÐÒÉÍÅÒ, ÐÏÄÄÅÒÖËÉ
445 oracle, ÕÓÔÁÎÏ×ÉÔÅ ÜÔÏÔ ÐÁËÅÔ ÄÌÑ ËÏÍÐÉÌÉÒÏ×ÁÎÉÑ ÏÔÄÅÌØÎÙÈ ÒÁÓÛÉÒÅÎÉÊ.
446 ðÏÄÒÏÂÎÏÓÔÉ - × ÆÁÊÌÅ README.SELF-CONTAINED-EXTENSIONS.
448 %description devel -l uk
449 ðÁËÅÔ php-devel ÄÁ¤ ÍÏÖÌÉצÓÔØ ËÏÍЦÌÀ×ÁÔÉ ÄÉÎÁͦÞΦ ÒÏÚÛÉÒÅÎÎÑ PHP.
450 äÏ ÐÁËÅÔÕ ×ËÌÀÞÅÎÏ ×ÉȦÄÎÉÊ ËÏÄ ÄÌÑ ÒÏÚÛÉÒÅÎØ. úÁͦÓÔØ ÐÏ×ÔÏÒÎϧ
451 ËÏÍЦÌÑæ§ ¦ÎÁÒÎÏÇÏ ÆÁÊÌÕ php ÄÌÑ ÄÏÄÁÎÎÑ, ÎÁÐÒÉËÌÁÄ, ЦÄÔÒÉÍËÉ
452 oracle, ×ÓÔÁÎÏצÔØ ÃÅÊ ÐÁËÅÔ ÄÌÑ ËÏÍЦÌÑæ§ ÏËÒÅÍÉÈ ÒÏÚÛÉÒÅÎØ.
453 äÅÔÁÌØΦÛÁ ¦ÎÆÏÒÍÁÃ¦Ñ - × ÆÁÊ̦ README.SELF-CONTAINED-EXTENSIONS.
456 Summary: bcmath extension module for PHP
457 Summary(pl): Modu³ bcmath dla PHP
459 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
460 Requires: %{name}-common = %{epoch}:%{version}-%{release}
463 This is a dynamic shared object (DSO) for PHP that will add bc style
464 precision math functions support.
466 %description bcmath -l pl
467 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
468 matematycznych takich jak w programie bc.
471 Summary: Bzip2 extension module for PHP
472 Summary(pl): Modu³ bzip2 dla PHP
474 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
475 Requires: %{name}-common = %{epoch}:%{version}-%{release}
478 This is a dynamic shared object (DSO) for PHP that will add bzip2
479 compression support to PHP.
481 %description bzip2 -l pl
482 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji bzip2.
485 Summary: Calendar extension module for PHP
486 Summary(pl): Modu³ funkcji kalendarza dla PHP
488 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
489 Requires: %{name}-common = %{epoch}:%{version}-%{release}
491 %description calendar
492 This is a dynamic shared object (DSO) for PHP that will add calendar
495 %description calendar -l pl
496 Modu³ PHP dodaj±cy wsparcie dla kalendarza.
499 Summary: ctype extension module for PHP
500 Summary(pl): Modu³ ctype dla PHP
502 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
503 Requires: %{name}-common = %{epoch}:%{version}-%{release}
506 This is a dynamic shared object (DSO) for PHP that will add ctype
509 %description ctype -l pl
510 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
513 Summary: curl extension module for PHP
514 Summary(pl): Modu³ curl dla PHP
516 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
517 Requires: %{name}-common = %{epoch}:%{version}-%{release}
520 This is a dynamic shared object (DSO) for PHP that will add curl
523 %description curl -l pl
524 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
527 Summary: DBA extension module for PHP
528 Summary(pl): Modu³ DBA dla PHP
530 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
531 Requires: %{name}-common = %{epoch}:%{version}-%{release}
534 This is a dynamic shared object (DSO) for PHP that will add flat-file
535 databases (DBA) support.
537 %description dba -l pl
538 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych opartych na plikach
542 Summary: DBase extension module for PHP
543 Summary(pl): Modu³ DBase dla PHP
545 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
546 Requires: %{name}-common = %{epoch}:%{version}-%{release}
549 This is a dynamic shared object (DSO) for PHP that will add DBase
552 %description dbase -l pl
553 Modu³ PHP ze wsparciem dla DBase.
556 Summary: DOM extension module for PHP
557 Summary(pl): Modu³ DOM dla PHP
559 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
560 Requires: %{name}-common = %{epoch}:%{version}-%{release}
561 # it has some compatibility functions
562 Provides: php-domxml = %{epoch}:%{version}-%{release}
563 Obsoletes: php-domxml <= 3:4.3.8-1
566 This is a dynamic shared object (DSO) for PHP that will add new DOM
569 %description dom -l pl
570 Modu³ PHP dodaj±cy now± obs³ugê DOM.
573 Summary: exif extension module for PHP
574 Summary(pl): Modu³ exif dla PHP
576 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
577 Requires: %{name}-common = %{epoch}:%{version}-%{release}
580 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
581 support in image files.
583 %description exif -l pl
584 Modu³ PHP dodaj±cy obs³ugê znaczników EXIF w plikach obrazków.
587 Summary: FDF extension module for PHP
588 Summary(pl): Modu³ FDF dla PHP
590 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
591 Requires: %{name}-common = %{epoch}:%{version}-%{release}
594 This PHP module adds support for PDF Forms through Adobe FDFTK
597 %description fdf -l pl
598 Modu³ PHP dodaj±cy obs³ugê formularzy PDF poprzez bibliotekê Adobe
602 Summary: filePro extension module for PHP
603 Summary(pl): Modu³ filePro dla PHP
605 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
606 Requires: %{name}-common = %{epoch}:%{version}-%{release}
609 This is a dynamic shared object (DSO) for PHP that will add support
610 for read-only access to filePro databases.
612 %description filepro -l pl
613 Modu³ PHP dodaj±cy mo¿liwo¶æ dostêpu (tylko do odczytu) do baz danych
617 Summary: FTP extension module for PHP
618 Summary(pl): Modu³ FTP dla PHP
620 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
621 Requires: %{name}-common = %{epoch}:%{version}-%{release}
624 This is a dynamic shared object (DSO) for PHP that will add FTP
627 %description ftp -l pl
628 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
631 Summary: GD extension module for PHP
632 Summary(pl): Modu³ GD dla PHP
634 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
635 Requires: %{name}-common = %{epoch}:%{version}-%{release}
636 Requires: gd >= 2.0.28-4
637 Provides: %{name}-gd(gif) = %{epoch}:%{version}-%{release}
640 This is a dynamic shared object (DSO) for PHP that will add GD
641 support, allowing you to create and manipulate images with PHP.
643 %description gd -l pl
644 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD, pozwalaj±cej na
645 tworzenie i obróbkê obrazków.
648 Summary: gettext extension module for PHP
649 Summary(pl): Modu³ gettext dla PHP
651 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
652 Requires: %{name}-common = %{epoch}:%{version}-%{release}
655 This is a dynamic shared object (DSO) for PHP that will add gettext
658 %description gettext -l pl
659 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
662 Summary: gmp extension module for PHP
663 Summary(pl): Modu³ gmp dla PHP
665 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
666 Requires: %{name}-common = %{epoch}:%{version}-%{release}
669 This is a dynamic shared object (DSO) for PHP that will add arbitrary
670 length number support with GNU MP library.
672 %description gmp -l pl
673 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki gmp do obliczeñ na
674 liczbach o dowolnej d³ugo¶ci.
677 Summary: Hyperwave API extension module for PHP
678 Summary(pl): Modu³ API Hyperwave dla PHP
680 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
681 Requires: %{name}-common = %{epoch}:%{version}-%{release}
684 This is a dynamic shared object (DSO) for PHP that will add official
685 Hyperwave API support.
687 %description hwapi -l pl
688 Modu³ PHP dodaj±cy obs³ugê Hyperwave.
691 Summary: iconv extension module for PHP
692 Summary(pl): Modu³ iconv dla PHP
694 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
695 Requires: %{name}-common = %{epoch}:%{version}-%{release}
698 This is a dynamic shared object (DSO) for PHP that will add iconv
701 %description iconv -l pl
702 Modu³ PHP dodaj±cy obs³ugê iconv.
705 Summary: IMAP extension module for PHP
706 Summary(pl): Modu³ IMAP dla PHP
707 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
709 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
710 Requires: %{name}-common = %{epoch}:%{version}-%{release}
713 This is a dynamic shared object (DSO) for PHP that will add IMAP
716 %description imap -l pl
717 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
719 %description imap -l pt_BR
720 Um módulo para aplicações PHP que usam IMAP.
723 Summary: InterBase/Firebird database module for PHP
724 Summary(pl): Modu³ bazy danych InterBase/Firebird dla PHP
726 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
727 Requires: %{name}-common = %{epoch}:%{version}-%{release}
728 %{?with_interbase_inst:Autoreq: false}
730 %description interbase
731 This is a dynamic shared object (DSO) for PHP that will add InterBase
732 and Firebird database support.
734 %description interbase -l pl
735 Modu³ PHP umo¿liwiaj±cy dostêp do baz danych InterBase i Firebird.
738 Summary: LDAP extension module for PHP
739 Summary(pl): Modu³ LDAP dla PHP
740 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
742 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
743 Requires: %{name}-common = %{epoch}:%{version}-%{release}
746 This is a dynamic shared object (DSO) for PHP that will add LDAP
749 %description ldap -l pl
750 Modu³ PHP dodaj±cy obs³ugê LDAP.
752 %description ldap -l pt_BR
753 Um módulo para aplicações PHP que usam LDAP.
756 Summary: mbstring extension module for PHP
757 Summary(pl): Modu³ mbstring dla PHP
759 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
760 Requires: %{name}-common = %{epoch}:%{version}-%{release}
762 %description mbstring
763 This is a dynamic shared object (DSO) for PHP that will add multibyte
766 %description mbstring -l pl
767 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
770 Summary: mcrypt extension module for PHP
771 Summary(pl): Modu³ mcrypt dla PHP
773 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
774 Requires: %{name}-common = %{epoch}:%{version}-%{release}
777 This is a dynamic shared object (DSO) for PHP that will add mcrypt
780 %description mcrypt -l pl
781 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
784 Summary: mhash extension module for PHP
785 Summary(pl): Modu³ mhash dla PHP
787 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
788 Requires: %{name}-common = %{epoch}:%{version}-%{release}
791 This is a dynamic shared object (DSO) for PHP that will add mhash
794 %description mhash -l pl
795 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
798 Summary: mime_magic extension module for PHP
799 Summary(pl): Modu³ mime_magic dla PHP
801 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
802 Requires: %{name}-common = %{epoch}:%{version}-%{release}
803 Requires: /usr/share/file/magic.mime
805 %description mime_magic
806 This PHP module adds support for MIME type lookup via file magic
807 numbers using magic.mime database.
809 %description mime_magic -l pl
810 Modu³ PHP dodaj±cy obs³ugê wyszukiwania typów MIME wed³ug magicznych
811 znaczników plików z u¿yciem bazy danych magic.mime.
814 Summary: ming extension module for PHP
815 Summary(pl): Modu³ ming dla PHP
817 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
818 Requires: %{name}-common = %{epoch}:%{version}-%{release}
821 This is a dynamic shared object (DSO) for PHP that will add ming
822 (Flash - .swf files) support.
824 %description ming -l pl
825 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
829 Summary: msession extension module for PHP
830 Summary(pl): Modu³ msession dla PHP
832 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
833 Requires: %{name}-common = %{epoch}:%{version}-%{release}
835 %description msession
836 This is a dynamic shared object (DSO) for PHP that will allow you to
837 use msession. msession is a high speed session daemon which can run
838 either locally or remotely. It is designed to provide consistent
839 session management for a PHP web farm.
841 %description msession -l pl
842 Modu³ PHP dodaj±cy umo¿liwiaj±cy korzystanie z demona msession. Jest
843 to demon szybkiej obs³ugi sesji, który mo¿e dzia³aæ lokalnie lub na
844 innej maszynie. S³u¿y do zapewniania spójnej obs³ugi sesji dla farmy
848 Summary: MS SQL extension module for PHP
849 Summary(pl): Modu³ MS SQL dla PHP
851 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
852 Requires: %{name}-common = %{epoch}:%{version}-%{release}
855 This is a dynamic shared object (DSO) for PHP that will add MS SQL
856 databases support through FreeTDS library.
858 %description mssql -l pl
859 Modu³ PHP dodaj±cy obs³ugê baz danych MS SQL poprzez bibliotekê
863 Summary: MySQL database module for PHP
864 Summary(pl): Modu³ bazy danych MySQL dla PHP
865 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
867 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
868 Requires: %{name}-common = %{epoch}:%{version}-%{release}
871 This is a dynamic shared object (DSO) for PHP that will add MySQL
874 %description mysql -l pl
875 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
877 %description mysql -l pt_BR
878 Um módulo para aplicações PHP que usam bancos de dados MySQL.
881 Summary: MySQLi module for PHP
882 Summary(pl): Modu³ MySQLi dla PHP
884 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
885 Requires: %{name}-common = %{epoch}:%{version}-%{release}
886 Requires: mysql-libs >= 4.1.0
889 This is a dynamic shared object (DSO) for PHP that will add MySQLi
890 (Improved MySQL) support. The difference between it and mysql module
891 is that it provides access to functionality of MySQL 4.1 and above.
893 %description mysqli -l pl
894 Modu³ PHP umo¿liwiaj±cy udoskonalony dostêp do bazy danych MySQL.
895 Ró¿nic± miêdzy nim a modu³em mysql jest dostêp do funkcjonalno¶ci
896 MySQL w wersji 4.1 i nowszych.
899 Summary: ncurses module for PHP
900 Summary(pl): Modu³ ncurses dla PHP
902 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
903 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
906 This PHP module adds support for ncurses functions (only for cli and
909 %description ncurses -l pl
910 Modu³ PHP dodaj±cy obs³ugê funkcji ncurses (tylko do SAPI cli i cgi).
913 Summary: Oracle 8+ database module for PHP
914 Summary(pl): Modu³ bazy danych Oracle 8+ dla PHP
916 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
917 Requires: %{name}-common = %{epoch}:%{version}-%{release}
921 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
922 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
924 %description oci8 -l pl
925 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7, 8, 9 i 10
926 poprzez interfejs Oracle8 Call-Interface (OCI8).
929 Summary: ODBC extension module for PHP
930 Summary(pl): Modu³ ODBC dla PHP
931 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
933 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
934 Requires: %{name}-common = %{epoch}:%{version}-%{release}
935 Requires: unixODBC >= 2.1.1-3
938 This is a dynamic shared object (DSO) for PHP that will add ODBC
941 %description odbc -l pl
942 Modu³ PHP ze wsparciem dla ODBC.
944 %description odbc -l pt_BR
945 Um módulo para aplicações PHP que usam ODBC.
948 Summary: OpenSSL extension module for PHP
949 Summary(pl): Modu³ OpenSSL dla PHP
951 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
952 Requires: %{name}-common = %{epoch}:%{version}-%{release}
955 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
958 Warning: this is an experimental module.
960 %description openssl -l pl
961 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki OpenSSL.
963 Uwaga: to jest modu³ eksperymentalny.
966 Summary: Process Control extension module for PHP
967 Summary(pl): Modu³ Process Control dla PHP
969 Requires(post,preun): %{name}-program = %{epoch}:%{version}-%{release}
970 Requires: %{name}-program = %{epoch}:%{version}-%{release}
973 This is a dynamic shared object (DSO) for PHP that will add process
974 spawning and control support. It supports functions like fork(),
975 waitpid(), signal() etc.
977 Warning: this is an experimental module. Also, don't use it in
978 webserver environment!
980 %description pcntl -l pl
981 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
982 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
984 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
985 u¿ywania z serwerem WWW - nie próbuj tego!
988 Summary: PCRE extension module for PHP
989 Summary(pl): Modu³ PCRE dla PHP
991 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
992 Requires: %{name}-common = %{epoch}:%{version}-%{release}
995 This is a dynamic shared object (DSO) for PHP that will add Perl
996 Compatible Regular Expression support.
998 %description pcre -l pl
999 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
1000 (Perl Compatible Regular Expressions)
1003 Summary: PHP Data Objects (PDO)
1004 Summary(pl): Obs³uga PHP Data Objects (PDO)
1006 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1007 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1008 Obsoletes: php-pecl-PDO
1011 This is a dynamic shared object (DSO) for PHP that will add PDO
1014 %description pdo -l pl
1015 Modu³ PHP dodaj±cy obs³ugê PDO (PHP Data Objects).
1018 Summary: PHP Data Objects (PDO) FreeTDS support
1019 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± FreeTDS
1021 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1022 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1023 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1025 %description pdo-dblib
1026 This is a dynamic shared object (DSO) for PHP that will add PDO
1029 %description pdo-dblib -l pl
1030 Modu³ dla PHP dodaj±cy obs³ugê baz danych FreeTDS za po¶rednictwem
1033 %package pdo-firebird
1034 Summary: PHP Data Objects (PDO) Firebird support
1035 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± Firebirda
1037 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1038 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1039 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1040 Obsoletes: php-pecl-PDO_FIREBIRD
1042 %description pdo-firebird
1043 This is a dynamic shared object (DSO) for PHP that will add PDO
1046 %description pdo-firebird -l pl
1047 Modu³ dla PHP dodaj±cy obs³ugê baz danych Firebird za po¶rednictwem
1051 Summary: PHP Data Objects (PDO) MySQL support
1052 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± MySQL-a
1054 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1055 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1056 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1057 Obsoletes: php-pecl-PDO_MYSQL
1059 %description pdo-mysql
1060 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1063 %description pdo-mysql -l pl
1064 Modu³ dla PHP dodaj±cy obs³ugê baz danych MySQL za po¶rednictwem
1068 Summary: PHP Data Objects (PDO) Oracle support
1069 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± Oracle'a
1071 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1072 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1073 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1074 Obsoletes: php-pecl-PDO_OCI
1076 %description pdo-oci
1077 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1080 %description pdo-oci -l pl
1081 Modu³ dla PHP dodaj±cy obs³ugê baz danych Oracle za po¶rednictwem
1085 Summary: PHP Data Objects (PDO) ODBC support
1086 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± ODBC
1088 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1089 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1090 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1091 Obsoletes: php-pecl-PDO_ODBC
1093 %description pdo-odbc
1094 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1097 %description pdo-odbc -l pl
1098 Modu³ dla PHP dodaj±cy obs³ugê baz danych ODBC za po¶rednictwem
1102 Summary: PHP Data Objects (PDO) PostgreSQL support
1103 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± PostgreSQL-a
1105 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1106 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1107 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1108 Obsoletes: php-pecl-PDO_PGSQL
1110 %description pdo-pgsql
1111 This is a dynamic shared object (DSO) for PHP that will add PDO
1114 %description pdo-pgsql -l pl
1115 Modu³ dla PHP dodaj±cy obs³ugê baz danych PostgreSQL za po¶rednictwem
1119 Summary: PHP Data Objects (PDO) SQLite support
1120 Summary(pl): Modu³ PHP Data Objects (PDO) z obs³ug± SQLite
1122 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1123 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1124 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1125 Obsoletes: php-pecl-PDO_SQLITE
1127 %description pdo-sqlite
1128 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1131 %description pdo-sqlite -l pl
1132 Modu³ dla PHP dodaj±cy obs³ugê baz danych SQLite za po¶rednictwem
1136 Summary: PostgreSQL database module for PHP
1137 Summary(pl): Modu³ bazy danych PostgreSQL dla PHP
1139 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1140 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1143 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1146 %description pgsql -l pl
1147 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
1149 %description pgsql -l pt_BR
1150 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1153 Summary: POSIX extension module for PHP
1154 Summary(pl): Modu³ POSIX dla PHP
1156 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1157 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1160 This is a dynamic shared object (DSO) for PHP that will add POSIX
1161 functions support to PHP.
1163 %description posix -l pl
1164 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
1167 Summary: pspell extension module for PHP
1168 Summary(pl): Modu³ pspell dla PHP
1170 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1171 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1174 This is a dynamic shared object (DSO) for PHP that will add pspell
1175 support to PHP. It allows to check the spelling of a word and offer
1178 %description pspell -l pl
1179 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
1180 sprawdzanie pisowni s³owa i sugerowanie poprawek.
1183 Summary: readline extension module for PHP
1184 Summary(pl): Modu³ readline dla PHP
1186 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
1187 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1189 %description readline
1190 This PHP module adds support for readline functions (only for cli and
1193 %description readline -l pl
1194 Modu³ PHP dodaj±cy obs³ugê funkcji readline (tylko do SAPI cli i cgi).
1197 Summary: recode extension module for PHP
1198 Summary(pl): Modu³ recode dla PHP
1200 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1201 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1202 Requires: recode >= 3.5d-3
1205 This is a dynamic shared object (DSO) for PHP that will add recode
1208 %description recode -l pl
1209 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1213 Summary: session extension module for PHP
1214 Summary(pl): Modu³ session dla PHP
1216 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1217 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1219 %description session
1220 This is a dynamic shared object (DSO) for PHP that will add session
1223 %description session -l pl
1224 Modu³ PHP dodaj±cy obs³ugê sesji.
1227 Summary: Shared Memory Operations extension module for PHP
1228 Summary(pl): Modu³ shmop dla PHP
1230 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1231 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1234 This is a dynamic shared object (DSO) for PHP that will add Shared
1235 Memory Operations support.
1237 Warning: this is an experimental module.
1239 %description shmop -l pl
1240 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1242 Uwaga: to jest modu³ eksperymentalny.
1245 Summary: Simple XML extension module for PHP
1246 Summary(pl): Modu³ prostego rozszerzenia XML dla PHP
1248 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1249 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1251 %description simplexml
1252 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1255 %description simplexml -l pl
1256 Modu³ PHP dodaj±cy obs³ugê prostego XML-a.
1259 Summary: SNMP extension module for PHP
1260 Summary(pl): Modu³ SNMP dla PHP
1262 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1263 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1264 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1267 This is a dynamic shared object (DSO) for PHP that will add SNMP
1270 %description snmp -l pl
1271 Modu³ PHP dodaj±cy obs³ugê SNMP.
1274 Summary: soap extension module for PHP
1275 Summary(pl): Modu³ soap dla PHP
1277 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1278 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1281 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1284 %description soap -l pl
1285 Modu³ PHP dodaj±cy obs³ugê SOAP/WSDL.
1288 Summary: sockets extension module for PHP
1289 Summary(pl): Modu³ socket dla PHP
1291 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1292 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1294 %description sockets
1295 This is a dynamic shared object (DSO) for PHP that will add sockets
1298 Warning: this is an experimental module.
1300 %description sockets -l pl
1301 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1303 Uwaga: to jest modu³ eksperymentalny.
1306 Summary: SQLite extension module for PHP
1307 Summary(pl): Modu³ SQLite dla PHP
1309 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1310 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1311 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1314 SQLite is a C library that implements an embeddable SQL database
1315 engine. Programs that link with the SQLite library can have SQL
1316 database access without running a separate RDBMS process.
1318 SQLite is not a client library used to connect to a big database
1319 server. SQLite is the server. The SQLite library reads and writes
1320 directly to and from the database files on disk.
1322 %description sqlite -l pl
1323 SQLite jest napisan± w C bibliotek± implementuj±c± osadzalny silnik
1324 bazodanowy SQL. Program linkuj±cy siê z bibliotek± SQLite mo¿e mieæ
1325 dostêp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1328 SQLite to nie klient baz danych - biblioteka nie ³±czy siê z serwerami
1329 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1330 zapisuje dane bezpo¶rednio z/do plików baz danych znajduj±cych siê na
1334 Summary: Sybase DB extension module for PHP
1335 Summary(pl): Modu³ Sybase DB dla PHP
1337 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1338 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1339 Obsoletes: php-sybase-ct
1342 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1343 MS SQL databases support through SYBDB library. Currently Sybase
1344 module is not maintained. Using Sybase-CT module is recommended
1347 %description sybase -l pl
1348 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1349 bibliotekê SYBDB. W chwili obecnej modu³ Sybase nie jest wspierany.
1350 Zaleca siê u¿ywanie modu³u Sybase-CT.
1353 Summary: Sybase-CT extension module for PHP
1354 Summary(pl): Modu³ Sybase-CT dla PHP
1356 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1357 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1358 Obsoletes: php-sybase
1360 %description sybase-ct
1361 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1362 MS SQL databases support through CT-lib.
1364 %description sybase-ct -l pl
1365 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1369 Summary: SysV msg extension module for PHP
1370 Summary(pl): Modu³ SysV msg dla PHP
1372 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1373 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1375 %description sysvmsg
1376 This is a dynamic shared object (DSO) for PHP that will add SysV
1377 message queues support.
1379 %description sysvmsg -l pl
1380 Modu³ PHP umo¿liwiaj±cy korzystanie z kolejek komunikatów SysV.
1383 Summary: SysV sem extension module for PHP
1384 Summary(pl): Modu³ SysV sem dla PHP
1386 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1387 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1389 %description sysvsem
1390 This is a dynamic shared object (DSO) for PHP that will add SysV
1393 %description sysvsem -l pl
1394 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1397 Summary: SysV shm extension module for PHP
1398 Summary(pl): Modu³ SysV shm dla PHP
1400 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1401 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1403 %description sysvshm
1404 This is a dynamic shared object (DSO) for PHP that will add SysV
1405 Shared Memory support.
1407 %description sysvshm -l pl
1408 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1411 Summary: Tidy extension module for PHP
1412 Summary(pl): Modu³ Tidy dla PHP
1414 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1415 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1419 This is a dynamic shared object (DSO) for PHP that will add Tidy
1422 %description tidy -l pl
1423 Modu³ PHP umo¿liwiaj±cy korzystanie z tidy.
1426 Summary: tokenizer extension module for PHP
1427 Summary(pl): Modu³ rozszerzenia tokenizer dla PHP
1429 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1430 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1432 %description tokenizer
1433 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1436 %description tokenizer -l pl
1437 Modu³ PHP dodaj±cy obs³ugê tokenizera do PHP.
1440 Summary: wddx extension module for PHP
1441 Summary(pl): Modu³ wddx dla PHP
1443 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1444 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1445 Requires: %{name}-session = %{epoch}:%{version}-%{release}
1446 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1449 This is a dynamic shared object (DSO) for PHP that will add wddx
1452 %description wddx -l pl
1453 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1456 Summary: XML extension module for PHP
1457 Summary(pl): Modu³ XML dla PHP
1459 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1460 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1463 This is a dynamic shared object (DSO) for PHP that will add XML
1464 support. This extension lets you create XML parsers and then define
1465 handlers for different XML events.
1467 %description xml -l pl
1468 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1469 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1470 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1473 Summary: XML Reader extension module for PHP
1474 Summary(pl): Modu³ XML Reader dla PHP
1476 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1477 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1478 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1480 %description xmlreader
1481 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1482 support. The XMLReader extension is an XML Pull parser. The reader
1483 acts as a cursor going forward on the document stream and stopping at
1484 each node on the way.
1486 %description xmlreader -l pl
1487 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML w trybie Pull. Czytnik
1488 dzia³a jako kursor przechodz±cy przez strumieñ dokumentu i
1489 zatrzymuj±cy siê naka¿dym wê¼le po drodze.
1492 Summary: xmlrpc extension module for PHP
1493 Summary(pl): Modu³ xmlrpc dla PHP
1495 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1496 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1499 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1502 Warning: this is an experimental module.
1504 %description xmlrpc -l pl
1505 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1507 Uwaga: to jest modu³ eksperymentalny.
1510 Summary: xsl extension module for PHP
1511 Summary(pl): Modu³ xsl dla PHP
1513 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1514 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1515 Requires: libxslt >= 1.0.18
1516 # actually not true, functionality is similar, but API differs
1517 Obsoletes: php-xslt <= 3:4.3.8-1
1520 This is a dynamic shared object (DSO) for PHP that will add new XSL
1521 support (using libxslt).
1523 %description xsl -l pl
1524 Modu³ PHP dodaj±cy now± obs³ugê XSLT (przy u¿yciu libxslt).
1527 Summary: Zlib extension module for PHP
1528 Summary(pl): Modu³ zlib dla PHP
1530 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1531 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1534 This is a dynamic shared object (DSO) for PHP that will add zlib
1535 compression support to PHP.
1537 %description zlib -l pl
1538 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1553 cp php.ini-dist php.ini
1555 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1571 %if %{with hardening}
1572 zcat %{SOURCE9} | patch -p1 || exit 1
1573 patch -p1 < %{PATCH30} || exit 1
1580 %{?with_versioning:%patch36 -p1}
1582 # conflict seems to be resolved by recode patches
1583 rm -f ext/recode/config9.m4
1586 sed -i -e 's#apr-config#apr-1-config#g' sapi/apache*/*.m4
1588 # remove all bundled libraries not to link with them accidentally
1589 #rm -rf ext/sqlite/libsqlite
1590 #rm -rf ext/bcmath/libbcmath
1591 #rm -rf ext/date/lib
1592 #rm -rf ext/dba/libcdb
1593 #rm -rf ext/dba/libflatfile
1594 #rm -rf ext/dba/libinifile
1595 #rm -rf ext/gd/libgd
1596 #rm -rf ext/mbstring/libmbfl
1597 #rm -rf ext/mbstring/oniguruma
1598 rm -rf ext/pcre/pcrelib
1599 rm -rf ext/pdo_sqlite/sqlite
1600 #rm -rf ext/soap/interop
1601 rm -rf ext/xmlrpc/libxmlrpc
1604 if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then
1605 echo "Set %%define php_api_version to $API and rerun."
1609 if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then
1610 echo "Set %%define zend_module_api to $API and rerun."
1614 if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then
1615 echo "Set %%define zend_extension_api to $API and rerun."
1619 CFLAGS="%{rpmcflags} -DEAPI=1 -I/usr/X11R6/include"
1621 # Apache2 CFLAGS. harmless for other SAPIs.
1622 CFLAGS="$CFLAGS $(%{_bindir}/apr-1-config --includes) $(%{_bindir}/apu-1-config --includes)"
1625 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1626 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1627 rm -f Makefile.{fcgi,cgi,cli,apxs{1,2}} # now remove Makefile copies
1633 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1647 for sapi in $sapis; do
1648 [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1654 echo --enable-discard-path --enable-force-cgi-redirect
1660 echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect
1663 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
1664 echo --with-apxs=%{apxs1} --with-apache-version=$ver
1667 ver=%(rpm -q --qf '%%{version}' apache-apxs)
1668 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
1672 --cache-file=config.cache \
1673 --with-libdir=%{_lib} \
1674 --with-config-file-path=%{_sysconfdir} \
1675 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1676 --with-exec-dir=%{_bindir} \
1677 --%{!?debug:dis}%{?debug:en}able-debug \
1678 %{?with_zts:--enable-maintainer-zts} \
1679 --enable-inline-optimization \
1680 --enable-memory-limit \
1681 --enable-bcmath=shared \
1682 --enable-calendar=shared \
1683 --enable-ctype=shared \
1684 --enable-dba=shared \
1687 --enable-dom=shared \
1688 --enable-exif=shared \
1689 --enable-filepro=shared \
1690 --enable-ftp=shared \
1691 --enable-gd-native-ttf \
1692 --enable-gd-jus-conf \
1694 --enable-magic-quotes \
1695 --enable-mbstring=shared,all \
1697 --enable-pcntl=shared \
1698 --enable-pdo=shared \
1699 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
1700 --with-pdo-dblib=shared \
1702 %if %{with interbase} && %{without interbase_inst}
1703 --with-pdo-firebird=shared \
1705 --with-pdo-mysql=shared \
1706 %{?with_oci8:--with-pdo-oci=shared} \
1707 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1708 %{?with_pgsql:--with-pdo-pgsql=shared} \
1709 %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
1710 --enable-posix=shared \
1711 --enable-reflection \
1714 --enable-shmop=shared \
1715 --enable-simplexml \
1716 --enable-sysvmsg=shared \
1717 --enable-sysvsem=shared \
1718 --enable-sysvshm=shared \
1719 --enable-track-vars \
1720 --enable-trans-sid \
1721 --enable-safe-mode \
1722 --enable-soap=shared \
1723 --enable-sockets=shared \
1724 --enable-tokenizer=shared \
1725 --enable-ucd-snmp-hack \
1726 %{?with_wddx:--enable-wddx=shared} \
1727 --enable-xml=shared \
1728 --enable-xmlreader=shared \
1730 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1731 %{?with_db3:--with-db3}%{!?with_db3:--with-db4} \
1732 --enable-dbase=shared \
1734 --with-expat-dir=shared,/usr \
1736 --without-expat-dir \
1738 %{?with_fdf:--with-fdftk=shared} \
1739 --with-iconv=shared \
1740 --with-filepro=shared \
1741 --with-freetype-dir=shared \
1742 --with-gettext=shared \
1743 --with-gd=shared,/usr \
1746 %{?with_hwapi:--with-hwapi=shared} \
1747 %{?with_imap:--with-imap=shared --with-imap-ssl} \
1748 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1749 --with-jpeg-dir=/usr \
1750 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1751 --with-mcrypt=shared \
1752 %{?with_mhash:--with-mhash=shared} \
1753 %{?with_mime_magic:--with-mime-magic=shared,/usr/share/file/magic.mime}%{!?with_mime_magic:--disable-mime-magic} \
1754 %{?with_ming:--with-ming=shared} \
1755 %{?with_mm:--with-mm} \
1756 %{?with_msession:--with-msession=shared}%{!?with_msession:--without-msession} \
1757 %{?with_mssql:--with-mssql=shared} \
1758 --with-mysql=shared,/usr \
1759 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1760 %{?with_mysqli:--with-mysqli=shared} \
1761 --with-ncurses=shared \
1762 %{?with_oci8:--with-oci8=shared} \
1763 %{?with_openssl:--with-openssl=shared} \
1765 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared,/usr} \
1766 --with-pear=%{php_pear_dir} \
1767 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1768 --with-png-dir=/usr \
1769 %{?with_pspell:--with-pspell=shared} \
1770 --with-readline=shared \
1771 %{?with_recode:--with-recode=shared} \
1773 --without-sablot-js \
1774 %{?with_snmp:--with-snmp=shared} \
1775 %{?with_sybase:--with-sybase=shared,/usr} \
1776 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1777 %{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1778 --with-t1lib=shared \
1779 %{?with_tidy:--with-tidy=shared} \
1780 --with-tiff-dir=/usr \
1781 %{?with_odbc:--with-unixODBC=shared,/usr} \
1782 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1784 --with-zlib=shared \
1785 --with-zlib-dir=shared,/usr
1787 cp -f Makefile Makefile.$sapi
1788 cp -f main/php_config.h php_config.h.$sapi
1791 # for now session_mm doesn't work with shared session module...
1792 # --enable-session=shared
1793 # %{!?with_mm:--with-mm=shared,no}%{?with_mm:--with-mm=shared}
1795 %{__make} build-modules
1797 %{__make} libphp_common.la
1798 # fix install paths, avoid evil rpaths
1799 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" libphp_common.la
1802 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1804 s|^libdir=.*|libdir='%{_libdir}/apache1'|;
1805 s|^(relink_command=.* -rpath )[^ ]*/libs |$1%{_libdir}/apache1 |" sapi/apache/libphp5.la
1809 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1811 s|^libdir=.*|libdir='%{_libdir}/apache'|;
1812 s|^(relink_command=.* -rpath )[^ ]*/libs |$1%{_libdir}/apache |" sapi/apache2handler/libphp5.la
1817 cp -af php_config.h.fcgi main/php_config.h
1818 %{__make} sapi/cgi/php -f Makefile.fcgi
1819 cp -r sapi/cgi sapi/fcgi
1820 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1824 cp -af php_config.h.cgi main/php_config.h
1825 %{__make} sapi/cgi/php -f Makefile.cgi
1828 cp -af php_config.h.cli main/php_config.h
1829 %{__make} sapi/cli/php -f Makefile.cli
1832 rm -rf $RPM_BUILD_ROOT
1833 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi},%{_phpsharedir}} \
1834 $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
1835 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1836 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/httpd.conf} \
1837 $RPM_BUILD_ROOT%{_mandir}/man1 \
1839 # install apache1 DSO module
1841 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1/
1844 # install apache2 DSO module
1846 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache/
1849 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1851 # install the apache modules' files
1852 %{__make} install-headers install-build install-modules install-programs \
1853 INSTALL_ROOT=$RPM_BUILD_ROOT
1855 # as of 5.0.5, phpextdist isn't installed by default
1856 install scripts/dev/phpextdist $RPM_BUILD_ROOT%{_bindir}
1859 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php.cgi
1863 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php.fcgi
1867 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
1868 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
1869 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
1872 # Why make install doesn't install libphp5.so ?
1873 #install libs/libphp5.so $RPM_BUILD_ROOT%{apachelib}
1875 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1877 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1879 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1881 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1882 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1883 install %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir}
1884 install %{SOURCE1} .
1887 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
1888 install %{SOURCE4} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
1889 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1890 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
1894 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1895 install %{SOURCE4} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1896 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1897 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
1900 cp -f Zend/LICENSE{,.Zend}
1902 # Generate stub .ini files for each subpackage
1903 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1904 for so in modules/*.so; do
1905 mod=$(basename $so .so)
1906 conf="%{_sysconfdir}/conf.d/${mod}.ini"
1907 # xml needs to be loaded before wddx
1908 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_${mod}.ini"
1909 cat > $RPM_BUILD_ROOT${conf} <<EOF
1910 ; Enable ${mod} extension module
1915 # Not in all SAPI, so don't need the .ini fragments.
1916 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/{ncurses,pcntl,readline}.ini
1918 # use system automake and {lib,sh}tool
1919 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
1920 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
1921 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
1922 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
1925 rm -rf $RPM_BUILD_ROOT
1928 if [ "$1" = "1" ]; then
1930 %service -q apache restart
1933 %service -q httpd restart
1938 if [ "$1" = "0" ]; then
1940 %service -q apache restart
1943 %service -q httpd restart
1947 %post -n apache1-mod_php
1948 if [ "$1" = "1" ]; then
1949 %service -q apache restart
1952 %postun -n apache1-mod_php
1953 if [ "$1" = "0" ]; then
1954 %service -q apache restart
1957 %post -n apache-mod_php
1958 if [ "$1" = "1" ]; then
1959 %service -q httpd restart
1962 %postun -n apache-mod_php
1963 if [ "$1" = "0" ]; then
1964 %service -q httpd restart
1967 # so tired of typing... so decided to create macros
1968 # macro called at extension post scriptlet
1969 %define extension_post \
1970 if [ "$1" = "1" ]; then \
1971 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1972 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1975 # macro called at extension postun scriptlet
1976 %define extension_postun \
1977 if [ "$1" = "0" ]; then \
1978 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1979 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1982 %post common -p /sbin/ldconfig
1983 %postun common -p /sbin/ldconfig
1986 # minimizing apache restarts logics. we restart webserver:
1988 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1989 # 2. first install of extension (post: $1 = 1)
1990 # 2. uninstall of extension (postun: $1 == 0)
1992 # the strict internal deps between extensions (and apache modules) and
1993 # common package are very important for all this to work.
1995 # restart webserver at the end of transaction
1996 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
1997 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
2000 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
2002 /^AddType application\/x-httpd-php \.php/s,^,#,
2003 /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
2004 ' /etc/apache/apache.conf
2005 %service -q apache restart
2009 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
2010 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
2011 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
2012 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
2013 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2192 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2193 %{_sbindir}/php-module-install install ncurses %{_sysconfdir}/php-cgi.ini
2195 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2196 %{_sbindir}/php-module-install install ncurses %{_sysconfdir}/php-cli.ini
2200 if [ "$1" = "0" ]; then
2201 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2202 %{_sbindir}/php-module-install remove ncurses %{_sysconfdir}/php-cgi.ini
2204 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2205 %{_sbindir}/php-module-install remove ncurses %{_sysconfdir}/php-cli.ini
2228 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2229 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php-cgi.ini
2231 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2232 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php-cli.ini
2236 if [ "$1" = "0" ]; then
2237 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2238 %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php-cgi.ini
2240 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2241 %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php-cli.ini
2260 %postun pdo-firebird
2306 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2307 %{_sbindir}/php-module-install install readline %{_sysconfdir}/php-cgi.ini
2309 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2310 %{_sbindir}/php-module-install install readline %{_sysconfdir}/php-cli.ini
2314 if [ "$1" = "0" ]; then
2315 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2316 %{_sbindir}/php-module-install remove readline %{_sysconfdir}/php-cgi.ini
2318 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2319 %{_sbindir}/php-module-install remove readline %{_sysconfdir}/php-cli.ini
2352 if [ "$1" = "0" ]; then
2353 %{_sbindir}/php-module-install remove soap %{_sysconfdir}/php.ini
2446 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2447 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
2449 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2450 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove bzip2 %{_sysconfdir}/php.ini
2452 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2453 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
2455 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2456 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ctype %{_sysconfdir}/php.ini
2458 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2459 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
2461 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2462 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
2464 %triggerun dbase -- %{name}-dbase < 4:5.0.4-9.1
2465 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
2467 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2468 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dom %{_sysconfdir}/php.ini
2470 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2471 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
2473 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2474 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove fdf %{_sysconfdir}/php.ini
2476 %triggerun filepro -- %{name}-filepro < 4:5.0.4-9.1
2477 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
2479 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2480 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
2482 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2483 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
2485 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2486 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
2488 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2489 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gmp %{_sysconfdir}/php.ini
2491 %triggerun hwapi -- %{name}-hwapi < 4:5.0.4-9.1
2492 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove hwapi %{_sysconfdir}/php.ini
2494 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2495 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove iconv %{_sysconfdir}/php.ini
2497 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2498 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
2500 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2501 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove interbase %{_sysconfdir}/php.ini
2503 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2504 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
2506 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2507 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mbstring %{_sysconfdir}/php.ini
2509 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2510 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
2512 %triggerun mhash -- %{name}-mhash < 4:5.0.4-9.1
2513 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
2515 %triggerun mime_magic -- %{name}-mime_magic < 4:5.0.4-9.1
2516 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mime_magic %{_sysconfdir}/php.ini
2518 %triggerun ming -- %{name}-ming < 4:5.0.4-9.1
2519 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
2521 %triggerun msession -- %{name}-msession < 4:5.0.4-9.1
2522 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove msession %{_sysconfdir}/php.ini
2524 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2525 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mssql %{_sysconfdir}/php.ini
2527 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2528 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
2530 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2531 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mysqli %{_sysconfdir}/php.ini
2533 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2534 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
2536 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2537 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
2539 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2540 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove openssl %{_sysconfdir}/php.ini
2542 %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1
2543 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
2545 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2546 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
2548 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2549 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
2551 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2552 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pspell %{_sysconfdir}/php.ini
2554 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2555 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
2557 %triggerun session -- %{name}-session < 4:5.0.4-9.1
2558 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
2560 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2561 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove shmop %{_sysconfdir}/php.ini
2563 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2564 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
2566 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2567 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove soap %{_sysconfdir}/php.ini
2569 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2570 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
2572 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2573 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sqlite %{_sysconfdir}/php.ini
2575 %triggerun sybase -- %{name}-sybase < 4:5.0.4-9.1
2576 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sybase %{_sysconfdir}/php.ini
2578 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2579 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sybase-ct %{_sysconfdir}/php.ini
2581 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2582 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvmsg %{_sysconfdir}/php.ini
2584 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2585 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
2587 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2588 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
2590 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2591 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove tidy %{_sysconfdir}/php.ini
2593 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2594 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
2596 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2597 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
2599 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2600 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xmlrpc %{_sysconfdir}/php.ini
2602 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2603 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xsl %{_sysconfdir}/php.ini
2605 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2606 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
2609 %files -n apache1-mod_php
2610 %defattr(644,root,root,755)
2611 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2612 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2613 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2614 /home/services/apache/icons/*
2618 %files -n apache-mod_php
2619 %defattr(644,root,root,755)
2620 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php.conf
2621 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2622 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2623 /home/services/httpd/icons/*
2628 %defattr(644,root,root,755)
2629 %doc sapi/cgi/README.FastCGI
2630 %attr(755,root,root) %{_bindir}/php.fcgi
2631 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2635 %defattr(644,root,root,755)
2636 %attr(755,root,root) %{_bindir}/php.cgi
2637 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2640 %defattr(644,root,root,755)
2641 %attr(755,root,root) %{_bindir}/php.cli
2642 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2643 %{_mandir}/man1/php.1*
2644 %{_mandir}/man1/php.cli.1*
2647 %defattr(644,root,root,755)
2648 %attr(755,root,root) %{_bindir}/php
2651 %defattr(644,root,root,755)
2653 %doc CREDITS Zend/ZEND_CHANGES
2654 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2657 %dir %{_sysconfdir}/conf.d
2658 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2659 %attr(755,root,root) %{_sbindir}/php-module-install
2660 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2661 %dir %{extensionsdir}
2662 %dir %{_phpsharedir}
2664 # session_mm doesn't work with shared session
2666 #%defattr(644,root,root,755)
2667 #%attr(755,root,root) %{extensionsdir}/session.so
2668 %doc ext/session/mod_files.sh
2671 %defattr(644,root,root,755)
2672 %doc README.UNIX-BUILD-SYSTEM
2673 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2674 %doc CODING_STANDARDS
2675 %attr(755,root,root) %{_bindir}/phpextdist
2676 %attr(755,root,root) %{_bindir}/phpize
2677 %attr(755,root,root) %{_bindir}/php-config
2678 %attr(755,root,root) %{_libdir}/libphp_common.so
2679 %{_libdir}/libphp_common.la
2681 %{_libdir}/php/build
2685 %defattr(644,root,root,755)
2686 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2687 %attr(755,root,root) %{extensionsdir}/bcmath.so
2690 %defattr(644,root,root,755)
2691 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2692 %attr(755,root,root) %{extensionsdir}/bz2.so
2695 %defattr(644,root,root,755)
2696 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2697 %attr(755,root,root) %{extensionsdir}/calendar.so
2700 %defattr(644,root,root,755)
2701 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2702 %attr(755,root,root) %{extensionsdir}/ctype.so
2706 %defattr(644,root,root,755)
2707 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2708 %attr(755,root,root) %{extensionsdir}/curl.so
2712 %defattr(644,root,root,755)
2713 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2714 %attr(755,root,root) %{extensionsdir}/dba.so
2717 %defattr(644,root,root,755)
2718 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2719 %attr(755,root,root) %{extensionsdir}/dbase.so
2722 %defattr(644,root,root,755)
2723 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2724 %attr(755,root,root) %{extensionsdir}/dom.so
2728 %defattr(644,root,root,755)
2729 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2730 %attr(755,root,root) %{extensionsdir}/fdf.so
2734 %defattr(644,root,root,755)
2735 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2736 %attr(755,root,root) %{extensionsdir}/exif.so
2739 %defattr(644,root,root,755)
2740 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filepro.ini
2741 %attr(755,root,root) %{extensionsdir}/filepro.so
2744 %defattr(644,root,root,755)
2745 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2746 %attr(755,root,root) %{extensionsdir}/ftp.so
2749 %defattr(644,root,root,755)
2750 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2751 %attr(755,root,root) %{extensionsdir}/gd.so
2754 %defattr(644,root,root,755)
2755 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2756 %attr(755,root,root) %{extensionsdir}/gettext.so
2759 %defattr(644,root,root,755)
2760 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2761 %attr(755,root,root) %{extensionsdir}/gmp.so
2765 %defattr(644,root,root,755)
2766 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hwapi.ini
2767 %attr(755,root,root) %{extensionsdir}/hwapi.so
2771 %defattr(644,root,root,755)
2772 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2773 %attr(755,root,root) %{extensionsdir}/iconv.so
2777 %defattr(644,root,root,755)
2778 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2779 %attr(755,root,root) %{extensionsdir}/imap.so
2782 %if %{with interbase}
2784 %defattr(644,root,root,755)
2785 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2786 %attr(755,root,root) %{extensionsdir}/interbase.so
2791 %defattr(644,root,root,755)
2792 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2793 %attr(755,root,root) %{extensionsdir}/ldap.so
2797 %defattr(644,root,root,755)
2798 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2799 %attr(755,root,root) %{extensionsdir}/mbstring.so
2802 %defattr(644,root,root,755)
2803 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2804 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2808 %defattr(644,root,root,755)
2809 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2810 %attr(755,root,root) %{extensionsdir}/mhash.so
2813 %if %{with mime_magic}
2815 %defattr(644,root,root,755)
2816 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2817 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2822 %defattr(644,root,root,755)
2823 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2824 %attr(755,root,root) %{extensionsdir}/ming.so
2827 %if %{with msession}
2829 %defattr(644,root,root,755)
2830 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/msession.ini
2831 %attr(755,root,root) %{extensionsdir}/msession.so
2836 %defattr(644,root,root,755)
2837 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2838 %attr(755,root,root) %{extensionsdir}/mssql.so
2842 %defattr(644,root,root,755)
2843 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2844 %attr(755,root,root) %{extensionsdir}/mysql.so
2848 %defattr(644,root,root,755)
2849 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2850 %attr(755,root,root) %{extensionsdir}/mysqli.so
2854 %defattr(644,root,root,755)
2855 %attr(755,root,root) %{extensionsdir}/ncurses.so
2859 %defattr(644,root,root,755)
2860 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2861 %attr(755,root,root) %{extensionsdir}/oci8.so
2866 %defattr(644,root,root,755)
2867 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2868 %attr(755,root,root) %{extensionsdir}/odbc.so
2873 %defattr(644,root,root,755)
2874 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2875 %attr(755,root,root) %{extensionsdir}/openssl.so
2879 %defattr(644,root,root,755)
2880 %attr(755,root,root) %{extensionsdir}/pcntl.so
2884 %defattr(644,root,root,755)
2885 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcre.ini
2886 %attr(755,root,root) %{extensionsdir}/pcre.so
2890 %defattr(644,root,root,755)
2891 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2892 %attr(755,root,root) %{extensionsdir}/pdo.so
2894 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
2896 %defattr(644,root,root,755)
2897 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2898 %attr(755,root,root) %{extensionsdir}/pdo_dblib.so
2901 %if %{with interbase} && %{without interbase_inst}
2903 %defattr(644,root,root,755)
2904 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2905 %attr(755,root,root) %{extensionsdir}/pdo_firebird.so
2909 %defattr(644,root,root,755)
2910 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2911 %attr(755,root,root) %{extensionsdir}/pdo_mysql.so
2915 %defattr(644,root,root,755)
2916 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2917 %attr(755,root,root) %{extensionsdir}/pdo_oci.so
2922 %defattr(644,root,root,755)
2923 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2924 %attr(755,root,root) %{extensionsdir}/pdo_odbc.so
2929 %defattr(644,root,root,755)
2930 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2931 %attr(755,root,root) %{extensionsdir}/pdo_pgsql.so
2936 %defattr(644,root,root,755)
2937 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2938 %attr(755,root,root) %{extensionsdir}/pdo_sqlite.so
2943 %defattr(644,root,root,755)
2944 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2945 %attr(755,root,root) %{extensionsdir}/pgsql.so
2949 %defattr(644,root,root,755)
2950 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2951 %attr(755,root,root) %{extensionsdir}/posix.so
2955 %defattr(644,root,root,755)
2956 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2957 %attr(755,root,root) %{extensionsdir}/pspell.so
2961 %defattr(644,root,root,755)
2962 %attr(755,root,root) %{extensionsdir}/readline.so
2966 %defattr(644,root,root,755)
2967 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2968 %attr(755,root,root) %{extensionsdir}/recode.so
2972 # simplexml is needed by spl, and spl can't be built shared as of now (5.1.0RC3)
2974 %defattr(644,root,root,755)
2975 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2976 %attr(755,root,root) %{extensionsdir}/simplexml.so
2980 %defattr(644,root,root,755)
2981 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2982 %attr(755,root,root) %{extensionsdir}/shmop.so
2986 %defattr(644,root,root,755)
2987 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2988 %attr(755,root,root) %{extensionsdir}/snmp.so
2992 %defattr(644,root,root,755)
2993 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2994 %attr(755,root,root) %{extensionsdir}/soap.so
2997 %defattr(644,root,root,755)
2998 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2999 %attr(755,root,root) %{extensionsdir}/sockets.so
3003 %defattr(644,root,root,755)
3004 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
3005 %attr(755,root,root) %{extensionsdir}/sqlite.so
3010 %defattr(644,root,root,755)
3011 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
3012 %attr(755,root,root) %{extensionsdir}/sybase.so
3015 %if %{with sybase_ct}
3017 %defattr(644,root,root,755)
3018 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3019 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
3023 %defattr(644,root,root,755)
3024 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3025 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
3028 %defattr(644,root,root,755)
3029 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3030 %attr(755,root,root) %{extensionsdir}/sysvsem.so
3033 %defattr(644,root,root,755)
3034 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3035 %attr(755,root,root) %{extensionsdir}/sysvshm.so
3039 %defattr(644,root,root,755)
3040 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3041 %attr(755,root,root) %{extensionsdir}/tidy.so
3045 %defattr(644,root,root,755)
3046 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3047 %attr(755,root,root) %{extensionsdir}/tokenizer.so
3051 %defattr(644,root,root,755)
3052 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3053 %attr(755,root,root) %{extensionsdir}/wddx.so
3057 %defattr(644,root,root,755)
3058 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3059 %attr(755,root,root) %{extensionsdir}/xml.so
3062 %defattr(644,root,root,755)
3063 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3064 %attr(755,root,root) %{extensionsdir}/xmlreader.so
3068 %defattr(644,root,root,755)
3069 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3070 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
3074 %defattr(644,root,root,755)
3075 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3076 %attr(755,root,root) %{extensionsdir}/xsl.so
3079 %defattr(644,root,root,755)
3080 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3081 %attr(755,root,root) %{extensionsdir}/zlib.so