2 # - mysqlnd driver doesn't support reconnect: https://bugs.php.net/bug.php?id=52561
4 # - follow upstream: drop spl, pcre, hash subpackages (tired of maintaining them)
5 # - handle acinclude.m4 -> build/php.m4 rename
7 # - branch php-7.2 and merge dev-7.3 into head once official announcement ready
9 # - https://github.com/php/php-src/blob/php-7.2.0/UPGRADING
11 # - enable --with-fpm-systemd, but ensure it checks for sd_booted()
13 # - update imap annotations patch (needs api porting)
14 # - update imap myrights patch (needs api porting)
16 # - fileinfo extension bundles magic db in library: data_file.c (dump of magic.mgc) is 14M
17 # - 2.3M fileinfo.so php54-fileinfo-5.4.6-0.15.x86_64
18 # - 2.3M fileinfo.so php-fileinfo-5.3.16-1.x86_64
19 # - 13K fileinfo.so php-pecl-fileinfo-1.0.4-8.amd64
20 # - ttyname_r() misdetected http://bugs.php.net/bug.php?id=48820
21 # - wddx: restore session support (not compiled in due DL extension check)
22 # - modularize standard (output from pure php -m)?
23 # - some mods should be shared:
34 %bcond_without alternatives # use alternatives system to select default phar and php-fpm
35 %bcond_with default_php # build this PHP as default PHP in system (disables alternatives)
37 %bcond_without embed # disable building Embedded API
38 %bcond_with gcov # Enable Code coverage reporting
39 %bcond_without kerberos5 # without Kerberos5 support
40 %bcond_with systemtap # systemtap/DTrace support
41 %bcond_with tests # default off; test process very often hangs on builders, approx run time 45m; perform "make test"
42 %bcond_with zts # Zend Thread Safety
43 %bcond_with debug # Zend Debug Build
45 %bcond_without apache2 # disable building Apache 2.x SAPI
46 %bcond_without cgi # disable CGI/FCGI SAPI
47 %bcond_without fpm # disable FPM SAPI
48 %bcond_without litespeed # build litespeed SAPI
49 %bcond_with milter # disable Milter SAPI
50 %bcond_without phpdbg # disable phpdbg SAPI
52 %bcond_without bcmath # without bcmath extension module
53 %bcond_without bz2 # without bz2 extension module
54 %bcond_without calendar # without calendar extension module
55 %bcond_without ctype # without ctype extension module
56 %bcond_without curl # without CURL extension module
57 %bcond_without dba # without DBA extension module
58 %bcond_without dom # without DOM extension module
59 %bcond_without enchant # without Enchant extension module
60 %bcond_without exif # without EXIF extension module
61 %bcond_without fileinfo # without fileinfo extension module
62 %bcond_without filter # without filter extension module
63 %bcond_without ftp # without FTP extension module
64 %bcond_without gd # without GD extension module
65 %bcond_without gettext # without gettext extension module
66 %bcond_without gmp # without gmp extension module
67 %bcond_without hash # without hash extension module
68 %bcond_without iconv # without iconv extension module
69 %bcond_without imap # without IMAP extension module
70 %bcond_without interbase # without InterBase extension module
71 %bcond_without intl # without Intl extension module
72 %bcond_without json # without json extension module
73 %bcond_without ldap # without LDAP extension module
74 %bcond_without mbstring # without mbstring extension module
75 %bcond_without mhash # without mhash extension (supported by hash extension)
76 %bcond_without mysqli # without mysqli support (Requires mysql >= 4.1)
77 %bcond_without mysqlnd # without mysqlnd support in mysql related extensions
78 %bcond_with oci # with Oracle oci8 extension module (BR: proprietary libs)
79 %bcond_without odbc # without ODBC extension module
80 %bcond_without opcache # without Enable Zend OPcache extension support
81 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
82 %bcond_without pcntl # without pcntl extension module
83 %bcond_without pcre # without PCRE extension module
84 %bcond_without pdo # without PDO extension module
85 %bcond_without pdo_dblib # without PDO dblib extension module
86 %bcond_without pdo_mysql # without PDO MySQL extension module
87 %bcond_without pdo_sqlite # without PDO SQLite extension module
88 %bcond_without pgsql # without PostgreSQL extension module
89 %bcond_without phar # without Phar extension module
90 %bcond_without posix # without POSIX extension module
91 %bcond_without pspell # without pspell extension module
92 %bcond_without readline # without readline extension module
93 %bcond_without recode # without recode extension module
94 %bcond_without session # without session extension module
95 %bcond_without snmp # without SNMP extension module
96 %bcond_without sodium # without sodium extension module
97 %bcond_without sqlite2 # without SQLite extension module
98 %bcond_without sqlite3 # without SQLite3 extension module
99 %bcond_without tidy # without Tidy extension module
100 %bcond_without wddx # without WDDX extension module
101 %bcond_without xmlrpc # without XML-RPC extension module
102 %bcond_without xsl # without xsl extension module
103 %bcond_without zip # without zip extension module
105 %bcond_without argon2 # argon2 password hashing
106 %bcond_without instantclient # build Oracle oci8 extension module against oracle-instantclient package
107 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
108 %bcond_with mm # without mm support for session storage
109 %bcond_without system_gd # system gd
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_apache2
119 %undefine with_litespeed
122 %if %{with default_php}
123 %undefine with_alternatives
126 # mm is not thread safe
131 # milter requires ZTS
132 %if %{with milter} && %{without zts}
133 %undefine with_milter
136 %ifnarch %{ix86} %{x8664} x32 sparc sparcv9 alpha
137 # ppc disabled (broken on th-ppc)
138 %undefine with_interbase
141 %ifnarch %{ix86} %{x8664} x32
142 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
146 # filter depends on pcre
148 %undefine with_filter
151 %define subver %{nil}
153 %define ver_suffix 74
154 %define php_suffix %{!?with_default_php:%{ver_suffix}}
155 Summary: PHP: Hypertext Preprocessor
156 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
157 Summary(pl.UTF-8): Język skryptowy PHP
158 Summary(pt_BR.UTF-8): A linguagem de script PHP
159 Summary(ru.UTF-8): PHP Версии 7 - язык препроцессирования HTML-файлов, выполняемый на сервере
160 Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері
161 Name: %{orgname}%{php_suffix}
165 # All files licensed under PHP version 3.01, except
166 # Zend is licensed under Zend
167 # TSRM is licensed under BSD
168 License: PHP 3.01 and Zend and BSD
170 #Source0: https://downloads.php.net/~cmb/php-%{version}%{subver}.tar.xz
171 #Source0: https://php.net/distributions/%{orgname}-%{version}.tar.xz
172 Source0: https://github.com/php/php-src/archive/PHP-7.4/%{orgname}-%{version}.tar.gz
173 # Source0-md5: e54970ae767eae731995f5bb2b4e0f43
175 Source2: %{orgname}-mod_php.conf
176 Source3: %{orgname}-cgi-fcgi.ini
177 Source4: %{orgname}-apache.ini
178 Source5: %{orgname}-cli.ini
179 Source10: %{orgname}-fpm.init
180 Source11: %{orgname}-fpm.logrotate
181 Source12: %{orgname}-branch.sh
182 Source13: dep-tests.sh
183 Source14: skip-tests.sh
184 Patch0: %{orgname}-shared.patch
185 Patch1: %{orgname}-pldlogo.patch
186 Patch2: %{orgname}-mail.patch
187 Patch3: %{orgname}-link-libs.patch
188 Patch4: intl-stdc++.patch
189 Patch5: %{orgname}-filter-shared.patch
191 Patch7: %{orgname}-sapi-ini-file.patch
193 Patch9: libtool-tag.patch
194 Patch10: %{orgname}-ini.patch
196 Patch14: %{orgname}-no_pear_install.patch
197 Patch17: %{orgname}-readline.patch
198 Patch18: %{orgname}-nohttpd.patch
199 Patch21: %{orgname}-dba-link.patch
200 Patch22: %{orgname}-both-apxs.patch
201 Patch23: %{orgname}-builddir.patch
202 Patch24: %{orgname}-zlib-for-getimagesize.patch
203 Patch25: %{orgname}-stupidapache_version.patch
204 Patch26: %{orgname}-pear.patch
205 Patch27: %{orgname}-config-dir.patch
206 Patch29: %{orgname}-fcgi-graceful.patch
207 Patch31: %{orgname}-fcgi-error_log-no-newlines.patch
208 Patch34: %{orgname}-libtool.patch
209 Patch39: %{orgname}-use-prog_sendmail.patch
210 Patch41: %{orgname}-fpm-config.patch
211 Patch42: %{orgname}-fpm-shared.patch
212 Patch43: %{orgname}-silent-session-cleanup.patch
213 Patch44: %{orgname}-include_path.patch
214 Patch45: %{orgname}-imap-annotations.patch
215 Patch46: %{orgname}-imap-myrights.patch
216 Patch50: extension-shared-optional-dep.patch
217 Patch51: spl-shared.patch
218 Patch52: pcre-shared.patch
219 Patch53: fix-test-run.patch
220 Patch55: bug-52078-fileinode.patch
221 Patch59: %{orgname}-systzdata.patch
222 Patch60: %{orgname}-oracle-instantclient.patch
223 Patch66: php-db.patch
224 Patch67: mysql-lib-ver-mismatch.patch
225 # https://bugs.php.net/bug.php?id=68344
226 Patch68: php-mysql-ssl-context.patch
227 Patch70: mysqlnd-ssl.patch
228 Patch71: libdb-info.patch
229 Patch72: phar-hash-shared.patch
231 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
232 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
233 BuildRequires: autoconf >= 2.59
234 BuildRequires: automake >= 1.4d
236 BuildRequires: bzip2-devel >= 1.0.0
237 %{?with_curl:BuildRequires: curl-devel >= 7.15.5}
238 BuildRequires: cyrus-sasl-devel >= 2
239 BuildRequires: db-devel >= 4.0
240 BuildRequires: elfutils-devel
241 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
242 %{?with_kerberos5:BuildRequires: heimdal-devel}
243 %{?with_argon2:BuildRequires: libargon2-devel >= 20161029}
244 %{?with_sodium:BuildRequires: libsodium-devel >= 1.0.8}
245 %if %{with pdo_dblib}
246 BuildRequires: freetds-devel >= 0.82
248 BuildRequires: freetype-devel >= 1:2.5.1
249 %if %{with system_gd}
250 BuildRequires: gd-devel >= 2.1
252 BuildRequires: gdbm-devel
253 BuildRequires: gmp-devel >= 4.2
254 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
255 %{?with_gcov:BuildRequires: lcov}
256 %{?with_fpm:BuildRequires: libapparmor-devel}
257 %{?with_intl:BuildRequires: libicu-devel >= 4.4}
258 BuildRequires: libjpeg-devel
259 BuildRequires: libltdl-devel >= 1.4
260 BuildRequires: libpng-devel >= 1.0.8
261 %{?with_intl:BuildRequires: libstdc++-devel}
262 %{?with_webp:BuildRequires: libwebp-devel}
263 %if "%{pld_release}" != "ac"
264 BuildRequires: libtool >= 2:2.4.6
266 BuildRequires: libtool >= 1.4.3
268 BuildRequires: libxml2-devel >= 1:2.7.6-4
269 %{?with_xsl:BuildRequires: libxslt-devel >= 1.1.0}
270 %{?with_zip:BuildRequires: libzip-devel >= 1.3.1}
271 %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
272 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
273 %{!?with_mysqli:BuildRequires: mysql-devel >= 4.1.13}
274 %{!?with_pdo_mysql:BuildRequires: mysql-devel}
275 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.3}
276 BuildRequires: oniguruma-devel
277 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
278 %if %{with openssl} || %{with ldap}
279 BuildRequires: openssl-devel >= 1.0.1
281 %{?with_oci:%{?with_instantclient:BuildRequires: oracle-instantclient-devel}}
282 BuildRequires: pam-devel
283 %{?with_pcre:BuildRequires: pcre2-8-devel >= 10.30}
284 BuildRequires: pkgconfig
285 %{?with_pgsql:BuildRequires: postgresql-devel}
286 BuildRequires: readline-devel
287 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
288 BuildRequires: rpm >= 4.4.9-56
289 BuildRequires: rpm-build >= 4.4.0
290 BuildRequires: rpmbuild(macros) >= 1.566
291 BuildRequires: sed >= 4.0
292 %if %{with sqlite3} || %{with pdo_sqlite}
293 BuildRequires: sqlite3-devel >= 3.3.9
295 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
296 BuildRequires: tar >= 1:1.22
297 %{?with_tidy:BuildRequires: tidy-devel}
298 BuildRequires: tokyocabinet-devel
299 %{?with_odbc:BuildRequires: unixODBC-devel}
300 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
302 BuildRequires: zlib-devel >= 1.2.0.4
304 BuildRequires: apache-devel >= 2.0.52-2
305 BuildRequires: apr-devel >= 1:1.0.0
306 BuildRequires: apr-util-devel >= 1:1.0.0
308 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
310 %define php_sysconfdir /etc/%{name}
311 %define php_extensiondir %{_libdir}/%{name}
312 %define _sysconfdir %{php_sysconfdir}
314 # must be in sync with source. extra check ensuring that it is so is done in %%build
315 %define php_api_version 20180731
316 %define zend_module_api 20180731
317 %define zend_extension_api 320180731
318 %define php_pdo_api_version 20170320
321 %define bz2ver %{version}
322 %define enchantver %{version}
323 %define fileinfover %{version}
324 %define hashver %{version}
325 %define intlver %{version}
326 %define jsonver 1.7.0
327 %define pharver %{version}
328 %define sqlite3ver %{version}
329 %define zipver 1.15.4
330 %define phpdbgver %{version}
331 %define sodiumver %{version}
333 %define _zend_zts %{!?with_zts:0}%{?with_zts:1}
334 %define php_debug %{!?with_debug:0}%{?with_debug:1}
337 %undefine with_ccache
341 # ORACLE_HOME is required for oci8 ext to build
342 %define _preserve_env %_preserve_env_base ORACLE_HOME
346 PHP is an HTML-embedded scripting language. PHP attempts to make it
347 easy for developers to write dynamically generated web pages. PHP also
348 offers built-in database integration for several commercial and
349 non-commercial database management systems, so writing a
350 database-enabled web page with PHP is fairly simple. The most common
351 use of PHP coding is probably as a replacement for CGI scripts. The
352 mod_php module enables the Apache web server to understand and process
353 the embedded PHP language in web pages. This package contains PHP
356 %description -l fr.UTF-8
357 PHP est un langage de script embarque dans le HTM. PHP essaye de
358 rendre simple aux developpeurs d'ecrire des pages web generees
359 dynamiquement. PHP incorpore egalement une integration avec plusieurs
360 systemes de gestion de bases de donnees commerciaux et
361 non-connerciaux, qui rent facile la creation de pages web liees avec
362 des bases de donnees. L'utilisation la plus commune de PHP est
363 probablement en remplacement de scripts CGI. Le module mod_php permet
364 au serveur web Apache de comprendre et de traiter le langage PHP
365 integre dans des pages web. Ce package contient PHP version
368 %description -l pl.UTF-8
369 PHP jest językiem skryptowym, którego polecenia umieszcza się w
370 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
371 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
372 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
373 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
374 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
375 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
376 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
379 %description -l pt_BR.UTF-8
380 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
381 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
382 com algumas características únicas, específicas ao PHP. O objetivo da
383 linguagem é permitir que desenvolvedores web escrevam páginas
384 dinamicamente geradas de forma rápida.
386 %description -l ru.UTF-8
387 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
388 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
389 для работы с базами данных относительно просто. Наиболее популярное
390 использование PHP - замена для CGI скриптов.
392 %description -l uk.UTF-8
393 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
394 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
395 роботи з базами даних є доволі простим. Найбільш популярне
396 використання PHP - заміна для CGI скриптів.
398 %package -n apache-mod_%{name}
399 Summary: PHP support for Apache 2.x
400 Summary(pl.UTF-8): Wsparcie PHP dla Apache 2.x
401 Group: Development/Languages/PHP
402 Requires: %{name}-common = %{epoch}:%{version}-%{release}
403 Requires: apache-mod_%{name}-core = %{epoch}:%{version}-%{release}
404 Provides: webserver(php) = %{version}
405 Obsoletes: apache-mod_php < 4:5.3.28-7
408 %description -n apache-mod_%{name}
409 PHP support for Apache 2.x.
411 %description -n apache-mod_%{name} -l pl.UTF-8
412 Wsparcie PHP dla Apache 2.x.
414 %package -n apache-mod_%{name}-core
415 Summary: PHP DSO module for Apache 2.x
416 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
417 Group: Development/Languages/PHP
418 Requires: %{name}-common = %{epoch}:%{version}-%{release}
419 Requires: apache(modules-api) = %{apache_modules_api}
420 Requires: apache-mod_mime
422 %description -n apache-mod_%{name}-core
423 PHP as DSO module for Apache 2.x.
425 %description -n apache-mod_%{name}-core -l pl.UTF-8
426 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
429 Summary: PHP for litespeed HTTP server
430 Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
431 Group: Development/Languages/PHP
432 Requires: %{name}-common = %{epoch}:%{version}-%{release}
433 Provides: php(litespeed)
434 Provides: webserver(php) = %{version}
435 Obsoletes: php-litespeed < 4:5.3.28-7
437 %description litespeed
438 PHP for litespeed HTTP server.
440 %description litespeed -l pl.UTF-8
441 PHP dla serwera HTTP litespeed.
444 Summary: PHP as CGI/FastCGI program
445 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
446 Group: Development/Languages/PHP
447 Requires: %{name}-common = %{epoch}:%{version}-%{release}
448 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
451 Provides: webserver(php) = %{version}
452 Obsoletes: php-cgi < 4:5.3.28-7
453 Obsoletes: php-fcgi < 4:5.3.0
456 PHP as CGI or FastCGI program.
458 %description cgi -l pl.UTF-8
459 PHP jako program CGI lub FastCGI.
462 Summary: PHP as CLI interpreter
463 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
464 Group: Development/Languages/PHP
465 Requires: %{name}-common = %{epoch}:%{version}-%{release}
466 Obsoletes: php-cli < 4:5.3.28-7
469 PHP as CLI interpreter.
471 %description cli -l pl.UTF-8
472 PHP jako interpreter działający z linii poleceń.
475 Summary: PHP library for embedding in applications
476 Summary(pl.UTF-8): Biblioteka PHP do osadzania w aplikacjach
478 Requires: %{name}-common = %{epoch}:%{version}-%{release}
479 Obsoletes: php-embedded < 4:5.3.28-7
481 %description embedded
482 The php-embedded package contains a library which can be embedded into
483 applications to provide PHP scripting language support.
485 %description embedded -l pl.UTF-8
486 Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
487 celu obsługi PHP jako języka skryptowego.
490 Summary: /usr/bin/php symlink
491 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
492 Group: Development/Languages/PHP
493 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
494 Obsoletes: /usr/bin/php
495 Obsoletes: php-program < 4:5.3.28-7
498 Package providing /usr/bin/php symlink to PHP CLI.
500 %description program -l pl.UTF-8
501 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
504 Summary: PHP FastCGI Process Manager
505 Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
506 Group: Development/Languages/PHP
507 URL: http://php-fpm.org/
508 Requires(post,preun): /sbin/chkconfig
509 Requires(postun): /usr/sbin/userdel
510 Requires(pre): /bin/id
511 Requires(pre): /usr/sbin/useradd
512 Requires: %{name}-common = %{epoch}:%{version}-%{release}
513 %{?with_alternatives:Requires: alternatives}
514 Requires: php-dirs >= 1.4-2
519 Provides: webserver(php) = %{version}
520 Obsoletes: php-fpm < 4:5.3.28-7
521 %if "%{pld_release}" != "ac"
522 Conflicts: logrotate < 3.8.0
526 PHP FastCGI Process Manager.
528 %description fpm -l pl.UTF-8
529 PHP FastCGI Process Manager - zarządca procesów FastCGI.
532 Summary: The debugging platform for PHP 5.4+
533 Summary(pl.UTF-8): Platforma diagnostyczna dla PHP 5.4+
534 Group: Development/Languages/PHP
535 Requires: %{name}-common = %{epoch}:%{version}-%{release}
536 Provides: php(phpdbg) = %{phpdbgver}
539 phpdbg - The interactive PHP debugger.
541 Implemented as a SAPI module, phpdbg can excert complete control over
542 the environment without impacting the functionality or performance of
545 phpdbg aims to be a lightweight, powerful, easy to use debugging
546 platform for PHP 5.4+
548 %description phpdbg -l pl.UTF-8
549 phpdbg - interaktywny debugger dla PHP.
551 Jest zaimplementowany jako moduł SAPI, potrafi przejąć pełną kontrolę
552 nad środowiskiem bez wpływu na zachowanie lub wydajność kodu.
554 Narzędzie powstało jako lekka, mająca duże możliwości, łatwa w użyciu
555 platforma diagnostyczna dla PHP 5.4+.
558 Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
559 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
560 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
561 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
563 Requires(post): sed >= 4.0
564 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
565 Requires: glibc >= 6:2.3.5
566 Requires: php-dirs >= 1.4
567 Requires: rpm-whiteout >= 1.28
569 Requires: zlib >= 1.2.0.4
570 Provides: %{name}(debug) = %{php_debug}
571 Provides: %{name}(modules_api) = %{php_api_version}
572 Provides: %{name}(thread-safety) = %{_zend_zts}
573 Provides: %{name}(zend_extension_api) = %{zend_extension_api}
574 Provides: %{name}(zend_module_api) = %{zend_module_api}
575 Provides: %{name}-core
576 Provides: %{name}-date
577 Provides: %{name}-reflection
578 Provides: %{name}-standard
579 Provides: php(core) = %{version}
581 Provides: php(libxml)
582 Provides: php(reflection)
583 Provides: php(standard)
584 %{!?with_mysqlnd:Obsoletes: %{name}-mysqlnd}
585 %{?with_pcre:%requires_ge_to pcre2-8 pcre2-8-devel}
587 Obsoletes: php-common < 4:5.3.28-7
589 Obsoletes: php-filepro < 4:5.2.0
590 Obsoletes: php-hwapi < 4:5.2.0
591 Obsoletes: php-hyperwave < 3:5.0.0
592 Obsoletes: php-java < 3:5.0.0
593 Obsoletes: php-mcal < 3:5.0.0
594 Obsoletes: php-pecl-domxml
595 Obsoletes: php-qtdom < 3:5.0.0
596 Conflicts: php4-common < 3:4.4.4-8
597 Conflicts: php55-common < 4:5.5.10-4
598 Conflicts: rpm < 4.4.2-0.2
601 Common files needed by both Apache modules and CGI/CLI SAPIs.
603 %description common -l pl.UTF-8
604 Wspólne pliki dla modułu Apache'a i programu CGI.
606 %description common -l ru.UTF-8
607 Этот пакет содержит общие файлы для разных вариантов реализации PHP
608 (самодостаточной и в качестве модуля Apache).
610 %description common -l uk.UTF-8
611 Цей пакет містить спільні файли для різних варіантів реалізації PHP
612 (самодостатньої та в якості модуля Apache).
615 Summary: Files for PHP modules development
616 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
617 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
618 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
619 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
620 Group: Development/Languages/PHP
621 Requires: %{name}-common = %{epoch}:%{version}-%{release}
622 Requires: autoconf >= 2.13
624 %if "%{pld_release}" != "ac"
625 Requires: libtool >= 2:2.4.6
629 %{?with_pcre:Requires: pcre2-8-devel >= 10.30}
631 Provides: php-devel = %{epoch}:%{version}-%{release}
633 Obsoletes: php-pear-devel
634 Obsoletes: php4-devel
635 Obsoletes: php52-devel
636 Obsoletes: php53-devel
637 Obsoletes: php54-devel
638 Obsoletes: php55-devel
639 Obsoletes: php56-devel
640 Obsoletes: php70-devel
641 Obsoletes: php71-devel
642 Obsoletes: php73-devel
645 The php-devel package lets you compile dynamic extensions to PHP.
646 Included here is the source for the PHP extensions. Instead of
647 recompiling the whole PHP binary to add support for, say, oracle,
648 install this package and use the new self-contained extensions
649 support. For more information, read the file
650 README.SELF-CONTAINED-EXTENSIONS.
652 %description devel -l pl.UTF-8
653 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
654 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
655 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
656 samodzielnych rozszerzeniach można znaleźć w pliku
657 README.SELF-CONTAINED-EXTENSIONS.
659 %description devel -l pt_BR.UTF-8
660 Este pacote contém arquivos usados no desenvolvimento de programas ou
663 %description devel -l ru.UTF-8
664 Пакет php-devel дает возможность компилировать динамические расширения
665 PHP. Пакет включает исходный код этих расширений. Вместо повторной
666 компиляции бинарного файла PHP для добавления, например, поддержки
667 oracle, установите этот пакет для компилирования отдельных расширений.
668 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
670 %description devel -l uk.UTF-8
671 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
672 До пакету включено вихідний код для розширень. Замість повторної
673 компіляції бінарного файлу PHP для додання, наприклад, підтримки
674 oracle, встановіть цей пакет для компіляції окремих розширень.
675 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
678 Summary: bcmath extension module for PHP
679 Summary(pl.UTF-8): Moduł bcmath dla PHP
681 URL: http://php.net/manual/en/book.bc.php
682 Requires: %{name}-common = %{epoch}:%{version}-%{release}
683 Provides: php(bcmath)
684 Obsoletes: php-bcmath < 4:5.3.28-7
687 This is a dynamic shared object (DSO) for PHP that will add bc style
688 precision math functions support.
690 %description bcmath -l pl.UTF-8
691 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
692 matematycznych takich jak w programie bc.
695 Summary: Bzip2 extension module for PHP
696 Summary(pl.UTF-8): Moduł bzip2 dla PHP
698 URL: http://php.net/manual/en/book.bzip2.php
699 Requires: %{name}-common = %{epoch}:%{version}-%{release}
700 Requires: bzip2-libs >= 1.0.0
701 Provides: php(bz2) = %{bz2ver}
703 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
704 Obsoletes: php-bz2 < 4:5.3.28-7
705 Obsoletes: php-bzip2 < 4:5.2.14-3
706 Obsoletes: php-pecl-bz2 < %{bz2ver}
709 This is a dynamic shared object (DSO) for PHP that will add bzip2
710 compression support to PHP.
712 %description bz2 -l pl.UTF-8
713 Moduł PHP umożliwiający używanie kompresji bzip2.
716 Summary: Calendar extension module for PHP
717 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
719 URL: http://php.net/manual/en/book.calendar.php
720 Requires: %{name}-common = %{epoch}:%{version}-%{release}
721 Provides: php(calendar)
722 Obsoletes: php-calendar < 4:5.3.28-7
724 %description calendar
725 This is a dynamic shared object (DSO) for PHP that will add calendar
728 %description calendar -l pl.UTF-8
729 Moduł PHP dodający wsparcie dla kalendarza.
732 Summary: ctype extension module for PHP
733 Summary(pl.UTF-8): Moduł ctype dla PHP
735 URL: http://php.net/manual/en/book.ctype.php
736 Requires: %{name}-common = %{epoch}:%{version}-%{release}
738 Obsoletes: php-ctype < 4:5.3.28-7
741 This is a dynamic shared object (DSO) for PHP that will add ctype
744 %description ctype -l pl.UTF-8
745 Moduł PHP umożliwiający korzystanie z funkcji ctype.
748 Summary: curl extension module for PHP
749 Summary(pl.UTF-8): Moduł curl dla PHP
751 URL: http://php.net/manual/en/book.curl.php
752 Requires: %{name}-common = %{epoch}:%{version}-%{release}
753 Requires: curl-libs >= 7.12.0
755 Obsoletes: php-curl < 4:5.3.28-7
758 This is a dynamic shared object (DSO) for PHP that will add curl
761 %description curl -l pl.UTF-8
762 Moduł PHP umożliwiający korzystanie z biblioteki curl.
765 Summary: DBA extension module for PHP
766 Summary(pl.UTF-8): Moduł DBA dla PHP
768 URL: http://php.net/manual/en/book.dba.php
769 Requires: %{name}-common = %{epoch}:%{version}-%{release}
771 Obsoletes: php-dba < 4:5.3.28-7
772 # withdrawn module of similar functionality but different API
773 Obsoletes: php-db < 3:5.0.0
776 This is a dynamic shared object (DSO) for PHP that will add flat-file
777 databases (DBA) support.
779 %description dba -l pl.UTF-8
780 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
784 Summary: DOM extension module for PHP
785 Summary(pl.UTF-8): Moduł DOM dla PHP
787 URL: http://php.net/manual/en/book.dom.php
788 Requires: %{name}-common = %{epoch}:%{version}-%{release}
790 # it has some compatibility functions
791 Provides: %{name}-domxml = %{epoch}:%{version}-%{release}
792 Provides: php(domxml)
793 Obsoletes: php-dom < 4:5.3.28-7
794 Obsoletes: php-domxml <= 3:4.3.8-1
797 This is a dynamic shared object (DSO) for PHP that will add new DOM
800 %description dom -l pl.UTF-8
801 Moduł PHP dodający nową obsługę DOM.
804 Summary: libenchant binder
805 Summary(pl.UTF-8): dowiązania biblioteki libenchant
807 URL: http://php.net/manual/en/book.enchant.php
808 Requires: %{name}-common = %{epoch}:%{version}-%{release}
809 Provides: php(enchant) = %{enchantver}
810 Obsoletes: php-enchant < 4:5.3.28-7
811 Obsoletes: php-pecl-enchant < %{enchantver}
814 Enchant is a binder for libenchant. Libenchant provides a common API
815 for many spell libraries:
816 - aspell/pspell (intended to replace ispell)
819 - myspell (OpenOffice.org project, mozilla)
820 - uspell (primarily Yiddish, Hebrew, and Eastern European languages) A
821 plugin system allows to add custom spell support.
823 %description enchant -l pl.UTF-8
824 Enchant jest dowiązaniem do biblioteki libenchant, która udostępnia
825 ujednolicone API dla wielu narzędzi sprawdzających pisownię:
826 - aspell/pspell (w zamierzeniu ma zastąpić ispell)
829 - myspell (projekt OpenOffice.org, mozilla)
830 - uspell (głównie Jidysz, Hebrajski oraz języki wschodnioeuropejskie)
831 System wtyczek pozwala na dodanie wsparcia dla kolejnych narzędzi.
834 Summary: exif extension module for PHP
835 Summary(pl.UTF-8): Moduł exif dla PHP
837 URL: http://php.net/manual/en/book.exif.php
838 Requires: %{name}-common = %{epoch}:%{version}-%{release}
840 Obsoletes: php-exif < 4:5.3.28-7
843 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
844 support in image files.
846 %description exif -l pl.UTF-8
847 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
850 Summary: libmagic bindings
851 Summary(pl.UTF-8): Wiązania do libmagic
853 URL: http://php.net/manual/en/book.fileinfo.php
854 Requires: %{name}-common = %{epoch}:%{version}-%{release}
855 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
856 Provides: php(fileinfo) = %{fileinfover}
857 Obsoletes: php-fileinfo < 4:5.3.28-7
858 Obsoletes: php-mime_magic
859 Obsoletes: php-pecl-fileinfo < %{fileinfover}
861 %description fileinfo
862 This extension allows retrieval of information regarding vast majority
863 of file. This information may include dimensions, quality, length
866 Additionally it can also be used to retrieve the MIME type for a
867 particular file and for text files proper language encoding.
869 %description fileinfo -l pl.UTF-8
870 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
871 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
873 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
874 pliku oraz kodowania plików tekstowych.
877 Summary: Extension for safely dealing with input parameters
878 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
880 URL: http://php.net/manual/en/book.filter.php
881 Requires: %{name}-common = %{epoch}:%{version}-%{release}
882 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
883 Provides: php(filter)
884 Obsoletes: php-filter < 4:5.3.28-7
885 Obsoletes: php-pecl-filter
888 We all know that you should always check input variables, but PHP does
889 not offer really good functionality for doing this in a safe way. The
890 Input Filter extension is meant to address this issue by implementing
891 a set of filters and mechanisms that users can use to safely access
894 %description filter -l pl.UTF-8
895 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
896 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
897 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
898 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
899 mogą bezpiecznie używać do dostępu do danych.
902 Summary: FTP extension module for PHP
903 Summary(pl.UTF-8): Moduł FTP dla PHP
905 URL: http://php.net/manual/en/book.ftp.php
906 Requires: %{name}-common = %{epoch}:%{version}-%{release}
908 Obsoletes: php-ftp < 4:5.3.28-7
911 This is a dynamic shared object (DSO) for PHP that will add FTP
914 %description ftp -l pl.UTF-8
915 Moduł PHP dodający obsługę protokołu FTP.
918 Summary: GD extension module for PHP
919 Summary(pl.UTF-8): Moduł GD dla PHP
921 URL: http://php.net/manual/en/book.image.php
922 Requires: %{name}-common = %{epoch}:%{version}-%{release}
923 %if %{with system_gd}
928 Obsoletes: php-gd < 4:5.3.28-7
931 This is a dynamic shared object (DSO) for PHP that will add GD
932 support, allowing you to create and manipulate images with PHP.
934 %description gd -l pl.UTF-8
935 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
936 tworzenie i obróbkę obrazków.
939 Summary: gettext extension module for PHP
940 Summary(pl.UTF-8): Moduł gettext dla PHP
942 URL: http://php.net/manual/en/book.gettext.php
943 Requires: %{name}-common = %{epoch}:%{version}-%{release}
944 Provides: php(gettext)
945 Obsoletes: php-gettext < 4:5.3.28-7
948 This is a dynamic shared object (DSO) for PHP that will add gettext
951 %description gettext -l pl.UTF-8
952 Moduł PHP dodający obsługę lokalizacji przez gettext.
955 Summary: gmp extension module for PHP
956 Summary(pl.UTF-8): Moduł gmp dla PHP
958 URL: http://php.net/manual/en/book.gmp.php
959 Requires: %{name}-common = %{epoch}:%{version}-%{release}
962 Obsoletes: php-gmp < 4:5.3.28-7
965 This is a dynamic shared object (DSO) for PHP that will add arbitrary
966 length number support with GNU MP library.
968 %description gmp -l pl.UTF-8
969 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
970 liczbach o dowolnej długości.
973 Summary: HASH Message Digest Framework
974 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
976 URL: http://php.net/manual/en/book.gmp.php
977 Requires: %{name}-common = %{epoch}:%{version}-%{release}
978 Provides: php(hash) = %{hashver}
981 Provides: php-mhash = %{epoch}:%{version}-%{release}
982 Obsoletes: php-mhash < 4:5.3.0
984 Obsoletes: php-hash < 4:5.3.28-7
985 Obsoletes: php-pecl-hash < %{hashver}
988 Native implementations of common message digest algorithms using a
989 generic factory method.
991 %description hash -l pl.UTF-8
992 Natywne implementacje popularnych algorytmów obliczania skrótów
993 wiadomości przy użyciu wspólnego interfejsu.
996 Summary: iconv extension module for PHP
997 Summary(pl.UTF-8): Moduł iconv dla PHP
999 URL: http://php.net/manual/en/book.iconv.php
1000 Requires: %{_libdir}/gconv
1001 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1003 Provides: php(iconv)
1004 Obsoletes: php-iconv < 4:5.3.28-7
1007 This is a dynamic shared object (DSO) for PHP that will add iconv
1010 %description iconv -l pl.UTF-8
1011 Moduł PHP dodający obsługę iconv.
1014 Summary: IMAP extension module for PHP
1015 Summary(pl.UTF-8): Moduł IMAP dla PHP
1016 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
1018 URL: http://php.net/manual/en/book.imap.php
1019 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1020 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1021 Requires: imap-lib >= 1:2007e-2
1023 Obsoletes: php-imap < 4:5.3.28-7
1026 This is a dynamic shared object (DSO) for PHP that will add IMAP
1029 %description imap -l pl.UTF-8
1030 Moduł PHP dodający obsługę skrzynek IMAP.
1032 %description imap -l pt_BR.UTF-8
1033 Um módulo para aplicações PHP que usam IMAP.
1036 Summary: InterBase/Firebird database module for PHP
1037 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
1039 URL: http://php.net/manual/en/book.ibase.php
1040 %if %{with interbase_inst}
1041 %{?requires_php_extension}
1043 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1045 Provides: php(interbase)
1046 Obsoletes: php-interbase < 4:5.3.28-7
1048 %description interbase
1049 This is a dynamic shared object (DSO) for PHP that will add InterBase
1050 and Firebird database support.
1052 %description interbase -l pl.UTF-8
1053 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
1056 Summary: Internationalization extension (ICU wrapper)
1057 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
1059 URL: http://php.net/intl
1060 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1061 Provides: php(intl) = %{intlver}
1062 Obsoletes: php-intl < 4:5.3.28-7
1063 Obsoletes: php-pecl-intl < %{intlver}
1066 Internationalization extension (further is referred as Intl) is a
1067 wrapper for ICU library, enabling PHP programmers to perform
1068 UCA-conformant collation and date/time/number/currency formatting in
1071 %description intl -l pl.UTF-8
1072 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
1073 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
1074 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
1078 Summary: PHP C extension for JSON serialization
1079 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
1081 URL: http://php.net/manual/en/book.json.php
1082 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1083 Provides: php(json) = %{jsonver}
1084 Obsoletes: php-json < 4:5.3.28-7
1085 Obsoletes: php-pecl-json < %{jsonver}
1088 php-json is an extremely fast PHP C extension for JSON (JavaScript
1089 Object Notation) serialisation.
1091 %description json -l pl.UTF-8
1092 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
1093 (JavaScript Object Notation).
1096 Summary: LDAP extension module for PHP
1097 Summary(pl.UTF-8): Moduł LDAP dla PHP
1098 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
1100 URL: http://php.net/manual/en/book.ldap.php
1101 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1103 Obsoletes: php-ldap < 4:5.3.28-7
1106 This is a dynamic shared object (DSO) for PHP that will add LDAP
1109 %description ldap -l pl.UTF-8
1110 Moduł PHP dodający obsługę LDAP.
1112 %description ldap -l pt_BR.UTF-8
1113 Um módulo para aplicações PHP que usam LDAP.
1116 Summary: mbstring extension module for PHP
1117 Summary(pl.UTF-8): Moduł mbstring dla PHP
1119 URL: http://php.net/manual/en/book.mbstring.php
1120 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1121 Provides: php(mbstring)
1122 Obsoletes: php-mbstring < 4:5.3.28-7
1124 %description mbstring
1125 This is a dynamic shared object (DSO) for PHP that will add multibyte
1128 %description mbstring -l pl.UTF-8
1129 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1132 Summary: MySQLi module for PHP
1133 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1135 URL: http://php.net/manual/en/book.mysqli.php
1136 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1137 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1138 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1139 Requires: mysql-libs >= 4.1.13
1140 Provides: php(mysqli)
1141 Obsoletes: php-mysqli < 4:5.3.28-7
1144 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1145 (Improved MySQL) support. The difference between it and mysql module
1146 is that it provides access to functionality of MySQL 4.1 and above.
1148 %description mysqli -l pl.UTF-8
1149 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1150 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1151 MySQL w wersji 4.1 i nowszych.
1154 Summary: MySQL Native Client Driver for PHP
1155 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1157 URL: http://php.net/manual/en/book.mysqlnd.php
1158 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1159 Provides: php(mysqlnd)
1160 Obsoletes: php-mysqlnd < 4:5.3.28-7
1162 %description mysqlnd
1163 MySQL Native Driver is a replacement for the MySQL Client Library
1166 Because MySQL Native Driver is written as a PHP extension, it is
1167 tightly coupled to the workings of PHP. This leads to gains in
1168 efficiency, especially when it comes to memory usage, as the driver
1169 uses the PHP memory management system. It also supports the PHP memory
1170 limit. Using MySQL Native Driver leads to comparable or better
1171 performance than using MySQL Client Library, it always ensures the
1172 most efficient use of memory. One example of the memory efficiency is
1173 the fact that when using the MySQL Client Library, each row is stored
1174 in memory twice, whereas with the MySQL Native Driver each row is only
1175 stored once in memory.
1177 %description mysqlnd -l pl.UTF-8
1178 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1179 klienckiej MySQL (libmysql).
1181 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1182 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1183 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1184 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1185 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1186 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1187 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1188 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1189 tym sterowniku - tylko raz.
1192 Summary: Oracle 8+ database module for PHP
1193 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1195 URL: http://php.net/manual/en/book.oci8.php
1196 %{?requires_php_extension}
1198 Obsoletes: php-oci8 < 4:5.3.28-7
1199 # withdrawn module of similar functionality but different API
1200 Obsoletes: php-oracle < 4:5.1.0
1203 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1204 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1206 %description oci8 -l pl.UTF-8
1207 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1208 poprzez interfejs Oracle8 Call-Interface (OCI8).
1211 Summary: ODBC extension module for PHP
1212 Summary(pl.UTF-8): Moduł ODBC dla PHP
1213 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1215 URL: http://php.net/manual/en/book.uodbc.php
1216 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1217 Requires: unixODBC >= 2.1.1-3
1219 Obsoletes: php-odbc < 4:5.3.28-7
1222 This is a dynamic shared object (DSO) for PHP that will add ODBC
1225 %description odbc -l pl.UTF-8
1226 Moduł PHP ze wsparciem dla ODBC.
1228 %description odbc -l pt_BR.UTF-8
1229 Um módulo para aplicações PHP que usam ODBC.
1232 Summary: Zend Optimizer+ - PHP code optimizer
1233 Summary(pl.UTF-8): Zend Optimizer+ - optymalizator kodu PHP
1235 URL: https://wiki.php.net/rfc/optimizerplus
1236 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1237 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1238 Provides: php(opcache) = %{version}
1240 %description opcache
1241 The Zend OPcache provides faster PHP execution through opcode caching
1242 and optimization. It improves PHP performance by storing precompiled
1243 script bytecode in the shared memory. This eliminates the stages of
1244 reading code from the disk and compiling it on future access. In
1245 addition, it applies a few bytecode optimization patterns that make
1246 code execution faster.
1248 %description opcache -l pl.UTF-8
1249 Zend OPcache zapewnia szybsze wykonywanie kodu PHP dzięki buforowaniu
1250 i optymalizacji na poziomie opcode'ów. Poprawia wydajność PHP
1251 przechowując prekompilowany bajtkod skryptu w pamięci współdzielonej.
1252 Eliminuje etapy odczytu kodu z dysku i kompilacji przy późniejszym
1253 dostępie. Ponadto wykonuje kilka wzorców optymalizacji bajtkodu,
1254 czyniąc wykonywanie kodu szybszym.
1257 Summary: OpenSSL extension module for PHP
1258 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1260 URL: http://php.net/manual/en/book.openssl.php
1261 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1262 Provides: php(openssl)
1263 Obsoletes: php-openssl < 4:5.3.28-7
1265 %description openssl
1266 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1269 %description openssl -l pl.UTF-8
1270 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1273 Summary: Process Control extension module for PHP
1274 Summary(pl.UTF-8): Moduł Process Control dla PHP
1276 URL: http://php.net/manual/en/book.pcntl.php
1277 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1278 Provides: php(pcntl)
1279 Obsoletes: php-pcntl < 4:5.3.28-7
1282 This is a dynamic shared object (DSO) for PHP that will add process
1283 spawning and control support. It supports functions like fork(),
1284 waitpid(), signal() etc.
1286 %description pcntl -l pl.UTF-8
1287 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1288 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1291 Summary: PCRE extension module for PHP
1292 Summary(pl.UTF-8): Moduł PCRE dla PHP
1294 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1296 Obsoletes: php-pcre < 4:5.3.28-7
1299 This is a dynamic shared object (DSO) for PHP that will add Perl
1300 Compatible Regular Expression support.
1302 %description pcre -l pl.UTF-8
1303 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1304 (Perl Compatible Regular Expressions)
1307 Summary: PHP Data Objects (PDO)
1308 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1310 URL: http://php.net/manual/en/book.pdo.php
1311 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1312 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1313 Provides: %{name}(PDO_API) = %{php_pdo_api_version}
1315 Obsoletes: php-pdo < 4:5.3.28-7
1316 Obsoletes: php-pecl-PDO
1319 This is a dynamic shared object (DSO) for PHP that will add PDO
1322 %description pdo -l pl.UTF-8
1323 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1326 Summary: PHP Data Objects (PDO) FreeTDS support
1327 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1329 URL: http://php.net/manual/en/ref.pdo-dblib.php
1330 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1331 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1332 Provides: php(pdo_dblib)
1333 Obsoletes: php-pdo-dblib < 4:5.3.28-7
1335 %description pdo-dblib
1336 This is a dynamic shared object (DSO) for PHP that will add PDO
1339 %description pdo-dblib -l pl.UTF-8
1340 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1343 %package pdo-firebird
1344 Summary: PHP Data Objects (PDO) Firebird support
1345 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1347 URL: http://php.net/manual/en/ref.pdo-firebird.php
1348 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1349 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1350 Provides: php(pdo-firebird)
1351 Provides: php(pdo_firebird)
1352 Obsoletes: php-pdo-firebird < 4:5.3.28-7
1353 Obsoletes: php-pecl-PDO_FIREBIRD
1355 %description pdo-firebird
1356 This is a dynamic shared object (DSO) for PHP that will add PDO
1359 %description pdo-firebird -l pl.UTF-8
1360 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1364 Summary: PHP Data Objects (PDO) MySQL support
1365 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1367 URL: http://php.net/manual/en/ref.pdo-mysql.php
1368 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1369 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1370 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1371 Provides: php(pdo-mysql)
1372 Provides: php(pdo_mysql)
1373 Obsoletes: php-pdo-mysql < 4:5.3.28-7
1374 Obsoletes: php-pecl-PDO_MYSQL
1376 %description pdo-mysql
1377 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1380 %description pdo-mysql -l pl.UTF-8
1381 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1385 Summary: PHP Data Objects (PDO) Oracle support
1386 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1388 URL: http://php.net/manual/en/ref.pdo-oci.php
1389 %{?requires_php_extension}
1390 %{?requires_php_pdo_module}
1391 Provides: php(pdo-oci)
1392 Provides: php(pdo_oci)
1393 Obsoletes: php-pdo-oci < 4:5.3.28-7
1394 Obsoletes: php-pecl-PDO_OCI
1396 %description pdo-oci
1397 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1400 %description pdo-oci -l pl.UTF-8
1401 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1405 Summary: PHP Data Objects (PDO) ODBC support
1406 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1408 URL: http://php.net/manual/en/ref.pdo-odbc.php
1409 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1410 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1411 Provides: php(pdo-odbc)
1412 Provides: php(pdo_odbc)
1413 Obsoletes: php-pdo-odbc < 4:5.3.28-7
1414 Obsoletes: php-pecl-PDO_ODBC
1416 %description pdo-odbc
1417 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1420 %description pdo-odbc -l pl.UTF-8
1421 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1425 Summary: PHP Data Objects (PDO) PostgreSQL support
1426 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1428 URL: http://php.net/manual/en/ref.pdo-pgsql.php
1429 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1430 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1431 Provides: php(pdo-pgsql)
1432 Provides: php(pdo_pgsql)
1433 Obsoletes: php-pdo-pgsql < 4:5.3.28-7
1434 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1436 %description pdo-pgsql
1437 This is a dynamic shared object (DSO) for PHP that will add PDO
1440 %description pdo-pgsql -l pl.UTF-8
1441 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1445 Summary: PHP Data Objects (PDO) SQLite support
1446 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1448 URL: http://php.net/manual/en/ref.pdo-sqlite.php
1449 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1450 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1451 Provides: php(pdo-sqlite)
1452 Provides: php(pdo_sqlite)
1453 Obsoletes: php-pdo-sqlite < 4:5.3.28-7
1454 Obsoletes: php-pecl-PDO_SQLITE
1456 %description pdo-sqlite
1457 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1460 %description pdo-sqlite -l pl.UTF-8
1461 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1465 Summary: PostgreSQL database module for PHP
1466 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1468 URL: http://php.net/manual/en/book.pgsql.php
1469 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1470 Provides: php(pgsql)
1471 Obsoletes: php-pgsql < 4:5.3.28-7
1474 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1477 %description pgsql -l pl.UTF-8
1478 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1480 %description pgsql -l pt_BR.UTF-8
1481 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1484 Summary: Phar archive module for PHP
1485 Summary(pl.UTF-8): Moduł phar dla PHP
1487 URL: http://php.net/manual/en/book.phar.php
1488 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1489 Requires: %{name}-hash = %{epoch}:%{version}-%{release}
1490 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1491 %{?with_alternatives:Requires: alternatives}
1492 Suggests: %{name}-cli
1493 # zlib is required by phar program, but as phar cli is optional should the dep be too
1494 Suggests: %{name}-zlib
1495 Provides: php(phar) = %{pharver}
1496 Obsoletes: php-pecl-phar < %{pharver}
1497 Obsoletes: php-phar < 4:5.3.28-7
1498 Conflicts: php-ioncube < 4.0.9
1501 This is a dynamic shared object (DSO) for PHP that will add phar
1504 %description phar -l pl.UTF-8
1505 Moduł PHP umożliwiający dostęp do achiwów .phar.
1508 Summary: POSIX extension module for PHP
1509 Summary(pl.UTF-8): Moduł POSIX dla PHP
1511 URL: http://php.net/manual/en/book.posix.php
1512 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1513 Provides: php(posix)
1514 Obsoletes: php-posix < 4:5.3.28-7
1517 This is a dynamic shared object (DSO) for PHP that will add POSIX
1518 functions support to PHP.
1520 %description posix -l pl.UTF-8
1521 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1524 Summary: pspell extension module for PHP
1525 Summary(pl.UTF-8): Moduł pspell dla PHP
1527 URL: http://php.net/manual/en/book.pspell.php
1528 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1529 Provides: php(pspell)
1530 Obsoletes: php-pspell < 4:5.3.28-7
1533 This is a dynamic shared object (DSO) for PHP that will add pspell
1534 support to PHP. It allows to check the spelling of a word and offer
1537 %description pspell -l pl.UTF-8
1538 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1539 sprawdzanie pisowni słowa i sugerowanie poprawek.
1542 Summary: readline extension module for PHP
1543 Summary(pl.UTF-8): Moduł readline dla PHP
1545 URL: http://php.net/manual/en/book.readline.php
1546 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1547 Provides: php(readline)
1548 Obsoletes: php-readline < 4:5.3.28-7
1550 %description readline
1551 This PHP module adds support for readline functions (only for cli and
1554 %description readline -l pl.UTF-8
1555 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1558 Summary: recode extension module for PHP
1559 Summary(pl.UTF-8): Moduł recode dla PHP
1561 URL: http://php.net/manual/en/book.recode.php
1562 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1563 Requires: recode >= 3.5d-3
1564 Provides: php(recode)
1565 Obsoletes: php-recode < 4:5.3.28-7
1568 This is a dynamic shared object (DSO) for PHP that will add recode
1571 %description recode -l pl.UTF-8
1572 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1576 Summary: session extension module for PHP
1577 Summary(pl.UTF-8): Moduł session dla PHP
1579 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1580 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1581 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1583 Provides: php(session)
1584 Obsoletes: php-session < 4:5.3.28-7
1586 %description session
1587 This is a dynamic shared object (DSO) for PHP that will add session
1590 %description session -l pl.UTF-8
1591 Moduł PHP dodający obsługę sesji.
1594 Summary: Shared Memory Operations extension module for PHP
1595 Summary(pl.UTF-8): Moduł shmop dla PHP
1597 URL: http://php.net/manual/en/book.shmop.php
1598 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1599 Provides: php(shmop)
1600 Obsoletes: php-shmop < 4:5.3.28-7
1603 This is a dynamic shared object (DSO) for PHP that will add Shared
1604 Memory Operations support.
1606 %description shmop -l pl.UTF-8
1607 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1610 Summary: Simple XML extension module for PHP
1611 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1613 URL: http://php.net/manual/en/book.simplexml.php
1614 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1615 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1616 Provides: php(simplexml)
1617 Obsoletes: php-simplexml < 4:5.3.28-7
1619 %description simplexml
1620 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1623 %description simplexml -l pl.UTF-8
1624 Moduł PHP dodający obsługę prostego XML-a.
1627 Summary: SNMP extension module for PHP
1628 Summary(pl.UTF-8): Moduł SNMP dla PHP
1630 URL: http://php.net/manual/en/book.snmp.php
1631 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1632 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1633 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1635 Obsoletes: php-snmp < 4:5.3.28-7
1638 This is a dynamic shared object (DSO) for PHP that will add SNMP
1641 %description snmp -l pl.UTF-8
1642 Moduł PHP dodający obsługę SNMP.
1645 Summary: soap extension module for PHP
1646 Summary(pl.UTF-8): Moduł soap dla PHP
1648 URL: http://php.net/manual/en/book.soap.php
1649 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1651 Obsoletes: php-soap < 4:5.3.28-7
1654 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1657 %description soap -l pl.UTF-8
1658 Moduł PHP dodający obsługę SOAP/WSDL.
1661 Summary: sockets extension module for PHP
1662 Summary(pl.UTF-8): Moduł socket dla PHP
1664 URL: http://php.net/manual/en/book.sockets.php
1665 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1666 Provides: php(sockets)
1667 Obsoletes: php-sockets < 4:5.3.28-7
1669 %description sockets
1670 This is a dynamic shared object (DSO) for PHP that will add sockets
1673 %description sockets -l pl.UTF-8
1674 Moduł PHP dodający obsługę gniazdek.
1677 Summary: Wrapper for the Sodium cryptographic library
1679 URL: https://paragonie.com/book/pecl-libsodium
1680 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1681 Provides: php(sodium) = %{sodiumver}
1684 A simple, low-level PHP extension for libsodium.
1687 Summary: Standard PHP Library module for PHP
1688 Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1690 URL: http://php.net/manual/en/book.spl.php
1691 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1692 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1693 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1695 Obsoletes: php-spl < 4:5.3.28-7
1698 This is a dynamic shared object (DSO) for PHP that will add Standard
1699 PHP Library support.
1701 %description spl -l pl.UTF-8
1702 Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1705 Summary: SQLite3 extension module for PHP
1706 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1708 URL: http://php.net/manual/en/book.sqlite3.php
1709 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1710 Provides: php(sqlite3) = %{sqlite3ver}
1711 Obsoletes: php-sqlite3 < 4:5.3.28-7
1713 %description sqlite3
1714 SQLite is a C library that implements an embeddable SQL database
1715 engine. Programs that link with the SQLite library can have SQL
1716 database access without running a separate RDBMS process.
1718 SQLite is not a client library used to connect to a big database
1719 server. SQLite is the server. The SQLite library reads and writes
1720 directly to and from the database files on disk.
1722 %description sqlite3 -l pl.UTF-8
1723 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1724 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1725 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1728 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1729 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1730 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1734 Summary: SysV msg extension module for PHP
1735 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1737 URL: http://php.net/manual/en/book.sem.php
1738 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1739 Provides: php(sysvmsg)
1740 Obsoletes: php-sysvmsg < 4:5.3.28-7
1742 %description sysvmsg
1743 This is a dynamic shared object (DSO) for PHP that will add SysV
1744 message queues support.
1746 %description sysvmsg -l pl.UTF-8
1747 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1750 Summary: SysV sem extension module for PHP
1751 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1753 URL: http://php.net/manual/en/book.sem.php
1754 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1755 Provides: php(sysvsem)
1756 Obsoletes: php-sysvsem < 4:5.3.28-7
1758 %description sysvsem
1759 This is a dynamic shared object (DSO) for PHP that will add SysV
1762 %description sysvsem -l pl.UTF-8
1763 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1766 Summary: SysV shm extension module for PHP
1767 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1769 URL: http://php.net/manual/en/book.sem.php
1770 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1771 Provides: php(sysvshm)
1772 Obsoletes: php-sysvshm < 4:5.3.28-7
1774 %description sysvshm
1775 This is a dynamic shared object (DSO) for PHP that will add SysV
1776 Shared Memory support.
1778 %description sysvshm -l pl.UTF-8
1779 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1782 Summary: Contains unit test files for PHP and extensions
1783 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1785 URL: http://qa.php.net/
1786 Requires: %{name}-cli
1787 %if "%{_rpmversion}" >= "5"
1792 This package contains unit tests for PHP and its extensions.
1794 %description tests -l pl.UTF-8
1795 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1798 Summary: Tidy extension module for PHP
1799 Summary(pl.UTF-8): Moduł Tidy dla PHP
1801 URL: http://php.net/manual/en/book.tidy.php
1802 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1805 Obsoletes: php-tidy < 4:5.3.28-7
1808 This is a dynamic shared object (DSO) for PHP that will add Tidy
1811 %description tidy -l pl.UTF-8
1812 Moduł PHP umożliwiający korzystanie z tidy.
1815 Summary: tokenizer extension module for PHP
1816 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1818 URL: http://php.net/manual/en/book.tokenizer.php
1819 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1820 Provides: php(tokenizer)
1821 Obsoletes: php-tokenizer < 4:5.3.28-7
1823 %description tokenizer
1824 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1827 %description tokenizer -l pl.UTF-8
1828 Moduł PHP dodający obsługę tokenizera do PHP.
1831 Summary: wddx extension module for PHP
1832 Summary(pl.UTF-8): Moduł wddx dla PHP
1834 URL: http://php.net/manual/en/book.wddx.php
1835 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1836 # - wddx doesn't require session as it's disabled at compile time:
1837 # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1838 # see also php.spec#rev1.120.2.22
1839 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1840 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1842 Obsoletes: php-wddx < 4:5.3.28-7
1845 This is a dynamic shared object (DSO) for PHP that will add wddx
1848 %description wddx -l pl.UTF-8
1849 Moduł PHP umożliwiający korzystanie z wddx.
1852 Summary: XML extension module for PHP
1853 Summary(pl.UTF-8): Moduł XML dla PHP
1855 URL: http://php.net/manual/en/book.xml.php
1856 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1858 Obsoletes: php-xml < 4:5.3.28-7
1861 This is a dynamic shared object (DSO) for PHP that will add XML
1862 support. This extension lets you create XML parsers and then define
1863 handlers for different XML events.
1865 %description xml -l pl.UTF-8
1866 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1867 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1868 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1871 Summary: XML Reader extension module for PHP
1872 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1874 URL: http://php.net/manual/en/book.xmlreader.php
1875 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1876 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1877 Provides: php(xmlreader)
1878 Obsoletes: php-xmlreader < 4:5.3.28-7
1880 %description xmlreader
1881 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1882 support. The XMLReader extension is an XML Pull parser. The reader
1883 acts as a cursor going forward on the document stream and stopping at
1884 each node on the way.
1886 %description xmlreader -l pl.UTF-8
1887 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1888 działa jako kursor przechodzący przez strumień dokumentu i
1889 zatrzymujący się na każdym węźle po drodze.
1892 Summary: xmlrpc extension module for PHP
1893 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1895 URL: http://php.net/manual/en/book.xmlrpc.php
1896 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1897 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1898 Provides: php(xmlrpc)
1899 Obsoletes: php-xmlrpc < 4:5.3.28-7
1902 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1905 %description xmlrpc -l pl.UTF-8
1906 Moduł PHP dodający obsługę XMLRPC.
1909 Summary: Fast, non-cached, forward-only means to write XML data
1910 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1912 URL: http://php.net/manual/en/book.xmlwriter.php
1913 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1914 Provides: php(xmlwriter)
1915 Obsoletes: php-pecl-xmlwriter
1916 Obsoletes: php-xmlwriter < 4:5.3.28-7
1918 %description xmlwriter
1919 This extension wraps the libxml xmlWriter API. Represents a writer
1920 that provides a non-cached, forward-only means of generating streams
1921 or files containing XML data.
1923 %description xmlwriter -l pl.UTF-8
1924 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1925 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1926 plików zawierających dane XML.
1929 Summary: xsl extension module for PHP
1930 Summary(pl.UTF-8): Moduł xsl dla PHP
1932 URL: http://php.net/manual/en/book.xsl.php
1933 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1934 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1935 Requires: libxslt >= 1.1.0
1937 Obsoletes: php-xsl < 4:5.3.28-7
1938 # actually not true, functionality is similar, but API differs
1939 Obsoletes: php-xslt <= 3:4.3.8-1
1942 This is a dynamic shared object (DSO) for PHP that will add new XSL
1943 support (using libxslt).
1945 %description xsl -l pl.UTF-8
1946 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1949 Summary: Zip management extension
1950 Summary(pl.UTF-8): Zarządzanie archiwami zip
1952 URL: http://php.net/manual/en/book.zip.php
1953 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1954 Requires: libzip >= 1.3.1
1955 Provides: php(zip) = %{zipver}
1956 Obsoletes: php-pecl-zip < %{zipver}
1957 Obsoletes: php-zip < 4:5.3.28-7
1960 Zip is an extension to create, modify and read zip files.
1962 %description zip -l pl.UTF-8
1963 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1964 odczyt archiwów zip.
1967 Summary: Zlib extension module for PHP
1968 Summary(pl.UTF-8): Moduł zlib dla PHP
1970 URL: http://php.net/manual/en/book.zlib.php
1971 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1973 Obsoletes: php-zlib < 4:5.3.28-7
1976 This is a dynamic shared object (DSO) for PHP that will add zlib
1977 compression support to PHP.
1979 %description zlib -l pl.UTF-8
1980 Moduł PHP umożliwiający używanie kompresji zlib.
1984 %setup -q -n %{orgname}-%{version}%{?subver}
1986 %setup -q -n php-src-PHP-7.4
1988 cp -p php.ini-production php.ini
1997 %{?with_milter:%patch8 -p1}
2012 %if "%{pld_release}" != "ac"
2020 #%patch45 -p1 # imap annotations. fixme
2021 #%patch46 -p1 # imap myrights. fixme
2023 %patch51 -p1 -b .spl-shared
2024 %patch52 -p1 -b .pcre-shared
2026 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
2028 %patch59 -p1 -b .systzdata
2029 %if %{with instantclient}
2030 %patch60 -p1 -b .instantclient
2034 #%patch68 -p1 DROP or update to 7.0 APIs
2037 %patch72 -p1 -b .phar-shared
2039 %{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
2041 # cleanup backups after patching
2042 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
2044 # com_dotnet is Win32-only
2045 %{__rm} -r ext/com_dotnet
2047 # conflict seems to be resolved by recode patches
2048 %{__rm} ext/recode/config9.m4
2050 # remove all bundled libraries not to link with them accidentally
2051 #%{__rm} -r ext/bcmath/libbcmath
2052 #%{__rm} -r ext/date/lib
2053 #%{__rm} -r ext/fileinfo/libmagic
2054 #%{__rm} -r ext/dba/libcdb
2055 #%{__rm} -r ext/dba/libflatfile
2056 #%{__rm} -r ext/dba/libinifile
2057 #%{__rm} -r ext/gd/libgd
2058 #%{__rm} -r ext/mbstring/libmbfl
2059 %{__rm} -r ext/mbstring/oniguruma
2060 %{__rm} -r ext/pcre/pcre2lib
2061 #%{__rm} -r ext/soap/interop
2062 %{__rm} -r ext/xmlrpc/libxmlrpc
2063 #%{__rm} -r ext/zip/lib
2064 %{__rm} ext/date/lib/timezonedb.h
2066 cp -pf Zend/LICENSE{,.Zend}
2067 install -p %{SOURCE13} dep-tests.sh
2070 sed -i -e 's#-fvisibility=hidden##g' configure*
2072 # disable broken tests
2073 # says just "Terminated" twice and fails
2074 %{__mv} sapi/cli/tests/022.phpt{,.broken}
2076 # really dumb test, executable binary name is .libs/ something when building
2077 # https://bugs.php.net/bug.php?id=54514
2078 %{__mv} tests/basic/bug54514.phpt{,.disable}
2080 # breaks whole testsuite unexpectedly:
2081 # Fatal error: Call to undefined function gzencode() in run-tests.php on line 1714
2082 # probably broken as zlib is built as shared
2083 %{__mv} ext/soap/tests/server019.phpt{,disable}
2084 # Fatal error: Call to undefined function gzcompress() in run-tests.php on line 1728
2085 %{__mv} ext/soap/tests/server020.phpt{,disable}
2087 # runs out of memory and kills carme vserver
2088 # PASS Bug #39438 (Fatal error: Out of memory) [Zend/tests/bug39438.phpt]
2089 %{__mv} Zend/tests/bug39438.phpt{,.disable}
2091 # php-5.3.3/ext/standard/tests/file/statpage.phpt
2092 %{__rm} ext/standard/tests/file/statpage.phpt
2094 # idiotic test, it will fail if somebody else makes space on disk or if disk
2095 # space is not yet allocated (xfs). report upstream to advice bogus test is
2096 # probably pointless.
2097 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
2100 # all pdo_sqlite, sqlite3 tests die with Aborted on carme
2101 %{__rm} -r ext/pdo_sqlite/tests
2102 %{__rm} -r ext/sqlite3/tests
2105 # ----- Manage known as failed test -------
2106 # affected by systzdata patch
2107 %{__rm} ext/date/tests/timezone_location_get.phpt
2108 %{__rm} ext/date/tests/timezone_version_get.phpt
2109 %{__rm} ext/date/tests/timezone_version_get_basic1.phpt
2110 # Should be skipped but fails sometime
2111 %{__rm} ext/standard/tests/file/file_get_contents_error001.phpt
2113 %{__rm} ext/sockets/tests/mcast_ipv?_recv.phpt
2114 # causes stack exhausion
2115 %{__rm} Zend/tests/bug54268.phpt
2116 %{__rm} Zend/tests/bug68412.phpt
2118 # avoid issues when two builds run simultaneously
2120 sed -e 's/64321/64322/' -i ext/openssl/tests/*.phpt
2124 # no point testing stuff that is knowingly broken
2125 find -name '*.phpt' | xargs grep '^--XFAIL--' -l | xargs rm -v
2137 sh -xe %{_sourcedir}/skip-tests.sh
2141 local define="$1" filename="$2"
2142 awk -vdefine="$define" '/#define/ && $2 == define {print $3}' "$filename" | xargs
2145 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
2146 if [ $API != %{php_api_version} ]; then
2147 echo "Set %%define php_api_version to $API and re-run."
2151 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
2152 if [ $API != %{zend_module_api} ]; then
2153 echo "Set %%define zend_module_api to $API and re-run."
2157 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
2158 if [ $API != %{zend_extension_api} ]; then
2159 echo "Set %%define zend_extension_api to $API and re-run."
2163 API=$(awk '/#define PDO_DRIVER_API/{print $3}' ext/pdo/php_pdo_driver.h)
2164 if [ $API != %{php_pdo_api_version} ]; then
2165 echo "Set %%define php_pdo_api_version to $API and re-run."
2169 # Check for some extension version
2170 ver=$(awk '/#define PHP_FILEINFO_VERSION/ {print $3}' ext/fileinfo/php_fileinfo.h | xargs)
2171 if test "$ver" != "PHP_VERSION"; then
2172 : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
2173 : Update the fileinfover macro and rebuild.
2176 ver=$(get_version PHP_PHAR_VERSION ext/phar/php_phar.h)
2177 if test "$ver" != "PHP_VERSION"; then
2178 : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
2179 : Update the pharver macro and rebuild.
2182 ver=$(awk '/#define PHP_SQLITE3_VERSION/ {print $3}' ext/sqlite3/php_sqlite3.h | xargs)
2183 if test "$ver" != "PHP_VERSION"; then
2184 : Error: Upstream Sqlite3 version is now ${ver}, expecting %{sqlite3ver}.
2185 : Update the sqlite3ver macro and rebuild.
2188 ver=$(awk '/#define PHP_SODIUM_VERSION/ {print $3}' ext/sodium/php_libsodium.h | xargs)
2189 if test "$ver" != "PHP_VERSION"; then
2192 ver=$(sed -n '/#define PHP_ZIP_VERSION /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
2193 if test "$ver" != "%{zipver}"; then
2194 : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
2195 : Update the zipver macro and rebuild.
2198 ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
2199 if test "$ver" != "%{jsonver}"; then
2200 : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
2201 : Update the jsonver macro and rebuild.
2204 ver=$(get_version PHPDBG_VERSION sapi/phpdbg/phpdbg.h)
2205 if test "$ver" != "PHP_VERSION"; then
2206 : Error: Upstream phpdbg version is now ${ver}, expecting %{phpdbgver}.
2207 : Update the phpdbgver macro and rebuild.
2210 ver=$(get_version PHP_BZ2_VERSION ext/bz2/php_bz2.h)
2211 if test "$ver" != "PHP_VERSION"; then
2212 : Error: Upstream BZIP2 version is now ${ver}, expecting %{bz2ver}.
2213 : Update the bz2ver macro and rebuild.
2216 ver=$(awk '/#define PHP_ENCHANT_VERSION/ {print $3}' ext/enchant/php_enchant.h | xargs)
2217 if test "$ver" != "PHP_VERSION"; then
2220 ver=$(get_version PHP_HASH_VERSION ext/hash/php_hash.h)
2221 if test "$ver" != "PHP_VERSION"; then
2222 : Error: Upstream HASH version is now ${ver}, expecting %{hashver}.
2223 : Update the hashver macro and rebuild.
2226 ver=$(get_version PHP_INTL_VERSION ext/intl/php_intl.h)
2227 if test "$ver" != "PHP_VERSION"; then
2228 : Error: Upstream Intl version is now ${ver}, expecting %{intlver}.
2229 : Update the intlver macro and rebuild.
2233 export EXTENSION_DIR="%{php_extensiondir}"
2234 # configure once (for faster debugging purposes)
2235 if [ ! -f _built-conf ]; then
2236 # now remove Makefile copies
2237 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed,phpdbg,milter}
2240 cp -f /usr/share/automake/config.* .
2244 export PROG_SENDMAIL="/usr/lib/sendmail"
2245 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \
2246 -I%{_includedir}/xmlrpc-epi"
2248 # This should be detected by configure and set there,
2249 # but looks like the build system is hosed on 7.3
2250 export CXXFLAGS="%{rpmcxxflags} -fPIC -DPIC"
2251 export CFLAGS="%{rpmcflags} -fPIC -DPIC"
2254 # icu 59+ C++ API requires C++ >= 11
2255 CXXFLAGS="$CXXFLAGS -std=c++11"
2263 %if %{with litespeed}
2282 for sapi in $sapis; do
2284 # skip if already configured (for faster debugging purposes)
2285 [ -f Makefile.$sapi ] && continue
2290 sapi_args='--enable-cgi'
2293 sapi_args='--enable-cli %{?with_gcov:--enable-gcov}'
2296 sapi_args='--enable-fpm'
2299 sapi_args='--enable-embed'
2302 ver=$(rpm -q --qf '%{V}' apache-devel)
2303 sapi_args="--with-apxs2=%{apxs2} --with-apache-version=$ver"
2306 sapi_args='--with-litespeed'
2309 sapi_args='--enable-phpdbg %{?debug:--enable-phpdbg-debug}'
2312 sapi_args='--with-milter'
2317 EXTRA_LDFLAGS="%{rpmldflags}" \
2322 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2323 --cache-file=config.cache \
2325 --with-libdir=%{_lib} \
2326 --with-config-file-path=%{_sysconfdir} \
2327 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2328 --with-system-tzdata \
2329 %{?with_argon2:--with-password-argon2} \
2330 --%{!?with_debug:dis}%{?with_debug:en}able-debug \
2331 %{?with_zts:--enable-maintainer-zts} \
2332 --enable-inline-optimization \
2333 %{__enable_disable bcmath bcmath shared} \
2334 %{__enable_disable calendar calendar shared} \
2335 %{__enable_disable ctype ctype shared} \
2336 %{__enable_disable dba dba shared} \
2337 %{__enable_disable dom dom shared} \
2338 %{?with_systemtap:--enable-dtrace} \
2339 %{__enable_disable exif exif shared} \
2340 %{__enable_disable fileinfo fileinfo shared} \
2341 %{__enable_disable ftp ftp shared} \
2342 %{?with_intl:--enable-intl=shared} \
2344 %{__enable_disable mbstring mbstring shared,all} \
2347 %{__enable_disable pcntl pcntl shared} \
2348 %{__enable_disable pdo pdo shared} \
2349 %{__enable_disable json json shared} \
2350 %{__enable_disable hash hash shared} \
2351 --enable-xmlwriter=shared \
2353 --with-fpm-user=http \
2354 --with-fpm-group=http \
2356 %if %{with pdo_dblib}
2357 --with-pdo-dblib=shared \
2359 %if %{with interbase} && %{without interbase_inst}
2360 --with-pdo-firebird=shared,/usr \
2362 %{?with_mhash:--with-mhash=yes} \
2363 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2364 %{__with_without pdo_mysql pdo-mysql shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd}} \
2365 %{?with_oci:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2366 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2367 %{?with_pgsql:--with-pdo-pgsql=shared} \
2368 %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
2369 %{?with_webp:--with-webp-dir=/usr} \
2370 --without-libexpat-dir \
2371 %{__enable_disable posix posix shared} \
2373 %{__enable_disable session session shared} \
2374 --enable-shmop=shared \
2375 --enable-simplexml=shared \
2376 --enable-sysvmsg=shared \
2377 --enable-sysvsem=shared \
2378 --enable-sysvshm=shared \
2379 --enable-soap=shared \
2380 --enable-sockets=shared \
2381 %{__with_without sodium sodium shared} \
2382 --enable-tokenizer=shared \
2383 %{?with_wddx:--enable-wddx=shared} \
2384 --enable-xml=shared \
2385 --enable-xmlreader=shared \
2386 %{__with_without bz2 bz2 shared} \
2387 %{__with_without curl curl shared} \
2389 %{__with_without iconv iconv shared} \
2390 %{?with_enchant:--with-enchant=shared,/usr} \
2391 --with-freetype-dir=shared \
2392 %{__with_without gettext gettext shared} \
2393 %{__with_without gd gd shared%{?with_system_gd:,/usr}} \
2395 %{__with_without gmp gmp shared} \
2396 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2397 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2398 --with-jpeg-dir=/usr \
2399 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2400 %{?with_mm:--with-mm} \
2401 %{?with_mysqlnd:--enable-mysqlnd=shared} \
2402 %{?with_mysqli:--with-mysqli=shared,%{!?with_mysqlnd:/usr/bin/mysql_config}%{?with_mysqlnd:mysqlnd}} \
2403 %{?with_oci:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2404 %{__enable_disable opcache opcache shared} \
2405 %{?with_openssl:--with-openssl=shared} \
2406 %{?with_kerberos5:--with-kerberos} \
2408 %{__with_without pcre pcre-regex /usr} \
2409 %{__enable_disable filter filter shared} \
2410 --with-pear=%{php_pear_dir} \
2411 %{__with_without pgsql pgsql shared,/usr} \
2412 %{__enable_disable phar phar shared} \
2413 --with-png-dir=/usr \
2414 %{?with_pspell:--with-pspell=shared} \
2415 %{__with_without readline readline shared} \
2416 %{?with_recode:--with-recode=shared} \
2417 %{?with_snmp:--with-snmp=shared} \
2418 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2419 %{__with_without sqlite3 sqlite3 shared,/usr} \
2420 %{?with_tidy:--with-tidy=shared} \
2421 %{?with_odbc:--with-unixODBC=shared,/usr} \
2422 %{__with_without xmlrpc xmlrpc shared,/usr} \
2423 %{?with_xsl:--with-xsl=shared} \
2424 --with-zlib=shared \
2425 --with-zlib-dir=shared,/usr \
2426 %{?with_zip:--enable-zip=shared,/usr --with-libzip} \
2429 cp -f Makefile Makefile.$sapi
2430 cp -f main/php_config.h php_config.h.$sapi
2431 cp -f config.log config.log.$sapi
2434 # as we build each SAPI in own make, adjust php-config.in forehead
2435 sapis=$(%{__sed} -rne 's/^PHP_INSTALLED_SAPIS = (.+)/\1/p' Makefile.* | tr ' ' '\n' | sort -u | xargs)
2436 %{__sed} -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," scripts/php-config.in
2438 # must make libphp_common first, so modules can link against it.
2439 cp -af php_config.h.cli main/php_config.h
2440 cp -af Makefile.cli Makefile
2441 %{__make} libphp_common.la
2442 # hack: MYSQLND_SHARED_LIBADD not initialized
2443 %{__make} build-modules \
2444 MYSQLND_SHARED_LIBADD="-lssl -lcrypto"
2447 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp7.la -f Makefile.apxs2
2450 %if %{with litespeed}
2451 %{__make} -f Makefile.litespeed litespeed
2455 %{__make} -f Makefile.embed libphp7.la
2459 # PHP_READLINE_LIBS is empty, so force readline here
2460 %{__make} -f Makefile.phpdbg phpdbg \
2461 PHPDBG_EXTRA_LIBS=-lreadline
2465 %{__make} -f Makefile.milter milter
2470 cp -pf php_config.h.cgi-fcgi main/php_config.h
2471 %{__make} -f Makefile.cgi-fcgi
2472 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
2477 cp -pf php_config.h.fpm main/php_config.h
2478 %{__make} -f Makefile.fpm
2479 [ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
2483 cp -pf php_config.h.cli main/php_config.h
2484 %{__make} -f Makefile.cli
2485 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
2487 # check for stupid xml parse breakage where < and > just get lost in parse result
2488 ./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"]));'
2490 # Generate stub .ini files for each extension
2493 generate_inifiles() {
2494 for so in modules/*.so; do
2495 mod=$(basename $so .so)
2497 # opcache.so is zend extension
2498 nm $so | grep -q zend_extension_entry && ext=zend_extension
2500 # xml needs to be loaded before wddx
2501 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2502 # pre needs to be loaded before SPL
2503 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2504 # spl needs to be loaded before mysqli
2505 [ "$mod" = "spl" ] && conf="SPL.ini"
2506 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2507 [ "$mod" = "session" ] && conf="Session.ini"
2508 # hash needs to be loaded before mysqlnd
2509 [ "$mod" = "hash" ] && conf="Hash.ini"
2510 # mysqlnd needs to be loaded before mysqli,pdo_mysqli
2511 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2513 cat > conf.d/$conf <<-EOF
2514 ; Enable $mod $ext module
2520 cp -p %{_sourcedir}/opcache.ini conf.d
2522 # Check that the module inner-dependencies are intact
2523 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2524 if grep -v OK dep-tests.log; then
2525 echo >&2 "The results above were not expected"
2531 cp -pf php_config.h.cli main/php_config.h
2532 cp -pf Makefile.cli Makefile
2534 # you really don't want to package result of gcov build
2538 cat <<'EOF' > run-tests.sh
2540 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2541 export SKIP_ONLINE_TESTS=1
2542 unset TZ LANG LC_ALL || :
2544 EXTENSION_DIR=modules \
2545 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2546 RUN_TESTS_SETTINGS="-q $*"
2548 chmod +x run-tests.sh
2551 # Run tests, using the CLI SAPI
2552 cp -pf php_config.h.cli main/php_config.h
2553 cp -pf Makefile.cli Makefile
2555 ./run-tests.sh -w failed.log -s tests.log || {
2558 # collect failed tests into cleanup script used in prep.
2559 sed -ne '/^FAILED TEST SUMMARY/,/^===/p' tests.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2560 sed -ne '/^via/d;/\[.*\]/{s/\t*\(.*\) \[\(.*\)\]\(.*\)/# \1\3\nmv \2{,.skip}/p}' tests-failed.log \
2561 >> %{_sourcedir}/skip-tests.sh
2563 # if on builders, dump test log
2564 tty -q || cat tests.log
2566 test ! -s failed.log
2572 rm -rf $RPM_BUILD_ROOT
2573 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2574 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2575 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2576 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2578 cp -pf php_config.h.cli main/php_config.h
2579 cp -pf Makefile.cli Makefile
2581 phpbuilddir=%{_libdir}/%{name}/build \
2582 INSTALL_ROOT=$RPM_BUILD_ROOT
2584 %if %{without default_php}
2585 # version the .phar files
2586 %{__mv} $RPM_BUILD_ROOT%{_bindir}/phar{,%{php_suffix}}.phar
2587 %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/phar{,%{php_suffix}}.1
2589 %if %{with alternatives}
2591 %{__rm} $RPM_BUILD_ROOT%{_bindir}/phar
2592 touch $RPM_BUILD_ROOT%{_bindir}/phar
2593 touch $RPM_BUILD_ROOT%{_mandir}/man1/phar.1
2597 v=$(echo %{version} | cut -d. -f1-2)
2599 # install Apache2 DSO module
2601 libtool --mode=install install -p sapi/apache2handler/libphp7.la $RPM_BUILD_ROOT%{_libdir}/apache
2602 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp7{,-$v}.so
2603 ln -s libphp7-$v.so $RPM_BUILD_ROOT%{_libdir}/apache/mod_php.so
2606 # install litespeed sapi
2607 %if %{with litespeed}
2608 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
2612 %{__make} -f Makefile.phpdbg install-phpdbg \
2613 INSTALL="libtool --mode=install install -p" \
2614 INSTALL_ROOT=$RPM_BUILD_ROOT
2616 %if %{without default_php}
2617 # version the phpdbg files
2618 %{__mv} $RPM_BUILD_ROOT%{_bindir}/phpdbg{,%{ver_suffix}}
2619 %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/phpdbg{,%{ver_suffix}}.1
2624 %{__make} -f Makefile.milter install-milter \
2625 INSTALL_ROOT=$RPM_BUILD_ROOT
2628 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2633 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2634 ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
2635 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2640 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/php-fpm.d,%{_sbindir}}
2641 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2642 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
2643 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2644 cp -p sapi/fpm/www.conf $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d
2645 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2646 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2647 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2648 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2649 %if "%{pld_release}" == "ac"
2650 %{__sed} -i -e '/su/d' $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2653 %if %{with alternatives}
2654 # touch for ghost for alternatives
2655 touch $RPM_BUILD_ROOT%{_sbindir}/php-fpm
2659 s#/usr/lib/php#%{php_extensiondir}#
2660 s#/etc/php/#%{_sysconfdir}/#
2661 s#@processname@#%{name}-fpm#g
2662 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf,%{_sysconfdir}/php-fpm.d/www.conf}
2665 # install Embedded API
2667 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2668 # install-sapi installs to wrong dir, so just do it all manually
2669 install -d $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2670 install -p libs/libphp7.so $RPM_BUILD_ROOT%{_libdir}
2671 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2675 # versioned suffix is always installed
2676 libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php%{ver_suffix}
2677 cp -p sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php%{ver_suffix}.1
2678 echo ".so php%{ver_suffix}.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.1
2679 ln -sf php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php
2681 cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2682 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2685 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2686 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2687 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp7.la
2690 # ensure that paths are correct for current php version and arch
2691 grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
2693 s#/usr/lib/php#%{php_extensiondir}#
2694 s#/etc/php#%{_sysconfdir}#
2697 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2698 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2700 # per SAPI ini directories
2701 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2704 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2706 # use system automake and {lib,sh}tool
2707 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2708 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2709 for fn in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2710 f=%{_aclocaldir}/$fn
2711 test -f $f || continue
2712 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2714 for fn in ltmain.sh config/ltmain.sh build-aux/ltmain.sh; do
2715 f=/usr/share/libtool/$fn
2716 test -f $f || continue
2717 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2720 sed -i -e '/^phpdir/ s,/php/build,/%{name}/build,' $RPM_BUILD_ROOT%{_bindir}/phpize
2722 # for php-pecl-mailparse
2723 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2724 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2727 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2728 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2729 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2731 # fix install paths, avoid evil rpaths
2732 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2734 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/%{name}/build/acinclude.m4
2736 install -p ext/ext_skel.php $RPM_BUILD_ROOT%{_bindir}
2739 rm -rf $RPM_BUILD_ROOT
2741 %post -n apache-mod_%{name}
2742 if [ "$1" = "1" ]; then
2743 %service -q httpd restart
2746 %postun -n apache-mod_%{name}
2747 if [ "$1" = "0" ]; then
2748 %service -q httpd restart
2752 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2755 /sbin/chkconfig --add %{name}-fpm
2756 %service %{name}-fpm restart
2757 %if %{with alternatives}
2758 update-alternatives --install %{_sbindir}/php-fpm php-fpm %{_sbindir}/php%{ver_suffix}-fpm %{ver_suffix} || :
2762 if [ "$1" = "0" ]; then
2763 %service %{name}-fpm stop
2764 /sbin/chkconfig --del %{name}-fpm
2765 %if %{with alternatives}
2766 update-alternatives --remove php-fpm %{_sbindir}/php-fpm || :
2771 if [ "$1" = "0" ]; then
2775 %post embedded -p /sbin/ldconfig
2776 %postun embedded -p /sbin/ldconfig
2779 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2780 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2782 . /etc/sysconfig/timezone
2783 if [ "$TIMEZONE" ]; then
2784 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2788 # minimizing apache restarts logics. we restart webserver:
2790 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2791 # 2. first install of extension (post: $1 = 1)
2792 # 2. uninstall of extension (postun: $1 == 0)
2794 # the strict internal deps between extensions (and apache modules) and
2795 # common package are very important for all this to work.
2797 # restart webserver at the end of transaction
2798 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2799 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2801 %triggerpostun common -- php-common < 4:5.3.28-7
2802 # migrate configs /etc/php/conf.d -> /etc/phpXY/conf.d/
2803 # do config migration in php-common trigger, as the trigger is ran after all packages are upgraded
2804 # this way we can stick to one trigger, instead of attaching one for each (sub)package!
2805 for f in /etc/php/*.ini.rpmsave /etc/php/*.d/*.ini.rpmsave; do
2806 test -f "$f" || continue
2810 test "$dn" = "$fn" && dn=
2812 nf=%{_sysconfdir}/$dn/$fn
2813 test -f "$nf" || continue
2814 cp -vfb $nf{,.rpmnew}
2817 s#%{_libdir}/php#%{_libdir}/%{name}#
2818 s#/etc/php#%{_sysconfdir}#
2822 %triggerpostun common -- %{name}-common < 4:5.6.4-2, php-common < 4:5.6.4-2
2823 # switch to browscap package if the ini file has original value
2824 %{__sed} -i -e 's#%{_sysconfdir}/browscap.ini#/usr/share/browscap/php_browscap.ini#' %{_sysconfdir}/php.ini
2825 # disable browscap, if optional package not present
2826 if [ ! -e /usr/share/browscap/php_browscap.ini ]; then
2827 %{__sed} -i -e 's#^browscap = /usr/share/browscap/php_browscap.ini#;&#' %{_sysconfdir}/php.ini
2830 %triggerpostun -n apache-mod_%{name} -- apache-mod_%{name} < 4:7.0.0-2.RC4
2831 sed -i -e 's#modules/libphp[57].so#modules/mod_php.so#g' /etc/httpd/conf.d/*_mod_php.conf
2833 # common macros called at extension post/postun scriptlet
2835 if [ "$1" = "1" ]; then \
2836 %php_webserver_restart \
2840 %define ext_postun \
2841 if [ "$1" = "0" ]; then \
2842 %php_webserver_restart \
2846 %define extension_scripts() \
2854 # extension scripts defines
2855 %extension_scripts bcmath
2856 %extension_scripts bz2
2857 %extension_scripts calendar
2858 %extension_scripts ctype
2859 %extension_scripts curl
2860 %extension_scripts dba
2861 %extension_scripts dom
2862 %extension_scripts enchant
2863 %extension_scripts exif
2864 %extension_scripts fileinfo
2865 %extension_scripts filter
2866 %extension_scripts ftp
2867 %extension_scripts gd
2868 %extension_scripts gettext
2869 %extension_scripts gmp
2870 %extension_scripts hash
2871 %extension_scripts iconv
2872 %extension_scripts imap
2873 %extension_scripts interbase
2874 %extension_scripts intl
2875 %extension_scripts json
2876 %extension_scripts ldap
2877 %extension_scripts mbstring
2878 %extension_scripts mysqli
2879 %extension_scripts mysqlnd
2880 %extension_scripts oci8
2881 %extension_scripts odbc
2882 %extension_scripts opcache
2883 %extension_scripts openssl
2884 %extension_scripts pcre
2885 %extension_scripts pdo
2886 %extension_scripts pdo-dblib
2887 %extension_scripts pdo-firebird
2888 %extension_scripts pdo-oci
2889 %extension_scripts pdo-mysql
2890 %extension_scripts pdo-odbc
2891 %extension_scripts pdo-pgsql
2892 %extension_scripts pdo-sqlite
2893 %extension_scripts pgsql
2894 %extension_scripts pcntl
2895 %extension_scripts posix
2896 %extension_scripts pspell
2897 %extension_scripts recode
2898 %extension_scripts session
2899 %extension_scripts shmop
2900 %extension_scripts simplexml
2901 %extension_scripts snmp
2902 %extension_scripts soap
2903 %extension_scripts sockets
2904 %extension_scripts sodium
2905 %extension_scripts spl
2906 %extension_scripts sqlite3
2907 %extension_scripts sysvmsg
2908 %extension_scripts sysvsem
2909 %extension_scripts sysvshm
2910 %extension_scripts tidy
2911 %extension_scripts tokenizer
2912 %extension_scripts wddx
2913 %extension_scripts xml
2914 %extension_scripts xmlreader
2915 %extension_scripts xmlrpc
2916 %extension_scripts xmlwriter
2917 %extension_scripts xsl
2918 %extension_scripts zip
2919 %extension_scripts zlib
2923 %if %{with alternatives}
2924 update-alternatives \
2925 --install %{_bindir}/phar phar %{_bindir}/phar%{ver_suffix}.phar %{ver_suffix} \
2926 --slave %{_mandir}/man1/phar.1 phar.1 %{_mandir}/man1/phar%{ver_suffix}.1* || :
2931 %if %{with alternatives}
2932 if [ $1 -eq 0 ]; then
2933 update-alternatives --remove phar %{_bindir}/phar || :
2938 %files -n apache-mod_%{name}
2939 %defattr(644,root,root,755)
2940 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2941 %attr(755,root,root) %{_libdir}/apache/mod_php.so
2943 %files -n apache-mod_%{name}-core
2944 %defattr(644,root,root,755)
2945 %dir %{_sysconfdir}/apache2handler.d
2946 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2947 %attr(755,root,root) %{_libdir}/apache/libphp7-*.*.so
2950 %if %{with litespeed}
2952 %defattr(644,root,root,755)
2953 %attr(755,root,root) %{_sbindir}/%{name}.litespeed
2958 %defattr(644,root,root,755)
2959 %dir %{_sysconfdir}/cgi-fcgi.d
2960 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2961 %attr(755,root,root) %{_bindir}/%{name}.cgi
2962 %attr(755,root,root) %{_bindir}/%{name}.fcgi
2967 %defattr(644,root,root,755)
2968 %attr(755,root,root) %{_libdir}/libphp7.so
2972 %defattr(644,root,root,755)
2973 %dir %{_sysconfdir}/cli.d
2974 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2975 %attr(755,root,root) %{_bindir}/php%{ver_suffix}
2976 %{_mandir}/man1/php%{ver_suffix}.1*
2979 %defattr(644,root,root,755)
2980 %attr(755,root,root) %{_bindir}/php
2981 %{_mandir}/man1/php.1*
2985 %defattr(644,root,root,755)
2986 %doc sapi/fpm/{CREDITS,LICENSE}
2987 %dir %{_sysconfdir}/php-fpm.d
2988 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
2989 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.d/www.conf
2990 %attr(755,root,root) %{_sbindir}/%{name}-fpm
2991 %if %{with alternatives}
2992 %ghost %{_sbindir}/php-fpm
2994 %{_mandir}/man8/%{name}-fpm.8*
2995 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
2996 %attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
3001 %defattr(644,root,root,755)
3002 %attr(755,root,root) %{_bindir}/phpdbg%{php_suffix}
3003 %{_mandir}/man1/phpdbg%{php_suffix}.1*
3008 %defattr(644,root,root,755)
3009 %attr(755,root,root) %{_bindir}/php-milter
3013 %defattr(644,root,root,755)
3014 %doc CREDITS EXTENSIONS LICENSE NEWS UPGRADING* Zend/{LICENSE.Zend,README*} php.ini-* .gdbinit
3016 %dir %{_sysconfdir}/conf.d
3017 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
3018 %attr(755,root,root) %{_libdir}/libphp_common-*.so
3019 %dir %{php_extensiondir}
3021 %doc ext/session/mod_files.sh
3024 %defattr(644,root,root,755)
3025 %doc CODING_STANDARDS README.{EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,UNIX-BUILD-SYSTEM,input_filter}
3026 %attr(755,root,root) %{_bindir}/ext_skel.php
3027 %attr(755,root,root) %{_bindir}/php-config
3028 %attr(755,root,root) %{_bindir}/phpize
3029 %attr(755,root,root) %{_libdir}/libphp_common.so
3030 %{_libdir}/libphp_common.la
3032 %{_libdir}/%{name}/build
3033 %{_mandir}/man1/php-config.1*
3034 %{_mandir}/man1/phpize.1*
3038 %defattr(644,root,root,755)
3039 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
3040 %attr(755,root,root) %{php_extensiondir}/bcmath.so
3045 %defattr(644,root,root,755)
3046 %doc ext/bz2/CREDITS
3047 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
3048 %attr(755,root,root) %{php_extensiondir}/bz2.so
3051 %if %{with calendar}
3053 %defattr(644,root,root,755)
3054 %doc ext/calendar/CREDITS
3055 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
3056 %attr(755,root,root) %{php_extensiondir}/calendar.so
3061 %defattr(644,root,root,755)
3062 %doc ext/calendar/CREDITS
3063 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
3064 %attr(755,root,root) %{php_extensiondir}/ctype.so
3069 %defattr(644,root,root,755)
3070 %doc ext/curl/CREDITS
3071 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
3072 %attr(755,root,root) %{php_extensiondir}/curl.so
3077 %defattr(644,root,root,755)
3078 %doc ext/dba/{CREDITS,README}
3079 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
3080 %attr(755,root,root) %{php_extensiondir}/dba.so
3085 %defattr(644,root,root,755)
3086 %doc ext/dom/CREDITS
3087 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
3088 %attr(755,root,root) %{php_extensiondir}/dom.so
3093 %defattr(644,root,root,755)
3094 %doc ext/enchant/CREDITS
3095 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/enchant.ini
3096 %attr(755,root,root) %{php_extensiondir}/enchant.so
3101 %defattr(644,root,root,755)
3102 %doc ext/exif/CREDITS
3103 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
3104 %attr(755,root,root) %{php_extensiondir}/exif.so
3107 %if %{with fileinfo}
3109 %defattr(644,root,root,755)
3110 %doc ext/fileinfo/CREDITS
3111 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
3112 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
3117 %defattr(644,root,root,755)
3118 %doc ext/filter/CREDITS
3119 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
3120 %attr(755,root,root) %{php_extensiondir}/filter.so
3125 %defattr(644,root,root,755)
3126 %doc ext/ftp/CREDITS
3127 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
3128 %attr(755,root,root) %{php_extensiondir}/ftp.so
3133 %defattr(644,root,root,755)
3135 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
3136 %attr(755,root,root) %{php_extensiondir}/gd.so
3141 %defattr(644,root,root,755)
3142 %doc ext/gettext/CREDITS
3143 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
3144 %attr(755,root,root) %{php_extensiondir}/gettext.so
3149 %defattr(644,root,root,755)
3150 %doc ext/gmp/CREDITS
3151 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
3152 %attr(755,root,root) %{php_extensiondir}/gmp.so
3157 %defattr(644,root,root,755)
3158 %doc ext/hash/{CREDITS,README}
3159 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Hash.ini
3160 %attr(755,root,root) %{php_extensiondir}/hash.so
3165 %defattr(644,root,root,755)
3166 %doc ext/iconv/CREDITS
3167 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
3168 %attr(755,root,root) %{php_extensiondir}/iconv.so
3173 %defattr(644,root,root,755)
3174 %doc ext/imap/CREDITS
3175 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
3176 %attr(755,root,root) %{php_extensiondir}/imap.so
3179 %if %{with interbase}
3181 %defattr(644,root,root,755)
3182 %doc ext/interbase/CREDITS
3183 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
3184 %attr(755,root,root) %{php_extensiondir}/interbase.so
3189 %defattr(644,root,root,755)
3190 %doc ext/intl/CREDITS
3191 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
3192 %attr(755,root,root) %{php_extensiondir}/intl.so
3197 %defattr(644,root,root,755)
3198 %doc ext/json/CREDITS
3199 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
3200 %attr(755,root,root) %{php_extensiondir}/json.so
3205 %defattr(644,root,root,755)
3206 %doc ext/ldap/CREDITS
3207 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
3208 %attr(755,root,root) %{php_extensiondir}/ldap.so
3211 %if %{with mbstring}
3213 %defattr(644,root,root,755)
3214 %doc ext/mbstring/CREDITS
3215 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
3216 %attr(755,root,root) %{php_extensiondir}/mbstring.so
3221 %defattr(644,root,root,755)
3222 %doc ext/mysqli/CREDITS
3223 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
3224 %attr(755,root,root) %{php_extensiondir}/mysqli.so
3229 %defattr(644,root,root,755)
3230 %doc ext/mysqlnd/CREDITS
3231 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
3232 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
3237 %defattr(644,root,root,755)
3238 %doc ext/oci8/{CREDITS,README}
3239 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
3240 %attr(755,root,root) %{php_extensiondir}/oci8.so
3245 %defattr(644,root,root,755)
3246 %doc ext/odbc/CREDITS
3247 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
3248 %attr(755,root,root) %{php_extensiondir}/odbc.so
3253 %defattr(644,root,root,755)
3254 %doc ext/opcache/README
3255 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/opcache.ini
3256 %attr(755,root,root) %{php_extensiondir}/opcache.so
3261 %defattr(644,root,root,755)
3262 %doc ext/openssl/{CREDITS,README}
3263 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
3264 %attr(755,root,root) %{php_extensiondir}/openssl.so
3269 %defattr(644,root,root,755)
3270 %doc ext/pcntl/{CREDITS,README}
3271 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
3272 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3277 %defattr(644,root,root,755)
3278 %doc ext/pcre/CREDITS
3279 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
3280 %attr(755,root,root) %{php_extensiondir}/pcre.so
3285 %defattr(644,root,root,755)
3286 %doc ext/pdo/{CREDITS,README}
3287 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
3288 %attr(755,root,root) %{php_extensiondir}/pdo.so
3291 %if %{with pdo_dblib}
3293 %defattr(644,root,root,755)
3294 %doc ext/pdo_dblib/{CREDITS,README}
3295 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
3296 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3299 %if %{with interbase} && !%{with interbase_inst}
3301 %defattr(644,root,root,755)
3302 %doc ext/pdo_firebird/CREDITS
3303 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
3304 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3307 %if %{with pdo_mysql}
3309 %defattr(644,root,root,755)
3310 %doc ext/pdo_mysql/CREDITS
3311 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
3312 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3317 %defattr(644,root,root,755)
3318 %doc ext/pdo_oci/CREDITS
3319 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
3320 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3325 %defattr(644,root,root,755)
3326 %doc ext/pdo_odbc/CREDITS
3327 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3328 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3333 %defattr(644,root,root,755)
3334 %doc ext/pdo_pgsql/CREDITS
3335 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3336 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3339 %if %{with pdo_sqlite}
3341 %defattr(644,root,root,755)
3342 %doc ext/pdo_sqlite/CREDITS
3343 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3344 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3349 %defattr(644,root,root,755)
3350 %doc ext/pgsql/{CREDITS,README}
3351 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3352 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3357 %defattr(644,root,root,755)
3358 %doc ext/phar/CREDITS
3359 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
3360 %attr(755,root,root) %{php_extensiondir}/phar.so
3361 %attr(755,root,root) %{_bindir}/phar%{php_suffix}.phar
3362 %{_mandir}/man1/phar%{php_suffix}.1*
3363 %{_mandir}/man1/phar.phar.1*
3364 %if %{with alternatives}
3365 %ghost %{_bindir}/phar
3366 %ghost %{_mandir}/man1/phar.1
3368 %attr(755,root,root) %{_bindir}/phar
3374 %defattr(644,root,root,755)
3375 %doc ext/posix/CREDITS
3376 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3377 %attr(755,root,root) %{php_extensiondir}/posix.so
3382 %defattr(644,root,root,755)
3383 %doc ext/pspell/{CREDITS,README}
3384 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3385 %attr(755,root,root) %{php_extensiondir}/pspell.so
3388 %if %{with readline}
3390 %defattr(644,root,root,755)
3391 %doc ext/readline/{CREDITS,README*}
3392 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3393 %attr(755,root,root) %{php_extensiondir}/readline.so
3398 %defattr(644,root,root,755)
3399 %doc ext/recode/CREDITS
3400 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3401 %attr(755,root,root) %{php_extensiondir}/recode.so
3406 %defattr(644,root,root,755)
3407 %doc ext/session/CREDITS
3408 %doc ext/session/mod_files.sh
3409 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3410 %attr(755,root,root) %{php_extensiondir}/session.so
3414 %defattr(644,root,root,755)
3415 %doc ext/shmop/{CREDITS,README}
3416 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3417 %attr(755,root,root) %{php_extensiondir}/shmop.so
3420 %defattr(644,root,root,755)
3421 %doc ext/simplexml/{CREDITS,README}
3422 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3423 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3427 %defattr(644,root,root,755)
3428 %doc ext/snmp/CREDITS
3429 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3430 %attr(755,root,root) %{php_extensiondir}/snmp.so
3434 %defattr(644,root,root,755)
3435 %doc ext/soap/CREDITS
3436 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3437 %attr(755,root,root) %{php_extensiondir}/soap.so
3440 %defattr(644,root,root,755)
3441 %doc ext/sockets/CREDITS
3442 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3443 %attr(755,root,root) %{php_extensiondir}/sockets.so
3447 %defattr(644,root,root,755)
3448 %doc ext/sodium/{README.md,CREDITS}
3449 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sodium.ini
3450 %attr(755,root,root) %{php_extensiondir}/sodium.so
3454 %defattr(644,root,root,755)
3455 %doc ext/spl/{CREDITS,README}
3456 %doc ext/spl/examples
3457 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3458 %attr(755,root,root) %{php_extensiondir}/spl.so
3462 %defattr(644,root,root,755)
3463 %doc ext/sqlite3/CREDITS
3464 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3465 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3469 %defattr(644,root,root,755)
3470 %doc ext/sysvmsg/CREDITS
3471 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3472 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3475 %defattr(644,root,root,755)
3476 %doc ext/sysvsem/CREDITS
3477 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3478 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3481 %defattr(644,root,root,755)
3482 %doc ext/sysvshm/CREDITS
3483 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3484 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3487 %defattr(644,root,root,755)
3488 %dir %{php_data_dir}/tests
3489 %dir %{php_data_dir}/tests/php
3490 %{php_data_dir}/tests/php/basic
3491 %{php_data_dir}/tests/php/classes
3492 %{php_data_dir}/tests/php/func
3493 %{php_data_dir}/tests/php/lang
3494 %{php_data_dir}/tests/php/output
3495 %{php_data_dir}/tests/php/run-test
3496 %{php_data_dir}/tests/php/security
3497 %{php_data_dir}/tests/php/strings
3498 %{php_data_dir}/tests/php/quicktester.inc
3499 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3503 %defattr(644,root,root,755)
3504 %doc ext/tidy/CREDITS
3505 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3506 %attr(755,root,root) %{php_extensiondir}/tidy.so
3510 %defattr(644,root,root,755)
3511 %doc ext/tokenizer/CREDITS
3512 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3513 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3517 %defattr(644,root,root,755)
3518 %doc ext/wddx/CREDITS
3519 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3520 %attr(755,root,root) %{php_extensiondir}/wddx.so
3524 %defattr(644,root,root,755)
3525 %doc ext/xml/CREDITS
3526 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3527 %attr(755,root,root) %{php_extensiondir}/xml.so
3530 %defattr(644,root,root,755)
3531 %doc ext/xmlreader/{CREDITS,README}
3532 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3533 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3537 %defattr(644,root,root,755)
3538 %doc ext/xmlrpc/CREDITS
3539 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3540 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3544 %defattr(644,root,root,755)
3545 %doc ext/xmlwriter/CREDITS
3546 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3547 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3551 %defattr(644,root,root,755)
3552 %doc ext/xsl/CREDITS
3553 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3554 %attr(755,root,root) %{php_extensiondir}/xsl.so
3559 %defattr(644,root,root,755)
3560 %doc ext/zip/CREDITS
3561 %doc ext/zip/examples
3562 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3563 %attr(755,root,root) %{php_extensiondir}/zip.so
3567 %defattr(644,root,root,755)
3568 %doc ext/zlib/CREDITS
3569 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3570 %attr(755,root,root) %{php_extensiondir}/zlib.so