2 # - wddx: restore session support (not compiled in due DL extension check)
3 # - fix -threads-acfix.patch
4 # - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere
5 # - removed from php 5.0 (currently in php4):
6 # db, hyperwave, java, mcal, overload, qtdom
7 # - removed from php 5.1:
9 # - removed from php 5.2:
11 # - mime_magic can't handle new "string/*" entries in magic.mime
12 # thus doesn't work with system magic.mime database
13 # - make additional headers and checking added by mail patch configurable
14 # - modularize session, standard (output from pure php -m)?
15 # - http://forum.lighttpd.net/topic/34454
16 # - ttyname_r() missdetected http://bugs.php.net/bug.php?id=48820
18 # To see optional extension deps:
19 # $ grep -r PHP_ADD_EXTENSION_DEP.*,.*,.* .
20 #./ext/pdo/config.m4: PHP_ADD_EXTENSION_DEP(pdo, spl, true)
21 #./ext/spl/config.m4: PHP_ADD_EXTENSION_DEP(spl, pcre, true)
22 #./ext/session/config.m4: PHP_ADD_EXTENSION_DEP(session, hash, true)
23 #./ext/sqlite/config.m4: PHP_ADD_EXTENSION_DEP(sqlite, spl, true)
24 #./ext/sqlite/config.m4: PHP_ADD_EXTENSION_DEP(sqlite, pdo, true)
25 #./ext/simplexml/config.m4: PHP_ADD_EXTENSION_DEP(simplexml, spl, true)
26 #./ext/xmlreader/config.m4: PHP_ADD_EXTENSION_DEP(xmlreader, dom, true)
29 %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary lib)
30 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
31 %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
32 %bcond_with system_gd # with system gd (we prefer internal since it enables few more features)
33 %bcond_with system_libzip # with system libzip (reported broken: https://bugs.php.net/bug.php?id=60100)
34 %bcond_with gd_jis_conv # causes imagettfbbox(): any2eucjp(): invalid code in input string when internal gd used
35 %bcond_with zend_multibyte # enable zend multibyte, mbstring can't be shared then anymore
36 %bcond_without curl # without CURL extension module
37 %bcond_without filter # without filter extension module
38 %bcond_without imap # without IMAP extension module
39 %bcond_without interbase # without InterBase extension module
40 %bcond_without ldap # without LDAP extension module
41 %bcond_without mhash # without mhash extension module
42 %bcond_without mime_magic # without mime-magic module
43 %bcond_with ming # with ming extension module
44 %bcond_without mm # without mm support for session storage
45 %bcond_without mssql # without MS SQL extension module
46 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
47 %bcond_without odbc # without ODBC extension module
48 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
49 %bcond_without pcre # without PCRE extension module
50 %bcond_without pgsql # without PostgreSQL extension module
51 %bcond_without pspell # without pspell extension module
52 %bcond_without recode # without recode extension module
53 %bcond_without snmp # without SNMP extension module
54 %bcond_without sqlite # without SQLite extension module
55 %bcond_without sybase # without Sybase extension module
56 %bcond_without sybase_ct # without Sybase-CT extension module
57 %bcond_without tidy # without Tidy extension module
58 %bcond_without wddx # without WDDX extension module
59 %bcond_without xmlrpc # without XML-RPC extension module
60 %bcond_without apache1 # disable building Apache 1.3.x module
61 %bcond_without apache2 # disable building Apache 2.x module
62 %bcond_without fcgi # disable building FCGI SAPI
63 %bcond_with zts # disable Zend Thread Safety
64 %bcond_without fpm # fpm patches from http://www.php-fpm.org/
65 %bcond_without suhosin # with suhosin patch
66 %bcond_with system_xmlrpc_epi # use system xmlrpc-epi library (broken on 64bit arches, see http://bugs.php.net/41611)
67 %bcond_with tests # default off; test process very often hangs on builders; perform "make test"
68 %bcond_with versioning # build with experimental versioning (to load php4/php5 into same apache)
70 %define apxs1 /usr/sbin/apxs1
71 %define apxs2 /usr/sbin/apxs
73 # some problems with apache 2.x
78 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
79 %undefine with_interbase
81 %if "%{pld_release}" == "th"
83 # ppc disabled (broken on th-ppc)
84 %undefine with_interbase
88 %ifnarch %{ix86} %{x8664}
89 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
93 %if %{without apache1} && %{without apache2}
94 ERROR: You need to select at least one Apache SAPI to build shared modules.
97 # filter depends on pcre
102 %if "%{pld_release}" == "ac"
103 %define magic_mime /usr/share/file/magic.mime
105 %define magic_mime /usr/share/misc/magic.mime
108 Summary: PHP: Hypertext Preprocessor
109 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
110 Summary(pl.UTF-8): Język skryptowy PHP
111 Summary(pt_BR.UTF-8): A linguagem de script PHP
112 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
113 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
120 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
121 # Source0-md5: b27947f3045220faf16e4d9158cbfe13
122 Source2: %{name}-mod_%{name}.conf
123 Source3: %{name}-cgi-fcgi.ini
124 Source4: %{name}-cgi.ini
125 Source5: %{name}-apache.ini
126 Source6: %{name}-cli.ini
127 # Taken from: http://browsers.garykeith.com/downloads.asp
128 Source8: %{name}_browscap.ini
129 # lynx -dump ftp://distfiles.gentoo.org/pub/gentoo/distfiles/|grep -o ftp://.*php-patchset.*tar.bz2
130 #Source9: ftp://distfiles.gentoo.org/pub/gentoo/distfiles/%{name}-patchset-%{version}-r1.tar.bz2
131 ## Source9-md5: d67f23f5e69664e06fce89b064d5bbab
132 Source10: %{name}-fpm.init
133 Source11: %{name}-fpm.logrotate
134 Source12: %{name}-branch.sh
135 Source13: dep-tests.sh
136 Source14: skip-tests.sh
137 Patch0: %{name}-shared.patch
138 Patch1: %{name}-pldlogo.patch
139 Patch2: %{name}-mail.patch
140 Patch3: %{name}-link-libs.patch
141 Patch4: %{name}-libpq_fs_h_path.patch
142 Patch5: %{name}-filter-shared.patch
143 Patch6: %{name}-build_modules.patch
144 Patch7: %{name}-sapi-ini-file.patch
145 Patch8: %{name}-no-metaccld.patch
146 Patch9: %{name}-sh.patch
147 Patch10: %{name}-ini.patch
148 Patch11: %{name}-acam.patch
149 Patch12: %{name}-threads-acfix.patch
150 Patch13: %{name}-tsrmlsfetchgcc2.patch
151 Patch14: %{name}-no_pear_install.patch
152 Patch15: %{name}-zlib.patch
153 Patch16: %{name}-sybase-fix.patch
154 Patch17: %{name}-readline.patch
155 Patch18: %{name}-nohttpd.patch
156 Patch19: %{name}-gd_imagerotate_enable.patch
157 Patch20: %{name}-uint32_t.patch
158 Patch21: %{name}-dba-link.patch
159 Patch22: %{name}-both-apxs.patch
160 Patch23: %{name}-builddir.patch
161 Patch24: %{name}-zlib-for-getimagesize.patch
162 Patch25: %{name}-versioning.patch
163 Patch26: %{name}-pear.patch
164 Patch27: %{name}-config-dir.patch
165 Patch28: %{name}-bug-42952.patch
166 Patch29: %{name}-fcgi-graceful.patch
167 Patch30: %{name}-apr-apu.patch
168 Patch31: %{name}-fcgi-error_log-no-newlines.patch
169 Patch32: %{name}-curl-limit-speed.patch
170 Patch33: %{name}-mime_magic.patch
171 Patch34: %{name}-libtool.patch
172 Patch35: %{name}-tds.patch
173 Patch36: %{name}-mysql-charsetphpini.patch
174 Patch37: %{name}-mysqli-charsetphpini.patch
175 Patch38: %{name}-pdo_mysql-charsetphpini.patch
176 Patch39: %{name}-use-prog_sendmail.patch
177 Patch40: %{name}-fpm.patch
178 Patch41: %{name}-fpm-config.patch
179 Patch42: %{name}-fpm-initdir.patch
180 Patch43: %{name}-silent-session-cleanup.patch
181 Patch44: %{name}-include_path.patch
182 Patch45: %{name}-imap-annotations.patch
183 Patch46: %{name}-imap-myrights.patch
184 Patch47: suhosin.patch
185 Patch49: %{name}-m4-divert.patch
186 Patch50: extension-shared-optional-dep.patch
187 Patch51: spl-shared.patch
188 Patch52: %{name}-libpng.patch
189 Patch53: %{name}-gmp.patch
190 Patch54: fix-test-run.patch
191 Patch55: bug-52078-fileinode.patch
192 Patch56: %{name}-krb5.patch
193 Patch57: php-php_dl.patch
194 Patch58: php-svn-281516.patch
195 Patch59: %{name}-systzdata.patch
196 # http://spot.fedorapeople.org/php-5.3.6-libzip.patch
197 Patch65: system-libzip.patch
200 Patch201: php-5.2.17-CVE-2011-2202.patch
201 Patch202: php-5.2.17-CVE-2011-1938.patch
202 Patch203: php-5.2.17-CVE-2011-1148.patch
203 Patch204: php-5.2.17-CVE-2011-0708.patch
204 Patch205: php-5.2.17-CVE-2011-1092.patch
205 Patch206: php-5.2.17-CVE-2011-0421.patch
207 # Backport from 5.3.6
208 Patch301: php-5.3.6-bug-54055.patch
209 Patch302: php-5.3.6-bug-53577.patch
210 Patch303: php-5.2.17-bug-48484.patch
211 Patch304: php-5.3.6-bug-48607.patch
212 Patch305: php-5.3.6-bug-53574.patch
213 Patch306: php-5.3.6-bug-52290.patch
214 Patch307: php-5.2.17-bug-52063.patch
215 Patch308: php-5.3.6-bug-53924.patch
216 Patch309: php-5.3.6-bug-53150.patch
217 Patch310: php-5.3.6-bug-52209.patch
218 Patch311: php-5.3.6-bug-47435.patch
219 Patch312: php-5.3.6-bug-53377.patch
220 Patch313: php-5.2.17-bug-39847.patch
221 Patch314: php-5.3.6-39199.patch
222 Patch315: php-5.3.6-bug-53630.patch
223 Patch316: php-5.3.6-bug-51336.patch
224 Patch317: php-5.3.6-bug-53515.patch
225 Patch318: php-5.3.6-bug-54092.patch
226 Patch319: php-5.3.6-bug-53903.patch
227 Patch320: php-5.3.6-bug-54089.patch
228 Patch321: php-5.3.6-bug-53603.patch
229 Patch322: php-5.3.6-bug-53854.patch
230 Patch323: php-5.3.6-bug-53579.patch
231 Patch324: php-5.3.6-bug-53568.patch
232 Patch325: php-5.2.17-bug-49072.patch
234 Patch330: php-5.3.7-bug-55399.patch
235 Patch331: php-5.2.17-bug-55082.patch
236 Patch332: php-5.3.7-bug-55014.patch
237 #Patch333: php-5.3.7-bug-54924.patch
238 Patch334: php-5.3.7-bug-54180.patch
239 Patch335: php-5.3.7-bug-54137.patch
240 Patch336: php-5.3.7-bug-53848.patch
241 Patch337: php-5.3.7-bug-52935.patch
242 Patch338: php-5.3.7-bug-51997.patch
243 Patch339: php-5.3.7-bug-50363.patch
244 Patch340: php-5.3.7-bug-48465.patch
245 Patch341: php-5.3.7-bug-54529.patch
246 Patch342: php-5.3.7-bug-52496.patch
247 Patch343: php-5.3.7-bug-54242.patch
248 Patch344: php-5.3.7-bug-54121.patch
249 Patch345: php-5.3.7-bug-53037.patch
250 Patch346: php-5.3.7-bug-54269.patch
251 Patch347: php-5.3.7-bug-54601.patch
252 Patch348: php-5.3.7-bug-54440.patch
253 Patch349: php-5.3.7-bug-54494.patch
254 Patch350: php-5.3.7-bug-54221.patch
255 Patch351: php-5.3.7-bug-52104.patch
256 Patch352: php-5.3.7-bug-54329.patch
257 Patch353: php-5.3.7-bug-53782.patch
258 Patch354: php-5.3.7-bug-54318.patch
259 Patch355: php-5.3.7-bug-55323.patch
260 Patch356: php-5.3.7-bug-54312.patch
261 Patch357: php-5.3.7-bug-51958.patch
262 Patch358: php-5.3.7-bug-54946.patch
264 Patch359: php-5.2.17-CVE-2011-4566.patch
265 Patch360: php-5.2.17-bug-60206.patch
266 Patch361: php-5.2.17-bug-60138.patch
267 Patch362: php-5.2.17-bug-60120.patch
268 Patch363: php-5.2.17-bug-55674.patch
269 Patch364: php-5.2.17-bug-55509.patch
270 Patch365: php-5.2.17-bug-55504.patch
271 Patch366: php-5.2.17-bug-52461.patch
272 Patch367: php-5.2.17-bug-55366.patch
273 Patch368: php-5.2.17-bug-55273.patch
274 Patch369: php-5.2.17-bug-52624.patch
275 Patch370: php-5.2.17-bug-43200.patch
276 Patch371: php-5.2.17-bug-54682.patch
277 Patch372: php-5.2.17-bug-60455.patch
278 Patch373: php-5.2.17-bug-60183.patch
279 Patch374: php-5.2.17-bug-55478.patch
281 #php-5.2-max-input-vars patch
282 Patch400: php-5.2.17-max-input-vars.patch
283 Patch401: php-5.2.17-bug-323007-2.patch
284 URL: http://www.php.net/
285 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
286 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
287 BuildRequires: autoconf >= 2.53
288 BuildRequires: automake >= 1.4d
290 BuildRequires: bzip2-devel
291 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
292 BuildRequires: cyrus-sasl-devel
293 BuildRequires: db-devel >= 4.0
294 BuildRequires: elfutils-devel
296 %{?with_system_xmlrpc_epi:BuildRequires: xmlrpc-epi-devel}
298 %{?with_fcgi:BuildRequires: fcgi-devel}
299 %{?with_fdf:BuildRequires: fdftk-devel}
301 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
302 BuildRequires: freetds-devel
303 %{?with_system_libzip:BuildRequires: libzip-devel >= 0.10-3}
305 BuildRequires: freetype-devel >= 2.0
306 %if %{with system_gd}
307 BuildRequires: gd-devel >= 2.0.28-4
308 BuildRequires: gd-devel(imagerotate) = 5.2.0
310 BuildRequires: gdbm-devel
311 BuildRequires: gmp-devel
312 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
313 BuildRequires: libjpeg-devel
314 BuildRequires: libltdl-devel >= 1.4
315 BuildRequires: libmcrypt-devel >= 2.4.4
316 BuildRequires: libpng-devel >= 1.0.8
317 BuildRequires: libtiff-devel
318 %if "%{pld_release}" != "ac"
319 BuildRequires: libtool >= 2:2.2
321 BuildRequires: libtool
323 BuildRequires: libwrap-devel
324 BuildRequires: libxml2-devel >= 1:2.7.6-4
325 BuildRequires: libxslt-devel >= 1.1.0
326 %{?with_mhash:BuildRequires: mhash-devel}
327 %{?with_ming:BuildRequires: ming-devel >= 0.3}
328 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
329 BuildRequires: mysql-devel >= 4.0.0
330 %{?with_mysqli:BuildRequires: mysql-devel >= 4.1}
331 BuildRequires: ncurses-ext-devel
332 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
333 %if %{with openssl} || %{with ldap}
334 BuildRequires: openssl-devel >= 0.9.7d
336 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
337 %{?with_snmp:%{?with_tests:mibs-net-snmp}}
338 BuildRequires: pam-devel
339 %{?with_pcre:BuildRequires: pcre-devel >= 6.6}
340 BuildRequires: pkgconfig
341 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
342 %{?with_pgsql:BuildRequires: postgresql-devel}
343 BuildRequires: readline-devel
344 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
345 BuildRequires: rpm >= 4.4.9-56
346 BuildRequires: rpm-build >= 4.4.0
347 BuildRequires: rpmbuild(macros) >= 1.519
348 %{?with_sqlite:BuildRequires: sqlite-devel}
349 %{?with_sqlite:BuildRequires: sqlite3-devel}
350 BuildRequires: t1lib-devel
351 %{?with_tidy:BuildRequires: tidy-devel}
352 %{?with_odbc:BuildRequires: unixODBC-devel}
353 BuildRequires: zlib-devel >= 1.0.9
355 BuildRequires: apache1-devel
358 BuildRequires: apache-devel >= 2.0.52-2
359 BuildRequires: apr-devel >= 1:1.0.0
360 BuildRequires: apr-util-devel >= 1:1.0.0
363 BuildRequires: judy-devel
364 BuildRequires: libevent-devel >= 1.4.7-3
366 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
368 %define php_sysconfdir /etc/php
369 %define php_extensiondir %{_libdir}/php
370 %define _sysconfdir %{php_sysconfdir}
372 # must be in sync with source. extra check ensuring that it is so is done in %%build
373 %define php_api_version 20041225
374 %define zend_module_api 20060613
375 %define zend_extension_api 220060519
376 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
377 %define php_debug %{!?debug:0}%{?debug:1}
380 # ORACLE_HOME is required for oci8 ext to build
381 %define _preserve_env %_preserve_env_base ORACLE_HOME
385 PHP is an HTML-embedded scripting language. PHP attempts to make it
386 easy for developers to write dynamically generated web pages. PHP also
387 offers built-in database integration for several commercial and
388 non-commercial database management systems, so writing a
389 database-enabled web page with PHP is fairly simple. The most common
390 use of PHP coding is probably as a replacement for CGI scripts. The
391 mod_php module enables the Apache web server to understand and process
392 the embedded PHP language in web pages. This package contains PHP
395 %description -l fr.UTF-8
396 PHP est un langage de script embarque dans le HTM. PHP essaye de
397 rendre simple aux developpeurs d'ecrire des pages web generees
398 dynamiquement. PHP incorpore egalement une integration avec plusieurs
399 systemes de gestion de bases de donnees commerciaux et
400 non-connerciaux, qui rent facile la creation de pages web liees avec
401 des bases de donnees. L'utilisation la plus commune de PHP est
402 probablement en remplacement de scripts CGI. Le module mod_php permet
403 au serveur web Apache de comprendre et de traiter le langage PHP
404 integre dans des pages web. Ce package contient PHP version
407 %description -l pl.UTF-8
408 PHP jest językiem skryptowym, którego polecenia umieszcza się w
409 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
410 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
411 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
412 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
413 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
414 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
415 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
418 %description -l pt_BR.UTF-8
419 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
420 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
421 com algumas características únicas, específicas ao PHP. O objetivo da
422 linguagem é permitir que desenvolvedores web escrevam páginas
423 dinamicamente geradas de forma rápida.
425 %description -l ru.UTF-8
426 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
427 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
428 для работы с базами данных относительно просто. Наиболее популярное
429 использование PHP - замена для CGI скриптов.
431 %description -l uk.UTF-8
432 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
433 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
434 роботи з базами даних є доволі простим. Найбільш популярне
435 використання PHP - заміна для CGI скриптів.
437 %package -n apache1-mod_php
438 Summary: PHP DSO module for Apache 1.3.x
439 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x
440 Group: Development/Languages/PHP
441 Requires(triggerpostun): sed >= 4.0
442 Requires: %{name}-common = %{epoch}:%{version}-%{release}
443 Requires: apache1(EAPI) >= 1.3.33-2
444 Requires: apache1-mod_mime
445 Provides: webserver(php) = %{version}
446 Obsoletes: apache-mod_php < 1:4.1.1
449 %description -n apache1-mod_php
450 PHP as DSO module for Apache 1.3.x.
452 %description -n apache1-mod_php -l pl.UTF-8
453 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x.
455 %package -n apache-mod_php
456 Summary: PHP DSO module for Apache 2.x
457 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
458 Group: Development/Languages/PHP
459 Requires: %{name}-common = %{epoch}:%{version}-%{release}
460 Requires: apache(modules-api) = %{apache_modules_api}
461 Requires: apache-mod_mime
462 Provides: webserver(php) = %{version}
465 %description -n apache-mod_php
466 PHP as DSO module for Apache 2.x.
468 %description -n apache-mod_php -l pl.UTF-8
469 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
472 Summary: php as FastCGI program
473 Summary(pl.UTF-8): php jako program FastCGI
474 Group: Development/Languages/PHP
475 Requires: %{name}-common = %{epoch}:%{version}-%{release}
477 Provides: webserver(php) = %{version}
480 php as FastCGI program.
482 %description fcgi -l pl.UTF-8
483 php jako program FastCGI.
486 Summary: PHP as CGI/FastCGI program
487 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
488 Group: Development/Languages/PHP
489 Requires: %{name}-common = %{epoch}:%{version}-%{release}
491 Provides: webserver(php) = %{version}
496 %description cgi -l pl.UTF-8
497 php jako program CGI.
500 Summary: PHP as CLI interpreter
501 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
502 Group: Development/Languages/PHP
503 Requires: %{name}-common = %{epoch}:%{version}-%{release}
506 PHP as CLI interpreter.
508 %description cli -l pl.UTF-8
509 PHP jako interpreter działający z linii poleceń.
512 Summary: /usr/bin/php symlink
513 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
514 Group: Development/Languages/PHP
515 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
516 Obsoletes: /usr/bin/php
519 Package providing /usr/bin/php symlink to PHP CLI.
521 %description program -l pl.UTF-8
522 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
525 Summary: PHP FastCGI Process Manager
526 Group: Development/Languages/PHP
527 URL: http://www.php-fpm.org/
528 Requires(post,preun): /sbin/chkconfig
529 Requires(postun): /usr/sbin/userdel
530 Requires(pre): /bin/id
531 Requires(pre): /usr/sbin/useradd
532 Requires: %{name}-common = %{epoch}:%{version}-%{release}
533 Requires: libevent >= 1.4.7-3
536 Provides: webserver(php) = %{version}
539 PHP FastCGI Process Manager.
542 Summary: Common files needed by both Apache modules and CGI/CLI SAPI-s
543 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
544 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
545 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
547 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
548 Requires: glibc >= 6:2.3.5
550 Requires: rpm-whiteout >= 1.28
554 Provides: php(libxml)
555 %{?with_zend_multibyte:Provides: php(mbstring)}
556 Provides: php(modules_api) = %{php_api_version}
557 Provides: php(overload)
558 Provides: php(reflection)
559 Provides: php(standard)
560 Provides: php(zend_extension_api) = %{zend_extension_api}
561 Provides: php(zend_module_api) = %{zend_module_api}
564 %{?with_zend_multibyte:Provides: php-mbstring = %{epoch}:%{version}-%{release}}
565 Provides: php-overload
566 Provides: php-reflection
567 Provides: php-standard
568 Provides: php5(debug) = %{php_debug}
569 Provides: php5(thread-safety) = %{zend_zts}
570 # ensure backward compatibility for Titanium
571 # to be dropped in future but ask Titanium RM before doing so
572 %if "%{pld_release}" == "ti"
573 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
574 Requires: %{name}-session = %{epoch}:%{version}-%{release}
575 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
577 %if "%{pld_release}" == "ac"
578 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
579 Requires: %{name}-session = %{epoch}:%{version}-%{release}
580 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
582 Obsoletes: php-pecl-domxml
583 Conflicts: php-pecl-memcache < 3.0.4-2
584 Conflicts: php4-common < 3:4.4.4-8
585 Conflicts: rpm < 4.4.2-0.2
588 Common files needed by both Apache modules and CGI/CLI SAPI-s.
590 %description common -l pl.UTF-8
591 Wspólne pliki dla modułu Apache'a i programu CGI.
593 %description common -l ru.UTF-8
594 Этот пакет содержит общие файлы для разных вариантов реализации PHP
595 (самодостаточной и в качестве модуля Apache).
597 %description common -l uk.UTF-8
598 Цей пакет містить спільні файли для різних варіантів реалізації PHP
599 (самодостатньої та в якості модуля Apache).
602 Summary: Files for PHP modules development
603 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
604 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
605 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
606 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
607 Group: Development/Languages/PHP
608 Requires: %{name}-common = %{epoch}:%{version}-%{release}
611 %if "%{pld_release}" != "ac"
612 Requires: libtool >= 2:2.2
616 %{?with_pcre:Requires: pcre-devel >= 6.6}
618 Obsoletes: php-pear-devel
619 Obsoletes: php4-devel
622 The php-devel package lets you compile dynamic extensions to PHP.
623 Included here is the source for the PHP extensions. Instead of
624 recompiling the whole PHP binary to add support for, say, oracle,
625 install this package and use the new self-contained extensions
626 support. For more information, read the file
627 README.SELF-CONTAINED-EXTENSIONS.
629 %description devel -l pl.UTF-8
630 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
631 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
632 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
633 samodzielnych rozszerzeniach można znaleźć w pliku
634 README.SELF-CONTAINED-EXTENSIONS.
636 %description devel -l pt_BR.UTF-8
637 Este pacote contém arquivos usados no desenvolvimento de programas ou
640 %description devel -l ru.UTF-8
641 Пакет php-devel дает возможность компилировать динамические расширения
642 PHP. Пакет включает исходный код этих расширений. Вместо повторной
643 компиляции бинарного файла PHP для добавления, например, поддержки
644 oracle, установите этот пакет для компилирования отдельных расширений.
645 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
647 %description devel -l uk.UTF-8
648 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
649 До пакету включено вихідний код для розширень. Замість повторної
650 компіляції бінарного файлу PHP для додання, наприклад, підтримки
651 oracle, встановіть цей пакет для компіляції окремих розширень.
652 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
655 Summary: bcmath extension module for PHP
656 Summary(pl.UTF-8): Moduł bcmath dla PHP
658 URL: http://www.php.net/manual/en/book.bc.php
659 Requires: %{name}-common = %{epoch}:%{version}-%{release}
660 Provides: php(bcmath)
663 This is a dynamic shared object (DSO) for PHP that will add bc style
664 precision math functions support.
666 %description bcmath -l pl.UTF-8
667 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
668 matematycznych takich jak w programie bc.
671 Summary: Bzip2 extension module for PHP
672 Summary(pl.UTF-8): Moduł bzip2 dla PHP
674 URL: http://www.php.net/manual/en/book.bzip2.php
675 Requires: %{name}-common = %{epoch}:%{version}-%{release}
678 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
682 This is a dynamic shared object (DSO) for PHP that will add bzip2
683 compression support to PHP.
685 %description bz2 -l pl.UTF-8
686 Moduł PHP umożliwiający używanie kompresji bzip2.
689 Summary: Calendar extension module for PHP
690 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
692 URL: http://www.php.net/manual/en/book.calendar.php
693 Requires: %{name}-common = %{epoch}:%{version}-%{release}
694 Provides: php(calendar)
696 %description calendar
697 This is a dynamic shared object (DSO) for PHP that will add calendar
700 %description calendar -l pl.UTF-8
701 Moduł PHP dodający wsparcie dla kalendarza.
704 Summary: ctype extension module for PHP
705 Summary(pl.UTF-8): Moduł ctype dla PHP
707 URL: http://www.php.net/manual/en/book.ctype.php
708 Requires: %{name}-common = %{epoch}:%{version}-%{release}
712 This is a dynamic shared object (DSO) for PHP that will add ctype
715 %description ctype -l pl.UTF-8
716 Moduł PHP umożliwiający korzystanie z funkcji ctype.
719 Summary: curl extension module for PHP
720 Summary(pl.UTF-8): Moduł curl dla PHP
722 URL: http://www.php.net/manual/en/book.curl.php
723 Requires: %{name}-common = %{epoch}:%{version}-%{release}
727 This is a dynamic shared object (DSO) for PHP that will add curl
730 %description curl -l pl.UTF-8
731 Moduł PHP umożliwiający korzystanie z biblioteki curl.
734 Summary: DBA extension module for PHP
735 Summary(pl.UTF-8): Moduł DBA dla PHP
737 URL: http://www.php.net/manual/en/book.dba.php
738 Requires: %{name}-common = %{epoch}:%{version}-%{release}
742 This is a dynamic shared object (DSO) for PHP that will add flat-file
743 databases (DBA) support.
745 %description dba -l pl.UTF-8
746 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
750 Summary: DBase extension module for PHP
751 Summary(pl.UTF-8): Moduł DBase dla PHP
753 Requires: %{name}-common = %{epoch}:%{version}-%{release}
757 This is a dynamic shared object (DSO) for PHP that will add DBase
760 %description dbase -l pl.UTF-8
761 Moduł PHP ze wsparciem dla DBase.
764 Summary: DOM extension module for PHP
765 Summary(pl.UTF-8): Moduł DOM dla PHP
767 URL: http://www.php.net/manual/en/book.dom.php
768 Requires: %{name}-common = %{epoch}:%{version}-%{release}
770 # it has some compatibility functions
771 Provides: php(domxml)
772 Provides: php-domxml = %{epoch}:%{version}-%{release}
773 Obsoletes: php-domxml <= 3:4.3.8-1
776 This is a dynamic shared object (DSO) for PHP that will add new DOM
779 %description dom -l pl.UTF-8
780 Moduł PHP dodający nową obsługę DOM.
783 Summary: exif extension module for PHP
784 Summary(pl.UTF-8): Moduł exif dla PHP
786 URL: http://www.php.net/manual/en/book.exif.php
787 Requires: %{name}-common = %{epoch}:%{version}-%{release}
791 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
792 support in image files.
794 %description exif -l pl.UTF-8
795 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
798 Summary: FDF extension module for PHP
799 Summary(pl.UTF-8): Moduł FDF dla PHP
801 URL: http://www.php.net/manual/en/book.fdf.php
802 Requires: %{name}-common = %{epoch}:%{version}-%{release}
806 This PHP module adds support for PDF Forms through Adobe FDFTK
809 %description fdf -l pl.UTF-8
810 Moduł PHP dodający obsługę formularzy PDF poprzez bibliotekę Adobe
814 Summary: Extension for safely dealing with input parameters
815 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
817 URL: http://www.php.net/manual/en/book.filter.php
818 Requires: %{name}-common = %{epoch}:%{version}-%{release}
819 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
820 Provides: php(filter)
821 Obsoletes: php-pecl-filter
824 We all know that you should always check input variables, but PHP does
825 not offer really good functionality for doing this in a safe way. The
826 Input Filter extension is meant to address this issue by implementing
827 a set of filters and mechanisms that users can use to safely access
830 %description filter -l pl.UTF-8
831 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
832 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
833 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
834 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
835 mogą bezpiecznie używać do dostępu do danych.
838 Summary: FTP extension module for PHP
839 Summary(pl.UTF-8): Moduł FTP dla PHP
841 URL: http://www.php.net/manual/en/book.ftp.php
842 Requires: %{name}-common = %{epoch}:%{version}-%{release}
846 This is a dynamic shared object (DSO) for PHP that will add FTP
849 %description ftp -l pl.UTF-8
850 Moduł PHP dodający obsługę protokołu FTP.
853 Summary: GD extension module for PHP
854 Summary(pl.UTF-8): Moduł GD dla PHP
856 URL: http://www.php.net/manual/en/book.image.php
857 Requires: %{name}-common = %{epoch}:%{version}-%{release}
858 %if %{with system_gd}
859 Requires: gd >= 2.0.28-4
861 Requires: gd(imagerotate) = 5.2.0
866 This is a dynamic shared object (DSO) for PHP that will add GD
867 support, allowing you to create and manipulate images with PHP.
869 %description gd -l pl.UTF-8
870 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
871 tworzenie i obróbkę obrazków.
874 Summary: gettext extension module for PHP
875 Summary(pl.UTF-8): Moduł gettext dla PHP
877 URL: http://www.php.net/manual/en/book.gettext.php
878 Requires: %{name}-common = %{epoch}:%{version}-%{release}
879 Provides: php(gettext)
882 This is a dynamic shared object (DSO) for PHP that will add gettext
885 %description gettext -l pl.UTF-8
886 Moduł PHP dodający obsługę lokalizacji przez gettext.
889 Summary: gmp extension module for PHP
890 Summary(pl.UTF-8): Moduł gmp dla PHP
892 URL: http://www.php.net/manual/en/book.gmp.php
893 Requires: %{name}-common = %{epoch}:%{version}-%{release}
897 This is a dynamic shared object (DSO) for PHP that will add arbitrary
898 length number support with GNU MP library.
900 %description gmp -l pl.UTF-8
901 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
902 liczbach o dowolnej długości.
905 Summary: HASH Message Digest Framework
906 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
908 URL: http://www.php.net/manual/en/book.gmp.php
909 Requires: %{name}-common = %{epoch}:%{version}-%{release}
911 Obsoletes: php-pecl-hash
914 Native implementations of common message digest algorithms using a
915 generic factory method.
917 %description hash -l pl.UTF-8
918 Natywne implementacje popularnych algorytmów obliczania skrótów
919 wiadomości przy użyciu wspólnego interfejsu.
922 Summary: iconv extension module for PHP
923 Summary(pl.UTF-8): Moduł iconv dla PHP
925 URL: http://www.php.net/manual/en/book.iconv.php
926 Requires: %{_libdir}/gconv
927 Requires: %{name}-common = %{epoch}:%{version}-%{release}
932 This is a dynamic shared object (DSO) for PHP that will add iconv
935 %description iconv -l pl.UTF-8
936 Moduł PHP dodający obsługę iconv.
939 Summary: IMAP extension module for PHP
940 Summary(pl.UTF-8): Moduł IMAP dla PHP
941 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
943 URL: http://www.php.net/manual/en/book.imap.php
944 Requires: %{name}-common = %{epoch}:%{version}-%{release}
948 This is a dynamic shared object (DSO) for PHP that will add IMAP
951 %description imap -l pl.UTF-8
952 Moduł PHP dodający obsługę skrzynek IMAP.
954 %description imap -l pt_BR.UTF-8
955 Um módulo para aplicações PHP que usam IMAP.
958 Summary: InterBase/Firebird database module for PHP
959 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
961 URL: http://www.php.net/manual/en/book.ibase.php
962 Requires: %{name}-common = %{epoch}:%{version}-%{release}
963 Provides: php(interbase)
964 %{?with_interbase_inst:Autoreq: false}
966 %description interbase
967 This is a dynamic shared object (DSO) for PHP that will add InterBase
968 and Firebird database support.
970 %description interbase -l pl.UTF-8
971 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
974 Summary: PHP C extension for JSON serialization
975 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
977 URL: http://www.php.net/manual/en/book.json.php
978 Requires: %{name}-common = %{epoch}:%{version}-%{release}
980 Obsoletes: php-pecl-json
983 php-json is an extremely fast PHP C extension for JSON (JavaScript
984 Object Notation) serialisation.
986 %description json -l pl.UTF-8
987 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
988 (JavaScript Object Notation).
991 Summary: LDAP extension module for PHP
992 Summary(pl.UTF-8): Moduł LDAP dla PHP
993 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
995 URL: http://www.php.net/manual/en/book.ldap.php
996 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1000 This is a dynamic shared object (DSO) for PHP that will add LDAP
1003 %description ldap -l pl.UTF-8
1004 Moduł PHP dodający obsługę LDAP.
1006 %description ldap -l pt_BR.UTF-8
1007 Um módulo para aplicações PHP que usam LDAP.
1010 Summary: mbstring extension module for PHP
1011 Summary(pl.UTF-8): Moduł mbstring dla PHP
1013 URL: http://www.php.net/manual/en/book.mbstring.php
1014 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1015 Provides: php(mbstring)
1017 %description mbstring
1018 This is a dynamic shared object (DSO) for PHP that will add multibyte
1021 %description mbstring -l pl.UTF-8
1022 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1025 Summary: mcrypt extension module for PHP
1026 Summary(pl.UTF-8): Moduł mcrypt dla PHP
1028 URL: http://www.php.net/manual/en/book.mcrypt.php
1029 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1030 Provides: php(mcrypt)
1033 This is a dynamic shared object (DSO) for PHP that will add mcrypt
1036 %description mcrypt -l pl.UTF-8
1037 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
1040 Summary: mhash extension module for PHP
1041 Summary(pl.UTF-8): Moduł mhash dla PHP
1043 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1044 Provides: php(mhash)
1047 This is a dynamic shared object (DSO) for PHP that will add mhash
1050 %description mhash -l pl.UTF-8
1051 Moduł PHP udostępniający funkcje mieszające z biblioteki mhash.
1054 Summary: mime_magic extension module for PHP
1055 Summary(pl.UTF-8): Moduł mime_magic dla PHP
1057 Requires: %{magic_mime}
1058 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1059 Provides: php(mime_magic)
1061 %description mime_magic
1062 This PHP module adds support for MIME type lookup via file magic
1063 numbers using magic.mime database.
1065 %description mime_magic -l pl.UTF-8
1066 Moduł PHP dodający obsługę wyszukiwania typów MIME według magicznych
1067 znaczników plików z użyciem bazy danych magic.mime.
1070 Summary: ming extension module for PHP
1071 Summary(pl.UTF-8): Moduł ming dla PHP
1073 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1074 Requires: ming >= 0.3
1078 This is a dynamic shared object (DSO) for PHP that will add ming
1079 (Flash - .swf files) support.
1081 %description ming -l pl.UTF-8
1082 Moduł PHP dodający obsługę plików Flash (.swf) poprzez bibliotekę
1086 Summary: MS SQL extension module for PHP
1087 Summary(pl.UTF-8): Moduł MS SQL dla PHP
1089 URL: http://www.php.net/manual/en/book.mssql.php
1090 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1091 Provides: php(mssql)
1094 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1095 databases support through FreeTDS library.
1097 %description mssql -l pl.UTF-8
1098 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
1102 Summary: MySQL database module for PHP
1103 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
1104 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
1106 URL: http://www.php.net/manual/en/book.mysql.php
1107 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1108 Provides: php(mysql)
1111 This is a dynamic shared object (DSO) for PHP that will add MySQL
1114 %description mysql -l pl.UTF-8
1115 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
1117 %description mysql -l pt_BR.UTF-8
1118 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1121 Summary: MySQLi module for PHP
1122 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1124 URL: http://www.php.net/manual/en/book.mysqli.php
1125 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1126 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1127 Requires: mysql-libs >= 4.1.0
1128 Provides: php(mysqli)
1131 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1132 (Improved MySQL) support. The difference between it and mysql module
1133 is that it provides access to functionality of MySQL 4.1 and above.
1135 %description mysqli -l pl.UTF-8
1136 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1137 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1138 MySQL w wersji 4.1 i nowszych.
1141 Summary: ncurses module for PHP
1142 Summary(pl.UTF-8): Moduł ncurses dla PHP
1144 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1145 Provides: php(ncurses)
1147 %description ncurses
1148 This PHP module adds support for ncurses functions (only for cli and
1151 %description ncurses -l pl.UTF-8
1152 Moduł PHP dodający obsługę funkcji ncurses (tylko do SAPI cli i cgi).
1155 Summary: Oracle 8+ database module for PHP
1156 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1158 URL: http://www.php.net/manual/en/book.oci8.php
1159 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1164 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1165 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1167 %description oci8 -l pl.UTF-8
1168 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1169 poprzez interfejs Oracle8 Call-Interface (OCI8).
1172 Summary: ODBC extension module for PHP
1173 Summary(pl.UTF-8): Moduł ODBC dla PHP
1174 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1176 URL: http://www.php.net/manual/en/book.uodbc.php
1177 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1178 Requires: unixODBC >= 2.1.1-3
1182 This is a dynamic shared object (DSO) for PHP that will add ODBC
1185 %description odbc -l pl.UTF-8
1186 Moduł PHP ze wsparciem dla ODBC.
1188 %description odbc -l pt_BR.UTF-8
1189 Um módulo para aplicações PHP que usam ODBC.
1192 Summary: OpenSSL extension module for PHP
1193 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1195 URL: http://www.php.net/manual/en/book.openssl.php
1196 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1197 Provides: php(openssl)
1199 %description openssl
1200 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1203 %description openssl -l pl.UTF-8
1204 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1207 Summary: Process Control extension module for PHP
1208 Summary(pl.UTF-8): Moduł Process Control dla PHP
1210 URL: http://www.php.net/manual/en/book.pcntl.php
1211 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1212 Provides: php(pcntl)
1215 This is a dynamic shared object (DSO) for PHP that will add process
1216 spawning and control support. It supports functions like fork(),
1217 waitpid(), signal() etc.
1219 %description pcntl -l pl.UTF-8
1220 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1221 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1224 Summary: PCRE extension module for PHP
1225 Summary(pl.UTF-8): Moduł PCRE dla PHP
1227 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1231 This is a dynamic shared object (DSO) for PHP that will add Perl
1232 Compatible Regular Expression support.
1234 %description pcre -l pl.UTF-8
1235 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1236 (Perl Compatible Regular Expressions)
1239 Summary: PHP Data Objects (PDO)
1240 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1242 URL: http://www.php.net/manual/en/book.pdo.php
1243 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1244 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1246 Obsoletes: php-pecl-PDO
1249 This is a dynamic shared object (DSO) for PHP that will add PDO
1252 %description pdo -l pl.UTF-8
1253 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1256 Summary: PHP Data Objects (PDO) FreeTDS support
1257 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1259 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1260 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1261 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1262 Provides: php(dblib)
1264 %description pdo-dblib
1265 This is a dynamic shared object (DSO) for PHP that will add PDO
1268 %description pdo-dblib -l pl.UTF-8
1269 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1272 %package pdo-firebird
1273 Summary: PHP Data Objects (PDO) Firebird support
1274 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1276 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1277 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1278 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1279 Provides: php(pdo-firebird)
1280 Obsoletes: php-pecl-PDO_FIREBIRD
1282 %description pdo-firebird
1283 This is a dynamic shared object (DSO) for PHP that will add PDO
1286 %description pdo-firebird -l pl.UTF-8
1287 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1291 Summary: PHP Data Objects (PDO) MySQL support
1292 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1294 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1295 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1296 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1297 Provides: php(pdo-mysql)
1298 Obsoletes: php-pecl-PDO_MYSQL
1300 %description pdo-mysql
1301 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1304 %description pdo-mysql -l pl.UTF-8
1305 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1309 Summary: PHP Data Objects (PDO) Oracle support
1310 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1312 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1313 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1314 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1315 Provides: php(pdo-oci)
1316 Obsoletes: php-pecl-PDO_OCI
1318 %description pdo-oci
1319 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1322 %description pdo-oci -l pl.UTF-8
1323 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1327 Summary: PHP Data Objects (PDO) ODBC support
1328 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1330 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1331 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1332 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1333 Provides: php(pdo-odbc)
1334 Obsoletes: php-pecl-PDO_ODBC
1336 %description pdo-odbc
1337 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1340 %description pdo-odbc -l pl.UTF-8
1341 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1345 Summary: PHP Data Objects (PDO) PostgreSQL support
1346 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1348 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1349 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1350 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1351 Provides: php(pdo-pgsql)
1352 Provides: php-pecl-PDO_PGSQL
1353 Obsoletes: php-pecl-PDO_PGSQL
1355 %description pdo-pgsql
1356 This is a dynamic shared object (DSO) for PHP that will add PDO
1359 %description pdo-pgsql -l pl.UTF-8
1360 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1364 Summary: PHP Data Objects (PDO) SQLite support
1365 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1367 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1368 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1369 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1370 Provides: php(pdo-sqlite)
1371 Obsoletes: php-pecl-PDO_SQLITE
1373 %description pdo-sqlite
1374 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1377 %description pdo-sqlite -l pl.UTF-8
1378 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1382 Summary: PostgreSQL database module for PHP
1383 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1385 URL: http://www.php.net/manual/en/book.pgsql.php
1386 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1387 Provides: php(pgsql)
1390 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1393 %description pgsql -l pl.UTF-8
1394 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1396 %description pgsql -l pt_BR.UTF-8
1397 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1400 Summary: POSIX extension module for PHP
1401 Summary(pl.UTF-8): Moduł POSIX dla PHP
1403 URL: http://www.php.net/manual/en/book.posix.php
1404 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1405 Provides: php(posix)
1408 This is a dynamic shared object (DSO) for PHP that will add POSIX
1409 functions support to PHP.
1411 %description posix -l pl.UTF-8
1412 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1415 Summary: pspell extension module for PHP
1416 Summary(pl.UTF-8): Moduł pspell dla PHP
1418 URL: http://www.php.net/manual/en/book.pspell.php
1419 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1420 Provides: php(pspell)
1423 This is a dynamic shared object (DSO) for PHP that will add pspell
1424 support to PHP. It allows to check the spelling of a word and offer
1427 %description pspell -l pl.UTF-8
1428 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1429 sprawdzanie pisowni słowa i sugerowanie poprawek.
1432 Summary: readline extension module for PHP
1433 Summary(pl.UTF-8): Moduł readline dla PHP
1435 URL: http://www.php.net/manual/en/book.readline.php
1436 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1437 Provides: php(readline)
1439 %description readline
1440 This PHP module adds support for readline functions (only for cli and
1443 %description readline -l pl.UTF-8
1444 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1447 Summary: recode extension module for PHP
1448 Summary(pl.UTF-8): Moduł recode dla PHP
1450 URL: http://www.php.net/manual/en/book.recode.php
1451 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1452 Requires: recode >= 3.5d-3
1453 Provides: php(recode)
1456 This is a dynamic shared object (DSO) for PHP that will add recode
1459 %description recode -l pl.UTF-8
1460 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1464 Summary: session extension module for PHP
1465 Summary(pl.UTF-8): Moduł session dla PHP
1467 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1468 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1469 Provides: php(session)
1471 %description session
1472 This is a dynamic shared object (DSO) for PHP that will add session
1475 %description session -l pl.UTF-8
1476 Moduł PHP dodający obsługę sesji.
1479 Summary: Shared Memory Operations extension module for PHP
1480 Summary(pl.UTF-8): Moduł shmop dla PHP
1482 URL: http://www.php.net/manual/en/book.shmop.php
1483 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1484 Provides: php(shmop)
1487 This is a dynamic shared object (DSO) for PHP that will add Shared
1488 Memory Operations support.
1490 %description shmop -l pl.UTF-8
1491 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1494 Summary: Simple XML extension module for PHP
1495 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1497 URL: http://www.php.net/manual/en/book.simplexml.php
1498 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1499 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1500 Provides: php(simplexml)
1502 %description simplexml
1503 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1506 %description simplexml -l pl.UTF-8
1507 Moduł PHP dodający obsługę prostego XML-a.
1510 Summary: SNMP extension module for PHP
1511 Summary(pl.UTF-8): Moduł SNMP dla PHP
1513 URL: http://www.php.net/manual/en/book.snmp.php
1514 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1515 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1519 This is a dynamic shared object (DSO) for PHP that will add SNMP
1522 %description snmp -l pl.UTF-8
1523 Moduł PHP dodający obsługę SNMP.
1526 Summary: soap extension module for PHP
1527 Summary(pl.UTF-8): Moduł soap dla PHP
1529 URL: http://www.php.net/manual/en/book.soap.php
1530 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1534 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1537 %description soap -l pl.UTF-8
1538 Moduł PHP dodający obsługę SOAP/WSDL.
1541 Summary: sockets extension module for PHP
1542 Summary(pl.UTF-8): Moduł socket dla PHP
1544 URL: http://www.php.net/manual/en/book.sockets.php
1545 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1546 Provides: php(sockets)
1548 %description sockets
1549 This is a dynamic shared object (DSO) for PHP that will add sockets
1552 %description sockets -l pl.UTF-8
1553 Moduł PHP dodający obsługę gniazdek.
1556 Summary: Standard PHP Library module for PHP
1557 Summary(pl.UTF-8): Moduł SPL dla PHP
1559 URL: http://php.net/manual/en/book.spl.php
1560 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1561 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1562 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1566 This is a dynamic shared object (DSO) for PHP that will add Standard
1567 PHP Library support.
1569 %description spl -l pl.UTF-8
1570 Moduł PHP dodający obsługę gniazdek.
1573 Summary: SQLite extension module for PHP
1574 Summary(pl.UTF-8): Moduł SQLite dla PHP
1576 URL: http://www.php.net/manual/en/book.sqlite.php
1577 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1578 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1579 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1580 Provides: php(sqlite)
1583 SQLite is a C library that implements an embeddable SQL database
1584 engine. Programs that link with the SQLite library can have SQL
1585 database access without running a separate RDBMS process.
1587 SQLite is not a client library used to connect to a big database
1588 server. SQLite is the server. The SQLite library reads and writes
1589 directly to and from the database files on disk.
1591 %description sqlite -l pl.UTF-8
1592 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1593 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1594 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1597 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1598 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1599 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1603 Summary: Sybase DB extension module for PHP
1604 Summary(pl.UTF-8): Moduł Sybase DB dla PHP
1606 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1607 Provides: php(sybase)
1608 Obsoletes: php-sybase-ct
1609 Conflicts: php-sybase-ct
1612 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1613 MS SQL databases support through SYBDB library. Currently Sybase
1614 module is not maintained. Using Sybase-CT module is recommended
1617 %description sybase -l pl.UTF-8
1618 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1619 bibliotekę SYBDB. W chwili obecnej moduł Sybase nie jest wspierany.
1620 Zaleca się używanie modułu Sybase-CT.
1623 Summary: Sybase-CT extension module for PHP
1624 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1626 URL: http://www.php.net/manual/en/book.sybase.php
1627 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1628 Provides: php(sybase-ct)
1629 Obsoletes: php-sybase
1630 Conflicts: php-sybase
1632 %description sybase-ct
1633 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1634 MS SQL databases support through CT-lib.
1636 %description sybase-ct -l pl.UTF-8
1637 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1641 Summary: SysV msg extension module for PHP
1642 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1644 URL: http://www.php.net/manual/en/book.sem.php
1645 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1646 Provides: php(sysvmsg)
1648 %description sysvmsg
1649 This is a dynamic shared object (DSO) for PHP that will add SysV
1650 message queues support.
1652 %description sysvmsg -l pl.UTF-8
1653 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1656 Summary: SysV sem extension module for PHP
1657 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1659 URL: http://www.php.net/manual/en/book.sem.php
1660 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1661 Provides: php(sysvsem)
1663 %description sysvsem
1664 This is a dynamic shared object (DSO) for PHP that will add SysV
1667 %description sysvsem -l pl.UTF-8
1668 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1671 Summary: SysV shm extension module for PHP
1672 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1674 URL: http://www.php.net/manual/en/book.shmop.php
1675 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1676 Provides: php(sysvshm)
1678 %description sysvshm
1679 This is a dynamic shared object (DSO) for PHP that will add SysV
1680 Shared Memory support.
1682 %description sysvshm -l pl.UTF-8
1683 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1686 Summary: Contains unit test files for PHP and extensions
1687 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1689 URL: http://qa.php.net/
1690 Requires: %{name}-cli
1693 This package contains unit tests for PHP and it's extensions.
1695 %description tests -l pl.UTF-8
1696 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1699 Summary: Tidy extension module for PHP
1700 Summary(pl.UTF-8): Moduł Tidy dla PHP
1702 URL: http://www.php.net/manual/en/book.tidy.php
1703 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1708 This is a dynamic shared object (DSO) for PHP that will add Tidy
1711 %description tidy -l pl.UTF-8
1712 Moduł PHP umożliwiający korzystanie z tidy.
1715 Summary: tokenizer extension module for PHP
1716 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1718 URL: http://www.php.net/manual/en/book.tokenizer.php
1719 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1720 Provides: php(tokenizer)
1722 %description tokenizer
1723 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1726 %description tokenizer -l pl.UTF-8
1727 Moduł PHP dodający obsługę tokenizera do PHP.
1730 Summary: wddx extension module for PHP
1731 Summary(pl.UTF-8): Moduł wddx dla PHP
1733 URL: http://www.php.net/manual/en/book.wddx.php
1734 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1735 # - wddx doesn't require session as it's disabled at compile time:
1736 # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1737 # see also php.spec#rev1.120.2.22
1738 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1739 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1743 This is a dynamic shared object (DSO) for PHP that will add wddx
1746 %description wddx -l pl.UTF-8
1747 Moduł PHP umożliwiający korzystanie z wddx.
1750 Summary: XML extension module for PHP
1751 Summary(pl.UTF-8): Moduł XML dla PHP
1753 URL: http://www.php.net/manual/en/book.xml.php
1754 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1758 This is a dynamic shared object (DSO) for PHP that will add XML
1759 support. This extension lets you create XML parsers and then define
1760 handlers for different XML events.
1762 %description xml -l pl.UTF-8
1763 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1764 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1765 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1768 Summary: XML Reader extension module for PHP
1769 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1771 URL: http://www.php.net/manual/en/book.xmlreader.php
1772 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1773 Suggests: %{name}-dom = %{epoch}:%{version}-%{release}
1774 Provides: php(xmlreader)
1776 %description xmlreader
1777 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1778 support. The XMLReader extension is an XML Pull parser. The reader
1779 acts as a cursor going forward on the document stream and stopping at
1780 each node on the way.
1782 %description xmlreader -l pl.UTF-8
1783 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1784 działa jako kursor przechodzący przez strumień dokumentu i
1785 zatrzymujący się na każdym węźle po drodze.
1788 Summary: xmlrpc extension module for PHP
1789 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1791 URL: http://www.php.net/manual/en/book.xmlrpc.php
1792 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1793 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1794 Provides: php(xmlrpc)
1797 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1800 %description xmlrpc -l pl.UTF-8
1801 Moduł PHP dodający obsługę XMLRPC.
1804 Summary: Fast, non-cached, forward-only means to write XML data
1805 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1807 URL: http://www.php.net/manual/en/book.xmlwriter.php
1808 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1809 Provides: php(xmlwriter)
1810 Obsoletes: php-pecl-xmlwriter
1812 %description xmlwriter
1813 This extension wraps the libxml xmlWriter API. Represents a writer
1814 that provides a non-cached, forward-only means of generating streams
1815 or files containing XML data.
1817 %description xmlwriter -l pl.UTF-8
1818 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1819 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1820 plików zawierających dane XML.
1823 Summary: xsl extension module for PHP
1824 Summary(pl.UTF-8): Moduł xsl dla PHP
1826 URL: http://www.php.net/manual/en/book.xsl.php
1827 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1828 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1829 Requires: libxslt >= 1.0.18
1830 # actually not true, functionality is similar, but API differs
1832 Obsoletes: php-xslt <= 3:4.3.8-1
1835 This is a dynamic shared object (DSO) for PHP that will add new XSL
1836 support (using libxslt).
1838 %description xsl -l pl.UTF-8
1839 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1842 Summary: Zip management extension
1843 Summary(pl.UTF-8): Zarządzanie archiwami zip
1845 URL: http://www.php.net/manual/en/book.zip.php
1846 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1848 Obsoletes: php-pecl-zip
1849 %{?with_system_libzip:Requires: libzip >= 0.10-3}
1852 Zip is an extension to create, modify and read zip files.
1854 %description zip -l pl.UTF-8
1855 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1856 odczyt archiwów zip.
1859 Summary: Zlib extension module for PHP
1860 Summary(pl.UTF-8): Moduł zlib dla PHP
1862 URL: http://www.php.net/manual/en/book.zlib.php
1863 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1867 This is a dynamic shared object (DSO) for PHP that will add zlib
1868 compression support to PHP.
1870 %description zlib -l pl.UTF-8
1871 Moduł PHP umożliwiający używanie kompresji zlib.
1876 %{__sed} -i -e 's,\r$,,' Zend/Zend.dsp Zend/ZendTS.dsp
1889 cp php.ini-dist php.ini
1891 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1901 %if %{with system_gd}
1910 %{?with_versioning:%patch25 -p1}
1913 %{__tar} jxf %{SOURCE9}
1914 v=%{SOURCE9} v=${v#*/php-patchset-} v=${v%%-*}
1915 mv $v/$v gentoo-patchset
1916 for a in gentoo-patchset/*.patch; do
1929 %if "%{pld_release}" != "ac"
1934 # mysql default charset for mysql/mysql/pdo-mysql extensions
1965 %{?with_system_libzip:%patch65 -p1}
1967 %patch201 -p1 -b .CVE-2011-2202
1968 %patch202 -p1 -b .CVE-2011-1938
1969 %patch203 -p1 -b .CVE-2011-1148
1970 %patch204 -p1 -b .CVE-2011-0708
1971 %patch205 -p1 -b .CVE-2011-1092
1972 %patch206 -p1 -b .CVE-2011-0421
1974 # Bugfix backport from 5.3.6
1975 %patch301 -p1 -b .bug-54055
1976 %patch302 -p1 -b .bug-53577
1977 %patch303 -p1 -b .bug-48484
1978 %patch304 -p1 -b .bug-48607
1979 %patch305 -p1 -b .bug-53574
1980 %patch306 -p1 -b .bug-52290
1981 %patch307 -p1 -b .bug-52063
1982 %patch308 -p1 -b .bug-53924
1983 %patch309 -p1 -b .bug-53150
1984 %patch310 -p1 -b .bug-52209
1985 %patch311 -p1 -b .bug-47435
1986 %patch312 -p1 -b .bug-53377
1987 %patch313 -p1 -b .bug-39847
1988 %patch314 -p1 -b .bug-39199
1989 %patch315 -p1 -b .bug-53630
1990 %patch316 -p1 -b .bug-51336
1991 %patch317 -p1 -b .bug-53515
1992 %patch318 -p1 -b .bug-54092
1993 %patch319 -p1 -b .bug-53903
1994 %patch320 -p1 -b .bug-54089
1995 %patch321 -p1 -b .bug-53603
1996 %patch322 -p1 -b .bug-53854
1997 %patch323 -p1 -b .bug-53579
1998 %patch324 -p1 -b .bug-53568
1999 %patch325 -p1 -b .bug-49072
2000 # Bugfix backport from 5.3.7
2001 %patch330 -p1 -b .bug-55399
2002 %patch331 -p1 -b .bug-55082
2003 %patch332 -p1 -b .bug-55014
2004 #accert %patch333 -p1 -b .bug-54924
2005 %patch334 -p1 -b .bug-54180
2006 %patch335 -p1 -b .bug-54137
2007 %patch336 -p1 -b .bug-53848
2008 %patch337 -p1 -b .bug-52935
2009 %patch338 -p1 -b .bug-51997
2010 %patch339 -p1 -b .bug-50363
2011 %patch340 -p1 -b .bug-48465
2012 %patch341 -p1 -b .bug-54529
2013 %patch342 -p1 -b .bug-52496
2014 %patch343 -p1 -b .bug-54242
2015 %patch344 -p1 -b .bug-54121
2016 %patch345 -p1 -b .bug-53037
2017 %patch346 -p1 -b .bug-54269
2018 %patch347 -p1 -b .bug-54601
2019 %patch348 -p1 -b .bug-54440
2020 %patch349 -p1 -b .bug-54494
2021 %patch350 -p1 -b .bug-54221
2022 %patch351 -p1 -b .bug-52104
2023 %patch352 -p1 -b .bug-54329
2024 %patch353 -p1 -b .bug-53782
2025 %patch354 -p1 -b .bug-54318
2026 #soap %patch355 -p1 -b .bug-55323
2027 %patch356 -p1 -b .bug-54312
2028 %patch357 -p1 -b .bug-51958
2029 %patch358 -p1 -b .bug-54946
2030 %patch359 -p1 -b .CVE-2011-4566
2031 %patch360 -p1 -b .bug-60206
2032 %patch361 -p1 -b .bug-60138
2033 %patch362 -p1 -b .bug-60120
2034 %patch363 -p1 -b .bug-55674
2035 %patch364 -p1 -b .bug-55509
2036 %patch365 -p1 -b .bug-55504
2037 %patch366 -p1 -b .bug-52461
2038 %patch367 -p1 -b .bug-55366
2039 %patch368 -p1 -b .bug-55273
2040 %patch369 -p1 -b .bug-52624
2041 %patch370 -p1 -b .bug-43200
2042 %patch371 -p1 -b .bug-54682
2043 %patch372 -p1 -b .bug-60455
2044 %patch373 -p1 -b .bug-60183
2045 %patch374 -p1 -b .bug-55478
2047 %patch400 -p1 -b .php-5.2-max-input-vars
2048 %patch401 -p1 -b .bug-323007
2050 # conflict seems to be resolved by recode patches
2051 rm -f ext/recode/config9.m4
2053 # remove all bundled libraries not to link with them accidentally
2054 #rm -rf ext/sqlite/libsqlite
2055 #rm -rf ext/bcmath/libbcmath
2056 #rm -rf ext/date/lib
2057 #rm -rf ext/dba/libcdb
2058 #rm -rf ext/dba/libflatfile
2059 #rm -rf ext/dba/libinifile
2060 #rm -rf ext/gd/libgd
2061 #rm -rf ext/mbstring/libmbfl
2062 #rm -rf ext/mbstring/oniguruma
2063 rm -rf ext/pcre/pcrelib
2064 rm -rf ext/pdo_sqlite/sqlite
2065 #rm -rf ext/soap/interop
2066 %if %{with system_xmlrpc_epi}
2067 rm -rf ext/xmlrpc/libxmlrpc
2071 # this test hungs on ac-ppc
2072 #mv ext/reflection/tests/007.php{,ignore}
2073 # this test gets killed by itself
2074 mv ext/standard/tests/general_functions/bug39322.phpt{,.broken}
2077 cp -af Zend/LICENSE{,.Zend}
2078 install -p %{SOURCE13} dep-tests.sh
2080 # disable broken tests
2081 # says just "Terminated" twice and fails
2082 mv sapi/cli/tests/022.phpt{,.broken}
2084 sh -xe %{_sourcedir}/skip-tests.sh
2087 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
2088 if [ $API != %{php_api_version} ]; then
2089 echo "Set %%define php_api_version to $API and re-run."
2093 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
2094 if [ $API != %{zend_module_api} ]; then
2095 echo "Set %%define zend_module_api to $API and re-run."
2099 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
2100 if [ $API != %{zend_extension_api} ]; then
2101 echo "Set %%define zend_extension_api to $API and re-run."
2105 export EXTENSION_DIR="%{php_extensiondir}"
2106 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
2107 rm -f Makefile.{fcgi,fpm,cgi,cli,apxs{1,2}} # now remove Makefile copies
2110 cp -f /usr/share/automake/config.* .
2114 export PROG_SENDMAIL="/usr/lib/sendmail"
2131 for sapi in $sapis; do
2133 [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
2138 sapi_args='--disable-cli --enable-discard-path --enable-force-cgi-redirect'
2141 sapi_args='--disable-cgi'
2144 sapi_args='--disable-cli --enable-fastcgi --enable-force-cgi-redirect'
2147 sapi_args='--disable-cli --enable-fastcgi --enable-force-cgi-redirect --enable-fpm'
2150 ver=$(rpm -q --qf '%{V}' apache1-devel)
2151 sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
2154 ver=$(rpm -q --qf '%{V}' apache-devel)
2155 sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
2161 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2162 --cache-file=config.cache \
2164 --with-libdir=%{_lib} \
2165 --with-config-file-path=%{_sysconfdir} \
2166 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2167 --with-exec-dir=%{_bindir} \
2168 --with-system-tzdata \
2169 --%{!?debug:dis}%{?debug:en}able-debug \
2170 %{?with_zts:--enable-maintainer-zts} \
2171 %{?with_suhosin:--enable-suhosin} \
2172 %{?with_zend_multibyte:--enable-zend-multibyte} \
2173 --enable-inline-optimization \
2174 --enable-bcmath=shared \
2175 --enable-calendar=shared \
2176 --enable-ctype=shared \
2177 --enable-dba=shared \
2178 --enable-dom=shared \
2179 --enable-exif=shared \
2180 --enable-ftp=shared \
2181 --enable-gd-native-ttf \
2182 %{?with_gd_jis_conv:--enable-gd-jis-conv} \
2184 --enable-magic-quotes \
2185 --enable-mbstring=%{?!with_zend_multibyte:shared,}all \
2187 --enable-pcntl=shared \
2188 --enable-pdo=shared \
2189 --enable-json=shared \
2190 --enable-hash=shared \
2191 --enable-xmlwriter=shared \
2193 --with-fpm-conf=%{_sysconfdir}/fpm.conf \
2194 --with-fpm-log=/var/log/fpm.log \
2195 --with-fpm-pid=/var/run/php/fpm.pid \
2197 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
2198 --with-pdo-dblib=shared \
2200 %if %{with interbase} && !%{with interbase_inst}
2201 --with-pdo-firebird=shared,/usr \
2203 --with-pdo-mysql=shared \
2204 %{?with_oci8:--with-pdo-oci=shared} \
2205 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2206 %{?with_pgsql:--with-pdo-pgsql=shared} \
2207 %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
2208 --enable-posix=shared \
2209 --enable-reflection \
2211 --enable-session=shared \
2212 --enable-shmop=shared \
2213 --enable-simplexml=shared \
2214 --enable-spl=shared \
2215 --enable-sysvmsg=shared \
2216 --enable-sysvsem=shared \
2217 --enable-sysvshm=shared \
2218 --enable-safe-mode \
2219 --enable-soap=shared \
2220 --enable-sockets=shared \
2221 --enable-tokenizer=shared \
2222 --enable-ucd-snmp-hack \
2223 %{?with_wddx:--enable-wddx=shared} \
2224 --enable-xml=shared \
2225 --enable-xmlreader=shared \
2227 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
2229 --enable-dbase=shared \
2230 --without-libexpat-dir \
2231 %{?with_fdf:--with-fdftk=shared} \
2232 --with-iconv=shared \
2233 --with-freetype-dir=shared \
2234 --with-gettext=shared \
2235 --with-gd=shared%{?with_system_gd:,/usr} \
2238 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2239 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2240 --with-jpeg-dir=/usr \
2241 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2242 --with-mcrypt=shared \
2243 %{?with_mhash:--with-mhash=shared} \
2244 %{?with_mime_magic:--with-mime-magic=shared,%{magic_mime}}%{!?with_mime_magic:--disable-mime-magic} \
2245 %{?with_ming:--with-ming=shared} \
2246 %{?with_mm:--with-mm} \
2247 %{?with_mssql:--with-mssql=shared} \
2248 --with-mysql=shared,/usr \
2249 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2250 %{?with_mysqli:--with-mysqli=shared} \
2251 --with-ncurses=shared \
2252 %{?with_oci8:--with-oci8=shared} \
2253 %{?with_openssl:--with-openssl=shared} \
2255 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared,/usr} \
2256 %{!?with_filter:--disable-filter}%{?with_filter:--enable-filter=shared} \
2257 --with-pear=%{php_pear_dir} \
2258 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
2259 --with-png-dir=/usr \
2260 %{?with_pspell:--with-pspell=shared} \
2261 --with-readline=shared \
2262 %{?with_recode:--with-recode=shared} \
2264 %{?with_snmp:--with-snmp=shared} \
2265 %{?with_sybase:--with-sybase=shared,/usr} \
2266 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
2267 %{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
2268 --with-t1lib=shared \
2269 %{?with_tidy:--with-tidy=shared} \
2270 %{?with_odbc:--with-unixODBC=shared,/usr} \
2271 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared%{?with_system_xmlrpc_epi:,/usr}} \
2273 --with-zlib=shared \
2274 --with-zlib-dir=shared,/usr \
2275 %{?with_system_libzip:--with-libzip} \
2276 --enable-zip=shared,/usr \
2278 cp -f Makefile Makefile.$sapi
2279 cp -f main/php_config.h php_config.h.$sapi
2280 cp -f config.log config.log.$sapi
2283 # as we build each SAPI in own make, adjust php-config.in forehead
2284 sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | xargs)
2285 sed -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in"
2287 # must make this first, so modules can link against it.
2288 %{__make} libphp_common.la
2289 %{__make} build-modules
2292 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
2296 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
2300 cp -af php_config.h.cgi main/php_config.h
2301 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
2302 %{__make} sapi/cgi/php-cgi -f Makefile.cgi
2303 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = cgi ] || exit 1
2307 cp -af php_config.h.fcgi main/php_config.h
2308 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
2309 %{__make} sapi/cgi/php-cgi -f Makefile.fcgi
2310 cp -r sapi/cgi sapi/fcgi
2311 [ "$(echo '<?=php_sapi_name();' | ./sapi/fcgi/php-cgi -qn)" = cgi-fcgi ] || exit 1
2315 cp -af php_config.h.fpm main/php_config.h
2316 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
2317 %{__make} sapi/cgi/php-cgi -f Makefile.fpm
2318 cp -r sapi/cgi sapi/fpm
2319 [ "$(echo '<?=php_sapi_name();' | ./sapi/fpm/php-cgi -qn)" = cgi-fcgi ] || exit 1
2323 cp -af php_config.h.cli main/php_config.h
2324 %{__make} sapi/cli/php -f Makefile.cli
2325 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -n)" = cli ] || exit 1
2327 # check for stupid xml parse breakage where < and > just get lost in parse result
2328 ./sapi/cli/php -n -dextension_dir=modules -dextension=xml.so -r '$p = xml_parser_create(); xml_parse_into_struct($p, "<x><</x>", $vals, $index); exit((int )empty($vals[0]["value"]));'
2330 # Generate stub .ini files for each extension
2333 generate_inifiles() {
2334 for so in modules/*.so; do
2335 mod=$(basename $so .so)
2337 # xml needs to be loaded before wddx
2338 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2339 # pre needs to be loaded before SPL
2340 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2341 # spl needs to be loaded before mysqli
2342 [ "$mod" = "spl" ] && conf="SPL.ini"
2343 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2344 [ "$mod" = "session" ] && conf="Session.ini"
2346 cat > conf.d/$conf <<-EOF
2347 ; Enable $mod extension module
2354 # Check that the module inner-dependencies are intact
2355 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2356 if grep -v OK dep-tests.log; then
2357 echo >&2 "The results above were not expected"
2358 # TEMP: ac-i386 builder is broken
2366 # Run tests, using the CLI SAPI
2367 cp -af php_config.h.cli main/php_config.h
2368 cp -af Makefile.cli Makefile
2369 # sybase modules collide, remove one
2370 %{__sed} -i -e '/^PHP_MODULES/s,\$(phplibdir)/sybase_ct.la,,' Makefile
2372 cat <<'EOF' > run-tests.sh
2374 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2375 unset TZ LANG LC_ALL || :
2378 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2379 RUN_TESTS_SETTINGS="-q $*"
2381 chmod +x run-tests.sh
2382 ./run-tests.sh -w failed.log -s test.log
2384 # collect failed tests into cleanup script used in prep.
2385 sed -ne '/FAILED TEST SUMMARY/,/^===/p' test.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2386 sed -ne '/\[.*\]/{s/\(.*\) \[\(.*\)\]/# \1\nmv \2{,.skip}/p}' tests-failed.log \
2387 >> %{_sourcedir}/skip-tests.sh
2389 failed=$(wc -l < tests-failed.log)
2390 if [ "$failed" != 0 ]; then
2396 rm -rf $RPM_BUILD_ROOT
2397 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2398 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2399 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2400 $RPM_BUILD_ROOT%{_mandir}/man1 \
2402 # install the Apache modules' files
2403 %{__make} install-headers install-build install-modules install-programs \
2404 INSTALL_ROOT=$RPM_BUILD_ROOT
2406 # install Apache1 DSO module
2408 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2411 # install Apache2 DSO module
2413 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2416 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2417 # fix install paths, avoid evil rpaths
2418 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2420 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
2423 libtool --silent --mode=install install sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.cgi
2427 libtool --silent --mode=install install sapi/fcgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.fcgi
2432 libtool --silent --mode=install install sapi/fpm/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.fpm
2433 %{__make} install-fpm -f Makefile.fpm \
2434 INSTALL_ROOT=$RPM_BUILD_ROOT
2435 install %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/php-fpm
2436 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2437 install %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/php-fpm
2441 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
2442 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
2443 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
2445 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
2447 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2449 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2451 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
2452 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2453 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini
2456 install %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2457 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2458 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2462 install %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2463 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2464 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2467 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2468 cp -a conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2470 # per SAPI ini directories
2471 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi,cli,cgi-fcgi,apache,apache2handler}.d
2474 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{ncurses,readline}.ini,cli.d}
2476 # use system automake and {lib,sh}tool
2477 %if "%{pld_release}" != "ac"
2478 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
2479 for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2480 ln -snf %{_aclocaldir}/${i} $RPM_BUILD_ROOT%{_libdir}/php/build
2482 ln -snf %{_datadir}/libtool/config/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2484 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
2485 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2487 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
2489 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
2490 # isn't installed by install-headers make target, we do it manually here.
2491 # this header file is required by e.g. filter PECL extension
2492 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
2493 # for php-pecl-mailparse
2494 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2495 cp -a ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2498 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2499 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2500 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2503 rm -rf $RPM_BUILD_ROOT
2505 %post -n apache1-mod_php
2506 if [ "$1" = "1" ]; then
2507 %service -q apache restart
2510 %postun -n apache1-mod_php
2511 if [ "$1" = "0" ]; then
2512 %service -q apache restart
2515 %post -n apache-mod_php
2516 if [ "$1" = "1" ]; then
2517 %service -q httpd restart
2520 %postun -n apache-mod_php
2521 if [ "$1" = "0" ]; then
2522 %service -q httpd restart
2526 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2529 /sbin/chkconfig --add php-fpm
2530 %service php-fpm restart
2533 if [ "$1" = 0 ]; then
2534 %service php-fpm stop
2535 /sbin/chkconfig --del php-fpm
2539 if [ "$1" = "0" ]; then
2543 %post common -p /sbin/ldconfig
2544 %postun common -p /sbin/ldconfig
2547 # minimizing apache restarts logics. we restart webserver:
2549 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2550 # 2. first install of extension (post: $1 = 1)
2551 # 2. uninstall of extension (postun: $1 == 0)
2553 # the strict internal deps between extensions (and apache modules) and
2554 # common package are very important for all this to work.
2556 # restart webserver at the end of transaction
2557 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2558 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2561 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
2563 /^AddType application\/x-httpd-php \.php/s,^,#,
2564 /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
2565 ' /etc/apache/apache.conf
2566 %service -q apache restart
2570 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
2571 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
2572 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
2573 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
2574 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2578 # common macros called at extension post/postun scriptlet
2579 %define extension_scripts() \
2581 if [ "$1" = "1" ]; then \
2582 %php_webserver_restart \
2586 if [ "$1" = "0" ]; then \
2587 %php_webserver_restart \
2591 # extension scripts defines
2592 %extension_scripts bcmath
2593 %extension_scripts bz2
2594 %extension_scripts calendar
2595 %extension_scripts ctype
2596 %extension_scripts curl
2597 %extension_scripts dba
2598 %extension_scripts dbase
2599 %extension_scripts dom
2600 %extension_scripts exif
2601 %extension_scripts fdf
2602 %extension_scripts filter
2603 %extension_scripts ftp
2604 %extension_scripts gd
2605 %extension_scripts gettext
2606 %extension_scripts gmp
2607 %extension_scripts hash
2608 %extension_scripts iconv
2609 %extension_scripts imap
2610 %extension_scripts interbase
2611 %extension_scripts json
2612 %extension_scripts ldap
2613 %extension_scripts mbstring
2614 %extension_scripts mcrypt
2615 %extension_scripts mhash
2616 %extension_scripts mime_magic
2617 %extension_scripts ming
2618 %extension_scripts mssql
2619 %extension_scripts mysql
2620 %extension_scripts mysqli
2621 %extension_scripts oci8
2622 %extension_scripts odbc
2623 %extension_scripts openssl
2624 %extension_scripts pcre
2625 %extension_scripts pdo-dblib
2626 %extension_scripts pdo-firebird
2627 %extension_scripts pdo-mysql
2628 %extension_scripts pdo-odbc
2629 %extension_scripts pdo-pgsql
2630 %extension_scripts pdo-sqlite
2631 %extension_scripts pgsql
2632 %extension_scripts posix
2633 %extension_scripts pspell
2634 %extension_scripts recode
2635 %extension_scripts session
2636 %extension_scripts shmop
2637 %extension_scripts snmp
2638 %extension_scripts soap
2639 %extension_scripts sockets
2640 %extension_scripts spl
2641 %extension_scripts sqlite
2642 %extension_scripts sybase
2643 %extension_scripts sybase-ct
2644 %extension_scripts sysvmsg
2645 %extension_scripts sysvsem
2646 %extension_scripts sysvshm
2647 %extension_scripts tidy
2648 %extension_scripts tokenizer
2649 %extension_scripts wddx
2650 %extension_scripts xml
2651 %extension_scripts xmlreader
2652 %extension_scripts xmlrpc
2653 %extension_scripts xmlwriter
2654 %extension_scripts xsl
2655 %extension_scripts zip
2656 %extension_scripts zlib
2658 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2659 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2661 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2662 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2664 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2665 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2667 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2668 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2670 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2671 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2673 %triggerun dbase -- %{name}-dbase < 4:5.0.4-9.1
2674 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbase\.so/d' %{_sysconfdir}/php.ini
2676 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2677 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini
2679 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2680 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2682 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2683 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2685 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2686 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2688 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2689 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2691 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2692 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2694 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2695 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2697 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2698 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2700 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2701 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2703 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2704 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2706 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2707 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2709 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2710 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2712 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2713 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2715 %triggerun mhash -- %{name}-mhash < 4:5.0.4-9.1
2716 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mhash\.so/d' %{_sysconfdir}/php.ini
2718 %triggerun mime_magic -- %{name}-mime_magic < 4:5.0.4-9.1
2719 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mime_magic\.so/d' %{_sysconfdir}/php.ini
2721 %triggerun ming -- %{name}-ming < 4:5.0.4-9.1
2722 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ming\.so/d' %{_sysconfdir}/php.ini
2724 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2725 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2727 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2728 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2730 %triggerun ncurses -- %{name}-ncurses < 4:5.1.2-9.5
2731 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2732 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cgi.ini
2734 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2735 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cli.ini
2738 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2739 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini
2741 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2742 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2744 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2745 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2747 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2748 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2750 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2751 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2752 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2754 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2755 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2758 %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1
2759 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcre\.so/d' %{_sysconfdir}/php.ini
2761 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2762 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2764 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2765 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2767 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2768 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2770 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2771 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2772 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2774 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2775 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2778 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2779 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2781 %triggerun session -- %{name}-session < 4:5.0.4-9.1
2782 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*session\.so/d' %{_sysconfdir}/php.ini
2784 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2785 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2787 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2788 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2790 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2791 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini
2793 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2794 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2796 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2797 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini
2799 %triggerun sybase -- %{name}-sybase < 4:5.0.4-9.1
2800 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase\.so/d' %{_sysconfdir}/php.ini
2802 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2803 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini
2805 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2806 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2808 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2809 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2811 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2812 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2814 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2815 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini
2817 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2818 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2820 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2821 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2823 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2824 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2826 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2827 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini
2829 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2830 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2833 %files -n apache1-mod_php
2834 %defattr(644,root,root,755)
2835 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2836 %dir %{_sysconfdir}/apache.d
2837 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2838 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2842 %files -n apache-mod_php
2843 %defattr(644,root,root,755)
2844 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2845 %dir %{_sysconfdir}/apache2handler.d
2846 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2847 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2852 %defattr(644,root,root,755)
2853 %doc sapi/cgi/README.FastCGI
2854 %dir %{_sysconfdir}/cgi-fcgi.d
2855 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2856 %attr(755,root,root) %{_bindir}/php.fcgi
2860 %defattr(644,root,root,755)
2861 %dir %{_sysconfdir}/cgi.d
2862 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2863 %attr(755,root,root) %{_bindir}/php.cgi
2866 %defattr(644,root,root,755)
2867 %dir %{_sysconfdir}/cli.d
2868 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2869 %attr(755,root,root) %{_bindir}/php.cli
2870 %{_mandir}/man1/php.1*
2871 %{_mandir}/man1/php.cli.1*
2874 %defattr(644,root,root,755)
2875 %attr(755,root,root) %{_bindir}/php
2879 %defattr(644,root,root,755)
2880 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.conf
2881 %attr(755,root,root) %{_bindir}/php.fpm
2882 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/php-fpm
2883 %attr(754,root,root) /etc/rc.d/init.d/php-fpm
2887 %defattr(644,root,root,755)
2889 %doc CREDITS Zend/ZEND_CHANGES
2890 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2891 %doc README.PHP4-TO-PHP5-THIN-CHANGES README.UPDATE_5_2
2894 %dir %{_sysconfdir}/conf.d
2895 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2896 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2897 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2898 %dir %{php_extensiondir}
2901 %defattr(644,root,root,755)
2902 %doc README.UNIX-BUILD-SYSTEM
2903 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2904 %doc CODING_STANDARDS README.EXTENSIONS README.PARAMETER_PARSING_API README.STREAMS
2905 %doc README.SUBMITTING_PATCH README.TESTING README.TESTING2
2906 %attr(755,root,root) %{_bindir}/phpize
2907 %attr(755,root,root) %{_bindir}/php-config
2908 %attr(755,root,root) %{_libdir}/libphp_common.so
2909 %{_libdir}/libphp_common.la
2911 %{_libdir}/php/build
2912 %{_mandir}/man1/php-config.1*
2913 %{_mandir}/man1/phpize.1*
2916 %defattr(644,root,root,755)
2917 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2918 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2921 %defattr(644,root,root,755)
2922 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2923 %attr(755,root,root) %{php_extensiondir}/bz2.so
2926 %defattr(644,root,root,755)
2927 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2928 %attr(755,root,root) %{php_extensiondir}/calendar.so
2931 %defattr(644,root,root,755)
2932 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2933 %attr(755,root,root) %{php_extensiondir}/ctype.so
2937 %defattr(644,root,root,755)
2938 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2939 %attr(755,root,root) %{php_extensiondir}/curl.so
2943 %defattr(644,root,root,755)
2944 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2945 %attr(755,root,root) %{php_extensiondir}/dba.so
2948 %defattr(644,root,root,755)
2949 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2950 %attr(755,root,root) %{php_extensiondir}/dbase.so
2953 %defattr(644,root,root,755)
2954 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2955 %attr(755,root,root) %{php_extensiondir}/dom.so
2959 %defattr(644,root,root,755)
2960 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2961 %attr(755,root,root) %{php_extensiondir}/fdf.so
2966 %defattr(644,root,root,755)
2967 %doc README.input_filter
2968 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2969 %attr(755,root,root) %{php_extensiondir}/filter.so
2973 %defattr(644,root,root,755)
2974 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2975 %attr(755,root,root) %{php_extensiondir}/exif.so
2978 %defattr(644,root,root,755)
2979 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2980 %attr(755,root,root) %{php_extensiondir}/ftp.so
2983 %defattr(644,root,root,755)
2984 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2985 %attr(755,root,root) %{php_extensiondir}/gd.so
2988 %defattr(644,root,root,755)
2989 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2990 %attr(755,root,root) %{php_extensiondir}/gettext.so
2993 %defattr(644,root,root,755)
2994 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2995 %attr(755,root,root) %{php_extensiondir}/gmp.so
2998 %defattr(644,root,root,755)
2999 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
3000 %attr(755,root,root) %{php_extensiondir}/hash.so
3003 %defattr(644,root,root,755)
3004 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
3005 %attr(755,root,root) %{php_extensiondir}/iconv.so
3009 %defattr(644,root,root,755)
3010 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
3011 %attr(755,root,root) %{php_extensiondir}/imap.so
3014 %if %{with interbase}
3016 %defattr(644,root,root,755)
3017 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
3018 %attr(755,root,root) %{php_extensiondir}/interbase.so
3022 %defattr(644,root,root,755)
3023 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
3024 %attr(755,root,root) %{php_extensiondir}/json.so
3028 %defattr(644,root,root,755)
3029 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
3030 %attr(755,root,root) %{php_extensiondir}/ldap.so
3033 %if %{without zend_multibyte}
3035 %defattr(644,root,root,755)
3036 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
3037 %attr(755,root,root) %{php_extensiondir}/mbstring.so
3041 %defattr(644,root,root,755)
3042 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
3043 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
3047 %defattr(644,root,root,755)
3048 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
3049 %attr(755,root,root) %{php_extensiondir}/mhash.so
3052 %if %{with mime_magic}
3054 %defattr(644,root,root,755)
3055 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
3056 %attr(755,root,root) %{php_extensiondir}/mime_magic.so
3061 %defattr(644,root,root,755)
3062 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
3063 %attr(755,root,root) %{php_extensiondir}/ming.so
3068 %defattr(644,root,root,755)
3069 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
3070 %attr(755,root,root) %{php_extensiondir}/mssql.so
3074 %defattr(644,root,root,755)
3075 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
3076 %attr(755,root,root) %{php_extensiondir}/mysql.so
3080 %defattr(644,root,root,755)
3081 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
3082 %attr(755,root,root) %{php_extensiondir}/mysqli.so
3086 %defattr(644,root,root,755)
3087 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/ncurses.ini
3088 %attr(755,root,root) %{php_extensiondir}/ncurses.so
3092 %defattr(644,root,root,755)
3093 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
3094 %attr(755,root,root) %{php_extensiondir}/oci8.so
3099 %defattr(644,root,root,755)
3100 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
3101 %attr(755,root,root) %{php_extensiondir}/odbc.so
3106 %defattr(644,root,root,755)
3107 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
3108 %attr(755,root,root) %{php_extensiondir}/openssl.so
3112 %defattr(644,root,root,755)
3113 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
3114 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3118 %defattr(644,root,root,755)
3119 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
3120 %attr(755,root,root) %{php_extensiondir}/pcre.so
3124 %defattr(644,root,root,755)
3125 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
3126 %attr(755,root,root) %{php_extensiondir}/pdo.so
3128 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
3130 %defattr(644,root,root,755)
3131 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
3132 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3135 %if %{with interbase} && !%{with interbase_inst}
3137 %defattr(644,root,root,755)
3138 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
3139 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3143 %defattr(644,root,root,755)
3144 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
3145 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3149 %defattr(644,root,root,755)
3150 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
3151 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3156 %defattr(644,root,root,755)
3157 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3158 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3163 %defattr(644,root,root,755)
3164 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3165 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3170 %defattr(644,root,root,755)
3171 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3172 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3177 %defattr(644,root,root,755)
3178 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3179 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3183 %defattr(644,root,root,755)
3184 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3185 %attr(755,root,root) %{php_extensiondir}/posix.so
3189 %defattr(644,root,root,755)
3190 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3191 %attr(755,root,root) %{php_extensiondir}/pspell.so
3195 %defattr(644,root,root,755)
3196 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3197 %attr(755,root,root) %{php_extensiondir}/readline.so
3201 %defattr(644,root,root,755)
3202 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3203 %attr(755,root,root) %{php_extensiondir}/recode.so
3207 %defattr(644,root,root,755)
3208 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3209 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3212 %defattr(644,root,root,755)
3213 %doc ext/session/mod_files.sh
3214 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3215 %attr(755,root,root) %{php_extensiondir}/session.so
3218 %defattr(644,root,root,755)
3219 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3220 %attr(755,root,root) %{php_extensiondir}/shmop.so
3224 %defattr(644,root,root,755)
3225 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3226 %attr(755,root,root) %{php_extensiondir}/snmp.so
3230 %defattr(644,root,root,755)
3231 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3232 %attr(755,root,root) %{php_extensiondir}/soap.so
3235 %defattr(644,root,root,755)
3236 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3237 %attr(755,root,root) %{php_extensiondir}/sockets.so
3240 %defattr(644,root,root,755)
3241 %doc ext/spl/{CREDITS,README,TODO}
3242 %doc ext/spl/examples
3243 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3244 %attr(755,root,root) %{php_extensiondir}/spl.so
3248 %defattr(644,root,root,755)
3249 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
3250 %attr(755,root,root) %{php_extensiondir}/sqlite.so
3255 %defattr(644,root,root,755)
3256 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
3257 %attr(755,root,root) %{php_extensiondir}/sybase.so
3260 %if %{with sybase_ct}
3262 %defattr(644,root,root,755)
3263 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3264 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
3268 %defattr(644,root,root,755)
3269 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3270 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3273 %defattr(644,root,root,755)
3274 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3275 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3278 %defattr(644,root,root,755)
3279 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3280 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3283 %defattr(644,root,root,755)
3284 %dir %{php_data_dir}/tests
3285 %dir %{php_data_dir}/tests/php
3286 %{php_data_dir}/tests/php/basic
3287 %{php_data_dir}/tests/php/classes
3288 %{php_data_dir}/tests/php/func
3289 %{php_data_dir}/tests/php/lang
3290 %{php_data_dir}/tests/php/output
3291 %{php_data_dir}/tests/php/run-test
3292 %{php_data_dir}/tests/php/security
3293 %{php_data_dir}/tests/php/strings
3294 %{php_data_dir}/tests/php/quicktester.inc
3295 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3297 # random junk, didn't check, maybe can be just removed
3298 %{php_data_dir}/tests/php/bin-info.inc
3299 %{php_data_dir}/tests/php/foo*
3300 %{php_data_dir}/tests/php/odbc*.php
3301 %{php_data_dir}/tests/php/recurse
3302 %{php_data_dir}/tests/php/run.*
3303 %{php_data_dir}/tests/php/scan_cases
3304 %{php_data_dir}/tests/php/test*
3308 %defattr(644,root,root,755)
3309 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3310 %attr(755,root,root) %{php_extensiondir}/tidy.so
3314 %defattr(644,root,root,755)
3315 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3316 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3320 %defattr(644,root,root,755)
3321 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3322 %attr(755,root,root) %{php_extensiondir}/wddx.so
3326 %defattr(644,root,root,755)
3327 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3328 %attr(755,root,root) %{php_extensiondir}/xml.so
3331 %defattr(644,root,root,755)
3332 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3333 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3337 %defattr(644,root,root,755)
3338 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3339 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3343 %defattr(644,root,root,755)
3344 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3345 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3348 %defattr(644,root,root,755)
3349 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3350 %attr(755,root,root) %{php_extensiondir}/xsl.so
3353 %defattr(644,root,root,755)
3354 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3355 %attr(755,root,root) %{php_extensiondir}/zip.so
3358 %defattr(644,root,root,755)
3359 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3360 %attr(755,root,root) %{php_extensiondir}/zlib.so