2 # - enable --with-fpm-systemd, but ensure it checks for sd_booted()
3 # - build with system libgd 2.1, see 73c5128
5 # - update imap annotations patch (needs api porting)
6 # - update imap myrights patch (needs api porting)
7 # --with-libmbfl=DIR MBSTRING: Use external libmbfl. DIR is the libmbfl base install directory BUNDLED
8 # --with-onig=DIR MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
10 # - fileinfo extension bundles magic db in library: data_file.c (dump of magic.mgc) is 14M
11 # - 2.3M fileinfo.so php54-fileinfo-5.4.6-0.15.x86_64
12 # - 2.3M fileinfo.so php-fileinfo-5.3.16-1.x86_64
13 # - 13K fileinfo.so php-pecl-fileinfo-1.0.4-8.amd64
14 # - ttyname_r() misdetected http://bugs.php.net/bug.php?id=48820
15 # - wddx: restore session support (not compiled in due DL extension check)
16 # - make additional headers and checking added by mail patch configurable
17 # - modularize standard (output from pure php -m)?
18 # - some mods should be shared:
30 %bcond_without alternatives # use alternatives system to select default phar and php-fpm
31 %bcond_with default_php # build this PHP as default PHP in system (disables alternatives)
33 %bcond_without embed # disable building Embedded API
34 %bcond_with gcov # Enable Code coverage reporting
35 %bcond_without kerberos5 # without Kerberos5 support
36 %bcond_with suhosin # with suhosin patch, has little point in PHP>=5.3, see https://github.com/stefanesser/suhosin/issues/42#issuecomment-41728178
37 %bcond_with systemtap # systemtap/DTrace support
38 %bcond_with tests # default off; test process very often hangs on builders, approx run time 45m; perform "make test"
39 %bcond_with zts # Zend Thread Safety
40 %bcond_with debug # Zend Debug Build
42 %bcond_without apache1 # disable building Apache 1.3.x SAPI
43 %bcond_without apache2 # disable building Apache 2.x SAPI
44 %bcond_without cgi # disable CGI/FCGI SAPI
45 %bcond_without fpm # disable FPM SAPI
46 %bcond_without litespeed # build litespeed SAPI
47 %bcond_with milter # disable Milter SAPI
48 %bcond_without phpdbg # disable phpdbg SAPI
50 %bcond_without bcmath # without bcmath extension module
51 %bcond_without bz2 # without bz2 extension module
52 %bcond_without calendar # without calendar extension module
53 %bcond_without ctype # without ctype extension module
54 %bcond_without curl # without CURL extension module
55 %bcond_without dba # without DBA extension module
56 %bcond_without dom # without DOM extension module
57 %bcond_without enchant # without Enchant extension module
58 %bcond_without ereg # without ext/ereg support
59 %bcond_without exif # without EXIF extension module
60 %bcond_without fileinfo # without fileinfo extension module
61 %bcond_without filter # without filter extension module
62 %bcond_without ftp # without FTP extension module
63 %bcond_without gd # without GD extension module
64 %bcond_without gettext # without gettext extension module
65 %bcond_without gmp # without gmp extension module
66 %bcond_without hash # without hash extension module
67 %bcond_without iconv # without iconv extension module
68 %bcond_without imap # without IMAP extension module
69 %bcond_without interbase # without InterBase extension module
70 %bcond_without intl # without Intl extension module
71 %bcond_without json # without json extension module
72 %bcond_without ldap # without LDAP extension module
73 %bcond_without mbstring # without mbstring extension module
74 %bcond_without mcrypt # without mbcrypt extension module
75 %bcond_without mhash # without mhash extension (supported by hash extension)
76 %bcond_without mssql # without MS SQL extension module
77 %bcond_without mysql # without ext/mysql support
78 %bcond_without mysqli # without mysqli support (Requires mysql >= 4.1)
79 %bcond_without mysqlnd # without mysqlnd support in mysql related extensions
80 %bcond_with oci # with Oracle oci8 extension module (BR: proprietary libs)
81 %bcond_without odbc # without ODBC extension module
82 %bcond_without opcache # without Enable Zend OPcache extension support
83 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
84 %bcond_without pcntl # without pcntl extension module
85 %bcond_without pcre # without PCRE extension module
86 %bcond_without pdo # without PDO extension module
87 %bcond_without pdo_dblib # without PDO dblib extension module
88 %bcond_without pdo_mysql # without PDO MySQL extension module
89 %bcond_without pdo_sqlite # without PDO SQLite extension module
90 %bcond_without pgsql # without PostgreSQL extension module
91 %bcond_without phar # without Phar extension module
92 %bcond_without posix # without POSIX extension module
93 %bcond_without pspell # without pspell extension module
94 %bcond_without readline # without readline extension module
95 %bcond_without recode # without recode extension module
96 %bcond_without session # without session extension module
97 %bcond_without snmp # without SNMP extension module
98 %bcond_without sqlite2 # without SQLite extension module
99 %bcond_without sqlite3 # without SQLite3 extension module
100 %bcond_without sybase_ct # without Sybase-CT extension module
101 %bcond_without tidy # without Tidy extension module
102 %bcond_without wddx # without WDDX extension module
103 %bcond_without xmlrpc # without XML-RPC extension module
105 %bcond_without instantclient # build Oracle oci8 extension module against oracle-instantclient package
106 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
107 %bcond_with mm # without mm support for session storage
108 %bcond_with system_gd # with system gd (imageantialias function is missing then)
109 %bcond_with system_libzip # with system libzip (reported broken currently)
110 %bcond_without webp # Without WebP support in GD extension (imagecreatefromwebp)
112 %define apxs1 /usr/sbin/apxs1
113 %define apxs2 /usr/sbin/apxs
117 %undefine with_apache1
118 %undefine with_apache2
120 %undefine with_litespeed
123 %if %{with default_php}
124 %undefine with_alternatives
127 # mm is not thread safe
132 # milter requires ZTS
133 %if %{with milter} && %{without zts}
134 %undefine with_milter
137 %ifnarch %{ix86} %{x8664} x32 sparc sparcv9 alpha
138 # ppc disabled (broken on th-ppc)
139 %undefine with_interbase
142 %ifnarch %{ix86} %{x8664} x32
143 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
148 %if %{without apache1} && %{without apache2}
149 ERROR: You need to select at least one Apache SAPI to build shared modules.
153 # filter depends on pcre
155 %undefine with_filter
160 %define ver_suffix 56
161 %define php_suffix %{!?with_default_php:%{ver_suffix}}
162 Summary: PHP: Hypertext Preprocessor
163 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
164 Summary(pl.UTF-8): Język skryptowy PHP
165 Summary(pt_BR.UTF-8): A linguagem de script PHP
166 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
167 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
168 Name: %{orgname}%{php_suffix}
172 # All files licensed under PHP version 3.01, except
173 # Zend is licensed under Zend
174 # TSRM is licensed under BSD
175 License: PHP 3.01 and Zend and BSD
177 Source0: http://www.php.net/distributions/%{orgname}-%{version}.tar.xz
178 # Source0-md5: c7dde3afb16ce7b761abf2805125d372
179 Source2: %{orgname}-mod_%{orgname}.conf
180 Source3: %{orgname}-cgi-fcgi.ini
181 Source4: %{orgname}-apache.ini
182 Source5: %{orgname}-cli.ini
183 Source10: %{orgname}-fpm.init
184 Source11: %{orgname}-fpm.logrotate
185 Source12: %{orgname}-branch.sh
186 Source13: dep-tests.sh
187 Source14: skip-tests.sh
188 Patch0: %{orgname}-shared.patch
189 Patch1: %{orgname}-pldlogo.patch
190 Patch2: %{orgname}-mail.patch
191 Patch3: %{orgname}-link-libs.patch
192 Patch4: php-bug-71475.patch
193 Patch5: %{orgname}-filter-shared.patch
194 Patch6: %{orgname}-build_modules.patch
195 Patch7: %{orgname}-sapi-ini-file.patch
197 Patch9: libtool-tag.patch
198 Patch10: %{orgname}-ini.patch
200 Patch12: openssl.patch
201 Patch14: %{orgname}-no_pear_install.patch
202 Patch17: %{orgname}-readline.patch
203 Patch18: %{orgname}-nohttpd.patch
204 Patch21: %{orgname}-dba-link.patch
205 Patch22: %{orgname}-both-apxs.patch
206 Patch23: %{orgname}-builddir.patch
207 Patch24: %{orgname}-zlib-for-getimagesize.patch
208 Patch25: %{orgname}-stupidapache_version.patch
209 Patch26: %{orgname}-pear.patch
210 Patch27: %{orgname}-config-dir.patch
211 Patch29: %{orgname}-fcgi-graceful.patch
212 Patch31: %{orgname}-fcgi-error_log-no-newlines.patch
213 Patch34: %{orgname}-libtool.patch
214 Patch35: %{orgname}-tds.patch
215 Patch36: %{orgname}-mysql-charsetphpini.patch
216 Patch37: %{orgname}-mysqli-charsetphpini.patch
217 Patch38: %{orgname}-pdo_mysql-charsetphpini.patch
218 Patch39: %{orgname}-use-prog_sendmail.patch
219 Patch41: %{orgname}-fpm-config.patch
220 Patch42: %{orgname}-fpm-shared.patch
221 Patch43: %{orgname}-silent-session-cleanup.patch
222 Patch44: %{orgname}-include_path.patch
223 Patch45: %{orgname}-imap-annotations.patch
224 Patch46: %{orgname}-imap-myrights.patch
225 Patch47: suhosin.patch
226 Patch50: extension-shared-optional-dep.patch
227 Patch51: spl-shared.patch
228 Patch52: pcre-shared.patch
229 Patch53: fix-test-run.patch
230 Patch55: bug-52078-fileinode.patch
231 Patch59: %{orgname}-systzdata.patch
232 Patch60: %{orgname}-oracle-instantclient.patch
233 Patch62: mcrypt-libs.patch
234 Patch65: system-libzip.patch
235 Patch66: php-db.patch
236 Patch67: mysql-lib-ver-mismatch.patch
237 Patch68: CVE-2019-11043.patch
238 Patch69: fpm-conf-split.patch
239 Patch70: mysqlnd-ssl.patch
240 Patch72: phar-hash-shared.patch
241 Patch73: php-pdo-ssl.patch
242 Patch74: php-icu64.patch
245 URL: https://www.php.net/
246 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
247 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
248 BuildRequires: autoconf >= 2.59
249 BuildRequires: automake >= 1.4d
251 BuildRequires: bzip2-devel >= 1.0.0
252 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
253 BuildRequires: cyrus-sasl-devel >= 2
254 BuildRequires: db-devel >= 4.0
255 BuildRequires: elfutils-devel
256 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
257 %{?with_kerberos5:BuildRequires: heimdal-devel}
258 %{?with_system_libzip:BuildRequires: libzip-devel >= 0.10.1-2}
259 %{!?with_mysqlnd:BuildRequires: mysql-devel}
260 BuildRequires: pkgconfig
261 BuildRequires: sed >= 4.0
262 %if %{with mssql} || %{with sybase_ct} || %{with pdo_dblib}
263 BuildRequires: freetds-devel >= 0.82
265 BuildRequires: freetype-devel >= 1:2.5.1
266 %if %{with system_gd}
267 BuildRequires: gd-devel >= 2.1
269 BuildRequires: gdbm-devel
270 BuildRequires: gmp-devel >= 4.1.2
271 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
272 %{?with_intl:BuildRequires: libicu-devel >= 4.4}
273 BuildRequires: libjpeg-devel
274 BuildRequires: libltdl-devel >= 1.4
275 BuildRequires: libmcrypt-devel >= 2.5.6
276 BuildRequires: libpng-devel >= 1.0.8
277 %{?with_intl:BuildRequires: libstdc++-devel}
278 %{?with_webp:BuildRequires: libvpx-devel}
279 BuildRequires: tokyocabinet-devel
280 %if "%{pld_release}" != "ac"
281 BuildRequires: libtool >= 2:2.4.6
283 BuildRequires: libtool >= 1.4.3
285 BuildRequires: libxml2-devel >= 1:2.7.6-4
286 BuildRequires: libxslt-devel >= 1.1.0
287 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
288 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
289 %if %{with openssl} || %{with ldap}
290 BuildRequires: openssl-devel >= 0.9.7d
292 %{?with_gcov:BuildRequires: lcov}
293 %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
294 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
295 %{?with_oci:%{?with_instantclient:BuildRequires: oracle-instantclient-devel}}
296 BuildRequires: pam-devel
297 %{?with_pcre:BuildRequires: pcre-devel >= 8.10}
298 BuildRequires: pkgconfig
299 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
300 %{?with_pgsql:BuildRequires: postgresql-devel}
301 BuildRequires: readline-devel
302 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
303 BuildRequires: rpm >= 4.4.9-56
304 BuildRequires: rpm-build >= 4.4.0
305 BuildRequires: rpmbuild(macros) >= 1.566
306 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
307 BuildRequires: tar >= 1:1.22
309 %if %{with sqlite3} || %{with pdo_sqlite}
310 BuildRequires: sqlite3-devel >= 3.3.9
312 BuildRequires: t1lib-devel
313 %{?with_tidy:BuildRequires: tidy-devel}
314 %{?with_odbc:BuildRequires: unixODBC-devel}
315 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
316 BuildRequires: zlib-devel >= 1.0.9
318 BuildRequires: apache1-devel
321 BuildRequires: apache-devel >= 2.0.52-2
322 BuildRequires: apr-devel >= 1:1.0.0
323 BuildRequires: apr-util-devel >= 1:1.0.0
325 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
327 %define php_sysconfdir /etc/%{name}
328 %define php_extensiondir %{_libdir}/%{name}
329 %define _sysconfdir %{php_sysconfdir}
331 # must be in sync with source. extra check ensuring that it is so is done in %%build
332 %define php_api_version 20131106
333 %define zend_module_api 20131226
334 %define zend_extension_api 220131226
335 %define php_pdo_api_version 20080721
339 %define enchantver 1.1.0
340 %define fileinfover 1.0.5
342 %define intlver 1.1.0
343 %define jsonver 1.2.1
344 %define opcachever 7.0.6-dev
345 %define pharver 2.0.2
346 %define sqlite3ver 0.7-dev
347 %define zipver 1.12.5
348 %define phpdbgver 0.4.0
350 %define _zend_zts %{!?with_zts:0}%{?with_zts:1}
351 %define php_debug %{!?with_debug:0}%{?with_debug:1}
354 %undefine with_ccache
358 # ORACLE_HOME is required for oci8 ext to build
359 %define _preserve_env %_preserve_env_base ORACLE_HOME
363 PHP is an HTML-embedded scripting language. PHP attempts to make it
364 easy for developers to write dynamically generated web pages. PHP also
365 offers built-in database integration for several commercial and
366 non-commercial database management systems, so writing a
367 database-enabled web page with PHP is fairly simple. The most common
368 use of PHP coding is probably as a replacement for CGI scripts. The
369 mod_php module enables the Apache web server to understand and process
370 the embedded PHP language in web pages. This package contains PHP
373 %description -l fr.UTF-8
374 PHP est un langage de script embarque dans le HTM. PHP essaye de
375 rendre simple aux developpeurs d'ecrire des pages web generees
376 dynamiquement. PHP incorpore egalement une integration avec plusieurs
377 systemes de gestion de bases de donnees commerciaux et
378 non-connerciaux, qui rent facile la creation de pages web liees avec
379 des bases de donnees. L'utilisation la plus commune de PHP est
380 probablement en remplacement de scripts CGI. Le module mod_php permet
381 au serveur web Apache de comprendre et de traiter le langage PHP
382 integre dans des pages web. Ce package contient PHP version
385 %description -l pl.UTF-8
386 PHP jest językiem skryptowym, którego polecenia umieszcza się w
387 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
388 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
389 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
390 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
391 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
392 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
393 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
396 %description -l pt_BR.UTF-8
397 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
398 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
399 com algumas características únicas, específicas ao PHP. O objetivo da
400 linguagem é permitir que desenvolvedores web escrevam páginas
401 dinamicamente geradas de forma rápida.
403 %description -l ru.UTF-8
404 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
405 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
406 для работы с базами данных относительно просто. Наиболее популярное
407 использование PHP - замена для CGI скриптов.
409 %description -l uk.UTF-8
410 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
411 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
412 роботи з базами даних є доволі простим. Найбільш популярне
413 використання PHP - заміна для CGI скриптів.
415 %package -n apache1-mod_%{name}
416 Summary: PHP DSO module for Apache 1.3.x
417 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x
418 Group: Development/Languages/PHP
419 Requires: %{name}-common = %{epoch}:%{version}-%{release}
420 Requires: apache1(EAPI) >= 1.3.33-2
421 Requires: apache1-mod_mime
422 Provides: webserver(php) = %{version}
423 Obsoletes: apache-mod_php < 1:4.1.1
424 Obsoletes: apache1-mod_php < 4:5.3.28-7
427 %description -n apache1-mod_%{name}
428 PHP as DSO module for Apache 1.3.x.
430 %description -n apache1-mod_%{name} -l pl.UTF-8
431 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x.
433 %package -n apache-mod_%{name}
434 Summary: PHP support for Apache 2.x
435 Summary(pl.UTF-8): Wsparcie PHP dla Apache 2.x
436 Group: Development/Languages/PHP
437 Requires: apache-mod_%{name}-core = %{epoch}:%{version}-%{release}
438 Requires: %{name}-common = %{epoch}:%{version}-%{release}
439 Provides: webserver(php) = %{version}
440 Obsoletes: apache-mod_php < 4:5.3.28-7
443 %description -n apache-mod_%{name}
444 PHP support for Apache 2.x.
446 %description -n apache-mod_%{name} -l pl.UTF-8
447 Wsparcie PHP dla Apache 2.x.
449 %package -n apache-mod_%{name}-core
450 Summary: PHP DSO module for Apache 2.x
451 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
452 Group: Development/Languages/PHP
453 Requires: %{name}-common = %{epoch}:%{version}-%{release}
454 Requires: apache(modules-api) = %{apache_modules_api}
455 Requires: apache-mod_mime
457 %description -n apache-mod_%{name}-core
458 PHP as DSO module for Apache 2.x.
460 %description -n apache-mod_%{name}-core -l pl.UTF-8
461 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
464 Summary: PHP for litespeed HTTP server
465 Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
466 Group: Development/Languages/PHP
467 Requires: %{name}-common = %{epoch}:%{version}-%{release}
468 Provides: php(litespeed)
469 Provides: webserver(php) = %{version}
470 Obsoletes: php-litespeed < 4:5.3.28-7
472 %description litespeed
473 PHP for litespeed HTTP server.
475 %description litespeed -l pl.UTF-8
476 PHP dla serwera HTTP litespeed.
479 Summary: PHP as CGI/FastCGI program
480 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
481 Group: Development/Languages/PHP
482 Requires: %{name}-common = %{epoch}:%{version}-%{release}
483 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
486 Provides: webserver(php) = %{version}
487 Obsoletes: php-cgi < 4:5.3.28-7
488 Obsoletes: php-fcgi < 4:5.3.0
491 PHP as CGI or FastCGI program.
493 %description cgi -l pl.UTF-8
494 PHP jako program CGI lub FastCGI.
497 Summary: PHP as CLI interpreter
498 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
499 Group: Development/Languages/PHP
500 Requires: %{name}-common = %{epoch}:%{version}-%{release}
501 Obsoletes: php-cli < 4:5.3.28-7
504 PHP as CLI interpreter.
506 %description cli -l pl.UTF-8
507 PHP jako interpreter działający z linii poleceń.
510 Summary: PHP library for embedding in applications
511 Summary(pl.UTF-8): Biblioteka PHP do osadzania w aplikacjach
513 Requires: %{name}-common = %{epoch}:%{version}-%{release}
514 Obsoletes: php-embedded < 4:5.3.28-7
516 %description embedded
517 The php-embedded package contains a library which can be embedded into
518 applications to provide PHP scripting language support.
520 %description embedded -l pl.UTF-8
521 Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
522 celu obsługi PHP jako języka skryptowego.
525 Summary: /usr/bin/php symlink
526 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
527 Group: Development/Languages/PHP
528 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
529 Obsoletes: php-program < 4:5.3.28-7
530 Obsoletes: php4-program < 3:5
531 Obsoletes: php52-program < 4:5.3
532 Obsoletes: php53-program < 4:5.4
533 Obsoletes: php54-program < 4:5.5
534 Obsoletes: php55-program < 4:5.6
535 Obsoletes: php70-program < 4:7.1
536 Obsoletes: php71-program < 4:7.2
537 Obsoletes: php72-program < 4:7.3
538 Obsoletes: php73-program < 4:7.4
539 Obsoletes: php74-program < 4:8
540 Obsoletes: php80-program < 4:8.1
541 Obsoletes: php81-program < 4:8.2
542 Obsoletes: php82-program < 4:8.3
545 Package providing /usr/bin/php symlink to PHP CLI.
547 %description program -l pl.UTF-8
548 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
551 Summary: PHP FastCGI Process Manager
552 Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
553 Group: Development/Languages/PHP
554 URL: http://php-fpm.org/
555 Requires(post,preun): /sbin/chkconfig
556 Requires(postun): /usr/sbin/userdel
557 Requires(pre): /bin/id
558 Requires(pre): /usr/sbin/useradd
559 Requires: %{name}-common = %{epoch}:%{version}-%{release}
560 %{?with_alternatives:Requires: alternatives}
561 Requires: php-dirs >= 1.4-2
566 Provides: webserver(php) = %{version}
567 Obsoletes: php-fpm < 4:5.3.28-7
568 %if "%{pld_release}" != "ac"
569 Conflicts: logrotate < 3.8.0
573 PHP FastCGI Process Manager.
575 %description fpm -l pl.UTF-8
576 PHP FastCGI Process Manager - zarządca procesów FastCGI.
579 Summary: The debugging platform for PHP 5.4+
580 Summary(pl.UTF-8): Platforma diagnostyczna dla PHP 5.4+
581 Group: Development/Languages/PHP
582 Requires: %{name}-common = %{epoch}:%{version}-%{release}
583 Provides: php(phpdbg) = %{phpdbgver}
586 phpdbg - The interactive PHP debugger.
588 Implemented as a SAPI module, phpdbg can excert complete control over
589 the environment without impacting the functionality or performance of
592 phpdbg aims to be a lightweight, powerful, easy to use debugging
593 platform for PHP 5.4+
595 %description phpdbg -l pl.UTF-8
596 phpdbg - interaktywny debugger dla PHP.
598 Jest zaimplementowany jako moduł SAPI, potrafi przejąć pełną kontrolę
599 nad środowiskiem bez wpływu na zachowanie lub wydajność kodu.
601 Narzędzie powstało jako lekka, mająca duże możliwości, łatwa w użyciu
602 platforma diagnostyczna dla PHP 5.4+.
605 Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
606 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
607 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
608 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
610 Requires(post): sed >= 4.0
611 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
612 Requires: glibc >= 6:2.3.5
613 Requires: php-dirs >= 1.4
614 Requires: rpm-whiteout >= 1.28
616 Provides: %{name}(debug) = %{php_debug}
617 Provides: %{name}(modules_api) = %{php_api_version}
618 Provides: %{name}(thread-safety) = %{_zend_zts}
619 Provides: %{name}(zend_extension_api) = %{zend_extension_api}
620 Provides: %{name}(zend_module_api) = %{zend_module_api}
621 Provides: %{name}-core
622 Provides: %{name}-date
623 %{?with_ereg:Provides: %{name}-ereg}
624 Provides: %{name}-reflection
625 Provides: %{name}-standard
626 Provides: php(core) = %{version}
628 %{?with_ereg:Provides: php(ereg)}
629 Provides: php(libxml)
630 Provides: php(reflection)
631 Provides: php(standard)
632 %{!?with_mysqlnd:Obsoletes: %{name}-mysqlnd}
633 %{?with_pcre:%requires_ge_to pcre pcre-devel}
635 Obsoletes: php-common < 4:5.3.28-7
637 Obsoletes: php-filepro < 4:5.2.0
638 Obsoletes: php-hwapi < 4:5.2.0
639 Obsoletes: php-hyperwave < 3:5.0.0
640 Obsoletes: php-java < 3:5.0.0
641 Obsoletes: php-mcal < 3:5.0.0
642 Obsoletes: php-pecl-domxml
643 Obsoletes: php-qtdom < 3:5.0.0
644 Conflicts: php4-common < 3:4.4.4-8
645 Conflicts: php55-common < 4:5.5.10-4
646 Conflicts: rpm < 4.4.2-0.2
649 Common files needed by both Apache modules and CGI/CLI SAPIs.
651 %description common -l pl.UTF-8
652 Wspólne pliki dla modułu Apache'a i programu CGI.
654 %description common -l ru.UTF-8
655 Этот пакет содержит общие файлы для разных вариантов реализации PHP
656 (самодостаточной и в качестве модуля Apache).
658 %description common -l uk.UTF-8
659 Цей пакет містить спільні файли для різних варіантів реалізації PHP
660 (самодостатньої та в якості модуля Apache).
663 Summary: Files for PHP modules development
664 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
665 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
666 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
667 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
668 Group: Development/Languages/PHP
669 Requires: %{name}-common = %{epoch}:%{version}-%{release}
670 Requires: autoconf >= 2.13
672 %if "%{pld_release}" != "ac"
673 Requires: libtool >= 2:2.4.6
677 %{?with_pcre:Requires: pcre-devel >= 8.10}
679 Provides: php-devel = %{epoch}:%{version}-%{release}
681 Obsoletes: php-pear-devel < 3:4.3.0-1
682 Obsoletes: php4-devel < 3:5
683 Obsoletes: php52-devel < 4:5.3
684 Obsoletes: php53-devel < 4:5.4
685 Obsoletes: php54-devel < 4:5.5
686 Obsoletes: php55-devel < 4:5.6
687 Obsoletes: php70-devel < 4:7.1
688 Obsoletes: php71-devel < 4:7.2
689 Obsoletes: php72-devel < 4:7.3
690 Obsoletes: php73-devel < 4:7.4
691 Obsoletes: php74-devel < 4:8
692 Obsoletes: php80-devel < 4:8.1
693 Obsoletes: php81-devel < 4:8.2
694 Obsoletes: php82-devel < 4:8.3
697 The php-devel package lets you compile dynamic extensions to PHP.
698 Included here is the source for the PHP extensions. Instead of
699 recompiling the whole PHP binary to add support for, say, oracle,
700 install this package and use the new self-contained extensions
701 support. For more information, read the file
702 README.SELF-CONTAINED-EXTENSIONS.
704 %description devel -l pl.UTF-8
705 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
706 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
707 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
708 samodzielnych rozszerzeniach można znaleźć w pliku
709 README.SELF-CONTAINED-EXTENSIONS.
711 %description devel -l pt_BR.UTF-8
712 Este pacote contém arquivos usados no desenvolvimento de programas ou
715 %description devel -l ru.UTF-8
716 Пакет php-devel дает возможность компилировать динамические расширения
717 PHP. Пакет включает исходный код этих расширений. Вместо повторной
718 компиляции бинарного файла PHP для добавления, например, поддержки
719 oracle, установите этот пакет для компилирования отдельных расширений.
720 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
722 %description devel -l uk.UTF-8
723 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
724 До пакету включено вихідний код для розширень. Замість повторної
725 компіляції бінарного файлу PHP для додання, наприклад, підтримки
726 oracle, встановіть цей пакет для компіляції окремих розширень.
727 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
730 Summary: bcmath extension module for PHP
731 Summary(pl.UTF-8): Moduł bcmath dla PHP
733 URL: http://php.net/manual/en/book.bc.php
734 Requires: %{name}-common = %{epoch}:%{version}-%{release}
735 Provides: php(bcmath)
736 Obsoletes: php-bcmath < 4:5.3.28-7
739 This is a dynamic shared object (DSO) for PHP that will add bc style
740 precision math functions support.
742 %description bcmath -l pl.UTF-8
743 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
744 matematycznych takich jak w programie bc.
747 Summary: Bzip2 extension module for PHP
748 Summary(pl.UTF-8): Moduł bzip2 dla PHP
750 URL: http://php.net/manual/en/book.bzip2.php
751 Requires: %{name}-common = %{epoch}:%{version}-%{release}
752 Requires: bzip2-libs >= 1.0.0
753 Provides: php(bz2) = %{bz2ver}
755 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
756 Obsoletes: php-bz2 < 4:5.3.28-7
757 Obsoletes: php-bzip2 < 4:5.2.14-3
758 Obsoletes: php-pecl-bz2 < %{bz2ver}
761 This is a dynamic shared object (DSO) for PHP that will add bzip2
762 compression support to PHP.
764 %description bz2 -l pl.UTF-8
765 Moduł PHP umożliwiający używanie kompresji bzip2.
768 Summary: Calendar extension module for PHP
769 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
771 URL: http://php.net/manual/en/book.calendar.php
772 Requires: %{name}-common = %{epoch}:%{version}-%{release}
773 Provides: php(calendar)
774 Obsoletes: php-calendar < 4:5.3.28-7
776 %description calendar
777 This is a dynamic shared object (DSO) for PHP that will add calendar
780 %description calendar -l pl.UTF-8
781 Moduł PHP dodający wsparcie dla kalendarza.
784 Summary: ctype extension module for PHP
785 Summary(pl.UTF-8): Moduł ctype dla PHP
787 URL: http://php.net/manual/en/book.ctype.php
788 Requires: %{name}-common = %{epoch}:%{version}-%{release}
790 Obsoletes: php-ctype < 4:5.3.28-7
793 This is a dynamic shared object (DSO) for PHP that will add ctype
796 %description ctype -l pl.UTF-8
797 Moduł PHP umożliwiający korzystanie z funkcji ctype.
800 Summary: curl extension module for PHP
801 Summary(pl.UTF-8): Moduł curl dla PHP
803 URL: http://php.net/manual/en/book.curl.php
804 Requires: %{name}-common = %{epoch}:%{version}-%{release}
805 Requires: curl-libs >= 7.12.0
807 Obsoletes: php-curl < 4:5.3.28-7
810 This is a dynamic shared object (DSO) for PHP that will add curl
813 %description curl -l pl.UTF-8
814 Moduł PHP umożliwiający korzystanie z biblioteki curl.
817 Summary: DBA extension module for PHP
818 Summary(pl.UTF-8): Moduł DBA dla PHP
820 URL: http://php.net/manual/en/book.dba.php
821 Requires: %{name}-common = %{epoch}:%{version}-%{release}
823 Obsoletes: php-dba < 4:5.3.28-7
824 # withdrawn module of similar functionality but different API
825 Obsoletes: php-db < 3:5.0.0
828 This is a dynamic shared object (DSO) for PHP that will add flat-file
829 databases (DBA) support.
831 %description dba -l pl.UTF-8
832 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
836 Summary: DOM extension module for PHP
837 Summary(pl.UTF-8): Moduł DOM dla PHP
839 URL: http://php.net/manual/en/book.dom.php
840 Requires: %{name}-common = %{epoch}:%{version}-%{release}
842 # it has some compatibility functions
843 Provides: %{name}-domxml = %{epoch}:%{version}-%{release}
844 Provides: php(domxml)
845 Obsoletes: php-dom < 4:5.3.28-7
846 Obsoletes: php-domxml <= 3:4.3.8-1
849 This is a dynamic shared object (DSO) for PHP that will add new DOM
852 %description dom -l pl.UTF-8
853 Moduł PHP dodający nową obsługę DOM.
856 Summary: libenchant binder
857 Summary(pl.UTF-8): dowiązania biblioteki libenchant
859 URL: http://php.net/manual/en/book.enchant.php
860 Requires: %{name}-common = %{epoch}:%{version}-%{release}
861 Provides: php(enchant) = %{enchantver}
862 Obsoletes: php-enchant < 4:5.3.28-7
863 Obsoletes: php-pecl-enchant < %{enchantver}
866 Enchant is a binder for libenchant. Libenchant provides a common API
867 for many spell libraries:
868 - aspell/pspell (intended to replace ispell)
871 - myspell (OpenOffice.org project, mozilla)
872 - uspell (primarily Yiddish, Hebrew, and Eastern European languages) A
873 plugin system allows to add custom spell support.
875 %description enchant -l pl.UTF-8
876 Enchant jest dowiązaniem do biblioteki libenchant, która udostępnia
877 ujednolicone API dla wielu narzędzi sprawdzających pisownię:
878 - aspell/pspell (w zamierzeniu ma zastąpić ispell)
881 - myspell (projekt OpenOffice.org, mozilla)
882 - uspell (głównie Jidysz, Hebrajski oraz języki wschodnioeuropejskie)
883 System wtyczek pozwala na dodanie wsparcia dla kolejnych narzędzi.
886 Summary: exif extension module for PHP
887 Summary(pl.UTF-8): Moduł exif dla PHP
889 URL: http://php.net/manual/en/book.exif.php
890 Requires: %{name}-common = %{epoch}:%{version}-%{release}
892 Obsoletes: php-exif < 4:5.3.28-7
895 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
896 support in image files.
898 %description exif -l pl.UTF-8
899 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
902 Summary: libmagic bindings
903 Summary(pl.UTF-8): Wiązania do libmagic
905 URL: http://php.net/manual/en/book.fileinfo.php
906 Requires: %{name}-common = %{epoch}:%{version}-%{release}
907 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
908 Provides: php(fileinfo) = %{fileinfover}
909 Obsoletes: php-fileinfo < 4:5.3.28-7
910 Obsoletes: php-mime_magic
911 Obsoletes: php-pecl-fileinfo < %{fileinfover}
913 %description fileinfo
914 This extension allows retrieval of information regarding vast majority
915 of file. This information may include dimensions, quality, length
918 Additionally it can also be used to retrieve the MIME type for a
919 particular file and for text files proper language encoding.
921 %description fileinfo -l pl.UTF-8
922 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
923 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
925 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
926 pliku oraz kodowania plików tekstowych.
929 Summary: Extension for safely dealing with input parameters
930 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
932 URL: http://php.net/manual/en/book.filter.php
933 Requires: %{name}-common = %{epoch}:%{version}-%{release}
934 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
935 Provides: php(filter)
936 Obsoletes: php-filter < 4:5.3.28-7
937 Obsoletes: php-pecl-filter < 0.12
940 We all know that you should always check input variables, but PHP does
941 not offer really good functionality for doing this in a safe way. The
942 Input Filter extension is meant to address this issue by implementing
943 a set of filters and mechanisms that users can use to safely access
946 %description filter -l pl.UTF-8
947 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
948 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
949 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
950 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
951 mogą bezpiecznie używać do dostępu do danych.
954 Summary: FTP extension module for PHP
955 Summary(pl.UTF-8): Moduł FTP dla PHP
957 URL: http://php.net/manual/en/book.ftp.php
958 Requires: %{name}-common = %{epoch}:%{version}-%{release}
960 Obsoletes: php-ftp < 4:5.3.28-7
963 This is a dynamic shared object (DSO) for PHP that will add FTP
966 %description ftp -l pl.UTF-8
967 Moduł PHP dodający obsługę protokołu FTP.
970 Summary: GD extension module for PHP
971 Summary(pl.UTF-8): Moduł GD dla PHP
973 URL: http://php.net/manual/en/book.image.php
974 Requires: %{name}-common = %{epoch}:%{version}-%{release}
975 %if %{with system_gd}
980 Obsoletes: php-gd < 4:5.3.28-7
983 This is a dynamic shared object (DSO) for PHP that will add GD
984 support, allowing you to create and manipulate images with PHP.
986 %description gd -l pl.UTF-8
987 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
988 tworzenie i obróbkę obrazków.
991 Summary: gettext extension module for PHP
992 Summary(pl.UTF-8): Moduł gettext dla PHP
994 URL: http://php.net/manual/en/book.gettext.php
995 Requires: %{name}-common = %{epoch}:%{version}-%{release}
996 Provides: php(gettext)
997 Obsoletes: php-gettext < 4:5.3.28-7
1000 This is a dynamic shared object (DSO) for PHP that will add gettext
1003 %description gettext -l pl.UTF-8
1004 Moduł PHP dodający obsługę lokalizacji przez gettext.
1007 Summary: gmp extension module for PHP
1008 Summary(pl.UTF-8): Moduł gmp dla PHP
1010 URL: http://php.net/manual/en/book.gmp.php
1011 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1012 Requires: gmp >= 4.1.2
1014 Obsoletes: php-gmp < 4:5.3.28-7
1017 This is a dynamic shared object (DSO) for PHP that will add arbitrary
1018 length number support with GNU MP library.
1020 %description gmp -l pl.UTF-8
1021 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
1022 liczbach o dowolnej długości.
1025 Summary: HASH Message Digest Framework
1026 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
1028 URL: http://php.net/manual/en/book.gmp.php
1029 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1030 Provides: php(hash) = %{hashver}
1032 Provides: php(mhash)
1033 Provides: php-mhash = %{epoch}:%{version}-%{release}
1034 Obsoletes: php-mhash < 4:5.3.0
1036 Obsoletes: php-hash < 4:5.3.28-7
1037 Obsoletes: php-pecl-hash < %{hashver}
1040 Native implementations of common message digest algorithms using a
1041 generic factory method.
1043 %description hash -l pl.UTF-8
1044 Natywne implementacje popularnych algorytmów obliczania skrótów
1045 wiadomości przy użyciu wspólnego interfejsu.
1048 Summary: iconv extension module for PHP
1049 Summary(pl.UTF-8): Moduł iconv dla PHP
1051 URL: http://php.net/manual/en/book.iconv.php
1052 Requires: %{_libdir}/gconv
1053 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1055 Provides: php(iconv)
1056 Obsoletes: php-iconv < 4:5.3.28-7
1059 This is a dynamic shared object (DSO) for PHP that will add iconv
1062 %description iconv -l pl.UTF-8
1063 Moduł PHP dodający obsługę iconv.
1066 Summary: IMAP extension module for PHP
1067 Summary(pl.UTF-8): Moduł IMAP dla PHP
1068 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
1070 URL: http://php.net/manual/en/book.imap.php
1071 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1072 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1073 Requires: imap-lib >= 1:2007e-2
1075 Obsoletes: php-imap < 4:5.3.28-7
1078 This is a dynamic shared object (DSO) for PHP that will add IMAP
1081 %description imap -l pl.UTF-8
1082 Moduł PHP dodający obsługę skrzynek IMAP.
1084 %description imap -l pt_BR.UTF-8
1085 Um módulo para aplicações PHP que usam IMAP.
1088 Summary: InterBase/Firebird database module for PHP
1089 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
1091 URL: http://php.net/manual/en/book.ibase.php
1092 %if %{with interbase_inst}
1093 %{?requires_php_extension}
1095 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1097 Provides: php(interbase)
1098 Obsoletes: php-interbase < 4:5.3.28-7
1100 %description interbase
1101 This is a dynamic shared object (DSO) for PHP that will add InterBase
1102 and Firebird database support.
1104 %description interbase -l pl.UTF-8
1105 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
1108 Summary: Internationalization extension (ICU wrapper)
1109 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
1111 URL: http://php.net/intl
1112 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1113 Provides: php(intl) = %{intlver}
1114 Obsoletes: php-intl < 4:5.3.28-7
1115 Obsoletes: php-pecl-intl < %{intlver}
1118 Internationalization extension (further is referred as Intl) is a
1119 wrapper for ICU library, enabling PHP programmers to perform
1120 UCA-conformant collation and date/time/number/currency formatting in
1123 %description intl -l pl.UTF-8
1124 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
1125 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
1126 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
1130 Summary: PHP C extension for JSON serialization
1131 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
1133 URL: http://php.net/manual/en/book.json.php
1134 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1135 Provides: php(json) = %{jsonver}
1136 Obsoletes: php-json < 4:5.3.28-7
1137 Obsoletes: php-pecl-json < %{jsonver}
1140 php-json is an extremely fast PHP C extension for JSON (JavaScript
1141 Object Notation) serialisation.
1143 %description json -l pl.UTF-8
1144 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
1145 (JavaScript Object Notation).
1148 Summary: LDAP extension module for PHP
1149 Summary(pl.UTF-8): Moduł LDAP dla PHP
1150 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
1152 URL: http://php.net/manual/en/book.ldap.php
1153 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1155 Obsoletes: php-ldap < 4:5.3.28-7
1158 This is a dynamic shared object (DSO) for PHP that will add LDAP
1161 %description ldap -l pl.UTF-8
1162 Moduł PHP dodający obsługę LDAP.
1164 %description ldap -l pt_BR.UTF-8
1165 Um módulo para aplicações PHP que usam LDAP.
1168 Summary: mbstring extension module for PHP
1169 Summary(pl.UTF-8): Moduł mbstring dla PHP
1171 URL: http://php.net/manual/en/book.mbstring.php
1172 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1173 Provides: php(mbstring)
1174 Obsoletes: php-mbstring < 4:5.3.28-7
1176 %description mbstring
1177 This is a dynamic shared object (DSO) for PHP that will add multibyte
1180 %description mbstring -l pl.UTF-8
1181 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1184 Summary: mcrypt extension module for PHP
1185 Summary(pl.UTF-8): Moduł mcrypt dla PHP
1187 URL: http://php.net/manual/en/book.mcrypt.php
1188 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1189 Requires: libmcrypt >= 2.5.6
1190 Provides: php(mcrypt)
1191 Obsoletes: php-mcrypt < 4:5.3.28-7
1194 This is a dynamic shared object (DSO) for PHP that will add mcrypt
1197 %description mcrypt -l pl.UTF-8
1198 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
1201 Summary: MS SQL extension module for PHP
1202 Summary(pl.UTF-8): Moduł MS SQL dla PHP
1204 URL: http://www.php.net/manual/en/book.mssql.php
1205 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1206 Provides: php(mssql)
1207 Obsoletes: php-mssql < 4:5.3.28-7
1210 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1211 databases support through FreeTDS library.
1213 %description mssql -l pl.UTF-8
1214 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
1218 Summary: MySQL database module for PHP
1219 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
1220 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
1222 URL: http://www.php.net/manual/en/book.mysql.php
1223 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1224 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1225 Provides: php(mysql)
1226 Obsoletes: php-mysql < 4:5.3.28-7
1229 This is a dynamic shared object (DSO) for PHP that will add MySQL
1232 %description mysql -l pl.UTF-8
1233 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
1235 %description mysql -l pt_BR.UTF-8
1236 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1239 Summary: MySQLi module for PHP
1240 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1242 URL: http://php.net/manual/en/book.mysqli.php
1243 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1244 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1245 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1246 Provides: php(mysqli)
1247 Obsoletes: php-mysqli < 4:5.3.28-7
1250 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1251 (Improved MySQL) support. The difference between it and mysql module
1252 is that it provides access to functionality of MySQL 4.1 and above.
1254 %description mysqli -l pl.UTF-8
1255 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1256 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1257 MySQL w wersji 4.1 i nowszych.
1260 Summary: MySQL Native Client Driver for PHP
1261 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1263 URL: http://php.net/manual/en/book.mysqlnd.php
1264 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1265 Provides: php(mysqlnd)
1266 Obsoletes: php-mysqlnd < 4:5.3.28-7
1268 %description mysqlnd
1269 MySQL Native Driver is a replacement for the MySQL Client Library
1272 Because MySQL Native Driver is written as a PHP extension, it is
1273 tightly coupled to the workings of PHP. This leads to gains in
1274 efficiency, especially when it comes to memory usage, as the driver
1275 uses the PHP memory management system. It also supports the PHP memory
1276 limit. Using MySQL Native Driver leads to comparable or better
1277 performance than using MySQL Client Library, it always ensures the
1278 most efficient use of memory. One example of the memory efficiency is
1279 the fact that when using the MySQL Client Library, each row is stored
1280 in memory twice, whereas with the MySQL Native Driver each row is only
1281 stored once in memory.
1283 %description mysqlnd -l pl.UTF-8
1284 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1285 klienckiej MySQL (libmysql).
1287 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1288 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1289 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1290 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1291 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1292 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1293 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1294 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1295 tym sterowniku - tylko raz.
1298 Summary: Oracle 8+ database module for PHP
1299 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1301 URL: http://php.net/manual/en/book.oci8.php
1302 %{?requires_php_extension}
1304 Obsoletes: php-oci8 < 4:5.3.28-7
1305 # withdrawn module of similar functionality but different API
1306 Obsoletes: php-oracle < 4:5.1.0
1309 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1310 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1312 %description oci8 -l pl.UTF-8
1313 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1314 poprzez interfejs Oracle8 Call-Interface (OCI8).
1317 Summary: ODBC extension module for PHP
1318 Summary(pl.UTF-8): Moduł ODBC dla PHP
1319 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1321 URL: http://php.net/manual/en/book.uodbc.php
1322 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1323 Requires: unixODBC >= 2.1.1-3
1325 Obsoletes: php-odbc < 4:5.3.28-7
1328 This is a dynamic shared object (DSO) for PHP that will add ODBC
1331 %description odbc -l pl.UTF-8
1332 Moduł PHP ze wsparciem dla ODBC.
1334 %description odbc -l pt_BR.UTF-8
1335 Um módulo para aplicações PHP que usam ODBC.
1338 Summary: Zend Optimizer+ - PHP code optimizer
1339 Summary(pl.UTF-8): Zend Optimizer+ - optymalizator kodu PHP
1341 URL: https://wiki.php.net/rfc/optimizerplus
1342 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1343 Provides: php(opcache) = %{opcachever}
1345 %description opcache
1346 The Zend OPcache provides faster PHP execution through opcode caching
1347 and optimization. It improves PHP performance by storing precompiled
1348 script bytecode in the shared memory. This eliminates the stages of
1349 reading code from the disk and compiling it on future access. In
1350 addition, it applies a few bytecode optimization patterns that make
1351 code execution faster.
1353 %description opcache -l pl.UTF-8
1354 Zend OPcache zapewnia szybsze wykonywanie kodu PHP dzięki buforowaniu
1355 i optymalizacji na poziomie opcode'ów. Poprawia wydajność PHP
1356 przechowując prekompilowany bajtkod skryptu w pamięci współdzielonej.
1357 Eliminuje etapy odczytu kodu z dysku i kompilacji przy późniejszym
1358 dostępie. Ponadto wykonuje kilka wzorców optymalizacji bajtkodu,
1359 czyniąc wykonywanie kodu szybszym.
1362 Summary: OpenSSL extension module for PHP
1363 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1365 URL: http://php.net/manual/en/book.openssl.php
1366 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1367 Provides: php(openssl)
1368 Obsoletes: php-openssl < 4:5.3.28-7
1370 %description openssl
1371 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1374 %description openssl -l pl.UTF-8
1375 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1378 Summary: Process Control extension module for PHP
1379 Summary(pl.UTF-8): Moduł Process Control dla PHP
1381 URL: http://php.net/manual/en/book.pcntl.php
1382 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1383 Provides: php(pcntl)
1384 Obsoletes: php-pcntl < 4:5.3.28-7
1387 This is a dynamic shared object (DSO) for PHP that will add process
1388 spawning and control support. It supports functions like fork(),
1389 waitpid(), signal() etc.
1391 %description pcntl -l pl.UTF-8
1392 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1393 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1396 Summary: PCRE extension module for PHP
1397 Summary(pl.UTF-8): Moduł PCRE dla PHP
1399 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1401 Obsoletes: php-pcre < 4:5.3.28-7
1404 This is a dynamic shared object (DSO) for PHP that will add Perl
1405 Compatible Regular Expression support.
1407 %description pcre -l pl.UTF-8
1408 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1409 (Perl Compatible Regular Expressions)
1412 Summary: PHP Data Objects (PDO)
1413 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1415 URL: http://php.net/manual/en/book.pdo.php
1416 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1417 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1418 Provides: %{name}(PDO_API) = %{php_pdo_api_version}
1420 Obsoletes: php-pdo < 4:5.3.28-7
1421 Obsoletes: php-pecl-PDO < 1.1
1424 This is a dynamic shared object (DSO) for PHP that will add PDO
1427 %description pdo -l pl.UTF-8
1428 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1431 Summary: PHP Data Objects (PDO) FreeTDS support
1432 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1434 URL: http://php.net/manual/en/ref.pdo-dblib.php
1435 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1436 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1437 Provides: php(pdo_dblib)
1438 Obsoletes: php-pdo-dblib < 4:5.3.28-7
1440 %description pdo-dblib
1441 This is a dynamic shared object (DSO) for PHP that will add PDO
1444 %description pdo-dblib -l pl.UTF-8
1445 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1448 %package pdo-firebird
1449 Summary: PHP Data Objects (PDO) Firebird support
1450 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1452 URL: http://php.net/manual/en/ref.pdo-firebird.php
1453 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1454 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1455 Provides: php(pdo-firebird)
1456 Provides: php(pdo_firebird)
1457 Obsoletes: php-pdo-firebird < 4:5.3.28-7
1458 Obsoletes: php-pecl-PDO_FIREBIRD < 0.3
1460 %description pdo-firebird
1461 This is a dynamic shared object (DSO) for PHP that will add PDO
1464 %description pdo-firebird -l pl.UTF-8
1465 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1469 Summary: PHP Data Objects (PDO) MySQL support
1470 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1472 URL: http://php.net/manual/en/ref.pdo-mysql.php
1473 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1474 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1475 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1476 Provides: php(pdo-mysql)
1477 Provides: php(pdo_mysql)
1478 Obsoletes: php-pdo-mysql < 4:5.3.28-7
1479 Obsoletes: php-pecl-PDO_MYSQL < 1.1
1481 %description pdo-mysql
1482 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1485 %description pdo-mysql -l pl.UTF-8
1486 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1490 Summary: PHP Data Objects (PDO) Oracle support
1491 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1493 URL: http://php.net/manual/en/ref.pdo-oci.php
1494 %{?requires_php_extension}
1495 %{?requires_php_pdo_module}
1496 Provides: php(pdo-oci)
1497 Provides: php(pdo_oci)
1498 Obsoletes: php-pdo-oci < 4:5.3.28-7
1499 Obsoletes: php-pecl-PDO_OCI < 1.1
1501 %description pdo-oci
1502 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1505 %description pdo-oci -l pl.UTF-8
1506 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1510 Summary: PHP Data Objects (PDO) ODBC support
1511 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1513 URL: http://php.net/manual/en/ref.pdo-odbc.php
1514 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1515 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1516 Provides: php(pdo-odbc)
1517 Provides: php(pdo_odbc)
1518 Obsoletes: php-pdo-odbc < 4:5.3.28-7
1519 Obsoletes: php-pecl-PDO_ODBC < 1.1
1521 %description pdo-odbc
1522 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1525 %description pdo-odbc -l pl.UTF-8
1526 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1530 Summary: PHP Data Objects (PDO) PostgreSQL support
1531 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1533 URL: http://php.net/manual/en/ref.pdo-pgsql.php
1534 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1535 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1536 Provides: php(pdo-pgsql)
1537 Provides: php(pdo_pgsql)
1538 Obsoletes: php-pdo-pgsql < 4:5.3.28-7
1539 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1541 %description pdo-pgsql
1542 This is a dynamic shared object (DSO) for PHP that will add PDO
1545 %description pdo-pgsql -l pl.UTF-8
1546 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1550 Summary: PHP Data Objects (PDO) SQLite support
1551 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1553 URL: http://php.net/manual/en/ref.pdo-sqlite.php
1554 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1555 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1556 Provides: php(pdo-sqlite)
1557 Provides: php(pdo_sqlite)
1558 Obsoletes: php-pdo-sqlite < 4:5.3.28-7
1559 Obsoletes: php-pecl-PDO_SQLITE < 1.1
1561 %description pdo-sqlite
1562 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1565 %description pdo-sqlite -l pl.UTF-8
1566 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1570 Summary: PostgreSQL database module for PHP
1571 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1573 URL: http://php.net/manual/en/book.pgsql.php
1574 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1575 Provides: php(pgsql)
1576 Obsoletes: php-pgsql < 4:5.3.28-7
1579 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1582 %description pgsql -l pl.UTF-8
1583 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1585 %description pgsql -l pt_BR.UTF-8
1586 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1589 Summary: Phar archive module for PHP
1590 Summary(pl.UTF-8): Moduł phar dla PHP
1592 URL: http://php.net/manual/en/book.phar.php
1593 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1594 Requires: %{name}-hash = %{epoch}:%{version}-%{release}
1595 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1596 %{?with_alternatives:Requires: alternatives}
1597 Suggests: %{name}-cli
1598 # zlib is required by phar program, but as phar cli is optional should the dep be too
1599 Suggests: %{name}-zlib
1600 Provides: php(phar) = %{pharver}
1601 Obsoletes: php-pecl-phar < %{pharver}
1602 Obsoletes: php-phar < 4:5.3.28-7
1603 Conflicts: php-ioncube < 4.0.9
1606 This is a dynamic shared object (DSO) for PHP that will add phar
1609 %description phar -l pl.UTF-8
1610 Moduł PHP umożliwiający dostęp do achiwów .phar.
1613 Summary: POSIX extension module for PHP
1614 Summary(pl.UTF-8): Moduł POSIX dla PHP
1616 URL: http://php.net/manual/en/book.posix.php
1617 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1618 Provides: php(posix)
1619 Obsoletes: php-posix < 4:5.3.28-7
1622 This is a dynamic shared object (DSO) for PHP that will add POSIX
1623 functions support to PHP.
1625 %description posix -l pl.UTF-8
1626 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1629 Summary: pspell extension module for PHP
1630 Summary(pl.UTF-8): Moduł pspell dla PHP
1632 URL: http://php.net/manual/en/book.pspell.php
1633 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1634 Provides: php(pspell)
1635 Obsoletes: php-pspell < 4:5.3.28-7
1638 This is a dynamic shared object (DSO) for PHP that will add pspell
1639 support to PHP. It allows to check the spelling of a word and offer
1642 %description pspell -l pl.UTF-8
1643 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1644 sprawdzanie pisowni słowa i sugerowanie poprawek.
1647 Summary: readline extension module for PHP
1648 Summary(pl.UTF-8): Moduł readline dla PHP
1650 URL: http://php.net/manual/en/book.readline.php
1651 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1652 Provides: php(readline)
1653 Obsoletes: php-readline < 4:5.3.28-7
1655 %description readline
1656 This PHP module adds support for readline functions (only for cli and
1659 %description readline -l pl.UTF-8
1660 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1663 Summary: recode extension module for PHP
1664 Summary(pl.UTF-8): Moduł recode dla PHP
1666 URL: http://php.net/manual/en/book.recode.php
1667 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1668 Requires: recode >= 3.5d-3
1669 Provides: php(recode)
1670 Obsoletes: php-recode < 4:5.3.28-7
1673 This is a dynamic shared object (DSO) for PHP that will add recode
1676 %description recode -l pl.UTF-8
1677 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1681 Summary: session extension module for PHP
1682 Summary(pl.UTF-8): Moduł session dla PHP
1684 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1685 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1686 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1688 Provides: php(session)
1689 Obsoletes: php-session < 4:5.3.28-7
1691 %description session
1692 This is a dynamic shared object (DSO) for PHP that will add session
1695 %description session -l pl.UTF-8
1696 Moduł PHP dodający obsługę sesji.
1699 Summary: Shared Memory Operations extension module for PHP
1700 Summary(pl.UTF-8): Moduł shmop dla PHP
1702 URL: http://php.net/manual/en/book.shmop.php
1703 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1704 Provides: php(shmop)
1705 Obsoletes: php-shmop < 4:5.3.28-7
1708 This is a dynamic shared object (DSO) for PHP that will add Shared
1709 Memory Operations support.
1711 %description shmop -l pl.UTF-8
1712 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1715 Summary: Simple XML extension module for PHP
1716 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1718 URL: http://php.net/manual/en/book.simplexml.php
1719 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1720 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1721 Provides: php(simplexml)
1722 Obsoletes: php-simplexml < 4:5.3.28-7
1724 %description simplexml
1725 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1728 %description simplexml -l pl.UTF-8
1729 Moduł PHP dodający obsługę prostego XML-a.
1732 Summary: SNMP extension module for PHP
1733 Summary(pl.UTF-8): Moduł SNMP dla PHP
1735 URL: http://php.net/manual/en/book.snmp.php
1736 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1737 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1738 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1740 Obsoletes: php-snmp < 4:5.3.28-7
1743 This is a dynamic shared object (DSO) for PHP that will add SNMP
1746 %description snmp -l pl.UTF-8
1747 Moduł PHP dodający obsługę SNMP.
1750 Summary: soap extension module for PHP
1751 Summary(pl.UTF-8): Moduł soap dla PHP
1753 URL: http://php.net/manual/en/book.soap.php
1754 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1756 Obsoletes: php-soap < 4:5.3.28-7
1759 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1762 %description soap -l pl.UTF-8
1763 Moduł PHP dodający obsługę SOAP/WSDL.
1766 Summary: sockets extension module for PHP
1767 Summary(pl.UTF-8): Moduł socket dla PHP
1769 URL: http://php.net/manual/en/book.sockets.php
1770 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1771 Provides: php(sockets)
1772 Obsoletes: php-sockets < 4:5.3.28-7
1774 %description sockets
1775 This is a dynamic shared object (DSO) for PHP that will add sockets
1778 %description sockets -l pl.UTF-8
1779 Moduł PHP dodający obsługę gniazdek.
1782 Summary: Standard PHP Library module for PHP
1783 Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1785 URL: http://php.net/manual/en/book.spl.php
1786 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1787 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1788 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1790 Obsoletes: php-spl < 4:5.3.28-7
1793 This is a dynamic shared object (DSO) for PHP that will add Standard
1794 PHP Library support.
1796 %description spl -l pl.UTF-8
1797 Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1800 Summary: SQLite3 extension module for PHP
1801 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1803 URL: http://php.net/manual/en/book.sqlite3.php
1804 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1805 Provides: php(sqlite3) = %{sqlite3ver}
1806 Obsoletes: php-sqlite3 < 4:5.3.28-7
1808 %description sqlite3
1809 SQLite is a C library that implements an embeddable SQL database
1810 engine. Programs that link with the SQLite library can have SQL
1811 database access without running a separate RDBMS process.
1813 SQLite is not a client library used to connect to a big database
1814 server. SQLite is the server. The SQLite library reads and writes
1815 directly to and from the database files on disk.
1817 %description sqlite3 -l pl.UTF-8
1818 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1819 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1820 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1823 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1824 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1825 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1829 Summary: Sybase-CT extension module for PHP
1830 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1832 URL: http://www.php.net/manual/en/book.sybase.php
1833 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1834 Provides: php(sybase-ct)
1835 Obsoletes: php-sybase
1836 Obsoletes: php-sybase-ct < 4:5.3.28-7
1838 %description sybase-ct
1839 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1840 MS SQL databases support through CT-lib.
1842 %description sybase-ct -l pl.UTF-8
1843 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1847 Summary: SysV msg extension module for PHP
1848 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1850 URL: http://php.net/manual/en/book.sem.php
1851 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1852 Provides: php(sysvmsg)
1853 Obsoletes: php-sysvmsg < 4:5.3.28-7
1855 %description sysvmsg
1856 This is a dynamic shared object (DSO) for PHP that will add SysV
1857 message queues support.
1859 %description sysvmsg -l pl.UTF-8
1860 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1863 Summary: SysV sem extension module for PHP
1864 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1866 URL: http://php.net/manual/en/book.sem.php
1867 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1868 Provides: php(sysvsem)
1869 Obsoletes: php-sysvsem < 4:5.3.28-7
1871 %description sysvsem
1872 This is a dynamic shared object (DSO) for PHP that will add SysV
1875 %description sysvsem -l pl.UTF-8
1876 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1879 Summary: SysV shm extension module for PHP
1880 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1882 URL: http://php.net/manual/en/book.sem.php
1883 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1884 Provides: php(sysvshm)
1885 Obsoletes: php-sysvshm < 4:5.3.28-7
1887 %description sysvshm
1888 This is a dynamic shared object (DSO) for PHP that will add SysV
1889 Shared Memory support.
1891 %description sysvshm -l pl.UTF-8
1892 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1895 Summary: Contains unit test files for PHP and extensions
1896 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1898 URL: http://qa.php.net/
1899 Requires: %{name}-cli
1900 %if "%{_rpmversion}" >= "5"
1905 This package contains unit tests for PHP and its extensions.
1907 %description tests -l pl.UTF-8
1908 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1911 Summary: Tidy extension module for PHP
1912 Summary(pl.UTF-8): Moduł Tidy dla PHP
1914 URL: http://php.net/manual/en/book.tidy.php
1915 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1918 Obsoletes: php-tidy < 4:5.3.28-7
1921 This is a dynamic shared object (DSO) for PHP that will add Tidy
1924 %description tidy -l pl.UTF-8
1925 Moduł PHP umożliwiający korzystanie z tidy.
1928 Summary: tokenizer extension module for PHP
1929 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1931 URL: http://php.net/manual/en/book.tokenizer.php
1932 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1933 Provides: php(tokenizer)
1934 Obsoletes: php-tokenizer < 4:5.3.28-7
1936 %description tokenizer
1937 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1940 %description tokenizer -l pl.UTF-8
1941 Moduł PHP dodający obsługę tokenizera do PHP.
1944 Summary: wddx extension module for PHP
1945 Summary(pl.UTF-8): Moduł wddx dla PHP
1947 URL: http://php.net/manual/en/book.wddx.php
1948 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1949 # - wddx doesn't require session as it's disabled at compile time:
1950 # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1951 # see also php.spec#rev1.120.2.22
1952 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1953 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1955 Obsoletes: php-wddx < 4:5.3.28-7
1958 This is a dynamic shared object (DSO) for PHP that will add wddx
1961 %description wddx -l pl.UTF-8
1962 Moduł PHP umożliwiający korzystanie z wddx.
1965 Summary: XML extension module for PHP
1966 Summary(pl.UTF-8): Moduł XML dla PHP
1968 URL: http://php.net/manual/en/book.xml.php
1969 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1971 Obsoletes: php-xml < 4:5.3.28-7
1974 This is a dynamic shared object (DSO) for PHP that will add XML
1975 support. This extension lets you create XML parsers and then define
1976 handlers for different XML events.
1978 %description xml -l pl.UTF-8
1979 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1980 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1981 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1984 Summary: XML Reader extension module for PHP
1985 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1987 URL: http://php.net/manual/en/book.xmlreader.php
1988 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1989 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1990 Provides: php(xmlreader)
1991 Obsoletes: php-xmlreader < 4:5.3.28-7
1993 %description xmlreader
1994 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1995 support. The XMLReader extension is an XML Pull parser. The reader
1996 acts as a cursor going forward on the document stream and stopping at
1997 each node on the way.
1999 %description xmlreader -l pl.UTF-8
2000 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
2001 działa jako kursor przechodzący przez strumień dokumentu i
2002 zatrzymujący się na każdym węźle po drodze.
2005 Summary: xmlrpc extension module for PHP
2006 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
2008 URL: http://php.net/manual/en/book.xmlrpc.php
2009 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2010 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
2011 Provides: php(xmlrpc)
2012 Obsoletes: php-xmlrpc < 4:5.3.28-7
2015 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
2018 %description xmlrpc -l pl.UTF-8
2019 Moduł PHP dodający obsługę XMLRPC.
2022 Summary: Fast, non-cached, forward-only means to write XML data
2023 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
2025 URL: http://php.net/manual/en/book.xmlwriter.php
2026 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2027 Provides: php(xmlwriter)
2028 Obsoletes: php-pecl-xmlwriter < 2.1
2029 Obsoletes: php-xmlwriter < 4:5.3.28-7
2031 %description xmlwriter
2032 This extension wraps the libxml xmlWriter API. Represents a writer
2033 that provides a non-cached, forward-only means of generating streams
2034 or files containing XML data.
2036 %description xmlwriter -l pl.UTF-8
2037 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
2038 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
2039 plików zawierających dane XML.
2042 Summary: xsl extension module for PHP
2043 Summary(pl.UTF-8): Moduł xsl dla PHP
2045 URL: http://php.net/manual/en/book.xsl.php
2046 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2047 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
2048 Requires: libxslt >= 1.0.18
2050 Obsoletes: php-xsl < 4:5.3.28-7
2051 # actually not true, functionality is similar, but API differs
2052 Obsoletes: php-xslt <= 3:4.3.8-1
2055 This is a dynamic shared object (DSO) for PHP that will add new XSL
2056 support (using libxslt).
2058 %description xsl -l pl.UTF-8
2059 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
2062 Summary: Zip management extension
2063 Summary(pl.UTF-8): Zarządzanie archiwami zip
2065 URL: http://php.net/manual/en/book.zip.php
2066 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2067 %{?with_system_libzip:Requires: libzip >= 0.10.1-2}
2068 Provides: php(zip) = %{zipver}
2069 Obsoletes: php-pecl-zip < %{zipver}
2070 Obsoletes: php-zip < 4:5.3.28-7
2073 Zip is an extension to create, modify and read zip files.
2075 %description zip -l pl.UTF-8
2076 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
2077 odczyt archiwów zip.
2080 Summary: Zlib extension module for PHP
2081 Summary(pl.UTF-8): Moduł zlib dla PHP
2083 URL: http://php.net/manual/en/book.zlib.php
2084 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2086 Obsoletes: php-zlib < 4:5.3.28-7
2089 This is a dynamic shared object (DSO) for PHP that will add zlib
2090 compression support to PHP.
2092 %description zlib -l pl.UTF-8
2093 Moduł PHP umożliwiający używanie kompresji zlib.
2096 %setup -q -n %{orgname}-%{version}%{?subver}
2097 cp -p php.ini-production php.ini
2106 %{?with_milter:%patch8 -p1}
2124 %if "%{pld_release}" != "ac"
2127 %{?with_sybase_ct:%patch35 -p1}
2134 # create split php-fpm.conf patch. review (restore other diffs) and commit
2135 cp sapi/fpm/php-fpm.conf.in{,.orig}
2136 %{__sed} -n -e '/; Start a new pool named/,$p' sapi/fpm/php-fpm.conf.in > sapi/fpm/php-fpm.conf-d.in
2137 %{__sed} -i -e '/; Include one or more files/,/include=etc\/fpm\.d/d' sapi/fpm/php-fpm.conf.in
2138 %{__sed} -i -e '/; Start a new pool named/,$d' sapi/fpm/php-fpm.conf.in
2141 diff -u %{orgname}-%{version}/sapi/fpm/php-fpm.conf.in{.orig,} > %{PATCH69}
2142 diff -u /dev/null %{orgname}-%{version}/sapi/fpm/php-fpm.conf-d.in >> %{PATCH69}
2152 #%patch45 -p1 # imap annotations. fixme
2153 #%patch46 -p1 # imap myrights. fixme
2161 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
2166 %{?with_system_libzip:%patch65 -p1}
2177 sed -E -i -e '1s,#!\s*/usr/bin/env\s+(.*),#!%{__bindir}\1,' \
2180 %{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
2182 # cleanup backups after patching
2183 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
2185 # com_dotnet is Win32-only
2186 %{__rm} -r ext/com_dotnet
2188 # conflict seems to be resolved by recode patches
2189 %{__rm} ext/recode/config9.m4
2191 # remove all bundled libraries not to link with them accidentally
2192 %{__rm} -r ext/sqlite3/libsqlite
2193 #%{__rm} -r ext/bcmath/libbcmath
2194 #%{__rm} -r ext/date/lib
2195 #%{__rm} -r ext/fileinfo/libmagic
2196 #%{__rm} -r ext/dba/libcdb
2197 #%{__rm} -r ext/dba/libflatfile
2198 #%{__rm} -r ext/dba/libinifile
2199 #%{__rm} -r ext/gd/libgd
2200 #%{__rm} -r ext/mbstring/libmbfl
2201 #%{__rm} -r ext/mbstring/oniguruma
2202 %{__rm} -r ext/pcre/pcrelib
2203 #%{__rm} -r ext/soap/interop
2204 %{__rm} -r ext/xmlrpc/libxmlrpc
2205 #%{__rm} -r ext/zip/lib
2206 %{__rm} ext/date/lib/timezonedb.h
2208 cp -pf Zend/LICENSE{,.Zend}
2209 install -p %{SOURCE13} dep-tests.sh
2212 sed -i -e 's#-fvisibility=hidden##g' configure*
2214 # disable broken tests
2215 # says just "Terminated" twice and fails
2216 %{__mv} sapi/cli/tests/022.phpt{,.broken}
2218 # really dumb test, executable binary name is .libs/ something when building
2219 # https://bugs.php.net/bug.php?id=54514
2220 %{__mv} tests/basic/bug54514.phpt{,.disable}
2222 # breaks whole testsuite unexpectedly:
2223 # Fatal error: Call to undefined function gzencode() in run-tests.php on line 1714
2224 # probably broken as zlib is built as shared
2225 %{__mv} ext/soap/tests/server019.phpt{,disable}
2226 # Fatal error: Call to undefined function gzcompress() in run-tests.php on line 1728
2227 %{__mv} ext/soap/tests/server020.phpt{,disable}
2229 # runs out of memory and kills carme vserver
2230 # PASS Bug #39438 (Fatal error: Out of memory) [Zend/tests/bug39438.phpt]
2231 %{__mv} Zend/tests/bug39438.phpt{,.disable}
2233 # php-5.3.3/ext/standard/tests/file/statpage.phpt
2234 %{__rm} ext/standard/tests/file/statpage.phpt
2236 # idiotic test, it will fail if somebody else makes space on disk or if disk
2237 # space is not yet allocated (xfs). report upstream to advice bogus test is
2238 # probably pointless.
2239 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
2242 # all pdo_sqlite, sqlite3 tests die with Aborted on carme
2243 %{__rm} -r ext/pdo_sqlite/tests
2244 %{__rm} -r ext/sqlite3/tests
2247 # ----- Manage known as failed test -------
2248 # affected by systzdata patch
2249 %{__rm} ext/date/tests/timezone_location_get.phpt
2250 %{__rm} ext/date/tests/timezone_version_get.phpt
2251 %{__rm} ext/date/tests/timezone_version_get_basic1.phpt
2252 # Should be skipped but fails sometime
2253 %{__rm} ext/standard/tests/file/file_get_contents_error001.phpt
2255 %{__rm} ext/sockets/tests/mcast_ipv?_recv.phpt
2256 # causes stack exhausion
2257 %{__rm} Zend/tests/bug54268.phpt
2259 # avoid issues when two builds run simultaneously
2261 sed -e 's/64321/64322/' -i ext/openssl/tests/*.phpt
2265 # no point testing stuff that is knowingly broken
2266 find -name '*.phpt' | xargs grep '^--XFAIL--' -l | xargs rm -v
2278 sh -xe %{_sourcedir}/skip-tests.sh
2281 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
2282 if [ $API != %{php_api_version} ]; then
2283 echo "Set %%define php_api_version to $API and re-run."
2287 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
2288 if [ $API != %{zend_module_api} ]; then
2289 echo "Set %%define zend_module_api to $API and re-run."
2293 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
2294 if [ $API != %{zend_extension_api} ]; then
2295 echo "Set %%define zend_extension_api to $API and re-run."
2299 API=$(awk '/#define PDO_DRIVER_API/{print $3}' ext/pdo/php_pdo_driver.h)
2300 if [ $API != %{php_pdo_api_version} ]; then
2301 echo "Set %%define php_pdo_api_version to $API and re-run."
2305 # Check for some extension version
2306 ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
2307 if test "$ver" != "%{fileinfover}"; then
2308 : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
2309 : Update the fileinfover macro and rebuild.
2312 ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
2313 if test "$ver" != "%{pharver}"; then
2314 : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
2315 : Update the pharver macro and rebuild.
2318 ver=$(sed -n '/#define PHP_SQLITE3_VERSION/{s/.* "//;s/".*$//;p}' ext/sqlite3/php_sqlite3.h)
2319 if test "$ver" != "%{sqlite3ver}"; then
2320 : Error: Upstream Sqlite3 version is now ${ver}, expecting %{sqlite3ver}.
2321 : Update the sqlite3ver macro and rebuild.
2324 ver=$(sed -n '/#define PHP_ZIP_VERSION /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
2325 if test "$ver" != "%{zipver}"; then
2326 : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
2327 : Update the zipver macro and rebuild.
2330 ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
2331 if test "$ver" != "%{jsonver}"; then
2332 : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
2333 : Update the jsonver macro and rebuild.
2336 ver=$(sed -n '/#define PHP_ZENDOPCACHE_VERSION /{s/.* "//;s/".*$//;p}' ext/opcache/ZendAccelerator.h)
2337 if test "$ver" != "%{opcachever}"; then
2338 : Error: Upstream Zend Opcache version is now ${ver}, expecting %{opcachever}.
2339 : Update the opcachever macro and rebuild.
2342 ver=$(sed -n '/#define PHPDBG_VERSION /{s/.* "//;s/".*$//;p}' sapi/phpdbg/phpdbg.h)
2343 if test "$ver" != "%{phpdbgver}"; then
2344 : Error: Upstream phpdbg version is now ${ver}, expecting %{phpdbgver}.
2345 : Update the phpdbgver macro and rebuild.
2348 ver=$(sed -rne 's,.*<version>(.+)</version>,\1,p' ext/bz2/package.xml)
2349 if test "$ver" != "%{bz2ver}"; then
2350 : Error: Upstream BZIP2 version is now ${ver}, expecting %{bz2ver}.
2351 : Update the bz2ver macro and rebuild.
2354 ver=$(sed -n '/#define PHP_ENCHANT_VERSION /{s/.* "//;s/".*$//;p}' ext/enchant/php_enchant.h)
2355 if test "$ver" != "%{enchantver}"; then
2356 : Error: Upstream Enchant version is now ${ver}, expecting %{enchantver}.
2357 : Update the enchantver macro and rebuild.
2360 ver=$(awk '/#define PHP_HASH_EXTVER/ {print $3}' ext/hash/php_hash.h | xargs)
2361 if test "$ver" != "%{hashver}"; then
2362 : Error: Upstream HASH version is now ${ver}, expecting %{hashver}.
2363 : Update the hashver macro and rebuild.
2366 ver=$(sed -n '/#define PHP_INTL_VERSION /{s/.* "//;s/".*$//;p}' ext/intl/php_intl.h)
2367 if test "$ver" != "%{intlver}"; then
2368 : Error: Upstream Intl version is now ${ver}, expecting %{intlver}.
2369 : Update the intlver macro and rebuild.
2373 export EXTENSION_DIR="%{php_extensiondir}"
2374 # configure once (for faster debugging purposes)
2375 if [ ! -f _built-conf ]; then
2376 # now remove Makefile copies
2377 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed,phpdbg,milter}
2380 cp -f /usr/share/automake/config.* .
2384 export PROG_SENDMAIL="/usr/lib/sendmail"
2385 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP -DOPENSSL_NO_SSL2 %{rpmcppflags} \
2386 -I%{_includedir}/xmlrpc-epi"
2393 %if %{with litespeed}
2415 for sapi in $sapis; do
2417 # skip if already configured (for faster debugging purposes)
2418 [ -f Makefile.$sapi ] && continue
2423 sapi_args='--disable-cli'
2426 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
2429 sapi_args='--disable-cli --disable-cgi --enable-fpm'
2432 sapi_args='--disable-cli --disable-cgi --enable-embed'
2435 ver=$(rpm -q --qf '%{V}' apache1-devel)
2436 sapi_args="--disable-cli --disable-cgi --with-apxs=%{apxs1} --with-apache-version=$ver"
2439 ver=$(rpm -q --qf '%{V}' apache-devel)
2440 sapi_args="--disable-cli --disable-cgi --with-apxs2=%{apxs2} --with-apache-version=$ver"
2443 sapi_args='--disable-cli --disable-cgi --with-litespeed'
2446 sapi_args='--disable-cli --disable-cgi --enable-phpdbg %{?debug:--enable-phpdbg-debug}'
2449 sapi_args='--disable-cli --disable-cgi --with-milter'
2454 EXTRA_LDFLAGS="%{rpmldflags}" \
2456 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2457 --cache-file=config.cache \
2459 --with-libdir=%{_lib} \
2460 --with-config-file-path=%{_sysconfdir} \
2461 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2462 --with-system-tzdata \
2463 --%{!?with_debug:dis}%{?with_debug:en}able-debug \
2464 %{?with_zts:--enable-maintainer-zts} \
2465 --enable-inline-optimization \
2466 %{__enable_disable bcmath bcmath shared} \
2467 %{__enable_disable calendar calendar shared} \
2468 %{__enable_disable ctype ctype shared} \
2469 %{__enable_disable dba dba shared} \
2470 %{__enable_disable dom dom shared} \
2471 %{?with_systemtap:--enable-dtrace} \
2472 %{__enable_disable exif exif shared} \
2473 %{__enable_disable fileinfo fileinfo shared} \
2474 %{__enable_disable ftp ftp shared} \
2475 --enable-gd-native-ttf \
2476 %{?with_intl:--enable-intl=shared} \
2478 %{__enable_disable mbstring mbstring shared,all} \
2480 %{__enable_disable pcntl pcntl shared} \
2481 %{__enable_disable pdo pdo shared} \
2482 %{__enable_disable json json shared} \
2483 %{__enable_disable hash hash shared} \
2484 --enable-xmlwriter=shared \
2486 --with-fpm-user=http \
2487 --with-fpm-group=http \
2489 %if %{with pdo_dblib}
2490 --with-pdo-dblib=shared \
2492 %if %{with interbase} && %{without interbase_inst}
2493 --with-pdo-firebird=shared,/usr \
2495 %{?with_mhash:--with-mhash=yes} \
2496 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2497 %{__with_without pdo_mysql pdo-mysql shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd}} \
2498 %{?with_oci:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2499 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2500 %{?with_pgsql:--with-pdo-pgsql=shared} \
2501 %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
2502 %{?with_webp:--with-vpx-dir=/usr} \
2503 --without-libexpat-dir \
2504 %{__enable_disable posix posix shared} \
2506 %{__enable_disable session session shared} \
2507 --enable-shmop=shared \
2508 --enable-simplexml=shared \
2509 --enable-sysvmsg=shared \
2510 --enable-sysvsem=shared \
2511 --enable-sysvshm=shared \
2512 --enable-soap=shared \
2513 --enable-sockets=shared \
2514 --enable-tokenizer=shared \
2515 %{?with_wddx:--enable-wddx=shared} \
2516 --enable-xml=shared \
2517 --enable-xmlreader=shared \
2518 %{__with_without bz2 bz2 shared} \
2519 %{__with_without curl curl shared} \
2521 %{__with_without iconv iconv shared} \
2522 %{?with_enchant:--with-enchant=shared,/usr} \
2523 --with-freetype-dir=shared \
2524 %{__with_without gettext gettext shared} \
2525 %{__with_without gd gd shared%{?with_system_gd:,/usr}} \
2527 %{__with_without gmp gmp shared} \
2528 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2529 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2530 --with-jpeg-dir=/usr \
2531 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2532 %{__with_without mcrypt mcrypt shared} \
2533 %{?with_mm:--with-mm} \
2534 %{?with_mssql:--with-mssql=shared} \
2535 %{?with_mysqlnd:--enable-mysqlnd=shared} \
2536 %{__with_without mysql mysql shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd}} \
2537 %{?with_mysqli:--with-mysqli=shared,%{!?with_mysqlnd:/usr/bin/mysql_config}%{?with_mysqlnd:mysqlnd}} \
2538 %{?with_oci:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2539 %{__enable_disable opcache opcache shared} \
2540 %{?with_openssl:--with-openssl=shared} \
2541 %{?with_kerberos5:--with-kerberos} \
2543 %{__with_without pcre pcre-regex /usr} \
2544 %{__enable_disable filter filter shared} \
2545 --with-pear=%{php_pear_dir} \
2546 %{__with_without pgsql pgsql shared,/usr} \
2547 %{__enable_disable phar phar shared} \
2548 --with-png-dir=/usr \
2549 %{?with_pspell:--with-pspell=shared} \
2550 %{__with_without readline readline shared} \
2551 %{?with_recode:--with-recode=shared} \
2552 %{__with_without ereg regex system} \
2553 %{?with_snmp:--with-snmp=shared} \
2554 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
2555 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2556 %{__with_without sqlite3 sqlite3 shared,/usr} \
2557 --with-t1lib=shared \
2558 %{?with_tidy:--with-tidy=shared} \
2559 %{?with_odbc:--with-unixODBC=shared,/usr} \
2560 %{__with_without xmlrpc xmlrpc shared,/usr} \
2562 --with-zlib=shared \
2563 --with-zlib-dir=shared,/usr \
2564 %{?with_system_libzip:--with-libzip} \
2565 --enable-zip=shared,/usr \
2568 cp -f Makefile Makefile.$sapi
2569 cp -f main/php_config.h php_config.h.$sapi
2570 cp -f config.log config.log.$sapi
2573 # as we build each SAPI in own make, adjust php-config.in forehead
2574 sapis=$(%{__sed} -rne 's/^PHP_INSTALLED_SAPIS = (.+)/\1/p' Makefile.* | tr ' ' '\n' | sort -u | xargs)
2575 %{__sed} -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," scripts/php-config.in
2577 # must make libphp_common first, so modules can link against it.
2578 cp -af php_config.h.cli main/php_config.h
2579 cp -af Makefile.cli Makefile
2580 %{__make} libphp_common.la
2581 # hack: MYSQLND_SHARED_LIBADD not initialized
2582 %{__make} build-modules \
2583 MYSQLND_SHARED_LIBADD="-lssl -lcrypto"
2586 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
2590 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
2593 %if %{with litespeed}
2594 %{__make} -f Makefile.litespeed litespeed
2598 %{__make} -f Makefile.embed libphp5.la
2602 # PHP_READLINE_LIBS is empty, so force readline here
2603 %{__make} -f Makefile.phpdbg phpdbg \
2604 PHPDBG_EXTRA_LIBS=-lreadline
2608 %{__make} -f Makefile.milter milter
2613 cp -pf php_config.h.cgi-fcgi main/php_config.h
2614 %{__make} -f Makefile.cgi-fcgi
2615 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
2620 cp -pf php_config.h.fpm main/php_config.h
2621 %{__make} -f Makefile.fpm
2622 [ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
2626 cp -pf php_config.h.cli main/php_config.h
2627 %{__make} -f Makefile.cli
2628 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
2630 # check for stupid xml parse breakage where < and > just get lost in parse result
2631 ./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"]));'
2633 # Generate stub .ini files for each extension
2636 generate_inifiles() {
2637 for so in modules/*.so; do
2638 mod=$(basename $so .so)
2640 # opcache.so is zend extension
2641 nm $so | grep -q zend_extension_entry && ext=zend_extension
2643 # xml needs to be loaded before wddx
2644 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2645 # pre needs to be loaded before SPL
2646 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2647 # spl needs to be loaded before mysqli
2648 [ "$mod" = "spl" ] && conf="SPL.ini"
2649 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2650 [ "$mod" = "session" ] && conf="Session.ini"
2651 # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli
2652 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2654 cat > conf.d/$conf <<-EOF
2655 ; Enable $mod $ext module
2662 # Check that the module inner-dependencies are intact
2663 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2664 if grep -v OK dep-tests.log; then
2665 echo >&2 "The results above were not expected"
2671 cp -pf php_config.h.cli main/php_config.h
2672 cp -pf Makefile.cli Makefile
2674 # you really don't want to package result of gcov build
2678 cat <<'EOF' > run-tests.sh
2680 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2681 export SKIP_ONLINE_TESTS=1
2682 unset TZ LANG LC_ALL || :
2684 EXTENSION_DIR=modules \
2685 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2686 RUN_TESTS_SETTINGS="-q $*"
2688 chmod +x run-tests.sh
2691 # Run tests, using the CLI SAPI
2692 cp -pf php_config.h.cli main/php_config.h
2693 cp -pf Makefile.cli Makefile
2695 ./run-tests.sh -w failed.log -s tests.log || {
2698 # collect failed tests into cleanup script used in prep.
2699 sed -ne '/^FAILED TEST SUMMARY/,/^===/p' tests.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2700 sed -ne '/^via/d;/\[.*\]/{s/\t*\(.*\) \[\(.*\)\]\(.*\)/# \1\3\nmv \2{,.skip}/p}' tests-failed.log \
2701 >> %{_sourcedir}/skip-tests.sh
2703 # if on builders, dump test log
2704 tty -q || cat tests.log
2706 test ! -s failed.log
2712 rm -rf $RPM_BUILD_ROOT
2713 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2714 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2715 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2716 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2718 cp -pf php_config.h.cli main/php_config.h
2719 cp -pf Makefile.cli Makefile
2721 phpbuilddir=%{_libdir}/%{name}/build \
2722 INSTALL_ROOT=$RPM_BUILD_ROOT
2724 %if %{without default_php}
2725 # version the .phar files
2726 %{__mv} $RPM_BUILD_ROOT%{_bindir}/phar{,%{php_suffix}}.phar
2727 %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/phar{,%{php_suffix}}.1
2729 %if %{with alternatives}
2731 %{__rm} $RPM_BUILD_ROOT%{_bindir}/phar
2732 touch $RPM_BUILD_ROOT%{_bindir}/phar
2733 touch $RPM_BUILD_ROOT%{_mandir}/man1/phar.1
2737 v=$(echo %{version} | cut -d. -f1-2)
2739 # install Apache1 DSO module
2741 libtool --mode=install install -p sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2742 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5{,-$v}.so
2743 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache1/mod_php.so
2746 # install Apache2 DSO module
2748 libtool --mode=install install -p sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2749 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp5{,-$v}.so
2750 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache/mod_php.so
2753 # install litespeed sapi
2754 %if %{with litespeed}
2755 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
2759 %{__make} -f Makefile.phpdbg install-phpdbg \
2760 INSTALL="libtool --mode=install install -p" \
2761 INSTALL_ROOT=$RPM_BUILD_ROOT
2763 %if %{without default_php}
2764 # version the phpdbg files
2765 %{__mv} $RPM_BUILD_ROOT%{_bindir}/phpdbg{,%{ver_suffix}}
2766 %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/phpdbg{,%{ver_suffix}}.1
2771 %{__make} -f Makefile.milter install-milter \
2772 INSTALL_ROOT=$RPM_BUILD_ROOT
2775 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2780 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2781 ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
2782 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2787 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir}}
2788 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2789 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
2790 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2791 cp -p sapi/fpm/php-fpm.conf-d $RPM_BUILD_ROOT%{_sysconfdir}/fpm.d/www.conf
2792 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2793 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2794 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2795 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2796 %if "%{pld_release}" == "ac"
2797 %{__sed} -i -e '/su/d' $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2800 %if %{with alternatives}
2801 # touch for ghost for alternatives
2802 touch $RPM_BUILD_ROOT%{_sbindir}/php-fpm
2806 s#/usr/lib/php#%{php_extensiondir}#g
2807 s#/etc/php/#%{_sysconfdir}/#g
2808 s#@processname@#%{name}-fpm#g
2809 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf,%{_sysconfdir}/fpm.d/www.conf}
2812 # install Embedded API
2814 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2815 # install-sapi installs to wrong dir, so just do it all manually
2816 install -d $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2817 install -p libs/libphp5.so $RPM_BUILD_ROOT%{_libdir}
2818 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2822 # versioned suffix is always installed
2823 libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php%{ver_suffix}
2824 cp -p sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php%{ver_suffix}.1
2825 echo ".so php%{ver_suffix}.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.1
2826 ln -sf php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php
2828 cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2829 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2832 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2833 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2834 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2838 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2839 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2840 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2843 # ensure that paths are correct for current php version and arch
2844 grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
2846 s#/usr/lib/php#%{php_extensiondir}#g
2847 s#/etc/php/#%{_sysconfdir}/#g
2850 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2851 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2853 # per SAPI ini directories
2854 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2857 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2859 # use system automake and {lib,sh}tool
2860 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2861 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2862 for fn in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2863 f=%{_aclocaldir}/$fn
2864 test -f $f || continue
2865 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2867 for fn in ltmain.sh config/ltmain.sh build-aux/ltmain.sh; do
2868 f=/usr/share/libtool/$fn
2869 test -f $f || continue
2870 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2873 sed -i -e '/^phpdir/ s,/php/build,/%{name}/build,' $RPM_BUILD_ROOT%{_bindir}/phpize
2875 # for php-pecl-mailparse
2876 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2877 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2880 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2881 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2882 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2884 # fix install paths, avoid evil rpaths
2885 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2887 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/%{name}/build/acinclude.m4
2889 # somewhy there are installed static versions we don't use
2890 %if %{with apache1} || %{with apache2}
2891 %{__rm} $RPM_BUILD_ROOT%{_libdir}/apache*/libphp*.a
2892 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libphp*.a
2893 %{__rm} $RPM_BUILD_ROOT%{php_extensiondir}/*.a
2897 rm -rf $RPM_BUILD_ROOT
2899 %post -n apache1-mod_%{name}
2900 if [ "$1" = "1" ]; then
2901 %service -q apache restart
2904 %postun -n apache1-mod_%{name}
2905 if [ "$1" = "0" ]; then
2906 %service -q apache restart
2909 %post -n apache-mod_%{name}
2910 if [ "$1" = "1" ]; then
2911 %service -q httpd restart
2914 %postun -n apache-mod_%{name}
2915 if [ "$1" = "0" ]; then
2916 %service -q httpd restart
2920 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2923 /sbin/chkconfig --add %{name}-fpm
2924 %service %{name}-fpm restart
2925 %if %{with alternatives}
2926 update-alternatives --install %{_sbindir}/php-fpm php-fpm %{_sbindir}/php%{ver_suffix}-fpm %{ver_suffix} || :
2930 if [ "$1" = "0" ]; then
2931 %service %{name}-fpm stop
2932 /sbin/chkconfig --del %{name}-fpm
2933 %if %{with alternatives}
2934 update-alternatives --remove php-fpm %{_sbindir}/php-fpm || :
2939 if [ "$1" = "0" ]; then
2943 %post embedded -p /sbin/ldconfig
2944 %postun embedded -p /sbin/ldconfig
2947 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2948 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2950 . /etc/sysconfig/timezone
2951 if [ "$TIMEZONE" ]; then
2952 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2956 # minimizing apache restarts logics. we restart webserver:
2958 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2959 # 2. first install of extension (post: $1 = 1)
2960 # 2. uninstall of extension (postun: $1 == 0)
2962 # the strict internal deps between extensions (and apache modules) and
2963 # common package are very important for all this to work.
2965 # restart webserver at the end of transaction
2966 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2967 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2969 %triggerpostun common -- %{name}-common < 4:5.6.4-2, php-common < 4:5.6.4-2
2970 # migrate configs /etc/php/conf.d -> /etc/phpXY/conf.d/
2971 # do config migration in php-common trigger, as the trigger is ran after all packages are upgraded
2972 # this way we can stick to one trigger, instead of attaching one for each (sub)package!
2973 for f in /etc/php/*.ini.rpmsave /etc/php/*.d/*.ini.rpmsave; do
2974 test -f "$f" || continue
2978 test "$dn" = "$fn" && dn=
2980 nf=%{_sysconfdir}/$dn/$fn
2981 test -f "$nf" || continue
2982 cp -vfb $nf{,.rpmnew}
2985 s#%{_libdir}/php#%{_libdir}/%{name}#
2986 s#/etc/php#%{_sysconfdir}#
2989 # switch to browscap package if the ini file has original value
2990 %{__sed} -i -e 's#%{_sysconfdir}/browscap.ini#/usr/share/browscap/php_browscap.ini#' %{_sysconfdir}/php.ini
2991 # disable browscap, if optional package not present
2992 if [ ! -e /usr/share/browscap/php_browscap.ini ]; then
2993 %{__sed} -i -e 's#^browscap = /usr/share/browscap/php_browscap.ini#;&#' %{_sysconfdir}/php.ini
2996 %triggerpostun -n apache1-mod_%{name} -- apache1-mod_%{name} < 4:5.6.14-2
2997 sed -i -e 's#modules/libphp5.so#modules/mod_php.so#g' /etc/apache/conf.d/*_mod_php.conf
2999 %triggerpostun -n apache-mod_%{name} -- apache-mod_%{name} < 4:5.6.14-2
3000 sed -i -e 's#modules/libphp[57].so#modules/mod_php.so#g' /etc/httpd/conf.d/*_mod_php.conf
3002 # common macros called at extension post/postun scriptlet
3004 if [ "$1" = "1" ]; then \
3005 %php_webserver_restart \
3009 %define ext_postun \
3010 if [ "$1" = "0" ]; then \
3011 %php_webserver_restart \
3015 %define extension_scripts() \
3023 # extension scripts defines
3024 %extension_scripts bcmath
3025 %extension_scripts bz2
3026 %extension_scripts calendar
3027 %extension_scripts ctype
3028 %extension_scripts curl
3029 %extension_scripts dba
3030 %extension_scripts dom
3031 %extension_scripts enchant
3032 %extension_scripts exif
3033 %extension_scripts fileinfo
3034 %extension_scripts filter
3035 %extension_scripts ftp
3036 %extension_scripts gd
3037 %extension_scripts gettext
3038 %extension_scripts gmp
3039 %extension_scripts hash
3040 %extension_scripts iconv
3041 %extension_scripts imap
3042 %extension_scripts interbase
3043 %extension_scripts intl
3044 %extension_scripts json
3045 %extension_scripts ldap
3046 %extension_scripts mbstring
3047 %extension_scripts mcrypt
3048 %extension_scripts mssql
3049 %extension_scripts mysql
3050 %extension_scripts mysqli
3051 %extension_scripts mysqlnd
3052 %extension_scripts oci8
3053 %extension_scripts odbc
3054 %extension_scripts opcache
3055 %extension_scripts openssl
3056 %extension_scripts pcre
3057 %extension_scripts pdo
3058 %extension_scripts pdo-dblib
3059 %extension_scripts pdo-firebird
3060 %extension_scripts pdo-oci
3061 %extension_scripts pdo-mysql
3062 %extension_scripts pdo-odbc
3063 %extension_scripts pdo-pgsql
3064 %extension_scripts pdo-sqlite
3065 %extension_scripts pgsql
3066 %extension_scripts pcntl
3067 %extension_scripts posix
3068 %extension_scripts pspell
3069 %extension_scripts recode
3070 %extension_scripts session
3071 %extension_scripts shmop
3072 %extension_scripts simplexml
3073 %extension_scripts snmp
3074 %extension_scripts soap
3075 %extension_scripts sockets
3076 %extension_scripts spl
3077 %extension_scripts sqlite3
3078 %extension_scripts sybase-ct
3079 %extension_scripts sysvmsg
3080 %extension_scripts sysvsem
3081 %extension_scripts sysvshm
3082 %extension_scripts tidy
3083 %extension_scripts tokenizer
3084 %extension_scripts wddx
3085 %extension_scripts xml
3086 %extension_scripts xmlreader
3087 %extension_scripts xmlrpc
3088 %extension_scripts xmlwriter
3089 %extension_scripts xsl
3090 %extension_scripts zip
3091 %extension_scripts zlib
3095 %if %{with alternatives}
3096 update-alternatives \
3097 --install %{_bindir}/phar phar %{_bindir}/phar%{ver_suffix}.phar %{ver_suffix} \
3098 --slave %{_mandir}/man1/phar.1 phar.1 %{_mandir}/man1/phar%{ver_suffix}.1* || :
3103 %if %{with alternatives}
3104 if [ $1 -eq 0 ]; then
3105 update-alternatives --remove phar %{_bindir}/phar || :
3110 %files -n apache1-mod_%{name}
3111 %defattr(644,root,root,755)
3112 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
3113 %dir %{_sysconfdir}/apache.d
3114 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
3115 %attr(755,root,root) %{_libdir}/apache1/mod_php.so
3116 %attr(755,root,root) %{_libdir}/apache1/libphp5-*.*.so
3120 %files -n apache-mod_%{name}
3121 %defattr(644,root,root,755)
3122 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
3123 %attr(755,root,root) %{_libdir}/apache/mod_php.so
3125 %files -n apache-mod_%{name}-core
3126 %defattr(644,root,root,755)
3127 %dir %{_sysconfdir}/apache2handler.d
3128 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
3129 %attr(755,root,root) %{_libdir}/apache/libphp5-*.*.so
3132 %if %{with litespeed}
3134 %defattr(644,root,root,755)
3135 %attr(755,root,root) %{_sbindir}/%{name}.litespeed
3140 %defattr(644,root,root,755)
3141 %dir %{_sysconfdir}/cgi-fcgi.d
3142 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
3143 %attr(755,root,root) %{_bindir}/%{name}.cgi
3144 %attr(755,root,root) %{_bindir}/%{name}.fcgi
3149 %defattr(644,root,root,755)
3150 %attr(755,root,root) %{_libdir}/libphp5.so
3154 %defattr(644,root,root,755)
3155 %dir %{_sysconfdir}/cli.d
3156 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
3157 %attr(755,root,root) %{_bindir}/php%{ver_suffix}
3158 %{_mandir}/man1/php%{ver_suffix}.1*
3161 %defattr(644,root,root,755)
3162 %attr(755,root,root) %{_bindir}/php
3163 %{_mandir}/man1/php.1*
3167 %defattr(644,root,root,755)
3168 %doc sapi/fpm/{CREDITS,LICENSE}
3169 %dir %{_sysconfdir}/fpm.d
3170 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
3171 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.d/www.conf
3172 %attr(755,root,root) %{_sbindir}/%{name}-fpm
3173 %if %{with alternatives}
3174 %ghost %{_sbindir}/php-fpm
3176 %{_mandir}/man8/%{name}-fpm.8*
3177 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
3178 %attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
3183 %defattr(644,root,root,755)
3184 %attr(755,root,root) %{_bindir}/phpdbg%{php_suffix}
3185 %{_mandir}/man1/phpdbg%{php_suffix}.1*
3190 %defattr(644,root,root,755)
3191 %attr(755,root,root) %{_bindir}/php-milter
3195 %defattr(644,root,root,755)
3196 %doc CREDITS EXTENSIONS LICENSE NEWS README.namespaces UPGRADING* Zend/{LICENSE.Zend,ZEND_CHANGES} php.ini-* .gdbinit
3198 %dir %{_sysconfdir}/conf.d
3199 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
3200 %if %{with apache1} || %{with apache2}
3201 %attr(755,root,root) %{_libdir}/libphp_common-*.so
3203 %dir %{php_extensiondir}
3205 %doc ext/session/mod_files.sh
3208 %defattr(644,root,root,755)
3209 %doc CODING_STANDARDS README.{EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
3210 %attr(755,root,root) %{_bindir}/phpize
3211 %attr(755,root,root) %{_bindir}/php-config
3212 %if %{with apache1} || %{with apache2}
3213 %attr(755,root,root) %{_libdir}/libphp_common.so
3215 %attr(755,root,root) %{_libdir}/libphp_common.a
3217 %{_libdir}/libphp_common.la
3219 %{_libdir}/%{name}/build
3220 %{_mandir}/man1/php-config.1*
3221 %{_mandir}/man1/phpize.1*
3225 %defattr(644,root,root,755)
3226 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
3227 %attr(755,root,root) %{php_extensiondir}/bcmath.so
3232 %defattr(644,root,root,755)
3233 %doc ext/bz2/CREDITS
3234 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
3235 %attr(755,root,root) %{php_extensiondir}/bz2.so
3238 %if %{with calendar}
3240 %defattr(644,root,root,755)
3241 %doc ext/calendar/CREDITS
3242 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
3243 %attr(755,root,root) %{php_extensiondir}/calendar.so
3248 %defattr(644,root,root,755)
3249 %doc ext/calendar/CREDITS
3250 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
3251 %attr(755,root,root) %{php_extensiondir}/ctype.so
3256 %defattr(644,root,root,755)
3257 %doc ext/curl/CREDITS
3258 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
3259 %attr(755,root,root) %{php_extensiondir}/curl.so
3264 %defattr(644,root,root,755)
3265 %doc ext/dba/{CREDITS,README}
3266 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
3267 %attr(755,root,root) %{php_extensiondir}/dba.so
3272 %defattr(644,root,root,755)
3273 %doc ext/dom/{CREDITS,TODO}
3274 %doc ext/dom/examples
3275 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
3276 %attr(755,root,root) %{php_extensiondir}/dom.so
3281 %defattr(644,root,root,755)
3282 %doc ext/enchant/{CREDITS,docs/examples}
3283 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/enchant.ini
3284 %attr(755,root,root) %{php_extensiondir}/enchant.so
3289 %defattr(644,root,root,755)
3290 %doc ext/exif/CREDITS
3291 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
3292 %attr(755,root,root) %{php_extensiondir}/exif.so
3295 %if %{with fileinfo}
3297 %defattr(644,root,root,755)
3298 %doc ext/fileinfo/CREDITS
3299 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
3300 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
3305 %defattr(644,root,root,755)
3306 %doc ext/filter/{CREDITS,docs/*}
3307 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
3308 %attr(755,root,root) %{php_extensiondir}/filter.so
3313 %defattr(644,root,root,755)
3314 %doc ext/ftp/CREDITS
3315 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
3316 %attr(755,root,root) %{php_extensiondir}/ftp.so
3321 %defattr(644,root,root,755)
3323 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
3324 %attr(755,root,root) %{php_extensiondir}/gd.so
3329 %defattr(644,root,root,755)
3330 %doc ext/gettext/CREDITS
3331 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
3332 %attr(755,root,root) %{php_extensiondir}/gettext.so
3337 %defattr(644,root,root,755)
3338 %doc ext/gmp/{CREDITS,README,TODO}
3339 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
3340 %attr(755,root,root) %{php_extensiondir}/gmp.so
3345 %defattr(644,root,root,755)
3346 %doc ext/hash/{CREDITS,README}
3347 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
3348 %attr(755,root,root) %{php_extensiondir}/hash.so
3353 %defattr(644,root,root,755)
3354 %doc ext/iconv/CREDITS
3355 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
3356 %attr(755,root,root) %{php_extensiondir}/iconv.so
3361 %defattr(644,root,root,755)
3362 %doc ext/imap/CREDITS
3363 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
3364 %attr(755,root,root) %{php_extensiondir}/imap.so
3367 %if %{with interbase}
3369 %defattr(644,root,root,755)
3370 %doc ext/interbase/CREDITS
3371 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
3372 %attr(755,root,root) %{php_extensiondir}/interbase.so
3377 %defattr(644,root,root,755)
3378 %doc ext/intl/{CREDITS,TODO}
3379 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
3380 %attr(755,root,root) %{php_extensiondir}/intl.so
3385 %defattr(644,root,root,755)
3386 %doc ext/json/CREDITS
3387 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
3388 %attr(755,root,root) %{php_extensiondir}/json.so
3393 %defattr(644,root,root,755)
3394 %doc ext/ldap/CREDITS
3395 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
3396 %attr(755,root,root) %{php_extensiondir}/ldap.so
3399 %if %{with mbstring}
3401 %defattr(644,root,root,755)
3402 %doc ext/mbstring/{CREDITS,README*}
3403 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
3404 %attr(755,root,root) %{php_extensiondir}/mbstring.so
3409 %defattr(644,root,root,755)
3410 %doc ext/mcrypt/{CREDITS,TODO}
3411 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
3412 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
3417 %defattr(644,root,root,755)
3418 %doc ext/mssql/CREDITS
3419 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
3420 %attr(755,root,root) %{php_extensiondir}/mssql.so
3425 %defattr(644,root,root,755)
3426 %doc ext/mysql/CREDITS
3427 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
3428 %attr(755,root,root) %{php_extensiondir}/mysql.so
3433 %defattr(644,root,root,755)
3434 %doc ext/mysqli/{CREDITS,TODO}
3435 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
3436 %attr(755,root,root) %{php_extensiondir}/mysqli.so
3441 %defattr(644,root,root,755)
3442 %doc ext/mysqlnd/CREDITS
3443 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
3444 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
3449 %defattr(644,root,root,755)
3450 %doc ext/oci8/{CREDITS,README}
3451 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
3452 %attr(755,root,root) %{php_extensiondir}/oci8.so
3457 %defattr(644,root,root,755)
3458 %doc ext/odbc/CREDITS
3459 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
3460 %attr(755,root,root) %{php_extensiondir}/odbc.so
3465 %defattr(644,root,root,755)
3466 %doc ext/opcache/README
3467 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/opcache.ini
3468 %attr(755,root,root) %{php_extensiondir}/opcache.so
3473 %defattr(644,root,root,755)
3474 %doc ext/openssl/{CREDITS,README}
3475 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
3476 %attr(755,root,root) %{php_extensiondir}/openssl.so
3481 %defattr(644,root,root,755)
3482 %doc ext/pcntl/{CREDITS,README}
3483 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
3484 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3489 %defattr(644,root,root,755)
3490 %doc ext/pcre/CREDITS
3491 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
3492 %attr(755,root,root) %{php_extensiondir}/pcre.so
3497 %defattr(644,root,root,755)
3498 %doc ext/pdo/{CREDITS,README,TODO}
3499 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
3500 %attr(755,root,root) %{php_extensiondir}/pdo.so
3503 %if %{with pdo_dblib}
3505 %defattr(644,root,root,755)
3506 %doc ext/pdo_dblib/{CREDITS,README}
3507 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
3508 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3511 %if %{with interbase} && !%{with interbase_inst}
3513 %defattr(644,root,root,755)
3514 %doc ext/pdo_firebird/CREDITS
3515 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
3516 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3519 %if %{with pdo_mysql}
3521 %defattr(644,root,root,755)
3522 %doc ext/pdo_mysql/CREDITS
3523 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
3524 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3529 %defattr(644,root,root,755)
3530 %doc ext/pdo_oci/CREDITS
3531 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
3532 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3537 %defattr(644,root,root,755)
3538 %doc ext/pdo_odbc/CREDITS
3539 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3540 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3545 %defattr(644,root,root,755)
3546 %doc ext/pdo_pgsql/CREDITS
3547 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3548 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3551 %if %{with pdo_sqlite}
3553 %defattr(644,root,root,755)
3554 %doc ext/pdo_sqlite/CREDITS
3555 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3556 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3561 %defattr(644,root,root,755)
3562 %doc ext/pgsql/{CREDITS,README}
3563 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3564 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3569 %defattr(644,root,root,755)
3570 %doc ext/phar/{CREDITS,TODO}
3571 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
3572 %attr(755,root,root) %{php_extensiondir}/phar.so
3573 %attr(755,root,root) %{_bindir}/phar%{php_suffix}.phar
3574 %{_mandir}/man1/phar%{php_suffix}.1*
3575 %{_mandir}/man1/phar.phar.1*
3576 %if %{with alternatives}
3577 %ghost %{_bindir}/phar
3578 %ghost %{_mandir}/man1/phar.1
3580 %attr(755,root,root) %{_bindir}/phar
3586 %defattr(644,root,root,755)
3587 %doc ext/posix/CREDITS
3588 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3589 %attr(755,root,root) %{php_extensiondir}/posix.so
3594 %defattr(644,root,root,755)
3595 %doc ext/pspell/{CREDITS,README}
3596 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3597 %attr(755,root,root) %{php_extensiondir}/pspell.so
3600 %if %{with readline}
3602 %defattr(644,root,root,755)
3603 %doc ext/readline/{CREDITS,README*}
3604 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3605 %attr(755,root,root) %{php_extensiondir}/readline.so
3610 %defattr(644,root,root,755)
3611 %doc ext/recode/CREDITS
3612 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3613 %attr(755,root,root) %{php_extensiondir}/recode.so
3618 %defattr(644,root,root,755)
3619 %doc ext/session/CREDITS
3620 %doc ext/session/mod_files.sh
3621 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3622 %attr(755,root,root) %{php_extensiondir}/session.so
3626 %defattr(644,root,root,755)
3627 %doc ext/shmop/{CREDITS,README}
3628 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3629 %attr(755,root,root) %{php_extensiondir}/shmop.so
3632 %defattr(644,root,root,755)
3633 %doc ext/simplexml/{CREDITS,README}
3634 %doc ext/simplexml/examples
3635 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3636 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3640 %defattr(644,root,root,755)
3641 %doc ext/snmp/CREDITS
3642 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3643 %attr(755,root,root) %{php_extensiondir}/snmp.so
3647 %defattr(644,root,root,755)
3648 %doc ext/soap/{CREDITS,TODO*}
3649 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3650 %attr(755,root,root) %{php_extensiondir}/soap.so
3653 %defattr(644,root,root,755)
3654 %doc ext/sockets/CREDITS
3655 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3656 %attr(755,root,root) %{php_extensiondir}/sockets.so
3659 %defattr(644,root,root,755)
3660 %doc ext/spl/{CREDITS,README,TODO}
3661 %doc ext/spl/examples
3662 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3663 %attr(755,root,root) %{php_extensiondir}/spl.so
3667 %defattr(644,root,root,755)
3668 %doc ext/sqlite3/CREDITS
3669 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3670 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3673 %if %{with sybase_ct}
3675 %defattr(644,root,root,755)
3676 %doc ext/sybase_ct/CREDITS
3677 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3678 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
3682 %defattr(644,root,root,755)
3683 %doc ext/sysvmsg/CREDITS
3684 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3685 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3688 %defattr(644,root,root,755)
3689 %doc ext/sysvsem/CREDITS
3690 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3691 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3694 %defattr(644,root,root,755)
3695 %doc ext/sysvshm/CREDITS
3696 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3697 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3700 %defattr(644,root,root,755)
3701 %dir %{php_data_dir}/tests
3702 %dir %{php_data_dir}/tests/php
3703 %{php_data_dir}/tests/php/basic
3704 %{php_data_dir}/tests/php/classes
3705 %{php_data_dir}/tests/php/func
3706 %{php_data_dir}/tests/php/lang
3707 %{php_data_dir}/tests/php/output
3708 %{php_data_dir}/tests/php/run-test
3709 %{php_data_dir}/tests/php/security
3710 %{php_data_dir}/tests/php/strings
3711 %{php_data_dir}/tests/php/quicktester.inc
3712 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3716 %defattr(644,root,root,755)
3717 %doc ext/tidy/{CREDITS,README}
3718 %doc ext/tidy/examples
3719 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3720 %attr(755,root,root) %{php_extensiondir}/tidy.so
3724 %defattr(644,root,root,755)
3725 %doc ext/tokenizer/CREDITS
3726 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3727 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3731 %defattr(644,root,root,755)
3732 %doc ext/wddx/CREDITS
3733 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3734 %attr(755,root,root) %{php_extensiondir}/wddx.so
3738 %defattr(644,root,root,755)
3739 %doc ext/xml/CREDITS
3740 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3741 %attr(755,root,root) %{php_extensiondir}/xml.so
3744 %defattr(644,root,root,755)
3745 %doc ext/xmlreader/{CREDITS,README,TODO}
3746 %doc ext/xmlreader/examples
3747 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3748 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3752 %defattr(644,root,root,755)
3753 %doc ext/xmlrpc/CREDITS
3754 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3755 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3759 %defattr(644,root,root,755)
3760 %doc ext/xmlwriter/{CREDITS,TODO}
3761 %doc ext/xmlwriter/examples
3762 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3763 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3766 %defattr(644,root,root,755)
3767 %doc ext/xsl/CREDITS
3768 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3769 %attr(755,root,root) %{php_extensiondir}/xsl.so
3772 %defattr(644,root,root,755)
3773 %doc ext/zip/{CREDITS,TODO}
3774 %doc ext/zip/examples
3775 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3776 %attr(755,root,root) %{php_extensiondir}/zip.so
3779 %defattr(644,root,root,755)
3780 %doc ext/zlib/CREDITS
3781 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3782 %attr(755,root,root) %{php_extensiondir}/zlib.so