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 bz2 # 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: http://php.net/distributions/%{orgname}-%{version}.tar.xz
137 # Source0-md5: ac2cf3dbf4d47199735c9e49ed0d9872
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 Patch31: %{orgname}-fcgi-error_log-no-newlines.patch
167 Patch37: %{orgname}-mysqli-charsetphpini.patch
168 Patch38: %{orgname}-pdo_mysql-charsetphpini.patch
169 Patch39: %{orgname}-use-prog_sendmail.patch
170 Patch41: %{orgname}-fpm-config.patch
171 Patch43: %{orgname}-silent-session-cleanup.patch
172 Patch44: %{orgname}-include_path.patch
173 Patch50: extension-shared-optional-dep.patch
174 Patch53: fix-test-run.patch
175 Patch59: %{orgname}-systzdata.patch
176 Patch66: php-db.patch
177 Patch67: mysql-lib-ver-mismatch.patch
178 Patch69: fpm-conf-split.patch
179 Patch71: libdb-info.patch
181 %{?with_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 %{?with_kerberos5:BuildRequires: heimdal-devel}
193 %{?with_argon2:BuildRequires: libargon2-devel >= 20161029}
194 %{?with_ffi:BuildRequires: libffi-devel}
195 %{?with_sodium:BuildRequires: libsodium-devel >= 1.0.8}
196 %if %{with pdo_dblib}
197 BuildRequires: freetds-devel >= 0.82
199 BuildRequires: freetype-devel >= 1:2.5.1
200 %if %{with system_gd}
201 BuildRequires: gd-devel >= 2.1
203 BuildRequires: gdbm-devel
204 BuildRequires: gmp-devel >= 4.2
205 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
206 %{?with_gcov:BuildRequires: lcov}
207 %{?with_fpm:BuildRequires: libapparmor-devel}
208 %{?with_intl:BuildRequires: libicu-devel >= 50.1}
209 BuildRequires: libjpeg-devel
210 BuildRequires: libltdl-devel >= 1.4
211 BuildRequires: libpng-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_datadir /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: %{modname} - Foreign Function Interface
790 URL: https://www.php.net/manual/en/book.ffi.php
791 Requires: %{name}-common = %{epoch}:%{version}-%{release}
792 Provides: php(ffi) = %{version}
795 FFI is a multi-platform extension for PHP that allows you to bind to
796 functions from arbitrary shared libraries and call them.
799 Summary: libmagic bindings
800 Summary(pl.UTF-8): Wiązania do libmagic
802 URL: http://php.net/manual/en/book.fileinfo.php
803 Requires: %{name}-common = %{epoch}:%{version}-%{release}
804 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
805 Provides: php(fileinfo) = %{fileinfover}
806 Obsoletes: php-fileinfo < 4:5.3.28-7
807 Obsoletes: php-mime_magic
808 Obsoletes: php-pecl-fileinfo < %{fileinfover}
810 %description fileinfo
811 This extension allows retrieval of information regarding vast majority
812 of file. This information may include dimensions, quality, length
815 Additionally it can also be used to retrieve the MIME type for a
816 particular file and for text files proper language encoding.
818 %description fileinfo -l pl.UTF-8
819 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
820 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
822 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
823 pliku oraz kodowania plików tekstowych.
826 Summary: Extension for safely dealing with input parameters
827 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
829 URL: http://php.net/manual/en/book.filter.php
830 Requires: %{name}-common = %{epoch}:%{version}-%{release}
831 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
832 Provides: php(filter)
833 Obsoletes: php-filter < 4:5.3.28-7
834 Obsoletes: php-pecl-filter
837 We all know that you should always check input variables, but PHP does
838 not offer really good functionality for doing this in a safe way. The
839 Input Filter extension is meant to address this issue by implementing
840 a set of filters and mechanisms that users can use to safely access
843 %description filter -l pl.UTF-8
844 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
845 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
846 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
847 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
848 mogą bezpiecznie używać do dostępu do danych.
851 Summary: FTP extension module for PHP
852 Summary(pl.UTF-8): Moduł FTP dla PHP
854 URL: http://php.net/manual/en/book.ftp.php
855 Requires: %{name}-common = %{epoch}:%{version}-%{release}
857 Obsoletes: php-ftp < 4:5.3.28-7
860 This is a dynamic shared object (DSO) for PHP that will add FTP
863 %description ftp -l pl.UTF-8
864 Moduł PHP dodający obsługę protokołu FTP.
867 Summary: GD extension module for PHP
868 Summary(pl.UTF-8): Moduł GD dla PHP
870 URL: http://php.net/manual/en/book.image.php
871 Requires: %{name}-common = %{epoch}:%{version}-%{release}
872 %if %{with system_gd}
877 Obsoletes: php-gd < 4:5.3.28-7
880 This is a dynamic shared object (DSO) for PHP that will add GD
881 support, allowing you to create and manipulate images with PHP.
883 %description gd -l pl.UTF-8
884 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
885 tworzenie i obróbkę obrazków.
888 Summary: gettext extension module for PHP
889 Summary(pl.UTF-8): Moduł gettext dla PHP
891 URL: http://php.net/manual/en/book.gettext.php
892 Requires: %{name}-common = %{epoch}:%{version}-%{release}
893 Provides: php(gettext)
894 Obsoletes: php-gettext < 4:5.3.28-7
897 This is a dynamic shared object (DSO) for PHP that will add gettext
900 %description gettext -l pl.UTF-8
901 Moduł PHP dodający obsługę lokalizacji przez gettext.
904 Summary: gmp extension module for PHP
905 Summary(pl.UTF-8): Moduł gmp dla PHP
907 URL: http://php.net/manual/en/book.gmp.php
908 Requires: %{name}-common = %{epoch}:%{version}-%{release}
911 Obsoletes: php-gmp < 4:5.3.28-7
914 This is a dynamic shared object (DSO) for PHP that will add arbitrary
915 length number support with GNU MP library.
917 %description gmp -l pl.UTF-8
918 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
919 liczbach o dowolnej długości.
922 Summary: iconv extension module for PHP
923 Summary(pl.UTF-8): Moduł iconv dla PHP
925 URL: http://php.net/manual/en/book.iconv.php
926 Requires: %{_libdir}/gconv
927 Requires: %{name}-common = %{epoch}:%{version}-%{release}
930 Obsoletes: php-iconv < 4:5.3.28-7
933 This is a dynamic shared object (DSO) for PHP that will add iconv
936 %description iconv -l pl.UTF-8
937 Moduł PHP dodający obsługę iconv.
940 Summary: IMAP extension module for PHP
941 Summary(pl.UTF-8): Moduł IMAP dla PHP
942 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
944 URL: http://php.net/manual/en/book.imap.php
945 Requires: %{name}-common = %{epoch}:%{version}-%{release}
946 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
947 Requires: imap-lib >= 1:2007e-2
949 Obsoletes: php-imap < 4:5.3.28-7
952 This is a dynamic shared object (DSO) for PHP that will add IMAP
955 %description imap -l pl.UTF-8
956 Moduł PHP dodający obsługę skrzynek IMAP.
958 %description imap -l pt_BR.UTF-8
959 Um módulo para aplicações PHP que usam IMAP.
962 Summary: Internationalization extension (ICU wrapper)
963 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
965 URL: http://php.net/intl
966 Requires: %{name}-common = %{epoch}:%{version}-%{release}
967 Provides: php(intl) = %{intlver}
968 Obsoletes: php-intl < 4:5.3.28-7
969 Obsoletes: php-pecl-intl < %{intlver}
972 Internationalization extension (further is referred as Intl) is a
973 wrapper for ICU library, enabling PHP programmers to perform
974 UCA-conformant collation and date/time/number/currency formatting in
977 %description intl -l pl.UTF-8
978 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
979 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
980 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
984 Summary: PHP C extension for JSON serialization
985 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
987 URL: http://php.net/manual/en/book.json.php
988 Requires: %{name}-common = %{epoch}:%{version}-%{release}
989 Provides: php(json) = %{jsonver}
990 Obsoletes: php-json < 4:5.3.28-7
991 Obsoletes: php-pecl-json < %{jsonver}
994 php-json is an extremely fast PHP C extension for JSON (JavaScript
995 Object Notation) serialisation.
997 %description json -l pl.UTF-8
998 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
999 (JavaScript Object Notation).
1002 Summary: LDAP extension module for PHP
1003 Summary(pl.UTF-8): Moduł LDAP dla PHP
1004 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
1006 URL: http://php.net/manual/en/book.ldap.php
1007 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1009 Obsoletes: php-ldap < 4:5.3.28-7
1012 This is a dynamic shared object (DSO) for PHP that will add LDAP
1015 %description ldap -l pl.UTF-8
1016 Moduł PHP dodający obsługę LDAP.
1018 %description ldap -l pt_BR.UTF-8
1019 Um módulo para aplicações PHP que usam LDAP.
1022 Summary: mbstring extension module for PHP
1023 Summary(pl.UTF-8): Moduł mbstring dla PHP
1025 URL: http://php.net/manual/en/book.mbstring.php
1026 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1027 Provides: php(mbstring)
1028 Obsoletes: php-mbstring < 4:5.3.28-7
1030 %description mbstring
1031 This is a dynamic shared object (DSO) for PHP that will add multibyte
1034 %description mbstring -l pl.UTF-8
1035 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1038 Summary: MySQLi module for PHP
1039 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1041 URL: http://php.net/manual/en/book.mysqli.php
1042 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1043 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1044 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1045 Requires: mysql-libs >= 4.1.13
1046 Provides: php(mysqli)
1047 Obsoletes: php-mysqli < 4:5.3.28-7
1050 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1051 (Improved MySQL) support. The difference between it and mysql module
1052 is that it provides access to functionality of MySQL 4.1 and above.
1054 %description mysqli -l pl.UTF-8
1055 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1056 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1057 MySQL w wersji 4.1 i nowszych.
1060 Summary: MySQL Native Client Driver for PHP
1061 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1063 URL: http://php.net/manual/en/book.mysqlnd.php
1064 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1065 Provides: php(mysqlnd)
1066 Obsoletes: php-mysqlnd < 4:5.3.28-7
1068 %description mysqlnd
1069 MySQL Native Driver is a replacement for the MySQL Client Library
1072 Because MySQL Native Driver is written as a PHP extension, it is
1073 tightly coupled to the workings of PHP. This leads to gains in
1074 efficiency, especially when it comes to memory usage, as the driver
1075 uses the PHP memory management system. It also supports the PHP memory
1076 limit. Using MySQL Native Driver leads to comparable or better
1077 performance than using MySQL Client Library, it always ensures the
1078 most efficient use of memory. One example of the memory efficiency is
1079 the fact that when using the MySQL Client Library, each row is stored
1080 in memory twice, whereas with the MySQL Native Driver each row is only
1081 stored once in memory.
1083 %description mysqlnd -l pl.UTF-8
1084 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1085 klienckiej MySQL (libmysql).
1087 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1088 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1089 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1090 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1091 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1092 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1093 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1094 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1095 tym sterowniku - tylko raz.
1098 Summary: Oracle 8+ database module for PHP
1099 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1101 URL: http://php.net/manual/en/book.oci8.php
1102 %{?requires_php_extension}
1104 Obsoletes: php-oci8 < 4:5.3.28-7
1105 # withdrawn module of similar functionality but different API
1106 Obsoletes: php-oracle < 4:5.1.0
1109 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1110 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1112 %description oci8 -l pl.UTF-8
1113 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1114 poprzez interfejs Oracle8 Call-Interface (OCI8).
1117 Summary: ODBC extension module for PHP
1118 Summary(pl.UTF-8): Moduł ODBC dla PHP
1119 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1121 URL: http://php.net/manual/en/book.uodbc.php
1122 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1123 Requires: unixODBC >= 2.1.1-3
1125 Obsoletes: php-odbc < 4:5.3.28-7
1128 This is a dynamic shared object (DSO) for PHP that will add ODBC
1131 %description odbc -l pl.UTF-8
1132 Moduł PHP ze wsparciem dla ODBC.
1134 %description odbc -l pt_BR.UTF-8
1135 Um módulo para aplicações PHP que usam ODBC.
1138 Summary: Zend Optimizer+ - PHP code optimizer
1139 Summary(pl.UTF-8): Zend Optimizer+ - optymalizator kodu PHP
1141 URL: https://wiki.php.net/rfc/optimizerplus
1142 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1143 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1144 Provides: php(opcache) = %{version}
1146 %description opcache
1147 The Zend OPcache provides faster PHP execution through opcode caching
1148 and optimization. It improves PHP performance by storing precompiled
1149 script bytecode in the shared memory. This eliminates the stages of
1150 reading code from the disk and compiling it on future access. In
1151 addition, it applies a few bytecode optimization patterns that make
1152 code execution faster.
1154 %description opcache -l pl.UTF-8
1155 Zend OPcache zapewnia szybsze wykonywanie kodu PHP dzięki buforowaniu
1156 i optymalizacji na poziomie opcode'ów. Poprawia wydajność PHP
1157 przechowując prekompilowany bajtkod skryptu w pamięci współdzielonej.
1158 Eliminuje etapy odczytu kodu z dysku i kompilacji przy późniejszym
1159 dostępie. Ponadto wykonuje kilka wzorców optymalizacji bajtkodu,
1160 czyniąc wykonywanie kodu szybszym.
1163 Summary: OpenSSL extension module for PHP
1164 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1166 URL: http://php.net/manual/en/book.openssl.php
1167 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1168 Provides: php(openssl)
1169 Obsoletes: php-openssl < 4:5.3.28-7
1171 %description openssl
1172 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1175 %description openssl -l pl.UTF-8
1176 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1179 Summary: Process Control extension module for PHP
1180 Summary(pl.UTF-8): Moduł Process Control dla PHP
1182 URL: http://php.net/manual/en/book.pcntl.php
1183 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1184 Provides: php(pcntl)
1185 Obsoletes: php-pcntl < 4:5.3.28-7
1188 This is a dynamic shared object (DSO) for PHP that will add process
1189 spawning and control support. It supports functions like fork(),
1190 waitpid(), signal() etc.
1192 %description pcntl -l pl.UTF-8
1193 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1194 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1197 Summary: PHP Data Objects (PDO)
1198 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1200 URL: http://php.net/manual/en/book.pdo.php
1201 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1202 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1203 Provides: %{name}(PDO_API) = %{php_pdo_api_version}
1205 Obsoletes: php-pdo < 4:5.3.28-7
1206 Obsoletes: php-pecl-PDO
1209 This is a dynamic shared object (DSO) for PHP that will add PDO
1212 %description pdo -l pl.UTF-8
1213 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1216 Summary: PHP Data Objects (PDO) FreeTDS support
1217 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1219 URL: http://php.net/manual/en/ref.pdo-dblib.php
1220 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1221 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1222 Provides: php(pdo_dblib)
1223 Obsoletes: php-pdo-dblib < 4:5.3.28-7
1225 %description pdo-dblib
1226 This is a dynamic shared object (DSO) for PHP that will add PDO
1229 %description pdo-dblib -l pl.UTF-8
1230 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1233 %package pdo-firebird
1234 Summary: PHP Data Objects (PDO) Firebird support
1235 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1237 URL: http://php.net/manual/en/ref.pdo-firebird.php
1238 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1239 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1240 Provides: php(pdo-firebird)
1241 Provides: php(pdo_firebird)
1242 Obsoletes: php-pdo-firebird < 4:5.3.28-7
1243 Obsoletes: php-pecl-PDO_FIREBIRD
1245 %description pdo-firebird
1246 This is a dynamic shared object (DSO) for PHP that will add PDO
1249 %description pdo-firebird -l pl.UTF-8
1250 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1254 Summary: PHP Data Objects (PDO) MySQL support
1255 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1257 URL: http://php.net/manual/en/ref.pdo-mysql.php
1258 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1259 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1260 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1261 Provides: php(pdo-mysql)
1262 Provides: php(pdo_mysql)
1263 Obsoletes: php-pdo-mysql < 4:5.3.28-7
1264 Obsoletes: php-pecl-PDO_MYSQL
1266 %description pdo-mysql
1267 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1270 %description pdo-mysql -l pl.UTF-8
1271 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1275 Summary: PHP Data Objects (PDO) Oracle support
1276 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1278 URL: http://php.net/manual/en/ref.pdo-oci.php
1279 %{?requires_php_extension}
1280 %{?requires_php_pdo_module}
1281 Provides: php(pdo-oci)
1282 Provides: php(pdo_oci)
1283 Obsoletes: php-pdo-oci < 4:5.3.28-7
1284 Obsoletes: php-pecl-PDO_OCI
1286 %description pdo-oci
1287 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1290 %description pdo-oci -l pl.UTF-8
1291 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1295 Summary: PHP Data Objects (PDO) ODBC support
1296 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1298 URL: http://php.net/manual/en/ref.pdo-odbc.php
1299 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1300 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1301 Provides: php(pdo-odbc)
1302 Provides: php(pdo_odbc)
1303 Obsoletes: php-pdo-odbc < 4:5.3.28-7
1304 Obsoletes: php-pecl-PDO_ODBC
1306 %description pdo-odbc
1307 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1310 %description pdo-odbc -l pl.UTF-8
1311 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1315 Summary: PHP Data Objects (PDO) PostgreSQL support
1316 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1318 URL: http://php.net/manual/en/ref.pdo-pgsql.php
1319 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1320 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1321 Provides: php(pdo-pgsql)
1322 Provides: php(pdo_pgsql)
1323 Obsoletes: php-pdo-pgsql < 4:5.3.28-7
1324 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1326 %description pdo-pgsql
1327 This is a dynamic shared object (DSO) for PHP that will add PDO
1330 %description pdo-pgsql -l pl.UTF-8
1331 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1335 Summary: PHP Data Objects (PDO) SQLite support
1336 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1338 URL: http://php.net/manual/en/ref.pdo-sqlite.php
1339 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1340 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1341 Provides: php(pdo-sqlite)
1342 Provides: php(pdo_sqlite)
1343 Obsoletes: php-pdo-sqlite < 4:5.3.28-7
1344 Obsoletes: php-pecl-PDO_SQLITE
1346 %description pdo-sqlite
1347 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1350 %description pdo-sqlite -l pl.UTF-8
1351 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1355 Summary: PostgreSQL database module for PHP
1356 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1358 URL: http://php.net/manual/en/book.pgsql.php
1359 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1360 Provides: php(pgsql)
1361 Obsoletes: php-pgsql < 4:5.3.28-7
1364 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1367 %description pgsql -l pl.UTF-8
1368 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1370 %description pgsql -l pt_BR.UTF-8
1371 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1374 Summary: Phar archive module for PHP
1375 Summary(pl.UTF-8): Moduł phar dla PHP
1377 URL: http://php.net/manual/en/book.phar.php
1378 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1379 Requires: %{name}-hash = %{epoch}:%{version}-%{release}
1380 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1381 Requires: alternatives
1382 Suggests: %{name}-cli
1383 # zlib is required by phar program, but as phar cli is optional should the dep be too
1384 Suggests: %{name}-zlib
1385 Provides: php(phar) = %{pharver}
1386 Obsoletes: php-pecl-phar < %{pharver}
1387 Obsoletes: php-phar < 4:5.3.28-7
1388 Conflicts: php-ioncube < 4.0.9
1391 This is a dynamic shared object (DSO) for PHP that will add phar
1394 %description phar -l pl.UTF-8
1395 Moduł PHP umożliwiający dostęp do achiwów .phar.
1398 Summary: POSIX extension module for PHP
1399 Summary(pl.UTF-8): Moduł POSIX dla PHP
1401 URL: http://php.net/manual/en/book.posix.php
1402 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1403 Provides: php(posix)
1404 Obsoletes: php-posix < 4:5.3.28-7
1407 This is a dynamic shared object (DSO) for PHP that will add POSIX
1408 functions support to PHP.
1410 %description posix -l pl.UTF-8
1411 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1414 Summary: pspell extension module for PHP
1415 Summary(pl.UTF-8): Moduł pspell dla PHP
1417 URL: http://php.net/manual/en/book.pspell.php
1418 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1419 Provides: php(pspell)
1420 Obsoletes: php-pspell < 4:5.3.28-7
1423 This is a dynamic shared object (DSO) for PHP that will add pspell
1424 support to PHP. It allows to check the spelling of a word and offer
1427 %description pspell -l pl.UTF-8
1428 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1429 sprawdzanie pisowni słowa i sugerowanie poprawek.
1432 Summary: readline extension module for PHP
1433 Summary(pl.UTF-8): Moduł readline dla PHP
1435 URL: http://php.net/manual/en/book.readline.php
1436 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1437 Provides: php(readline)
1438 Obsoletes: php-readline < 4:5.3.28-7
1440 %description readline
1441 This PHP module adds support for readline functions (only for cli and
1444 %description readline -l pl.UTF-8
1445 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1448 Summary: session extension module for PHP
1449 Summary(pl.UTF-8): Moduł session dla PHP
1451 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1452 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1453 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1455 Provides: php(session)
1456 Obsoletes: php-session < 4:5.3.28-7
1458 %description session
1459 This is a dynamic shared object (DSO) for PHP that will add session
1462 %description session -l pl.UTF-8
1463 Moduł PHP dodający obsługę sesji.
1466 Summary: Shared Memory Operations extension module for PHP
1467 Summary(pl.UTF-8): Moduł shmop dla PHP
1469 URL: http://php.net/manual/en/book.shmop.php
1470 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1471 Provides: php(shmop)
1472 Obsoletes: php-shmop < 4:5.3.28-7
1475 This is a dynamic shared object (DSO) for PHP that will add Shared
1476 Memory Operations support.
1478 %description shmop -l pl.UTF-8
1479 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1482 Summary: Simple XML extension module for PHP
1483 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1485 URL: http://php.net/manual/en/book.simplexml.php
1486 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1487 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1488 Provides: php(simplexml)
1489 Obsoletes: php-simplexml < 4:5.3.28-7
1491 %description simplexml
1492 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1495 %description simplexml -l pl.UTF-8
1496 Moduł PHP dodający obsługę prostego XML-a.
1499 Summary: SNMP extension module for PHP
1500 Summary(pl.UTF-8): Moduł SNMP dla PHP
1502 URL: http://php.net/manual/en/book.snmp.php
1503 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1504 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1505 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1507 Obsoletes: php-snmp < 4:5.3.28-7
1510 This is a dynamic shared object (DSO) for PHP that will add SNMP
1513 %description snmp -l pl.UTF-8
1514 Moduł PHP dodający obsługę SNMP.
1517 Summary: soap extension module for PHP
1518 Summary(pl.UTF-8): Moduł soap dla PHP
1520 URL: http://php.net/manual/en/book.soap.php
1521 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1523 Obsoletes: php-soap < 4:5.3.28-7
1526 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1529 %description soap -l pl.UTF-8
1530 Moduł PHP dodający obsługę SOAP/WSDL.
1533 Summary: sockets extension module for PHP
1534 Summary(pl.UTF-8): Moduł socket dla PHP
1536 URL: http://php.net/manual/en/book.sockets.php
1537 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1538 Provides: php(sockets)
1539 Obsoletes: php-sockets < 4:5.3.28-7
1541 %description sockets
1542 This is a dynamic shared object (DSO) for PHP that will add sockets
1545 %description sockets -l pl.UTF-8
1546 Moduł PHP dodający obsługę gniazdek.
1549 Summary: Wrapper for the Sodium cryptographic library
1551 URL: https://paragonie.com/book/pecl-libsodium
1552 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1553 Provides: php(sodium) = %{sodiumver}
1556 A simple, low-level PHP extension for libsodium.
1559 Summary: SQLite3 extension module for PHP
1560 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1562 URL: http://php.net/manual/en/book.sqlite3.php
1563 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1564 Provides: php(sqlite3) = %{sqlite3ver}
1565 Obsoletes: php-sqlite3 < 4:5.3.28-7
1567 %description sqlite3
1568 SQLite is a C library that implements an embeddable SQL database
1569 engine. Programs that link with the SQLite library can have SQL
1570 database access without running a separate RDBMS process.
1572 SQLite is not a client library used to connect to a big database
1573 server. SQLite is the server. The SQLite library reads and writes
1574 directly to and from the database files on disk.
1576 %description sqlite3 -l pl.UTF-8
1577 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1578 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1579 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1582 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1583 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1584 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1588 Summary: SysV msg extension module for PHP
1589 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1591 URL: http://php.net/manual/en/book.sem.php
1592 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1593 Provides: php(sysvmsg)
1594 Obsoletes: php-sysvmsg < 4:5.3.28-7
1596 %description sysvmsg
1597 This is a dynamic shared object (DSO) for PHP that will add SysV
1598 message queues support.
1600 %description sysvmsg -l pl.UTF-8
1601 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1604 Summary: SysV sem extension module for PHP
1605 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1607 URL: http://php.net/manual/en/book.sem.php
1608 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1609 Provides: php(sysvsem)
1610 Obsoletes: php-sysvsem < 4:5.3.28-7
1612 %description sysvsem
1613 This is a dynamic shared object (DSO) for PHP that will add SysV
1616 %description sysvsem -l pl.UTF-8
1617 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1620 Summary: SysV shm extension module for PHP
1621 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1623 URL: http://php.net/manual/en/book.sem.php
1624 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1625 Provides: php(sysvshm)
1626 Obsoletes: php-sysvshm < 4:5.3.28-7
1628 %description sysvshm
1629 This is a dynamic shared object (DSO) for PHP that will add SysV
1630 Shared Memory support.
1632 %description sysvshm -l pl.UTF-8
1633 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1636 Summary: Contains unit test files for PHP and extensions
1637 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1639 URL: http://qa.php.net/
1640 Requires: %{name}-cli
1643 This package contains unit tests for PHP and its extensions.
1645 %description tests -l pl.UTF-8
1646 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1649 Summary: Tidy extension module for PHP
1650 Summary(pl.UTF-8): Moduł Tidy dla PHP
1652 URL: http://php.net/manual/en/book.tidy.php
1653 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1656 Obsoletes: php-tidy < 4:5.3.28-7
1659 This is a dynamic shared object (DSO) for PHP that will add Tidy
1662 %description tidy -l pl.UTF-8
1663 Moduł PHP umożliwiający korzystanie z tidy.
1666 Summary: tokenizer extension module for PHP
1667 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1669 URL: http://php.net/manual/en/book.tokenizer.php
1670 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1671 Provides: php(tokenizer)
1672 Obsoletes: php-tokenizer < 4:5.3.28-7
1674 %description tokenizer
1675 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1678 %description tokenizer -l pl.UTF-8
1679 Moduł PHP dodający obsługę tokenizera do PHP.
1682 Summary: XML extension module for PHP
1683 Summary(pl.UTF-8): Moduł XML dla PHP
1685 URL: http://php.net/manual/en/book.xml.php
1686 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1688 Obsoletes: php-xml < 4:5.3.28-7
1691 This is a dynamic shared object (DSO) for PHP that will add XML
1692 support. This extension lets you create XML parsers and then define
1693 handlers for different XML events.
1695 %description xml -l pl.UTF-8
1696 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1697 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1698 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1701 Summary: XML Reader extension module for PHP
1702 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1704 URL: http://php.net/manual/en/book.xmlreader.php
1705 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1706 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1707 Provides: php(xmlreader)
1708 Obsoletes: php-xmlreader < 4:5.3.28-7
1710 %description xmlreader
1711 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1712 support. The XMLReader extension is an XML Pull parser. The reader
1713 acts as a cursor going forward on the document stream and stopping at
1714 each node on the way.
1716 %description xmlreader -l pl.UTF-8
1717 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1718 działa jako kursor przechodzący przez strumień dokumentu i
1719 zatrzymujący się na każdym węźle po drodze.
1722 Summary: xmlrpc extension module for PHP
1723 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1725 URL: http://php.net/manual/en/book.xmlrpc.php
1726 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1727 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1728 Provides: php(xmlrpc)
1729 Obsoletes: php-xmlrpc < 4:5.3.28-7
1732 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1735 %description xmlrpc -l pl.UTF-8
1736 Moduł PHP dodający obsługę XMLRPC.
1739 Summary: Fast, non-cached, forward-only means to write XML data
1740 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1742 URL: http://php.net/manual/en/book.xmlwriter.php
1743 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1744 Provides: php(xmlwriter)
1745 Obsoletes: php-pecl-xmlwriter
1746 Obsoletes: php-xmlwriter < 4:5.3.28-7
1748 %description xmlwriter
1749 This extension wraps the libxml xmlWriter API. Represents a writer
1750 that provides a non-cached, forward-only means of generating streams
1751 or files containing XML data.
1753 %description xmlwriter -l pl.UTF-8
1754 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1755 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1756 plików zawierających dane XML.
1759 Summary: xsl extension module for PHP
1760 Summary(pl.UTF-8): Moduł xsl dla PHP
1762 URL: http://php.net/manual/en/book.xsl.php
1763 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1764 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1765 Requires: libxslt >= 1.1.0
1767 Obsoletes: php-xsl < 4:5.3.28-7
1768 # actually not true, functionality is similar, but API differs
1769 Obsoletes: php-xslt <= 3:4.3.8-1
1772 This is a dynamic shared object (DSO) for PHP that will add new XSL
1773 support (using libxslt).
1775 %description xsl -l pl.UTF-8
1776 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1779 Summary: Zip management extension
1780 Summary(pl.UTF-8): Zarządzanie archiwami zip
1782 URL: http://php.net/manual/en/book.zip.php
1783 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1784 Requires: libzip >= 1.3.1
1785 Provides: php(zip) = %{zipver}
1786 Obsoletes: php-pecl-zip < %{zipver}
1787 Obsoletes: php-zip < 4:5.3.28-7
1790 Zip is an extension to create, modify and read zip files.
1792 %description zip -l pl.UTF-8
1793 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1794 odczyt archiwów zip.
1797 Summary: Zlib extension module for PHP
1798 Summary(pl.UTF-8): Moduł zlib dla PHP
1800 URL: http://php.net/manual/en/book.zlib.php
1801 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1803 Obsoletes: php-zlib < 4:5.3.28-7
1806 This is a dynamic shared object (DSO) for PHP that will add zlib
1807 compression support to PHP.
1809 %description zlib -l pl.UTF-8
1810 Moduł PHP umożliwiający używanie kompresji zlib.
1813 %setup -q -n %{orgname}-%{version}
1814 cp -p php.ini-production php.ini
1842 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
1843 %patch59 -p1 -b .systzdata
1848 %{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
1850 # cleanup backups after patching
1851 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
1853 # com_dotnet is Win32-only
1854 %{__rm} -r ext/com_dotnet
1856 # remove all bundled libraries not to link with them accidentally
1857 %{__rm} -r ext/xmlrpc/libxmlrpc
1858 %{__rm} ext/date/lib/timezonedb.h
1860 cp -pf Zend/LICENSE{,.Zend}
1861 install -p %{SOURCE13} dep-tests.sh
1864 sed -i -e 's#-fvisibility=hidden##g' configure*
1866 # disable broken tests
1867 # says just "Terminated" twice and fails
1868 %{__mv} sapi/cli/tests/022.phpt{,.broken}
1870 # really dumb test, executable binary name is .libs/ something when building
1871 # https://bugs.php.net/bug.php?id=54514
1872 %{__mv} tests/basic/bug54514.phpt{,.disable}
1874 # breaks whole testsuite unexpectedly:
1875 # Fatal error: Call to undefined function gzencode() in run-tests.php on line 1714
1876 # probably broken as zlib is built as shared
1877 %{__mv} ext/soap/tests/server019.phpt{,disable}
1878 # Fatal error: Call to undefined function gzcompress() in run-tests.php on line 1728
1879 %{__mv} ext/soap/tests/server020.phpt{,disable}
1881 # runs out of memory and kills carme vserver
1882 # PASS Bug #39438 (Fatal error: Out of memory) [Zend/tests/bug39438.phpt]
1883 %{__mv} Zend/tests/bug39438.phpt{,.disable}
1885 # php-5.3.3/ext/standard/tests/file/statpage.phpt
1886 %{__rm} ext/standard/tests/file/statpage.phpt
1888 # idiotic test, it will fail if somebody else makes space on disk or if disk
1889 # space is not yet allocated (xfs). report upstream to advice bogus test is
1890 # probably pointless.
1891 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
1894 # all pdo_sqlite, sqlite3 tests die with Aborted on carme
1895 %{__rm} -r ext/pdo_sqlite/tests
1896 %{__rm} -r ext/sqlite3/tests
1899 # ----- Manage known as failed test -------
1900 # affected by systzdata patch
1901 %{__rm} ext/date/tests/timezone_location_get.phpt
1902 %{__rm} ext/date/tests/timezone_version_get.phpt
1903 %{__rm} ext/date/tests/timezone_version_get_basic1.phpt
1904 # Should be skipped but fails sometime
1905 %{__rm} ext/standard/tests/file/file_get_contents_error001.phpt
1907 %{__rm} ext/sockets/tests/mcast_ipv?_recv.phpt
1908 # causes stack exhausion
1909 %{__rm} Zend/tests/bug54268.phpt
1910 %{__rm} Zend/tests/bug68412.phpt
1912 # avoid issues when two builds run simultaneously
1914 sed -e 's/64321/64322/' -i ext/openssl/tests/*.phpt
1918 # no point testing stuff that is knowingly broken
1919 find -name '*.phpt' | xargs grep '^--XFAIL--' -l | xargs rm -v
1931 sh -xe %{_sourcedir}/skip-tests.sh
1934 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
1935 if [ $API != %{php_api_version} ]; then
1936 echo "Set %%define php_api_version to $API and re-run."
1940 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
1941 if [ $API != %{zend_module_api} ]; then
1942 echo "Set %%define zend_module_api to $API and re-run."
1946 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
1947 if [ $API != %{zend_extension_api} ]; then
1948 echo "Set %%define zend_extension_api to $API and re-run."
1952 API=$(awk '/#define PDO_DRIVER_API/{print $3}' ext/pdo/php_pdo_driver.h)
1953 if [ $API != %{php_pdo_api_version} ]; then
1954 echo "Set %%define php_pdo_api_version to $API and re-run."
1958 # Check for some extension version
1959 ver=$(awk '/#define PHP_FILEINFO_VERSION/ {print $3}' ext/fileinfo/php_fileinfo.h | xargs)
1960 if test "$ver" != "PHP_VERSION"; then
1961 : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
1962 : Update the fileinfover macro and rebuild.
1965 ver=$(awk '/#define PHP_PHAR_VERSION/ {print $3}' ext/phar/php_phar.h | xargs)
1966 if test "$ver" != "PHP_VERSION"; then
1967 : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
1968 : Update the pharver macro and rebuild.
1971 ver=$(awk '/#define PHP_SQLITE3_VERSION/ {print $3}' ext/sqlite3/php_sqlite3.h | xargs)
1972 if test "$ver" != "PHP_VERSION"; then
1973 : Error: Upstream Sqlite3 version is now ${ver}, expecting %{sqlite3ver}.
1974 : Update the sqlite3ver macro and rebuild.
1977 ver=$(awk '/#define PHP_SODIUM_VERSION/ {print $3}' ext/sodium/php_libsodium.h | xargs)
1978 if test "$ver" != "PHP_VERSION"; then
1981 ver=$(sed -n '/#define PHP_ZIP_VERSION /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
1982 if test "$ver" != "%{zipver}"; then
1983 : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
1984 : Update the zipver macro and rebuild.
1987 ver=$(awk '/#define PHP_JSON_VERSION/ {print $3}' ext/json/php_json.h | xargs)
1988 if test "$ver" != "PHP_VERSION"; then
1989 : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
1990 : Update the jsonver macro and rebuild.
1993 ver=$(awk '/#define PHPDBG_VERSION/ {print $3}' sapi/phpdbg/phpdbg.h | xargs)
1994 if test "$ver" != "PHP_VERSION"; then
1995 : Error: Upstream phpdbg version is now ${ver}, expecting %{phpdbgver}.
1996 : Update the phpdbgver macro and rebuild.
1999 ver=$(awk '/#define PHP_BZ2_VERSION/ {print $3}' ext/bz2/php_bz2.h | xargs)
2000 if test "$ver" != "PHP_VERSION"; then
2001 : Error: Upstream BZIP2 version is now ${ver}, expecting %{bz2ver}.
2002 : Update the bz2ver macro and rebuild.
2005 ver=$(awk '/#define PHP_ENCHANT_VERSION/ {print $3}' ext/enchant/php_enchant.h | xargs)
2006 if test "$ver" != "PHP_VERSION"; then
2009 ver=$(awk '/#define PHP_HASH_VERSION/ {print $3}' ext/hash/php_hash.h | xargs)
2010 if test "$ver" != "PHP_VERSION"; then
2011 : Error: Upstream HASH version is now ${ver}, expecting %{hashver}.
2012 : Update the hashver macro and rebuild.
2015 ver=$(awk '/#define PHP_INTL_VERSION/ {print $3}' ext/intl/php_intl.h | xargs)
2016 if test "$ver" != "PHP_VERSION"; then
2017 : Error: Upstream Intl version is now ${ver}, expecting %{intlver}.
2018 : Update the intlver macro and rebuild.
2022 export EXTENSION_DIR="%{php_extensiondir}"
2024 # Set PEAR_INSTALLDIR to ensure that the hard-coded include_path
2025 # includes the PEAR directory even though pear is packaged separately.
2026 export PEAR_INSTALLDIR=%{php_pear_dir}
2028 # configure once (for faster debugging purposes)
2029 if [ ! -f _built-conf ]; then
2030 # now remove Makefile copies
2031 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs2,litespeed,phpdbg}
2033 # Force use of system libtool:
2034 mv build/libtool.m4 build/libtool.m4.saved
2035 cat %{_aclocaldir}/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 > build/libtool.m4
2039 cp -f /usr/share/automake/config.* .
2043 export PROG_SENDMAIL="/usr/lib/sendmail"
2044 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \
2045 -I%{_includedir}/xmlrpc-epi"
2047 # This should be detected by configure and set there,
2048 # but looks like the build system is hosed on 7.3
2049 export CXXFLAGS="%{rpmcxxflags} -fPIC -DPIC"
2050 export CFLAGS="%{rpmcflags} -fPIC -DPIC"
2053 # icu 59+ C++ API requires C++ >= 11
2054 CXXFLAGS="$CXXFLAGS -std=c++11"
2062 %if %{with litespeed}
2078 for sapi in $sapis; do
2080 # skip if already configured (for faster debugging purposes)
2081 [ -f Makefile.$sapi ] && continue
2086 sapi_args='--disable-cli'
2089 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
2092 sapi_args='--disable-cli --disable-cgi --enable-fpm'
2095 sapi_args='--disable-cli --disable-cgi --enable-embed'
2098 ver=$(rpm -q --qf '%{V}' apache-devel)
2099 sapi_args="--disable-cli --disable-cgi --with-apxs2=%{apxs2} --with-apache-version=$ver"
2102 sapi_args='--disable-cli --disable-cgi --enable-litespeed'
2105 sapi_args='--disable-cli --disable-cgi --enable-phpdbg %{?debug:--enable-phpdbg-debug}'
2110 EXTRA_LDFLAGS="%{rpmldflags}" \
2111 --program-suffix=%{php_suffix} \
2113 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2114 --cache-file=config.cache \
2116 --datadir=%{php_datadir} \
2117 --with-libdir=%{_lib} \
2118 --with-config-file-path=%{_sysconfdir} \
2119 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2120 --with-system-tzdata \
2121 %{?with_argon2:--with-password-argon2} \
2122 --%{!?with_debug:dis}%{?with_debug:en}able-debug \
2123 %{?with_zts:--enable-maintainer-zts} \
2124 --enable-inline-optimization \
2125 %{__enable_disable bcmath bcmath shared} \
2126 %{__enable_disable calendar calendar shared} \
2127 %{__enable_disable ctype ctype shared} \
2128 %{__enable_disable dba dba shared} \
2129 %{__enable_disable dom dom shared} \
2130 %{?with_systemtap:--enable-dtrace} \
2131 %{__enable_disable exif exif shared} \
2132 %{__enable_disable fileinfo fileinfo shared} \
2133 %{__enable_disable ftp ftp shared} \
2134 %{?with_intl:--enable-intl=shared} \
2136 %{__enable_disable mbstring mbstring shared,all} \
2138 %{__enable_disable pcntl pcntl shared} \
2139 %{__enable_disable pdo pdo shared} \
2140 %{__enable_disable json json shared} \
2141 --enable-xmlwriter=shared \
2143 --with-fpm-user=http \
2144 --with-fpm-group=http \
2146 %if %{with pdo_dblib}
2147 --with-pdo-dblib=shared \
2149 %if %{with pdo_firebird}
2150 --with-pdo-firebird=shared \
2152 %{?with_mhash:--with-mhash=yes} \
2153 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2154 %{__with_without pdo_mysql pdo-mysql shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd}} \
2155 %{?with_pdo_oci:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2156 %{?with_pdo_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2157 %{?with_pdo_pgsql:--with-pdo-pgsql=shared} \
2158 %{?with_pdo_sqlite:--with-pdo-sqlite=shared} \
2159 %{?with_webp:--with-webp} \
2160 %{__enable_disable posix posix shared} \
2162 %{__enable_disable session session shared} \
2163 --enable-shmop=shared \
2164 --enable-simplexml=shared \
2165 --enable-sysvmsg=shared \
2166 --enable-sysvsem=shared \
2167 --enable-sysvshm=shared \
2168 --enable-soap=shared \
2169 --enable-sockets=shared \
2170 %{__with_without sodium sodium shared} \
2171 --enable-tokenizer=shared \
2172 --enable-xml=shared \
2173 --enable-xmlreader=shared \
2174 %{__with_without bz2 bz2 shared} \
2175 %{__with_without curl curl shared} \
2177 %{__with_without iconv iconv shared} \
2178 %{?with_enchant:--with-enchant=shared} \
2180 %{__with_without gettext gettext shared} \
2181 %{__enable_disable gd gd shared} \
2182 %{?with_system_gd:--with-external-gd} \
2184 %{__with_without gmp gmp shared} \
2185 %{__with_without ffi ffi shared} \
2186 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2188 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2189 %{?with_mm:--with-mm} \
2190 %{?with_mysqlnd:--enable-mysqlnd=shared} \
2191 %{?with_mysqli:--with-mysqli=shared,%{!?with_mysqlnd:/usr/bin/mysql_config}%{?with_mysqlnd:mysqlnd}} \
2192 %{?with_oci:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2193 %{__enable_disable opcache opcache shared} \
2194 %{?with_openssl:--with-openssl=shared} \
2195 %{?with_kerberos5:--with-kerberos} \
2197 --with-external-pcre \
2198 %{__with_without pcre_jit pcre-jit} \
2199 %{__enable_disable filter filter shared} \
2200 %{__with_without pgsql pgsql shared} \
2201 %{__enable_disable phar phar shared} \
2202 %{?with_pspell:--with-pspell=shared} \
2203 %{__with_without readline readline shared} \
2204 %{?with_snmp:--with-snmp=shared} \
2205 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2206 %{__with_without sqlite3 sqlite3 shared} \
2207 %{?with_tidy:--with-tidy=shared} \
2208 %{?with_odbc:--with-unixODBC=shared} \
2209 %{__with_without xmlrpc xmlrpc shared,/usr} \
2210 %{?with_xsl:--with-xsl=shared} \
2211 --with-zlib=shared \
2212 %{?with_zip:--with-zip=shared} \
2215 cp -f Makefile Makefile.$sapi
2216 cp -f main/php_config.h php_config.h.$sapi
2217 cp -f config.log config.log.$sapi
2220 # as we build each SAPI in own make, adjust php-config.in forehead
2221 sapis=$(%{__sed} -rne 's/^PHP_INSTALLED_SAPIS = (.+)/\1/p' Makefile.* | tr ' ' '\n' | sort -u | xargs)
2222 %{__sed} -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," scripts/php-config.in
2224 # must make libphp_common first, so modules can link against it.
2225 cp -af php_config.h.cli main/php_config.h
2226 cp -af Makefile.cli Makefile
2227 %{__make} libphp_common.la
2228 # hack: MYSQLND_SHARED_LIBADD not initialized
2229 %{__make} build-modules \
2230 MYSQLND_SHARED_LIBADD="-lssl -lcrypto"
2233 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp7.la -f Makefile.apxs2
2236 %if %{with litespeed}
2237 %{__make} -f Makefile.litespeed litespeed
2241 %{__make} -f Makefile.embed libphp7.la
2245 # PHP_READLINE_LIBS is empty, so force readline here
2246 %{__make} -f Makefile.phpdbg phpdbg \
2247 PHPDBG_EXTRA_LIBS=-lreadline
2252 cp -pf php_config.h.cgi-fcgi main/php_config.h
2253 %{__make} -f Makefile.cgi-fcgi
2254 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
2259 cp -pf php_config.h.fpm main/php_config.h
2260 %{__make} -f Makefile.fpm
2261 [ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
2265 cp -pf php_config.h.cli main/php_config.h
2266 %{__make} -f Makefile.cli
2267 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
2269 # check for stupid xml parse breakage where < and > just get lost in parse result
2270 ./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"]));'
2272 # Generate stub .ini files for each extension
2273 GENERATE_INI=1 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh
2275 # Check that the module inner-dependencies are intact
2276 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2277 if grep -v OK dep-tests.log; then
2278 echo >&2 "The results above were not expected"
2284 cp -pf php_config.h.cli main/php_config.h
2285 cp -pf Makefile.cli Makefile
2287 # you really don't want to package result of gcov build
2291 cat <<'EOF' > run-tests.sh
2293 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2294 export SKIP_ONLINE_TESTS=1
2295 unset TZ LANG LC_ALL || :
2297 EXTENSION_DIR=modules \
2298 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2299 RUN_TESTS_SETTINGS="-q $*"
2301 chmod +x run-tests.sh
2304 # Run tests, using the CLI SAPI
2305 cp -pf php_config.h.cli main/php_config.h
2306 cp -pf Makefile.cli Makefile
2308 ./run-tests.sh -w failed.log -s tests.log || {
2311 # collect failed tests into cleanup script used in prep.
2312 sed -ne '/^FAILED TEST SUMMARY/,/^===/p' tests.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2313 sed -ne '/^via/d;/\[.*\]/{s/\t*\(.*\) \[\(.*\)\]\(.*\)/# \1\3\nmv \2{,.skip}/p}' tests-failed.log \
2314 >> %{_sourcedir}/skip-tests.sh
2316 # if on builders, dump test log
2317 tty -q || cat tests.log
2319 test ! -s failed.log
2325 rm -rf $RPM_BUILD_ROOT
2327 $RPM_BUILD_ROOT%{_libdir}/{php,apache} \
2328 $RPM_BUILD_ROOT%{_sysconfdir}/{conf,cgi-fcgi,cli,apache2handler}.d \
2329 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2330 $RPM_BUILD_ROOT/etc/httpd/conf.d \
2331 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2333 cp -pf php_config.h.cli main/php_config.h
2334 cp -pf Makefile.cli Makefile
2336 phpbuilddir=%{_libdir}/php/php%{php_suffix}/build \
2337 INSTALL_ROOT=$RPM_BUILD_ROOT
2340 touch $RPM_BUILD_ROOT%{_bindir}/phar
2341 touch $RPM_BUILD_ROOT%{_mandir}/man1/phar.1
2344 v=$(echo %{version} | cut -d. -f1-2)
2346 # install Apache2 DSO module
2349 libtool --mode=install install -p sapi/apache2handler/libphp7.la $RPM_BUILD_ROOT%{_libdir}/apache
2350 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp7.la $RPM_BUILD_ROOT%{_libdir}/apache/libphp%{php_suffix}.la
2351 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp7.so $RPM_BUILD_ROOT%{_libdir}/apache/libphp%{php_suffix}.so
2352 sed -i -e "s|libphp7|libphp%{php_suffix}|g" $RPM_BUILD_ROOT%{_libdir}/apache/libphp%{php_suffix}.la
2353 ln -s libphp%{php_suffix}.so $RPM_BUILD_ROOT%{_libdir}/apache/mod_php.so
2356 # install litespeed sapi
2357 %if %{with litespeed}
2358 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
2362 %{__make} -f Makefile.phpdbg install-phpdbg \
2363 INSTALL="libtool --mode=install install -p" \
2364 INSTALL_ROOT=$RPM_BUILD_ROOT
2368 touch $RPM_BUILD_ROOT%{_bindir}/phpize
2369 touch $RPM_BUILD_ROOT%{_mandir}/man1/phpize.1
2370 touch $RPM_BUILD_ROOT%{_bindir}/php-config
2371 touch $RPM_BUILD_ROOT%{_mandir}/man1/php-config.1
2373 # versioned libphp_common
2374 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2375 %{__mv} $RPM_BUILD_ROOT%{_libdir}/libphp_common.la $RPM_BUILD_ROOT%{_libdir}/libphp_common%{php_suffix}.la
2376 %{__mv} $RPM_BUILD_ROOT%{_libdir}/libphp_common-%{version}.so $RPM_BUILD_ROOT%{_libdir}/libphp_common%{php_suffix}-%{version}.so
2377 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/libphp_common.so
2378 ln -s libphp_common%{php_suffix}-%{version}.so $RPM_BUILD_ROOT%{_libdir}/libphp_common%{php_suffix}.so
2379 sed -i -e "s|libphp_common|libphp_common%{php_suffix}|g" $RPM_BUILD_ROOT%{_libdir}/libphp_common%{php_suffix}.la
2384 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2385 ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
2386 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/cgi-fcgi.d/php.ini
2391 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/php-fpm.d,%{_sbindir}}
2392 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2393 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
2394 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2395 cp -p sapi/fpm/www.conf $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d
2396 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2397 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2398 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2399 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2401 # touch for ghost for alternatives
2402 touch $RPM_BUILD_ROOT%{_sbindir}/php-fpm
2405 s#/usr/lib/php#%{php_extensiondir}#
2406 s#/etc/php/#%{_sysconfdir}/#
2407 s#@processname@#%{name}-fpm#g
2408 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf,%{_sysconfdir}/php-fpm.d/www.conf}
2411 # install Embedded API
2413 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2414 # install-sapi installs to wrong dir, so just do it all manually
2415 install -d $RPM_BUILD_ROOT%{_includedir}/php/php%{php_suffix}/sapi/embed
2416 install -p libs/libphp7.so $RPM_BUILD_ROOT%{_libdir}/libphp%{php_suffix}.so
2417 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/php%{php_suffix}/sapi/embed
2421 libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php%{php_suffix}
2423 touch $RPM_BUILD_ROOT%{_bindir}/php
2424 touch $RPM_BUILD_ROOT%{_mandir}/man1/php.1
2426 cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2427 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/cli.d/php.ini
2430 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2431 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/apache2handler.d/php.ini
2432 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp%{php_suffix}.la
2435 # ensure that paths are correct for current php version and arch
2436 grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
2438 s#/usr/lib/php#%{php_extensiondir}#
2439 s#/etc/php#%{_sysconfdir}#
2442 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2443 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2445 cp -p %{_sourcedir}/opcache.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2448 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/??_readline.ini,cli.d}
2450 sed -i -e '/^phpdir/ s,/php/build,/%{name}/build,' $RPM_BUILD_ROOT%{_bindir}/phpize%{php_suffix}
2452 # for php-pecl-mailparse
2453 install -d $RPM_BUILD_ROOT%{_includedir}/php/php%{php_suffix}/ext/mbstring
2454 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/php%{php_suffix}/ext/mbstring
2457 install -d $RPM_BUILD_ROOT%{php_datadir}/tests/php
2458 install -p run-tests.php $RPM_BUILD_ROOT%{php_datadir}/tests/php/run-tests.php
2459 cp -a tests/* $RPM_BUILD_ROOT%{php_datadir}/tests/php
2461 # fix install paths, avoid evil rpaths
2462 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common%{php_suffix}.la
2464 install -p ext/ext_skel.php $RPM_BUILD_ROOT%{_bindir}
2467 rm -rf $RPM_BUILD_ROOT
2469 %post -n apache-mod_%{name}
2470 if [ "$1" = "1" ]; then
2471 %service -q httpd restart
2474 %postun -n apache-mod_%{name}
2475 if [ "$1" = "0" ]; then
2476 %service -q httpd restart
2480 update-alternatives \
2481 --install %{_bindir}/php php %{_bindir}/php%{php_suffix} %{php_suffix} \
2482 --slave %{_mandir}/man1/php.1 php.1 %{_mandir}/man1/php%{php_suffix}.1* || :
2485 if [ $1 -eq 0 ]; then
2486 update-alternatives --remove php %{_bindir}/php%{php_suffix} || :
2489 %post common -p /sbin/ldconfig
2490 %postun common -p /sbin/ldconfig
2493 update-alternatives \
2494 --install %{_bindir}/phpize phpize %{_bindir}/phpize%{php_suffix} %{php_suffix} \
2495 --slave %{_mandir}/man1/php.1 php.1 %{_mandir}/man1/php%{php_suffix}.1* || :
2496 update-alternatives \
2497 --install %{_bindir}/php-config php-config %{_bindir}/php-config%{php_suffix} %{php_suffix} \
2498 --slave %{_mandir}/man1/php.1 php.1 %{_mandir}/man1/php%{php_suffix}.1* || :
2501 if [ $1 -eq 0 ]; then
2502 update-alternatives --remove phpize %{_bindir}/phpize%{php_suffix} || :
2503 update-alternatives --remove php-config %{_bindir}/php-config%{php_suffix} || :
2507 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2510 /sbin/chkconfig --add %{name}-fpm
2511 %service %{name}-fpm restart
2512 update-alternatives --install %{_sbindir}/php-fpm php-fpm %{_sbindir}/php%{php_suffix}-fpm %{php_suffix} || :
2515 if [ "$1" = "0" ]; then
2516 %service %{name}-fpm stop
2517 /sbin/chkconfig --del %{name}-fpm
2518 update-alternatives --remove php-fpm %{_sbindir}/php%{php_suffix}-fpm || :
2522 if [ "$1" = "0" ]; then
2526 %post embedded -p /sbin/ldconfig
2527 %postun embedded -p /sbin/ldconfig
2530 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2531 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2533 . /etc/sysconfig/timezone
2534 if [ "$TIMEZONE" ]; then
2535 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2539 # minimizing apache restarts logics. we restart webserver:
2541 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2542 # 2. first install of extension (post: $1 = 1)
2543 # 2. uninstall of extension (postun: $1 == 0)
2545 # the strict internal deps between extensions (and apache modules) and
2546 # common package are very important for all this to work.
2548 # restart webserver at the end of transaction
2549 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2551 %triggerpostun common -- php-common < 4:5.3.28-7
2552 # migrate configs /etc/php/conf.d -> /etc/phpXY/conf.d/
2553 # do config migration in php-common trigger, as the trigger is ran after all packages are upgraded
2554 # this way we can stick to one trigger, instead of attaching one for each (sub)package!
2555 for f in /etc/php/*.ini.rpmsave /etc/php/*.d/*.ini.rpmsave; do
2556 test -f "$f" || continue
2560 test "$dn" = "$fn" && dn=
2562 nf=%{_sysconfdir}/$dn/$fn
2563 test -f "$nf" || continue
2564 cp -vfb $nf{,.rpmnew}
2567 s#%{_libdir}/php#%{_libdir}/%{name}#
2568 s#/etc/php#%{_sysconfdir}#
2572 %triggerpostun common -- %{name}-common < 4:5.6.4-2, php-common < 4:5.6.4-2
2573 # switch to browscap package if the ini file has original value
2574 %{__sed} -i -e 's#%{_sysconfdir}/browscap.ini#/usr/share/browscap/php_browscap.ini#' %{_sysconfdir}/php.ini
2575 # disable browscap, if optional package not present
2576 if [ ! -e /usr/share/browscap/php_browscap.ini ]; then
2577 %{__sed} -i -e 's#^browscap = /usr/share/browscap/php_browscap.ini#;&#' %{_sysconfdir}/php.ini
2580 %triggerpostun -n apache-mod_%{name} -- apache-mod_%{name} < 4:7.0.0-2.RC4
2581 sed -i -e 's#modules/libphp[57].so#modules/mod_php.so#g' /etc/httpd/conf.d/*_mod_php.conf
2583 # common macros called at extension post/postun scriptlet
2585 if [ "$1" = "1" ]; then \
2586 %php_webserver_restart \
2590 %define ext_postun \
2591 if [ "$1" = "0" ]; then \
2592 %php_webserver_restart \
2596 %define extension_scripts() \
2604 # extension scripts defines
2605 %extension_scripts bcmath
2606 %extension_scripts bz2
2607 %extension_scripts calendar
2608 %extension_scripts ctype
2609 %extension_scripts curl
2610 %extension_scripts dba
2611 %extension_scripts dom
2612 %extension_scripts enchant
2613 %extension_scripts exif
2614 %extension_scripts ffi
2615 %extension_scripts fileinfo
2616 %extension_scripts filter
2617 %extension_scripts ftp
2618 %extension_scripts gd
2619 %extension_scripts gettext
2620 %extension_scripts gmp
2621 %extension_scripts iconv
2622 %extension_scripts imap
2623 %extension_scripts intl
2624 %extension_scripts json
2625 %extension_scripts ldap
2626 %extension_scripts mbstring
2627 %extension_scripts mysqli
2628 %extension_scripts mysqlnd
2629 %extension_scripts oci8
2630 %extension_scripts odbc
2631 %extension_scripts opcache
2632 %extension_scripts openssl
2633 %extension_scripts pcntl
2634 %extension_scripts pdo
2635 %extension_scripts pdo-dblib
2636 %extension_scripts pdo-firebird
2637 %extension_scripts pdo-mysql
2638 %extension_scripts pdo-oci
2639 %extension_scripts pdo-odbc
2640 %extension_scripts pdo-pgsql
2641 %extension_scripts pdo-sqlite
2642 %extension_scripts pgsql
2643 %extension_scripts posix
2644 %extension_scripts pspell
2645 %extension_scripts session
2646 %extension_scripts shmop
2647 %extension_scripts simplexml
2648 %extension_scripts snmp
2649 %extension_scripts soap
2650 %extension_scripts sockets
2651 %extension_scripts sodium
2652 %extension_scripts sqlite3
2653 %extension_scripts sysvmsg
2654 %extension_scripts sysvsem
2655 %extension_scripts sysvshm
2656 %extension_scripts tidy
2657 %extension_scripts tokenizer
2658 %extension_scripts xml
2659 %extension_scripts xmlreader
2660 %extension_scripts xmlrpc
2661 %extension_scripts xmlwriter
2662 %extension_scripts xsl
2663 %extension_scripts zip
2664 %extension_scripts zlib
2668 update-alternatives \
2669 --install %{_bindir}/phar phar %{_bindir}/phar%{php_suffix}.phar %{php_suffix} \
2670 --slave %{_mandir}/man1/phar.1 phar.1 %{_mandir}/man1/phar%{php_suffix}.1* || :
2674 if [ $1 -eq 0 ]; then
2675 update-alternatives --remove phar %{_bindir}/phar%{php_suffix}.phar || :
2679 %files -n apache-mod_%{name}
2680 %defattr(644,root,root,755)
2681 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2682 %attr(755,root,root) %{_libdir}/apache/mod_php.so
2684 %files -n apache-mod_%{name}-core
2685 %defattr(644,root,root,755)
2686 %dir %{_sysconfdir}/apache2handler.d
2687 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache2handler.d/php.ini
2688 %attr(755,root,root) %{_libdir}/apache/libphp%{php_suffix}.so
2691 %if %{with litespeed}
2693 %defattr(644,root,root,755)
2694 %attr(755,root,root) %{_sbindir}/%{name}.litespeed
2699 %defattr(644,root,root,755)
2700 %dir %{_sysconfdir}/cgi-fcgi.d
2701 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cgi-fcgi.d/php.ini
2702 %attr(755,root,root) %{_bindir}/%{name}.cgi
2703 %attr(755,root,root) %{_bindir}/%{name}.fcgi
2708 %defattr(644,root,root,755)
2709 %attr(755,root,root) %{_libdir}/libphp%{php_suffix}.so
2713 %defattr(644,root,root,755)
2714 %dir %{_sysconfdir}/cli.d
2715 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/php.ini
2716 %attr(755,root,root) %{_bindir}/php%{php_suffix}
2717 %{_mandir}/man1/php%{php_suffix}.1*
2718 %ghost %{_bindir}/php
2719 %ghost %{_mandir}/man1/php.1*
2723 %defattr(644,root,root,755)
2724 %doc sapi/fpm/{CREDITS,LICENSE}
2725 %dir %{_sysconfdir}/php-fpm.d
2726 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
2727 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.d/www.conf
2728 %attr(755,root,root) %{_sbindir}/%{name}-fpm
2729 %ghost %{_sbindir}/php-fpm
2730 %{_mandir}/man8/%{name}-fpm.8*
2731 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
2732 %attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
2737 %defattr(644,root,root,755)
2738 %attr(755,root,root) %{_bindir}/phpdbg%{php_suffix}
2739 %{_mandir}/man1/phpdbg%{php_suffix}.1*
2743 %defattr(644,root,root,755)
2744 %doc EXTENSIONS LICENSE NEWS UPGRADING* Zend/{LICENSE.Zend,README*} php.ini-* .gdbinit
2746 %dir %{_sysconfdir}/conf.d
2747 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2748 %attr(755,root,root) %{_libdir}/libphp_common%{php_suffix}-*.so
2750 %dir %{php_extensiondir}
2752 %doc ext/session/mod_files.sh
2755 %defattr(644,root,root,755)
2756 %doc CODING_STANDARDS.md docs/*.md
2757 %attr(755,root,root) %{_bindir}/ext_skel.php
2758 %attr(755,root,root) %{_bindir}/phpize%{php_suffix}
2759 %attr(755,root,root) %{_bindir}/php-config%{php_suffix}
2760 %ghost %{_bindir}/phpize
2761 %ghost %{_bindir}/php-config
2762 %attr(755,root,root) %{_libdir}/libphp_common%{php_suffix}.so
2763 %{_libdir}/libphp_common%{php_suffix}.la
2764 %{_includedir}/php/php%{php_suffix}
2765 %{_libdir}/php/php%{php_suffix}/build
2766 %{_mandir}/man1/php-config%{php_suffix}.1*
2767 %ghost %{_mandir}/man1/php-config.1*
2768 %{_mandir}/man1/phpize%{php_suffix}.1*
2769 %ghost %{_mandir}/man1/phpize.1*
2773 %defattr(644,root,root,755)
2774 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_bcmath.ini
2775 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2780 %defattr(644,root,root,755)
2781 %doc ext/bz2/CREDITS
2782 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_bz2.ini
2783 %attr(755,root,root) %{php_extensiondir}/bz2.so
2786 %if %{with calendar}
2788 %defattr(644,root,root,755)
2789 %doc ext/calendar/CREDITS
2790 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_calendar.ini
2791 %attr(755,root,root) %{php_extensiondir}/calendar.so
2796 %defattr(644,root,root,755)
2797 %doc ext/calendar/CREDITS
2798 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_ctype.ini
2799 %attr(755,root,root) %{php_extensiondir}/ctype.so
2804 %defattr(644,root,root,755)
2805 %doc ext/curl/CREDITS
2806 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_curl.ini
2807 %attr(755,root,root) %{php_extensiondir}/curl.so
2812 %defattr(644,root,root,755)
2813 %doc ext/dba/CREDITS
2814 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_dba.ini
2815 %attr(755,root,root) %{php_extensiondir}/dba.so
2820 %defattr(644,root,root,755)
2821 %doc ext/dom/CREDITS
2822 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_dom.ini
2823 %attr(755,root,root) %{php_extensiondir}/dom.so
2828 %defattr(644,root,root,755)
2829 %doc ext/enchant/CREDITS
2830 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_enchant.ini
2831 %attr(755,root,root) %{php_extensiondir}/enchant.so
2836 %defattr(644,root,root,755)
2837 %doc ext/exif/CREDITS
2838 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_exif.ini
2839 %attr(755,root,root) %{php_extensiondir}/exif.so
2844 %defattr(644,root,root,755)
2845 %doc ext/ffi/CREDITS
2846 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_ffi.ini
2847 %attr(755,root,root) %{php_extensiondir}/ffi.so
2850 %if %{with fileinfo}
2852 %defattr(644,root,root,755)
2853 %doc ext/fileinfo/CREDITS
2854 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_fileinfo.ini
2855 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
2860 %defattr(644,root,root,755)
2861 %doc ext/filter/CREDITS
2862 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_filter.ini
2863 %attr(755,root,root) %{php_extensiondir}/filter.so
2868 %defattr(644,root,root,755)
2869 %doc ext/ftp/CREDITS
2870 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_ftp.ini
2871 %attr(755,root,root) %{php_extensiondir}/ftp.so
2876 %defattr(644,root,root,755)
2878 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_gd.ini
2879 %attr(755,root,root) %{php_extensiondir}/gd.so
2884 %defattr(644,root,root,755)
2885 %doc ext/gettext/CREDITS
2886 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_gettext.ini
2887 %attr(755,root,root) %{php_extensiondir}/gettext.so
2892 %defattr(644,root,root,755)
2893 %doc ext/gmp/CREDITS
2894 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_gmp.ini
2895 %attr(755,root,root) %{php_extensiondir}/gmp.so
2900 %defattr(644,root,root,755)
2901 %doc ext/iconv/CREDITS
2902 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_iconv.ini
2903 %attr(755,root,root) %{php_extensiondir}/iconv.so
2908 %defattr(644,root,root,755)
2909 %doc ext/imap/CREDITS
2910 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_imap.ini
2911 %attr(755,root,root) %{php_extensiondir}/imap.so
2916 %defattr(644,root,root,755)
2917 %doc ext/intl/CREDITS
2918 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_intl.ini
2919 %attr(755,root,root) %{php_extensiondir}/intl.so
2924 %defattr(644,root,root,755)
2925 %doc ext/json/CREDITS
2926 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_json.ini
2927 %attr(755,root,root) %{php_extensiondir}/json.so
2932 %defattr(644,root,root,755)
2933 %doc ext/ldap/CREDITS
2934 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_ldap.ini
2935 %attr(755,root,root) %{php_extensiondir}/ldap.so
2938 %if %{with mbstring}
2940 %defattr(644,root,root,755)
2941 %doc ext/mbstring/CREDITS
2942 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_mbstring.ini
2943 %attr(755,root,root) %{php_extensiondir}/mbstring.so
2948 %defattr(644,root,root,755)
2949 %doc ext/mysqli/CREDITS
2950 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_mysqli.ini
2951 %attr(755,root,root) %{php_extensiondir}/mysqli.so
2956 %defattr(644,root,root,755)
2957 %doc ext/mysqlnd/CREDITS
2958 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_mysqlnd.ini
2959 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
2964 %defattr(644,root,root,755)
2965 %doc ext/oci8/{CREDITS,README}
2966 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_oci8.ini
2967 %attr(755,root,root) %{php_extensiondir}/oci8.so
2972 %defattr(644,root,root,755)
2973 %doc ext/odbc/CREDITS
2974 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_odbc.ini
2975 %attr(755,root,root) %{php_extensiondir}/odbc.so
2980 %defattr(644,root,root,755)
2981 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_opcache.ini
2982 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/opcache.ini
2983 %attr(755,root,root) %{php_extensiondir}/opcache.so
2988 %defattr(644,root,root,755)
2989 %doc ext/openssl/CREDITS
2990 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_openssl.ini
2991 %attr(755,root,root) %{php_extensiondir}/openssl.so
2996 %defattr(644,root,root,755)
2997 %doc ext/pcntl/CREDITS
2998 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pcntl.ini
2999 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3004 %defattr(644,root,root,755)
3005 %doc ext/pdo/CREDITS
3006 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pdo.ini
3007 %attr(755,root,root) %{php_extensiondir}/pdo.so
3010 %if %{with pdo_dblib}
3012 %defattr(644,root,root,755)
3013 %doc ext/pdo_dblib/CREDITS
3014 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pdo_dblib.ini
3015 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3018 %if %{with pdo_firebird}
3020 %defattr(644,root,root,755)
3021 %doc ext/pdo_firebird/CREDITS
3022 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pdo_firebird.ini
3023 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3026 %if %{with pdo_mysql}
3028 %defattr(644,root,root,755)
3029 %doc ext/pdo_mysql/CREDITS
3030 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pdo_mysql.ini
3031 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3036 %defattr(644,root,root,755)
3037 %doc ext/pdo_oci/CREDITS
3038 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pdo_oci.ini
3039 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3042 %if %{with pdo_odbc}
3044 %defattr(644,root,root,755)
3045 %doc ext/pdo_odbc/CREDITS
3046 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pdo_odbc.ini
3047 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3050 %if %{with pdo_pgsql}
3052 %defattr(644,root,root,755)
3053 %doc ext/pdo_pgsql/CREDITS
3054 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pdo_pgsql.ini
3055 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3058 %if %{with pdo_sqlite}
3060 %defattr(644,root,root,755)
3061 %doc ext/pdo_sqlite/CREDITS
3062 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pdo_sqlite.ini
3063 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3068 %defattr(644,root,root,755)
3069 %doc ext/pgsql/CREDITS
3070 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pgsql.ini
3071 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3076 %defattr(644,root,root,755)
3077 %doc ext/phar/CREDITS
3078 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_phar.ini
3079 %attr(755,root,root) %{php_extensiondir}/phar.so
3080 %attr(755,root,root) %{_bindir}/phar%{php_suffix}.phar
3081 %{_mandir}/man1/phar%{php_suffix}.1*
3082 %ghost %{_bindir}/phar
3083 %ghost %{_mandir}/man1/phar.1*
3088 %defattr(644,root,root,755)
3089 %doc ext/posix/CREDITS
3090 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_posix.ini
3091 %attr(755,root,root) %{php_extensiondir}/posix.so
3096 %defattr(644,root,root,755)
3097 %doc ext/pspell/CREDITS
3098 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_pspell.ini
3099 %attr(755,root,root) %{php_extensiondir}/pspell.so
3102 %if %{with readline}
3104 %defattr(644,root,root,755)
3105 %doc ext/readline/CREDITS
3106 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/??_readline.ini
3107 %attr(755,root,root) %{php_extensiondir}/readline.so
3112 %defattr(644,root,root,755)
3113 %doc ext/session/CREDITS
3114 %doc ext/session/mod_files.sh
3115 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_session.ini
3116 %attr(755,root,root) %{php_extensiondir}/session.so
3120 %defattr(644,root,root,755)
3121 %doc ext/shmop/CREDITS
3122 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_shmop.ini
3123 %attr(755,root,root) %{php_extensiondir}/shmop.so
3126 %defattr(644,root,root,755)
3127 %doc ext/simplexml/CREDITS
3128 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_simplexml.ini
3129 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3133 %defattr(644,root,root,755)
3134 %doc ext/snmp/CREDITS
3135 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_snmp.ini
3136 %attr(755,root,root) %{php_extensiondir}/snmp.so
3140 %defattr(644,root,root,755)
3141 %doc ext/soap/CREDITS
3142 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_soap.ini
3143 %attr(755,root,root) %{php_extensiondir}/soap.so
3146 %defattr(644,root,root,755)
3147 %doc ext/sockets/CREDITS
3148 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_sockets.ini
3149 %attr(755,root,root) %{php_extensiondir}/sockets.so
3153 %defattr(644,root,root,755)
3154 %doc ext/sodium/{README.md,CREDITS}
3155 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_sodium.ini
3156 %attr(755,root,root) %{php_extensiondir}/sodium.so
3161 %defattr(644,root,root,755)
3162 %doc ext/sqlite3/CREDITS
3163 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_sqlite3.ini
3164 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3168 %defattr(644,root,root,755)
3169 %doc ext/sysvmsg/CREDITS
3170 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_sysvmsg.ini
3171 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3174 %defattr(644,root,root,755)
3175 %doc ext/sysvsem/CREDITS
3176 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_sysvsem.ini
3177 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3180 %defattr(644,root,root,755)
3181 %doc ext/sysvshm/CREDITS
3182 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_sysvshm.ini
3183 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3186 %defattr(644,root,root,755)
3187 %dir %{php_datadir}/tests
3188 %dir %{php_datadir}/tests/php
3189 %{php_datadir}/tests/php/basic
3190 %{php_datadir}/tests/php/classes
3191 %{php_datadir}/tests/php/func
3192 %{php_datadir}/tests/php/lang
3193 %{php_datadir}/tests/php/output
3194 %{php_datadir}/tests/php/run-test
3195 %{php_datadir}/tests/php/security
3196 %{php_datadir}/tests/php/strings
3197 %{php_datadir}/tests/php/quicktester.inc
3198 %attr(755,root,root) %{php_datadir}/tests/php/run-tests.php
3202 %defattr(644,root,root,755)
3203 %doc ext/tidy/CREDITS
3204 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_tidy.ini
3205 %attr(755,root,root) %{php_extensiondir}/tidy.so
3209 %defattr(644,root,root,755)
3210 %doc ext/tokenizer/CREDITS
3211 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_tokenizer.ini
3212 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3215 %defattr(644,root,root,755)
3216 %doc ext/xml/CREDITS
3217 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_xml.ini
3218 %attr(755,root,root) %{php_extensiondir}/xml.so
3221 %defattr(644,root,root,755)
3222 %doc ext/xmlreader/CREDITS
3223 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_xmlreader.ini
3224 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3228 %defattr(644,root,root,755)
3229 %doc ext/xmlrpc/CREDITS
3230 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_xmlrpc.ini
3231 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3235 %defattr(644,root,root,755)
3236 %doc ext/xmlwriter/CREDITS
3237 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_xmlwriter.ini
3238 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3242 %defattr(644,root,root,755)
3243 %doc ext/xsl/CREDITS
3244 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_xsl.ini
3245 %attr(755,root,root) %{php_extensiondir}/xsl.so
3250 %defattr(644,root,root,755)
3251 %doc ext/zip/{CREDITS,examples}
3252 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_zip.ini
3253 %attr(755,root,root) %{php_extensiondir}/zip.so
3257 %defattr(644,root,root,755)
3258 %doc ext/zlib/CREDITS
3259 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_zlib.ini
3260 %attr(755,root,root) %{php_extensiondir}/zlib.so