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: 6a21894661704641b77ccc40e091eaf9
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 Patch14: %{orgname}-no_pear_install.patch
201 Patch17: %{orgname}-readline.patch
202 Patch18: %{orgname}-nohttpd.patch
203 Patch21: %{orgname}-dba-link.patch
204 Patch22: %{orgname}-both-apxs.patch
205 Patch23: %{orgname}-builddir.patch
206 Patch24: %{orgname}-zlib-for-getimagesize.patch
207 Patch25: %{orgname}-stupidapache_version.patch
208 Patch26: %{orgname}-pear.patch
209 Patch27: %{orgname}-config-dir.patch
210 Patch29: %{orgname}-fcgi-graceful.patch
211 Patch31: %{orgname}-fcgi-error_log-no-newlines.patch
212 Patch34: %{orgname}-libtool.patch
213 Patch35: %{orgname}-tds.patch
214 Patch36: %{orgname}-mysql-charsetphpini.patch
215 Patch37: %{orgname}-mysqli-charsetphpini.patch
216 Patch38: %{orgname}-pdo_mysql-charsetphpini.patch
217 Patch39: %{orgname}-use-prog_sendmail.patch
218 Patch41: %{orgname}-fpm-config.patch
219 Patch42: %{orgname}-fpm-shared.patch
220 Patch43: %{orgname}-silent-session-cleanup.patch
221 Patch44: %{orgname}-include_path.patch
222 Patch45: %{orgname}-imap-annotations.patch
223 Patch46: %{orgname}-imap-myrights.patch
224 Patch47: suhosin.patch
225 Patch50: extension-shared-optional-dep.patch
226 Patch51: spl-shared.patch
227 Patch52: pcre-shared.patch
228 Patch53: fix-test-run.patch
229 Patch55: bug-52078-fileinode.patch
230 Patch59: %{orgname}-systzdata.patch
231 Patch60: %{orgname}-oracle-instantclient.patch
232 Patch62: mcrypt-libs.patch
233 Patch65: system-libzip.patch
234 Patch66: php-db.patch
235 Patch67: mysql-lib-ver-mismatch.patch
237 Patch69: fpm-conf-split.patch
238 Patch70: mysqlnd-ssl.patch
239 Patch72: phar-hash-shared.patch
240 Patch73: php-pdo-ssl.patch
242 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
243 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
244 BuildRequires: autoconf >= 2.59
245 BuildRequires: automake >= 1.4d
247 BuildRequires: bzip2-devel >= 1.0.0
248 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
249 BuildRequires: cyrus-sasl-devel >= 2
250 BuildRequires: db-devel >= 4.0
251 BuildRequires: elfutils-devel
252 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
253 %{?with_kerberos5:BuildRequires: heimdal-devel}
254 %{?with_system_libzip:BuildRequires: libzip-devel >= 0.10.1-2}
255 %{!?with_mysqlnd:BuildRequires: mysql-devel}
256 BuildRequires: pkgconfig
257 BuildRequires: sed >= 4.0
258 %if %{with mssql} || %{with sybase_ct} || %{with pdo_dblib}
259 BuildRequires: freetds-devel >= 0.82
261 BuildRequires: freetype-devel >= 1:2.5.1
262 %if %{with system_gd}
263 BuildRequires: gd-devel >= 2.1
265 BuildRequires: gdbm-devel
266 BuildRequires: gmp-devel >= 4.1.2
267 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
268 %{?with_intl:BuildRequires: libicu-devel >= 4.4}
269 BuildRequires: libjpeg-devel
270 BuildRequires: libltdl-devel >= 1.4
271 BuildRequires: libmcrypt-devel >= 2.5.6
272 BuildRequires: libpng-devel >= 1.0.8
273 %{?with_intl:BuildRequires: libstdc++-devel}
274 %{?with_webp:BuildRequires: libvpx-devel}
275 BuildRequires: tokyocabinet-devel
276 %if "%{pld_release}" != "ac"
277 BuildRequires: libtool >= 2:2.4.6
279 BuildRequires: libtool >= 1.4.3
281 BuildRequires: libxml2-devel >= 1:2.7.6-4
282 BuildRequires: libxslt-devel >= 1.1.0
283 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
284 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
285 %if %{with openssl} || %{with ldap}
286 BuildRequires: openssl-devel >= 0.9.7d
288 %{?with_gcov:BuildRequires: lcov}
289 %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
290 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
291 %{?with_oci:%{?with_instantclient:BuildRequires: oracle-instantclient-devel}}
292 BuildRequires: pam-devel
293 %{?with_pcre:BuildRequires: pcre-devel >= 8.10}
294 BuildRequires: pkgconfig
295 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
296 %{?with_pgsql:BuildRequires: postgresql-devel}
297 BuildRequires: readline-devel
298 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
299 BuildRequires: rpm >= 4.4.9-56
300 BuildRequires: rpm-build >= 4.4.0
301 BuildRequires: rpmbuild(macros) >= 1.566
302 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
303 BuildRequires: tar >= 1:1.22
305 %if %{with sqlite3} || %{with pdo_sqlite}
306 BuildRequires: sqlite3-devel >= 3.3.9
308 BuildRequires: t1lib-devel
309 %{?with_tidy:BuildRequires: tidy-devel}
310 %{?with_odbc:BuildRequires: unixODBC-devel}
311 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
312 BuildRequires: zlib-devel >= 1.0.9
314 BuildRequires: apache1-devel
317 BuildRequires: apache-devel >= 2.0.52-2
318 BuildRequires: apr-devel >= 1:1.0.0
319 BuildRequires: apr-util-devel >= 1:1.0.0
321 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
323 %define php_sysconfdir /etc/%{name}
324 %define php_extensiondir %{_libdir}/%{name}
325 %define _sysconfdir %{php_sysconfdir}
327 # must be in sync with source. extra check ensuring that it is so is done in %%build
328 %define php_api_version 20131106
329 %define zend_module_api 20131226
330 %define zend_extension_api 220131226
331 %define php_pdo_api_version 20080721
335 %define enchantver 1.1.0
336 %define fileinfover 1.0.5
338 %define intlver 1.1.0
339 %define jsonver 1.2.1
340 %define opcachever 7.0.6-dev
341 %define pharver 2.0.2
342 %define sqlite3ver 0.7-dev
343 %define zipver 1.12.5
344 %define phpdbgver 0.4.0
346 %define _zend_zts %{!?with_zts:0}%{?with_zts:1}
347 %define php_debug %{!?with_debug:0}%{?with_debug:1}
350 %undefine with_ccache
354 # ORACLE_HOME is required for oci8 ext to build
355 %define _preserve_env %_preserve_env_base ORACLE_HOME
359 PHP is an HTML-embedded scripting language. PHP attempts to make it
360 easy for developers to write dynamically generated web pages. PHP also
361 offers built-in database integration for several commercial and
362 non-commercial database management systems, so writing a
363 database-enabled web page with PHP is fairly simple. The most common
364 use of PHP coding is probably as a replacement for CGI scripts. The
365 mod_php module enables the Apache web server to understand and process
366 the embedded PHP language in web pages. This package contains PHP
369 %description -l fr.UTF-8
370 PHP est un langage de script embarque dans le HTM. PHP essaye de
371 rendre simple aux developpeurs d'ecrire des pages web generees
372 dynamiquement. PHP incorpore egalement une integration avec plusieurs
373 systemes de gestion de bases de donnees commerciaux et
374 non-connerciaux, qui rent facile la creation de pages web liees avec
375 des bases de donnees. L'utilisation la plus commune de PHP est
376 probablement en remplacement de scripts CGI. Le module mod_php permet
377 au serveur web Apache de comprendre et de traiter le langage PHP
378 integre dans des pages web. Ce package contient PHP version
381 %description -l pl.UTF-8
382 PHP jest językiem skryptowym, którego polecenia umieszcza się w
383 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
384 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
385 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
386 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
387 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
388 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
389 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
392 %description -l pt_BR.UTF-8
393 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
394 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
395 com algumas características únicas, específicas ao PHP. O objetivo da
396 linguagem é permitir que desenvolvedores web escrevam páginas
397 dinamicamente geradas de forma rápida.
399 %description -l ru.UTF-8
400 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
401 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
402 для работы с базами данных относительно просто. Наиболее популярное
403 использование PHP - замена для CGI скриптов.
405 %description -l uk.UTF-8
406 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
407 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
408 роботи з базами даних є доволі простим. Найбільш популярне
409 використання PHP - заміна для CGI скриптів.
411 %package -n apache1-mod_%{name}
412 Summary: PHP DSO module for Apache 1.3.x
413 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x
414 Group: Development/Languages/PHP
415 Requires: %{name}-common = %{epoch}:%{version}-%{release}
416 Requires: apache1(EAPI) >= 1.3.33-2
417 Requires: apache1-mod_mime
418 Provides: webserver(php) = %{version}
419 Obsoletes: apache-mod_php < 1:4.1.1
420 Obsoletes: apache1-mod_php < 4:5.3.28-7
423 %description -n apache1-mod_%{name}
424 PHP as DSO module for Apache 1.3.x.
426 %description -n apache1-mod_%{name} -l pl.UTF-8
427 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x.
429 %package -n apache-mod_%{name}
430 Summary: PHP support for Apache 2.x
431 Summary(pl.UTF-8): Wsparcie PHP dla Apache 2.x
432 Group: Development/Languages/PHP
433 Requires: apache-mod_%{name}-core = %{epoch}:%{version}-%{release}
434 Requires: %{name}-common = %{epoch}:%{version}-%{release}
435 Provides: webserver(php) = %{version}
436 Obsoletes: apache-mod_php < 4:5.3.28-7
439 %description -n apache-mod_%{name}
440 PHP support for Apache 2.x.
442 %description -n apache-mod_%{name} -l pl.UTF-8
443 Wsparcie PHP dla Apache 2.x.
445 %package -n apache-mod_%{name}-core
446 Summary: PHP DSO module for Apache 2.x
447 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
448 Group: Development/Languages/PHP
449 Requires: %{name}-common = %{epoch}:%{version}-%{release}
450 Requires: apache(modules-api) = %{apache_modules_api}
451 Requires: apache-mod_mime
453 %description -n apache-mod_%{name}-core
454 PHP as DSO module for Apache 2.x.
456 %description -n apache-mod_%{name}-core -l pl.UTF-8
457 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
460 Summary: PHP for litespeed HTTP server
461 Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
462 Group: Development/Languages/PHP
463 Requires: %{name}-common = %{epoch}:%{version}-%{release}
464 Provides: php(litespeed)
465 Provides: webserver(php) = %{version}
466 Obsoletes: php-litespeed < 4:5.3.28-7
468 %description litespeed
469 PHP for litespeed HTTP server.
471 %description litespeed -l pl.UTF-8
472 PHP dla serwera HTTP litespeed.
475 Summary: PHP as CGI/FastCGI program
476 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
477 Group: Development/Languages/PHP
478 Requires: %{name}-common = %{epoch}:%{version}-%{release}
479 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
482 Provides: webserver(php) = %{version}
483 Obsoletes: php-cgi < 4:5.3.28-7
484 Obsoletes: php-fcgi < 4:5.3.0
487 PHP as CGI or FastCGI program.
489 %description cgi -l pl.UTF-8
490 PHP jako program CGI lub FastCGI.
493 Summary: PHP as CLI interpreter
494 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
495 Group: Development/Languages/PHP
496 Requires: %{name}-common = %{epoch}:%{version}-%{release}
497 Obsoletes: php-cli < 4:5.3.28-7
500 PHP as CLI interpreter.
502 %description cli -l pl.UTF-8
503 PHP jako interpreter działający z linii poleceń.
506 Summary: PHP library for embedding in applications
507 Summary(pl.UTF-8): Biblioteka PHP do osadzania w aplikacjach
509 Requires: %{name}-common = %{epoch}:%{version}-%{release}
510 Obsoletes: php-embedded < 4:5.3.28-7
512 %description embedded
513 The php-embedded package contains a library which can be embedded into
514 applications to provide PHP scripting language support.
516 %description embedded -l pl.UTF-8
517 Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
518 celu obsługi PHP jako języka skryptowego.
521 Summary: /usr/bin/php symlink
522 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
523 Group: Development/Languages/PHP
524 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
525 Obsoletes: /usr/bin/php
526 Obsoletes: php-program < 4:5.3.28-7
529 Package providing /usr/bin/php symlink to PHP CLI.
531 %description program -l pl.UTF-8
532 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
535 Summary: PHP FastCGI Process Manager
536 Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
537 Group: Development/Languages/PHP
538 URL: http://php-fpm.org/
539 Requires(post,preun): /sbin/chkconfig
540 Requires(postun): /usr/sbin/userdel
541 Requires(pre): /bin/id
542 Requires(pre): /usr/sbin/useradd
543 Requires: %{name}-common = %{epoch}:%{version}-%{release}
544 %{?with_alternatives:Requires: alternatives}
545 Requires: php-dirs >= 1.4-2
550 Provides: webserver(php) = %{version}
551 Obsoletes: php-fpm < 4:5.3.28-7
552 %if "%{pld_release}" != "ac"
553 Conflicts: logrotate < 3.8.0
557 PHP FastCGI Process Manager.
559 %description fpm -l pl.UTF-8
560 PHP FastCGI Process Manager - zarządca procesów FastCGI.
563 Summary: The debugging platform for PHP 5.4+
564 Summary(pl.UTF-8): Platforma diagnostyczna dla PHP 5.4+
565 Group: Development/Languages/PHP
566 Requires: %{name}-common = %{epoch}:%{version}-%{release}
567 Provides: php(phpdbg) = %{phpdbgver}
570 phpdbg - The interactive PHP debugger.
572 Implemented as a SAPI module, phpdbg can excert complete control over
573 the environment without impacting the functionality or performance of
576 phpdbg aims to be a lightweight, powerful, easy to use debugging
577 platform for PHP 5.4+
579 %description phpdbg -l pl.UTF-8
580 phpdbg - interaktywny debugger dla PHP.
582 Jest zaimplementowany jako moduł SAPI, potrafi przejąć pełną kontrolę
583 nad środowiskiem bez wpływu na zachowanie lub wydajność kodu.
585 Narzędzie powstało jako lekka, mająca duże możliwości, łatwa w użyciu
586 platforma diagnostyczna dla PHP 5.4+.
589 Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
590 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
591 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
592 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
594 Requires(post): sed >= 4.0
595 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
596 Requires: glibc >= 6:2.3.5
597 Requires: php-dirs >= 1.4
598 Requires: rpm-whiteout >= 1.28
600 Provides: %{name}(debug) = %{php_debug}
601 Provides: %{name}(modules_api) = %{php_api_version}
602 Provides: %{name}(thread-safety) = %{_zend_zts}
603 Provides: %{name}(zend_extension_api) = %{zend_extension_api}
604 Provides: %{name}(zend_module_api) = %{zend_module_api}
605 Provides: %{name}-core
606 Provides: %{name}-date
607 %{?with_ereg:Provides: %{name}-ereg}
608 Provides: %{name}-reflection
609 Provides: %{name}-standard
610 Provides: php(core) = %{version}
612 %{?with_ereg:Provides: php(ereg)}
613 Provides: php(libxml)
614 Provides: php(reflection)
615 Provides: php(standard)
616 %{!?with_mysqlnd:Obsoletes: %{name}-mysqlnd}
617 %{?with_pcre:%requires_ge_to pcre pcre-devel}
619 Obsoletes: php-common < 4:5.3.28-7
621 Obsoletes: php-filepro < 4:5.2.0
622 Obsoletes: php-hwapi < 4:5.2.0
623 Obsoletes: php-hyperwave < 3:5.0.0
624 Obsoletes: php-java < 3:5.0.0
625 Obsoletes: php-mcal < 3:5.0.0
626 Obsoletes: php-pecl-domxml
627 Obsoletes: php-qtdom < 3:5.0.0
628 Conflicts: php4-common < 3:4.4.4-8
629 Conflicts: php55-common < 4:5.5.10-4
630 Conflicts: rpm < 4.4.2-0.2
633 Common files needed by both Apache modules and CGI/CLI SAPIs.
635 %description common -l pl.UTF-8
636 Wspólne pliki dla modułu Apache'a i programu CGI.
638 %description common -l ru.UTF-8
639 Этот пакет содержит общие файлы для разных вариантов реализации PHP
640 (самодостаточной и в качестве модуля Apache).
642 %description common -l uk.UTF-8
643 Цей пакет містить спільні файли для різних варіантів реалізації PHP
644 (самодостатньої та в якості модуля Apache).
647 Summary: Files for PHP modules development
648 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
649 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
650 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
651 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
652 Group: Development/Languages/PHP
653 Requires: %{name}-common = %{epoch}:%{version}-%{release}
654 Requires: autoconf >= 2.13
656 %if "%{pld_release}" != "ac"
657 Requires: libtool >= 2:2.4.6
661 %{?with_pcre:Requires: pcre-devel >= 8.10}
663 Provides: php-devel = %{epoch}:%{version}-%{release}
665 Obsoletes: php-pear-devel
666 Obsoletes: php4-devel
667 Obsoletes: php52-devel
668 Obsoletes: php53-devel
669 Obsoletes: php54-devel
670 Obsoletes: php55-devel
671 Obsoletes: php70-devel
672 Obsoletes: php71-devel
673 Obsoletes: php72-devel
676 The php-devel package lets you compile dynamic extensions to PHP.
677 Included here is the source for the PHP extensions. Instead of
678 recompiling the whole PHP binary to add support for, say, oracle,
679 install this package and use the new self-contained extensions
680 support. For more information, read the file
681 README.SELF-CONTAINED-EXTENSIONS.
683 %description devel -l pl.UTF-8
684 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
685 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
686 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
687 samodzielnych rozszerzeniach można znaleźć w pliku
688 README.SELF-CONTAINED-EXTENSIONS.
690 %description devel -l pt_BR.UTF-8
691 Este pacote contém arquivos usados no desenvolvimento de programas ou
694 %description devel -l ru.UTF-8
695 Пакет php-devel дает возможность компилировать динамические расширения
696 PHP. Пакет включает исходный код этих расширений. Вместо повторной
697 компиляции бинарного файла PHP для добавления, например, поддержки
698 oracle, установите этот пакет для компилирования отдельных расширений.
699 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
701 %description devel -l uk.UTF-8
702 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
703 До пакету включено вихідний код для розширень. Замість повторної
704 компіляції бінарного файлу PHP для додання, наприклад, підтримки
705 oracle, встановіть цей пакет для компіляції окремих розширень.
706 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
709 Summary: bcmath extension module for PHP
710 Summary(pl.UTF-8): Moduł bcmath dla PHP
712 URL: http://php.net/manual/en/book.bc.php
713 Requires: %{name}-common = %{epoch}:%{version}-%{release}
714 Provides: php(bcmath)
715 Obsoletes: php-bcmath < 4:5.3.28-7
718 This is a dynamic shared object (DSO) for PHP that will add bc style
719 precision math functions support.
721 %description bcmath -l pl.UTF-8
722 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
723 matematycznych takich jak w programie bc.
726 Summary: Bzip2 extension module for PHP
727 Summary(pl.UTF-8): Moduł bzip2 dla PHP
729 URL: http://php.net/manual/en/book.bzip2.php
730 Requires: %{name}-common = %{epoch}:%{version}-%{release}
731 Requires: bzip2-libs >= 1.0.0
732 Provides: php(bz2) = %{bz2ver}
734 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
735 Obsoletes: php-bz2 < 4:5.3.28-7
736 Obsoletes: php-bzip2 < 4:5.2.14-3
737 Obsoletes: php-pecl-bz2 < %{bz2ver}
740 This is a dynamic shared object (DSO) for PHP that will add bzip2
741 compression support to PHP.
743 %description bz2 -l pl.UTF-8
744 Moduł PHP umożliwiający używanie kompresji bzip2.
747 Summary: Calendar extension module for PHP
748 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
750 URL: http://php.net/manual/en/book.calendar.php
751 Requires: %{name}-common = %{epoch}:%{version}-%{release}
752 Provides: php(calendar)
753 Obsoletes: php-calendar < 4:5.3.28-7
755 %description calendar
756 This is a dynamic shared object (DSO) for PHP that will add calendar
759 %description calendar -l pl.UTF-8
760 Moduł PHP dodający wsparcie dla kalendarza.
763 Summary: ctype extension module for PHP
764 Summary(pl.UTF-8): Moduł ctype dla PHP
766 URL: http://php.net/manual/en/book.ctype.php
767 Requires: %{name}-common = %{epoch}:%{version}-%{release}
769 Obsoletes: php-ctype < 4:5.3.28-7
772 This is a dynamic shared object (DSO) for PHP that will add ctype
775 %description ctype -l pl.UTF-8
776 Moduł PHP umożliwiający korzystanie z funkcji ctype.
779 Summary: curl extension module for PHP
780 Summary(pl.UTF-8): Moduł curl dla PHP
782 URL: http://php.net/manual/en/book.curl.php
783 Requires: %{name}-common = %{epoch}:%{version}-%{release}
784 Requires: curl-libs >= 7.12.0
786 Obsoletes: php-curl < 4:5.3.28-7
789 This is a dynamic shared object (DSO) for PHP that will add curl
792 %description curl -l pl.UTF-8
793 Moduł PHP umożliwiający korzystanie z biblioteki curl.
796 Summary: DBA extension module for PHP
797 Summary(pl.UTF-8): Moduł DBA dla PHP
799 URL: http://php.net/manual/en/book.dba.php
800 Requires: %{name}-common = %{epoch}:%{version}-%{release}
802 Obsoletes: php-dba < 4:5.3.28-7
803 # withdrawn module of similar functionality but different API
804 Obsoletes: php-db < 3:5.0.0
807 This is a dynamic shared object (DSO) for PHP that will add flat-file
808 databases (DBA) support.
810 %description dba -l pl.UTF-8
811 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
815 Summary: DOM extension module for PHP
816 Summary(pl.UTF-8): Moduł DOM dla PHP
818 URL: http://php.net/manual/en/book.dom.php
819 Requires: %{name}-common = %{epoch}:%{version}-%{release}
821 # it has some compatibility functions
822 Provides: %{name}-domxml = %{epoch}:%{version}-%{release}
823 Provides: php(domxml)
824 Obsoletes: php-dom < 4:5.3.28-7
825 Obsoletes: php-domxml <= 3:4.3.8-1
828 This is a dynamic shared object (DSO) for PHP that will add new DOM
831 %description dom -l pl.UTF-8
832 Moduł PHP dodający nową obsługę DOM.
835 Summary: libenchant binder
836 Summary(pl.UTF-8): dowiązania biblioteki libenchant
838 URL: http://php.net/manual/en/book.enchant.php
839 Requires: %{name}-common = %{epoch}:%{version}-%{release}
840 Provides: php(enchant) = %{enchantver}
841 Obsoletes: php-enchant < 4:5.3.28-7
842 Obsoletes: php-pecl-enchant < %{enchantver}
845 Enchant is a binder for libenchant. Libenchant provides a common API
846 for many spell libraries:
847 - aspell/pspell (intended to replace ispell)
850 - myspell (OpenOffice.org project, mozilla)
851 - uspell (primarily Yiddish, Hebrew, and Eastern European languages) A
852 plugin system allows to add custom spell support.
854 %description enchant -l pl.UTF-8
855 Enchant jest dowiązaniem do biblioteki libenchant, która udostępnia
856 ujednolicone API dla wielu narzędzi sprawdzających pisownię:
857 - aspell/pspell (w zamierzeniu ma zastąpić ispell)
860 - myspell (projekt OpenOffice.org, mozilla)
861 - uspell (głównie Jidysz, Hebrajski oraz języki wschodnioeuropejskie)
862 System wtyczek pozwala na dodanie wsparcia dla kolejnych narzędzi.
865 Summary: exif extension module for PHP
866 Summary(pl.UTF-8): Moduł exif dla PHP
868 URL: http://php.net/manual/en/book.exif.php
869 Requires: %{name}-common = %{epoch}:%{version}-%{release}
871 Obsoletes: php-exif < 4:5.3.28-7
874 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
875 support in image files.
877 %description exif -l pl.UTF-8
878 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
881 Summary: libmagic bindings
882 Summary(pl.UTF-8): Wiązania do libmagic
884 URL: http://php.net/manual/en/book.fileinfo.php
885 Requires: %{name}-common = %{epoch}:%{version}-%{release}
886 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
887 Provides: php(fileinfo) = %{fileinfover}
888 Obsoletes: php-fileinfo < 4:5.3.28-7
889 Obsoletes: php-mime_magic
890 Obsoletes: php-pecl-fileinfo < %{fileinfover}
892 %description fileinfo
893 This extension allows retrieval of information regarding vast majority
894 of file. This information may include dimensions, quality, length
897 Additionally it can also be used to retrieve the MIME type for a
898 particular file and for text files proper language encoding.
900 %description fileinfo -l pl.UTF-8
901 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
902 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
904 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
905 pliku oraz kodowania plików tekstowych.
908 Summary: Extension for safely dealing with input parameters
909 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
911 URL: http://php.net/manual/en/book.filter.php
912 Requires: %{name}-common = %{epoch}:%{version}-%{release}
913 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
914 Provides: php(filter)
915 Obsoletes: php-filter < 4:5.3.28-7
916 Obsoletes: php-pecl-filter
919 We all know that you should always check input variables, but PHP does
920 not offer really good functionality for doing this in a safe way. The
921 Input Filter extension is meant to address this issue by implementing
922 a set of filters and mechanisms that users can use to safely access
925 %description filter -l pl.UTF-8
926 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
927 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
928 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
929 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
930 mogą bezpiecznie używać do dostępu do danych.
933 Summary: FTP extension module for PHP
934 Summary(pl.UTF-8): Moduł FTP dla PHP
936 URL: http://php.net/manual/en/book.ftp.php
937 Requires: %{name}-common = %{epoch}:%{version}-%{release}
939 Obsoletes: php-ftp < 4:5.3.28-7
942 This is a dynamic shared object (DSO) for PHP that will add FTP
945 %description ftp -l pl.UTF-8
946 Moduł PHP dodający obsługę protokołu FTP.
949 Summary: GD extension module for PHP
950 Summary(pl.UTF-8): Moduł GD dla PHP
952 URL: http://php.net/manual/en/book.image.php
953 Requires: %{name}-common = %{epoch}:%{version}-%{release}
954 %if %{with system_gd}
959 Obsoletes: php-gd < 4:5.3.28-7
962 This is a dynamic shared object (DSO) for PHP that will add GD
963 support, allowing you to create and manipulate images with PHP.
965 %description gd -l pl.UTF-8
966 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
967 tworzenie i obróbkę obrazków.
970 Summary: gettext extension module for PHP
971 Summary(pl.UTF-8): Moduł gettext dla PHP
973 URL: http://php.net/manual/en/book.gettext.php
974 Requires: %{name}-common = %{epoch}:%{version}-%{release}
975 Provides: php(gettext)
976 Obsoletes: php-gettext < 4:5.3.28-7
979 This is a dynamic shared object (DSO) for PHP that will add gettext
982 %description gettext -l pl.UTF-8
983 Moduł PHP dodający obsługę lokalizacji przez gettext.
986 Summary: gmp extension module for PHP
987 Summary(pl.UTF-8): Moduł gmp dla PHP
989 URL: http://php.net/manual/en/book.gmp.php
990 Requires: %{name}-common = %{epoch}:%{version}-%{release}
991 Requires: gmp >= 4.1.2
993 Obsoletes: php-gmp < 4:5.3.28-7
996 This is a dynamic shared object (DSO) for PHP that will add arbitrary
997 length number support with GNU MP library.
999 %description gmp -l pl.UTF-8
1000 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
1001 liczbach o dowolnej długości.
1004 Summary: HASH Message Digest Framework
1005 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
1007 URL: http://php.net/manual/en/book.gmp.php
1008 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1009 Provides: php(hash) = %{hashver}
1011 Provides: php(mhash)
1012 Provides: php-mhash = %{epoch}:%{version}-%{release}
1013 Obsoletes: php-mhash < 4:5.3.0
1015 Obsoletes: php-hash < 4:5.3.28-7
1016 Obsoletes: php-pecl-hash < %{hashver}
1019 Native implementations of common message digest algorithms using a
1020 generic factory method.
1022 %description hash -l pl.UTF-8
1023 Natywne implementacje popularnych algorytmów obliczania skrótów
1024 wiadomości przy użyciu wspólnego interfejsu.
1027 Summary: iconv extension module for PHP
1028 Summary(pl.UTF-8): Moduł iconv dla PHP
1030 URL: http://php.net/manual/en/book.iconv.php
1031 Requires: %{_libdir}/gconv
1032 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1034 Provides: php(iconv)
1035 Obsoletes: php-iconv < 4:5.3.28-7
1038 This is a dynamic shared object (DSO) for PHP that will add iconv
1041 %description iconv -l pl.UTF-8
1042 Moduł PHP dodający obsługę iconv.
1045 Summary: IMAP extension module for PHP
1046 Summary(pl.UTF-8): Moduł IMAP dla PHP
1047 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
1049 URL: http://php.net/manual/en/book.imap.php
1050 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1051 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1052 Requires: imap-lib >= 1:2007e-2
1054 Obsoletes: php-imap < 4:5.3.28-7
1057 This is a dynamic shared object (DSO) for PHP that will add IMAP
1060 %description imap -l pl.UTF-8
1061 Moduł PHP dodający obsługę skrzynek IMAP.
1063 %description imap -l pt_BR.UTF-8
1064 Um módulo para aplicações PHP que usam IMAP.
1067 Summary: InterBase/Firebird database module for PHP
1068 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
1070 URL: http://php.net/manual/en/book.ibase.php
1071 %if %{with interbase_inst}
1072 %{?requires_php_extension}
1074 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1076 Provides: php(interbase)
1077 Obsoletes: php-interbase < 4:5.3.28-7
1079 %description interbase
1080 This is a dynamic shared object (DSO) for PHP that will add InterBase
1081 and Firebird database support.
1083 %description interbase -l pl.UTF-8
1084 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
1087 Summary: Internationalization extension (ICU wrapper)
1088 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
1090 URL: http://php.net/intl
1091 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1092 Provides: php(intl) = %{intlver}
1093 Obsoletes: php-intl < 4:5.3.28-7
1094 Obsoletes: php-pecl-intl < %{intlver}
1097 Internationalization extension (further is referred as Intl) is a
1098 wrapper for ICU library, enabling PHP programmers to perform
1099 UCA-conformant collation and date/time/number/currency formatting in
1102 %description intl -l pl.UTF-8
1103 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
1104 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
1105 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
1109 Summary: PHP C extension for JSON serialization
1110 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
1112 URL: http://php.net/manual/en/book.json.php
1113 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1114 Provides: php(json) = %{jsonver}
1115 Obsoletes: php-json < 4:5.3.28-7
1116 Obsoletes: php-pecl-json < %{jsonver}
1119 php-json is an extremely fast PHP C extension for JSON (JavaScript
1120 Object Notation) serialisation.
1122 %description json -l pl.UTF-8
1123 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
1124 (JavaScript Object Notation).
1127 Summary: LDAP extension module for PHP
1128 Summary(pl.UTF-8): Moduł LDAP dla PHP
1129 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
1131 URL: http://php.net/manual/en/book.ldap.php
1132 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1134 Obsoletes: php-ldap < 4:5.3.28-7
1137 This is a dynamic shared object (DSO) for PHP that will add LDAP
1140 %description ldap -l pl.UTF-8
1141 Moduł PHP dodający obsługę LDAP.
1143 %description ldap -l pt_BR.UTF-8
1144 Um módulo para aplicações PHP que usam LDAP.
1147 Summary: mbstring extension module for PHP
1148 Summary(pl.UTF-8): Moduł mbstring dla PHP
1150 URL: http://php.net/manual/en/book.mbstring.php
1151 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1152 Provides: php(mbstring)
1153 Obsoletes: php-mbstring < 4:5.3.28-7
1155 %description mbstring
1156 This is a dynamic shared object (DSO) for PHP that will add multibyte
1159 %description mbstring -l pl.UTF-8
1160 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1163 Summary: mcrypt extension module for PHP
1164 Summary(pl.UTF-8): Moduł mcrypt dla PHP
1166 URL: http://php.net/manual/en/book.mcrypt.php
1167 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1168 Requires: libmcrypt >= 2.5.6
1169 Provides: php(mcrypt)
1170 Obsoletes: php-mcrypt < 4:5.3.28-7
1173 This is a dynamic shared object (DSO) for PHP that will add mcrypt
1176 %description mcrypt -l pl.UTF-8
1177 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
1180 Summary: MS SQL extension module for PHP
1181 Summary(pl.UTF-8): Moduł MS SQL dla PHP
1183 URL: http://www.php.net/manual/en/book.mssql.php
1184 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1185 Provides: php(mssql)
1186 Obsoletes: php-mssql < 4:5.3.28-7
1189 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1190 databases support through FreeTDS library.
1192 %description mssql -l pl.UTF-8
1193 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
1197 Summary: MySQL database module for PHP
1198 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
1199 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
1201 URL: http://www.php.net/manual/en/book.mysql.php
1202 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1203 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1204 Provides: php(mysql)
1205 Obsoletes: php-mysql < 4:5.3.28-7
1208 This is a dynamic shared object (DSO) for PHP that will add MySQL
1211 %description mysql -l pl.UTF-8
1212 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
1214 %description mysql -l pt_BR.UTF-8
1215 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1218 Summary: MySQLi module for PHP
1219 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1221 URL: http://php.net/manual/en/book.mysqli.php
1222 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1223 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1224 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1225 Provides: php(mysqli)
1226 Obsoletes: php-mysqli < 4:5.3.28-7
1229 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1230 (Improved MySQL) support. The difference between it and mysql module
1231 is that it provides access to functionality of MySQL 4.1 and above.
1233 %description mysqli -l pl.UTF-8
1234 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1235 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1236 MySQL w wersji 4.1 i nowszych.
1239 Summary: MySQL Native Client Driver for PHP
1240 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1242 URL: http://php.net/manual/en/book.mysqlnd.php
1243 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1244 Provides: php(mysqlnd)
1245 Obsoletes: php-mysqlnd < 4:5.3.28-7
1247 %description mysqlnd
1248 MySQL Native Driver is a replacement for the MySQL Client Library
1251 Because MySQL Native Driver is written as a PHP extension, it is
1252 tightly coupled to the workings of PHP. This leads to gains in
1253 efficiency, especially when it comes to memory usage, as the driver
1254 uses the PHP memory management system. It also supports the PHP memory
1255 limit. Using MySQL Native Driver leads to comparable or better
1256 performance than using MySQL Client Library, it always ensures the
1257 most efficient use of memory. One example of the memory efficiency is
1258 the fact that when using the MySQL Client Library, each row is stored
1259 in memory twice, whereas with the MySQL Native Driver each row is only
1260 stored once in memory.
1262 %description mysqlnd -l pl.UTF-8
1263 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1264 klienckiej MySQL (libmysql).
1266 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1267 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1268 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1269 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1270 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1271 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1272 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1273 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1274 tym sterowniku - tylko raz.
1277 Summary: Oracle 8+ database module for PHP
1278 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1280 URL: http://php.net/manual/en/book.oci8.php
1281 %{?requires_php_extension}
1283 Obsoletes: php-oci8 < 4:5.3.28-7
1284 # withdrawn module of similar functionality but different API
1285 Obsoletes: php-oracle < 4:5.1.0
1288 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1289 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1291 %description oci8 -l pl.UTF-8
1292 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1293 poprzez interfejs Oracle8 Call-Interface (OCI8).
1296 Summary: ODBC extension module for PHP
1297 Summary(pl.UTF-8): Moduł ODBC dla PHP
1298 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1300 URL: http://php.net/manual/en/book.uodbc.php
1301 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1302 Requires: unixODBC >= 2.1.1-3
1304 Obsoletes: php-odbc < 4:5.3.28-7
1307 This is a dynamic shared object (DSO) for PHP that will add ODBC
1310 %description odbc -l pl.UTF-8
1311 Moduł PHP ze wsparciem dla ODBC.
1313 %description odbc -l pt_BR.UTF-8
1314 Um módulo para aplicações PHP que usam ODBC.
1317 Summary: Zend Optimizer+ - PHP code optimizer
1318 Summary(pl.UTF-8): Zend Optimizer+ - optymalizator kodu PHP
1320 URL: https://wiki.php.net/rfc/optimizerplus
1321 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1322 Provides: php(opcache) = %{opcachever}
1324 %description opcache
1325 The Zend OPcache provides faster PHP execution through opcode caching
1326 and optimization. It improves PHP performance by storing precompiled
1327 script bytecode in the shared memory. This eliminates the stages of
1328 reading code from the disk and compiling it on future access. In
1329 addition, it applies a few bytecode optimization patterns that make
1330 code execution faster.
1332 %description opcache -l pl.UTF-8
1333 Zend OPcache zapewnia szybsze wykonywanie kodu PHP dzięki buforowaniu
1334 i optymalizacji na poziomie opcode'ów. Poprawia wydajność PHP
1335 przechowując prekompilowany bajtkod skryptu w pamięci współdzielonej.
1336 Eliminuje etapy odczytu kodu z dysku i kompilacji przy późniejszym
1337 dostępie. Ponadto wykonuje kilka wzorców optymalizacji bajtkodu,
1338 czyniąc wykonywanie kodu szybszym.
1341 Summary: OpenSSL extension module for PHP
1342 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1344 URL: http://php.net/manual/en/book.openssl.php
1345 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1346 Provides: php(openssl)
1347 Obsoletes: php-openssl < 4:5.3.28-7
1349 %description openssl
1350 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1353 %description openssl -l pl.UTF-8
1354 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1357 Summary: Process Control extension module for PHP
1358 Summary(pl.UTF-8): Moduł Process Control dla PHP
1360 URL: http://php.net/manual/en/book.pcntl.php
1361 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1362 Provides: php(pcntl)
1363 Obsoletes: php-pcntl < 4:5.3.28-7
1366 This is a dynamic shared object (DSO) for PHP that will add process
1367 spawning and control support. It supports functions like fork(),
1368 waitpid(), signal() etc.
1370 %description pcntl -l pl.UTF-8
1371 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1372 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1375 Summary: PCRE extension module for PHP
1376 Summary(pl.UTF-8): Moduł PCRE dla PHP
1378 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1380 Obsoletes: php-pcre < 4:5.3.28-7
1383 This is a dynamic shared object (DSO) for PHP that will add Perl
1384 Compatible Regular Expression support.
1386 %description pcre -l pl.UTF-8
1387 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1388 (Perl Compatible Regular Expressions)
1391 Summary: PHP Data Objects (PDO)
1392 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1394 URL: http://php.net/manual/en/book.pdo.php
1395 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1396 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1397 Provides: %{name}(PDO_API) = %{php_pdo_api_version}
1399 Obsoletes: php-pdo < 4:5.3.28-7
1400 Obsoletes: php-pecl-PDO
1403 This is a dynamic shared object (DSO) for PHP that will add PDO
1406 %description pdo -l pl.UTF-8
1407 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1410 Summary: PHP Data Objects (PDO) FreeTDS support
1411 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1413 URL: http://php.net/manual/en/ref.pdo-dblib.php
1414 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1415 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1416 Provides: php(pdo_dblib)
1417 Obsoletes: php-pdo-dblib < 4:5.3.28-7
1419 %description pdo-dblib
1420 This is a dynamic shared object (DSO) for PHP that will add PDO
1423 %description pdo-dblib -l pl.UTF-8
1424 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1427 %package pdo-firebird
1428 Summary: PHP Data Objects (PDO) Firebird support
1429 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1431 URL: http://php.net/manual/en/ref.pdo-firebird.php
1432 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1433 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1434 Provides: php(pdo-firebird)
1435 Provides: php(pdo_firebird)
1436 Obsoletes: php-pdo-firebird < 4:5.3.28-7
1437 Obsoletes: php-pecl-PDO_FIREBIRD
1439 %description pdo-firebird
1440 This is a dynamic shared object (DSO) for PHP that will add PDO
1443 %description pdo-firebird -l pl.UTF-8
1444 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1448 Summary: PHP Data Objects (PDO) MySQL support
1449 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1451 URL: http://php.net/manual/en/ref.pdo-mysql.php
1452 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1453 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1454 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1455 Provides: php(pdo-mysql)
1456 Provides: php(pdo_mysql)
1457 Obsoletes: php-pdo-mysql < 4:5.3.28-7
1458 Obsoletes: php-pecl-PDO_MYSQL
1460 %description pdo-mysql
1461 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1464 %description pdo-mysql -l pl.UTF-8
1465 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1469 Summary: PHP Data Objects (PDO) Oracle support
1470 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1472 URL: http://php.net/manual/en/ref.pdo-oci.php
1473 %{?requires_php_extension}
1474 %{?requires_php_pdo_module}
1475 Provides: php(pdo-oci)
1476 Provides: php(pdo_oci)
1477 Obsoletes: php-pdo-oci < 4:5.3.28-7
1478 Obsoletes: php-pecl-PDO_OCI
1480 %description pdo-oci
1481 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1484 %description pdo-oci -l pl.UTF-8
1485 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1489 Summary: PHP Data Objects (PDO) ODBC support
1490 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1492 URL: http://php.net/manual/en/ref.pdo-odbc.php
1493 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1494 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1495 Provides: php(pdo-odbc)
1496 Provides: php(pdo_odbc)
1497 Obsoletes: php-pdo-odbc < 4:5.3.28-7
1498 Obsoletes: php-pecl-PDO_ODBC
1500 %description pdo-odbc
1501 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1504 %description pdo-odbc -l pl.UTF-8
1505 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1509 Summary: PHP Data Objects (PDO) PostgreSQL support
1510 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1512 URL: http://php.net/manual/en/ref.pdo-pgsql.php
1513 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1514 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1515 Provides: php(pdo-pgsql)
1516 Provides: php(pdo_pgsql)
1517 Obsoletes: php-pdo-pgsql < 4:5.3.28-7
1518 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1520 %description pdo-pgsql
1521 This is a dynamic shared object (DSO) for PHP that will add PDO
1524 %description pdo-pgsql -l pl.UTF-8
1525 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1529 Summary: PHP Data Objects (PDO) SQLite support
1530 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1532 URL: http://php.net/manual/en/ref.pdo-sqlite.php
1533 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1534 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1535 Provides: php(pdo-sqlite)
1536 Provides: php(pdo_sqlite)
1537 Obsoletes: php-pdo-sqlite < 4:5.3.28-7
1538 Obsoletes: php-pecl-PDO_SQLITE
1540 %description pdo-sqlite
1541 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1544 %description pdo-sqlite -l pl.UTF-8
1545 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1549 Summary: PostgreSQL database module for PHP
1550 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1552 URL: http://php.net/manual/en/book.pgsql.php
1553 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1554 Provides: php(pgsql)
1555 Obsoletes: php-pgsql < 4:5.3.28-7
1558 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1561 %description pgsql -l pl.UTF-8
1562 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1564 %description pgsql -l pt_BR.UTF-8
1565 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1568 Summary: Phar archive module for PHP
1569 Summary(pl.UTF-8): Moduł phar dla PHP
1571 URL: http://php.net/manual/en/book.phar.php
1572 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1573 Requires: %{name}-hash = %{epoch}:%{version}-%{release}
1574 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1575 %{?with_alternatives:Requires: alternatives}
1576 Suggests: %{name}-cli
1577 # zlib is required by phar program, but as phar cli is optional should the dep be too
1578 Suggests: %{name}-zlib
1579 Provides: php(phar) = %{pharver}
1580 Obsoletes: php-pecl-phar < %{pharver}
1581 Obsoletes: php-phar < 4:5.3.28-7
1582 Conflicts: php-ioncube < 4.0.9
1585 This is a dynamic shared object (DSO) for PHP that will add phar
1588 %description phar -l pl.UTF-8
1589 Moduł PHP umożliwiający dostęp do achiwów .phar.
1592 Summary: POSIX extension module for PHP
1593 Summary(pl.UTF-8): Moduł POSIX dla PHP
1595 URL: http://php.net/manual/en/book.posix.php
1596 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1597 Provides: php(posix)
1598 Obsoletes: php-posix < 4:5.3.28-7
1601 This is a dynamic shared object (DSO) for PHP that will add POSIX
1602 functions support to PHP.
1604 %description posix -l pl.UTF-8
1605 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1608 Summary: pspell extension module for PHP
1609 Summary(pl.UTF-8): Moduł pspell dla PHP
1611 URL: http://php.net/manual/en/book.pspell.php
1612 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1613 Provides: php(pspell)
1614 Obsoletes: php-pspell < 4:5.3.28-7
1617 This is a dynamic shared object (DSO) for PHP that will add pspell
1618 support to PHP. It allows to check the spelling of a word and offer
1621 %description pspell -l pl.UTF-8
1622 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1623 sprawdzanie pisowni słowa i sugerowanie poprawek.
1626 Summary: readline extension module for PHP
1627 Summary(pl.UTF-8): Moduł readline dla PHP
1629 URL: http://php.net/manual/en/book.readline.php
1630 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1631 Provides: php(readline)
1632 Obsoletes: php-readline < 4:5.3.28-7
1634 %description readline
1635 This PHP module adds support for readline functions (only for cli and
1638 %description readline -l pl.UTF-8
1639 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1642 Summary: recode extension module for PHP
1643 Summary(pl.UTF-8): Moduł recode dla PHP
1645 URL: http://php.net/manual/en/book.recode.php
1646 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1647 Requires: recode >= 3.5d-3
1648 Provides: php(recode)
1649 Obsoletes: php-recode < 4:5.3.28-7
1652 This is a dynamic shared object (DSO) for PHP that will add recode
1655 %description recode -l pl.UTF-8
1656 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1660 Summary: session extension module for PHP
1661 Summary(pl.UTF-8): Moduł session dla PHP
1663 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1664 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1665 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1667 Provides: php(session)
1668 Obsoletes: php-session < 4:5.3.28-7
1670 %description session
1671 This is a dynamic shared object (DSO) for PHP that will add session
1674 %description session -l pl.UTF-8
1675 Moduł PHP dodający obsługę sesji.
1678 Summary: Shared Memory Operations extension module for PHP
1679 Summary(pl.UTF-8): Moduł shmop dla PHP
1681 URL: http://php.net/manual/en/book.shmop.php
1682 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1683 Provides: php(shmop)
1684 Obsoletes: php-shmop < 4:5.3.28-7
1687 This is a dynamic shared object (DSO) for PHP that will add Shared
1688 Memory Operations support.
1690 %description shmop -l pl.UTF-8
1691 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1694 Summary: Simple XML extension module for PHP
1695 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1697 URL: http://php.net/manual/en/book.simplexml.php
1698 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1699 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1700 Provides: php(simplexml)
1701 Obsoletes: php-simplexml < 4:5.3.28-7
1703 %description simplexml
1704 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1707 %description simplexml -l pl.UTF-8
1708 Moduł PHP dodający obsługę prostego XML-a.
1711 Summary: SNMP extension module for PHP
1712 Summary(pl.UTF-8): Moduł SNMP dla PHP
1714 URL: http://php.net/manual/en/book.snmp.php
1715 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1716 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1717 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1719 Obsoletes: php-snmp < 4:5.3.28-7
1722 This is a dynamic shared object (DSO) for PHP that will add SNMP
1725 %description snmp -l pl.UTF-8
1726 Moduł PHP dodający obsługę SNMP.
1729 Summary: soap extension module for PHP
1730 Summary(pl.UTF-8): Moduł soap dla PHP
1732 URL: http://php.net/manual/en/book.soap.php
1733 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1735 Obsoletes: php-soap < 4:5.3.28-7
1738 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1741 %description soap -l pl.UTF-8
1742 Moduł PHP dodający obsługę SOAP/WSDL.
1745 Summary: sockets extension module for PHP
1746 Summary(pl.UTF-8): Moduł socket dla PHP
1748 URL: http://php.net/manual/en/book.sockets.php
1749 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1750 Provides: php(sockets)
1751 Obsoletes: php-sockets < 4:5.3.28-7
1753 %description sockets
1754 This is a dynamic shared object (DSO) for PHP that will add sockets
1757 %description sockets -l pl.UTF-8
1758 Moduł PHP dodający obsługę gniazdek.
1761 Summary: Standard PHP Library module for PHP
1762 Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1764 URL: http://php.net/manual/en/book.spl.php
1765 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1766 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1767 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1769 Obsoletes: php-spl < 4:5.3.28-7
1772 This is a dynamic shared object (DSO) for PHP that will add Standard
1773 PHP Library support.
1775 %description spl -l pl.UTF-8
1776 Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1779 Summary: SQLite3 extension module for PHP
1780 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1782 URL: http://php.net/manual/en/book.sqlite3.php
1783 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1784 Provides: php(sqlite3) = %{sqlite3ver}
1785 Obsoletes: php-sqlite3 < 4:5.3.28-7
1787 %description sqlite3
1788 SQLite is a C library that implements an embeddable SQL database
1789 engine. Programs that link with the SQLite library can have SQL
1790 database access without running a separate RDBMS process.
1792 SQLite is not a client library used to connect to a big database
1793 server. SQLite is the server. The SQLite library reads and writes
1794 directly to and from the database files on disk.
1796 %description sqlite3 -l pl.UTF-8
1797 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1798 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1799 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1802 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1803 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1804 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1808 Summary: Sybase-CT extension module for PHP
1809 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1811 URL: http://www.php.net/manual/en/book.sybase.php
1812 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1813 Provides: php(sybase-ct)
1814 Obsoletes: php-sybase
1815 Obsoletes: php-sybase-ct < 4:5.3.28-7
1817 %description sybase-ct
1818 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1819 MS SQL databases support through CT-lib.
1821 %description sybase-ct -l pl.UTF-8
1822 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1826 Summary: SysV msg extension module for PHP
1827 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1829 URL: http://php.net/manual/en/book.sem.php
1830 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1831 Provides: php(sysvmsg)
1832 Obsoletes: php-sysvmsg < 4:5.3.28-7
1834 %description sysvmsg
1835 This is a dynamic shared object (DSO) for PHP that will add SysV
1836 message queues support.
1838 %description sysvmsg -l pl.UTF-8
1839 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1842 Summary: SysV sem extension module for PHP
1843 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1845 URL: http://php.net/manual/en/book.sem.php
1846 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1847 Provides: php(sysvsem)
1848 Obsoletes: php-sysvsem < 4:5.3.28-7
1850 %description sysvsem
1851 This is a dynamic shared object (DSO) for PHP that will add SysV
1854 %description sysvsem -l pl.UTF-8
1855 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1858 Summary: SysV shm extension module for PHP
1859 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1861 URL: http://php.net/manual/en/book.sem.php
1862 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1863 Provides: php(sysvshm)
1864 Obsoletes: php-sysvshm < 4:5.3.28-7
1866 %description sysvshm
1867 This is a dynamic shared object (DSO) for PHP that will add SysV
1868 Shared Memory support.
1870 %description sysvshm -l pl.UTF-8
1871 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1874 Summary: Contains unit test files for PHP and extensions
1875 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1877 URL: http://qa.php.net/
1878 Requires: %{name}-cli
1879 %if "%{_rpmversion}" >= "5"
1884 This package contains unit tests for PHP and its extensions.
1886 %description tests -l pl.UTF-8
1887 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1890 Summary: Tidy extension module for PHP
1891 Summary(pl.UTF-8): Moduł Tidy dla PHP
1893 URL: http://php.net/manual/en/book.tidy.php
1894 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1897 Obsoletes: php-tidy < 4:5.3.28-7
1900 This is a dynamic shared object (DSO) for PHP that will add Tidy
1903 %description tidy -l pl.UTF-8
1904 Moduł PHP umożliwiający korzystanie z tidy.
1907 Summary: tokenizer extension module for PHP
1908 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1910 URL: http://php.net/manual/en/book.tokenizer.php
1911 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1912 Provides: php(tokenizer)
1913 Obsoletes: php-tokenizer < 4:5.3.28-7
1915 %description tokenizer
1916 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1919 %description tokenizer -l pl.UTF-8
1920 Moduł PHP dodający obsługę tokenizera do PHP.
1923 Summary: wddx extension module for PHP
1924 Summary(pl.UTF-8): Moduł wddx dla PHP
1926 URL: http://php.net/manual/en/book.wddx.php
1927 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1928 # - wddx doesn't require session as it's disabled at compile time:
1929 # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1930 # see also php.spec#rev1.120.2.22
1931 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1932 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1934 Obsoletes: php-wddx < 4:5.3.28-7
1937 This is a dynamic shared object (DSO) for PHP that will add wddx
1940 %description wddx -l pl.UTF-8
1941 Moduł PHP umożliwiający korzystanie z wddx.
1944 Summary: XML extension module for PHP
1945 Summary(pl.UTF-8): Moduł XML dla PHP
1947 URL: http://php.net/manual/en/book.xml.php
1948 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1950 Obsoletes: php-xml < 4:5.3.28-7
1953 This is a dynamic shared object (DSO) for PHP that will add XML
1954 support. This extension lets you create XML parsers and then define
1955 handlers for different XML events.
1957 %description xml -l pl.UTF-8
1958 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1959 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1960 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1963 Summary: XML Reader extension module for PHP
1964 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1966 URL: http://php.net/manual/en/book.xmlreader.php
1967 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1968 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1969 Provides: php(xmlreader)
1970 Obsoletes: php-xmlreader < 4:5.3.28-7
1972 %description xmlreader
1973 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1974 support. The XMLReader extension is an XML Pull parser. The reader
1975 acts as a cursor going forward on the document stream and stopping at
1976 each node on the way.
1978 %description xmlreader -l pl.UTF-8
1979 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1980 działa jako kursor przechodzący przez strumień dokumentu i
1981 zatrzymujący się na każdym węźle po drodze.
1984 Summary: xmlrpc extension module for PHP
1985 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1987 URL: http://php.net/manual/en/book.xmlrpc.php
1988 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1989 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1990 Provides: php(xmlrpc)
1991 Obsoletes: php-xmlrpc < 4:5.3.28-7
1994 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1997 %description xmlrpc -l pl.UTF-8
1998 Moduł PHP dodający obsługę XMLRPC.
2001 Summary: Fast, non-cached, forward-only means to write XML data
2002 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
2004 URL: http://php.net/manual/en/book.xmlwriter.php
2005 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2006 Provides: php(xmlwriter)
2007 Obsoletes: php-pecl-xmlwriter
2008 Obsoletes: php-xmlwriter < 4:5.3.28-7
2010 %description xmlwriter
2011 This extension wraps the libxml xmlWriter API. Represents a writer
2012 that provides a non-cached, forward-only means of generating streams
2013 or files containing XML data.
2015 %description xmlwriter -l pl.UTF-8
2016 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
2017 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
2018 plików zawierających dane XML.
2021 Summary: xsl extension module for PHP
2022 Summary(pl.UTF-8): Moduł xsl dla PHP
2024 URL: http://php.net/manual/en/book.xsl.php
2025 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2026 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
2027 Requires: libxslt >= 1.0.18
2029 Obsoletes: php-xsl < 4:5.3.28-7
2030 # actually not true, functionality is similar, but API differs
2031 Obsoletes: php-xslt <= 3:4.3.8-1
2034 This is a dynamic shared object (DSO) for PHP that will add new XSL
2035 support (using libxslt).
2037 %description xsl -l pl.UTF-8
2038 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
2041 Summary: Zip management extension
2042 Summary(pl.UTF-8): Zarządzanie archiwami zip
2044 URL: http://php.net/manual/en/book.zip.php
2045 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2046 %{?with_system_libzip:Requires: libzip >= 0.10.1-2}
2047 Provides: php(zip) = %{zipver}
2048 Obsoletes: php-pecl-zip < %{zipver}
2049 Obsoletes: php-zip < 4:5.3.28-7
2052 Zip is an extension to create, modify and read zip files.
2054 %description zip -l pl.UTF-8
2055 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
2056 odczyt archiwów zip.
2059 Summary: Zlib extension module for PHP
2060 Summary(pl.UTF-8): Moduł zlib dla PHP
2062 URL: http://php.net/manual/en/book.zlib.php
2063 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2065 Obsoletes: php-zlib < 4:5.3.28-7
2068 This is a dynamic shared object (DSO) for PHP that will add zlib
2069 compression support to PHP.
2071 %description zlib -l pl.UTF-8
2072 Moduł PHP umożliwiający używanie kompresji zlib.
2075 %setup -q -n %{orgname}-%{version}%{?subver}
2076 cp -p php.ini-production php.ini
2085 %{?with_milter:%patch8 -p1}
2100 %if "%{pld_release}" != "ac"
2103 %{?with_sybase_ct:%patch35 -p1}
2110 # create split php-fpm.conf patch. review (restore other diffs) and commit
2111 cp sapi/fpm/php-fpm.conf.in{,.orig}
2112 %{__sed} -n -e '/; Start a new pool named/,$p' sapi/fpm/php-fpm.conf.in > sapi/fpm/php-fpm.conf-d.in
2113 %{__sed} -i -e '/; Include one or more files/,/include=etc\/fpm\.d/d' sapi/fpm/php-fpm.conf.in
2114 %{__sed} -i -e '/; Start a new pool named/,$d' sapi/fpm/php-fpm.conf.in
2117 diff -u %{orgname}-%{version}/sapi/fpm/php-fpm.conf.in{.orig,} > %{PATCH69}
2118 diff -u /dev/null %{orgname}-%{version}/sapi/fpm/php-fpm.conf-d.in >> %{PATCH69}
2128 #%patch45 -p1 # imap annotations. fixme
2129 #%patch46 -p1 # imap myrights. fixme
2137 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
2142 %{?with_system_libzip:%patch65 -p1}
2150 %{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
2152 # cleanup backups after patching
2153 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
2155 # com_dotnet is Win32-only
2156 %{__rm} -r ext/com_dotnet
2158 # conflict seems to be resolved by recode patches
2159 %{__rm} ext/recode/config9.m4
2161 # remove all bundled libraries not to link with them accidentally
2162 %{__rm} -r ext/sqlite3/libsqlite
2163 #%{__rm} -r ext/bcmath/libbcmath
2164 #%{__rm} -r ext/date/lib
2165 #%{__rm} -r ext/fileinfo/libmagic
2166 #%{__rm} -r ext/dba/libcdb
2167 #%{__rm} -r ext/dba/libflatfile
2168 #%{__rm} -r ext/dba/libinifile
2169 #%{__rm} -r ext/gd/libgd
2170 #%{__rm} -r ext/mbstring/libmbfl
2171 #%{__rm} -r ext/mbstring/oniguruma
2172 %{__rm} -r ext/pcre/pcrelib
2173 #%{__rm} -r ext/soap/interop
2174 %{__rm} -r ext/xmlrpc/libxmlrpc
2175 #%{__rm} -r ext/zip/lib
2176 %{__rm} ext/date/lib/timezonedb.h
2178 cp -pf Zend/LICENSE{,.Zend}
2179 install -p %{SOURCE13} dep-tests.sh
2182 sed -i -e 's#-fvisibility=hidden##g' configure*
2184 # disable broken tests
2185 # says just "Terminated" twice and fails
2186 %{__mv} sapi/cli/tests/022.phpt{,.broken}
2188 # really dumb test, executable binary name is .libs/ something when building
2189 # https://bugs.php.net/bug.php?id=54514
2190 %{__mv} tests/basic/bug54514.phpt{,.disable}
2192 # breaks whole testsuite unexpectedly:
2193 # Fatal error: Call to undefined function gzencode() in run-tests.php on line 1714
2194 # probably broken as zlib is built as shared
2195 %{__mv} ext/soap/tests/server019.phpt{,disable}
2196 # Fatal error: Call to undefined function gzcompress() in run-tests.php on line 1728
2197 %{__mv} ext/soap/tests/server020.phpt{,disable}
2199 # runs out of memory and kills carme vserver
2200 # PASS Bug #39438 (Fatal error: Out of memory) [Zend/tests/bug39438.phpt]
2201 %{__mv} Zend/tests/bug39438.phpt{,.disable}
2203 # php-5.3.3/ext/standard/tests/file/statpage.phpt
2204 %{__rm} ext/standard/tests/file/statpage.phpt
2206 # idiotic test, it will fail if somebody else makes space on disk or if disk
2207 # space is not yet allocated (xfs). report upstream to advice bogus test is
2208 # probably pointless.
2209 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
2212 # all pdo_sqlite, sqlite3 tests die with Aborted on carme
2213 %{__rm} -r ext/pdo_sqlite/tests
2214 %{__rm} -r ext/sqlite3/tests
2217 # ----- Manage known as failed test -------
2218 # affected by systzdata patch
2219 %{__rm} ext/date/tests/timezone_location_get.phpt
2220 %{__rm} ext/date/tests/timezone_version_get.phpt
2221 %{__rm} ext/date/tests/timezone_version_get_basic1.phpt
2222 # Should be skipped but fails sometime
2223 %{__rm} ext/standard/tests/file/file_get_contents_error001.phpt
2225 %{__rm} ext/sockets/tests/mcast_ipv?_recv.phpt
2226 # causes stack exhausion
2227 %{__rm} Zend/tests/bug54268.phpt
2229 # avoid issues when two builds run simultaneously
2231 sed -e 's/64321/64322/' -i ext/openssl/tests/*.phpt
2235 # no point testing stuff that is knowingly broken
2236 find -name '*.phpt' | xargs grep '^--XFAIL--' -l | xargs rm -v
2248 sh -xe %{_sourcedir}/skip-tests.sh
2251 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
2252 if [ $API != %{php_api_version} ]; then
2253 echo "Set %%define php_api_version to $API and re-run."
2257 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
2258 if [ $API != %{zend_module_api} ]; then
2259 echo "Set %%define zend_module_api to $API and re-run."
2263 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
2264 if [ $API != %{zend_extension_api} ]; then
2265 echo "Set %%define zend_extension_api to $API and re-run."
2269 API=$(awk '/#define PDO_DRIVER_API/{print $3}' ext/pdo/php_pdo_driver.h)
2270 if [ $API != %{php_pdo_api_version} ]; then
2271 echo "Set %%define php_pdo_api_version to $API and re-run."
2275 # Check for some extension version
2276 ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
2277 if test "$ver" != "%{fileinfover}"; then
2278 : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
2279 : Update the fileinfover macro and rebuild.
2282 ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
2283 if test "$ver" != "%{pharver}"; then
2284 : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
2285 : Update the pharver macro and rebuild.
2288 ver=$(sed -n '/#define PHP_SQLITE3_VERSION/{s/.* "//;s/".*$//;p}' ext/sqlite3/php_sqlite3.h)
2289 if test "$ver" != "%{sqlite3ver}"; then
2290 : Error: Upstream Sqlite3 version is now ${ver}, expecting %{sqlite3ver}.
2291 : Update the sqlite3ver macro and rebuild.
2294 ver=$(sed -n '/#define PHP_ZIP_VERSION /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
2295 if test "$ver" != "%{zipver}"; then
2296 : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
2297 : Update the zipver macro and rebuild.
2300 ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
2301 if test "$ver" != "%{jsonver}"; then
2302 : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
2303 : Update the jsonver macro and rebuild.
2306 ver=$(sed -n '/#define PHP_ZENDOPCACHE_VERSION /{s/.* "//;s/".*$//;p}' ext/opcache/ZendAccelerator.h)
2307 if test "$ver" != "%{opcachever}"; then
2308 : Error: Upstream Zend Opcache version is now ${ver}, expecting %{opcachever}.
2309 : Update the opcachever macro and rebuild.
2312 ver=$(sed -n '/#define PHPDBG_VERSION /{s/.* "//;s/".*$//;p}' sapi/phpdbg/phpdbg.h)
2313 if test "$ver" != "%{phpdbgver}"; then
2314 : Error: Upstream phpdbg version is now ${ver}, expecting %{phpdbgver}.
2315 : Update the phpdbgver macro and rebuild.
2318 ver=$(sed -rne 's,.*<version>(.+)</version>,\1,p' ext/bz2/package.xml)
2319 if test "$ver" != "%{bz2ver}"; then
2320 : Error: Upstream BZIP2 version is now ${ver}, expecting %{bz2ver}.
2321 : Update the bz2ver macro and rebuild.
2324 ver=$(sed -n '/#define PHP_ENCHANT_VERSION /{s/.* "//;s/".*$//;p}' ext/enchant/php_enchant.h)
2325 if test "$ver" != "%{enchantver}"; then
2326 : Error: Upstream Enchant version is now ${ver}, expecting %{enchantver}.
2327 : Update the enchantver macro and rebuild.
2330 ver=$(awk '/#define PHP_HASH_EXTVER/ {print $3}' ext/hash/php_hash.h | xargs)
2331 if test "$ver" != "%{hashver}"; then
2332 : Error: Upstream HASH version is now ${ver}, expecting %{hashver}.
2333 : Update the hashver macro and rebuild.
2336 ver=$(sed -n '/#define PHP_INTL_VERSION /{s/.* "//;s/".*$//;p}' ext/intl/php_intl.h)
2337 if test "$ver" != "%{intlver}"; then
2338 : Error: Upstream Intl version is now ${ver}, expecting %{intlver}.
2339 : Update the intlver macro and rebuild.
2343 export EXTENSION_DIR="%{php_extensiondir}"
2344 # configure once (for faster debugging purposes)
2345 if [ ! -f _built-conf ]; then
2346 # now remove Makefile copies
2347 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed,phpdbg,milter}
2350 cp -f /usr/share/automake/config.* .
2354 export PROG_SENDMAIL="/usr/lib/sendmail"
2355 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \
2356 -I%{_includedir}/xmlrpc-epi"
2363 %if %{with litespeed}
2385 for sapi in $sapis; do
2387 # skip if already configured (for faster debugging purposes)
2388 [ -f Makefile.$sapi ] && continue
2393 sapi_args='--disable-cli'
2396 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
2399 sapi_args='--disable-cli --disable-cgi --enable-fpm'
2402 sapi_args='--disable-cli --disable-cgi --enable-embed'
2405 ver=$(rpm -q --qf '%{V}' apache1-devel)
2406 sapi_args="--disable-cli --disable-cgi --with-apxs=%{apxs1} --with-apache-version=$ver"
2409 ver=$(rpm -q --qf '%{V}' apache-devel)
2410 sapi_args="--disable-cli --disable-cgi --with-apxs2=%{apxs2} --with-apache-version=$ver"
2413 sapi_args='--disable-cli --disable-cgi --with-litespeed'
2416 sapi_args='--disable-cli --disable-cgi --enable-phpdbg %{?debug:--enable-phpdbg-debug}'
2419 sapi_args='--disable-cli --disable-cgi --with-milter'
2424 EXTRA_LDFLAGS="%{rpmldflags}" \
2426 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2427 --cache-file=config.cache \
2429 --with-libdir=%{_lib} \
2430 --with-config-file-path=%{_sysconfdir} \
2431 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2432 --with-system-tzdata \
2433 --%{!?with_debug:dis}%{?with_debug:en}able-debug \
2434 %{?with_zts:--enable-maintainer-zts} \
2435 --enable-inline-optimization \
2436 %{__enable_disable bcmath bcmath shared} \
2437 %{__enable_disable calendar calendar shared} \
2438 %{__enable_disable ctype ctype shared} \
2439 %{__enable_disable dba dba shared} \
2440 %{__enable_disable dom dom shared} \
2441 %{?with_systemtap:--enable-dtrace} \
2442 %{__enable_disable exif exif shared} \
2443 %{__enable_disable fileinfo fileinfo shared} \
2444 %{__enable_disable ftp ftp shared} \
2445 --enable-gd-native-ttf \
2446 %{?with_intl:--enable-intl=shared} \
2448 %{__enable_disable mbstring mbstring shared,all} \
2450 %{__enable_disable pcntl pcntl shared} \
2451 %{__enable_disable pdo pdo shared} \
2452 %{__enable_disable json json shared} \
2453 %{__enable_disable hash hash shared} \
2454 --enable-xmlwriter=shared \
2456 --with-fpm-user=http \
2457 --with-fpm-group=http \
2459 %if %{with pdo_dblib}
2460 --with-pdo-dblib=shared \
2462 %if %{with interbase} && %{without interbase_inst}
2463 --with-pdo-firebird=shared,/usr \
2465 %{?with_mhash:--with-mhash=yes} \
2466 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2467 %{__with_without pdo_mysql pdo-mysql shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd}} \
2468 %{?with_oci:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2469 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2470 %{?with_pgsql:--with-pdo-pgsql=shared} \
2471 %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
2472 %{?with_webp:--with-vpx-dir=/usr} \
2473 --without-libexpat-dir \
2474 %{__enable_disable posix posix shared} \
2476 %{__enable_disable session session shared} \
2477 --enable-shmop=shared \
2478 --enable-simplexml=shared \
2479 --enable-sysvmsg=shared \
2480 --enable-sysvsem=shared \
2481 --enable-sysvshm=shared \
2482 --enable-soap=shared \
2483 --enable-sockets=shared \
2484 --enable-tokenizer=shared \
2485 %{?with_wddx:--enable-wddx=shared} \
2486 --enable-xml=shared \
2487 --enable-xmlreader=shared \
2488 %{__with_without bz2 bz2 shared} \
2489 %{__with_without curl curl shared} \
2491 %{__with_without iconv iconv shared} \
2492 %{?with_enchant:--with-enchant=shared,/usr} \
2493 --with-freetype-dir=shared \
2494 %{__with_without gettext gettext shared} \
2495 %{__with_without gd gd shared%{?with_system_gd:,/usr}} \
2497 %{__with_without gmp gmp shared} \
2498 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2499 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2500 --with-jpeg-dir=/usr \
2501 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2502 %{__with_without mcrypt mcrypt shared} \
2503 %{?with_mm:--with-mm} \
2504 %{?with_mssql:--with-mssql=shared} \
2505 %{?with_mysqlnd:--enable-mysqlnd=shared} \
2506 %{__with_without mysql mysql shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd}} \
2507 %{?with_mysqli:--with-mysqli=shared,%{!?with_mysqlnd:/usr/bin/mysql_config}%{?with_mysqlnd:mysqlnd}} \
2508 %{?with_oci:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2509 %{__enable_disable opcache opcache shared} \
2510 %{?with_openssl:--with-openssl=shared} \
2511 %{?with_kerberos5:--with-kerberos} \
2513 %{__with_without pcre pcre-regex /usr} \
2514 %{__enable_disable filter filter shared} \
2515 --with-pear=%{php_pear_dir} \
2516 %{__with_without pgsql pgsql shared,/usr} \
2517 %{__enable_disable phar phar shared} \
2518 --with-png-dir=/usr \
2519 %{?with_pspell:--with-pspell=shared} \
2520 %{__with_without readline readline shared} \
2521 %{?with_recode:--with-recode=shared} \
2522 %{__with_without ereg regex system} \
2523 %{?with_snmp:--with-snmp=shared} \
2524 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
2525 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2526 %{__with_without sqlite3 sqlite3 shared,/usr} \
2527 --with-t1lib=shared \
2528 %{?with_tidy:--with-tidy=shared} \
2529 %{?with_odbc:--with-unixODBC=shared,/usr} \
2530 %{__with_without xmlrpc xmlrpc shared,/usr} \
2532 --with-zlib=shared \
2533 --with-zlib-dir=shared,/usr \
2534 %{?with_system_libzip:--with-libzip} \
2535 --enable-zip=shared,/usr \
2538 cp -f Makefile Makefile.$sapi
2539 cp -f main/php_config.h php_config.h.$sapi
2540 cp -f config.log config.log.$sapi
2543 # as we build each SAPI in own make, adjust php-config.in forehead
2544 sapis=$(%{__sed} -rne 's/^PHP_INSTALLED_SAPIS = (.+)/\1/p' Makefile.* | tr ' ' '\n' | sort -u | xargs)
2545 %{__sed} -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," scripts/php-config.in
2547 # must make libphp_common first, so modules can link against it.
2548 cp -af php_config.h.cli main/php_config.h
2549 cp -af Makefile.cli Makefile
2550 %{__make} libphp_common.la
2551 # hack: MYSQLND_SHARED_LIBADD not initialized
2552 %{__make} build-modules \
2553 MYSQLND_SHARED_LIBADD="-lssl -lcrypto"
2556 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
2560 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
2563 %if %{with litespeed}
2564 %{__make} -f Makefile.litespeed litespeed
2568 %{__make} -f Makefile.embed libphp5.la
2572 # PHP_READLINE_LIBS is empty, so force readline here
2573 %{__make} -f Makefile.phpdbg phpdbg \
2574 PHPDBG_EXTRA_LIBS=-lreadline
2578 %{__make} -f Makefile.milter milter
2583 cp -pf php_config.h.cgi-fcgi main/php_config.h
2584 %{__make} -f Makefile.cgi-fcgi
2585 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
2590 cp -pf php_config.h.fpm main/php_config.h
2591 %{__make} -f Makefile.fpm
2592 [ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
2596 cp -pf php_config.h.cli main/php_config.h
2597 %{__make} -f Makefile.cli
2598 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
2600 # check for stupid xml parse breakage where < and > just get lost in parse result
2601 ./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"]));'
2603 # Generate stub .ini files for each extension
2606 generate_inifiles() {
2607 for so in modules/*.so; do
2608 mod=$(basename $so .so)
2610 # opcache.so is zend extension
2611 nm $so | grep -q zend_extension_entry && ext=zend_extension
2613 # xml needs to be loaded before wddx
2614 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2615 # pre needs to be loaded before SPL
2616 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2617 # spl needs to be loaded before mysqli
2618 [ "$mod" = "spl" ] && conf="SPL.ini"
2619 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2620 [ "$mod" = "session" ] && conf="Session.ini"
2621 # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli
2622 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2624 cat > conf.d/$conf <<-EOF
2625 ; Enable $mod $ext module
2632 # Check that the module inner-dependencies are intact
2633 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2634 if grep -v OK dep-tests.log; then
2635 echo >&2 "The results above were not expected"
2641 cp -pf php_config.h.cli main/php_config.h
2642 cp -pf Makefile.cli Makefile
2644 # you really don't want to package result of gcov build
2648 cat <<'EOF' > run-tests.sh
2650 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2651 export SKIP_ONLINE_TESTS=1
2652 unset TZ LANG LC_ALL || :
2654 EXTENSION_DIR=modules \
2655 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2656 RUN_TESTS_SETTINGS="-q $*"
2658 chmod +x run-tests.sh
2661 # Run tests, using the CLI SAPI
2662 cp -pf php_config.h.cli main/php_config.h
2663 cp -pf Makefile.cli Makefile
2665 ./run-tests.sh -w failed.log -s tests.log || {
2668 # collect failed tests into cleanup script used in prep.
2669 sed -ne '/^FAILED TEST SUMMARY/,/^===/p' tests.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2670 sed -ne '/^via/d;/\[.*\]/{s/\t*\(.*\) \[\(.*\)\]\(.*\)/# \1\3\nmv \2{,.skip}/p}' tests-failed.log \
2671 >> %{_sourcedir}/skip-tests.sh
2673 # if on builders, dump test log
2674 tty -q || cat tests.log
2676 test ! -s failed.log
2682 rm -rf $RPM_BUILD_ROOT
2683 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2684 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2685 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2686 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2688 cp -pf php_config.h.cli main/php_config.h
2689 cp -pf Makefile.cli Makefile
2691 phpbuilddir=%{_libdir}/%{name}/build \
2692 INSTALL_ROOT=$RPM_BUILD_ROOT
2694 %if %{without default_php}
2695 # version the .phar files
2696 %{__mv} $RPM_BUILD_ROOT%{_bindir}/phar{,%{php_suffix}}.phar
2697 %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/phar{,%{php_suffix}}.1
2699 %if %{with alternatives}
2701 %{__rm} $RPM_BUILD_ROOT%{_bindir}/phar
2702 touch $RPM_BUILD_ROOT%{_bindir}/phar
2703 touch $RPM_BUILD_ROOT%{_mandir}/man1/phar.1
2707 v=$(echo %{version} | cut -d. -f1-2)
2709 # install Apache1 DSO module
2711 libtool --mode=install install -p sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2712 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5{,-$v}.so
2713 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache1/mod_php.so
2716 # install Apache2 DSO module
2718 libtool --mode=install install -p sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2719 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp5{,-$v}.so
2720 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache/mod_php.so
2723 # install litespeed sapi
2724 %if %{with litespeed}
2725 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
2729 %{__make} -f Makefile.phpdbg install-phpdbg \
2730 INSTALL="libtool --mode=install install -p" \
2731 INSTALL_ROOT=$RPM_BUILD_ROOT
2733 %if %{without default_php}
2734 # version the phpdbg files
2735 %{__mv} $RPM_BUILD_ROOT%{_bindir}/phpdbg{,%{ver_suffix}}
2736 %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/phpdbg{,%{ver_suffix}}.1
2741 %{__make} -f Makefile.milter install-milter \
2742 INSTALL_ROOT=$RPM_BUILD_ROOT
2745 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2750 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2751 ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
2752 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2757 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir}}
2758 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2759 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
2760 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2761 cp -p sapi/fpm/php-fpm.conf-d $RPM_BUILD_ROOT%{_sysconfdir}/fpm.d/www.conf
2762 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2763 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2764 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2765 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2766 %if "%{pld_release}" == "ac"
2767 %{__sed} -i -e '/su/d' $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2770 %if %{with alternatives}
2771 # touch for ghost for alternatives
2772 touch $RPM_BUILD_ROOT%{_sbindir}/php-fpm
2776 s#/usr/lib/php#%{php_extensiondir}#g
2777 s#/etc/php/#%{_sysconfdir}/#g
2778 s#@processname@#%{name}-fpm#g
2779 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf,%{_sysconfdir}/fpm.d/www.conf}
2782 # install Embedded API
2784 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2785 # install-sapi installs to wrong dir, so just do it all manually
2786 install -d $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2787 install -p libs/libphp5.so $RPM_BUILD_ROOT%{_libdir}
2788 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2792 # versioned suffix is always installed
2793 libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php%{ver_suffix}
2794 cp -p sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php%{ver_suffix}.1
2795 echo ".so php%{ver_suffix}.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.1
2796 ln -sf php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php
2798 cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2799 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2802 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2803 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2804 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2808 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2809 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2810 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2813 # ensure that paths are correct for current php version and arch
2814 grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
2816 s#/usr/lib/php#%{php_extensiondir}#g
2817 s#/etc/php/#%{_sysconfdir}/#g
2820 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2821 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2823 # per SAPI ini directories
2824 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2827 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2829 # use system automake and {lib,sh}tool
2830 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2831 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2832 for fn in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2833 f=%{_aclocaldir}/$fn
2834 test -f $f || continue
2835 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2837 for fn in ltmain.sh config/ltmain.sh build-aux/ltmain.sh; do
2838 f=/usr/share/libtool/$fn
2839 test -f $f || continue
2840 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2843 sed -i -e '/^phpdir/ s,/php/build,/%{name}/build,' $RPM_BUILD_ROOT%{_bindir}/phpize
2845 # for php-pecl-mailparse
2846 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2847 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2850 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2851 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2852 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2854 # fix install paths, avoid evil rpaths
2855 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2857 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/%{name}/build/acinclude.m4
2859 # somewhy there are installed static versions we don't use
2860 %if %{with apache1} || %{with apache2}
2861 %{__rm} $RPM_BUILD_ROOT%{_libdir}/apache*/libphp*.a
2862 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libphp*.a
2863 %{__rm} $RPM_BUILD_ROOT%{php_extensiondir}/*.a
2867 rm -rf $RPM_BUILD_ROOT
2869 %post -n apache1-mod_%{name}
2870 if [ "$1" = "1" ]; then
2871 %service -q apache restart
2874 %postun -n apache1-mod_%{name}
2875 if [ "$1" = "0" ]; then
2876 %service -q apache restart
2879 %post -n apache-mod_%{name}
2880 if [ "$1" = "1" ]; then
2881 %service -q httpd restart
2884 %postun -n apache-mod_%{name}
2885 if [ "$1" = "0" ]; then
2886 %service -q httpd restart
2890 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2893 /sbin/chkconfig --add %{name}-fpm
2894 %service %{name}-fpm restart
2895 %if %{with alternatives}
2896 update-alternatives --install %{_sbindir}/php-fpm php-fpm %{_sbindir}/php%{ver_suffix}-fpm %{ver_suffix} || :
2900 if [ "$1" = "0" ]; then
2901 %service %{name}-fpm stop
2902 /sbin/chkconfig --del %{name}-fpm
2903 %if %{with alternatives}
2904 update-alternatives --remove php-fpm %{_sbindir}/php-fpm || :
2909 if [ "$1" = "0" ]; then
2913 %post embedded -p /sbin/ldconfig
2914 %postun embedded -p /sbin/ldconfig
2917 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2918 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2920 . /etc/sysconfig/timezone
2921 if [ "$TIMEZONE" ]; then
2922 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2926 # minimizing apache restarts logics. we restart webserver:
2928 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2929 # 2. first install of extension (post: $1 = 1)
2930 # 2. uninstall of extension (postun: $1 == 0)
2932 # the strict internal deps between extensions (and apache modules) and
2933 # common package are very important for all this to work.
2935 # restart webserver at the end of transaction
2936 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2937 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2939 %triggerpostun common -- php-common < 4:5.3.28-7
2940 # migrate configs /etc/php/conf.d -> /etc/phpXY/conf.d/
2941 # do config migration in php-common trigger, as the trigger is ran after all packages are upgraded
2942 # this way we can stick to one trigger, instead of attaching one for each (sub)package!
2943 for f in /etc/php/*.ini.rpmsave /etc/php/*.d/*.ini.rpmsave; do
2944 test -f "$f" || continue
2948 test "$dn" = "$fn" && dn=
2950 nf=%{_sysconfdir}/$dn/$fn
2951 test -f "$nf" || continue
2952 cp -vfb $nf{,.rpmnew}
2955 s#%{_libdir}/php#%{_libdir}/%{name}#
2956 s#/etc/php#%{_sysconfdir}#
2960 %triggerpostun common -- %{name}-common < 4:5.6.4-2, php-common < 4:5.6.4-2
2961 # switch to browscap package if the ini file has original value
2962 %{__sed} -i -e 's#%{_sysconfdir}/browscap.ini#/usr/share/browscap/php_browscap.ini#' %{_sysconfdir}/php.ini
2963 # disable browscap, if optional package not present
2964 if [ ! -e /usr/share/browscap/php_browscap.ini ]; then
2965 %{__sed} -i -e 's#^browscap = /usr/share/browscap/php_browscap.ini#;&#' %{_sysconfdir}/php.ini
2968 %triggerpostun -n apache1-mod_%{name} -- apache1-mod_%{name} < 4:5.6.14-2
2969 sed -i -e 's#modules/libphp5.so#modules/mod_php.so#g' /etc/apache/conf.d/*_mod_php.conf
2971 %triggerpostun -n apache-mod_%{name} -- apache-mod_%{name} < 4:5.6.14-2
2972 sed -i -e 's#modules/libphp[57].so#modules/mod_php.so#g' /etc/httpd/conf.d/*_mod_php.conf
2974 # common macros called at extension post/postun scriptlet
2976 if [ "$1" = "1" ]; then \
2977 %php_webserver_restart \
2981 %define ext_postun \
2982 if [ "$1" = "0" ]; then \
2983 %php_webserver_restart \
2987 %define extension_scripts() \
2995 # extension scripts defines
2996 %extension_scripts bcmath
2997 %extension_scripts bz2
2998 %extension_scripts calendar
2999 %extension_scripts ctype
3000 %extension_scripts curl
3001 %extension_scripts dba
3002 %extension_scripts dom
3003 %extension_scripts enchant
3004 %extension_scripts exif
3005 %extension_scripts fileinfo
3006 %extension_scripts filter
3007 %extension_scripts ftp
3008 %extension_scripts gd
3009 %extension_scripts gettext
3010 %extension_scripts gmp
3011 %extension_scripts hash
3012 %extension_scripts iconv
3013 %extension_scripts imap
3014 %extension_scripts interbase
3015 %extension_scripts intl
3016 %extension_scripts json
3017 %extension_scripts ldap
3018 %extension_scripts mbstring
3019 %extension_scripts mcrypt
3020 %extension_scripts mssql
3021 %extension_scripts mysql
3022 %extension_scripts mysqli
3023 %extension_scripts mysqlnd
3024 %extension_scripts oci8
3025 %extension_scripts odbc
3026 %extension_scripts opcache
3027 %extension_scripts openssl
3028 %extension_scripts pcre
3029 %extension_scripts pdo
3030 %extension_scripts pdo-dblib
3031 %extension_scripts pdo-firebird
3032 %extension_scripts pdo-oci
3033 %extension_scripts pdo-mysql
3034 %extension_scripts pdo-odbc
3035 %extension_scripts pdo-pgsql
3036 %extension_scripts pdo-sqlite
3037 %extension_scripts pgsql
3038 %extension_scripts pcntl
3039 %extension_scripts posix
3040 %extension_scripts pspell
3041 %extension_scripts recode
3042 %extension_scripts session
3043 %extension_scripts shmop
3044 %extension_scripts simplexml
3045 %extension_scripts snmp
3046 %extension_scripts soap
3047 %extension_scripts sockets
3048 %extension_scripts spl
3049 %extension_scripts sqlite3
3050 %extension_scripts sybase-ct
3051 %extension_scripts sysvmsg
3052 %extension_scripts sysvsem
3053 %extension_scripts sysvshm
3054 %extension_scripts tidy
3055 %extension_scripts tokenizer
3056 %extension_scripts wddx
3057 %extension_scripts xml
3058 %extension_scripts xmlreader
3059 %extension_scripts xmlrpc
3060 %extension_scripts xmlwriter
3061 %extension_scripts xsl
3062 %extension_scripts zip
3063 %extension_scripts zlib
3067 %if %{with alternatives}
3068 update-alternatives \
3069 --install %{_bindir}/phar phar %{_bindir}/phar%{ver_suffix}.phar %{ver_suffix} \
3070 --slave %{_mandir}/man1/phar.1 phar.1 %{_mandir}/man1/phar%{ver_suffix}.1* || :
3075 %if %{with alternatives}
3076 if [ $1 -eq 0 ]; then
3077 update-alternatives --remove phar %{_bindir}/phar || :
3082 %files -n apache1-mod_%{name}
3083 %defattr(644,root,root,755)
3084 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
3085 %dir %{_sysconfdir}/apache.d
3086 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
3087 %attr(755,root,root) %{_libdir}/apache1/mod_php.so
3088 %attr(755,root,root) %{_libdir}/apache1/libphp5-*.*.so
3092 %files -n apache-mod_%{name}
3093 %defattr(644,root,root,755)
3094 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
3095 %attr(755,root,root) %{_libdir}/apache/mod_php.so
3097 %files -n apache-mod_%{name}-core
3098 %defattr(644,root,root,755)
3099 %dir %{_sysconfdir}/apache2handler.d
3100 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
3101 %attr(755,root,root) %{_libdir}/apache/libphp5-*.*.so
3104 %if %{with litespeed}
3106 %defattr(644,root,root,755)
3107 %attr(755,root,root) %{_sbindir}/%{name}.litespeed
3112 %defattr(644,root,root,755)
3113 %dir %{_sysconfdir}/cgi-fcgi.d
3114 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
3115 %attr(755,root,root) %{_bindir}/%{name}.cgi
3116 %attr(755,root,root) %{_bindir}/%{name}.fcgi
3121 %defattr(644,root,root,755)
3122 %attr(755,root,root) %{_libdir}/libphp5.so
3126 %defattr(644,root,root,755)
3127 %dir %{_sysconfdir}/cli.d
3128 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
3129 %attr(755,root,root) %{_bindir}/php%{ver_suffix}
3130 %{_mandir}/man1/php%{ver_suffix}.1*
3133 %defattr(644,root,root,755)
3134 %attr(755,root,root) %{_bindir}/php
3135 %{_mandir}/man1/php.1*
3139 %defattr(644,root,root,755)
3140 %doc sapi/fpm/{CREDITS,LICENSE}
3141 %dir %{_sysconfdir}/fpm.d
3142 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
3143 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.d/www.conf
3144 %attr(755,root,root) %{_sbindir}/%{name}-fpm
3145 %if %{with alternatives}
3146 %ghost %{_sbindir}/php-fpm
3148 %{_mandir}/man8/%{name}-fpm.8*
3149 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
3150 %attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
3155 %defattr(644,root,root,755)
3156 %attr(755,root,root) %{_bindir}/phpdbg%{php_suffix}
3157 %{_mandir}/man1/phpdbg%{php_suffix}.1*
3162 %defattr(644,root,root,755)
3163 %attr(755,root,root) %{_bindir}/php-milter
3167 %defattr(644,root,root,755)
3168 %doc CREDITS EXTENSIONS LICENSE NEWS README.namespaces UPGRADING* Zend/{LICENSE.Zend,ZEND_CHANGES} php.ini-*
3170 %dir %{_sysconfdir}/conf.d
3171 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
3172 %if %{with apache1} || %{with apache2}
3173 %attr(755,root,root) %{_libdir}/libphp_common-*.so
3175 %dir %{php_extensiondir}
3177 %doc ext/session/mod_files.sh
3180 %defattr(644,root,root,755)
3181 %doc CODING_STANDARDS README.{EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
3182 %attr(755,root,root) %{_bindir}/phpize
3183 %attr(755,root,root) %{_bindir}/php-config
3184 %if %{with apache1} || %{with apache2}
3185 %attr(755,root,root) %{_libdir}/libphp_common.so
3187 %attr(755,root,root) %{_libdir}/libphp_common.a
3189 %{_libdir}/libphp_common.la
3191 %{_libdir}/%{name}/build
3192 %{_mandir}/man1/php-config.1*
3193 %{_mandir}/man1/phpize.1*
3197 %defattr(644,root,root,755)
3198 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
3199 %attr(755,root,root) %{php_extensiondir}/bcmath.so
3204 %defattr(644,root,root,755)
3205 %doc ext/bz2/CREDITS
3206 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
3207 %attr(755,root,root) %{php_extensiondir}/bz2.so
3210 %if %{with calendar}
3212 %defattr(644,root,root,755)
3213 %doc ext/calendar/CREDITS
3214 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
3215 %attr(755,root,root) %{php_extensiondir}/calendar.so
3220 %defattr(644,root,root,755)
3221 %doc ext/calendar/CREDITS
3222 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
3223 %attr(755,root,root) %{php_extensiondir}/ctype.so
3228 %defattr(644,root,root,755)
3229 %doc ext/curl/CREDITS
3230 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
3231 %attr(755,root,root) %{php_extensiondir}/curl.so
3236 %defattr(644,root,root,755)
3237 %doc ext/dba/{CREDITS,README}
3238 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
3239 %attr(755,root,root) %{php_extensiondir}/dba.so
3244 %defattr(644,root,root,755)
3245 %doc ext/dom/{CREDITS,TODO}
3246 %doc ext/dom/examples
3247 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
3248 %attr(755,root,root) %{php_extensiondir}/dom.so
3253 %defattr(644,root,root,755)
3254 %doc ext/enchant/{CREDITS,docs/examples}
3255 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/enchant.ini
3256 %attr(755,root,root) %{php_extensiondir}/enchant.so
3261 %defattr(644,root,root,755)
3262 %doc ext/exif/CREDITS
3263 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
3264 %attr(755,root,root) %{php_extensiondir}/exif.so
3267 %if %{with fileinfo}
3269 %defattr(644,root,root,755)
3270 %doc ext/fileinfo/CREDITS
3271 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
3272 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
3277 %defattr(644,root,root,755)
3278 %doc ext/filter/{CREDITS,docs/*}
3279 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
3280 %attr(755,root,root) %{php_extensiondir}/filter.so
3285 %defattr(644,root,root,755)
3286 %doc ext/ftp/CREDITS
3287 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
3288 %attr(755,root,root) %{php_extensiondir}/ftp.so
3293 %defattr(644,root,root,755)
3295 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
3296 %attr(755,root,root) %{php_extensiondir}/gd.so
3301 %defattr(644,root,root,755)
3302 %doc ext/gettext/CREDITS
3303 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
3304 %attr(755,root,root) %{php_extensiondir}/gettext.so
3309 %defattr(644,root,root,755)
3310 %doc ext/gmp/{CREDITS,README,TODO}
3311 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
3312 %attr(755,root,root) %{php_extensiondir}/gmp.so
3317 %defattr(644,root,root,755)
3318 %doc ext/hash/{CREDITS,README}
3319 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
3320 %attr(755,root,root) %{php_extensiondir}/hash.so
3325 %defattr(644,root,root,755)
3326 %doc ext/iconv/CREDITS
3327 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
3328 %attr(755,root,root) %{php_extensiondir}/iconv.so
3333 %defattr(644,root,root,755)
3334 %doc ext/imap/CREDITS
3335 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
3336 %attr(755,root,root) %{php_extensiondir}/imap.so
3339 %if %{with interbase}
3341 %defattr(644,root,root,755)
3342 %doc ext/interbase/CREDITS
3343 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
3344 %attr(755,root,root) %{php_extensiondir}/interbase.so
3349 %defattr(644,root,root,755)
3350 %doc ext/intl/{CREDITS,TODO}
3351 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
3352 %attr(755,root,root) %{php_extensiondir}/intl.so
3357 %defattr(644,root,root,755)
3358 %doc ext/json/CREDITS
3359 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
3360 %attr(755,root,root) %{php_extensiondir}/json.so
3365 %defattr(644,root,root,755)
3366 %doc ext/ldap/CREDITS
3367 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
3368 %attr(755,root,root) %{php_extensiondir}/ldap.so
3371 %if %{with mbstring}
3373 %defattr(644,root,root,755)
3374 %doc ext/mbstring/{CREDITS,README*}
3375 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
3376 %attr(755,root,root) %{php_extensiondir}/mbstring.so
3381 %defattr(644,root,root,755)
3382 %doc ext/mcrypt/{CREDITS,TODO}
3383 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
3384 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
3389 %defattr(644,root,root,755)
3390 %doc ext/mssql/CREDITS
3391 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
3392 %attr(755,root,root) %{php_extensiondir}/mssql.so
3397 %defattr(644,root,root,755)
3398 %doc ext/mysql/CREDITS
3399 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
3400 %attr(755,root,root) %{php_extensiondir}/mysql.so
3405 %defattr(644,root,root,755)
3406 %doc ext/mysqli/{CREDITS,TODO}
3407 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
3408 %attr(755,root,root) %{php_extensiondir}/mysqli.so
3413 %defattr(644,root,root,755)
3414 %doc ext/mysqlnd/CREDITS
3415 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
3416 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
3421 %defattr(644,root,root,755)
3422 %doc ext/oci8/{CREDITS,README}
3423 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
3424 %attr(755,root,root) %{php_extensiondir}/oci8.so
3429 %defattr(644,root,root,755)
3430 %doc ext/odbc/CREDITS
3431 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
3432 %attr(755,root,root) %{php_extensiondir}/odbc.so
3437 %defattr(644,root,root,755)
3438 %doc ext/opcache/README
3439 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/opcache.ini
3440 %attr(755,root,root) %{php_extensiondir}/opcache.so
3445 %defattr(644,root,root,755)
3446 %doc ext/openssl/{CREDITS,README}
3447 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
3448 %attr(755,root,root) %{php_extensiondir}/openssl.so
3453 %defattr(644,root,root,755)
3454 %doc ext/pcntl/{CREDITS,README}
3455 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
3456 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3461 %defattr(644,root,root,755)
3462 %doc ext/pcre/CREDITS
3463 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
3464 %attr(755,root,root) %{php_extensiondir}/pcre.so
3469 %defattr(644,root,root,755)
3470 %doc ext/pdo/{CREDITS,README,TODO}
3471 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
3472 %attr(755,root,root) %{php_extensiondir}/pdo.so
3475 %if %{with pdo_dblib}
3477 %defattr(644,root,root,755)
3478 %doc ext/pdo_dblib/{CREDITS,README}
3479 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
3480 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3483 %if %{with interbase} && !%{with interbase_inst}
3485 %defattr(644,root,root,755)
3486 %doc ext/pdo_firebird/CREDITS
3487 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
3488 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3491 %if %{with pdo_mysql}
3493 %defattr(644,root,root,755)
3494 %doc ext/pdo_mysql/CREDITS
3495 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
3496 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3501 %defattr(644,root,root,755)
3502 %doc ext/pdo_oci/CREDITS
3503 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
3504 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3509 %defattr(644,root,root,755)
3510 %doc ext/pdo_odbc/CREDITS
3511 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3512 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3517 %defattr(644,root,root,755)
3518 %doc ext/pdo_pgsql/CREDITS
3519 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3520 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3523 %if %{with pdo_sqlite}
3525 %defattr(644,root,root,755)
3526 %doc ext/pdo_sqlite/CREDITS
3527 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3528 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3533 %defattr(644,root,root,755)
3534 %doc ext/pgsql/{CREDITS,README}
3535 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3536 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3541 %defattr(644,root,root,755)
3542 %doc ext/phar/{CREDITS,TODO}
3543 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
3544 %attr(755,root,root) %{php_extensiondir}/phar.so
3545 %attr(755,root,root) %{_bindir}/phar%{php_suffix}.phar
3546 %{_mandir}/man1/phar%{php_suffix}.1*
3547 %{_mandir}/man1/phar.phar.1*
3548 %if %{with alternatives}
3549 %ghost %{_bindir}/phar
3550 %ghost %{_mandir}/man1/phar.1
3552 %attr(755,root,root) %{_bindir}/phar
3558 %defattr(644,root,root,755)
3559 %doc ext/posix/CREDITS
3560 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3561 %attr(755,root,root) %{php_extensiondir}/posix.so
3566 %defattr(644,root,root,755)
3567 %doc ext/pspell/{CREDITS,README}
3568 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3569 %attr(755,root,root) %{php_extensiondir}/pspell.so
3572 %if %{with readline}
3574 %defattr(644,root,root,755)
3575 %doc ext/readline/{CREDITS,README*}
3576 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3577 %attr(755,root,root) %{php_extensiondir}/readline.so
3582 %defattr(644,root,root,755)
3583 %doc ext/recode/CREDITS
3584 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3585 %attr(755,root,root) %{php_extensiondir}/recode.so
3590 %defattr(644,root,root,755)
3591 %doc ext/session/CREDITS
3592 %doc ext/session/mod_files.sh
3593 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3594 %attr(755,root,root) %{php_extensiondir}/session.so
3598 %defattr(644,root,root,755)
3599 %doc ext/shmop/{CREDITS,README}
3600 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3601 %attr(755,root,root) %{php_extensiondir}/shmop.so
3604 %defattr(644,root,root,755)
3605 %doc ext/simplexml/{CREDITS,README}
3606 %doc ext/simplexml/examples
3607 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3608 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3612 %defattr(644,root,root,755)
3613 %doc ext/snmp/CREDITS
3614 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3615 %attr(755,root,root) %{php_extensiondir}/snmp.so
3619 %defattr(644,root,root,755)
3620 %doc ext/soap/{CREDITS,TODO*}
3621 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3622 %attr(755,root,root) %{php_extensiondir}/soap.so
3625 %defattr(644,root,root,755)
3626 %doc ext/sockets/CREDITS
3627 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3628 %attr(755,root,root) %{php_extensiondir}/sockets.so
3631 %defattr(644,root,root,755)
3632 %doc ext/spl/{CREDITS,README,TODO}
3633 %doc ext/spl/examples
3634 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3635 %attr(755,root,root) %{php_extensiondir}/spl.so
3639 %defattr(644,root,root,755)
3640 %doc ext/sqlite3/CREDITS
3641 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3642 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3645 %if %{with sybase_ct}
3647 %defattr(644,root,root,755)
3648 %doc ext/sybase_ct/CREDITS
3649 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3650 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
3654 %defattr(644,root,root,755)
3655 %doc ext/sysvmsg/CREDITS
3656 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3657 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3660 %defattr(644,root,root,755)
3661 %doc ext/sysvsem/CREDITS
3662 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3663 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3666 %defattr(644,root,root,755)
3667 %doc ext/sysvshm/CREDITS
3668 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3669 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3672 %defattr(644,root,root,755)
3673 %dir %{php_data_dir}/tests
3674 %dir %{php_data_dir}/tests/php
3675 %{php_data_dir}/tests/php/basic
3676 %{php_data_dir}/tests/php/classes
3677 %{php_data_dir}/tests/php/func
3678 %{php_data_dir}/tests/php/lang
3679 %{php_data_dir}/tests/php/output
3680 %{php_data_dir}/tests/php/run-test
3681 %{php_data_dir}/tests/php/security
3682 %{php_data_dir}/tests/php/strings
3683 %{php_data_dir}/tests/php/quicktester.inc
3684 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3688 %defattr(644,root,root,755)
3689 %doc ext/tidy/{CREDITS,README}
3690 %doc ext/tidy/examples
3691 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3692 %attr(755,root,root) %{php_extensiondir}/tidy.so
3696 %defattr(644,root,root,755)
3697 %doc ext/tokenizer/CREDITS
3698 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3699 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3703 %defattr(644,root,root,755)
3704 %doc ext/wddx/CREDITS
3705 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3706 %attr(755,root,root) %{php_extensiondir}/wddx.so
3710 %defattr(644,root,root,755)
3711 %doc ext/xml/CREDITS
3712 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3713 %attr(755,root,root) %{php_extensiondir}/xml.so
3716 %defattr(644,root,root,755)
3717 %doc ext/xmlreader/{CREDITS,README,TODO}
3718 %doc ext/xmlreader/examples
3719 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3720 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3724 %defattr(644,root,root,755)
3725 %doc ext/xmlrpc/CREDITS
3726 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3727 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3731 %defattr(644,root,root,755)
3732 %doc ext/xmlwriter/{CREDITS,TODO}
3733 %doc ext/xmlwriter/examples
3734 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3735 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3738 %defattr(644,root,root,755)
3739 %doc ext/xsl/CREDITS
3740 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3741 %attr(755,root,root) %{php_extensiondir}/xsl.so
3744 %defattr(644,root,root,755)
3745 %doc ext/zip/{CREDITS,TODO}
3746 %doc ext/zip/examples
3747 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3748 %attr(755,root,root) %{php_extensiondir}/zip.so
3751 %defattr(644,root,root,755)
3752 %doc ext/zlib/CREDITS
3753 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3754 %attr(755,root,root) %{php_extensiondir}/zlib.so