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_with milter # disable Milter SAPI
16 %bcond_without phpdbg # disable phpdbg SAPI
18 %bcond_without bcmath # without bcmath extension module
19 %bcond_without bz2 # without bz2 extension module
20 %bcond_without calendar # without calendar extension module
21 %bcond_without ctype # without ctype extension module
22 %bcond_without curl # without CURL extension module
23 %bcond_without dba # without DBA extension module
24 %bcond_without dom # without DOM extension module
25 %bcond_without enchant # without Enchant extension module
26 %bcond_without exif # without EXIF 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 hash # without hash extension module
34 %bcond_without iconv # without iconv extension module
35 %bcond_without imap # without IMAP extension module
36 %bcond_without interbase # without InterBase extension module
37 %bcond_without intl # without Intl extension module
38 %bcond_without json # without json extension module
39 %bcond_without ldap # without LDAP extension module
40 %bcond_without mbstring # without mbstring extension module
41 %bcond_without mhash # without mhash extension (supported by hash extension)
42 %bcond_without mysqli # without mysqli support (Requires mysql >= 4.1)
43 %bcond_without mysqlnd # without mysqlnd support in mysql related extensions
44 %bcond_with oci # with Oracle oci8 extension module (BR: proprietary libs)
45 %bcond_without odbc # without ODBC extension module
46 %bcond_without opcache # without Enable Zend OPcache extension support
47 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
48 %bcond_without pcntl # without pcntl extension module
49 %bcond_without pcre # without PCRE extension module
50 %bcond_without pdo # without PDO extension module
51 %bcond_without pdo_dblib # without PDO dblib extension module
52 %bcond_without pdo_mysql # without PDO MySQL extension module
53 %bcond_without pdo_sqlite # without PDO SQLite extension module
54 %bcond_without pgsql # without PostgreSQL extension module
55 %bcond_without phar # without Phar extension module
56 %bcond_without posix # without POSIX extension module
57 %bcond_without pspell # without pspell extension module
58 %bcond_without readline # without readline extension module
59 %bcond_without recode # without recode extension module
60 %bcond_without session # without session extension module
61 %bcond_without snmp # without SNMP extension module
62 %bcond_without sodium # without sodium extension module
63 %bcond_without sqlite2 # without SQLite extension module
64 %bcond_without sqlite3 # without SQLite3 extension module
65 %bcond_without tidy # without Tidy extension module
66 %bcond_without wddx # without WDDX 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 apxs1 /usr/sbin/apxs1
79 %define apxs2 /usr/sbin/apxs
83 %undefine with_apache2
85 %undefine with_litespeed
88 # mm is not thread safe
94 %if %{with milter} && %{without zts}
98 %ifnarch %{ix86} %{x8664} x32 sparc sparcv9 alpha
99 # ppc disabled (broken on th-ppc)
100 %undefine with_interbase
103 %ifnarch %{ix86} %{x8664} x32
104 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
108 # filter depends on pcre
110 %undefine with_filter
114 %define php_suffix 72
115 Summary: PHP: Hypertext Preprocessor
116 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
117 Summary(pl.UTF-8): Język skryptowy PHP
118 Summary(pt_BR.UTF-8): A linguagem de script PHP
119 Summary(ru.UTF-8): PHP Версии 7 - язык препроцессирования HTML-файлов, выполняемый на сервере
120 Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері
121 Name: %{orgname}%{php_suffix}
125 # All files licensed under PHP version 3.01, except
126 # Zend is licensed under Zend
127 # TSRM is licensed under BSD
128 License: PHP 3.01 and Zend and BSD
130 Source0: http://php.net/distributions/%{orgname}-%{version}.tar.xz
131 # Source0-md5: 50648a305a247164023f1fbe8e4d58d8
133 Source2: %{orgname}-mod_php.conf
134 Source3: %{orgname}-cgi-fcgi.ini
135 Source4: %{orgname}-apache.ini
136 Source5: %{orgname}-cli.ini
137 Source10: %{orgname}-fpm.init
138 Source11: %{orgname}-fpm.logrotate
139 Source12: %{orgname}-branch.sh
140 Source13: dep-tests.sh
141 Source14: skip-tests.sh
142 Patch0: %{orgname}-shared.patch
143 Patch1: %{orgname}-tld.patch
144 Patch3: %{orgname}-link-libs.patch
145 Patch4: intl-stdc++.patch
146 Patch5: %{orgname}-filter-shared.patch
147 Patch6: %{orgname}-build_modules.patch
148 Patch7: %{orgname}-sapi-ini-file.patch
150 Patch9: libtool-tag.patch
151 Patch10: %{orgname}-ini.patch
153 Patch14: %{orgname}-no_pear_install.patch
154 Patch17: %{orgname}-readline.patch
155 Patch18: %{orgname}-nohttpd.patch
156 Patch21: %{orgname}-dba-link.patch
157 Patch22: %{orgname}-both-apxs.patch
158 Patch23: %{orgname}-paths.patch
159 Patch24: %{orgname}-zlib-for-getimagesize.patch
160 Patch25: %{orgname}-stupidapache_version.patch
161 Patch26: %{orgname}-pear.patch
162 Patch27: %{orgname}-config-dir.patch
163 Patch29: %{orgname}-fcgi-graceful.patch
164 Patch31: %{orgname}-fcgi-error_log-no-newlines.patch
165 Patch34: %{orgname}-libtool.patch
166 Patch37: %{orgname}-mysqli-charsetphpini.patch
167 Patch38: %{orgname}-pdo_mysql-charsetphpini.patch
168 Patch39: %{orgname}-use-prog_sendmail.patch
169 Patch41: %{orgname}-fpm-config.patch
170 Patch42: %{orgname}-fpm-shared.patch
171 Patch43: %{orgname}-silent-session-cleanup.patch
172 Patch44: %{orgname}-include_path.patch
173 Patch50: extension-shared-optional-dep.patch
174 Patch51: spl-shared.patch
175 Patch52: pcre-shared.patch
176 Patch53: fix-test-run.patch
177 Patch55: bug-52078-fileinode.patch
178 Patch59: %{orgname}-systzdata.patch
179 Patch66: php-db.patch
180 Patch67: mysql-lib-ver-mismatch.patch
181 Patch69: fpm-conf-split.patch
182 Patch70: mysqlnd-ssl.patch
183 Patch71: libdb-info.patch
184 Patch72: phar-hash-shared.patch
186 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
187 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
188 BuildRequires: autoconf >= 2.59
189 BuildRequires: automake >= 1.4d
191 BuildRequires: bzip2-devel >= 1.0.0
192 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
193 BuildRequires: cyrus-sasl-devel >= 2
194 BuildRequires: db-devel >= 4.0
195 BuildRequires: elfutils-devel
196 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
197 %{?with_kerberos5:BuildRequires: heimdal-devel}
198 %if %{with pdo_dblib}
199 BuildRequires: freetds-devel >= 0.82
201 BuildRequires: freetype-devel >= 1:2.5.1
202 %if %{with system_gd}
203 BuildRequires: gd-devel >= 2.1
205 BuildRequires: gdbm-devel
206 BuildRequires: gmp-devel >= 4.2
207 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
208 %{?with_gcov:BuildRequires: lcov}
209 %{?with_fpm:BuildRequires: libapparmor-devel}
210 %{?with_argon2:BuildRequires: libargon2-devel >= 20161029}
211 %{?with_intl:BuildRequires: libicu-devel >= 4.4}
212 BuildRequires: libjpeg-devel
213 BuildRequires: libltdl-devel >= 1.4
214 BuildRequires: libpng-devel >= 1.0.8
215 %{?with_sodium:BuildRequires: libsodium-devel >= 1.0.8}
216 %{?with_intl:BuildRequires: libstdc++-devel}
217 %{?with_webp:BuildRequires: libwebp-devel}
218 BuildRequires: libtool >= 2:2.4.6
219 BuildRequires: libxml2-devel >= 1:2.7.6-4
220 %{?with_xsl:BuildRequires: libxslt-devel >= 1.1.0}
221 %{?with_zip:BuildRequires: libzip-devel >= 1.3.1}
222 %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
223 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
224 %{!?with_mysqli:BuildRequires: mysql-devel >= 4.1.13}
225 %{!?with_pdo_mysql:BuildRequires: mysql-devel}
226 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.3}
227 BuildRequires: oniguruma-devel
228 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
229 %if %{with openssl} || %{with ldap}
230 BuildRequires: openssl-devel >= 1.0.1
232 %{?with_oci:%{?with_instantclient:BuildRequires: oracle-instantclient-devel}}
233 BuildRequires: pam-devel
234 %{?with_pcre:BuildRequires: pcre-devel >= 8.10}
235 BuildRequires: pkgconfig
236 %{?with_pgsql:BuildRequires: postgresql-devel}
237 BuildRequires: readline-devel
238 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
239 BuildRequires: rpm >= 4.4.9-56
240 BuildRequires: rpm-build >= 4.4.0
241 BuildRequires: rpmbuild(macros) >= 1.566
242 BuildRequires: sed >= 4.0
243 %if %{with sqlite3} || %{with pdo_sqlite}
244 BuildRequires: sqlite3-devel >= 3.3.9
246 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
247 BuildRequires: tar >= 1:1.22
248 %{?with_tidy:BuildRequires: tidy-devel}
249 BuildRequires: tokyocabinet-devel
250 %{?with_odbc:BuildRequires: unixODBC-devel}
251 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
253 BuildRequires: zlib-devel >= 1.2.0.4
255 BuildRequires: apache-devel >= 2.0.52-2
256 BuildRequires: apr-devel >= 1:1.0.0
257 BuildRequires: apr-util-devel >= 1:1.0.0
259 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
261 %define php_sysconfdir /etc/%{name}
262 %define php_extensiondir %{_libdir}/%{name}
263 %define php_datadir /usr/share/php/%{name}
264 %define _sysconfdir %{php_sysconfdir}
266 # must be in sync with source. extra check ensuring that it is so is done in %%build
267 %define php_api_version 20170718
268 %define zend_module_api 20170718
269 %define zend_extension_api 320170718
270 %define php_pdo_api_version 20170320
274 %define enchantver %{version}
275 %define fileinfover 1.0.5
277 %define intlver 1.1.0
278 %define jsonver 1.6.0
279 %define pharver 2.0.2
280 %define sqlite3ver %{version}
281 %define zipver 1.15.4
282 %define phpdbgver 0.5.0
283 %define sodiumver %{version}
285 %define _zend_zts %{!?with_zts:0}%{?with_zts:1}
286 %define php_debug %{!?with_debug:0}%{?with_debug:1}
289 %undefine with_ccache
293 # ORACLE_HOME is required for oci8 ext to build
294 %define _preserve_env %_preserve_env_base ORACLE_HOME
298 PHP is an HTML-embedded scripting language. PHP attempts to make it
299 easy for developers to write dynamically generated web pages. PHP also
300 offers built-in database integration for several commercial and
301 non-commercial database management systems, so writing a
302 database-enabled web page with PHP is fairly simple. The most common
303 use of PHP coding is probably as a replacement for CGI scripts. The
304 mod_php module enables the Apache web server to understand and process
305 the embedded PHP language in web pages. This package contains PHP
308 %description -l fr.UTF-8
309 PHP est un langage de script embarque dans le HTM. PHP essaye de
310 rendre simple aux developpeurs d'ecrire des pages web generees
311 dynamiquement. PHP incorpore egalement une integration avec plusieurs
312 systemes de gestion de bases de donnees commerciaux et
313 non-connerciaux, qui rent facile la creation de pages web liees avec
314 des bases de donnees. L'utilisation la plus commune de PHP est
315 probablement en remplacement de scripts CGI. Le module mod_php permet
316 au serveur web Apache de comprendre et de traiter le langage PHP
317 integre dans des pages web. Ce package contient PHP version
320 %description -l pl.UTF-8
321 PHP jest językiem skryptowym, którego polecenia umieszcza się w
322 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
323 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
324 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
325 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
326 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
327 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
328 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
331 %description -l pt_BR.UTF-8
332 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
333 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
334 com algumas características únicas, específicas ao PHP. O objetivo da
335 linguagem é permitir que desenvolvedores web escrevam páginas
336 dinamicamente geradas de forma rápida.
338 %description -l ru.UTF-8
339 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
340 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
341 для работы с базами данных относительно просто. Наиболее популярное
342 использование PHP - замена для CGI скриптов.
344 %description -l uk.UTF-8
345 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
346 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
347 роботи з базами даних є доволі простим. Найбільш популярне
348 використання PHP - заміна для CGI скриптів.
350 %package -n apache-mod_%{name}
351 Summary: PHP DSO module for Apache 2.x
352 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
353 Group: Development/Languages/PHP
354 Requires: %{name}-common = %{epoch}:%{version}-%{release}
355 Requires: apache(modules-api) = %{apache_modules_api}
356 Requires: apache-mod_mime
357 Provides: webserver(php) = %{version}
358 Obsoletes: apache-mod_php < 4:5.3.28-7
361 %description -n apache-mod_%{name}
362 PHP as DSO module for Apache 2.x.
364 %description -n apache-mod_%{name} -l pl.UTF-8
365 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
368 Summary: PHP for litespeed HTTP server
369 Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
370 Group: Development/Languages/PHP
371 Requires: %{name}-common = %{epoch}:%{version}-%{release}
372 Provides: php(litespeed)
373 Provides: webserver(php) = %{version}
374 Obsoletes: php-litespeed < 4:5.3.28-7
376 %description litespeed
377 PHP for litespeed HTTP server.
379 %description litespeed -l pl.UTF-8
380 PHP dla serwera HTTP litespeed.
383 Summary: PHP as CGI/FastCGI program
384 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
385 Group: Development/Languages/PHP
386 Requires: %{name}-common = %{epoch}:%{version}-%{release}
387 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
390 Provides: webserver(php) = %{version}
391 Obsoletes: php-cgi < 4:5.3.28-7
392 Obsoletes: php-fcgi < 4:5.3.0
395 PHP as CGI or FastCGI program.
397 %description cgi -l pl.UTF-8
398 PHP jako program CGI lub FastCGI.
401 Summary: PHP as CLI interpreter
402 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
403 Group: Development/Languages/PHP
404 Requires: %{name}-common = %{epoch}:%{version}-%{release}
405 Requires: alternatives
406 Obsoletes: php-cli < 4:5.3.28-7
409 PHP as CLI interpreter.
411 %description cli -l pl.UTF-8
412 PHP jako interpreter działający z linii poleceń.
415 Summary: PHP library for embedding in applications
416 Summary(pl.UTF-8): Biblioteka PHP do osadzania w aplikacjach
418 Requires: %{name}-common = %{epoch}:%{version}-%{release}
419 Obsoletes: php-embedded < 4:5.3.28-7
421 %description embedded
422 The php-embedded package contains a library which can be embedded into
423 applications to provide PHP scripting language support.
425 %description embedded -l pl.UTF-8
426 Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
427 celu obsługi PHP jako języka skryptowego.
430 Summary: PHP FastCGI Process Manager
431 Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
432 Group: Development/Languages/PHP
433 URL: http://php-fpm.org/
434 Requires(post,preun): /sbin/chkconfig
435 Requires(postun): /usr/sbin/userdel
436 Requires(pre): /bin/id
437 Requires(pre): /usr/sbin/useradd
438 Requires: %{name}-common = %{epoch}:%{version}-%{release}
439 Requires: alternatives
440 Requires: php-dirs >= 1.4-2
445 Provides: webserver(php) = %{version}
446 Obsoletes: php-fpm < 4:5.3.28-7
447 Conflicts: logrotate < 3.8.0
450 PHP FastCGI Process Manager.
452 %description fpm -l pl.UTF-8
453 PHP FastCGI Process Manager - zarządca procesów FastCGI.
456 Summary: The debugging platform for PHP 5.4+
457 Summary(pl.UTF-8): Platforma diagnostyczna dla PHP 5.4+
458 Group: Development/Languages/PHP
459 Requires: %{name}-common = %{epoch}:%{version}-%{release}
460 Provides: php(phpdbg) = %{phpdbgver}
463 phpdbg - The interactive PHP debugger.
465 Implemented as a SAPI module, phpdbg can excert complete control over
466 the environment without impacting the functionality or performance of
469 phpdbg aims to be a lightweight, powerful, easy to use debugging
470 platform for PHP 5.4+
472 %description phpdbg -l pl.UTF-8
473 phpdbg - interaktywny debugger dla PHP.
475 Jest zaimplementowany jako moduł SAPI, potrafi przejąć pełną kontrolę
476 nad środowiskiem bez wpływu na zachowanie lub wydajność kodu.
478 Narzędzie powstało jako lekka, mająca duże możliwości, łatwa w użyciu
479 platforma diagnostyczna dla PHP 5.4+.
482 Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
483 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
484 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
485 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
487 Requires(post): sed >= 4.0
488 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
489 Requires: glibc >= 6:2.3.5
490 Requires: php-dirs >= 1.4
491 Requires: rpm-whiteout >= 1.28
493 Requires: zlib >= 1.2.0.4
494 Provides: %{name}(debug) = %{php_debug}
495 Provides: %{name}(modules_api) = %{php_api_version}
496 Provides: %{name}(thread-safety) = %{_zend_zts}
497 Provides: %{name}(zend_extension_api) = %{zend_extension_api}
498 Provides: %{name}(zend_module_api) = %{zend_module_api}
499 Provides: %{name}-core
500 Provides: %{name}-date
501 Provides: %{name}-reflection
502 Provides: %{name}-standard
503 Provides: php(core) = %{version}
505 Provides: php(libxml)
506 Provides: php(reflection)
507 Provides: php(standard)
508 %{!?with_mysqlnd:Obsoletes: %{name}-mysqlnd}
509 %{?with_pcre:%requires_ge_to pcre pcre-devel}
511 Obsoletes: php-common < 4:5.3.28-7
513 Obsoletes: php-filepro < 4:5.2.0
514 Obsoletes: php-hwapi < 4:5.2.0
515 Obsoletes: php-hyperwave < 3:5.0.0
516 Obsoletes: php-java < 3:5.0.0
517 Obsoletes: php-mcal < 3:5.0.0
518 Obsoletes: php-pecl-domxml
519 Obsoletes: php-qtdom < 3:5.0.0
520 Conflicts: php4-common < 3:4.4.4-8
521 Conflicts: php55-common < 4:5.5.10-4
522 Conflicts: rpm < 4.4.2-0.2
525 Common files needed by both Apache modules and CGI/CLI SAPIs.
527 %description common -l pl.UTF-8
528 Wspólne pliki dla modułu Apache'a i programu CGI.
530 %description common -l ru.UTF-8
531 Этот пакет содержит общие файлы для разных вариантов реализации PHP
532 (самодостаточной и в качестве модуля Apache).
534 %description common -l uk.UTF-8
535 Цей пакет містить спільні файли для різних варіантів реалізації PHP
536 (самодостатньої та в якості модуля Apache).
539 Summary: Files for PHP modules development
540 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
541 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
542 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
543 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
544 Group: Development/Languages/PHP
545 Requires: %{name}-common = %{epoch}:%{version}-%{release}
546 Requires: autoconf >= 2.13
548 Requires: libtool >= 2:2.4.6
549 %{?with_pcre:Requires: pcre-devel >= 8.10}
551 Provides: php-devel = %{epoch}:%{version}-%{release}
552 Obsoletes: php-pear-devel
553 Obsoletes: php4-devel
554 Obsoletes: php52-devel
555 Obsoletes: php53-devel
556 Obsoletes: php54-devel
557 Obsoletes: php55-devel
560 The php-devel package lets you compile dynamic extensions to PHP.
561 Included here is the source for the PHP extensions. Instead of
562 recompiling the whole PHP binary to add support for, say, oracle,
563 install this package and use the new self-contained extensions
564 support. For more information, read the file
565 README.SELF-CONTAINED-EXTENSIONS.
567 %description devel -l pl.UTF-8
568 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
569 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
570 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
571 samodzielnych rozszerzeniach można znaleźć w pliku
572 README.SELF-CONTAINED-EXTENSIONS.
574 %description devel -l pt_BR.UTF-8
575 Este pacote contém arquivos usados no desenvolvimento de programas ou
578 %description devel -l ru.UTF-8
579 Пакет php-devel дает возможность компилировать динамические расширения
580 PHP. Пакет включает исходный код этих расширений. Вместо повторной
581 компиляции бинарного файла PHP для добавления, например, поддержки
582 oracle, установите этот пакет для компилирования отдельных расширений.
583 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
585 %description devel -l uk.UTF-8
586 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
587 До пакету включено вихідний код для розширень. Замість повторної
588 компіляції бінарного файлу PHP для додання, наприклад, підтримки
589 oracle, встановіть цей пакет для компіляції окремих розширень.
590 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
593 Summary: bcmath extension module for PHP
594 Summary(pl.UTF-8): Moduł bcmath dla PHP
596 URL: http://php.net/manual/en/book.bc.php
597 Requires: %{name}-common = %{epoch}:%{version}-%{release}
598 Provides: php(bcmath)
599 Obsoletes: php-bcmath < 4:5.3.28-7
602 This is a dynamic shared object (DSO) for PHP that will add bc style
603 precision math functions support.
605 %description bcmath -l pl.UTF-8
606 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
607 matematycznych takich jak w programie bc.
610 Summary: Bzip2 extension module for PHP
611 Summary(pl.UTF-8): Moduł bzip2 dla PHP
613 URL: http://php.net/manual/en/book.bzip2.php
614 Requires: %{name}-common = %{epoch}:%{version}-%{release}
615 Requires: bzip2-libs >= 1.0.0
616 Provides: php(bz2) = %{bz2ver}
618 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
619 Obsoletes: php-bz2 < 4:5.3.28-7
620 Obsoletes: php-bzip2 < 4:5.2.14-3
621 Obsoletes: php-pecl-bz2 < %{bz2ver}
624 This is a dynamic shared object (DSO) for PHP that will add bzip2
625 compression support to PHP.
627 %description bz2 -l pl.UTF-8
628 Moduł PHP umożliwiający używanie kompresji bzip2.
631 Summary: Calendar extension module for PHP
632 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
634 URL: http://php.net/manual/en/book.calendar.php
635 Requires: %{name}-common = %{epoch}:%{version}-%{release}
636 Provides: php(calendar)
637 Obsoletes: php-calendar < 4:5.3.28-7
639 %description calendar
640 This is a dynamic shared object (DSO) for PHP that will add calendar
643 %description calendar -l pl.UTF-8
644 Moduł PHP dodający wsparcie dla kalendarza.
647 Summary: ctype extension module for PHP
648 Summary(pl.UTF-8): Moduł ctype dla PHP
650 URL: http://php.net/manual/en/book.ctype.php
651 Requires: %{name}-common = %{epoch}:%{version}-%{release}
653 Obsoletes: php-ctype < 4:5.3.28-7
656 This is a dynamic shared object (DSO) for PHP that will add ctype
659 %description ctype -l pl.UTF-8
660 Moduł PHP umożliwiający korzystanie z funkcji ctype.
663 Summary: curl extension module for PHP
664 Summary(pl.UTF-8): Moduł curl dla PHP
666 URL: http://php.net/manual/en/book.curl.php
667 Requires: %{name}-common = %{epoch}:%{version}-%{release}
668 Requires: curl-libs >= 7.12.0
670 Obsoletes: php-curl < 4:5.3.28-7
673 This is a dynamic shared object (DSO) for PHP that will add curl
676 %description curl -l pl.UTF-8
677 Moduł PHP umożliwiający korzystanie z biblioteki curl.
680 Summary: DBA extension module for PHP
681 Summary(pl.UTF-8): Moduł DBA dla PHP
683 URL: http://php.net/manual/en/book.dba.php
684 Requires: %{name}-common = %{epoch}:%{version}-%{release}
686 Obsoletes: php-dba < 4:5.3.28-7
687 # withdrawn module of similar functionality but different API
688 Obsoletes: php-db < 3:5.0.0
691 This is a dynamic shared object (DSO) for PHP that will add flat-file
692 databases (DBA) support.
694 %description dba -l pl.UTF-8
695 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
699 Summary: DOM extension module for PHP
700 Summary(pl.UTF-8): Moduł DOM dla PHP
702 URL: http://php.net/manual/en/book.dom.php
703 Requires: %{name}-common = %{epoch}:%{version}-%{release}
705 # it has some compatibility functions
706 Provides: %{name}-domxml = %{epoch}:%{version}-%{release}
707 Provides: php(domxml)
708 Obsoletes: php-dom < 4:5.3.28-7
709 Obsoletes: php-domxml <= 3:4.3.8-1
712 This is a dynamic shared object (DSO) for PHP that will add new DOM
715 %description dom -l pl.UTF-8
716 Moduł PHP dodający nową obsługę DOM.
719 Summary: libenchant binder
720 Summary(pl.UTF-8): dowiązania biblioteki libenchant
722 URL: http://php.net/manual/en/book.enchant.php
723 Requires: %{name}-common = %{epoch}:%{version}-%{release}
724 Provides: php(enchant) = %{enchantver}
725 Obsoletes: php-enchant < 4:5.3.28-7
726 Obsoletes: php-pecl-enchant < %{enchantver}
729 Enchant is a binder for libenchant. Libenchant provides a common API
730 for many spell libraries:
731 - aspell/pspell (intended to replace ispell)
734 - myspell (OpenOffice.org project, mozilla)
735 - uspell (primarily Yiddish, Hebrew, and Eastern European languages) A
736 plugin system allows to add custom spell support.
738 %description enchant -l pl.UTF-8
739 Enchant jest dowiązaniem do biblioteki libenchant, która udostępnia
740 ujednolicone API dla wielu narzędzi sprawdzających pisownię:
741 - aspell/pspell (w zamierzeniu ma zastąpić ispell)
744 - myspell (projekt OpenOffice.org, mozilla)
745 - uspell (głównie Jidysz, Hebrajski oraz języki wschodnioeuropejskie)
746 System wtyczek pozwala na dodanie wsparcia dla kolejnych narzędzi.
749 Summary: exif extension module for PHP
750 Summary(pl.UTF-8): Moduł exif dla PHP
752 URL: http://php.net/manual/en/book.exif.php
753 Requires: %{name}-common = %{epoch}:%{version}-%{release}
755 Obsoletes: php-exif < 4:5.3.28-7
758 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
759 support in image files.
761 %description exif -l pl.UTF-8
762 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
765 Summary: libmagic bindings
766 Summary(pl.UTF-8): Wiązania do libmagic
768 URL: http://php.net/manual/en/book.fileinfo.php
769 Requires: %{name}-common = %{epoch}:%{version}-%{release}
770 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
771 Provides: php(fileinfo) = %{fileinfover}
772 Obsoletes: php-fileinfo < 4:5.3.28-7
773 Obsoletes: php-mime_magic
774 Obsoletes: php-pecl-fileinfo < %{fileinfover}
776 %description fileinfo
777 This extension allows retrieval of information regarding vast majority
778 of file. This information may include dimensions, quality, length
781 Additionally it can also be used to retrieve the MIME type for a
782 particular file and for text files proper language encoding.
784 %description fileinfo -l pl.UTF-8
785 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
786 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
788 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
789 pliku oraz kodowania plików tekstowych.
792 Summary: Extension for safely dealing with input parameters
793 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
795 URL: http://php.net/manual/en/book.filter.php
796 Requires: %{name}-common = %{epoch}:%{version}-%{release}
797 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
798 Provides: php(filter)
799 Obsoletes: php-filter < 4:5.3.28-7
800 Obsoletes: php-pecl-filter
803 We all know that you should always check input variables, but PHP does
804 not offer really good functionality for doing this in a safe way. The
805 Input Filter extension is meant to address this issue by implementing
806 a set of filters and mechanisms that users can use to safely access
809 %description filter -l pl.UTF-8
810 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
811 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
812 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
813 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
814 mogą bezpiecznie używać do dostępu do danych.
817 Summary: FTP extension module for PHP
818 Summary(pl.UTF-8): Moduł FTP dla PHP
820 URL: http://php.net/manual/en/book.ftp.php
821 Requires: %{name}-common = %{epoch}:%{version}-%{release}
823 Obsoletes: php-ftp < 4:5.3.28-7
826 This is a dynamic shared object (DSO) for PHP that will add FTP
829 %description ftp -l pl.UTF-8
830 Moduł PHP dodający obsługę protokołu FTP.
833 Summary: GD extension module for PHP
834 Summary(pl.UTF-8): Moduł GD dla PHP
836 URL: http://php.net/manual/en/book.image.php
837 Requires: %{name}-common = %{epoch}:%{version}-%{release}
838 %if %{with system_gd}
843 Obsoletes: php-gd < 4:5.3.28-7
846 This is a dynamic shared object (DSO) for PHP that will add GD
847 support, allowing you to create and manipulate images with PHP.
849 %description gd -l pl.UTF-8
850 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
851 tworzenie i obróbkę obrazków.
854 Summary: gettext extension module for PHP
855 Summary(pl.UTF-8): Moduł gettext dla PHP
857 URL: http://php.net/manual/en/book.gettext.php
858 Requires: %{name}-common = %{epoch}:%{version}-%{release}
859 Provides: php(gettext)
860 Obsoletes: php-gettext < 4:5.3.28-7
863 This is a dynamic shared object (DSO) for PHP that will add gettext
866 %description gettext -l pl.UTF-8
867 Moduł PHP dodający obsługę lokalizacji przez gettext.
870 Summary: gmp extension module for PHP
871 Summary(pl.UTF-8): Moduł gmp dla PHP
873 URL: http://php.net/manual/en/book.gmp.php
874 Requires: %{name}-common = %{epoch}:%{version}-%{release}
877 Obsoletes: php-gmp < 4:5.3.28-7
880 This is a dynamic shared object (DSO) for PHP that will add arbitrary
881 length number support with GNU MP library.
883 %description gmp -l pl.UTF-8
884 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
885 liczbach o dowolnej długości.
888 Summary: HASH Message Digest Framework
889 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
891 URL: http://php.net/manual/en/book.gmp.php
892 Requires: %{name}-common = %{epoch}:%{version}-%{release}
893 Provides: php(hash) = %{hashver}
896 Provides: php-mhash = %{epoch}:%{version}-%{release}
897 Obsoletes: php-mhash < 4:5.3.0
899 Obsoletes: php-hash < 4:5.3.28-7
900 Obsoletes: php-pecl-hash < %{hashver}
903 Native implementations of common message digest algorithms using a
904 generic factory method.
906 %description hash -l pl.UTF-8
907 Natywne implementacje popularnych algorytmów obliczania skrótów
908 wiadomości przy użyciu wspólnego interfejsu.
911 Summary: iconv extension module for PHP
912 Summary(pl.UTF-8): Moduł iconv dla PHP
914 URL: http://php.net/manual/en/book.iconv.php
915 Requires: %{_libdir}/gconv
916 Requires: %{name}-common = %{epoch}:%{version}-%{release}
919 Obsoletes: php-iconv < 4:5.3.28-7
922 This is a dynamic shared object (DSO) for PHP that will add iconv
925 %description iconv -l pl.UTF-8
926 Moduł PHP dodający obsługę iconv.
929 Summary: IMAP extension module for PHP
930 Summary(pl.UTF-8): Moduł IMAP dla PHP
931 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
933 URL: http://php.net/manual/en/book.imap.php
934 Requires: %{name}-common = %{epoch}:%{version}-%{release}
935 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
936 Requires: imap-lib >= 1:2007e-2
938 Obsoletes: php-imap < 4:5.3.28-7
941 This is a dynamic shared object (DSO) for PHP that will add IMAP
944 %description imap -l pl.UTF-8
945 Moduł PHP dodający obsługę skrzynek IMAP.
947 %description imap -l pt_BR.UTF-8
948 Um módulo para aplicações PHP que usam IMAP.
951 Summary: InterBase/Firebird database module for PHP
952 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
954 URL: http://php.net/manual/en/book.ibase.php
955 %if %{with interbase_inst}
956 %{?requires_php_extension}
958 Requires: %{name}-common = %{epoch}:%{version}-%{release}
960 Provides: php(interbase)
961 Obsoletes: php-interbase < 4:5.3.28-7
963 %description interbase
964 This is a dynamic shared object (DSO) for PHP that will add InterBase
965 and Firebird database support.
967 %description interbase -l pl.UTF-8
968 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
971 Summary: Internationalization extension (ICU wrapper)
972 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
974 URL: http://php.net/intl
975 Requires: %{name}-common = %{epoch}:%{version}-%{release}
976 Provides: php(intl) = %{intlver}
977 Obsoletes: php-intl < 4:5.3.28-7
978 Obsoletes: php-pecl-intl < %{intlver}
981 Internationalization extension (further is referred as Intl) is a
982 wrapper for ICU library, enabling PHP programmers to perform
983 UCA-conformant collation and date/time/number/currency formatting in
986 %description intl -l pl.UTF-8
987 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
988 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
989 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
993 Summary: PHP C extension for JSON serialization
994 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
996 URL: http://php.net/manual/en/book.json.php
997 Requires: %{name}-common = %{epoch}:%{version}-%{release}
998 Provides: php(json) = %{jsonver}
999 Obsoletes: php-json < 4:5.3.28-7
1000 Obsoletes: php-pecl-json < %{jsonver}
1003 php-json is an extremely fast PHP C extension for JSON (JavaScript
1004 Object Notation) serialisation.
1006 %description json -l pl.UTF-8
1007 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
1008 (JavaScript Object Notation).
1011 Summary: LDAP extension module for PHP
1012 Summary(pl.UTF-8): Moduł LDAP dla PHP
1013 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
1015 URL: http://php.net/manual/en/book.ldap.php
1016 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1018 Obsoletes: php-ldap < 4:5.3.28-7
1021 This is a dynamic shared object (DSO) for PHP that will add LDAP
1024 %description ldap -l pl.UTF-8
1025 Moduł PHP dodający obsługę LDAP.
1027 %description ldap -l pt_BR.UTF-8
1028 Um módulo para aplicações PHP que usam LDAP.
1031 Summary: mbstring extension module for PHP
1032 Summary(pl.UTF-8): Moduł mbstring dla PHP
1034 URL: http://php.net/manual/en/book.mbstring.php
1035 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1036 Provides: php(mbstring)
1037 Obsoletes: php-mbstring < 4:5.3.28-7
1039 %description mbstring
1040 This is a dynamic shared object (DSO) for PHP that will add multibyte
1043 %description mbstring -l pl.UTF-8
1044 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1047 Summary: MySQLi module for PHP
1048 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1050 URL: http://php.net/manual/en/book.mysqli.php
1051 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1052 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1053 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1054 Requires: mysql-libs >= 4.1.13
1055 Provides: php(mysqli)
1056 Obsoletes: php-mysqli < 4:5.3.28-7
1059 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1060 (Improved MySQL) support. The difference between it and mysql module
1061 is that it provides access to functionality of MySQL 4.1 and above.
1063 %description mysqli -l pl.UTF-8
1064 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1065 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1066 MySQL w wersji 4.1 i nowszych.
1069 Summary: MySQL Native Client Driver for PHP
1070 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1072 URL: http://php.net/manual/en/book.mysqlnd.php
1073 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1074 Provides: php(mysqlnd)
1075 Obsoletes: php-mysqlnd < 4:5.3.28-7
1077 %description mysqlnd
1078 MySQL Native Driver is a replacement for the MySQL Client Library
1081 Because MySQL Native Driver is written as a PHP extension, it is
1082 tightly coupled to the workings of PHP. This leads to gains in
1083 efficiency, especially when it comes to memory usage, as the driver
1084 uses the PHP memory management system. It also supports the PHP memory
1085 limit. Using MySQL Native Driver leads to comparable or better
1086 performance than using MySQL Client Library, it always ensures the
1087 most efficient use of memory. One example of the memory efficiency is
1088 the fact that when using the MySQL Client Library, each row is stored
1089 in memory twice, whereas with the MySQL Native Driver each row is only
1090 stored once in memory.
1092 %description mysqlnd -l pl.UTF-8
1093 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1094 klienckiej MySQL (libmysql).
1096 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1097 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1098 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1099 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1100 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1101 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1102 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1103 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1104 tym sterowniku - tylko raz.
1107 Summary: Oracle 8+ database module for PHP
1108 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1110 URL: http://php.net/manual/en/book.oci8.php
1111 %{?requires_php_extension}
1113 Obsoletes: php-oci8 < 4:5.3.28-7
1114 # withdrawn module of similar functionality but different API
1115 Obsoletes: php-oracle < 4:5.1.0
1118 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1119 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1121 %description oci8 -l pl.UTF-8
1122 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1123 poprzez interfejs Oracle8 Call-Interface (OCI8).
1126 Summary: ODBC extension module for PHP
1127 Summary(pl.UTF-8): Moduł ODBC dla PHP
1128 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1130 URL: http://php.net/manual/en/book.uodbc.php
1131 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1132 Requires: unixODBC >= 2.1.1-3
1134 Obsoletes: php-odbc < 4:5.3.28-7
1137 This is a dynamic shared object (DSO) for PHP that will add ODBC
1140 %description odbc -l pl.UTF-8
1141 Moduł PHP ze wsparciem dla ODBC.
1143 %description odbc -l pt_BR.UTF-8
1144 Um módulo para aplicações PHP que usam ODBC.
1147 Summary: Zend Optimizer+ - PHP code optimizer
1148 Summary(pl.UTF-8): Zend Optimizer+ - optymalizator kodu PHP
1150 URL: https://wiki.php.net/rfc/optimizerplus
1151 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1152 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1153 Provides: php(opcache) = %{version}
1155 %description opcache
1156 The Zend OPcache provides faster PHP execution through opcode caching
1157 and optimization. It improves PHP performance by storing precompiled
1158 script bytecode in the shared memory. This eliminates the stages of
1159 reading code from the disk and compiling it on future access. In
1160 addition, it applies a few bytecode optimization patterns that make
1161 code execution faster.
1163 %description opcache -l pl.UTF-8
1164 Zend OPcache zapewnia szybsze wykonywanie kodu PHP dzięki buforowaniu
1165 i optymalizacji na poziomie opcode'ów. Poprawia wydajność PHP
1166 przechowując prekompilowany bajtkod skryptu w pamięci współdzielonej.
1167 Eliminuje etapy odczytu kodu z dysku i kompilacji przy późniejszym
1168 dostępie. Ponadto wykonuje kilka wzorców optymalizacji bajtkodu,
1169 czyniąc wykonywanie kodu szybszym.
1172 Summary: OpenSSL extension module for PHP
1173 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1175 URL: http://php.net/manual/en/book.openssl.php
1176 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1177 Provides: php(openssl)
1178 Obsoletes: php-openssl < 4:5.3.28-7
1180 %description openssl
1181 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1184 %description openssl -l pl.UTF-8
1185 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1188 Summary: Process Control extension module for PHP
1189 Summary(pl.UTF-8): Moduł Process Control dla PHP
1191 URL: http://php.net/manual/en/book.pcntl.php
1192 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1193 Provides: php(pcntl)
1194 Obsoletes: php-pcntl < 4:5.3.28-7
1197 This is a dynamic shared object (DSO) for PHP that will add process
1198 spawning and control support. It supports functions like fork(),
1199 waitpid(), signal() etc.
1201 %description pcntl -l pl.UTF-8
1202 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1203 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1206 Summary: PCRE extension module for PHP
1207 Summary(pl.UTF-8): Moduł PCRE dla PHP
1209 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1211 Obsoletes: php-pcre < 4:5.3.28-7
1214 This is a dynamic shared object (DSO) for PHP that will add Perl
1215 Compatible Regular Expression support.
1217 %description pcre -l pl.UTF-8
1218 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1219 (Perl Compatible Regular Expressions)
1222 Summary: PHP Data Objects (PDO)
1223 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1225 URL: http://php.net/manual/en/book.pdo.php
1226 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1227 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1228 Provides: %{name}(PDO_API) = %{php_pdo_api_version}
1230 Obsoletes: php-pdo < 4:5.3.28-7
1231 Obsoletes: php-pecl-PDO
1234 This is a dynamic shared object (DSO) for PHP that will add PDO
1237 %description pdo -l pl.UTF-8
1238 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1241 Summary: PHP Data Objects (PDO) FreeTDS support
1242 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1244 URL: http://php.net/manual/en/ref.pdo-dblib.php
1245 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1246 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1247 Provides: php(pdo_dblib)
1248 Obsoletes: php-pdo-dblib < 4:5.3.28-7
1250 %description pdo-dblib
1251 This is a dynamic shared object (DSO) for PHP that will add PDO
1254 %description pdo-dblib -l pl.UTF-8
1255 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1258 %package pdo-firebird
1259 Summary: PHP Data Objects (PDO) Firebird support
1260 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1262 URL: http://php.net/manual/en/ref.pdo-firebird.php
1263 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1264 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1265 Provides: php(pdo-firebird)
1266 Provides: php(pdo_firebird)
1267 Obsoletes: php-pdo-firebird < 4:5.3.28-7
1268 Obsoletes: php-pecl-PDO_FIREBIRD
1270 %description pdo-firebird
1271 This is a dynamic shared object (DSO) for PHP that will add PDO
1274 %description pdo-firebird -l pl.UTF-8
1275 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1279 Summary: PHP Data Objects (PDO) MySQL support
1280 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1282 URL: http://php.net/manual/en/ref.pdo-mysql.php
1283 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1284 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1285 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1286 Provides: php(pdo-mysql)
1287 Provides: php(pdo_mysql)
1288 Obsoletes: php-pdo-mysql < 4:5.3.28-7
1289 Obsoletes: php-pecl-PDO_MYSQL
1291 %description pdo-mysql
1292 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1295 %description pdo-mysql -l pl.UTF-8
1296 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1300 Summary: PHP Data Objects (PDO) Oracle support
1301 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1303 URL: http://php.net/manual/en/ref.pdo-oci.php
1304 %{?requires_php_extension}
1305 %{?requires_php_pdo_module}
1306 Provides: php(pdo-oci)
1307 Provides: php(pdo_oci)
1308 Obsoletes: php-pdo-oci < 4:5.3.28-7
1309 Obsoletes: php-pecl-PDO_OCI
1311 %description pdo-oci
1312 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1315 %description pdo-oci -l pl.UTF-8
1316 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1320 Summary: PHP Data Objects (PDO) ODBC support
1321 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1323 URL: http://php.net/manual/en/ref.pdo-odbc.php
1324 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1325 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1326 Provides: php(pdo-odbc)
1327 Provides: php(pdo_odbc)
1328 Obsoletes: php-pdo-odbc < 4:5.3.28-7
1329 Obsoletes: php-pecl-PDO_ODBC
1331 %description pdo-odbc
1332 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1335 %description pdo-odbc -l pl.UTF-8
1336 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1340 Summary: PHP Data Objects (PDO) PostgreSQL support
1341 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1343 URL: http://php.net/manual/en/ref.pdo-pgsql.php
1344 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1345 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1346 Provides: php(pdo-pgsql)
1347 Provides: php(pdo_pgsql)
1348 Obsoletes: php-pdo-pgsql < 4:5.3.28-7
1349 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1351 %description pdo-pgsql
1352 This is a dynamic shared object (DSO) for PHP that will add PDO
1355 %description pdo-pgsql -l pl.UTF-8
1356 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1360 Summary: PHP Data Objects (PDO) SQLite support
1361 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1363 URL: http://php.net/manual/en/ref.pdo-sqlite.php
1364 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1365 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1366 Provides: php(pdo-sqlite)
1367 Provides: php(pdo_sqlite)
1368 Obsoletes: php-pdo-sqlite < 4:5.3.28-7
1369 Obsoletes: php-pecl-PDO_SQLITE
1371 %description pdo-sqlite
1372 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1375 %description pdo-sqlite -l pl.UTF-8
1376 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1380 Summary: PostgreSQL database module for PHP
1381 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1383 URL: http://php.net/manual/en/book.pgsql.php
1384 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1385 Provides: php(pgsql)
1386 Obsoletes: php-pgsql < 4:5.3.28-7
1389 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1392 %description pgsql -l pl.UTF-8
1393 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1395 %description pgsql -l pt_BR.UTF-8
1396 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1399 Summary: Phar archive module for PHP
1400 Summary(pl.UTF-8): Moduł phar dla PHP
1402 URL: http://php.net/manual/en/book.phar.php
1403 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1404 Requires: %{name}-hash = %{epoch}:%{version}-%{release}
1405 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1406 Requires: alternatives
1407 Suggests: %{name}-cli
1408 # zlib is required by phar program, but as phar cli is optional should the dep be too
1409 Suggests: %{name}-zlib
1410 Provides: php(phar) = %{pharver}
1411 Obsoletes: php-pecl-phar < %{pharver}
1412 Obsoletes: php-phar < 4:5.3.28-7
1413 Conflicts: php-ioncube < 4.0.9
1416 This is a dynamic shared object (DSO) for PHP that will add phar
1419 %description phar -l pl.UTF-8
1420 Moduł PHP umożliwiający dostęp do achiwów .phar.
1423 Summary: POSIX extension module for PHP
1424 Summary(pl.UTF-8): Moduł POSIX dla PHP
1426 URL: http://php.net/manual/en/book.posix.php
1427 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1428 Provides: php(posix)
1429 Obsoletes: php-posix < 4:5.3.28-7
1432 This is a dynamic shared object (DSO) for PHP that will add POSIX
1433 functions support to PHP.
1435 %description posix -l pl.UTF-8
1436 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1439 Summary: pspell extension module for PHP
1440 Summary(pl.UTF-8): Moduł pspell dla PHP
1442 URL: http://php.net/manual/en/book.pspell.php
1443 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1444 Provides: php(pspell)
1445 Obsoletes: php-pspell < 4:5.3.28-7
1448 This is a dynamic shared object (DSO) for PHP that will add pspell
1449 support to PHP. It allows to check the spelling of a word and offer
1452 %description pspell -l pl.UTF-8
1453 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1454 sprawdzanie pisowni słowa i sugerowanie poprawek.
1457 Summary: readline extension module for PHP
1458 Summary(pl.UTF-8): Moduł readline dla PHP
1460 URL: http://php.net/manual/en/book.readline.php
1461 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1462 Provides: php(readline)
1463 Obsoletes: php-readline < 4:5.3.28-7
1465 %description readline
1466 This PHP module adds support for readline functions (only for cli and
1469 %description readline -l pl.UTF-8
1470 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1473 Summary: recode extension module for PHP
1474 Summary(pl.UTF-8): Moduł recode dla PHP
1476 URL: http://php.net/manual/en/book.recode.php
1477 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1478 Requires: recode >= 3.5d-3
1479 Provides: php(recode)
1480 Obsoletes: php-recode < 4:5.3.28-7
1483 This is a dynamic shared object (DSO) for PHP that will add recode
1486 %description recode -l pl.UTF-8
1487 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1491 Summary: session extension module for PHP
1492 Summary(pl.UTF-8): Moduł session dla PHP
1494 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1495 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1496 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1498 Provides: php(session)
1499 Obsoletes: php-session < 4:5.3.28-7
1501 %description session
1502 This is a dynamic shared object (DSO) for PHP that will add session
1505 %description session -l pl.UTF-8
1506 Moduł PHP dodający obsługę sesji.
1509 Summary: Shared Memory Operations extension module for PHP
1510 Summary(pl.UTF-8): Moduł shmop dla PHP
1512 URL: http://php.net/manual/en/book.shmop.php
1513 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1514 Provides: php(shmop)
1515 Obsoletes: php-shmop < 4:5.3.28-7
1518 This is a dynamic shared object (DSO) for PHP that will add Shared
1519 Memory Operations support.
1521 %description shmop -l pl.UTF-8
1522 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1525 Summary: Simple XML extension module for PHP
1526 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1528 URL: http://php.net/manual/en/book.simplexml.php
1529 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1530 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1531 Provides: php(simplexml)
1532 Obsoletes: php-simplexml < 4:5.3.28-7
1534 %description simplexml
1535 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1538 %description simplexml -l pl.UTF-8
1539 Moduł PHP dodający obsługę prostego XML-a.
1542 Summary: SNMP extension module for PHP
1543 Summary(pl.UTF-8): Moduł SNMP dla PHP
1545 URL: http://php.net/manual/en/book.snmp.php
1546 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1547 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1548 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1550 Obsoletes: php-snmp < 4:5.3.28-7
1553 This is a dynamic shared object (DSO) for PHP that will add SNMP
1556 %description snmp -l pl.UTF-8
1557 Moduł PHP dodający obsługę SNMP.
1560 Summary: soap extension module for PHP
1561 Summary(pl.UTF-8): Moduł soap dla PHP
1563 URL: http://php.net/manual/en/book.soap.php
1564 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1566 Obsoletes: php-soap < 4:5.3.28-7
1569 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1572 %description soap -l pl.UTF-8
1573 Moduł PHP dodający obsługę SOAP/WSDL.
1576 Summary: sockets extension module for PHP
1577 Summary(pl.UTF-8): Moduł socket dla PHP
1579 URL: http://php.net/manual/en/book.sockets.php
1580 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1581 Provides: php(sockets)
1582 Obsoletes: php-sockets < 4:5.3.28-7
1584 %description sockets
1585 This is a dynamic shared object (DSO) for PHP that will add sockets
1588 %description sockets -l pl.UTF-8
1589 Moduł PHP dodający obsługę gniazdek.
1592 Summary: Wrapper for the Sodium cryptographic library
1594 URL: https://paragonie.com/book/pecl-libsodium
1595 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1596 Provides: php(sodium) = %{sodiumver}
1599 A simple, low-level PHP extension for libsodium.
1602 Summary: Standard PHP Library module for PHP
1603 Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1605 URL: http://php.net/manual/en/book.spl.php
1606 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1607 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1608 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1610 Obsoletes: php-spl < 4:5.3.28-7
1613 This is a dynamic shared object (DSO) for PHP that will add Standard
1614 PHP Library support.
1616 %description spl -l pl.UTF-8
1617 Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1620 Summary: SQLite3 extension module for PHP
1621 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1623 URL: http://php.net/manual/en/book.sqlite3.php
1624 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1625 Provides: php(sqlite3) = %{sqlite3ver}
1626 Obsoletes: php-sqlite3 < 4:5.3.28-7
1628 %description sqlite3
1629 SQLite is a C library that implements an embeddable SQL database
1630 engine. Programs that link with the SQLite library can have SQL
1631 database access without running a separate RDBMS process.
1633 SQLite is not a client library used to connect to a big database
1634 server. SQLite is the server. The SQLite library reads and writes
1635 directly to and from the database files on disk.
1637 %description sqlite3 -l pl.UTF-8
1638 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1639 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1640 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1643 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1644 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1645 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1649 Summary: SysV msg extension module for PHP
1650 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1652 URL: http://php.net/manual/en/book.sem.php
1653 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1654 Provides: php(sysvmsg)
1655 Obsoletes: php-sysvmsg < 4:5.3.28-7
1657 %description sysvmsg
1658 This is a dynamic shared object (DSO) for PHP that will add SysV
1659 message queues support.
1661 %description sysvmsg -l pl.UTF-8
1662 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1665 Summary: SysV sem extension module for PHP
1666 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1668 URL: http://php.net/manual/en/book.sem.php
1669 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1670 Provides: php(sysvsem)
1671 Obsoletes: php-sysvsem < 4:5.3.28-7
1673 %description sysvsem
1674 This is a dynamic shared object (DSO) for PHP that will add SysV
1677 %description sysvsem -l pl.UTF-8
1678 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1681 Summary: SysV shm extension module for PHP
1682 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1684 URL: http://php.net/manual/en/book.sem.php
1685 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1686 Provides: php(sysvshm)
1687 Obsoletes: php-sysvshm < 4:5.3.28-7
1689 %description sysvshm
1690 This is a dynamic shared object (DSO) for PHP that will add SysV
1691 Shared Memory support.
1693 %description sysvshm -l pl.UTF-8
1694 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1697 Summary: Contains unit test files for PHP and extensions
1698 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1700 URL: http://qa.php.net/
1701 Requires: %{name}-cli
1704 This package contains unit tests for PHP and its extensions.
1706 %description tests -l pl.UTF-8
1707 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1710 Summary: Tidy extension module for PHP
1711 Summary(pl.UTF-8): Moduł Tidy dla PHP
1713 URL: http://php.net/manual/en/book.tidy.php
1714 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1717 Obsoletes: php-tidy < 4:5.3.28-7
1720 This is a dynamic shared object (DSO) for PHP that will add Tidy
1723 %description tidy -l pl.UTF-8
1724 Moduł PHP umożliwiający korzystanie z tidy.
1727 Summary: tokenizer extension module for PHP
1728 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1730 URL: http://php.net/manual/en/book.tokenizer.php
1731 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1732 Provides: php(tokenizer)
1733 Obsoletes: php-tokenizer < 4:5.3.28-7
1735 %description tokenizer
1736 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1739 %description tokenizer -l pl.UTF-8
1740 Moduł PHP dodający obsługę tokenizera do PHP.
1743 Summary: wddx extension module for PHP
1744 Summary(pl.UTF-8): Moduł wddx dla PHP
1746 URL: http://php.net/manual/en/book.wddx.php
1747 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1748 # - wddx doesn't require session as it's disabled at compile time:
1749 # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1750 # see also php.spec#rev1.120.2.22
1751 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1752 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1754 Obsoletes: php-wddx < 4:5.3.28-7
1757 This is a dynamic shared object (DSO) for PHP that will add wddx
1760 %description wddx -l pl.UTF-8
1761 Moduł PHP umożliwiający korzystanie z wddx.
1764 Summary: XML extension module for PHP
1765 Summary(pl.UTF-8): Moduł XML dla PHP
1767 URL: http://php.net/manual/en/book.xml.php
1768 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1770 Obsoletes: php-xml < 4:5.3.28-7
1773 This is a dynamic shared object (DSO) for PHP that will add XML
1774 support. This extension lets you create XML parsers and then define
1775 handlers for different XML events.
1777 %description xml -l pl.UTF-8
1778 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1779 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1780 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1783 Summary: XML Reader extension module for PHP
1784 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1786 URL: http://php.net/manual/en/book.xmlreader.php
1787 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1788 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1789 Provides: php(xmlreader)
1790 Obsoletes: php-xmlreader < 4:5.3.28-7
1792 %description xmlreader
1793 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1794 support. The XMLReader extension is an XML Pull parser. The reader
1795 acts as a cursor going forward on the document stream and stopping at
1796 each node on the way.
1798 %description xmlreader -l pl.UTF-8
1799 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1800 działa jako kursor przechodzący przez strumień dokumentu i
1801 zatrzymujący się na każdym węźle po drodze.
1804 Summary: xmlrpc extension module for PHP
1805 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1807 URL: http://php.net/manual/en/book.xmlrpc.php
1808 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1809 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1810 Provides: php(xmlrpc)
1811 Obsoletes: php-xmlrpc < 4:5.3.28-7
1814 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1817 %description xmlrpc -l pl.UTF-8
1818 Moduł PHP dodający obsługę XMLRPC.
1821 Summary: Fast, non-cached, forward-only means to write XML data
1822 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1824 URL: http://php.net/manual/en/book.xmlwriter.php
1825 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1826 Provides: php(xmlwriter)
1827 Obsoletes: php-pecl-xmlwriter
1828 Obsoletes: php-xmlwriter < 4:5.3.28-7
1830 %description xmlwriter
1831 This extension wraps the libxml xmlWriter API. Represents a writer
1832 that provides a non-cached, forward-only means of generating streams
1833 or files containing XML data.
1835 %description xmlwriter -l pl.UTF-8
1836 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1837 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1838 plików zawierających dane XML.
1841 Summary: xsl extension module for PHP
1842 Summary(pl.UTF-8): Moduł xsl dla PHP
1844 URL: http://php.net/manual/en/book.xsl.php
1845 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1846 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1847 Requires: libxslt >= 1.1.0
1849 Obsoletes: php-xsl < 4:5.3.28-7
1850 # actually not true, functionality is similar, but API differs
1851 Obsoletes: php-xslt <= 3:4.3.8-1
1854 This is a dynamic shared object (DSO) for PHP that will add new XSL
1855 support (using libxslt).
1857 %description xsl -l pl.UTF-8
1858 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1861 Summary: Zip management extension
1862 Summary(pl.UTF-8): Zarządzanie archiwami zip
1864 URL: http://php.net/manual/en/book.zip.php
1865 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1866 %{?with_zip:Requires: libzip >= 1.3.1}
1867 Provides: php(zip) = %{zipver}
1868 Obsoletes: php-pecl-zip < %{zipver}
1869 Obsoletes: php-zip < 4:5.3.28-7
1872 Zip is an extension to create, modify and read zip files.
1874 %description zip -l pl.UTF-8
1875 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1876 odczyt archiwów zip.
1879 Summary: Zlib extension module for PHP
1880 Summary(pl.UTF-8): Moduł zlib dla PHP
1882 URL: http://php.net/manual/en/book.zlib.php
1883 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1885 Obsoletes: php-zlib < 4:5.3.28-7
1888 This is a dynamic shared object (DSO) for PHP that will add zlib
1889 compression support to PHP.
1891 %description zlib -l pl.UTF-8
1892 Moduł PHP umożliwiający używanie kompresji zlib.
1895 %setup -q -n %{orgname}-%{version}
1896 cp -p php.ini-production php.ini
1903 %{?with_milter:%patch8 -p1}
1929 %patch51 -p1 -b .spl-shared
1930 %patch52 -p1 -b .pcre-shared
1932 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
1934 %patch59 -p1 -b .systzdata
1939 %patch72 -p1 -b .phar-shared
1941 %{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
1943 # cleanup backups after patching
1944 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
1946 # com_dotnet is Win32-only
1947 %{__rm} -r ext/com_dotnet
1949 # conflict seems to be resolved by recode patches
1950 %{__rm} ext/recode/config9.m4
1952 # remove all bundled libraries not to link with them accidentally
1953 %{__rm} -r ext/sqlite3/libsqlite
1954 #%{__rm} -r ext/bcmath/libbcmath
1955 #%{__rm} -r ext/date/lib
1956 #%{__rm} -r ext/fileinfo/libmagic
1957 #%{__rm} -r ext/dba/libcdb
1958 #%{__rm} -r ext/dba/libflatfile
1959 #%{__rm} -r ext/dba/libinifile
1960 #%{__rm} -r ext/gd/libgd
1961 #%{__rm} -r ext/mbstring/libmbfl
1962 %{__rm} -r ext/mbstring/oniguruma
1963 %{__rm} -r ext/pcre/pcrelib
1964 #%{__rm} -r ext/soap/interop
1965 %{__rm} -r ext/xmlrpc/libxmlrpc
1966 #%{__rm} -r ext/zip/lib
1967 %{__rm} ext/date/lib/timezonedb.h
1969 cp -pf Zend/LICENSE{,.Zend}
1970 install -p %{SOURCE13} dep-tests.sh
1973 sed -i -e 's#-fvisibility=hidden##g' configure*
1975 # disable broken tests
1976 # says just "Terminated" twice and fails
1977 %{__mv} sapi/cli/tests/022.phpt{,.broken}
1979 # really dumb test, executable binary name is .libs/ something when building
1980 # https://bugs.php.net/bug.php?id=54514
1981 %{__mv} tests/basic/bug54514.phpt{,.disable}
1983 # breaks whole testsuite unexpectedly:
1984 # Fatal error: Call to undefined function gzencode() in run-tests.php on line 1714
1985 # probably broken as zlib is built as shared
1986 %{__mv} ext/soap/tests/server019.phpt{,disable}
1987 # Fatal error: Call to undefined function gzcompress() in run-tests.php on line 1728
1988 %{__mv} ext/soap/tests/server020.phpt{,disable}
1990 # runs out of memory and kills carme vserver
1991 # PASS Bug #39438 (Fatal error: Out of memory) [Zend/tests/bug39438.phpt]
1992 %{__mv} Zend/tests/bug39438.phpt{,.disable}
1994 # php-5.3.3/ext/standard/tests/file/statpage.phpt
1995 %{__rm} ext/standard/tests/file/statpage.phpt
1997 # idiotic test, it will fail if somebody else makes space on disk or if disk
1998 # space is not yet allocated (xfs). report upstream to advice bogus test is
1999 # probably pointless.
2000 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
2003 # all pdo_sqlite, sqlite3 tests die with Aborted on carme
2004 %{__rm} -r ext/pdo_sqlite/tests
2005 %{__rm} -r ext/sqlite3/tests
2008 # ----- Manage known as failed test -------
2009 # affected by systzdata patch
2010 %{__rm} ext/date/tests/timezone_location_get.phpt
2011 %{__rm} ext/date/tests/timezone_version_get.phpt
2012 %{__rm} ext/date/tests/timezone_version_get_basic1.phpt
2013 # Should be skipped but fails sometime
2014 %{__rm} ext/standard/tests/file/file_get_contents_error001.phpt
2016 %{__rm} ext/sockets/tests/mcast_ipv?_recv.phpt
2017 # causes stack exhausion
2018 %{__rm} Zend/tests/bug54268.phpt
2019 %{__rm} Zend/tests/bug68412.phpt
2021 # avoid issues when two builds run simultaneously
2023 sed -e 's/64321/64322/' -i ext/openssl/tests/*.phpt
2027 # no point testing stuff that is knowingly broken
2028 find -name '*.phpt' | xargs grep '^--XFAIL--' -l | xargs rm -v
2040 sh -xe %{_sourcedir}/skip-tests.sh
2043 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
2044 if [ $API != %{php_api_version} ]; then
2045 echo "Set %%define php_api_version to $API and re-run."
2049 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
2050 if [ $API != %{zend_module_api} ]; then
2051 echo "Set %%define zend_module_api to $API and re-run."
2055 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
2056 if [ $API != %{zend_extension_api} ]; then
2057 echo "Set %%define zend_extension_api to $API and re-run."
2061 API=$(awk '/#define PDO_DRIVER_API/{print $3}' ext/pdo/php_pdo_driver.h)
2062 if [ $API != %{php_pdo_api_version} ]; then
2063 echo "Set %%define php_pdo_api_version to $API and re-run."
2067 # Check for some extension version
2068 ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
2069 if test "$ver" != "%{fileinfover}"; then
2070 : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
2071 : Update the fileinfover macro and rebuild.
2074 ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
2075 if test "$ver" != "%{pharver}"; then
2076 : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
2077 : Update the pharver macro and rebuild.
2080 ver=$(awk '/#define PHP_SQLITE3_VERSION/ {print $3}' ext/sqlite3/php_sqlite3.h | xargs)
2081 if test "$ver" != "PHP_VERSION"; then
2084 ver=$(awk '/#define PHP_SODIUM_VERSION/ {print $3}' ext/sodium/php_libsodium.h | xargs)
2085 if test "$ver" != "PHP_VERSION"; then
2088 ver=$(sed -n '/#define PHP_ZIP_VERSION /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
2089 if test "$ver" != "%{zipver}"; then
2090 : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
2091 : Update the zipver macro and rebuild.
2094 ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
2095 if test "$ver" != "%{jsonver}"; then
2096 : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
2097 : Update the jsonver macro and rebuild.
2100 ver=$(sed -n '/#define PHPDBG_VERSION /{s/.* "//;s/".*$//;p}' sapi/phpdbg/phpdbg.h)
2101 if test "$ver" != "%{phpdbgver}"; then
2102 : Error: Upstream phpdbg version is now ${ver}, expecting %{phpdbgver}.
2103 : Update the phpdbgver macro and rebuild.
2106 ver=$(sed -rne 's,.*<version>(.+)</version>,\1,p' ext/bz2/package.xml)
2107 if test "$ver" != "%{bz2ver}"; then
2108 : Error: Upstream BZIP2 version is now ${ver}, expecting %{bz2ver}.
2109 : Update the bz2ver macro and rebuild.
2112 ver=$(awk '/#define PHP_ENCHANT_VERSION/ {print $3}' ext/enchant/php_enchant.h | xargs)
2113 if test "$ver" != "PHP_VERSION"; then
2116 ver=$(awk '/#define PHP_HASH_VERSION/ {print $3}' ext/hash/php_hash.h | xargs)
2117 if test "$ver" != "%{hashver}"; then
2118 : Error: Upstream HASH version is now ${ver}, expecting %{hashver}.
2119 : Update the hashver macro and rebuild.
2122 ver=$(sed -n '/#define PHP_INTL_VERSION /{s/.* "//;s/".*$//;p}' ext/intl/php_intl.h)
2123 if test "$ver" != "%{intlver}"; then
2124 : Error: Upstream Intl version is now ${ver}, expecting %{intlver}.
2125 : Update the intlver macro and rebuild.
2129 export EXTENSION_DIR="%{php_extensiondir}"
2130 # configure once (for faster debugging purposes)
2131 if [ ! -f _built-conf ]; then
2132 # now remove Makefile copies
2133 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed,phpdbg,milter}
2136 cp -f /usr/share/automake/config.* .
2140 export PROG_SENDMAIL="/usr/lib/sendmail"
2141 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \
2142 -I%{_includedir}/xmlrpc-epi"
2145 # icu 59+ C++ API requires C++ >= 11
2146 CXXFLAGS="$CXXFLAGS -std=c++11"
2154 %if %{with litespeed}
2173 for sapi in $sapis; do
2175 # skip if already configured (for faster debugging purposes)
2176 [ -f Makefile.$sapi ] && continue
2181 sapi_args='--disable-cli'
2184 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
2187 sapi_args='--disable-cli --disable-cgi --enable-fpm'
2190 sapi_args='--disable-cli --disable-cgi --enable-embed'
2193 ver=$(rpm -q --qf '%{V}' apache-devel)
2194 sapi_args="--disable-cli --disable-cgi --with-apxs2=%{apxs2} --with-apache-version=$ver"
2197 sapi_args='--disable-cli --disable-cgi --with-litespeed'
2200 sapi_args='--disable-cli --disable-cgi --enable-phpdbg %{?debug:--enable-phpdbg-debug}'
2203 sapi_args='--disable-cli --disable-cgi --with-milter'
2208 EXTRA_LDFLAGS="%{rpmldflags}" \
2209 --program-suffix=%{php_suffix} \
2211 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2212 --cache-file=config.cache \
2214 --datadir=%{php_datadir} \
2215 --with-libdir=%{_lib} \
2216 --with-config-file-path=%{_sysconfdir} \
2217 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2218 --with-system-tzdata \
2219 %{?with_argon2:--with-password-argon2} \
2220 --%{!?with_debug:dis}%{?with_debug:en}able-debug \
2221 %{?with_zts:--enable-maintainer-zts} \
2222 --enable-inline-optimization \
2223 %{__enable_disable bcmath bcmath shared} \
2224 %{__enable_disable calendar calendar shared} \
2225 %{__enable_disable ctype ctype shared} \
2226 %{__enable_disable dba dba shared} \
2227 %{__enable_disable dom dom shared} \
2228 %{?with_systemtap:--enable-dtrace} \
2229 %{__enable_disable exif exif shared} \
2230 %{__enable_disable fileinfo fileinfo shared} \
2231 %{__enable_disable ftp ftp shared} \
2232 %{?with_intl:--enable-intl=shared} \
2234 %{__enable_disable mbstring mbstring shared,all} \
2237 %{__enable_disable pcntl pcntl shared} \
2238 %{__enable_disable pdo pdo shared} \
2239 %{__enable_disable json json shared} \
2240 %{__enable_disable hash hash shared} \
2241 --enable-xmlwriter=shared \
2243 --with-fpm-user=http \
2244 --with-fpm-group=http \
2246 %if %{with pdo_dblib}
2247 --with-pdo-dblib=shared \
2249 %if %{with interbase} && %{without interbase_inst}
2250 --with-pdo-firebird=shared,/usr \
2252 %{?with_mhash:--with-mhash=yes} \
2253 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2254 %{__with_without pdo_mysql pdo-mysql shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd}} \
2255 %{?with_oci:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2256 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2257 %{?with_pgsql:--with-pdo-pgsql=shared} \
2258 %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
2259 %{?with_webp:--with-webp-dir=/usr} \
2260 --without-libexpat-dir \
2261 %{__enable_disable posix posix shared} \
2263 %{__enable_disable session session shared} \
2264 --enable-shmop=shared \
2265 --enable-simplexml=shared \
2266 --enable-sysvmsg=shared \
2267 --enable-sysvsem=shared \
2268 --enable-sysvshm=shared \
2269 --enable-soap=shared \
2270 --enable-sockets=shared \
2271 %{__with_without sodium sodium shared} \
2272 --enable-tokenizer=shared \
2273 %{?with_wddx:--enable-wddx=shared} \
2274 --enable-xml=shared \
2275 --enable-xmlreader=shared \
2276 %{__with_without bz2 bz2 shared} \
2277 %{__with_without curl curl shared} \
2279 %{__with_without iconv iconv shared} \
2280 %{?with_enchant:--with-enchant=shared,/usr} \
2281 --with-freetype-dir=shared \
2282 %{__with_without gettext gettext shared} \
2283 %{__with_without gd gd shared%{?with_system_gd:,/usr}} \
2285 %{__with_without gmp gmp shared} \
2286 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2287 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2288 --with-jpeg-dir=/usr \
2289 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2290 %{?with_mm:--with-mm} \
2291 %{?with_mysqlnd:--enable-mysqlnd=shared} \
2292 %{?with_mysqli:--with-mysqli=shared,%{!?with_mysqlnd:/usr/bin/mysql_config}%{?with_mysqlnd:mysqlnd}} \
2293 %{?with_oci:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2294 %{__enable_disable opcache opcache shared} \
2295 %{?with_openssl:--with-openssl=shared} \
2296 %{?with_kerberos5:--with-kerberos} \
2298 %{__with_without pcre pcre-regex /usr} \
2299 %{__enable_disable filter filter shared} \
2300 --with-pear=%{php_pear_dir} \
2301 %{__with_without pgsql pgsql shared,/usr} \
2302 %{__enable_disable phar phar shared} \
2303 --with-png-dir=/usr \
2304 %{?with_pspell:--with-pspell=shared} \
2305 %{__with_without readline readline shared} \
2306 %{?with_recode:--with-recode=shared} \
2307 %{?with_snmp:--with-snmp=shared} \
2308 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2309 %{__with_without sqlite3 sqlite3 shared,/usr} \
2310 %{?with_tidy:--with-tidy=shared} \
2311 %{?with_odbc:--with-unixODBC=shared,/usr} \
2312 %{__with_without xmlrpc xmlrpc shared,/usr} \
2313 %{?with_xsl:--with-xsl=shared} \
2314 --with-zlib=shared \
2315 --with-zlib-dir=shared,/usr \
2316 %{?with_zip:--enable-zip=shared,/usr --with-libzip} \
2319 cp -f Makefile Makefile.$sapi
2320 cp -f main/php_config.h php_config.h.$sapi
2321 cp -f config.log config.log.$sapi
2324 # as we build each SAPI in own make, adjust php-config.in forehead
2325 sapis=$(%{__sed} -rne 's/^PHP_INSTALLED_SAPIS = (.+)/\1/p' Makefile.* | tr ' ' '\n' | sort -u | xargs)
2326 %{__sed} -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," scripts/php-config.in
2328 # must make libphp_common first, so modules can link against it.
2329 cp -af php_config.h.cli main/php_config.h
2330 cp -af Makefile.cli Makefile
2331 %{__make} libphp_common.la
2332 # hack: MYSQLND_SHARED_LIBADD not initialized
2333 %{__make} build-modules \
2334 MYSQLND_SHARED_LIBADD="-lssl -lcrypto"
2337 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp7.la -f Makefile.apxs2
2340 %if %{with litespeed}
2341 %{__make} -f Makefile.litespeed litespeed
2345 %{__make} -f Makefile.embed libphp7.la
2349 # PHP_READLINE_LIBS is empty, so force readline here
2350 %{__make} -f Makefile.phpdbg phpdbg \
2351 PHPDBG_EXTRA_LIBS=-lreadline
2355 %{__make} -f Makefile.milter milter
2360 cp -pf php_config.h.cgi-fcgi main/php_config.h
2361 %{__make} -f Makefile.cgi-fcgi
2362 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
2367 cp -pf php_config.h.fpm main/php_config.h
2368 %{__make} -f Makefile.fpm
2369 [ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
2373 cp -pf php_config.h.cli main/php_config.h
2374 %{__make} -f Makefile.cli
2375 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
2377 # check for stupid xml parse breakage where < and > just get lost in parse result
2378 ./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"]));'
2380 # Generate stub .ini files for each extension
2383 generate_inifiles() {
2384 for so in modules/*.so; do
2385 mod=$(basename $so .so)
2387 # opcache.so is zend extension
2388 nm $so | grep -q zend_extension_entry && ext=zend_extension
2390 # xml needs to be loaded before wddx
2391 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2392 # pre needs to be loaded before SPL
2393 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2394 # spl needs to be loaded before mysqli
2395 [ "$mod" = "spl" ] && conf="SPL.ini"
2396 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2397 [ "$mod" = "session" ] && conf="Session.ini"
2398 # hash needs to be loaded before mysqlnd
2399 [ "$mod" = "hash" ] && conf="hash.ini"
2400 # mysqlnd needs to be loaded before mysqli,pdo_mysqli
2401 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2403 cat > conf.d/$conf <<-EOF
2404 ; Enable $mod $ext module
2410 cp -p %{_sourcedir}/opcache.ini conf.d
2412 # Check that the module inner-dependencies are intact
2413 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2414 if grep -v OK dep-tests.log; then
2415 echo >&2 "The results above were not expected"
2421 cp -pf php_config.h.cli main/php_config.h
2422 cp -pf Makefile.cli Makefile
2424 # you really don't want to package result of gcov build
2428 cat <<'EOF' > run-tests.sh
2430 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2431 export SKIP_ONLINE_TESTS=1
2432 unset TZ LANG LC_ALL || :
2434 EXTENSION_DIR=modules \
2435 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2436 RUN_TESTS_SETTINGS="-q $*"
2438 chmod +x run-tests.sh
2441 # Run tests, using the CLI SAPI
2442 cp -pf php_config.h.cli main/php_config.h
2443 cp -pf Makefile.cli Makefile
2445 ./run-tests.sh -w failed.log -s tests.log || {
2448 # collect failed tests into cleanup script used in prep.
2449 sed -ne '/^FAILED TEST SUMMARY/,/^===/p' tests.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2450 sed -ne '/^via/d;/\[.*\]/{s/\t*\(.*\) \[\(.*\)\]\(.*\)/# \1\3\nmv \2{,.skip}/p}' tests-failed.log \
2451 >> %{_sourcedir}/skip-tests.sh
2453 # if on builders, dump test log
2454 tty -q || cat tests.log
2456 test ! -s failed.log
2462 rm -rf $RPM_BUILD_ROOT
2463 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2464 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2465 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2466 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2468 cp -pf php_config.h.cli main/php_config.h
2469 cp -pf Makefile.cli Makefile
2471 phpbuilddir=%{_libdir}/%{name}/build \
2472 INSTALL_ROOT=$RPM_BUILD_ROOT
2474 # version the .phar files
2475 %{__mv} $RPM_BUILD_ROOT%{_bindir}/phar{,%{php_suffix}}.phar
2476 %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/phar{,%{php_suffix}}.1
2478 %{__rm} $RPM_BUILD_ROOT%{_bindir}/phar
2479 touch $RPM_BUILD_ROOT%{_bindir}/phar
2480 touch $RPM_BUILD_ROOT%{_mandir}/man1/phar.1
2483 v=$(echo %{version} | cut -d. -f1-2)
2485 # install Apache2 DSO module
2488 libtool --mode=install install -p sapi/apache2handler/libphp7.la $RPM_BUILD_ROOT%{_libdir}/apache
2489 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp7.la $RPM_BUILD_ROOT%{_libdir}/apache/libphp%{php_suffix}.la
2490 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp7.so $RPM_BUILD_ROOT%{_libdir}/apache/libphp%{php_suffix}.so
2491 sed -i -e "s|libphp7|libphp%{php_suffix}|g" $RPM_BUILD_ROOT%{_libdir}/apache/libphp%{php_suffix}.la
2492 ln -s libphp%{php_suffix}.so $RPM_BUILD_ROOT%{_libdir}/apache/mod_php.so
2495 # install litespeed sapi
2496 %if %{with litespeed}
2497 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
2501 %{__make} -f Makefile.phpdbg install-phpdbg \
2502 INSTALL="libtool --mode=install install -p" \
2503 INSTALL_ROOT=$RPM_BUILD_ROOT
2507 touch $RPM_BUILD_ROOT%{_bindir}/phpize
2508 touch $RPM_BUILD_ROOT%{_mandir}/man1/phpize.1
2509 touch $RPM_BUILD_ROOT%{_bindir}/php-config
2510 touch $RPM_BUILD_ROOT%{_mandir}/man1/php-config.1
2513 %{__make} -f Makefile.milter install-milter \
2514 INSTALL_ROOT=$RPM_BUILD_ROOT
2517 # versioned libphp_common
2518 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2519 %{__mv} $RPM_BUILD_ROOT%{_libdir}/libphp_common.la $RPM_BUILD_ROOT%{_libdir}/libphp_common%{php_suffix}.la
2520 %{__mv} $RPM_BUILD_ROOT%{_libdir}/libphp_common-%{version}.so $RPM_BUILD_ROOT%{_libdir}/libphp_common%{php_suffix}-%{version}.so
2521 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/libphp_common.so
2522 ln -s libphp_common%{php_suffix}-%{version}.so $RPM_BUILD_ROOT%{_libdir}/libphp_common%{php_suffix}.so
2523 sed -i -e "s|libphp_common|libphp_common%{php_suffix}|g" $RPM_BUILD_ROOT%{_libdir}/libphp_common%{php_suffix}.la
2528 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2529 ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
2530 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2535 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/php-fpm.d,%{_sbindir}}
2536 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2537 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
2538 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2539 cp -p sapi/fpm/www.conf $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d
2540 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2541 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2542 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2543 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2545 # touch for ghost for alternatives
2546 touch $RPM_BUILD_ROOT%{_sbindir}/php-fpm
2549 s#/usr/lib/php#%{php_extensiondir}#
2550 s#/etc/php/#%{_sysconfdir}/#
2551 s#@processname@#%{name}-fpm#g
2552 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf,%{_sysconfdir}/php-fpm.d/www.conf}
2555 # install Embedded API
2557 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2558 # install-sapi installs to wrong dir, so just do it all manually
2559 install -d $RPM_BUILD_ROOT%{_includedir}/php/php%{php_suffix}/sapi/embed
2560 install -p libs/libphp7.so $RPM_BUILD_ROOT%{_libdir}/libphp%{php_suffix}.so
2561 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/php%{php_suffix}/sapi/embed
2565 libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php%{php_suffix}
2567 touch $RPM_BUILD_ROOT%{_bindir}/php
2568 touch $RPM_BUILD_ROOT%{_mandir}/man1/php.1
2570 cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2571 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2574 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2575 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2576 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp%{php_suffix}.la
2579 # ensure that paths are correct for current php version and arch
2580 grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
2582 s#/usr/lib/php#%{php_extensiondir}#
2583 s#/etc/php#%{_sysconfdir}#
2586 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2587 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2589 # per SAPI ini directories
2590 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2593 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2595 # use system automake and {lib,sh}tool
2596 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2597 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2598 for fn in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2599 f=%{_aclocaldir}/$fn
2600 test -f $f || continue
2601 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2603 for fn in ltmain.sh config/ltmain.sh build-aux/ltmain.sh; do
2604 f=/usr/share/libtool/$fn
2605 test -f $f || continue
2606 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2609 sed -i -e '/^phpdir/ s,/php/build,/%{name}/build,' $RPM_BUILD_ROOT%{_bindir}/phpize%{php_suffix}
2611 # for php-pecl-mailparse
2612 install -d $RPM_BUILD_ROOT%{_includedir}/php/php%{php_suffix}/ext/mbstring
2613 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/php%{php_suffix}/ext/mbstring
2616 install -d $RPM_BUILD_ROOT%{php_datadir}/tests/php
2617 install -p run-tests.php $RPM_BUILD_ROOT%{php_datadir}/tests/php/run-tests.php
2618 cp -a tests/* $RPM_BUILD_ROOT%{php_datadir}/tests/php
2620 # fix install paths, avoid evil rpaths
2621 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common%{php_suffix}.la
2623 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common%{php_suffix}.la|' $RPM_BUILD_ROOT%{_libdir}/%{name}/build/acinclude.m4
2626 rm -rf $RPM_BUILD_ROOT
2628 %post -n apache-mod_%{name}
2629 if [ "$1" = "1" ]; then
2630 %service -q httpd restart
2633 %postun -n apache-mod_%{name}
2634 if [ "$1" = "0" ]; then
2635 %service -q httpd restart
2639 update-alternatives \
2640 --install %{_bindir}/php php %{_bindir}/php%{php_suffix} %{php_suffix} \
2641 --slave %{_mandir}/man1/php.1 php.1 %{_mandir}/man1/php%{php_suffix}.1* || :
2644 if [ $1 -eq 0 ]; then
2645 update-alternatives --remove php %{_bindir}/php%{php_suffix} || :
2648 %post common -p /sbin/ldconfig
2649 %postun common -p /sbin/ldconfig
2652 update-alternatives \
2653 --install %{_bindir}/phpize phpize %{_bindir}/phpize%{php_suffix} %{php_suffix} \
2654 --slave %{_mandir}/man1/php.1 php.1 %{_mandir}/man1/php%{php_suffix}.1* || :
2655 update-alternatives \
2656 --install %{_bindir}/php-config php-config %{_bindir}/php-config%{php_suffix} %{php_suffix} \
2657 --slave %{_mandir}/man1/php.1 php.1 %{_mandir}/man1/php%{php_suffix}.1* || :
2660 if [ $1 -eq 0 ]; then
2661 update-alternatives --remove phpize %{_bindir}/phpize%{php_suffix} || :
2662 update-alternatives --remove php-config %{_bindir}/php-config%{php_suffix} || :
2666 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2669 /sbin/chkconfig --add %{name}-fpm
2670 %service %{name}-fpm restart
2671 update-alternatives --install %{_sbindir}/php-fpm php-fpm %{_sbindir}/php%{php_suffix}-fpm %{php_suffix} || :
2674 if [ "$1" = "0" ]; then
2675 %service %{name}-fpm stop
2676 /sbin/chkconfig --del %{name}-fpm
2677 update-alternatives --remove php-fpm %{_sbindir}/php%{php_suffix}-fpm || :
2681 if [ "$1" = "0" ]; then
2685 %post embedded -p /sbin/ldconfig
2686 %postun embedded -p /sbin/ldconfig
2689 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2690 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2692 . /etc/sysconfig/timezone
2693 if [ "$TIMEZONE" ]; then
2694 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2698 # minimizing apache restarts logics. we restart webserver:
2700 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2701 # 2. first install of extension (post: $1 = 1)
2702 # 2. uninstall of extension (postun: $1 == 0)
2704 # the strict internal deps between extensions (and apache modules) and
2705 # common package are very important for all this to work.
2707 # restart webserver at the end of transaction
2708 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2709 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2711 %triggerpostun common -- php-common < 4:5.3.28-7
2712 # migrate configs /etc/php/conf.d -> /etc/phpXY/conf.d/
2713 # do config migration in php-common trigger, as the trigger is ran after all packages are upgraded
2714 # this way we can stick to one trigger, instead of attaching one for each (sub)package!
2715 for f in /etc/php/*.ini.rpmsave /etc/php/*.d/*.ini.rpmsave; do
2716 test -f "$f" || continue
2720 test "$dn" = "$fn" && dn=
2722 nf=%{_sysconfdir}/$dn/$fn
2723 test -f "$nf" || continue
2724 cp -vfb $nf{,.rpmnew}
2727 s#%{_libdir}/php#%{_libdir}/%{name}#
2728 s#/etc/php#%{_sysconfdir}#
2732 %triggerpostun common -- %{name}-common < 4:5.6.4-2, php-common < 4:5.6.4-2
2733 # switch to browscap package if the ini file has original value
2734 %{__sed} -i -e 's#%{_sysconfdir}/browscap.ini#/usr/share/browscap/php_browscap.ini#' %{_sysconfdir}/php.ini
2735 # disable browscap, if optional package not present
2736 if [ ! -e /usr/share/browscap/php_browscap.ini ]; then
2737 %{__sed} -i -e 's#^browscap = /usr/share/browscap/php_browscap.ini#;&#' %{_sysconfdir}/php.ini
2740 %triggerpostun -n apache-mod_%{name} -- apache-mod_%{name} < 4:7.0.0-2.RC4
2741 sed -i -e 's#modules/libphp[57].so#modules/mod_php.so#g' /etc/httpd/conf.d/*_mod_php.conf
2743 # common macros called at extension post/postun scriptlet
2745 if [ "$1" = "1" ]; then \
2746 %php_webserver_restart \
2750 %define ext_postun \
2751 if [ "$1" = "0" ]; then \
2752 %php_webserver_restart \
2756 %define extension_scripts() \
2764 # extension scripts defines
2765 %extension_scripts bcmath
2766 %extension_scripts bz2
2767 %extension_scripts calendar
2768 %extension_scripts ctype
2769 %extension_scripts curl
2770 %extension_scripts dba
2771 %extension_scripts dom
2772 %extension_scripts enchant
2773 %extension_scripts exif
2774 %extension_scripts fileinfo
2775 %extension_scripts filter
2776 %extension_scripts ftp
2777 %extension_scripts gd
2778 %extension_scripts gettext
2779 %extension_scripts gmp
2780 %extension_scripts hash
2781 %extension_scripts iconv
2782 %extension_scripts imap
2783 %extension_scripts interbase
2784 %extension_scripts intl
2785 %extension_scripts json
2786 %extension_scripts ldap
2787 %extension_scripts mbstring
2788 %extension_scripts mysqli
2789 %extension_scripts mysqlnd
2790 %extension_scripts oci8
2791 %extension_scripts odbc
2792 %extension_scripts opcache
2793 %extension_scripts openssl
2794 %extension_scripts pcre
2795 %extension_scripts pdo
2796 %extension_scripts pdo-dblib
2797 %extension_scripts pdo-firebird
2798 %extension_scripts pdo-oci
2799 %extension_scripts pdo-mysql
2800 %extension_scripts pdo-odbc
2801 %extension_scripts pdo-pgsql
2802 %extension_scripts pdo-sqlite
2803 %extension_scripts pgsql
2804 %extension_scripts pcntl
2805 %extension_scripts posix
2806 %extension_scripts pspell
2807 %extension_scripts recode
2808 %extension_scripts session
2809 %extension_scripts shmop
2810 %extension_scripts simplexml
2811 %extension_scripts snmp
2812 %extension_scripts soap
2813 %extension_scripts sockets
2814 %extension_scripts sodium
2815 %extension_scripts spl
2816 %extension_scripts sqlite3
2817 %extension_scripts sysvmsg
2818 %extension_scripts sysvsem
2819 %extension_scripts sysvshm
2820 %extension_scripts tidy
2821 %extension_scripts tokenizer
2822 %extension_scripts wddx
2823 %extension_scripts xml
2824 %extension_scripts xmlreader
2825 %extension_scripts xmlrpc
2826 %extension_scripts xmlwriter
2827 %extension_scripts xsl
2828 %extension_scripts zip
2829 %extension_scripts zlib
2833 update-alternatives \
2834 --install %{_bindir}/phar phar %{_bindir}/phar%{php_suffix}.phar %{php_suffix} \
2835 --slave %{_mandir}/man1/phar.1 phar.1 %{_mandir}/man1/phar%{php_suffix}.1* || :
2839 if [ $1 -eq 0 ]; then
2840 update-alternatives --remove phar %{_bindir}/phar%{php_suffix}.phar || :
2844 %files -n apache-mod_%{name}
2845 %defattr(644,root,root,755)
2846 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2847 %dir %{_sysconfdir}/apache2handler.d
2848 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2849 %attr(755,root,root) %{_libdir}/apache/mod_php.so
2850 %attr(755,root,root) %{_libdir}/apache/libphp%{php_suffix}.so
2853 %if %{with litespeed}
2855 %defattr(644,root,root,755)
2856 %attr(755,root,root) %{_sbindir}/%{name}.litespeed
2861 %defattr(644,root,root,755)
2862 %dir %{_sysconfdir}/cgi-fcgi.d
2863 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2864 %attr(755,root,root) %{_bindir}/%{name}.cgi
2865 %attr(755,root,root) %{_bindir}/%{name}.fcgi
2870 %defattr(644,root,root,755)
2871 %attr(755,root,root) %{_libdir}/libphp%{php_suffix}.so
2875 %defattr(644,root,root,755)
2876 %dir %{_sysconfdir}/cli.d
2877 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2878 %attr(755,root,root) %{_bindir}/php%{php_suffix}
2879 %{_mandir}/man1/php%{php_suffix}.1*
2880 %ghost %{_bindir}/php
2881 %ghost %{_mandir}/man1/php.1*
2885 %defattr(644,root,root,755)
2886 %doc sapi/fpm/{CREDITS,LICENSE}
2887 %dir %{_sysconfdir}/php-fpm.d
2888 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
2889 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.d/www.conf
2890 %attr(755,root,root) %{_sbindir}/%{name}-fpm
2891 %ghost %{_sbindir}/php-fpm
2892 %{_mandir}/man8/%{name}-fpm.8*
2893 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
2894 %attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
2899 %defattr(644,root,root,755)
2900 %attr(755,root,root) %{_bindir}/phpdbg%{php_suffix}
2901 %{_mandir}/man1/phpdbg%{php_suffix}.1*
2906 %defattr(644,root,root,755)
2907 %attr(755,root,root) %{_bindir}/php-milter
2911 %defattr(644,root,root,755)
2912 %doc CREDITS EXTENSIONS LICENSE NEWS UPGRADING* Zend/{LICENSE.Zend,README*} php.ini-*
2914 %dir %{_sysconfdir}/conf.d
2915 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2916 %attr(755,root,root) %{_libdir}/libphp_common%{php_suffix}-*.so
2918 %dir %{php_extensiondir}
2920 %doc ext/session/mod_files.sh
2923 %defattr(644,root,root,755)
2924 %doc CODING_STANDARDS README.{EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
2925 %attr(755,root,root) %{_bindir}/phpize%{php_suffix}
2926 %attr(755,root,root) %{_bindir}/php-config%{php_suffix}
2927 %ghost %{_bindir}/phpize
2928 %ghost %{_bindir}/php-config
2929 %attr(755,root,root) %{_libdir}/libphp_common%{php_suffix}.so
2930 %{_libdir}/libphp_common%{php_suffix}.la
2931 %{_includedir}/php/php%{php_suffix}
2932 %{_libdir}/%{name}/build
2933 %{_mandir}/man1/php-config%{php_suffix}.1*
2934 %ghost %{_mandir}/man1/php-config.1*
2935 %{_mandir}/man1/phpize%{php_suffix}.1*
2936 %ghost %{_mandir}/man1/phpize.1*
2940 %defattr(644,root,root,755)
2941 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2942 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2947 %defattr(644,root,root,755)
2948 %doc ext/bz2/CREDITS
2949 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2950 %attr(755,root,root) %{php_extensiondir}/bz2.so
2953 %if %{with calendar}
2955 %defattr(644,root,root,755)
2956 %doc ext/calendar/CREDITS
2957 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2958 %attr(755,root,root) %{php_extensiondir}/calendar.so
2963 %defattr(644,root,root,755)
2964 %doc ext/calendar/CREDITS
2965 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2966 %attr(755,root,root) %{php_extensiondir}/ctype.so
2971 %defattr(644,root,root,755)
2972 %doc ext/curl/CREDITS
2973 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2974 %attr(755,root,root) %{php_extensiondir}/curl.so
2979 %defattr(644,root,root,755)
2980 %doc ext/dba/{CREDITS,README}
2981 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2982 %attr(755,root,root) %{php_extensiondir}/dba.so
2987 %defattr(644,root,root,755)
2988 %doc ext/dom/{CREDITS,TODO}
2989 %doc ext/dom/examples
2990 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2991 %attr(755,root,root) %{php_extensiondir}/dom.so
2996 %defattr(644,root,root,755)
2997 %doc ext/enchant/{CREDITS,docs/examples}
2998 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/enchant.ini
2999 %attr(755,root,root) %{php_extensiondir}/enchant.so
3004 %defattr(644,root,root,755)
3005 %doc ext/exif/CREDITS
3006 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
3007 %attr(755,root,root) %{php_extensiondir}/exif.so
3010 %if %{with fileinfo}
3012 %defattr(644,root,root,755)
3013 %doc ext/fileinfo/CREDITS
3014 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
3015 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
3020 %defattr(644,root,root,755)
3021 %doc ext/filter/{CREDITS,docs/*}
3022 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
3023 %attr(755,root,root) %{php_extensiondir}/filter.so
3028 %defattr(644,root,root,755)
3029 %doc ext/ftp/CREDITS
3030 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
3031 %attr(755,root,root) %{php_extensiondir}/ftp.so
3036 %defattr(644,root,root,755)
3038 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
3039 %attr(755,root,root) %{php_extensiondir}/gd.so
3044 %defattr(644,root,root,755)
3045 %doc ext/gettext/CREDITS
3046 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
3047 %attr(755,root,root) %{php_extensiondir}/gettext.so
3052 %defattr(644,root,root,755)
3053 %doc ext/gmp/{CREDITS,README,TODO}
3054 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
3055 %attr(755,root,root) %{php_extensiondir}/gmp.so
3060 %defattr(644,root,root,755)
3061 %doc ext/hash/{CREDITS,README}
3062 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
3063 %attr(755,root,root) %{php_extensiondir}/hash.so
3068 %defattr(644,root,root,755)
3069 %doc ext/iconv/CREDITS
3070 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
3071 %attr(755,root,root) %{php_extensiondir}/iconv.so
3076 %defattr(644,root,root,755)
3077 %doc ext/imap/CREDITS
3078 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
3079 %attr(755,root,root) %{php_extensiondir}/imap.so
3082 %if %{with interbase}
3084 %defattr(644,root,root,755)
3085 %doc ext/interbase/CREDITS
3086 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
3087 %attr(755,root,root) %{php_extensiondir}/interbase.so
3092 %defattr(644,root,root,755)
3093 %doc ext/intl/{CREDITS,TODO}
3094 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
3095 %attr(755,root,root) %{php_extensiondir}/intl.so
3100 %defattr(644,root,root,755)
3101 %doc ext/json/CREDITS
3102 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
3103 %attr(755,root,root) %{php_extensiondir}/json.so
3108 %defattr(644,root,root,755)
3109 %doc ext/ldap/CREDITS
3110 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
3111 %attr(755,root,root) %{php_extensiondir}/ldap.so
3114 %if %{with mbstring}
3116 %defattr(644,root,root,755)
3117 %doc ext/mbstring/{CREDITS,README*}
3118 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
3119 %attr(755,root,root) %{php_extensiondir}/mbstring.so
3124 %defattr(644,root,root,755)
3125 %doc ext/mysqli/{CREDITS,TODO}
3126 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
3127 %attr(755,root,root) %{php_extensiondir}/mysqli.so
3132 %defattr(644,root,root,755)
3133 %doc ext/mysqlnd/CREDITS
3134 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
3135 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
3140 %defattr(644,root,root,755)
3141 %doc ext/oci8/{CREDITS,README}
3142 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
3143 %attr(755,root,root) %{php_extensiondir}/oci8.so
3148 %defattr(644,root,root,755)
3149 %doc ext/odbc/CREDITS
3150 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
3151 %attr(755,root,root) %{php_extensiondir}/odbc.so
3156 %defattr(644,root,root,755)
3157 %doc ext/opcache/README
3158 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/opcache.ini
3159 %attr(755,root,root) %{php_extensiondir}/opcache.so
3164 %defattr(644,root,root,755)
3165 %doc ext/openssl/{CREDITS,README}
3166 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
3167 %attr(755,root,root) %{php_extensiondir}/openssl.so
3172 %defattr(644,root,root,755)
3173 %doc ext/pcntl/{CREDITS,README}
3174 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
3175 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3180 %defattr(644,root,root,755)
3181 %doc ext/pcre/CREDITS
3182 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
3183 %attr(755,root,root) %{php_extensiondir}/pcre.so
3188 %defattr(644,root,root,755)
3189 %doc ext/pdo/{CREDITS,README,TODO}
3190 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
3191 %attr(755,root,root) %{php_extensiondir}/pdo.so
3194 %if %{with pdo_dblib}
3196 %defattr(644,root,root,755)
3197 %doc ext/pdo_dblib/{CREDITS,README}
3198 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
3199 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3202 %if %{with interbase} && !%{with interbase_inst}
3204 %defattr(644,root,root,755)
3205 %doc ext/pdo_firebird/CREDITS
3206 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
3207 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3210 %if %{with pdo_mysql}
3212 %defattr(644,root,root,755)
3213 %doc ext/pdo_mysql/CREDITS
3214 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
3215 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3220 %defattr(644,root,root,755)
3221 %doc ext/pdo_oci/CREDITS
3222 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
3223 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3228 %defattr(644,root,root,755)
3229 %doc ext/pdo_odbc/CREDITS
3230 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3231 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3236 %defattr(644,root,root,755)
3237 %doc ext/pdo_pgsql/CREDITS
3238 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3239 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3242 %if %{with pdo_sqlite}
3244 %defattr(644,root,root,755)
3245 %doc ext/pdo_sqlite/CREDITS
3246 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3247 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3252 %defattr(644,root,root,755)
3253 %doc ext/pgsql/{CREDITS,README}
3254 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3255 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3260 %defattr(644,root,root,755)
3261 %doc ext/phar/{CREDITS,TODO}
3262 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
3263 %attr(755,root,root) %{php_extensiondir}/phar.so
3264 %attr(755,root,root) %{_bindir}/phar%{php_suffix}.phar
3265 %{_mandir}/man1/phar%{php_suffix}.1*
3266 %{_mandir}/man1/phar.phar.1*
3267 %ghost %{_bindir}/phar
3268 %ghost %{_mandir}/man1/phar.1*
3273 %defattr(644,root,root,755)
3274 %doc ext/posix/CREDITS
3275 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3276 %attr(755,root,root) %{php_extensiondir}/posix.so
3281 %defattr(644,root,root,755)
3282 %doc ext/pspell/{CREDITS,README}
3283 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3284 %attr(755,root,root) %{php_extensiondir}/pspell.so
3287 %if %{with readline}
3289 %defattr(644,root,root,755)
3290 %doc ext/readline/{CREDITS,README*}
3291 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3292 %attr(755,root,root) %{php_extensiondir}/readline.so
3297 %defattr(644,root,root,755)
3298 %doc ext/recode/CREDITS
3299 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3300 %attr(755,root,root) %{php_extensiondir}/recode.so
3305 %defattr(644,root,root,755)
3306 %doc ext/session/CREDITS
3307 %doc ext/session/mod_files.sh
3308 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3309 %attr(755,root,root) %{php_extensiondir}/session.so
3313 %defattr(644,root,root,755)
3314 %doc ext/shmop/{CREDITS,README}
3315 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3316 %attr(755,root,root) %{php_extensiondir}/shmop.so
3319 %defattr(644,root,root,755)
3320 %doc ext/simplexml/{CREDITS,README}
3321 %doc ext/simplexml/examples
3322 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3323 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3327 %defattr(644,root,root,755)
3328 %doc ext/snmp/CREDITS
3329 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3330 %attr(755,root,root) %{php_extensiondir}/snmp.so
3334 %defattr(644,root,root,755)
3335 %doc ext/soap/{CREDITS,TODO*}
3336 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3337 %attr(755,root,root) %{php_extensiondir}/soap.so
3340 %defattr(644,root,root,755)
3341 %doc ext/sockets/CREDITS
3342 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3343 %attr(755,root,root) %{php_extensiondir}/sockets.so
3347 %defattr(644,root,root,755)
3348 %doc ext/sodium/{README.md,CREDITS}
3349 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sodium.ini
3350 %attr(755,root,root) %{php_extensiondir}/sodium.so
3354 %defattr(644,root,root,755)
3355 %doc ext/spl/{CREDITS,README,TODO}
3356 %doc ext/spl/examples
3357 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3358 %attr(755,root,root) %{php_extensiondir}/spl.so
3362 %defattr(644,root,root,755)
3363 %doc ext/sqlite3/CREDITS
3364 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3365 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3369 %defattr(644,root,root,755)
3370 %doc ext/sysvmsg/CREDITS
3371 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3372 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3375 %defattr(644,root,root,755)
3376 %doc ext/sysvsem/CREDITS
3377 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3378 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3381 %defattr(644,root,root,755)
3382 %doc ext/sysvshm/CREDITS
3383 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3384 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3387 %defattr(644,root,root,755)
3388 %dir %{php_datadir}/tests
3389 %dir %{php_datadir}/tests/php
3390 %{php_datadir}/tests/php/basic
3391 %{php_datadir}/tests/php/classes
3392 %{php_datadir}/tests/php/func
3393 %{php_datadir}/tests/php/lang
3394 %{php_datadir}/tests/php/output
3395 %{php_datadir}/tests/php/run-test
3396 %{php_datadir}/tests/php/security
3397 %{php_datadir}/tests/php/strings
3398 %{php_datadir}/tests/php/quicktester.inc
3399 %attr(755,root,root) %{php_datadir}/tests/php/run-tests.php
3403 %defattr(644,root,root,755)
3404 %doc ext/tidy/{CREDITS,README}
3405 %doc ext/tidy/examples
3406 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3407 %attr(755,root,root) %{php_extensiondir}/tidy.so
3411 %defattr(644,root,root,755)
3412 %doc ext/tokenizer/CREDITS
3413 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3414 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3418 %defattr(644,root,root,755)
3419 %doc ext/wddx/CREDITS
3420 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3421 %attr(755,root,root) %{php_extensiondir}/wddx.so
3425 %defattr(644,root,root,755)
3426 %doc ext/xml/CREDITS
3427 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3428 %attr(755,root,root) %{php_extensiondir}/xml.so
3431 %defattr(644,root,root,755)
3432 %doc ext/xmlreader/{CREDITS,README,TODO}
3433 %doc ext/xmlreader/examples
3434 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3435 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3439 %defattr(644,root,root,755)
3440 %doc ext/xmlrpc/CREDITS
3441 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3442 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3446 %defattr(644,root,root,755)
3447 %doc ext/xmlwriter/{CREDITS,TODO}
3448 %doc ext/xmlwriter/examples
3449 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3450 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3454 %defattr(644,root,root,755)
3455 %doc ext/xsl/CREDITS
3456 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3457 %attr(755,root,root) %{php_extensiondir}/xsl.so
3462 %defattr(644,root,root,755)
3463 %doc ext/zip/{CREDITS,TODO}
3464 %doc ext/zip/examples
3465 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3466 %attr(755,root,root) %{php_extensiondir}/zip.so
3470 %defattr(644,root,root,755)
3471 %doc ext/zlib/CREDITS
3472 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3473 %attr(755,root,root) %{php_extensiondir}/zlib.so