2 # - php-shared is SERIOUSLY broken. Try compiling with --enable-versioning.
3 # - think of including support for:
8 # These extensions BuildRequires proprietary libraries...
9 # - deal with modules removed from php and not moved to PECL
10 # (existing only in php4):
11 # db, hyperwave, java, mcal, overload, qtdom
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 libxml, session, SimpleXML, SPL, 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_with oracle # with oracle extension module (BR: proprietary libs)
25 %bcond_without mysqli # with mysqli support (Requires mysql > 4.1)
26 %bcond_without cpdf # without cpdf extension module
27 %bcond_without curl # without CURL extension module
28 %bcond_without fam # without FAM (File Alteration Monitor) extension module
29 %bcond_without imap # without IMAP extension module
30 %bcond_without interbase # without InterBase extension module
31 %bcond_without ldap # without LDAP extension module
32 %bcond_without mhash # without mhash extension module
33 %bcond_without ming # without ming extension module
34 %bcond_without mm # without mm support for session storage
35 %bcond_without mnogosearch # without mnogosearch extension module
36 %bcond_without msession # without msession extension module
37 %bcond_without mssql # without MS SQL extension module
38 %bcond_without mime_magic # without mime-magic module
39 %bcond_without odbc # without ODBC extension module
40 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
41 %bcond_without pcre # without PCRE extension module
42 %bcond_without pgsql # without PostgreSQL extension module
43 %bcond_without pspell # without pspell extension module
44 %bcond_without recode # without recode extension module
45 %bcond_without snmp # without SNMP extension module
46 %bcond_without sqlite # without SQLite extension module
47 %bcond_without sybase # without Sybase extension module
48 %bcond_without sybase_ct # without Sybase-CT extension module
49 %bcond_without tidy # without Tidy extension module
50 %bcond_without wddx # without WDDX extension module
51 %bcond_without xmlrpc # without XML-RPC extension module
52 %bcond_without apache1 # disable building apache 1.3.x module
53 %bcond_without apache2 # disable building apache 2.x module
54 %bcond_without fcgi # disable building FCGI SAPI
55 %bcond_without zts # disable experimental-zts
57 %define apxs1 /usr/sbin/apxs1
58 %define apxs2 /usr/sbin/apxs
60 # some problems with apache 2.x
65 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
66 %undefine with_interbase
69 %if %{without apache1} && %{without apache2}
70 ERROR: You need to select at least one Apache SAPI to build shared modules.
75 %undefine with_msession
78 Summary: The PHP HTML-embedded scripting language for use with Apache
79 Summary(fr): Le langage de script embarque-HTML PHP pour Apache
80 Summary(pl): Jêzyk skryptowy PHP - u¿ywany wraz z serwerem Apache
81 Summary(pt_BR): A linguagem de script PHP
82 Summary(ru): PHP ÷ÅÒÓÉÉ 5 - ÑÚÙË ÐÒÅÐÒÏÃÅÓÓÉÒÏ×ÁÎÉÑ HTML-ÆÁÊÌÏ×, ×ÙÐÏÌÎÑÅÍÙÊ ÎÁ ÓÅÒ×ÅÒÅ
83 Summary(uk): PHP ÷ÅÒÓ¦§ 5 - ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
87 Release: %{_rel}%{?with_hardening:hardened}
91 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
92 # Source0-md5: b5d4ca75bbb11ee5b830fa67213d9f7f
95 Source3: %{name}-module-install
96 Source4: %{name}-mod_%{name}.conf
97 Source5: %{name}-cgi-fcgi.ini
98 Source6: %{name}-cgi.ini
99 Source7: %{name}-apache.ini
100 Source8: %{name}-cli.ini
101 Source9: http://www.hardened-php.net/hardening-patch-%{version}-0.4.3.patch.gz
102 # Source9-md5: 6af27b59251bb9ce4741b17e2e5358f7
103 Patch0: %{name}-shared.patch
104 Patch1: %{name}-pldlogo.patch
105 Patch2: %{name}-mail.patch
106 Patch3: %{name}-link-libs.patch
107 Patch4: %{name}-libpq_fs_h_path.patch
108 Patch5: %{name}-msession-shared-lib.patch
109 Patch6: %{name}-build_modules.patch
110 Patch7: %{name}-sapi-ini-file.patch
111 Patch8: %{name}-no-metaccld.patch
112 Patch9: %{name}-session-unregister.patch
113 Patch10: %{name}-ini.patch
114 Patch11: %{name}-acam.patch
115 Patch12: %{name}-xmlrpc-fix.patch
116 Patch13: %{name}-libtool.patch
117 Patch14: %{name}-allow-db31.patch
118 Patch15: %{name}-threads-acfix.patch
119 Patch16: %{name}-tsrmlsfetchgcc2.patch
120 Patch17: %{name}-no_pear_install.patch
121 Patch18: %{name}-zlib.patch
122 Patch19: %{name}-sybase-fix.patch
123 Patch20: %{name}-mnogosearch-fix.patch
124 Patch21: %{name}-nohttpd.patch
125 Patch22: %{name}-lib64.patch
126 Patch23: %{name}-gd_imagerotate_enable.patch
127 Patch24: %{name}-uint32_t.patch
128 Patch25: %{name}-hwapi-link.patch
129 Patch26: %{name}-dba-link.patch
130 Patch27: %{name}-install_gd_headers.patch
131 Patch28: %{name}-cpdf-fix.patch
132 Patch29: %{name}-gcc4.patch
133 Patch30: %{name}-both-apxs.patch
134 Patch31: %{name}-builddir.patch
135 Patch32: %{name}_bug34435.patch
136 Patch33: %{name}-ftp-ssllibs.patch
137 Patch34: %{name}-bug-35009.patch
138 Patch35: %{name}-bug-33720.patch
139 Patch36: %{name}-dextension.patch
141 URL: http://www.php.net/
142 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
143 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
144 BuildRequires: autoconf >= 2.53
145 BuildRequires: automake >= 1.4d
147 BuildRequires: bzip2-devel
148 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
149 BuildRequires: cyrus-sasl-devel
150 %{!?with_db3:BuildRequires: db-devel >= 4.0}
151 %{?with_db3:BuildRequires: db3-devel >= 3.1}
152 BuildRequires: elfutils-devel
154 BuildRequires: expat-devel
156 %{?with_fam:BuildRequires: fam-devel}
157 %{?with_fcgi:BuildRequires: fcgi-devel}
158 %{?with_fdf:BuildRequires: fdftk-devel}
160 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
161 BuildRequires: freetds-devel
163 BuildRequires: freetype-devel >= 2.0
164 BuildRequires: gd-devel >= 2.0.28-4
165 BuildRequires: gdbm-devel
166 BuildRequires: gmp-devel
167 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
168 %{?with_cpdf:BuildRequires: libcpdf-devel >= 2.02r1-2}
169 BuildRequires: libjpeg-devel
170 BuildRequires: libltdl-devel >= 1.4
171 BuildRequires: libmcrypt-devel >= 2.4.4
172 BuildRequires: libpng-devel >= 1.0.8
173 BuildRequires: libtiff-devel
174 BuildRequires: libtool >= 1.4.3
175 BuildRequires: libxml2-devel >= 2.5.10
176 BuildRequires: libxslt-devel >= 1.0.18
177 %{?with_mhash:BuildRequires: mhash-devel}
178 %{?with_ming:BuildRequires: ming-devel >= 0.1.0}
179 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
180 %{?with_mnogosearch:BuildRequires: mnogosearch-devel >= 3.2.6}
181 BuildRequires: mysql-devel >= 4.0.0
182 %{?with_mysqli:BuildRequires: mysql-devel >= 4.1.0}
183 BuildRequires: ncurses-ext-devel
184 %{?with_ldap:BuildRequires: openldap-devel >= 2.0}
185 %if %{with openssl} || %{with ldap}
186 BuildRequires: openssl-devel >= 0.9.7d
188 BuildRequires: %{__perl}
189 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
190 BuildRequires: pam-devel
191 %{?with_pcre:BuildRequires: pcre-devel}
192 %{?with_msession:BuildRequires: phoenix-devel}
193 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
194 %{?with_pgsql:BuildRequires: postgresql-devel}
195 BuildRequires: readline-devel
196 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
197 BuildRequires: rpm-build >= 4.4.0
198 BuildRequires: rpmbuild(macros) >= 1.238
199 %{?with_sqlite:BuildRequires: sqlite-devel}
200 BuildRequires: t1lib-devel
201 %{?with_tidy:BuildRequires: tidy-devel}
202 %{?with_odbc:BuildRequires: unixODBC-devel}
203 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
204 BuildRequires: zlib-devel >= 1.0.9
206 BuildRequires: apache1-devel
209 BuildRequires: apache-devel >= 2.0.52-2
210 BuildRequires: apr-devel >= 1:1.0.0
211 BuildRequires: apr-util-devel >= 1:1.0.0
213 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
215 %define _sysconfdir /etc/php
216 %define _phpsharedir %{_datadir}/php
217 %define extensionsdir %{_libdir}/php
219 # must be in sync with source. extra check ensuring that it is so is done in %%build
220 %define php_api_version 20031224
221 %define zend_module_api 20041030
222 %define zend_extension_api 220040412
223 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
224 %define php_debug %{!?debug:0}%{?debug:1}
227 PHP is an HTML-embedded scripting language. PHP attempts to make it
228 easy for developers to write dynamically generated web pages. PHP also
229 offers built-in database integration for several commercial and
230 non-commercial database management systems, so writing a
231 database-enabled web page with PHP is fairly simple. The most common
232 use of PHP coding is probably as a replacement for CGI scripts. The
233 mod_php module enables the Apache web server to understand and process
234 the embedded PHP language in web pages. This package contains php
235 version %{version}. If you use applications which specifically rely on
236 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
237 module contained in the phpfi package. If you're just starting with
238 PHP, you should install this package. You'll also need to install the
242 PHP est un langage de script embarque dans le HTM. PHP essaye de
243 rendre simple aux developpeurs d'ecrire des pages web generees
244 dynamiquement. PHP incorpore egalement une integration avec plusieurs
245 systemes de gestion de bases de donnees commerciaux et
246 non-connerciaux, qui rent facile la creation de pages web liees avec
247 des bases de donnees. L'utilisation la plus commune de PHP est
248 probablement en remplacement de scripts CGI. Le module mod_php permet
249 au serveur web apache de comprendre et de traiter le langage PHP
250 integre dans des pages web. Ce package contient php version
251 %{version}. Si vous utilisez des applications qui utilisent
252 specifiquement PHP/FI, vous devrez installer le module PHP/FI inclus
253 dans le package mod_php. Si vous debutez avec PHP, vous devriez
254 installer ce package. Vous aurez egalement besoin dinstaller le
258 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
259 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
260 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
261 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
262 zosta³a z jêzyków: C, Java i Perl.
264 %description -l pt_BR
265 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
266 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
267 com algumas características únicas, específicas ao PHP. O objetivo da
268 linguagem é permitir que desenvolvedores web escrevam páginas
269 dinamicamente geradas de forma rápida.
272 PHP - ÜÔÏ ÑÚÙË ÎÁÐÉÓÁÎÉÑ ÓËÒÉÐÔÏ×, ×ÓÔÒÁÉ×ÁÅÍÙÈ × HTML-ËÏÄ. PHP
273 ÐÒÅÄÌÁÇÁÅÔ ÉÎÔÅÒÇÒÁÃÉÀ Ó ÍÎÏÖÅÓÔ×ÏÍ óõâä, ÐÏÜÔÏÍÕ ÎÁÐÉÓÁÎÉÅ ÓËÒÉÐÔÏ×
274 ÄÌÑ ÒÁÂÏÔÙ Ó ÂÁÚÁÍÉ ÄÁÎÎÙÈ ÏÔÎÏÓÉÔÅÌØÎÏ ÐÒÏÓÔÏ. îÁÉÂÏÌÅÅ ÐÏÐÕÌÑÒÎÏÅ
275 ÉÓÐÏÌØÚÏ×ÁÎÉÅ PHP - ÚÁÍÅÎÁ ÄÌÑ CGI ÓËÒÉÐÔÏ×.
277 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÁÍÏÄÏÓÔÁÔÏÞÎÕÀ (CGI) ×ÅÒÓÉÀ ÉÎÔÅÒÐÒÅÔÁÔÏÒÁ ÑÚÙËÁ.
278 ÷Ù ÄÏÌÖÎÙ ÔÁËÖÅ ÕÓÔÁÎÏ×ÉÔØ ÐÁËÅÔ %{name}-common. åÓÌÉ ×ÁÍ ÎÕÖÅÎ
279 ÉÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache, ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ
283 PHP - ÃÅ ÍÏ×Á ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦×, ÝÏ ×ÂÕÄÏ×ÕÀÔØÓÑ × HTML-ËÏÄ. PHP
284 ÐÒÏÐÏÎÕ¤ ¦ÎÔÅÇÒÁæÀ Ú ÂÁÇÁÔØÍÁ óõâä, ÔÏÍÕ ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦× ÄÌÑ
285 ÒÏÂÏÔÉ Ú ÂÁÚÁÍÉ ÄÁÎÉÈ ¤ ÄÏ×Ï̦ ÐÒÏÓÔÉÍ. îÁʦÌØÛ ÐÏÐÕÌÑÒÎÅ
286 ×ÉËÏÒÉÓÔÁÎÎÑ PHP - ÚÁͦÎÁ ÄÌÑ CGI ÓËÒÉÐÔ¦×.
288 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÁÍÏÄÏÓÔÁÔÎÀ (CGI) ×ÅÒÓ¦À ¦ÎÔÅÒÐÒÅÔÁÔÏÒÁ ÍÏ×É. ÷É
289 ÍÁ¤ÔÅ ÔÁËÏÖ ×ÓÔÁÎÏ×ÉÔÉ ÐÁËÅÔ %{name}-common. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÅÎ
290 ¦ÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache, ×ÓÔÁÎÏצÔØ ÐÁËÅÔ apache-php.
292 %package -n apache1-mod_php
293 Summary: PHP DSO module for apache 1.3.x
294 Summary(pl): Modu³ DSO (Dynamic Shared Object) php dla apache 1.3.x
295 Group: Development/Languages/PHP
296 Requires(post,preun): %{__perl}
297 Requires(post,preun): %{apxs1}
298 Requires: %{name}-common = %{epoch}:%{version}-%{release}
299 Requires: apache1(EAPI) >= 1.3.33-2
300 Requires: apache1-mod_mime
301 Provides: php = %{epoch}:%{version}-%{release}
303 Obsoletes: apache-mod_php < 1:4.1.1
305 %description -n apache1-mod_php
306 PHP as DSO module for apache 1.3.x.
308 %description -n apache1-mod_php -l pl
309 php jako modu³ DSO (Dynamic Shared Object) dla apache 1.3.x.
311 %package -n apache-mod_php
312 Summary: PHP DSO module for apache 2.x
313 Summary(pl): Modu³ DSO (Dynamic Shared Object) php dla apache 2.x
314 Group: Development/Languages/PHP
315 Requires: %{name}-common = %{epoch}:%{version}-%{release}
316 Requires: apache(modules-api) = %{apache_modules_api}
317 Requires: apache >= 2.0.52-2
318 Provides: php = %{epoch}:%{version}-%{release}
320 Obsoletes: apache-mod_php < 1:4.1.1
322 %description -n apache-mod_php
323 PHP as DSO module for apache 2.x.
325 %description -n apache-mod_php -l pl
326 php jako modu³ DSO (Dynamic Shared Object) dla apache 2.x.
329 Summary: php as FastCGI program
330 Summary(pl): php jako program FastCGI
331 Group: Development/Languages/PHP
332 Requires: %{name}-common = %{epoch}:%{version}-%{release}
333 Provides: php = %{epoch}:%{version}-%{release}
336 php as FastCGI program.
338 %description fcgi -l pl
339 php jako program FastCGI.
342 Summary: php as CGI program
343 Summary(pl): php jako program CGI
344 Group: Development/Languages/PHP
345 Requires: %{name}-common = %{epoch}:%{version}-%{release}
350 %description cgi -l pl
351 php jako program CGI.
354 Summary: php as CLI interpreter
355 Summary(pl): php jako interpreter dzia³aj±cy z linii poleceñ
356 Group: Development/Languages/PHP
357 Requires: %{name}-common = %{epoch}:%{version}-%{release}
360 php as CLI interpreter.
362 %description cli -l pl
363 php jako interpreter dzia³aj±cy z linii poleceñ.
366 Summary: /usr/bin/php symlink
367 Summary(pl): Dowi±zanie symboliczne /usr/bin/php
368 Group: Development/Languages/PHP
369 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
370 Provides: php(program)
371 Obsoletes: php(program)
374 Package providing /usr/bin/php symlink to PHP CLI.
376 %description program -l pl
377 Pakiet dostarczaj±cy dowi±zanie symboliczne /usr/bin/php do PHP CLI.
380 Summary: Common files needed by both apache module and CGI
381 Summary(pl): Wspólne pliki dla modu³u apache'a i programu CGI
382 Summary(ru): òÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ php
383 Summary(uk): â¦Â̦ÏÔÅËÉ ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÄÌÑ php
385 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
386 Requires: glibc >= 6:2.3.5
388 Provides: %{name}-libxml = %{epoch}:%{version}-%{release}
389 Provides: %{name}-session = %{epoch}:%{version}-%{release}
390 Provides: %{name}-simplexml = %{epoch}:%{version}-%{release}
391 Provides: %{name}-spl = %{epoch}:%{version}-%{release}
392 Provides: %{name}-standard = %{epoch}:%{version}-%{release}
393 # FIXME: apache2 specific Provides
394 Provides: php-common(apache-modules-api) = %{apache_modules_api}
395 Provides: php(modules_api) = %{php_api_version}
396 Provides: php(zend_module_api) = %{zend_module_api}
397 Provides: php(zend_extension_api) = %{zend_extension_api}
398 Provides: php5(debug) = %{php_debug}
399 Provides: php5(thread-safety) = %{zend_zts}
400 Obsoletes: php-session < 3:4.2.1-2
401 # for the posttrans scriptlet, conflicts because in vserver enviroinment rpm package is not installed.
402 Conflicts: rpm < 4.4.2-0.2
405 Common files needed by both apache module and CGI.
407 %description common -l pl
408 Wspólne pliki dla modu³u apacha i programu CGI.
410 %description common -l ru
411 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÏÂÝÉÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÎÙÈ ×ÁÒÉÁÎÔÏ× ÒÅÁÌÉÚÁÃÉÉ PHP
412 (ÓÁÍÏÄÏÓÔÁÔÏÞÎÏÊ É × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache).
414 %description common -l uk
415 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓЦÌØΦ ÆÁÊÌÉ ÄÌÑ Ò¦ÚÎÉÈ ×ÁÒ¦ÁÎÔ¦× ÒÅÁ̦ÚÁæ§ PHP
416 (ÓÁÍÏÄÏÓÔÁÔÎØϧ ÔÁ × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache).
419 Summary: Files for PHP modules development
420 Summary(pl): Pliki do kompilacji modu³ów PHP
421 Summary(pt_BR): Arquivos de desenvolvimento para PHP
422 Summary(ru): ðÁËÅÔ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÏÓÔÒÏÅÎÉÑ ÒÁÓÛÉÒÅÎÉÊ PHP
423 Summary(uk): ðÁËÅÔ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÏÂÕÄÏ×É ÒÏÚÛÉÒÅÎØ PHP
424 Group: Development/Languages/PHP
425 Requires: %{name}-common = %{epoch}:%{version}-%{release}
430 Obsoletes: php-pear-devel
431 Obsoletes: php4-devel
434 The php-devel package lets you compile dynamic extensions to PHP.
435 Included here is the source for the PHP extensions. Instead of
436 recompiling the whole php binary to add support for, say, oracle,
437 install this package and use the new self-contained extensions
438 support. For more information, read the file
439 SELF-CONTAINED-EXTENSIONS.
441 %description devel -l pl
442 Pliki potrzebne do kompilacji modu³ów PHP.
444 %description devel -l pt_BR
445 Este pacote contém arquivos usados no desenvolvimento de programas ou
448 %description devel -l uk
449 ðÁËÅÔ php-devel ÄÁ¤ ÍÏÖÌÉצÓÔØ ËÏÍЦÌÀ×ÁÔÉ ÄÉÎÁͦÞΦ ÒÏÚÛÉÒÅÎÎÑ PHP.
450 äÏ ÐÁËÅÔÕ ×ËÌÀÞÅÎÏ ×ÉȦÄÎÉÊ ËÏÄ ÄÌÑ ÒÏÚÛÉÒÅÎØ. úÁͦÓÔØ ÐÏ×ÔÏÒÎϧ
451 ËÏÍЦÌÑæ§ ¦ÎÁÒÎÏÇÏ ÆÁÊÌÕ php ÄÌÑ ÄÏÄÁÎÎÑ, ÎÁÐÒÉËÌÁÄ, ЦÄÔÒÉÍËÉ
452 oracle, ×ÓÔÁÎÏצÔØ ÃÅÊ ÐÁËÅÔ ÄÌÑ ËÏÍЦÌÑæ§ ÏËÒÅÍÉÈ ÒÏÚÛÉÒÅÎØ.
453 äÅÔÁÌØΦÛÁ ¦ÎÆÏÒÍÁÃ¦Ñ - × ÆÁÊ̦ SELF-CONTAINED-EXTENSIONS.
455 %description devel -l ru
456 ðÁËÅÔ php-devel ÄÁÅÔ ×ÏÚÍÏÖÎÏÓÔØ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÄÉÎÁÍÉÞÅÓËÉÅ ÒÁÓÛÉÒÅÎÉÑ
457 PHP. ðÁËÅÔ ×ËÌÀÞÁÅÔ ÉÓÈÏÄÎÙÊ ËÏÄ ÜÔÉÈ ÒÁÓÛÉÒÅÎÉÊ. ÷ÍÅÓÔÏ ÐÏ×ÔÏÒÎÏÊ
458 ËÏÍÐÉÌÑÃÉÉ ÂÉÎÁÒÎÏÇÏ ÆÁÊÌÁ php ÄÌÑ ÄÏÂÁ×ÌÅÎÉÑ, ÎÁÐÒÉÍÅÒ, ÐÏÄÄÅÒÖËÉ
459 oracle, ÕÓÔÁÎÏ×ÉÔÅ ÜÔÏÔ ÐÁËÅÔ ÄÌÑ ËÏÍÐÉÌÉÒÏ×ÁÎÉÑ ÏÔÄÅÌØÎÙÈ ÒÁÓÛÉÒÅÎÉÊ.
460 ðÏÄÒÏÂÎÏÓÔÉ - × ÆÁÊÌÅ SELF-CONTAINED-EXTENSIONS.
463 Summary: bcmath extension module for PHP
464 Summary(pl): Modu³ bcmath dla PHP
466 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
467 Requires: %{name}-common = %{epoch}:%{version}-%{release}
470 This is a dynamic shared object (DSO) for PHP that will add bc style
471 precision math functions support.
473 %description bcmath -l pl
474 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
475 matematycznych takich jak w programie bc.
478 Summary: Bzip2 extension module for PHP
479 Summary(pl): Modu³ bzip2 dla PHP
481 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
482 Requires: %{name}-common = %{epoch}:%{version}-%{release}
485 This is a dynamic shared object (DSO) for PHP that will add bzip2
486 compression support to PHP.
488 %description bzip2 -l pl
489 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji bzip2.
492 Summary: Calendar extension module for PHP
493 Summary(pl): Modu³ funkcji kalendarza dla PHP
495 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
496 Requires: %{name}-common = %{epoch}:%{version}-%{release}
498 %description calendar
499 This is a dynamic shared object (DSO) for PHP that will add calendar
502 %description calendar -l pl
503 Modu³ PHP dodaj±cy wsparcie dla kalendarza.
506 Summary: cpdf extension module for PHP
507 Summary(pl): Modu³ cpdf dla PHP
509 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
510 Requires: %{name}-common = %{epoch}:%{version}-%{release}
513 This is a dynamic shared object (DSO) for PHP that will add PDF
514 support through libcpdf library.
516 %description cpdf -l pl
517 Modu³ PHP dodaj±cy obs³ugê plików PDF poprzez bibliotekê libcpdf.
520 Summary: ctype extension module for PHP
521 Summary(pl): Modu³ ctype dla PHP
523 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
524 Requires: %{name}-common = %{epoch}:%{version}-%{release}
527 This is a dynamic shared object (DSO) for PHP that will add ctype
530 %description ctype -l pl
531 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
534 Summary: curl extension module for PHP
535 Summary(pl): Modu³ curl dla PHP
537 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
538 Requires: %{name}-common = %{epoch}:%{version}-%{release}
541 This is a dynamic shared object (DSO) for PHP that will add curl
544 %description curl -l pl
545 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
548 Summary: DBA extension module for PHP
549 Summary(pl): Modu³ DBA dla PHP
551 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
552 Requires: %{name}-common = %{epoch}:%{version}-%{release}
555 This is a dynamic shared object (DSO) for PHP that will add flat-file
556 databases (DBA) support.
558 %description dba -l pl
559 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych opartych na plikach
563 Summary: DBase extension module for PHP
564 Summary(pl): Modu³ DBase dla PHP
566 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
567 Requires: %{name}-common = %{epoch}:%{version}-%{release}
570 This is a dynamic shared object (DSO) for PHP that will add DBase
573 %description dbase -l pl
574 Modu³ PHP ze wsparciem dla DBase.
577 Summary: DBX extension module for PHP
578 Summary(pl): Modu³ DBX dla PHP
580 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
581 Requires: %{name}-common = %{epoch}:%{version}-%{release}
584 This is a dynamic shared object (DSO) for PHP that will add DB
585 abstraction layer. DBX supports odbc, mysql, pgsql, mssql, fbsql and
588 %description dbx -l pl
589 Modu³ PHP dodaj±cy warstwê abstrakcji do obs³ugi baz danych. DBX
590 obs³uguje bazy odbc, mysql, pgsql, mssql, fbsql i inne.
593 Summary: Direct I/O extension module for PHP
594 Summary(pl): Modu³ Direct I/O dla PHP
596 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
597 Requires: %{name}-common = %{epoch}:%{version}-%{release}
600 This is a dynamic shared object (DSO) for PHP that will add direct
603 %description dio -l pl
604 Modu³ PHP dodaj±cy obs³ugê bezpo¶rednich operacji I/O na plikach.
607 Summary: DOM extension module for PHP
608 Summary(pl): Modu³ DOM dla PHP
610 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
611 Requires: %{name}-common = %{epoch}:%{version}-%{release}
612 # it has some compatibility functions
613 Provides: php-domxml = %{epoch}:%{version}-%{release}
614 Obsoletes: php-domxml <= 3:4.3.8-1
617 This is a dynamic shared object (DSO) for PHP that will add new DOM
620 %description dom -l pl
621 Modu³ PHP dodaj±cy now± obs³ugê DOM.
624 Summary: exif extension module for PHP
625 Summary(pl): Modu³ exif dla PHP
627 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
628 Requires: %{name}-common = %{epoch}:%{version}-%{release}
631 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
632 support in image files.
634 %description exif -l pl
635 Modu³ PHP dodaj±cy obs³ugê znaczników EXIF w plikach obrazków.
638 Summary: FAM (File Alteration Monitor) module for PHP
639 Summary(pl): Modu³ FAM (File Alteration Monitor) dla PHP
641 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
642 Requires: %{name}-common = %{epoch}:%{version}-%{release}
645 This PHP module adds support for FAM (File Alteration Monitor). FAM
646 monitors files and directories, notifying interested applications of
649 %description fam -l pl
650 Modu³ PHP dodaj±cy obs³ugê dla FAM (File Alteration Monitor). FAM
651 monitoruje pliki oraz katalogi, informuj±c zainteresowane aplikacje o
655 Summary: FDF extension module for PHP
656 Summary(pl): Modu³ FDF dla PHP
658 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
659 Requires: %{name}-common = %{epoch}:%{version}-%{release}
662 This PHP module adds support for PDF Forms through Adobe FDFTK
665 %description fdf -l pl
666 Modu³ PHP dodaj±cy obs³ugê formularzy PDF poprzez bibliotekê Adobe
670 Summary: filePro extension module for PHP
671 Summary(pl): Modu³ filePro dla PHP
673 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
674 Requires: %{name}-common = %{epoch}:%{version}-%{release}
677 This is a dynamic shared object (DSO) for PHP that will add support
678 for read-only access to filePro databases.
680 %description filepro -l pl
681 Modu³ PHP dodaj±cy mo¿liwo¶æ dostêpu (tylko do odczytu) do baz danych
685 Summary: FTP extension module for PHP
686 Summary(pl): Modu³ FTP dla PHP
688 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
689 Requires: %{name}-common = %{epoch}:%{version}-%{release}
692 This is a dynamic shared object (DSO) for PHP that will add FTP
695 %description ftp -l pl
696 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
699 Summary: GD extension module for PHP
700 Summary(pl): Modu³ GD dla PHP
702 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
703 Requires: %{name}-common = %{epoch}:%{version}-%{release}
704 Requires: gd >= 2.0.28-4
705 Provides: %{name}-gd(gif) = %{epoch}:%{version}-%{release}
708 This is a dynamic shared object (DSO) for PHP that will add GD
709 support, allowing you to create and manipulate images with PHP.
711 %description gd -l pl
712 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD, pozwalaj±cej na
713 tworzenie i obróbkê obrazków.
716 Summary: gettext extension module for PHP
717 Summary(pl): Modu³ gettext dla PHP
719 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
720 Requires: %{name}-common = %{epoch}:%{version}-%{release}
723 This is a dynamic shared object (DSO) for PHP that will add gettext
726 %description gettext -l pl
727 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
730 Summary: gmp extension module for PHP
731 Summary(pl): Modu³ gmp dla PHP
733 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
734 Requires: %{name}-common = %{epoch}:%{version}-%{release}
737 This is a dynamic shared object (DSO) for PHP that will add arbitrary
738 length number support with GNU MP library.
740 %description gmp -l pl
741 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki gmp do obliczeñ na
742 liczbach o dowolnej d³ugo¶ci.
745 Summary: Hyperwave API extension module for PHP
746 Summary(pl): Modu³ API Hyperwave dla PHP
748 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
749 Requires: %{name}-common = %{epoch}:%{version}-%{release}
752 This is a dynamic shared object (DSO) for PHP that will add official
753 Hyperwave API support.
755 %description hwapi -l pl
756 Modu³ PHP dodaj±cy obs³ugê Hyperwave.
759 Summary: iconv extension module for PHP
760 Summary(pl): Modu³ iconv dla PHP
762 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
763 Requires: %{name}-common = %{epoch}:%{version}-%{release}
766 This is a dynamic shared object (DSO) for PHP that will add iconv
769 %description iconv -l pl
770 Modu³ PHP dodaj±cy obs³ugê iconv.
773 Summary: IMAP extension module for PHP
774 Summary(pl): Modu³ IMAP dla PHP
775 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
777 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
778 Requires: %{name}-common = %{epoch}:%{version}-%{release}
781 This is a dynamic shared object (DSO) for PHP that will add IMAP
784 %description imap -l pl
785 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
787 %description imap -l pt_BR
788 Um módulo para aplicações PHP que usam IMAP.
791 Summary: InterBase/Firebird database module for PHP
792 Summary(pl): Modu³ bazy danych InterBase/Firebird dla PHP
794 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
795 Requires: %{name}-common = %{epoch}:%{version}-%{release}
796 %{?with_interbase_inst:Autoreq: false}
798 %description interbase
799 This is a dynamic shared object (DSO) for PHP that will add InterBase
800 and Firebird database support.
802 %description interbase -l pl
803 Modu³ PHP umo¿liwiaj±cy dostêp do baz danych InterBase i Firebird.
806 Summary: LDAP extension module for PHP
807 Summary(pl): Modu³ LDAP dla PHP
808 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
810 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
811 Requires: %{name}-common = %{epoch}:%{version}-%{release}
814 This is a dynamic shared object (DSO) for PHP that will add LDAP
817 %description ldap -l pl
818 Modu³ PHP dodaj±cy obs³ugê LDAP.
820 %description ldap -l pt_BR
821 Um módulo para aplicações PHP que usam LDAP.
824 Summary: mbstring extension module for PHP
825 Summary(pl): Modu³ mbstring dla PHP
827 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
828 Requires: %{name}-common = %{epoch}:%{version}-%{release}
830 %description mbstring
831 This is a dynamic shared object (DSO) for PHP that will add multibyte
834 %description mbstring -l pl
835 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
838 Summary: mcrypt extension module for PHP
839 Summary(pl): Modu³ mcrypt dla PHP
841 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
842 Requires: %{name}-common = %{epoch}:%{version}-%{release}
845 This is a dynamic shared object (DSO) for PHP that will add mcrypt
848 %description mcrypt -l pl
849 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
852 Summary: mhash extension module for PHP
853 Summary(pl): Modu³ mhash dla PHP
855 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
856 Requires: %{name}-common = %{epoch}:%{version}-%{release}
859 This is a dynamic shared object (DSO) for PHP that will add mhash
862 %description mhash -l pl
863 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
866 Summary: mime_magic extension module for PHP
867 Summary(pl): Modu³ mime_magic dla PHP
869 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
870 Requires: %{name}-common = %{epoch}:%{version}-%{release}
871 Requires: /usr/share/file/magic.mime
873 %description mime_magic
874 This PHP module adds support for MIME type lookup via file magic
875 numbers using magic.mime database.
877 %description mime_magic -l pl
878 Modu³ PHP dodaj±cy obs³ugê wyszukiwania typów MIME wed³ug magicznych
879 znaczników plików z u¿yciem bazy danych magic.mime.
882 Summary: ming extension module for PHP
883 Summary(pl): Modu³ ming dla PHP
885 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
886 Requires: %{name}-common = %{epoch}:%{version}-%{release}
889 This is a dynamic shared object (DSO) for PHP that will add ming
890 (Flash - .swf files) support.
892 %description ming -l pl
893 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
897 Summary: mnoGoSearch extension module for PHP
898 Summary(pl): Modu³ mnoGoSearch dla PHP
900 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
901 Requires: %{name}-common = %{epoch}:%{version}-%{release}
903 %description mnogosearch
904 This is a dynamic shared object (DSO) for PHP that will allow you to
905 access mnoGoSearch free search engine.
907 %description mnogosearch -l pl
908 Modu³ PHP dodaj±cy pozwalaj±cy na dostêp do wolnodostêpnego silnika
909 wyszukiwarki mnoGoSearch.
912 Summary: msession extension module for PHP
913 Summary(pl): Modu³ msession dla PHP
915 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
916 Requires: %{name}-common = %{epoch}:%{version}-%{release}
918 %description msession
919 This is a dynamic shared object (DSO) for PHP that will allow you to
920 use msession. msession is a high speed session daemon which can run
921 either locally or remotely. It is designed to provide consistent
922 session management for a PHP web farm.
924 %description msession -l pl
925 Modu³ PHP dodaj±cy umo¿liwiaj±cy korzystanie z demona msession. Jest
926 to demon szybkiej obs³ugi sesji, który mo¿e dzia³aæ lokalnie lub na
927 innej maszynie. S³u¿y do zapewniania spójnej obs³ugi sesji dla farmy
931 Summary: MS SQL extension module for PHP
932 Summary(pl): Modu³ MS SQL dla PHP
934 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
935 Requires: %{name}-common = %{epoch}:%{version}-%{release}
938 This is a dynamic shared object (DSO) for PHP that will add MS SQL
939 databases support through FreeTDS library.
941 %description mssql -l pl
942 Modu³ PHP dodaj±cy obs³ugê baz danych MS SQL poprzez bibliotekê
946 Summary: MySQL database module for PHP
947 Summary(pl): Modu³ bazy danych MySQL dla PHP
948 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
950 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
951 Requires: %{name}-common = %{epoch}:%{version}-%{release}
954 This is a dynamic shared object (DSO) for PHP that will add MySQL
957 %description mysql -l pl
958 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
960 %description mysql -l pt_BR
961 Um módulo para aplicações PHP que usam bancos de dados MySQL.
964 Summary: MySQLi module for PHP
966 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
967 Requires: %{name}-common = %{epoch}:%{version}-%{release}
968 Requires: mysql-libs >= 4.1.0
971 This is a dynamic shared object (DSO) for PHP that will add MySQLi
972 (Improved MySQL) support. The difference between it and mysql module
973 is that it provides access to functionality of MySQL 4.1 and above.
975 %description mysqli -l pl
976 Modu³ PHP umo¿liwiaj±cy udoskonalony dostêp do bazy danych MySQL.
977 Ró¿nic± miêdzy nim a modu³em mysql jest dostêp do funkcjonalno¶ci
981 Summary: ncurses module for PHP
982 Summary(pl): Modu³ ncurses dla PHP
984 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
985 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
988 This PHP module adds support for ncurses functions (only for cli and
991 %description ncurses -l pl
992 Modu³ PHP dodaj±cy obs³ugê funkcji ncurses (tylko do SAPI cli i cgi).
995 Summary: Oracle 8 database module for PHP
996 Summary(pl): Modu³ bazy danych Oracle 8 dla PHP
998 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
999 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1003 This is a dynamic shared object (DSO) for PHP that will add Oracle 7
1004 and Oracle 8 database support through Oracle8 Call-Interface (OCI8).
1006 %description oci8 -l pl
1007 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7 i Oracle 8
1008 poprzez interfejs Oracle8 Call-Interface (OCI8).
1011 Summary: ODBC extension module for PHP
1012 Summary(pl): Modu³ ODBC dla PHP
1013 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
1015 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1016 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1017 Requires: unixODBC >= 2.1.1-3
1020 This is a dynamic shared object (DSO) for PHP that will add ODBC
1023 %description odbc -l pl
1024 Modu³ PHP ze wsparciem dla ODBC.
1026 %description odbc -l pt_BR
1027 Um módulo para aplicações PHP que usam ODBC.
1030 Summary: OpenSSL extension module for PHP
1031 Summary(pl): Modu³ OpenSSL dla PHP
1033 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1034 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1036 %description openssl
1037 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1040 Warning: this is an experimental module.
1042 %description openssl -l pl
1043 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki OpenSSL.
1045 Uwaga: to jest modu³ eksperymentalny.
1048 Summary: Oracle 7 database module for PHP
1049 Summary(pl): Modu³ bazy danych Oracle 7 dla PHP
1051 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1052 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1056 This is a dynamic shared object (DSO) for PHP that will add Oracle 7
1059 %description oracle -l pl
1060 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7.
1063 Summary: Process Control extension module for PHP
1064 Summary(pl): Modu³ Process Control dla PHP
1066 Requires(post,preun): %{name}-program = %{epoch}:%{version}-%{release}
1067 Requires: %{name}-program = %{epoch}:%{version}-%{release}
1070 This is a dynamic shared object (DSO) for PHP that will add process
1071 spawning and control support. It supports functions like fork(),
1072 waitpid(), signal() etc.
1074 Warning: this is an experimental module. Also, don't use it in
1075 webserver environment!
1077 %description pcntl -l pl
1078 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
1079 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
1081 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
1082 u¿ywania z serwerem WWW - nie próbuj tego!
1085 Summary: PCRE extension module for PHP
1086 Summary(pl): Modu³ PCRE dla PHP
1088 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1089 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1092 This is a dynamic shared object (DSO) for PHP that will add Perl
1093 Compatible Regular Expression support.
1095 %description pcre -l pl
1096 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
1097 (Perl Compatible Regular Expressions)
1100 Summary: PostgreSQL database module for PHP
1101 Summary(pl): Modu³ bazy danych PostgreSQL dla PHP
1103 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1104 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1107 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1110 %description pgsql -l pl
1111 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
1113 %description pgsql -l pt_BR
1114 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1117 Summary: POSIX extension module for PHP
1118 Summary(pl): Modu³ POSIX dla PHP
1120 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1121 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1124 This is a dynamic shared object (DSO) for PHP that will add POSIX
1125 functions support to PHP.
1127 %description posix -l pl
1128 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
1131 Summary: pspell extension module for PHP
1132 Summary(pl): Modu³ pspell dla PHP
1134 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1135 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1138 This is a dynamic shared object (DSO) for PHP that will add pspell
1139 support to PHP. It allows to check the spelling of a word and offer
1142 %description pspell -l pl
1143 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
1144 sprawdzanie pisowni s³owa i sugerowanie poprawek.
1147 Summary: readline extension module for PHP
1148 Summary(pl): Modu³ readline dla PHP
1150 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
1151 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1153 %description readline
1154 This PHP module adds support for readline functions (only for cli and
1157 %description readline -l pl
1158 Modu³ PHP dodaj±cy obs³ugê funkcji readline (tylko do SAPI cli i cgi).
1161 Summary: recode extension module for PHP
1162 Summary(pl): Modu³ recode dla PHP
1164 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1165 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1166 Requires: recode >= 3.5d-3
1169 This is a dynamic shared object (DSO) for PHP that will add recode
1172 %description recode -l pl
1173 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1177 Summary: session extension module for PHP
1178 Summary(pl): Modu³ session dla PHP
1180 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1181 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1183 %description session
1184 This is a dynamic shared object (DSO) for PHP that will add session
1187 %description session -l pl
1188 Modu³ PHP dodaj±cy obs³ugê sesji.
1191 Summary: Shared Memory Operations extension module for PHP
1192 Summary(pl): Modu³ shmop dla PHP
1194 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1195 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1198 This is a dynamic shared object (DSO) for PHP that will add Shared
1199 Memory Operations support.
1201 Warning: this is an experimental module.
1203 %description shmop -l pl
1204 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1206 Uwaga: to jest modu³ eksperymentalny.
1209 Summary: SNMP extension module for PHP
1210 Summary(pl): Modu³ SNMP dla PHP
1212 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1213 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1214 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1217 This is a dynamic shared object (DSO) for PHP that will add SNMP
1220 %description snmp -l pl
1221 Modu³ PHP dodaj±cy obs³ugê SNMP.
1224 Summary: soap extension module for PHP
1225 Summary(pl): Modu³ soap dla PHP
1227 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1228 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1231 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1234 %description soap -l pl
1235 Modu³ PHP dodaj±cy obs³ugê SOAP/WSDL.
1238 Summary: sockets extension module for PHP
1239 Summary(pl): Modu³ socket dla PHP
1241 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1242 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1244 %description sockets
1245 This is a dynamic shared object (DSO) for PHP that will add sockets
1248 Warning: this is an experimental module.
1250 %description sockets -l pl
1251 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1253 Uwaga: to jest modu³ eksperymentalny.
1256 Summary: SQLite extension module for PHP
1257 Summary(pl): Modu³ SQLite dla PHP
1259 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1260 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1263 SQLite is a C library that implements an embeddable SQL database
1264 engine. Programs that link with the SQLite library can have SQL
1265 database access without running a separate RDBMS process.
1267 SQLite is not a client library used to connect to a big database
1268 server. SQLite is the server. The SQLite library reads and writes
1269 directly to and from the database files on disk.
1271 %description sqlite -l pl
1272 SQLite jest napisan± w C bibliotek± implementuj±c± osadzalny silnik
1273 bazodanowy SQL. Program linkuj±cy siê z bibliotek± SQLite mo¿e mieæ
1274 dostêp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1277 SQLite to nie klient baz danych - biblioteka nie ³±czy siê z serwerami
1278 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1279 zapisuje dane bezpo¶rednio z/do plików baz danych znajduj±cych siê na
1283 Summary: Sybase DB extension module for PHP
1284 Summary(pl): Modu³ Sybase DB dla PHP
1286 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1287 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1288 Obsoletes: php-sybase-ct
1291 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1292 MS SQL databases support through SYBDB library. Currently Sybase
1293 module is not maintained. Using Sybase-CT module is recommended
1296 %description sybase -l pl
1297 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1298 bibliotekê SYBDB. W chwili obecnej modu³ Sybase nie jest wspierany.
1299 Zaleca siê u¿ywanie modu³u Sybase-CT.
1302 Summary: Sybase-CT extension module for PHP
1303 Summary(pl): Modu³ Sybase-CT dla PHP
1305 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1306 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1307 Obsoletes: php-sybase
1309 %description sybase-ct
1310 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1311 MS SQL databases support through CT-lib.
1313 %description sybase-ct -l pl
1314 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1318 Summary: SysV msg extension module for PHP
1319 Summary(pl): Modu³ SysV msg dla PHP
1321 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1322 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1324 %description sysvmsg
1325 This is a dynamic shared object (DSO) for PHP that will add SysV
1326 message queues support.
1328 %description sysvmsg -l pl
1329 Modu³ PHP umo¿liwiaj±cy korzystanie z kolejek komunikatów SysV.
1332 Summary: SysV sem extension module for PHP
1333 Summary(pl): Modu³ SysV sem dla PHP
1335 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1336 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1338 %description sysvsem
1339 This is a dynamic shared object (DSO) for PHP that will add SysV
1342 %description sysvsem -l pl
1343 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1346 Summary: SysV shm extension module for PHP
1347 Summary(pl): Modu³ SysV shm dla PHP
1349 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1350 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1352 %description sysvshm
1353 This is a dynamic shared object (DSO) for PHP that will add SysV
1354 Shared Memory support.
1356 %description sysvshm -l pl
1357 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1360 Summary: Tidy extension module for PHP
1361 Summary(pl): Modu³ Tidy dla PHP
1363 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1364 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1368 This is a dynamic shared object (DSO) for PHP that will add Tidy
1371 %description tidy -l pl
1372 Modu³ PHP umo¿liwiaj±cy korzystanie z tidy.
1375 Summary: tokenizer extension module for PHP
1376 Summary(pl): Modu³ rozszerzenia tokenizer dla PHP
1378 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1379 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1381 %description tokenizer
1382 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1385 %description tokenizer -l pl
1386 Modu³ PHP dodaj±cy obs³ugê tokenizera do PHP.
1389 Summary: wddx extension module for PHP
1390 Summary(pl): Modu³ wddx dla PHP
1392 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1393 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1394 Requires: %{name}-session = %{epoch}:%{version}-%{release}
1395 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1398 This is a dynamic shared object (DSO) for PHP that will add wddx
1401 %description wddx -l pl
1402 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1405 Summary: XML extension module for PHP
1406 Summary(pl): Modu³ XML dla PHP
1408 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1409 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1412 This is a dynamic shared object (DSO) for PHP that will add XML
1413 support. This extension lets you create XML parsers and then define
1414 handlers for different XML events.
1416 %description xml -l pl
1417 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1418 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1419 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1422 Summary: xmlrpc extension module for PHP
1423 Summary(pl): Modu³ xmlrpc dla PHP
1425 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1426 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1429 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1432 Warning: this is an experimental module.
1434 %description xmlrpc -l pl
1435 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1437 Uwaga: to jest modu³ eksperymentalny.
1440 Summary: xsl extension module for PHP
1441 Summary(pl): Modu³ xsl dla PHP
1443 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1444 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1445 Requires: libxslt >= 1.0.18
1446 # Maybe it would be nice to add it here?
1448 # actually not true, functionality is similar, but API differs
1449 Obsoletes: php-xslt <= 3:4.3.8-1
1452 This is a dynamic shared object (DSO) for PHP that will add new XSL
1453 support (using libxslt).
1455 %description xsl -l pl
1456 Modu³ PHP dodaj±cy now± obs³ugê XSLT (przy u¿yciu libxslt).
1459 Summary: NIS (yp) extension module for PHP
1460 Summary(pl): Modu³ NIS (yp) dla PHP
1462 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1463 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1466 This is a dynamic shared object (DSO) for PHP that will add NIS
1467 (Yellow Pages) support.
1469 %description yp -l pl
1470 Modu³ PHP dodaj±cy wsparcie dla NIS (Yellow Pages).
1473 Summary: Zlib extension module for PHP
1474 Summary(pl): Modu³ zlib dla PHP
1476 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1477 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1480 This is a dynamic shared object (DSO) for PHP that will add zlib
1481 compression support to PHP.
1483 %description zlib -l pl
1484 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1488 # this patch is broken by design, breaks --enable-versioning for example
1489 # update: --enable-version is broken by itself, it disables dynamic modules.
1500 cp php.ini-dist php.ini
1502 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1516 %if "%{_lib}" == "lib64"
1526 %if %{with hardening}
1527 zcat %{SOURCE9} | patch -p1
1537 # conflict seems to be resolved by recode patches
1538 rm -f ext/recode/config9.m4
1541 sed -i -e 's#apr-config#apr-1-config#g' sapi/apache*/*.m4
1544 if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then
1545 echo "Set %%define php_api_version to $API and rerun."
1549 if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then
1550 echo "Set %%define zend_module_api to $API and rerun."
1554 if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then
1555 echo "Set %%define zend_extension_api to $API and rerun."
1559 CFLAGS="%{rpmcflags} -DEAPI=1 -I/usr/X11R6/include"
1561 # Apache2 CFLAGS. harmless for other SAPIs.
1562 CFLAGS="$CFLAGS $(%{_bindir}/apr-1-config --includes) $(%{_bindir}/apu-1-config --includes)"
1565 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1566 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1567 rm -f Makefile.{fcgi,cgi,cli,apxs{1,2}} # now remove Makefile copies
1574 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1588 for sapi in $sapis; do
1589 [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1595 echo --enable-discard-path --enable-force-cgi-redirect
1601 echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect
1604 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
1605 echo --with-apxs=%{apxs1} --with-apache-version=$ver
1608 ver=%(rpm -q --qf '%%{version}' apache-apxs)
1609 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
1613 --cache-file=config.cache \
1614 --with-config-file-path=%{_sysconfdir} \
1615 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1616 --with-exec-dir=%{_bindir} \
1617 --%{!?debug:dis}%{?debug:en}able-debug \
1618 %{?with_zts:--enable-maintainer-zts} \
1619 --enable-memory-limit \
1620 --enable-bcmath=shared \
1621 --enable-calendar=shared \
1622 --enable-ctype=shared \
1623 --enable-dba=shared \
1624 --enable-dbx=shared \
1625 --enable-dio=shared \
1626 --enable-dom=shared \
1627 --enable-exif=shared \
1628 --enable-filepro=shared \
1629 --enable-ftp=shared \
1630 --enable-gd-native-ttf \
1631 --enable-gd-jus-conf \
1632 --enable-magic-quotes \
1633 --enable-mbstring=shared,all \
1635 --enable-pcntl=shared \
1636 --enable-posix=shared \
1639 --enable-shmop=shared \
1640 --enable-sysvmsg=shared \
1641 --enable-sysvsem=shared \
1642 --enable-sysvshm=shared \
1643 --enable-track-vars \
1644 --enable-trans-sid \
1645 --enable-safe-mode \
1646 --enable-soap=shared \
1647 --enable-sockets=shared \
1648 --enable-tokenizer=shared \
1649 --enable-ucd-snmp-hack \
1650 %{?with_wddx:--enable-wddx=shared} \
1651 --enable-xml=shared \
1652 --enable-yp=shared \
1654 %{?with_cpdf:--with-cpdflib=shared} \
1655 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1656 %{?with_db3:--with-db3}%{!?with_db3:--with-db4} \
1657 --with-dbase=shared \
1659 --with-expat-dir=shared,/usr \
1661 --without-expat-dir \
1663 %{?with_fdf:--with-fdftk=shared} \
1664 --with-iconv=shared \
1665 %{?with_fam:--with-fam=shared} \
1666 --with-filepro=shared \
1667 --with-freetype-dir=shared \
1668 --with-gettext=shared \
1669 --with-gd=shared,/usr \
1672 %{?with_hwapi:--with-hwapi=shared} \
1673 %{?with_imap:--with-imap=shared --with-imap-ssl} \
1674 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1675 --with-jpeg-dir=/usr \
1676 %{?with_ldap:--with-ldap=shared} \
1677 --with-mcrypt=shared \
1678 %{?with_mhash:--with-mhash=shared} \
1679 %{?with_mime_magic:--with-mime-magic=shared,/usr/share/file/magic.mime}%{!?with_mime_magic:--disable-mime-magic} \
1680 %{?with_ming:--with-ming=shared} \
1681 %{?with_mm:--with-mm} \
1682 %{!?with_mnogosearch:--without-mnogosearch}%{?with_mnogosearch:--with-mnogosearch=shared,/usr} \
1683 %{?with_msession:--with-msession=shared}%{!?with_msession:--without-msession} \
1684 %{?with_mssql:--with-mssql=shared} \
1685 --with-mysql=shared,/usr \
1686 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1687 %{?with_mysqli:--with-mysqli=shared} \
1688 --with-ncurses=shared \
1689 %{?with_oci8:--with-oci8=shared} \
1690 %{?with_openssl:--with-openssl=shared} \
1691 %{?with_oracle:--with-oracle=shared} \
1692 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared,/usr} \
1693 --with-pear=%{php_pear_dir} \
1694 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1695 --with-png-dir=/usr \
1696 %{?with_pspell:--with-pspell=shared} \
1697 --with-readline=shared \
1698 %{?with_recode:--with-recode=shared} \
1700 --without-sablot-js \
1701 %{?with_snmp:--with-snmp=shared} \
1702 %{?with_sybase:--with-sybase=shared,/usr} \
1703 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1704 %{!?with_sqlite:--without-sqlite}%{?with_sqlite:--with-sqlite=shared,/usr} \
1705 --with-t1lib=shared \
1706 %{?with_tidy:--with-tidy=shared} \
1707 --with-tiff-dir=/usr \
1708 %{?with_odbc:--with-unixODBC=shared} \
1709 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1711 --with-zlib=shared \
1712 --with-zlib-dir=shared,/usr
1714 cp -f Makefile Makefile.$sapi
1716 # left for debugging purposes
1717 cp -f main/php_config.h php_config.h.$sapi
1720 # for now session_mm doesn't work with shared session module...
1721 # --enable-session=shared
1722 # %{!?with_mm:--with-mm=shared,no}%{?with_mm:--with-mm=shared}
1724 %{__make} build-modules
1726 %{__make} libphp_common.la
1727 # fix install paths, avoid evil rpaths
1728 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" libphp_common.la
1731 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1733 s|^libdir=.*|libdir='%{_libdir}/apache1'|;
1734 s|^(relink_command=.* -rpath )[^ ]*/libs |$1%{_libdir}/apache1 |" sapi/apache/libphp5.la
1738 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1740 s|^libdir=.*|libdir='%{_libdir}/apache'|;
1741 s|^(relink_command=.* -rpath )[^ ]*/libs |$1%{_libdir}/apache |" sapi/apache2handler/libphp5.la
1746 cp -af php_config.h.fcgi main/php_config.h
1747 %{__make} sapi/cgi/php -f Makefile.fcgi
1748 cp -r sapi/cgi sapi/fcgi
1749 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1753 cp -af php_config.h.cgi main/php_config.h
1754 %{__make} sapi/cgi/php -f Makefile.cgi
1757 cp -af php_config.h.cli main/php_config.h
1758 %{__make} sapi/cli/php -f Makefile.cli
1761 rm -rf $RPM_BUILD_ROOT
1762 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi},%{_phpsharedir}} \
1763 $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
1764 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1765 $RPM_BUILD_ROOT/var/run/php \
1766 $RPM_BUILD_ROOT{/etc/apache/conf.d,/etc/httpd/httpd.conf} \
1767 $RPM_BUILD_ROOT%{_mandir}/man1
1769 # install apache1 DSO module
1771 # TODO: use libtool here
1772 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1/
1775 # install apache2 DSO module
1777 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache/
1780 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1782 # install the apache modules' files
1783 %{__make} install-headers install-build install-modules install-programs \
1784 INSTALL_ROOT=$RPM_BUILD_ROOT
1786 # as of 5.0.5, phpextdist isn't installed by default
1787 install scripts/dev/phpextdist $RPM_BUILD_ROOT%{_bindir}
1790 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php.cgi
1794 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php.fcgi
1798 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
1799 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
1800 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
1803 # Why make install doesn't install libphp5.so ?
1804 #install libs/libphp5.so $RPM_BUILD_ROOT%{apachelib}
1806 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1808 install php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1810 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1812 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1813 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1814 install %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir}
1815 install %{SOURCE1} .
1818 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
1819 install %{SOURCE4} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
1820 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1821 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
1825 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1826 install %{SOURCE4} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1827 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1828 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
1831 cp -f Zend/LICENSE{,.Zend}
1833 # Generate stub .ini files for each subpackage
1834 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1835 for so in modules/*.so; do
1836 mod=$(basename $so .so)
1837 conf="%{_sysconfdir}/conf.d/${mod}.ini"
1838 # xml needs to be loaded before wddx
1839 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_${mod}.ini"
1840 cat > $RPM_BUILD_ROOT${conf} <<EOF
1841 ; Enable ${mod} extension module
1846 # Not in all SAPI, so don't need the .ini fragments.
1847 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/{ncurses,pcntl,readline}.ini
1849 # use system automake and {lib,sh}tool
1850 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
1851 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
1852 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
1853 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
1856 rm -rf $RPM_BUILD_ROOT
1859 %triggerpostun -- %{name} < 4:5.0.4-9.11
1860 %{apxs1} -e -A -n php5 %{_pkglibdir}/libphp5.so 1>&2
1862 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
1863 /etc/apache/apache.conf
1864 %service -q apache restart
1868 if [ "$1" = "1" ]; then
1870 %service -q apache restart
1873 %service -q httpd restart
1878 if [ "$1" = "0" ]; then
1880 %service -q apache restart
1883 %service -q httpd restart
1887 %post -n apache1-mod_php
1888 if [ "$1" = "1" ]; then
1889 %service -q apache restart
1892 %postun -n apache1-mod_php
1893 if [ "$1" = "0" ]; then
1894 %service -q apache restart
1897 %post -n apache-mod_php
1898 if [ "$1" = "1" ]; then
1899 %service -q httpd restart
1902 %postun -n apache-mod_php
1903 if [ "$1" = "0" ]; then
1904 %service -q httpd restart
1907 # so tired of typing... so decided to create macros
1908 # macro called at extension post scriptlet
1909 %define extension_post \
1910 if [ "$1" = "1" ]; then \
1911 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1912 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1915 # macro called at extension postun scriptlet
1916 %define extension_postun \
1917 if [ "$1" = "0" ]; then \
1918 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1919 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1922 %post common -p /sbin/ldconfig
1923 %postun common -p /sbin/ldconfig
1926 # minimizing apache restarts logics. we restart webserver:
1928 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1929 # 2. first install of extension (post: $1 = 1)
1930 # 2. uninstall of extension (postun: $1 == 0)
1932 # the strict internal deps between extensions (and apache modules) and
1933 # common package are very important for all this to work.
1935 # restart webserver at the end of transaction
1936 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
1937 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
1940 %triggerpostun -- php < 4:5.0.4-7.1
1941 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1942 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1943 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1944 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
1947 # extra trigger, if they did not upgrade to 4:5.0.4-7 but still had old php-apache.ini
1948 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1
1949 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1950 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1951 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1952 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2161 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2162 %{_sbindir}/php-module-install install ncurses %{_sysconfdir}/php-cgi.ini
2164 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2165 %{_sbindir}/php-module-install install ncurses %{_sysconfdir}/php-cli.ini
2169 if [ "$1" = "0" ]; then
2170 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2171 %{_sbindir}/php-module-install remove ncurses %{_sysconfdir}/php-cgi.ini
2173 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2174 %{_sbindir}/php-module-install remove ncurses %{_sysconfdir}/php-cli.ini
2203 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2204 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php-cgi.ini
2206 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2207 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php-cli.ini
2211 if [ "$1" = "0" ]; then
2212 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2213 %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php-cgi.ini
2215 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2216 %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php-cli.ini
2245 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2246 %{_sbindir}/php-module-install install readline %{_sysconfdir}/php-cgi.ini
2248 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2249 %{_sbindir}/php-module-install install readline %{_sysconfdir}/php-cli.ini
2253 if [ "$1" = "0" ]; then
2254 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2255 %{_sbindir}/php-module-install remove readline %{_sysconfdir}/php-cgi.ini
2257 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2258 %{_sbindir}/php-module-install remove readline %{_sysconfdir}/php-cli.ini
2291 if [ "$1" = "0" ]; then
2292 %{_sbindir}/php-module-install remove soap %{_sysconfdir}/php.ini
2385 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2386 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
2388 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2389 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove bzip2 %{_sysconfdir}/php.ini
2391 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2392 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
2394 %triggerun cpdf -- %{name}-cpdf < 4:5.0.4-9.1
2395 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove cpdf %{_sysconfdir}/php.ini
2397 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2398 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ctype %{_sysconfdir}/php.ini
2400 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2401 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
2403 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2404 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
2406 %triggerun dbase -- %{name}-dbase < 4:5.0.4-9.1
2407 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
2409 %triggerun dbx -- %{name}-dbx < 4:5.0.4-9.1
2410 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dbx %{_sysconfdir}/php.ini
2412 %triggerun dio -- %{name}-dio < 4:5.0.4-9.1
2413 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dio %{_sysconfdir}/php.ini
2415 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2416 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dom %{_sysconfdir}/php.ini
2418 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2419 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
2421 %triggerun fam -- %{name}-fam < 4:5.0.4-9.1
2422 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove fam %{_sysconfdir}/php.ini
2424 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2425 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove fdf %{_sysconfdir}/php.ini
2427 %triggerun filepro -- %{name}-filepro < 4:5.0.4-9.1
2428 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
2430 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2431 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
2433 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2434 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
2436 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2437 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
2439 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2440 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gmp %{_sysconfdir}/php.ini
2442 %triggerun hwapi -- %{name}-hwapi < 4:5.0.4-9.1
2443 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove hwapi %{_sysconfdir}/php.ini
2445 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2446 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove iconv %{_sysconfdir}/php.ini
2448 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2449 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
2451 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2452 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove interbase %{_sysconfdir}/php.ini
2454 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2455 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
2457 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2458 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mbstring %{_sysconfdir}/php.ini
2460 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2461 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
2463 %triggerun mhash -- %{name}-mhash < 4:5.0.4-9.1
2464 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
2466 %triggerun mime_magic -- %{name}-mime_magic < 4:5.0.4-9.1
2467 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mime_magic %{_sysconfdir}/php.ini
2469 %triggerun ming -- %{name}-ming < 4:5.0.4-9.1
2470 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
2472 %triggerun mnogosearch -- %{name}-mnogosearch < 4:5.0.4-9.1
2473 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mnogosearch %{_sysconfdir}/php.ini
2475 %triggerun msession -- %{name}-msession < 4:5.0.4-9.1
2476 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove msession %{_sysconfdir}/php.ini
2478 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2479 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mssql %{_sysconfdir}/php.ini
2481 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2482 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
2484 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2485 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mysqli %{_sysconfdir}/php.ini
2487 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2488 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
2490 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2491 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
2493 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2494 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove openssl %{_sysconfdir}/php.ini
2496 %triggerun oracle -- %{name}-oracle < 4:5.0.4-9.1
2497 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
2499 %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1
2500 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
2502 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2503 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
2505 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2506 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
2508 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2509 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pspell %{_sysconfdir}/php.ini
2511 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2512 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
2514 %triggerun session -- %{name}-session < 4:5.0.4-9.1
2515 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
2517 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2518 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove shmop %{_sysconfdir}/php.ini
2520 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2521 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
2523 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2524 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove soap %{_sysconfdir}/php.ini
2526 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2527 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
2529 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2530 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sqlite %{_sysconfdir}/php.ini
2532 %triggerun sybase -- %{name}-sybase < 4:5.0.4-9.1
2533 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sybase %{_sysconfdir}/php.ini
2535 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2536 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sybase-ct %{_sysconfdir}/php.ini
2538 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2539 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvmsg %{_sysconfdir}/php.ini
2541 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2542 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
2544 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2545 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
2547 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2548 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove tidy %{_sysconfdir}/php.ini
2550 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2551 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
2553 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2554 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
2556 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2557 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xmlrpc %{_sysconfdir}/php.ini
2559 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2560 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xsl %{_sysconfdir}/php.ini
2562 %triggerun yp -- %{name}-yp < 4:5.0.4-9.1
2563 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
2565 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2566 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
2569 %files -n apache1-mod_php
2570 %defattr(644,root,root,755)
2571 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2572 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2573 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2574 /home/services/apache/icons/*
2578 %files -n apache-mod_php
2579 %defattr(644,root,root,755)
2580 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php.conf
2581 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2582 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2583 /home/services/httpd/icons/*
2588 %defattr(644,root,root,755)
2589 %doc sapi/cgi/README.FastCGI
2590 %attr(755,root,root) %{_bindir}/php.fcgi
2591 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2595 %defattr(644,root,root,755)
2596 %attr(755,root,root) %{_bindir}/php.cgi
2597 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2600 %defattr(644,root,root,755)
2601 %attr(755,root,root) %{_bindir}/php.cli
2602 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2603 %{_mandir}/man1/php.1*
2604 %{_mandir}/man1/php.cli.1*
2607 %defattr(644,root,root,755)
2608 %attr(755,root,root) %{_bindir}/php
2611 %defattr(644,root,root,755)
2613 %doc CREDITS Zend/ZEND_CHANGES
2614 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2617 %dir %{_sysconfdir}/conf.d
2618 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2619 %attr(770,root,http) %dir %verify(not group mode) /var/run/php
2620 %attr(755,root,root) %{_sbindir}/php-module-install
2621 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2622 %dir %{extensionsdir}
2623 %dir %{_phpsharedir}
2626 %defattr(644,root,root,755)
2627 %doc README.UNIX-BUILD-SYSTEM
2628 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2629 %doc CODING_STANDARDS
2630 %attr(755,root,root) %{_bindir}/phpextdist
2631 %attr(755,root,root) %{_bindir}/phpize
2632 %attr(755,root,root) %{_bindir}/php-config
2633 %attr(755,root,root) %{_libdir}/libphp_common.so
2634 %{_libdir}/libphp_common.la
2636 %{_libdir}/php/build
2640 %defattr(644,root,root,755)
2641 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2642 %attr(755,root,root) %{extensionsdir}/bcmath.so
2645 %defattr(644,root,root,755)
2646 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2647 %attr(755,root,root) %{extensionsdir}/bz2.so
2650 %defattr(644,root,root,755)
2651 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2652 %attr(755,root,root) %{extensionsdir}/calendar.so
2656 %defattr(644,root,root,755)
2657 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/cpdf.ini
2658 %attr(755,root,root) %{extensionsdir}/cpdf.so
2662 %defattr(644,root,root,755)
2663 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2664 %attr(755,root,root) %{extensionsdir}/ctype.so
2668 %defattr(644,root,root,755)
2669 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2670 %attr(755,root,root) %{extensionsdir}/curl.so
2674 %defattr(644,root,root,755)
2675 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2676 %attr(755,root,root) %{extensionsdir}/dba.so
2679 %defattr(644,root,root,755)
2680 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2681 %attr(755,root,root) %{extensionsdir}/dbase.so
2684 %defattr(644,root,root,755)
2685 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbx.ini
2686 %attr(755,root,root) %{extensionsdir}/dbx.so
2689 %defattr(644,root,root,755)
2690 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dio.ini
2691 %attr(755,root,root) %{extensionsdir}/dio.so
2694 %defattr(644,root,root,755)
2695 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2696 %attr(755,root,root) %{extensionsdir}/dom.so
2700 %defattr(644,root,root,755)
2701 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fam.ini
2702 %attr(755,root,root) %{extensionsdir}/fam.so
2707 %defattr(644,root,root,755)
2708 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2709 %attr(755,root,root) %{extensionsdir}/fdf.so
2713 %defattr(644,root,root,755)
2714 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2715 %attr(755,root,root) %{extensionsdir}/exif.so
2718 %defattr(644,root,root,755)
2719 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filepro.ini
2720 %attr(755,root,root) %{extensionsdir}/filepro.so
2723 %defattr(644,root,root,755)
2724 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2725 %attr(755,root,root) %{extensionsdir}/ftp.so
2728 %defattr(644,root,root,755)
2729 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2730 %attr(755,root,root) %{extensionsdir}/gd.so
2733 %defattr(644,root,root,755)
2734 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2735 %attr(755,root,root) %{extensionsdir}/gettext.so
2738 %defattr(644,root,root,755)
2739 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2740 %attr(755,root,root) %{extensionsdir}/gmp.so
2744 %defattr(644,root,root,755)
2745 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hwapi.ini
2746 %attr(755,root,root) %{extensionsdir}/hwapi.so
2750 %defattr(644,root,root,755)
2751 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2752 %attr(755,root,root) %{extensionsdir}/iconv.so
2756 %defattr(644,root,root,755)
2757 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2758 %attr(755,root,root) %{extensionsdir}/imap.so
2761 %if %{with interbase}
2763 %defattr(644,root,root,755)
2764 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2765 %attr(755,root,root) %{extensionsdir}/interbase.so
2770 %defattr(644,root,root,755)
2771 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2772 %attr(755,root,root) %{extensionsdir}/ldap.so
2776 %defattr(644,root,root,755)
2777 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2778 %attr(755,root,root) %{extensionsdir}/mbstring.so
2781 %defattr(644,root,root,755)
2782 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2783 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2787 %defattr(644,root,root,755)
2788 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2789 %attr(755,root,root) %{extensionsdir}/mhash.so
2792 %if %{with mime_magic}
2794 %defattr(644,root,root,755)
2795 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2796 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2801 %defattr(644,root,root,755)
2802 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2803 %attr(755,root,root) %{extensionsdir}/ming.so
2806 %if %{with mnogosearch}
2808 %defattr(644,root,root,755)
2809 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mnogosearch.ini
2810 %attr(755,root,root) %{extensionsdir}/mnogosearch.so
2813 %if %{with msession}
2815 %defattr(644,root,root,755)
2816 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/msession.ini
2817 %attr(755,root,root) %{extensionsdir}/msession.so
2822 %defattr(644,root,root,755)
2823 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2824 %attr(755,root,root) %{extensionsdir}/mssql.so
2828 %defattr(644,root,root,755)
2829 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2830 %attr(755,root,root) %{extensionsdir}/mysql.so
2834 %defattr(644,root,root,755)
2835 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2836 %attr(755,root,root) %{extensionsdir}/mysqli.so
2840 %defattr(644,root,root,755)
2841 %attr(755,root,root) %{extensionsdir}/ncurses.so
2845 %defattr(644,root,root,755)
2846 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2847 %attr(755,root,root) %{extensionsdir}/oci8.so
2852 %defattr(644,root,root,755)
2853 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2854 %attr(755,root,root) %{extensionsdir}/odbc.so
2859 %defattr(644,root,root,755)
2860 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2861 %attr(755,root,root) %{extensionsdir}/openssl.so
2866 %defattr(644,root,root,755)
2867 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oracle.ini
2868 %attr(755,root,root) %{extensionsdir}/oracle.so
2872 %defattr(644,root,root,755)
2873 %attr(755,root,root) %{extensionsdir}/pcntl.so
2877 %defattr(644,root,root,755)
2878 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcre.ini
2879 %attr(755,root,root) %{extensionsdir}/pcre.so
2884 %defattr(644,root,root,755)
2885 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2886 %attr(755,root,root) %{extensionsdir}/pgsql.so
2890 %defattr(644,root,root,755)
2891 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2892 %attr(755,root,root) %{extensionsdir}/posix.so
2896 %defattr(644,root,root,755)
2897 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2898 %attr(755,root,root) %{extensionsdir}/pspell.so
2902 %defattr(644,root,root,755)
2903 %attr(755,root,root) %{extensionsdir}/readline.so
2907 %defattr(644,root,root,755)
2908 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2909 %attr(755,root,root) %{extensionsdir}/recode.so
2912 # session_mm doesn't work with shared session
2914 #%defattr(644,root,root,755)
2915 #%attr(755,root,root) %{extensionsdir}/session.so
2918 %defattr(644,root,root,755)
2919 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2920 %attr(755,root,root) %{extensionsdir}/shmop.so
2924 %defattr(644,root,root,755)
2925 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2926 %attr(755,root,root) %{extensionsdir}/snmp.so
2930 %defattr(644,root,root,755)
2931 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2932 %attr(755,root,root) %{extensionsdir}/soap.so
2935 %defattr(644,root,root,755)
2936 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2937 %attr(755,root,root) %{extensionsdir}/sockets.so
2941 %defattr(644,root,root,755)
2942 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2943 %attr(755,root,root) %{extensionsdir}/sqlite.so
2948 %defattr(644,root,root,755)
2949 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
2950 %attr(755,root,root) %{extensionsdir}/sybase.so
2953 %if %{with sybase_ct}
2955 %defattr(644,root,root,755)
2956 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2957 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2961 %defattr(644,root,root,755)
2962 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2963 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
2966 %defattr(644,root,root,755)
2967 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2968 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2971 %defattr(644,root,root,755)
2972 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2973 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2977 %defattr(644,root,root,755)
2978 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2979 %attr(755,root,root) %{extensionsdir}/tidy.so
2983 %defattr(644,root,root,755)
2984 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2985 %attr(755,root,root) %{extensionsdir}/tokenizer.so
2989 %defattr(644,root,root,755)
2990 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2991 %attr(755,root,root) %{extensionsdir}/wddx.so
2995 %defattr(644,root,root,755)
2996 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
2997 %attr(755,root,root) %{extensionsdir}/xml.so
3001 %defattr(644,root,root,755)
3002 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3003 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
3007 %defattr(644,root,root,755)
3008 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3009 %attr(755,root,root) %{extensionsdir}/xsl.so
3012 %defattr(644,root,root,755)
3013 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/yp.ini
3014 %attr(755,root,root) %{extensionsdir}/yp.so
3017 %defattr(644,root,root,755)
3018 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3019 %attr(755,root,root) %{extensionsdir}/zlib.so