3 %bcond_without embed # disable building Embedded API
4 %bcond_with gcov # Enable Code coverage reporting
5 %bcond_without kerberos5 # without Kerberos5 support
6 %bcond_with systemtap # systemtap/DTrace support
7 %bcond_with tests # default off; test process very often hangs on builders, approx run time 45m; perform "make test"
8 %bcond_with zts # Zend Thread Safety
9 %bcond_with debug # Zend Debug Build
11 %bcond_without apache2 # disable building Apache 2.x SAPI
12 %bcond_without cgi # disable CGI/FCGI SAPI
13 %bcond_without fpm # disable FPM SAPI
14 %bcond_without litespeed # build litespeed SAPI
15 %bcond_without phpdbg # disable phpdbg SAPI
17 %bcond_without bcmath # without bcmath extension module
18 %bcond_without bzip2 # without bz2 extension module
19 %bcond_without calendar # without calendar extension module
20 %bcond_without ctype # without ctype extension module
21 %bcond_without curl # without CURL extension module
22 %bcond_without dba # without DBA extension module
23 %bcond_without dom # without DOM extension module
24 %bcond_without enchant # without Enchant extension module
25 %bcond_without exif # without EXIF extension module
26 %bcond_without ffi # without FFI extension module
27 %bcond_without fileinfo # without fileinfo extension module
28 %bcond_without filter # without filter extension module
29 %bcond_without ftp # without FTP extension module
30 %bcond_without gd # without GD extension module
31 %bcond_without gettext # without gettext extension module
32 %bcond_without gmp # without gmp extension module
33 %bcond_without iconv # without iconv extension module
34 %bcond_without imap # without IMAP extension module
35 %bcond_without intl # without Intl extension module
36 %bcond_without json # without json extension module
37 %bcond_without ldap # without LDAP extension module
38 %bcond_without mbstring # without mbstring extension module
39 %bcond_without mhash # without mhash extension (supported by hash extension)
40 %bcond_without mysqli # without mysqli support (Requires mysql >= 4.1)
41 %bcond_without mysqlnd # without mysqlnd support in mysql related extensions
42 %bcond_with oci # with Oracle oci8 extension module (BR: proprietary libs)
43 %bcond_without odbc # without ODBC extension module
44 %bcond_without opcache # without Enable Zend OPcache extension support
45 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
46 %bcond_without pcntl # without pcntl extension module
47 %bcond_without pcre_jit # PCRE JIT
48 %bcond_without pdo # without PDO extension module
49 %bcond_without pdo_dblib # without PDO dblib extension module
50 %bcond_without pdo_firebird # without PDO Firebird extension module
51 %bcond_without pdo_mysql # without PDO MySQL extension module
52 %bcond_without pdo_oci # without PDO oci extension module
53 %bcond_without pdo_odbc # without PDO ODBC extension module
54 %bcond_without pdo_pgsql # without PDO pgsql extension module
55 %bcond_without pdo_sqlite # without PDO SQLite extension module
56 %bcond_without pgsql # without PostgreSQL extension module
57 %bcond_without phar # without Phar extension module
58 %bcond_without posix # without POSIX extension module
59 %bcond_without pspell # without pspell extension module
60 %bcond_without readline # without readline extension module
61 %bcond_without session # without session extension module
62 %bcond_without snmp # without SNMP extension module
63 %bcond_without sodium # without sodium extension module
64 %bcond_without sqlite2 # without SQLite extension module
65 %bcond_without sqlite3 # without SQLite3 extension module
66 %bcond_without tidy # without Tidy extension module
67 %bcond_without xmlrpc # without XML-RPC extension module
68 %bcond_without xsl # without xsl extension module
69 %bcond_without zip # without zip extension module
71 %bcond_without argon2 # argon2 password hashing
72 %bcond_without instantclient # build Oracle oci8 extension module against oracle-instantclient package
73 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
74 %bcond_with mm # without mm support for session storage
75 %bcond_without system_gd # system gd
76 %bcond_without webp # Without WebP support in GD extension (imagecreatefromwebp)
78 %define apxs2 /usr/sbin/apxs
82 %undefine with_apache2
84 %undefine with_litespeed
87 # mm is not thread safe
93 %undefine with_pdo_odbc
97 %undefine with_pdo_pgsql
101 %undefine with_pdo_oci
104 %ifnarch %{ix86} %{x8664} x32
105 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
110 %undefine with_pdo_dblib
111 %undefine with_pdo_firebird
112 %undefine with_pdo_mysql
113 %undefine with_pdo_oci
114 %undefine with_pdo_odbc
115 %undefine with_pdo_pgsql
116 %undefine with_pdo_sqlite
120 %define php_suffix 74
121 Summary: PHP: Hypertext Preprocessor
122 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
123 Summary(pl.UTF-8): Język skryptowy PHP
124 Summary(pt_BR.UTF-8): A linguagem de script PHP
125 Summary(ru.UTF-8): PHP Версии 7 - язык препроцессирования HTML-файлов, выполняемый на сервере
126 Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері
127 Name: %{orgname}%{php_suffix}
131 # All files licensed under PHP version 3.01, except
132 # Zend is licensed under Zend
133 # TSRM is licensed under BSD
134 License: PHP 3.01 and Zend and BSD
136 Source0: https://php.net/distributions/%{orgname}-%{version}.tar.xz
137 # Source0-md5: f098632163cd47f2c1ffe2bdc6ef1ff2
139 Source2: %{orgname}-mod_php.conf
140 Source3: %{orgname}-cgi-fcgi.ini
141 Source4: %{orgname}-apache.ini
142 Source5: %{orgname}-cli.ini
143 Source10: %{orgname}-fpm.init
144 Source11: %{orgname}-fpm.logrotate
145 Source12: %{orgname}-branch.sh
146 Source13: dep-tests.sh
147 Source14: skip-tests.sh
148 Patch0: %{orgname}-shared.patch
149 Patch1: %{orgname}-tld.patch
150 Patch3: %{orgname}-link-libs.patch
151 Patch4: intl-stdc++.patch
152 Patch7: %{orgname}-sapi-ini-file.patch
153 Patch9: libtool-tag.patch
154 Patch10: %{orgname}-ini.patch
156 Patch14: %{orgname}-no_pear_install.patch
157 Patch17: %{orgname}-readline.patch
158 Patch18: %{orgname}-nohttpd.patch
159 Patch21: %{orgname}-dba-link.patch
160 Patch22: %{orgname}-both-apxs.patch
161 Patch23: %{orgname}-paths.patch
162 Patch24: %{orgname}-zlib-for-getimagesize.patch
163 Patch25: %{orgname}-stupidapache_version.patch
164 Patch27: %{orgname}-config-dir.patch
165 Patch29: %{orgname}-fcgi-graceful.patch
166 Patch39: %{orgname}-use-prog_sendmail.patch
167 Patch41: %{orgname}-fpm-config.patch
168 Patch43: %{orgname}-silent-session-cleanup.patch
169 Patch44: %{orgname}-include_path.patch
170 Patch50: extension-shared-optional-dep.patch
171 Patch53: fix-test-run.patch
172 Patch59: %{orgname}-systzdata.patch
173 Patch60: %{orgname}-oracle-instantclient.patch
174 Patch66: php-db.patch
175 Patch67: mysql-lib-ver-mismatch.patch
176 # https://bugs.php.net/bug.php?id=68344
177 Patch68: php-mysql-ssl-context.patch
178 Patch71: libdb-info.patch
179 Patch72: openssl.patch
181 %{?with_pdo_firebird:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
182 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
183 BuildRequires: autoconf >= 2.59
184 BuildRequires: automake >= 1.4d
185 BuildRequires: bison >= 3.0.0
186 BuildRequires: bzip2-devel >= 1.0.0
187 %{?with_curl:BuildRequires: curl-devel >= 7.15.5}
188 BuildRequires: cyrus-sasl-devel >= 2
189 BuildRequires: db-devel >= 4.0
190 BuildRequires: elfutils-devel
191 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
192 %if %{with pdo_dblib}
193 BuildRequires: freetds-devel >= 0.82
195 BuildRequires: freetype-devel >= 1:2.5.1
196 %if %{with system_gd}
197 BuildRequires: gd-devel >= 2.1
199 BuildRequires: gdbm-devel
200 BuildRequires: gmp-devel >= 4.2
201 %{?with_kerberos5:BuildRequires: heimdal-devel}
202 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
203 %{?with_gcov:BuildRequires: lcov}
204 %{?with_fpm:BuildRequires: libapparmor-devel}
205 %{?with_argon2:BuildRequires: libargon2-devel >= 20161029}
206 %{?with_ffi:BuildRequires: libffi-devel}
207 %{?with_intl:BuildRequires: libicu-devel >= 50.1}
208 BuildRequires: libjpeg-devel
209 BuildRequires: libltdl-devel >= 1.4
210 BuildRequires: libpng-devel >= 1.0.8
211 %{?with_sodium:BuildRequires: libsodium-devel >= 1.0.8}
212 %{?with_intl:BuildRequires: libstdc++-devel}
213 BuildRequires: libtool >= 2:2.4.6
214 %{?with_webp:BuildRequires: libwebp-devel}
215 BuildRequires: libxml2-devel >= 1:2.7.6-4
216 %{?with_xsl:BuildRequires: libxslt-devel >= 1.1.0}
217 %{?with_zip:BuildRequires: libzip-devel >= 1.3.1}
218 %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
219 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
220 %{!?with_mysqli:BuildRequires: mysql-devel >= 4.1.13}
221 %{!?with_pdo_mysql:BuildRequires: mysql-devel}
222 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.3}
223 BuildRequires: oniguruma-devel
224 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
225 %if %{with openssl} || %{with ldap}
226 BuildRequires: openssl-devel >= 1.0.1
228 %{?with_oci:%{?with_instantclient:BuildRequires: oracle-instantclient-devel}}
229 BuildRequires: pam-devel
230 BuildRequires: pcre2-8-devel >= 10.30
231 BuildRequires: pkgconfig
232 %{?with_pgsql:BuildRequires: postgresql-devel}
233 BuildRequires: readline-devel
234 BuildRequires: rpm >= 4.4.9-56
235 BuildRequires: rpm-build >= 4.4.0
236 BuildRequires: rpmbuild(macros) >= 1.566
237 BuildRequires: sed >= 4.0
238 %if %{with sqlite3} || %{with pdo_sqlite}
239 BuildRequires: sqlite3-devel >= 3.7.4
241 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
242 BuildRequires: tar >= 1:1.22
243 %{?with_tidy:BuildRequires: tidy-devel}
244 BuildRequires: tokyocabinet-devel
245 %{?with_odbc:BuildRequires: unixODBC-devel}
246 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
248 BuildRequires: zlib-devel >= 1.2.0.4
250 BuildRequires: apache-devel >= 2.0.52-2
251 BuildRequires: apr-devel >= 1:1.0.0
252 BuildRequires: apr-util-devel >= 1:1.0.0
254 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
256 %define php_sysconfdir /etc/%{name}
257 %define php_extensiondir %{_libdir}/php/%{name}
258 %define php_data_dir /usr/share/php/%{name}
259 %define _sysconfdir %{php_sysconfdir}
261 # must be in sync with source. extra check ensuring that it is so is done in %%build
262 %define php_api_version 20190902
263 %define zend_module_api 20190902
264 %define zend_extension_api 320190902
265 %define php_pdo_api_version 20170320
268 %define bz2ver %{version}
269 %define enchantver %{version}
270 %define fileinfover %{version}
271 %define hashver %{version}
272 %define intlver %{version}
273 %define jsonver %{version}
274 %define pharver %{version}
275 %define sqlite3ver %{version}
276 %define zipver 1.15.6
277 %define phpdbgver %{version}
278 %define sodiumver %{version}
280 %define _zend_zts %{!?with_zts:0}%{?with_zts:1}
281 %define php_debug %{!?with_debug:0}%{?with_debug:1}
284 %undefine with_ccache
288 # ORACLE_HOME is required for oci8 ext to build
289 %define _preserve_env %_preserve_env_base ORACLE_HOME
293 PHP is an HTML-embedded scripting language. PHP attempts to make it
294 easy for developers to write dynamically generated web pages. PHP also
295 offers built-in database integration for several commercial and
296 non-commercial database management systems, so writing a
297 database-enabled web page with PHP is fairly simple. The most common
298 use of PHP coding is probably as a replacement for CGI scripts. The
299 mod_php module enables the Apache web server to understand and process
300 the embedded PHP language in web pages. This package contains PHP
303 %description -l fr.UTF-8
304 PHP est un langage de script embarque dans le HTM. PHP essaye de
305 rendre simple aux developpeurs d'ecrire des pages web generees
306 dynamiquement. PHP incorpore egalement une integration avec plusieurs
307 systemes de gestion de bases de donnees commerciaux et
308 non-connerciaux, qui rent facile la creation de pages web liees avec
309 des bases de donnees. L'utilisation la plus commune de PHP est
310 probablement en remplacement de scripts CGI. Le module mod_php permet
311 au serveur web Apache de comprendre et de traiter le langage PHP
312 integre dans des pages web. Ce package contient PHP version
315 %description -l pl.UTF-8
316 PHP jest językiem skryptowym, którego polecenia umieszcza się w
317 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
318 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
319 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
320 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
321 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
322 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
323 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
326 %description -l pt_BR.UTF-8
327 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
328 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
329 com algumas características únicas, específicas ao PHP. O objetivo da
330 linguagem é permitir que desenvolvedores web escrevam páginas
331 dinamicamente geradas de forma rápida.
333 %description -l ru.UTF-8
334 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
335 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
336 для работы с базами данных относительно просто. Наиболее популярное
337 использование PHP - замена для CGI скриптов.
339 %description -l uk.UTF-8
340 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
341 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
342 роботи з базами даних є доволі простим. Найбільш популярне
343 використання PHP - заміна для CGI скриптів.
345 %package -n apache-mod_%{name}
346 Summary: PHP support for Apache 2.x
347 Summary(pl.UTF-8): Wsparcie PHP dla Apache 2.x
348 Group: Development/Languages/PHP
349 Requires: %{name}-common = %{epoch}:%{version}-%{release}
350 Requires: apache-mod_%{name}-core = %{epoch}:%{version}-%{release}
351 Provides: webserver(php) = %{version}
352 Obsoletes: apache-mod_php < 4:5.3.28-7
355 %description -n apache-mod_%{name}
356 PHP support for Apache 2.x.
358 %description -n apache-mod_%{name} -l pl.UTF-8
359 Wsparcie PHP dla Apache 2.x.
361 %package -n apache-mod_%{name}-core
362 Summary: PHP DSO module for Apache 2.x
363 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
364 Group: Development/Languages/PHP
365 Requires: %{name}-common = %{epoch}:%{version}-%{release}
366 Requires: apache(modules-api) = %{apache_modules_api}
367 Requires: apache-mod_mime
369 %description -n apache-mod_%{name}-core
370 PHP as DSO module for Apache 2.x.
372 %description -n apache-mod_%{name}-core -l pl.UTF-8
373 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
376 Summary: PHP for litespeed HTTP server
377 Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
378 Group: Development/Languages/PHP
379 Requires: %{name}-common = %{epoch}:%{version}-%{release}
380 Provides: php(litespeed)
381 Provides: webserver(php) = %{version}
382 Obsoletes: php-litespeed < 4:5.3.28-7
384 %description litespeed
385 PHP for litespeed HTTP server.
387 %description litespeed -l pl.UTF-8
388 PHP dla serwera HTTP litespeed.
391 Summary: PHP as CGI/FastCGI program
392 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
393 Group: Development/Languages/PHP
394 Requires: %{name}-common = %{epoch}:%{version}-%{release}
395 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
398 Provides: webserver(php) = %{version}
399 Obsoletes: php-cgi < 4:5.3.28-7
400 Obsoletes: php-fcgi < 4:5.3.0
403 PHP as CGI or FastCGI program.
405 %description cgi -l pl.UTF-8
406 PHP jako program CGI lub FastCGI.
409 Summary: PHP as CLI interpreter
410 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
411 Group: Development/Languages/PHP
412 Requires: %{name}-common = %{epoch}:%{version}-%{release}
413 Requires: alternatives
414 Obsoletes: php-cli < 4:5.3.28-7
417 PHP as CLI interpreter.
419 %description cli -l pl.UTF-8
420 PHP jako interpreter działający z linii poleceń.
423 Summary: PHP library for embedding in applications
424 Summary(pl.UTF-8): Biblioteka PHP do osadzania w aplikacjach
426 Requires: %{name}-common = %{epoch}:%{version}-%{release}
427 Obsoletes: php-embedded < 4:5.3.28-7
429 %description embedded
430 The php-embedded package contains a library which can be embedded into
431 applications to provide PHP scripting language support.
433 %description embedded -l pl.UTF-8
434 Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
435 celu obsługi PHP jako języka skryptowego.
438 Summary: PHP FastCGI Process Manager
439 Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
440 Group: Development/Languages/PHP
441 URL: http://php-fpm.org/
442 Requires(post,preun): /sbin/chkconfig
443 Requires(postun): /usr/sbin/userdel
444 Requires(pre): /bin/id
445 Requires(pre): /usr/sbin/useradd
446 Requires: %{name}-common = %{epoch}:%{version}-%{release}
447 Requires: alternatives
448 Requires: php-dirs >= 1.4-2
453 Provides: webserver(php) = %{version}
454 Obsoletes: php-fpm < 4:5.3.28-7
455 Conflicts: logrotate < 3.8.0
458 PHP FastCGI Process Manager.
460 %description fpm -l pl.UTF-8
461 PHP FastCGI Process Manager - zarządca procesów FastCGI.
464 Summary: The debugging platform for PHP 5.4+
465 Summary(pl.UTF-8): Platforma diagnostyczna dla PHP 5.4+
466 Group: Development/Languages/PHP
467 Requires: %{name}-common = %{epoch}:%{version}-%{release}
468 Provides: php(phpdbg) = %{phpdbgver}
471 phpdbg - The interactive PHP debugger.
473 Implemented as a SAPI module, phpdbg can excert complete control over
474 the environment without impacting the functionality or performance of
477 phpdbg aims to be a lightweight, powerful, easy to use debugging
478 platform for PHP 5.4+
480 %description phpdbg -l pl.UTF-8
481 phpdbg - interaktywny debugger dla PHP.
483 Jest zaimplementowany jako moduł SAPI, potrafi przejąć pełną kontrolę
484 nad środowiskiem bez wpływu na zachowanie lub wydajność kodu.
486 Narzędzie powstało jako lekka, mająca duże możliwości, łatwa w użyciu
487 platforma diagnostyczna dla PHP 5.4+.
490 Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
491 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
492 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
493 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
495 Requires(post): sed >= 4.0
496 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
497 Requires: glibc >= 6:2.3.5
498 Requires: php-dirs >= 1.4
499 Requires: rpm-whiteout >= 1.28
501 Requires: zlib >= 1.2.0.4
502 Provides: %{name}(debug) = %{php_debug}
503 Provides: %{name}(modules_api) = %{php_api_version}
504 Provides: %{name}(thread-safety) = %{_zend_zts}
505 Provides: %{name}(zend_extension_api) = %{zend_extension_api}
506 Provides: %{name}(zend_module_api) = %{zend_module_api}
507 Provides: %{name}-core
508 Provides: %{name}-date
509 Provides: %{name}-hash = %{epoch}:%{version}-%{release}
510 Provides: %{name}-pcre = %{epoch}:%{version}-%{release}
511 Provides: %{name}-reflection
512 Provides: %{name}-spl = %{epoch}:%{version}-%{release}
513 Provides: %{name}-standard
514 Provides: php(core) = %{version}
516 Provides: php(hash) = %{hashver}
517 Provides: php(libxml)
519 Provides: php(reflection)
521 Provides: php(standard)
522 %{!?with_mysqlnd:Obsoletes: %{name}-mysqlnd}
523 %requires_ge_to pcre2-8 pcre2-8-devel
525 Obsoletes: php-common < 4:5.3.28-7
526 Obsoletes: php-filepro < 4:5.2.0
527 Obsoletes: php-hash < 4:5.3.28-7
528 Obsoletes: php-hwapi < 4:5.2.0
529 Obsoletes: php-hyperwave < 3:5.0.0
530 Obsoletes: php-java < 3:5.0.0
531 Obsoletes: php-mcal < 3:5.0.0
532 Obsoletes: php-pcre < 4:5.3.28-7
533 Obsoletes: php-pecl-domxml
534 Obsoletes: php-pecl-hash < %{hashver}
535 Obsoletes: php-qtdom < 3:5.0.0
536 Obsoletes: php-spl < 4:5.3.28-7
537 Conflicts: php4-common < 3:4.4.4-8
538 Conflicts: php55-common < 4:5.5.10-4
539 Conflicts: rpm < 4.4.2-0.2
542 Provides: php-mhash = %{epoch}:%{version}-%{release}
543 Obsoletes: php-mhash < 4:5.3.0
547 Common files needed by both Apache modules and CGI/CLI SAPIs.
549 %description common -l pl.UTF-8
550 Wspólne pliki dla modułu Apache'a i programu CGI.
552 %description common -l ru.UTF-8
553 Этот пакет содержит общие файлы для разных вариантов реализации PHP
554 (самодостаточной и в качестве модуля Apache).
556 %description common -l uk.UTF-8
557 Цей пакет містить спільні файли для різних варіантів реалізації PHP
558 (самодостатньої та в якості модуля Apache).
561 Summary: Files for PHP modules development
562 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
563 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
564 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
565 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
566 Group: Development/Languages/PHP
567 Requires: %{name}-common = %{epoch}:%{version}-%{release}
568 Requires: autoconf >= 2.59
569 Requires: automake >= 1.4d
570 Requires: libtool >= 2:2.4.6
571 Requires: pcre2-8-devel >= 10.30
573 Provides: php-devel = %{epoch}:%{version}-%{release}
574 Obsoletes: php-pear-devel
575 Obsoletes: php4-devel
576 Obsoletes: php52-devel
577 Obsoletes: php53-devel
578 Obsoletes: php54-devel
579 Obsoletes: php55-devel
580 Obsoletes: php56-devel
583 The php-devel package lets you compile dynamic extensions to PHP.
584 Included here is the source for the PHP extensions. Instead of
585 recompiling the whole PHP binary to add support for, say, oracle,
586 install this package and use the new self-contained extensions
587 support. For more information, read the file
588 README.SELF-CONTAINED-EXTENSIONS.
590 %description devel -l pl.UTF-8
591 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
592 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
593 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
594 samodzielnych rozszerzeniach można znaleźć w pliku
595 README.SELF-CONTAINED-EXTENSIONS.
597 %description devel -l pt_BR.UTF-8
598 Este pacote contém arquivos usados no desenvolvimento de programas ou
601 %description devel -l ru.UTF-8
602 Пакет php-devel дает возможность компилировать динамические расширения
603 PHP. Пакет включает исходный код этих расширений. Вместо повторной
604 компиляции бинарного файла PHP для добавления, например, поддержки
605 oracle, установите этот пакет для компилирования отдельных расширений.
606 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
608 %description devel -l uk.UTF-8
609 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
610 До пакету включено вихідний код для розширень. Замість повторної
611 компіляції бінарного файлу PHP для додання, наприклад, підтримки
612 oracle, встановіть цей пакет для компіляції окремих розширень.
613 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
616 Summary: bcmath extension module for PHP
617 Summary(pl.UTF-8): Moduł bcmath dla PHP
619 URL: http://php.net/manual/en/book.bc.php
620 Requires: %{name}-common = %{epoch}:%{version}-%{release}
621 Provides: php(bcmath)
622 Obsoletes: php-bcmath < 4:5.3.28-7
625 This is a dynamic shared object (DSO) for PHP that will add bc style
626 precision math functions support.
628 %description bcmath -l pl.UTF-8
629 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
630 matematycznych takich jak w programie bc.
633 Summary: Bzip2 extension module for PHP
634 Summary(pl.UTF-8): Moduł bzip2 dla PHP
636 URL: http://php.net/manual/en/book.bzip2.php
637 Requires: %{name}-common = %{epoch}:%{version}-%{release}
638 Requires: bzip2-libs >= 1.0.0
639 Provides: php(bz2) = %{bz2ver}
641 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
642 Obsoletes: php-bz2 < 4:5.3.28-7
643 Obsoletes: php-bzip2 < 4:5.2.14-3
644 Obsoletes: php-pecl-bz2 < %{bz2ver}
647 This is a dynamic shared object (DSO) for PHP that will add bzip2
648 compression support to PHP.
650 %description bz2 -l pl.UTF-8
651 Moduł PHP umożliwiający używanie kompresji bzip2.
654 Summary: Calendar extension module for PHP
655 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
657 URL: http://php.net/manual/en/book.calendar.php
658 Requires: %{name}-common = %{epoch}:%{version}-%{release}
659 Provides: php(calendar)
660 Obsoletes: php-calendar < 4:5.3.28-7
662 %description calendar
663 This is a dynamic shared object (DSO) for PHP that will add calendar
666 %description calendar -l pl.UTF-8
667 Moduł PHP dodający wsparcie dla kalendarza.
670 Summary: ctype extension module for PHP
671 Summary(pl.UTF-8): Moduł ctype dla PHP
673 URL: http://php.net/manual/en/book.ctype.php
674 Requires: %{name}-common = %{epoch}:%{version}-%{release}
676 Obsoletes: php-ctype < 4:5.3.28-7
679 This is a dynamic shared object (DSO) for PHP that will add ctype
682 %description ctype -l pl.UTF-8
683 Moduł PHP umożliwiający korzystanie z funkcji ctype.
686 Summary: curl extension module for PHP
687 Summary(pl.UTF-8): Moduł curl dla PHP
689 URL: http://php.net/manual/en/book.curl.php
690 Requires: %{name}-common = %{epoch}:%{version}-%{release}
691 Requires: curl-libs >= 7.12.0
693 Obsoletes: php-curl < 4:5.3.28-7
696 This is a dynamic shared object (DSO) for PHP that will add curl
699 %description curl -l pl.UTF-8
700 Moduł PHP umożliwiający korzystanie z biblioteki curl.
703 Summary: DBA extension module for PHP
704 Summary(pl.UTF-8): Moduł DBA dla PHP
706 URL: http://php.net/manual/en/book.dba.php
707 Requires: %{name}-common = %{epoch}:%{version}-%{release}
709 Obsoletes: php-dba < 4:5.3.28-7
710 # withdrawn module of similar functionality but different API
711 Obsoletes: php-db < 3:5.0.0
714 This is a dynamic shared object (DSO) for PHP that will add flat-file
715 databases (DBA) support.
717 %description dba -l pl.UTF-8
718 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
722 Summary: DOM extension module for PHP
723 Summary(pl.UTF-8): Moduł DOM dla PHP
725 URL: http://php.net/manual/en/book.dom.php
726 Requires: %{name}-common = %{epoch}:%{version}-%{release}
728 # it has some compatibility functions
729 Provides: %{name}-domxml = %{epoch}:%{version}-%{release}
730 Provides: php(domxml)
731 Obsoletes: php-dom < 4:5.3.28-7
732 Obsoletes: php-domxml <= 3:4.3.8-1
735 This is a dynamic shared object (DSO) for PHP that will add new DOM
738 %description dom -l pl.UTF-8
739 Moduł PHP dodający nową obsługę DOM.
742 Summary: libenchant binder
743 Summary(pl.UTF-8): dowiązania biblioteki libenchant
745 URL: http://php.net/manual/en/book.enchant.php
746 Requires: %{name}-common = %{epoch}:%{version}-%{release}
747 Provides: php(enchant) = %{enchantver}
748 Obsoletes: php-enchant < 4:5.3.28-7
749 Obsoletes: php-pecl-enchant < %{enchantver}
752 Enchant is a binder for libenchant. Libenchant provides a common API
753 for many spell libraries:
754 - aspell/pspell (intended to replace ispell)
757 - myspell (OpenOffice.org project, mozilla)
758 - uspell (primarily Yiddish, Hebrew, and Eastern European languages) A
759 plugin system allows to add custom spell support.
761 %description enchant -l pl.UTF-8
762 Enchant jest dowiązaniem do biblioteki libenchant, która udostępnia
763 ujednolicone API dla wielu narzędzi sprawdzających pisownię:
764 - aspell/pspell (w zamierzeniu ma zastąpić ispell)
767 - myspell (projekt OpenOffice.org, mozilla)
768 - uspell (głównie Jidysz, Hebrajski oraz języki wschodnioeuropejskie)
769 System wtyczek pozwala na dodanie wsparcia dla kolejnych narzędzi.
772 Summary: exif extension module for PHP
773 Summary(pl.UTF-8): Moduł exif dla PHP
775 URL: http://php.net/manual/en/book.exif.php
776 Requires: %{name}-common = %{epoch}:%{version}-%{release}
778 Obsoletes: php-exif < 4:5.3.28-7
781 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
782 support in image files.
784 %description exif -l pl.UTF-8
785 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
788 Summary: Foreign Function Interface module for PHP
789 Summary(pl.UTF-8): Moduł Foreign Function Interface (interfejsu do obcych języków) dla PHP
791 URL: https://www.php.net/manual/en/book.ffi.php
792 Requires: %{name}-common = %{epoch}:%{version}-%{release}
793 Provides: php(ffi) = %{version}
796 FFI is a multi-platform extension for PHP that allows you to bind to
797 functions from arbitrary shared libraries and call them.
799 %description ffi -l pl.UTF-8
800 FFI to wieloplatformowe rozszerzenie dla PHP pozwalające dowiązywać
801 funkcje z dowolnych bibliotek współdzielonych i wywoływać je.
804 Summary: libmagic bindings
805 Summary(pl.UTF-8): Wiązania do libmagic
807 URL: http://php.net/manual/en/book.fileinfo.php
808 Requires: %{name}-common = %{epoch}:%{version}-%{release}
809 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
810 Provides: php(fileinfo) = %{fileinfover}
811 Obsoletes: php-fileinfo < 4:5.3.28-7
812 Obsoletes: php-mime_magic
813 Obsoletes: php-pecl-fileinfo < %{fileinfover}
815 %description fileinfo
816 This extension allows retrieval of information regarding vast majority
817 of file. This information may include dimensions, quality, length
820 Additionally it can also be used to retrieve the MIME type for a
821 particular file and for text files proper language encoding.
823 %description fileinfo -l pl.UTF-8
824 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
825 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
827 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
828 pliku oraz kodowania plików tekstowych.
831 Summary: Extension for safely dealing with input parameters
832 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
834 URL: http://php.net/manual/en/book.filter.php
835 Requires: %{name}-common = %{epoch}:%{version}-%{release}
836 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
837 Provides: php(filter)
838 Obsoletes: php-filter < 4:5.3.28-7
839 Obsoletes: php-pecl-filter
842 We all know that you should always check input variables, but PHP does
843 not offer really good functionality for doing this in a safe way. The
844 Input Filter extension is meant to address this issue by implementing
845 a set of filters and mechanisms that users can use to safely access
848 %description filter -l pl.UTF-8
849 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
850 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
851 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
852 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
853 mogą bezpiecznie używać do dostępu do danych.
856 Summary: FTP extension module for PHP
857 Summary(pl.UTF-8): Moduł FTP dla PHP
859 URL: http://php.net/manual/en/book.ftp.php
860 Requires: %{name}-common = %{epoch}:%{version}-%{release}
862 Obsoletes: php-ftp < 4:5.3.28-7
865 This is a dynamic shared object (DSO) for PHP that will add FTP
868 %description ftp -l pl.UTF-8
869 Moduł PHP dodający obsługę protokołu FTP.
872 Summary: GD extension module for PHP
873 Summary(pl.UTF-8): Moduł GD dla PHP
875 URL: http://php.net/manual/en/book.image.php
876 Requires: %{name}-common = %{epoch}:%{version}-%{release}
877 %if %{with system_gd}
882 Obsoletes: php-gd < 4:5.3.28-7
885 This is a dynamic shared object (DSO) for PHP that will add GD
886 support, allowing you to create and manipulate images with PHP.
888 %description gd -l pl.UTF-8
889 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
890 tworzenie i obróbkę obrazków.
893 Summary: gettext extension module for PHP
894 Summary(pl.UTF-8): Moduł gettext dla PHP
896 URL: http://php.net/manual/en/book.gettext.php
897 Requires: %{name}-common = %{epoch}:%{version}-%{release}
898 Provides: php(gettext)
899 Obsoletes: php-gettext < 4:5.3.28-7
902 This is a dynamic shared object (DSO) for PHP that will add gettext
905 %description gettext -l pl.UTF-8
906 Moduł PHP dodający obsługę lokalizacji przez gettext.
909 Summary: gmp extension module for PHP
910 Summary(pl.UTF-8): Moduł gmp dla PHP
912 URL: http://php.net/manual/en/book.gmp.php
913 Requires: %{name}-common = %{epoch}:%{version}-%{release}
916 Obsoletes: php-gmp < 4:5.3.28-7
919 This is a dynamic shared object (DSO) for PHP that will add arbitrary
920 length number support with GNU MP library.
922 %description gmp -l pl.UTF-8
923 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
924 liczbach o dowolnej długości.
927 Summary: iconv extension module for PHP
928 Summary(pl.UTF-8): Moduł iconv dla PHP
930 URL: http://php.net/manual/en/book.iconv.php
931 Requires: %{_libdir}/gconv
932 Requires: %{name}-common = %{epoch}:%{version}-%{release}
935 Obsoletes: php-iconv < 4:5.3.28-7
938 This is a dynamic shared object (DSO) for PHP that will add iconv
941 %description iconv -l pl.UTF-8
942 Moduł PHP dodający obsługę iconv.
945 Summary: IMAP extension module for PHP
946 Summary(pl.UTF-8): Moduł IMAP dla PHP
947 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
949 URL: http://php.net/manual/en/book.imap.php
950 Requires: %{name}-common = %{epoch}:%{version}-%{release}
951 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
952 Requires: imap-lib >= 1:2007e-2
954 Obsoletes: php-imap < 4:5.3.28-7
957 This is a dynamic shared object (DSO) for PHP that will add IMAP
960 %description imap -l pl.UTF-8
961 Moduł PHP dodający obsługę skrzynek IMAP.
963 %description imap -l pt_BR.UTF-8
964 Um módulo para aplicações PHP que usam IMAP.
967 Summary: Internationalization extension (ICU wrapper)
968 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
970 URL: http://php.net/intl
971 Requires: %{name}-common = %{epoch}:%{version}-%{release}
972 Provides: php(intl) = %{intlver}
973 Obsoletes: php-intl < 4:5.3.28-7
974 Obsoletes: php-pecl-intl < %{intlver}
977 Internationalization extension (further is referred as Intl) is a
978 wrapper for ICU library, enabling PHP programmers to perform
979 UCA-conformant collation and date/time/number/currency formatting in
982 %description intl -l pl.UTF-8
983 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
984 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
985 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
989 Summary: PHP C extension for JSON serialization
990 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
992 URL: http://php.net/manual/en/book.json.php
993 Requires: %{name}-common = %{epoch}:%{version}-%{release}
994 Provides: php(json) = %{jsonver}
995 Obsoletes: php-json < 4:5.3.28-7
996 Obsoletes: php-pecl-json < %{jsonver}
999 php-json is an extremely fast PHP C extension for JSON (JavaScript
1000 Object Notation) serialisation.
1002 %description json -l pl.UTF-8
1003 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
1004 (JavaScript Object Notation).
1007 Summary: LDAP extension module for PHP
1008 Summary(pl.UTF-8): Moduł LDAP dla PHP
1009 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
1011 URL: http://php.net/manual/en/book.ldap.php
1012 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1014 Obsoletes: php-ldap < 4:5.3.28-7
1017 This is a dynamic shared object (DSO) for PHP that will add LDAP
1020 %description ldap -l pl.UTF-8
1021 Moduł PHP dodający obsługę LDAP.
1023 %description ldap -l pt_BR.UTF-8
1024 Um módulo para aplicações PHP que usam LDAP.
1027 Summary: mbstring extension module for PHP
1028 Summary(pl.UTF-8): Moduł mbstring dla PHP
1030 URL: http://php.net/manual/en/book.mbstring.php
1031 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1032 Provides: php(mbstring)
1033 Obsoletes: php-mbstring < 4:5.3.28-7
1035 %description mbstring
1036 This is a dynamic shared object (DSO) for PHP that will add multibyte
1039 %description mbstring -l pl.UTF-8
1040 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1043 Summary: MySQLi module for PHP
1044 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1046 URL: http://php.net/manual/en/book.mysqli.php
1047 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1048 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1049 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1050 Requires: mysql-libs >= 4.1.13
1051 Provides: php(mysqli)
1052 Obsoletes: php-mysqli < 4:5.3.28-7
1055 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1056 (Improved MySQL) support. The difference between it and mysql module
1057 is that it provides access to functionality of MySQL 4.1 and above.
1059 %description mysqli -l pl.UTF-8
1060 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1061 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1062 MySQL w wersji 4.1 i nowszych.
1065 Summary: MySQL Native Client Driver for PHP
1066 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1068 URL: http://php.net/manual/en/book.mysqlnd.php
1069 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1070 Provides: php(mysqlnd)
1071 Obsoletes: php-mysqlnd < 4:5.3.28-7
1073 %description mysqlnd
1074 MySQL Native Driver is a replacement for the MySQL Client Library
1077 Because MySQL Native Driver is written as a PHP extension, it is
1078 tightly coupled to the workings of PHP. This leads to gains in
1079 efficiency, especially when it comes to memory usage, as the driver
1080 uses the PHP memory management system. It also supports the PHP memory
1081 limit. Using MySQL Native Driver leads to comparable or better
1082 performance than using MySQL Client Library, it always ensures the
1083 most efficient use of memory. One example of the memory efficiency is
1084 the fact that when using the MySQL Client Library, each row is stored
1085 in memory twice, whereas with the MySQL Native Driver each row is only
1086 stored once in memory.
1088 %description mysqlnd -l pl.UTF-8
1089 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1090 klienckiej MySQL (libmysql).
1092 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1093 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1094 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1095 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1096 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1097 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1098 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1099 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1100 tym sterowniku - tylko raz.
1103 Summary: Oracle 8+ database module for PHP
1104 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1106 URL: http://php.net/manual/en/book.oci8.php
1107 %{?requires_php_extension}
1109 Obsoletes: php-oci8 < 4:5.3.28-7
1110 # withdrawn module of similar functionality but different API
1111 Obsoletes: php-oracle < 4:5.1.0
1114 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1115 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1117 %description oci8 -l pl.UTF-8
1118 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1119 poprzez interfejs Oracle8 Call-Interface (OCI8).
1122 Summary: ODBC extension module for PHP
1123 Summary(pl.UTF-8): Moduł ODBC dla PHP
1124 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1126 URL: http://php.net/manual/en/book.uodbc.php
1127 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1128 Requires: unixODBC >= 2.1.1-3
1130 Obsoletes: php-odbc < 4:5.3.28-7
1133 This is a dynamic shared object (DSO) for PHP that will add ODBC
1136 %description odbc -l pl.UTF-8
1137 Moduł PHP ze wsparciem dla ODBC.
1139 %description odbc -l pt_BR.UTF-8
1140 Um módulo para aplicações PHP que usam ODBC.
1143 Summary: Zend Optimizer+ - PHP code optimizer
1144 Summary(pl.UTF-8): Zend Optimizer+ - optymalizator kodu PHP
1146 URL: https://wiki.php.net/rfc/optimizerplus
1147 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1148 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1149 Provides: php(opcache) = %{version}
1151 %description opcache
1152 The Zend OPcache provides faster PHP execution through opcode caching
1153 and optimization. It improves PHP performance by storing precompiled
1154 script bytecode in the shared memory. This eliminates the stages of
1155 reading code from the disk and compiling it on future access. In
1156 addition, it applies a few bytecode optimization patterns that make
1157 code execution faster.
1159 %description opcache -l pl.UTF-8
1160 Zend OPcache zapewnia szybsze wykonywanie kodu PHP dzięki buforowaniu
1161 i optymalizacji na poziomie opcode'ów. Poprawia wydajność PHP
1162 przechowując prekompilowany bajtkod skryptu w pamięci współdzielonej.
1163 Eliminuje etapy odczytu kodu z dysku i kompilacji przy późniejszym
1164 dostępie. Ponadto wykonuje kilka wzorców optymalizacji bajtkodu,
1165 czyniąc wykonywanie kodu szybszym.
1168 Summary: OpenSSL extension module for PHP
1169 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1171 URL: http://php.net/manual/en/book.openssl.php
1172 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1173 Provides: php(openssl)
1174 Obsoletes: php-openssl < 4:5.3.28-7
1176 %description openssl
1177 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1180 %description openssl -l pl.UTF-8
1181 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1184 Summary: Process Control extension module for PHP
1185 Summary(pl.UTF-8): Moduł Process Control dla PHP
1187 URL: http://php.net/manual/en/book.pcntl.php
1188 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1189 Provides: php(pcntl)
1190 Obsoletes: php-pcntl < 4:5.3.28-7
1193 This is a dynamic shared object (DSO) for PHP that will add process
1194 spawning and control support. It supports functions like fork(),
1195 waitpid(), signal() etc.
1197 %description pcntl -l pl.UTF-8
1198 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1199 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1202 Summary: PHP Data Objects (PDO)
1203 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1205 URL: http://php.net/manual/en/book.pdo.php
1206 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1207 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1208 Provides: %{name}(PDO_API) = %{php_pdo_api_version}
1210 Obsoletes: php-pdo < 4:5.3.28-7
1211 Obsoletes: php-pecl-PDO
1214 This is a dynamic shared object (DSO) for PHP that will add PDO
1217 %description pdo -l pl.UTF-8
1218 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1221 Summary: PHP Data Objects (PDO) FreeTDS support
1222 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1224 URL: http://php.net/manual/en/ref.pdo-dblib.php
1225 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1226 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1227 Provides: php(pdo_dblib)
1228 Obsoletes: php-pdo-dblib < 4:5.3.28-7
1230 %description pdo-dblib
1231 This is a dynamic shared object (DSO) for PHP that will add PDO
1234 %description pdo-dblib -l pl.UTF-8
1235 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1238 %package pdo-firebird
1239 Summary: PHP Data Objects (PDO) Firebird support
1240 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1242 URL: http://php.net/manual/en/ref.pdo-firebird.php
1243 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1244 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1245 Provides: php(pdo-firebird)
1246 Provides: php(pdo_firebird)
1247 Obsoletes: php-pdo-firebird < 4:5.3.28-7
1248 Obsoletes: php-pecl-PDO_FIREBIRD
1250 %description pdo-firebird
1251 This is a dynamic shared object (DSO) for PHP that will add PDO
1254 %description pdo-firebird -l pl.UTF-8
1255 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1259 Summary: PHP Data Objects (PDO) MySQL support
1260 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1262 URL: http://php.net/manual/en/ref.pdo-mysql.php
1263 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1264 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1265 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1266 Provides: php(pdo-mysql)
1267 Provides: php(pdo_mysql)
1268 Obsoletes: php-pdo-mysql < 4:5.3.28-7
1269 Obsoletes: php-pecl-PDO_MYSQL
1271 %description pdo-mysql
1272 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1275 %description pdo-mysql -l pl.UTF-8
1276 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1280 Summary: PHP Data Objects (PDO) Oracle support
1281 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1283 URL: http://php.net/manual/en/ref.pdo-oci.php
1284 %{?requires_php_extension}
1285 %{?requires_php_pdo_module}
1286 Provides: php(pdo-oci)
1287 Provides: php(pdo_oci)
1288 Obsoletes: php-pdo-oci < 4:5.3.28-7
1289 Obsoletes: php-pecl-PDO_OCI
1291 %description pdo-oci
1292 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1295 %description pdo-oci -l pl.UTF-8
1296 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1300 Summary: PHP Data Objects (PDO) ODBC support
1301 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1303 URL: http://php.net/manual/en/ref.pdo-odbc.php
1304 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1305 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1306 Provides: php(pdo-odbc)
1307 Provides: php(pdo_odbc)
1308 Obsoletes: php-pdo-odbc < 4:5.3.28-7
1309 Obsoletes: php-pecl-PDO_ODBC
1311 %description pdo-odbc
1312 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1315 %description pdo-odbc -l pl.UTF-8
1316 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1320 Summary: PHP Data Objects (PDO) PostgreSQL support
1321 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1323 URL: http://php.net/manual/en/ref.pdo-pgsql.php
1324 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1325 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1326 Provides: php(pdo-pgsql)
1327 Provides: php(pdo_pgsql)
1328 Obsoletes: php-pdo-pgsql < 4:5.3.28-7
1329 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1331 %description pdo-pgsql
1332 This is a dynamic shared object (DSO) for PHP that will add PDO
1335 %description pdo-pgsql -l pl.UTF-8
1336 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1340 Summary: PHP Data Objects (PDO) SQLite support
1341 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1343 URL: http://php.net/manual/en/ref.pdo-sqlite.php
1344 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1345 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1346 Provides: php(pdo-sqlite)
1347 Provides: php(pdo_sqlite)
1348 Obsoletes: php-pdo-sqlite < 4:5.3.28-7
1349 Obsoletes: php-pecl-PDO_SQLITE
1351 %description pdo-sqlite
1352 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1355 %description pdo-sqlite -l pl.UTF-8
1356 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1360 Summary: PostgreSQL database module for PHP
1361 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1363 URL: http://php.net/manual/en/book.pgsql.php
1364 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1365 Provides: php(pgsql)
1366 Obsoletes: php-pgsql < 4:5.3.28-7
1369 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1372 %description pgsql -l pl.UTF-8
1373 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1375 %description pgsql -l pt_BR.UTF-8
1376 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1379 Summary: Phar archive module for PHP
1380 Summary(pl.UTF-8): Moduł phar dla PHP
1382 URL: http://php.net/manual/en/book.phar.php
1383 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1384 Requires: %{name}-hash = %{epoch}:%{version}-%{release}
1385 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1386 Requires: alternatives
1387 Suggests: %{name}-cli
1388 # zlib is required by phar program, but as phar cli is optional should the dep be too
1389 Suggests: %{name}-zlib
1390 Provides: php(phar) = %{pharver}
1391 Obsoletes: php-pecl-phar < %{pharver}
1392 Obsoletes: php-phar < 4:5.3.28-7
1393 Conflicts: php-ioncube < 4.0.9
1396 This is a dynamic shared object (DSO) for PHP that will add phar
1399 %description phar -l pl.UTF-8
1400 Moduł PHP umożliwiający dostęp do achiwów .phar.
1403 Summary: POSIX extension module for PHP
1404 Summary(pl.UTF-8): Moduł POSIX dla PHP
1406 URL: http://php.net/manual/en/book.posix.php
1407 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1408 Provides: php(posix)
1409 Obsoletes: php-posix < 4:5.3.28-7
1412 This is a dynamic shared object (DSO) for PHP that will add POSIX
1413 functions support to PHP.
1415 %description posix -l pl.UTF-8
1416 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1419 Summary: pspell extension module for PHP
1420 Summary(pl.UTF-8): Moduł pspell dla PHP
1422 URL: http://php.net/manual/en/book.pspell.php
1423 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1424 Provides: php(pspell)
1425 Obsoletes: php-pspell < 4:5.3.28-7
1428 This is a dynamic shared object (DSO) for PHP that will add pspell
1429 support to PHP. It allows to check the spelling of a word and offer
1432 %description pspell -l pl.UTF-8
1433 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1434 sprawdzanie pisowni słowa i sugerowanie poprawek.
1437 Summary: readline extension module for PHP
1438 Summary(pl.UTF-8): Moduł readline dla PHP
1440 URL: http://php.net/manual/en/book.readline.php
1441 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1442 Provides: php(readline)
1443 Obsoletes: php-readline < 4:5.3.28-7
1445 %description readline
1446 This PHP module adds support for readline functions (only for cli and
1449 %description readline -l pl.UTF-8
1450 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1453 Summary: session extension module for PHP
1454 Summary(pl.UTF-8): Moduł session dla PHP
1456 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1457 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1458 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1460 Provides: php(session)
1461 Obsoletes: php-session < 4:5.3.28-7
1463 %description session
1464 This is a dynamic shared object (DSO) for PHP that will add session
1467 %description session -l pl.UTF-8
1468 Moduł PHP dodający obsługę sesji.
1471 Summary: Shared Memory Operations extension module for PHP
1472 Summary(pl.UTF-8): Moduł shmop dla PHP
1474 URL: http://php.net/manual/en/book.shmop.php
1475 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1476 Provides: php(shmop)
1477 Obsoletes: php-shmop < 4:5.3.28-7
1480 This is a dynamic shared object (DSO) for PHP that will add Shared
1481 Memory Operations support.
1483 %description shmop -l pl.UTF-8
1484 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1487 Summary: Simple XML extension module for PHP
1488 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1490 URL: http://php.net/manual/en/book.simplexml.php
1491 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1492 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1493 Provides: php(simplexml)
1494 Obsoletes: php-simplexml < 4:5.3.28-7
1496 %description simplexml
1497 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1500 %description simplexml -l pl.UTF-8
1501 Moduł PHP dodający obsługę prostego XML-a.
1504 Summary: SNMP extension module for PHP
1505 Summary(pl.UTF-8): Moduł SNMP dla PHP
1507 URL: http://php.net/manual/en/book.snmp.php
1508 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1509 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1510 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1512 Obsoletes: php-snmp < 4:5.3.28-7
1515 This is a dynamic shared object (DSO) for PHP that will add SNMP
1518 %description snmp -l pl.UTF-8
1519 Moduł PHP dodający obsługę SNMP.
1522 Summary: soap extension module for PHP
1523 Summary(pl.UTF-8): Moduł soap dla PHP
1525 URL: http://php.net/manual/en/book.soap.php
1526 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1528 Obsoletes: php-soap < 4:5.3.28-7
1531 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1534 %description soap -l pl.UTF-8
1535 Moduł PHP dodający obsługę SOAP/WSDL.
1538 Summary: sockets extension module for PHP
1539 Summary(pl.UTF-8): Moduł socket dla PHP
1541 URL: http://php.net/manual/en/book.sockets.php
1542 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1543 Provides: php(sockets)
1544 Obsoletes: php-sockets < 4:5.3.28-7
1546 %description sockets
1547 This is a dynamic shared object (DSO) for PHP that will add sockets
1550 %description sockets -l pl.UTF-8
1551 Moduł PHP dodający obsługę gniazdek.
1554 Summary: Wrapper for the Sodium cryptographic library
1555 Summary(pl.UTF-8): Interfejs do biblioteki kryptograficznej Sodium
1557 URL: https://paragonie.com/book/pecl-libsodium
1558 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1559 Provides: php(sodium) = %{sodiumver}
1562 A simple, low-level PHP extension for libsodium.
1564 %description sodium -l pl.UTF-8
1565 Proste, niskopoziomowe rozszerzenie PHP wykorzystując libsodium.
1568 Summary: SQLite3 extension module for PHP
1569 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1571 URL: http://php.net/manual/en/book.sqlite3.php
1572 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1573 Provides: php(sqlite3) = %{sqlite3ver}
1574 Obsoletes: php-sqlite3 < 4:5.3.28-7
1576 %description sqlite3
1577 SQLite is a C library that implements an embeddable SQL database
1578 engine. Programs that link with the SQLite library can have SQL
1579 database access without running a separate RDBMS process.
1581 SQLite is not a client library used to connect to a big database
1582 server. SQLite is the server. The SQLite library reads and writes
1583 directly to and from the database files on disk.
1585 %description sqlite3 -l pl.UTF-8
1586 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1587 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1588 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1591 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1592 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1593 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1597 Summary: SysV msg extension module for PHP
1598 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1600 URL: http://php.net/manual/en/book.sem.php
1601 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1602 Provides: php(sysvmsg)
1603 Obsoletes: php-sysvmsg < 4:5.3.28-7
1605 %description sysvmsg
1606 This is a dynamic shared object (DSO) for PHP that will add SysV
1607 message queues support.
1609 %description sysvmsg -l pl.UTF-8
1610 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1613 Summary: SysV sem extension module for PHP
1614 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1616 URL: http://php.net/manual/en/book.sem.php
1617 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1618 Provides: php(sysvsem)
1619 Obsoletes: php-sysvsem < 4:5.3.28-7
1621 %description sysvsem
1622 This is a dynamic shared object (DSO) for PHP that will add SysV
1625 %description sysvsem -l pl.UTF-8
1626 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1629 Summary: SysV shm extension module for PHP
1630 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1632 URL: http://php.net/manual/en/book.sem.php
1633 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1634 Provides: php(sysvshm)
1635 Obsoletes: php-sysvshm < 4:5.3.28-7
1637 %description sysvshm
1638 This is a dynamic shared object (DSO) for PHP that will add SysV
1639 Shared Memory support.
1641 %description sysvshm -l pl.UTF-8
1642 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1645 Summary: Contains unit test files for PHP and extensions
1646 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1648 URL: http://qa.php.net/
1649 Requires: %{name}-cli
1652 This package contains unit tests for PHP and its extensions.
1654 %description tests -l pl.UTF-8
1655 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1658 Summary: Tidy extension module for PHP
1659 Summary(pl.UTF-8): Moduł Tidy dla PHP
1661 URL: http://php.net/manual/en/book.tidy.php
1662 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1665 Obsoletes: php-tidy < 4:5.3.28-7
1668 This is a dynamic shared object (DSO) for PHP that will add Tidy
1671 %description tidy -l pl.UTF-8
1672 Moduł PHP umożliwiający korzystanie z tidy.
1675 Summary: tokenizer extension module for PHP
1676 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1678 URL: http://php.net/manual/en/book.tokenizer.php
1679 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1680 Provides: php(tokenizer)
1681 Obsoletes: php-tokenizer < 4:5.3.28-7
1683 %description tokenizer
1684 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1687 %description tokenizer -l pl.UTF-8
1688 Moduł PHP dodający obsługę tokenizera do PHP.
1691 Summary: XML extension module for PHP
1692 Summary(pl.UTF-8): Moduł XML dla PHP
1694 URL: http://php.net/manual/en/book.xml.php
1695 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1697 Obsoletes: php-xml < 4:5.3.28-7
1700 This is a dynamic shared object (DSO) for PHP that will add XML
1701 support. This extension lets you create XML parsers and then define
1702 handlers for different XML events.
1704 %description xml -l pl.UTF-8
1705 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1706 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1707 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1710 Summary: XML Reader extension module for PHP
1711 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1713 URL: http://php.net/manual/en/book.xmlreader.php
1714 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1715 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1716 Provides: php(xmlreader)
1717 Obsoletes: php-xmlreader < 4:5.3.28-7
1719 %description xmlreader
1720 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1721 support. The XMLReader extension is an XML Pull parser. The reader
1722 acts as a cursor going forward on the document stream and stopping at
1723 each node on the way.
1725 %description xmlreader -l pl.UTF-8
1726 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1727 działa jako kursor przechodzący przez strumień dokumentu i
1728 zatrzymujący się na każdym węźle po drodze.
1731 Summary: xmlrpc extension module for PHP
1732 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1734 URL: http://php.net/manual/en/book.xmlrpc.php
1735 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1736 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1737 Provides: php(xmlrpc)
1738 Obsoletes: php-xmlrpc < 4:5.3.28-7
1741 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1744 %description xmlrpc -l pl.UTF-8
1745 Moduł PHP dodający obsługę XMLRPC.
1748 Summary: Fast, non-cached, forward-only means to write XML data
1749 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1751 URL: http://php.net/manual/en/book.xmlwriter.php
1752 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1753 Provides: php(xmlwriter)
1754 Obsoletes: php-pecl-xmlwriter
1755 Obsoletes: php-xmlwriter < 4:5.3.28-7
1757 %description xmlwriter
1758 This extension wraps the libxml xmlWriter API. Represents a writer
1759 that provides a non-cached, forward-only means of generating streams
1760 or files containing XML data.
1762 %description xmlwriter -l pl.UTF-8
1763 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1764 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1765 plików zawierających dane XML.
1768 Summary: xsl extension module for PHP
1769 Summary(pl.UTF-8): Moduł xsl dla PHP
1771 URL: http://php.net/manual/en/book.xsl.php
1772 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1773 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1774 Requires: libxslt >= 1.1.0
1776 Obsoletes: php-xsl < 4:5.3.28-7
1777 # actually not true, functionality is similar, but API differs
1778 Obsoletes: php-xslt <= 3:4.3.8-1
1781 This is a dynamic shared object (DSO) for PHP that will add new XSL
1782 support (using libxslt).
1784 %description xsl -l pl.UTF-8
1785 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1788 Summary: Zip management extension
1789 Summary(pl.UTF-8): Zarządzanie archiwami zip
1791 URL: http://php.net/manual/en/book.zip.php
1792 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1793 Requires: libzip >= 1.3.1
1794 Provides: php(zip) = %{zipver}
1795 Obsoletes: php-pecl-zip < %{zipver}
1796 Obsoletes: php-zip < 4:5.3.28-7
1799 Zip is an extension to create, modify and read zip files.
1801 %description zip -l pl.UTF-8
1802 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1803 odczyt archiwów zip.
1806 Summary: Zlib extension module for PHP
1807 Summary(pl.UTF-8): Moduł zlib dla PHP
1809 URL: http://php.net/manual/en/book.zlib.php
1810 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1812 Obsoletes: php-zlib < 4:5.3.28-7
1815 This is a dynamic shared object (DSO) for PHP that will add zlib
1816 compression support to PHP.
1818 %description zlib -l pl.UTF-8
1819 Moduł PHP umożliwiający używanie kompresji zlib.
1822 %setup -q -n %{orgname}-%{version}
1823 cp -p php.ini-production php.ini
1849 %patch59 -p1 -b .systzdata
1850 %if %{with instantclient}
1851 %patch60 -p1 -b .instantclient
1855 #%patch68 -p1 DROP or update to 7.0 APIs
1859 sed -E -i -e '1s,#!\s*/usr/bin/env\s+(.*),#!%{_bindir}/\1%{php_suffix},' \
1863 %{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
1865 # cleanup backups after patching
1866 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
1868 # com_dotnet is Win32-only
1869 %{__rm} -r ext/com_dotnet
1871 # remove all bundled libraries not to link with them accidentally
1872 #%{__rm} -r ext/bcmath/libbcmath
1873 #%{__rm} -r ext/date/lib
1874 #%{__rm} -r ext/fileinfo/libmagic
1875 #%{__rm} -r ext/dba/libcdb
1876 #%{__rm} -r ext/dba/libflatfile
1877 #%{__rm} -r ext/dba/libinifile
1878 #%{__rm} -r ext/gd/libgd
1879 #%{__rm} -r ext/mbstring/libmbfl
1880 #%{__rm} -r ext/pcre/pcre2lib
1881 #%{__rm} -r ext/soap/interop
1882 %{__rm} -r ext/xmlrpc/libxmlrpc
1883 #%{__rm} -r ext/zip/lib
1884 %{__rm} ext/date/lib/timezonedb.h
1886 cp -pf Zend/LICENSE{,.Zend}
1887 install -p %{SOURCE13} dep-tests.sh
1890 sed -i -e 's#-fvisibility=hidden##g' configure*
1892 # disable broken tests
1893 # says just "Terminated" twice and fails
1894 %{__mv} sapi/cli/tests/022.phpt{,.broken}
1896 # really dumb test, executable binary name is .libs/ something when building
1897 # https://bugs.php.net/bug.php?id=54514
1898 %{__mv} tests/basic/bug54514.phpt{,.disable}
1900 # breaks whole testsuite unexpectedly:
1901 # Fatal error: Call to undefined function gzencode() in run-tests.php on line 1714
1902 # probably broken as zlib is built as shared
1903 %{__mv} ext/soap/tests/server019.phpt{,disable}
1904 # Fatal error: Call to undefined function gzcompress() in run-tests.php on line 1728
1905 %{__mv} ext/soap/tests/server020.phpt{,disable}
1907 # runs out of memory and kills carme vserver
1908 # PASS Bug #39438 (Fatal error: Out of memory) [Zend/tests/bug39438.phpt]
1909 %{__mv} Zend/tests/bug39438.phpt{,.disable}
1911 # php-5.3.3/ext/standard/tests/file/statpage.phpt
1912 %{__rm} ext/standard/tests/file/statpage.phpt
1914 # idiotic test, it will fail if somebody else makes space on disk or if disk
1915 # space is not yet allocated (xfs). report upstream to advice bogus test is
1916 # probably pointless.
1917 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
1920 # all pdo_sqlite, sqlite3 tests die with Aborted on carme
1921 %{__rm} -r ext/pdo_sqlite/tests
1922 %{__rm} -r ext/sqlite3/tests
1925 # ----- Manage known as failed test -------
1926 # affected by systzdata patch
1927 %{__rm} ext/date/tests/timezone_location_get.phpt
1928 %{__rm} ext/date/tests/timezone_version_get.phpt
1929 %{__rm} ext/date/tests/timezone_version_get_basic1.phpt
1930 # Should be skipped but fails sometime
1931 %{__rm} ext/standard/tests/file/file_get_contents_error001.phpt
1933 %{__rm} ext/sockets/tests/mcast_ipv?_recv.phpt
1934 # causes stack exhausion
1935 %{__rm} Zend/tests/bug54268.phpt
1936 %{__rm} Zend/tests/bug68412.phpt
1938 # avoid issues when two builds run simultaneously
1940 sed -e 's/64321/64322/' -i ext/openssl/tests/*.phpt
1944 # no point testing stuff that is knowingly broken
1945 find -name '*.phpt' | xargs grep '^--XFAIL--' -l | xargs rm -v
1957 sh -xe %{_sourcedir}/skip-tests.sh
1961 local define="$1" filename="$2"
1962 awk -vdefine="$define" '/#define/ && $2 == define {print $3}' "$filename" | xargs
1965 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
1966 if [ $API != %{php_api_version} ]; then
1967 echo "Set %%define php_api_version to $API and re-run."
1971 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
1972 if [ $API != %{zend_module_api} ]; then
1973 echo "Set %%define zend_module_api to $API and re-run."
1977 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
1978 if [ $API != %{zend_extension_api} ]; then
1979 echo "Set %%define zend_extension_api to $API and re-run."
1983 API=$(awk '/#define PDO_DRIVER_API/{print $3}' ext/pdo/php_pdo_driver.h)
1984 if [ $API != %{php_pdo_api_version} ]; then
1985 echo "Set %%define php_pdo_api_version to $API and re-run."
1989 # Check for some extension version
1990 ver=$(awk '/#define PHP_FILEINFO_VERSION/ {print $3}' ext/fileinfo/php_fileinfo.h | xargs)
1991 if test "$ver" != "PHP_VERSION"; then
1992 : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
1993 : Update the fileinfover macro and rebuild.
1996 ver=$(get_version PHP_PHAR_VERSION ext/phar/php_phar.h)
1997 if test "$ver" != "PHP_VERSION"; then
1998 : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
1999 : Update the pharver macro and rebuild.
2002 ver=$(awk '/#define PHP_SQLITE3_VERSION/ {print $3}' ext/sqlite3/php_sqlite3.h | xargs)
2003 if test "$ver" != "PHP_VERSION"; then
2004 : Error: Upstream Sqlite3 version is now ${ver}, expecting %{sqlite3ver}.
2005 : Update the sqlite3ver macro and rebuild.
2008 ver=$(awk '/#define PHP_SODIUM_VERSION/ {print $3}' ext/sodium/php_libsodium.h | xargs)
2009 if test "$ver" != "PHP_VERSION"; then
2012 ver=$(sed -n '/#define PHP_ZIP_VERSION /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
2013 if test "$ver" != "%{zipver}"; then
2014 : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
2015 : Update the zipver macro and rebuild.
2018 ver=$(get_version PHP_JSON_VERSION ext/json/php_json.h)
2019 if test "$ver" != "PHP_VERSION"; then
2020 : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
2021 : Update the jsonver macro and rebuild.
2024 ver=$(get_version PHPDBG_VERSION sapi/phpdbg/phpdbg.h)
2025 if test "$ver" != "PHP_VERSION"; then
2026 : Error: Upstream phpdbg version is now ${ver}, expecting %{phpdbgver}.
2027 : Update the phpdbgver macro and rebuild.
2030 ver=$(get_version PHP_BZ2_VERSION ext/bz2/php_bz2.h)
2031 if test "$ver" != "PHP_VERSION"; then
2032 : Error: Upstream BZIP2 version is now ${ver}, expecting %{bz2ver}.
2033 : Update the bz2ver macro and rebuild.
2036 ver=$(awk '/#define PHP_ENCHANT_VERSION/ {print $3}' ext/enchant/php_enchant.h | xargs)
2037 if test "$ver" != "PHP_VERSION"; then
2040 ver=$(get_version PHP_HASH_VERSION ext/hash/php_hash.h)
2041 if test "$ver" != "PHP_VERSION"; then
2042 : Error: Upstream HASH version is now ${ver}, expecting %{hashver}.
2043 : Update the hashver macro and rebuild.
2046 ver=$(get_version PHP_INTL_VERSION ext/intl/php_intl.h)
2047 if test "$ver" != "PHP_VERSION"; then
2048 : Error: Upstream Intl version is now ${ver}, expecting %{intlver}.
2049 : Update the intlver macro and rebuild.
2053 export EXTENSION_DIR="%{php_extensiondir}"
2055 # Set PEAR_INSTALLDIR to ensure that the hard-coded include_path
2056 # includes the PEAR directory even though pear is packaged separately.
2057 export PEAR_INSTALLDIR=%{php_pear_dir}
2059 # configure once (for faster debugging purposes)
2060 if [ ! -f _built-conf ]; then
2061 # now remove Makefile copies
2062 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs2,litespeed,phpdbg}
2064 # Force use of system libtool:
2065 mv build/libtool.m4 build/libtool.m4.saved
2066 cat %{_aclocaldir}/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 > build/libtool.m4
2070 cp -f /usr/share/automake/config.* .
2074 export PROG_SENDMAIL="/usr/lib/sendmail"
2075 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \
2076 -I%{_includedir}/xmlrpc-epi"
2078 # This should be detected by configure and set there,
2079 # but looks like the build system is hosed on 7.3
2080 export CXXFLAGS="%{rpmcxxflags} -fPIC -DPIC"
2081 export CFLAGS="%{rpmcflags} -fPIC -DPIC"
2084 # icu 59+ C++ API requires C++ >= 11
2085 CXXFLAGS="$CXXFLAGS -std=c++11"
2093 %if %{with litespeed}
2109 for sapi in $sapis; do
2111 # skip if already configured (for faster debugging purposes)
2112 [ -f Makefile.$sapi ] && continue
2117 sapi_args='--enable-cgi'
2120 sapi_args='--enable-cli %{?with_gcov:--enable-gcov}'
2123 sapi_args='--enable-fpm'
2126 sapi_args='--enable-embed'
2129 ver=$(rpm -q --qf '%{V}' apache-devel)
2130 sapi_args="--with-apxs2=%{apxs2} --with-apache-version=$ver"
2133 sapi_args='--enable-litespeed'
2136 sapi_args='--enable-phpdbg %{?debug:--enable-phpdbg-debug}'
2141 EXTRA_LDFLAGS="%{rpmldflags}" \
2142 --program-suffix=%{php_suffix} \
2147 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2148 --cache-file=config.cache \
2150 --datadir=%{php_data_dir} \
2151 --with-libdir=%{_lib} \
2152 --with-config-file-path=%{_sysconfdir} \
2153 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2154 --with-system-tzdata \
2155 %{?with_argon2:--with-password-argon2} \
2156 --%{!?with_debug:dis}%{?with_debug:en}able-debug \
2157 %{?with_zts:--enable-maintainer-zts} \
2158 --enable-inline-optimization \
2159 --enable-option-checking=fatal \
2160 %{__enable_disable bcmath bcmath shared} \
2161 %{__enable_disable calendar calendar shared} \
2162 %{__enable_disable ctype ctype shared} \
2163 %{__enable_disable dba dba shared} \
2164 %{__enable_disable dom dom shared} \
2165 %{?with_systemtap:--enable-dtrace} \
2166 %{__enable_disable exif exif shared} \
2167 %{__enable_disable fileinfo fileinfo shared} \
2168 %{__enable_disable ftp ftp shared} \
2169 %{?with_intl:--enable-intl=shared} \
2171 %{__enable_disable mbstring mbstring shared,all} \
2173 %{__enable_disable pcntl pcntl shared} \
2174 %{__enable_disable pdo pdo shared} \
2175 %{__enable_disable json json shared} \
2176 --enable-xmlwriter=shared \
2178 --with-fpm-user=http \
2179 --with-fpm-group=http \
2181 %if %{with pdo_dblib}
2182 --with-pdo-dblib=shared \
2184 %if %{with pdo_firebird}
2185 --with-pdo-firebird=shared \
2187 %{?with_mhash:--with-mhash=yes} \
2188 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2189 %{__with_without pdo_mysql pdo-mysql shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd}} \
2190 %{?with_pdo_oci:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2191 %{?with_pdo_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2192 %{?with_pdo_pgsql:--with-pdo-pgsql=shared} \
2193 %{?with_pdo_sqlite:--with-pdo-sqlite=shared} \
2194 %{?with_webp:--with-webp} \
2195 %{__enable_disable posix posix shared} \
2197 %{__enable_disable session session shared} \
2198 --enable-shmop=shared \
2199 --enable-simplexml=shared \
2200 --enable-sysvmsg=shared \
2201 --enable-sysvsem=shared \
2202 --enable-sysvshm=shared \
2203 --enable-soap=shared \
2204 --enable-sockets=shared \
2205 %{__with_without sodium sodium shared} \
2206 --enable-tokenizer=shared \
2207 --enable-xml=shared \
2208 --enable-xmlreader=shared \
2209 %{__with_without bzip2 bz2 shared} \
2210 %{__with_without curl curl shared} \
2212 %{__with_without iconv iconv shared} \
2213 %{?with_enchant:--with-enchant=shared} \
2215 %{__with_without gettext gettext shared} \
2216 %{__enable_disable gd gd shared} \
2217 %{?with_system_gd:--with-external-gd} \
2219 %{__with_without gmp gmp shared} \
2220 %{__with_without ffi ffi shared} \
2221 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2223 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2224 %{?with_mm:--with-mm} \
2225 %{?with_mysqlnd:--enable-mysqlnd=shared} \
2226 %{?with_mysqli:--with-mysqli=shared,%{!?with_mysqlnd:/usr/bin/mysql_config}%{?with_mysqlnd:mysqlnd}} \
2227 %{?with_oci:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2228 %{__enable_disable opcache opcache shared} \
2229 %{?with_openssl:--with-openssl=shared} \
2230 %{?with_kerberos5:--with-kerberos} \
2232 --with-external-pcre \
2233 %{__with_without pcre_jit pcre-jit} \
2234 %{__enable_disable filter filter shared} \
2235 %{__with_without pgsql pgsql shared} \
2236 %{__enable_disable phar phar shared} \
2237 %{?with_pspell:--with-pspell=shared} \
2238 %{__with_without readline readline shared} \
2239 %{?with_snmp:--with-snmp=shared} \
2240 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2241 %{__with_without sqlite3 sqlite3 shared} \
2242 %{?with_tidy:--with-tidy=shared} \
2243 %{?with_odbc:--with-unixODBC=shared} \
2244 %{__with_without xmlrpc xmlrpc shared,/usr} \
2245 %{?with_xsl:--with-xsl=shared} \
2246 --with-zlib=shared \
2247 %{?with_zip:--with-zip=shared} \
2250 cp -f Makefile Makefile.$sapi
2251 cp -f main/php_config.h php_config.h.$sapi
2252 cp -f config.log config.log.$sapi
2255 # as we build each SAPI in own make, adjust php-config.in forehead
2256 sapis=$(%{__sed} -rne 's/^PHP_INSTALLED_SAPIS = (.+)/\1/p' Makefile.* | tr ' ' '\n' | sort -u | xargs)
2257 %{__sed} -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," scripts/php-config.in
2259 # must make libphp_common first, so modules can link against it.
2260 cp -af php_config.h.cli main/php_config.h
2261 cp -af Makefile.cli Makefile
2262 %{__make} libphp_common.la
2263 # hack: MYSQLND_SHARED_LIBADD not initialized
2264 %{__make} build-modules \
2265 MYSQLND_SHARED_LIBADD="-lssl -lcrypto"
2268 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp7.la -f Makefile.apxs2
2271 %if %{with litespeed}
2272 %{__make} -f Makefile.litespeed litespeed
2276 %{__make} -f Makefile.embed libphp7.la
2280 # PHP_READLINE_LIBS is empty, so force readline here
2281 %{__make} -f Makefile.phpdbg phpdbg \
2282 PHPDBG_EXTRA_LIBS=-lreadline
2287 cp -pf php_config.h.cgi-fcgi main/php_config.h
2288 %{__make} -f Makefile.cgi-fcgi
2289 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
2294 cp -pf php_config.h.fpm main/php_config.h
2295 %{__make} -f Makefile.fpm
2296 [ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
2300 cp -pf php_config.h.cli main/php_config.h
2301 %{__make} -f Makefile.cli
2302 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
2304 # check for stupid xml parse breakage where < and > just get lost in parse result
2305 ./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"]));'
2307 # Generate stub .ini files for each extension
2308 GENERATE_INI=1 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh
2310 # Check that the module inner-dependencies are intact
2311 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2312 if grep -v OK dep-tests.log; then
2313 echo >&2 "The results above were not expected"
2319 cp -pf php_config.h.cli main/php_config.h
2320 cp -pf Makefile.cli Makefile
2322 # you really don't want to package result of gcov build
2326 cat <<'EOF' > run-tests.sh
2328 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2329 export SKIP_ONLINE_TESTS=1
2330 unset TZ LANG LC_ALL || :
2332 EXTENSION_DIR=modules \
2333 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2334 RUN_TESTS_SETTINGS="-q $*"
2336 chmod +x run-tests.sh
2339 # Run tests, using the CLI SAPI
2340 cp -pf php_config.h.cli main/php_config.h
2341 cp -pf Makefile.cli Makefile
2343 ./run-tests.sh -w failed.log -s tests.log || {
2346 # collect failed tests into cleanup script used in prep.
2347 sed -ne '/^FAILED TEST SUMMARY/,/^===/p' tests.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2348 sed -ne '/^via/d;/\[.*\]/{s/\t*\(.*\) \[\(.*\)\]\(.*\)/# \1\3\nmv \2{,.skip}/p}' tests-failed.log \
2349 >> %{_sourcedir}/skip-tests.sh
2351 # if on builders, dump test log
2352 tty -q || cat tests.log
2354 test ! -s failed.log
2360 rm -rf $RPM_BUILD_ROOT
2362 $RPM_BUILD_ROOT%{_libdir}/{php,apache} \
2363 $RPM_BUILD_ROOT%{_sysconfdir}/{conf,cgi-fcgi,cli,apache2handler}.d \
2364 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2365 $RPM_BUILD_ROOT/etc/httpd/conf.d \
2366 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2368 cp -pf php_config.h.cli main/php_config.h
2369 cp -pf Makefile.cli Makefile
2371 phpbuilddir=%{_libdir}/php/php%{php_suffix}/build \
2372 INSTALL_ROOT=$RPM_BUILD_ROOT
2375 touch $RPM_BUILD_ROOT%{_bindir}/phar
2376 touch $RPM_BUILD_ROOT%{_mandir}/man1/phar.1
2379 v=$(echo %{version} | cut -d. -f1-2)
2381 # install Apache2 DSO module
2384 libtool --mode=install install -p sapi/apache2handler/libphp7.la $RPM_BUILD_ROOT%{_libdir}/apache
2385 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp7.la $RPM_BUILD_ROOT%{_libdir}/apache/libphp%{php_suffix}.la
2386 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp7.so $RPM_BUILD_ROOT%{_libdir}/apache/libphp%{php_suffix}.so
2387 sed -i -e "s|libphp7|libphp%{php_suffix}|g" $RPM_BUILD_ROOT%{_libdir}/apache/libphp%{php_suffix}.la
2388 ln -s libphp%{php_suffix}.so $RPM_BUILD_ROOT%{_libdir}/apache/mod_php.so
2391 # install litespeed sapi
2392 %if %{with litespeed}
2393 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
2397 %{__make} -f Makefile.phpdbg install-phpdbg \
2398 INSTALL="libtool --mode=install install -p" \
2399 INSTALL_ROOT=$RPM_BUILD_ROOT
2403 touch $RPM_BUILD_ROOT%{_bindir}/phpize
2404 touch $RPM_BUILD_ROOT%{_mandir}/man1/phpize.1
2405 touch $RPM_BUILD_ROOT%{_bindir}/php-config
2406 touch $RPM_BUILD_ROOT%{_mandir}/man1/php-config.1
2408 # versioned libphp_common
2409 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2410 %{__mv} $RPM_BUILD_ROOT%{_libdir}/libphp_common.la $RPM_BUILD_ROOT%{_libdir}/libphp_common%{php_suffix}.la
2411 %{__mv} $RPM_BUILD_ROOT%{_libdir}/libphp_common-%{version}.so $RPM_BUILD_ROOT%{_libdir}/libphp_common%{php_suffix}-%{version}.so
2412 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/libphp_common.so
2413 ln -s libphp_common%{php_suffix}-%{version}.so $RPM_BUILD_ROOT%{_libdir}/libphp_common%{php_suffix}.so
2414 sed -i -e "s|libphp_common|libphp_common%{php_suffix}|g" $RPM_BUILD_ROOT%{_libdir}/libphp_common%{php_suffix}.la
2419 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2420 ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
2421 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/cgi-fcgi.d/php.ini
2426 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/php-fpm.d,%{_sbindir}}
2427 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2428 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
2429 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2430 cp -p sapi/fpm/www.conf $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d
2431 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2432 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2433 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2434 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2436 # touch for ghost for alternatives
2437 touch $RPM_BUILD_ROOT%{_sbindir}/php-fpm
2440 s#/usr/lib/php#%{php_extensiondir}#
2441 s#/etc/php/#%{_sysconfdir}/#
2442 s#@processname@#%{name}-fpm#g
2443 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf,%{_sysconfdir}/php-fpm.d/www.conf}
2446 # install Embedded API
2448 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2449 # install-sapi installs to wrong dir, so just do it all manually
2450 install -d $RPM_BUILD_ROOT%{_includedir}/php/php%{php_suffix}/sapi/embed
2451 install -p libs/libphp7.so $RPM_BUILD_ROOT%{_libdir}/libphp%{php_suffix}.so
2452 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/php%{php_suffix}/sapi/embed
2456 libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php%{php_suffix}
2458 touch $RPM_BUILD_ROOT%{_bindir}/php
2459 touch $RPM_BUILD_ROOT%{_mandir}/man1/php.1
2461 cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2462 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/cli.d/php.ini
2465 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2466 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/apache2handler.d/php.ini
2467 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp%{php_suffix}.la
2470 # ensure that paths are correct for current php version and arch
2471 grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
2473 s#/usr/lib/php#%{php_extensiondir}#
2474 s#/etc/php#%{_sysconfdir}#
2477 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2478 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2480 cp -p %{_sourcedir}/opcache.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2483 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/??_readline.ini,cli.d}
2485 sed -i -e '/^phpdir/ s,/php/build,/%{name}/build,' $RPM_BUILD_ROOT%{_bindir}/phpize%{php_suffix}
2487 # for php-pecl-mailparse
2488 install -d $RPM_BUILD_ROOT%{_includedir}/php/php%{php_suffix}/ext/mbstring
2489 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/php%{php_suffix}/ext/mbstring
2492 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2493 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2494 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2496 # fix install paths, avoid evil rpaths
2497 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common%{php_suffix}.la
2499 install -p ext/ext_skel.php $RPM_BUILD_ROOT%{_bindir}/ext_skel%{php_suffix}
2502 rm -rf $RPM_BUILD_ROOT
2504 %post -n apache-mod_%{name}
2505 if [ "$1" = "1" ]; then
2506 %service -q httpd restart
2509 %postun -n apache-mod_%{name}
2510 if [ "$1" = "0" ]; then
2511 %service -q httpd restart
2515 update-alternatives \
2516 --install %{_bindir}/php php %{_bindir}/php%{php_suffix} %{php_suffix} \
2517 --slave %{_mandir}/man1/php.1.gz php.1.gz %{_mandir}/man1/php%{php_suffix}.1.gz || :
2520 if [ $1 -eq 0 ]; then
2521 update-alternatives --remove php %{_bindir}/php%{php_suffix} || :
2524 %post common -p /sbin/ldconfig
2525 %postun common -p /sbin/ldconfig
2528 update-alternatives \
2529 --install %{_bindir}/phpize phpize %{_bindir}/phpize%{php_suffix} %{php_suffix} \
2530 --slave %{_mandir}/man1/phpize.1.gz phpize.1.gz %{_mandir}/man1/phpize%{php_suffix}.1.gz || :
2531 update-alternatives \
2532 --install %{_bindir}/php-config php-config %{_bindir}/php-config%{php_suffix} %{php_suffix} \
2533 --slave %{_mandir}/man1/php-config.1.gz php-config.1.gz %{_mandir}/man1/php-config%{php_suffix}.1.gz || :
2534 update-alternatives \
2535 --install %{_bindir}/ext_skel ext_skel %{_bindir}/ext_skel%{php_suffix} %{php_suffix} || :
2538 if [ $1 -eq 0 ]; then
2539 update-alternatives --remove phpize %{_bindir}/phpize%{php_suffix} || :
2540 update-alternatives --remove php-config %{_bindir}/php-config%{php_suffix} || :
2544 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2547 /sbin/chkconfig --add %{name}-fpm
2548 %service %{name}-fpm restart
2549 update-alternatives \
2550 --install %{_sbindir}/php-fpm php-fpm %{_sbindir}/php%{php_suffix}-fpm %{php_suffix} \
2551 --slave %{_mandir}/man8/php-fpm.8.gz php-fpm.8.gz %{_mandir}/man8/php-fpm%{php_suffix}.8.gz || :
2554 if [ "$1" = "0" ]; then
2555 %service %{name}-fpm stop
2556 /sbin/chkconfig --del %{name}-fpm
2557 update-alternatives --remove php-fpm %{_sbindir}/php%{php_suffix}-fpm || :
2561 if [ "$1" = "0" ]; then
2565 %post embedded -p /sbin/ldconfig
2566 %postun embedded -p /sbin/ldconfig
2569 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2570 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2572 . /etc/sysconfig/timezone
2573 if [ "$TIMEZONE" ]; then
2574 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2578 # minimizing apache restarts logics. we restart webserver:
2580 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2581 # 2. first install of extension (post: $1 = 1)
2582 # 2. uninstall of extension (postun: $1 == 0)
2584 # the strict internal deps between extensions (and apache modules) and
2585 # common package are very important for all this to work.
2587 # restart webserver at the end of transaction
2588 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2590 %triggerpostun common -- %{name}-common < 4:5.6.4-2, php-common < 4:5.6.4-2
2591 # switch to browscap package if the ini file has original value
2592 %{__sed} -i -e 's#%{_sysconfdir}/browscap.ini#/usr/share/browscap/php_browscap.ini#' %{_sysconfdir}/php.ini
2593 # disable browscap, if optional package not present
2594 if [ ! -e /usr/share/browscap/php_browscap.ini ]; then
2595 %{__sed} -i -e 's#^browscap = /usr/share/browscap/php_browscap.ini#;&#' %{_sysconfdir}/php.ini
2598 # migrate configs /etc/php/conf.d -> /etc/phpXY/conf.d/
2599 # do config migration in php-common trigger, as the trigger is ran after all packages are upgraded
2600 # this way we can stick to one trigger, instead of attaching one for each (sub)package!
2601 for f in /etc/php/*.ini.rpmsave /etc/php/*.d/*.ini.rpmsave; do
2602 test -f "$f" || continue
2606 test "$dn" = "$fn" && dn=
2608 nf=%{_sysconfdir}/$dn/$fn
2609 test -f "$nf" || continue
2610 cp -vfb $nf{,.rpmnew}
2613 s#%{_libdir}/php#%{_libdir}/%{name}#
2614 s#/etc/php#%{_sysconfdir}#
2618 %triggerpostun -n apache-mod_%{name} -- apache-mod_%{name} < 4:7.0.0-2.RC4
2619 sed -i -e 's#modules/libphp[57].so#modules/mod_php.so#g' /etc/httpd/conf.d/*_mod_php.conf
2621 # common macros called at extension post/postun scriptlet
2623 if [ "$1" = "1" ]; then \
2624 %php_webserver_restart \
2628 %define ext_postun \
2629 if [ "$1" = "0" ]; then \
2630 %php_webserver_restart \
2634 %define extension_scripts() \
2642 # extension scripts defines
2643 %extension_scripts bcmath
2644 %extension_scripts bz2
2645 %extension_scripts calendar
2646 %extension_scripts ctype
2647 %extension_scripts curl
2648 %extension_scripts dba
2649 %extension_scripts dom
2650 %extension_scripts enchant
2651 %extension_scripts exif
2652 %extension_scripts ffi
2653 %extension_scripts fileinfo
2654 %extension_scripts filter
2655 %extension_scripts ftp
2656 %extension_scripts gd
2657 %extension_scripts gettext
2658 %extension_scripts gmp
2659 %extension_scripts iconv
2660 %extension_scripts imap
2661 %extension_scripts intl
2662 %extension_scripts json
2663 %extension_scripts ldap
2664 %extension_scripts mbstring
2665 %extension_scripts mysqli
2666 %extension_scripts mysqlnd
2667 %extension_scripts oci8
2668 %extension_scripts odbc
2669 %extension_scripts opcache
2670 %extension_scripts openssl
2671 %extension_scripts pcntl
2672 %extension_scripts pdo
2673 %extension_scripts pdo-dblib
2674 %extension_scripts pdo-firebird
2675 %extension_scripts pdo-mysql
2676 %extension_scripts pdo-oci
2677 %extension_scripts pdo-odbc
2678 %extension_scripts pdo-pgsql
2679 %extension_scripts pdo-sqlite
2680 %extension_scripts pgsql
2681 %extension_scripts posix
2682 %extension_scripts pspell
2683 %extension_scripts session
2684 %extension_scripts shmop
2685 %extension_scripts simplexml
2686 %extension_scripts snmp
2687 %extension_scripts soap
2688 %extension_scripts sockets
2689 %extension_scripts sodium
2690 %extension_scripts sqlite3
2691 %extension_scripts sysvmsg
2692 %extension_scripts sysvsem
2693 %extension_scripts sysvshm
2694 %extension_scripts tidy
2695 %extension_scripts tokenizer
2696 %extension_scripts xml
2697 %extension_scripts xmlreader
2698 %extension_scripts xmlrpc
2699 %extension_scripts xmlwriter
2700 %extension_scripts xsl
2701 %extension_scripts zip
2702 %extension_scripts zlib
2706 update-alternatives \
2707 --install %{_bindir}/phar phar %{_bindir}/phar%{php_suffix}.phar %{php_suffix} \
2708 --slave %{_mandir}/man1/phar.1.gz phar.1.gz %{_mandir}/man1/phar%{php_suffix}.1.gz || :
2712 if [ $1 -eq 0 ]; then
2713 update-alternatives --remove phar %{_bindir}/phar%{php_suffix}.phar || :
2717 %files -n apache-mod_%{name}
2718 %defattr(644,root,root,755)
2719 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2720 %attr(755,root,root) %{_libdir}/apache/mod_php.so
2722 %files -n apache-mod_%{name}-core
2723 %defattr(644,root,root,755)
2724 %dir %{_sysconfdir}/apache2handler.d
2725 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache2handler.d/php.ini
2726 %attr(755,root,root) %{_libdir}/apache/libphp%{php_suffix}.so
2729 %if %{with litespeed}
2731 %defattr(644,root,root,755)
2732 %attr(755,root,root) %{_sbindir}/%{name}.litespeed
2737 %defattr(644,root,root,755)
2738 %dir %{_sysconfdir}/cgi-fcgi.d
2739 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cgi-fcgi.d/php.ini
2740 %attr(755,root,root) %{_bindir}/%{name}.cgi
2741 %attr(755,root,root) %{_bindir}/%{name}.fcgi
2746 %defattr(644,root,root,755)
2747 %attr(755,root,root) %{_libdir}/libphp%{php_suffix}.so
2751 %defattr(644,root,root,755)
2752 %dir %{_sysconfdir}/cli.d
2753 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/php.ini
2754 %attr(755,root,root) %{_bindir}/php%{php_suffix}
2755 %{_mandir}/man1/php%{php_suffix}.1*
2756 %ghost %{_bindir}/php
2757 %ghost %{_mandir}/man1/php.1*
2761 %defattr(644,root,root,755)
2762 %doc sapi/fpm/{CREDITS,LICENSE}
2763 %dir %{_sysconfdir}/php-fpm.d
2764 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
2765 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.d/www.conf
2766 %attr(755,root,root) %{_sbindir}/%{name}-fpm
2767 %ghost %{_sbindir}/php-fpm
2768 %{_mandir}/man8/%{name}-fpm.8*
2769 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
2770 %attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
2775 %defattr(644,root,root,755)
2776 %attr(755,root,root) %{_bindir}/phpdbg%{php_suffix}
2777 %{_mandir}/man1/phpdbg%{php_suffix}.1*
2781 %defattr(644,root,root,755)
2782 %doc EXTENSIONS LICENSE NEWS UPGRADING* Zend/{LICENSE.Zend,README*} php.ini-* .gdbinit
2784 %dir %{_sysconfdir}/conf.d
2785 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2786 %attr(755,root,root) %{_libdir}/libphp_common%{php_suffix}-*.so
2787 %dir %{php_data_dir}
2788 %dir %{php_extensiondir}
2790 %doc ext/session/mod_files.sh
2793 %defattr(644,root,root,755)
2794 %doc CODING_STANDARDS.md docs/*.md
2795 %attr(755,root,root) %{_bindir}/ext_skel%{php_suffix}
2796 %attr(755,root,root) %{_bindir}/phpize%{php_suffix}
2797 %attr(755,root,root) %{_bindir}/php-config%{php_suffix}
2798 %ghost %{_bindir}/phpize
2799 %ghost %{_bindir}/php-config
2800 %attr(755,root,root) %{_libdir}/libphp_common%{php_suffix}.so
2801 %{_libdir}/libphp_common%{php_suffix}.la
2802 %{_includedir}/php/php%{php_suffix}
2803 %{_libdir}/php/php%{php_suffix}/build
2804 %{_mandir}/man1/php-config%{php_suffix}.1*
2805 %ghost %{_mandir}/man1/php-config.1*
2806 %{_mandir}/man1/phpize%{php_suffix}.1*
2807 %ghost %{_mandir}/man1/phpize.1*
2811 %defattr(644,root,root,755)
2812 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_bcmath.ini
2813 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2818 %defattr(644,root,root,755)
2819 %doc ext/bz2/CREDITS
2820 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_bz2.ini
2821 %attr(755,root,root) %{php_extensiondir}/bz2.so
2824 %if %{with calendar}
2826 %defattr(644,root,root,755)
2827 %doc ext/calendar/CREDITS
2828 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_calendar.ini
2829 %attr(755,root,root) %{php_extensiondir}/calendar.so
2834 %defattr(644,root,root,755)
2835 %doc ext/calendar/CREDITS
2836 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_ctype.ini
2837 %attr(755,root,root) %{php_extensiondir}/ctype.so
2842 %defattr(644,root,root,755)
2843 %doc ext/curl/CREDITS
2844 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_curl.ini
2845 %attr(755,root,root) %{php_extensiondir}/curl.so
2850 %defattr(644,root,root,755)
2851 %doc ext/dba/CREDITS
2852 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_dba.ini
2853 %attr(755,root,root) %{php_extensiondir}/dba.so
2858 %defattr(644,root,root,755)
2859 %doc ext/dom/CREDITS
2860 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_dom.ini
2861 %attr(755,root,root) %{php_extensiondir}/dom.so
2866 %defattr(644,root,root,755)
2867 %doc ext/enchant/CREDITS
2868 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_enchant.ini
2869 %attr(755,root,root) %{php_extensiondir}/enchant.so
2874 %defattr(644,root,root,755)
2875 %doc ext/exif/CREDITS
2876 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_exif.ini
2877 %attr(755,root,root) %{php_extensiondir}/exif.so
2882 %defattr(644,root,root,755)
2883 %doc ext/ffi/CREDITS
2884 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_ffi.ini
2885 %attr(755,root,root) %{php_extensiondir}/ffi.so
2888 %if %{with fileinfo}
2890 %defattr(644,root,root,755)
2891 %doc ext/fileinfo/CREDITS
2892 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_fileinfo.ini
2893 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
2898 %defattr(644,root,root,755)
2899 %doc ext/filter/CREDITS
2900 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_filter.ini
2901 %attr(755,root,root) %{php_extensiondir}/filter.so
2906 %defattr(644,root,root,755)
2907 %doc ext/ftp/CREDITS
2908 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_ftp.ini
2909 %attr(755,root,root) %{php_extensiondir}/ftp.so
2914 %defattr(644,root,root,755)
2916 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_gd.ini
2917 %attr(755,root,root) %{php_extensiondir}/gd.so
2922 %defattr(644,root,root,755)
2923 %doc ext/gettext/CREDITS
2924 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_gettext.ini
2925 %attr(755,root,root) %{php_extensiondir}/gettext.so
2930 %defattr(644,root,root,755)
2931 %doc ext/gmp/CREDITS
2932 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_gmp.ini
2933 %attr(755,root,root) %{php_extensiondir}/gmp.so
2938 %defattr(644,root,root,755)
2939 %doc ext/iconv/CREDITS
2940 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_iconv.ini
2941 %attr(755,root,root) %{php_extensiondir}/iconv.so
2946 %defattr(644,root,root,755)
2947 %doc ext/imap/CREDITS
2948 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_imap.ini
2949 %attr(755,root,root) %{php_extensiondir}/imap.so
2954 %defattr(644,root,root,755)
2955 %doc ext/intl/CREDITS
2956 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_intl.ini
2957 %attr(755,root,root) %{php_extensiondir}/intl.so
2962 %defattr(644,root,root,755)
2963 %doc ext/json/CREDITS
2964 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_json.ini
2965 %attr(755,root,root) %{php_extensiondir}/json.so
2970 %defattr(644,root,root,755)
2971 %doc ext/ldap/CREDITS
2972 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_ldap.ini
2973 %attr(755,root,root) %{php_extensiondir}/ldap.so
2976 %if %{with mbstring}
2978 %defattr(644,root,root,755)
2979 %doc ext/mbstring/CREDITS
2980 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_mbstring.ini
2981 %attr(755,root,root) %{php_extensiondir}/mbstring.so
2986 %defattr(644,root,root,755)
2987 %doc ext/mysqli/CREDITS
2988 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_mysqli.ini
2989 %attr(755,root,root) %{php_extensiondir}/mysqli.so
2994 %defattr(644,root,root,755)
2995 %doc ext/mysqlnd/CREDITS
2996 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_mysqlnd.ini
2997 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
3002 %defattr(644,root,root,755)
3003 %doc ext/oci8/{CREDITS,README}
3004 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_oci8.ini
3005 %attr(755,root,root) %{php_extensiondir}/oci8.so
3010 %defattr(644,root,root,755)
3011 %doc ext/odbc/CREDITS
3012 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_odbc.ini
3013 %attr(755,root,root) %{php_extensiondir}/odbc.so
3018 %defattr(644,root,root,755)
3019 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_opcache.ini
3020 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/opcache.ini
3021 %attr(755,root,root) %{php_extensiondir}/opcache.so
3026 %defattr(644,root,root,755)
3027 %doc ext/openssl/CREDITS
3028 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_openssl.ini
3029 %attr(755,root,root) %{php_extensiondir}/openssl.so
3034 %defattr(644,root,root,755)
3035 %doc ext/pcntl/CREDITS
3036 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pcntl.ini
3037 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3042 %defattr(644,root,root,755)
3043 %doc ext/pdo/CREDITS
3044 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pdo.ini
3045 %attr(755,root,root) %{php_extensiondir}/pdo.so
3048 %if %{with pdo_dblib}
3050 %defattr(644,root,root,755)
3051 %doc ext/pdo_dblib/CREDITS
3052 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pdo_dblib.ini
3053 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3056 %if %{with pdo_firebird}
3058 %defattr(644,root,root,755)
3059 %doc ext/pdo_firebird/CREDITS
3060 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pdo_firebird.ini
3061 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3064 %if %{with pdo_mysql}
3066 %defattr(644,root,root,755)
3067 %doc ext/pdo_mysql/CREDITS
3068 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pdo_mysql.ini
3069 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3074 %defattr(644,root,root,755)
3075 %doc ext/pdo_oci/CREDITS
3076 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pdo_oci.ini
3077 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3080 %if %{with pdo_odbc}
3082 %defattr(644,root,root,755)
3083 %doc ext/pdo_odbc/CREDITS
3084 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pdo_odbc.ini
3085 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3088 %if %{with pdo_pgsql}
3090 %defattr(644,root,root,755)
3091 %doc ext/pdo_pgsql/CREDITS
3092 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pdo_pgsql.ini
3093 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3096 %if %{with pdo_sqlite}
3098 %defattr(644,root,root,755)
3099 %doc ext/pdo_sqlite/CREDITS
3100 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pdo_sqlite.ini
3101 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3106 %defattr(644,root,root,755)
3107 %doc ext/pgsql/CREDITS
3108 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pgsql.ini
3109 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3114 %defattr(644,root,root,755)
3115 %doc ext/phar/CREDITS
3116 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_phar.ini
3117 %attr(755,root,root) %{php_extensiondir}/phar.so
3118 %attr(755,root,root) %{_bindir}/phar%{php_suffix}.phar
3119 %{_mandir}/man1/phar%{php_suffix}.1*
3120 %ghost %{_bindir}/phar
3121 %ghost %{_mandir}/man1/phar.1*
3126 %defattr(644,root,root,755)
3127 %doc ext/posix/CREDITS
3128 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_posix.ini
3129 %attr(755,root,root) %{php_extensiondir}/posix.so
3134 %defattr(644,root,root,755)
3135 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pspell.ini
3136 %attr(755,root,root) %{php_extensiondir}/pspell.so
3139 %if %{with readline}
3141 %defattr(644,root,root,755)
3142 %doc ext/readline/CREDITS
3143 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/??_readline.ini
3144 %attr(755,root,root) %{php_extensiondir}/readline.so
3149 %defattr(644,root,root,755)
3150 %doc ext/session/CREDITS
3151 %doc ext/session/mod_files.sh
3152 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_session.ini
3153 %attr(755,root,root) %{php_extensiondir}/session.so
3157 %defattr(644,root,root,755)
3158 %doc ext/shmop/CREDITS
3159 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_shmop.ini
3160 %attr(755,root,root) %{php_extensiondir}/shmop.so
3163 %defattr(644,root,root,755)
3164 %doc ext/simplexml/CREDITS
3165 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_simplexml.ini
3166 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3170 %defattr(644,root,root,755)
3171 %doc ext/snmp/CREDITS
3172 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_snmp.ini
3173 %attr(755,root,root) %{php_extensiondir}/snmp.so
3177 %defattr(644,root,root,755)
3178 %doc ext/soap/CREDITS
3179 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_soap.ini
3180 %attr(755,root,root) %{php_extensiondir}/soap.so
3183 %defattr(644,root,root,755)
3184 %doc ext/sockets/CREDITS
3185 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_sockets.ini
3186 %attr(755,root,root) %{php_extensiondir}/sockets.so
3190 %defattr(644,root,root,755)
3191 %doc ext/sodium/{README.md,CREDITS}
3192 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_sodium.ini
3193 %attr(755,root,root) %{php_extensiondir}/sodium.so
3198 %defattr(644,root,root,755)
3199 %doc ext/sqlite3/CREDITS
3200 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_sqlite3.ini
3201 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3205 %defattr(644,root,root,755)
3206 %doc ext/sysvmsg/CREDITS
3207 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_sysvmsg.ini
3208 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3211 %defattr(644,root,root,755)
3212 %doc ext/sysvsem/CREDITS
3213 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_sysvsem.ini
3214 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3217 %defattr(644,root,root,755)
3218 %doc ext/sysvshm/CREDITS
3219 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_sysvshm.ini
3220 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3223 %defattr(644,root,root,755)
3224 %dir %{php_data_dir}/tests
3225 %dir %{php_data_dir}/tests/php
3226 %{php_data_dir}/tests/php/basic
3227 %{php_data_dir}/tests/php/classes
3228 %{php_data_dir}/tests/php/func
3229 %{php_data_dir}/tests/php/lang
3230 %{php_data_dir}/tests/php/output
3231 %{php_data_dir}/tests/php/run-test
3232 %{php_data_dir}/tests/php/security
3233 %{php_data_dir}/tests/php/strings
3234 %{php_data_dir}/tests/php/quicktester.inc
3235 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3239 %defattr(644,root,root,755)
3240 %doc ext/tidy/CREDITS
3241 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_tidy.ini
3242 %attr(755,root,root) %{php_extensiondir}/tidy.so
3246 %defattr(644,root,root,755)
3247 %doc ext/tokenizer/CREDITS
3248 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_tokenizer.ini
3249 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3252 %defattr(644,root,root,755)
3253 %doc ext/xml/CREDITS
3254 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_xml.ini
3255 %attr(755,root,root) %{php_extensiondir}/xml.so
3258 %defattr(644,root,root,755)
3259 %doc ext/xmlreader/CREDITS
3260 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_xmlreader.ini
3261 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3265 %defattr(644,root,root,755)
3266 %doc ext/xmlrpc/CREDITS
3267 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_xmlrpc.ini
3268 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3272 %defattr(644,root,root,755)
3273 %doc ext/xmlwriter/CREDITS
3274 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_xmlwriter.ini
3275 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3279 %defattr(644,root,root,755)
3280 %doc ext/xsl/CREDITS
3281 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_xsl.ini
3282 %attr(755,root,root) %{php_extensiondir}/xsl.so
3287 %defattr(644,root,root,755)
3288 %doc ext/zip/CREDITS
3289 %doc ext/zip/examples
3290 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_zip.ini
3291 %attr(755,root,root) %{php_extensiondir}/zip.so
3295 %defattr(644,root,root,755)
3296 %doc ext/zlib/CREDITS
3297 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_zlib.ini
3298 %attr(755,root,root) %{php_extensiondir}/zlib.so