2 # - enable --with-fpm-systemd, but ensure it checks for sd_booted()
3 # - build with system libgd 2.1, see 73c5128
5 # - update imap annotations patch (needs api porting)
6 # - update imap myrights patch (needs api porting)
7 # --with-libmbfl=DIR MBSTRING: Use external libmbfl. DIR is the libmbfl base install directory BUNDLED
8 # --with-onig=DIR MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
10 # - fileinfo extension bundles magic db in library: data_file.c (dump of magic.mgc) is 14M
11 # - 2.3M fileinfo.so php54-fileinfo-5.4.6-0.15.x86_64
12 # - 2.3M fileinfo.so php-fileinfo-5.3.16-1.x86_64
13 # - 13K fileinfo.so php-pecl-fileinfo-1.0.4-8.amd64
14 # - ttyname_r() misdetected http://bugs.php.net/bug.php?id=48820
15 # - wddx: restore session support (not compiled in due DL extension check)
16 # - make additional headers and checking added by mail patch configurable
17 # - modularize standard (output from pure php -m)?
18 # - some mods should be shared:
30 %bcond_without embed # disable building Embedded API
31 %bcond_with gcov # Enable Code coverage reporting
32 %bcond_without kerberos5 # without Kerberos5 support
33 %bcond_with suhosin # with suhosin patch, has little point in PHP>=5.3, see https://github.com/stefanesser/suhosin/issues/42#issuecomment-41728178
34 %bcond_with systemtap # systemtap/DTrace support
35 %bcond_with tests # default off; test process very often hangs on builders, approx run time 45m; perform "make test"
36 %bcond_with zts # Zend Thread Safety
38 %bcond_without apache2 # disable building Apache 2.x SAPI
39 %bcond_without cgi # disable CGI/FCGI SAPI
40 %bcond_without fpm # disable FPM SAPI
41 %bcond_without litespeed # build litespeed SAPI
42 %bcond_with milter # disable Milter SAPI
43 %bcond_without phpdbg # disable phpdbg SAPI
45 %bcond_without bcmath # without bcmath extension module
46 %bcond_without bz2 # without bz2 extension module
47 %bcond_without calendar # without calendar extension module
48 %bcond_without ctype # without ctype extension module
49 %bcond_without curl # without CURL extension module
50 %bcond_without dba # without DBA extension module
51 %bcond_without dom # without DOM extension module
52 %bcond_without enchant # without Enchant extension module
53 %bcond_without ereg # without ext/ereg support
54 %bcond_without exif # without EXIF extension module
55 %bcond_without fileinfo # without fileinfo extension module
56 %bcond_without filter # without filter extension module
57 %bcond_without ftp # without FTP extension module
58 %bcond_without gd # without GD extension module
59 %bcond_without gettext # without gettext extension module
60 %bcond_without gmp # without gmp extension module
61 %bcond_without hash # without hash extension module
62 %bcond_without iconv # without iconv extension module
63 %bcond_without imap # without IMAP extension module
64 %bcond_without interbase # without InterBase extension module
65 %bcond_without intl # without Intl extension module
66 %bcond_without json # without json extension module
67 %bcond_without ldap # without LDAP extension module
68 %bcond_without mbstring # without mbstring extension module
69 %bcond_without mcrypt # without mbcrypt extension module
70 %bcond_without mhash # without mhash extension (supported by hash extension)
71 %bcond_without mssql # without MS SQL extension module
72 %bcond_without mysql # without ext/mysql support
73 %bcond_without mysqli # without mysqli support (Requires mysql >= 4.1)
74 %bcond_without mysqlnd # without mysqlnd support in mysql related extensions
75 %bcond_with oci # with Oracle oci8 extension module (BR: proprietary libs)
76 %bcond_without odbc # without ODBC extension module
77 %bcond_without opcache # without Enable Zend OPcache extension support
78 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
79 %bcond_without pcntl # without pcntl extension module
80 %bcond_without pcre # without PCRE extension module
81 %bcond_without pdo # without PDO extension module
82 %bcond_without pdo_dblib # without PDO dblib extension module
83 %bcond_without pdo_mysql # without PDO MySQL extension module
84 %bcond_without pdo_sqlite # without PDO SQLite extension module
85 %bcond_without pgsql # without PostgreSQL extension module
86 %bcond_without phar # without Phar extension module
87 %bcond_without posix # without POSIX extension module
88 %bcond_without pspell # without pspell extension module
89 %bcond_without readline # without readline extension module
90 %bcond_without recode # without recode extension module
91 %bcond_without session # without session extension module
92 %bcond_without snmp # without SNMP extension module
93 %bcond_without sqlite2 # without SQLite extension module
94 %bcond_without sqlite3 # without SQLite3 extension module
95 %bcond_without sybase_ct # without Sybase-CT extension module
96 %bcond_without tidy # without Tidy extension module
97 %bcond_without wddx # without WDDX extension module
98 %bcond_without xmlrpc # without XML-RPC extension module
100 %bcond_without instantclient # build Oracle oci8 extension module against oracle-instantclient package
101 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
102 %bcond_with mm # without mm support for session storage
103 %bcond_with system_gd # with system gd (imageantialias function is missing then)
104 %bcond_with system_libzip # with system libzip (reported broken currently)
105 %bcond_without webp # Without WebP support in GD extension (imagecreatefromwebp)
107 %define apxs1 /usr/sbin/apxs1
108 %define apxs2 /usr/sbin/apxs
112 %undefine with_apache2
114 %undefine with_litespeed
117 # mm is not thread safe
122 # milter requires ZTS
123 %if %{with milter} && %{without zts}
124 %undefine with_milter
127 %ifnarch %{ix86} %{x8664} x32 sparc sparcv9 alpha
128 # ppc disabled (broken on th-ppc)
129 %undefine with_interbase
132 %ifnarch %{ix86} %{x8664} x32
133 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
137 # filter depends on pcre
139 %undefine with_filter
143 %define php_suffix 56
144 Summary: PHP: Hypertext Preprocessor
145 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
146 Summary(pl.UTF-8): Język skryptowy PHP
147 Summary(pt_BR.UTF-8): A linguagem de script PHP
148 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
149 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
150 Name: %{orgname}%{php_suffix}
154 # All files licensed under PHP version 3.01, except
155 # Zend is licensed under Zend
156 # TSRM is licensed under BSD
157 License: PHP 3.01 and Zend and BSD
159 Source0: http://www.php.net/distributions/%{orgname}-%{version}.tar.xz
160 # Source0-md5: 660cd5bc0f16eaad655b7815c757aadc
161 Source2: %{orgname}-mod_%{orgname}.conf
162 Source3: %{orgname}-cgi-fcgi.ini
163 Source4: %{orgname}-apache.ini
164 Source5: %{orgname}-cli.ini
165 Source10: %{orgname}-fpm.init
166 Source11: %{orgname}-fpm.logrotate
167 Source12: %{orgname}-branch.sh
168 Source13: dep-tests.sh
169 Source14: skip-tests.sh
170 Patch0: %{orgname}-shared.patch
171 Patch1: %{orgname}-tld.patch
172 Patch3: %{orgname}-link-libs.patch
173 Patch4: php-bug-71475.patch
174 Patch5: %{orgname}-filter-shared.patch
175 Patch6: %{orgname}-build_modules.patch
176 Patch7: %{orgname}-sapi-ini-file.patch
178 Patch9: libtool-tag.patch
179 Patch10: %{orgname}-ini.patch
181 Patch14: %{orgname}-no_pear_install.patch
182 Patch17: %{orgname}-readline.patch
183 Patch18: %{orgname}-nohttpd.patch
184 Patch21: %{orgname}-dba-link.patch
185 Patch22: %{orgname}-both-apxs.patch
186 Patch23: %{orgname}-paths.patch
187 Patch24: %{orgname}-zlib-for-getimagesize.patch
188 Patch25: %{orgname}-stupidapache_version.patch
189 Patch26: %{orgname}-pear.patch
190 Patch27: %{orgname}-config-dir.patch
191 Patch29: %{orgname}-fcgi-graceful.patch
192 Patch31: %{orgname}-fcgi-error_log-no-newlines.patch
193 Patch34: %{orgname}-libtool.patch
194 Patch35: %{orgname}-tds.patch
195 Patch36: %{orgname}-mysql-charsetphpini.patch
196 Patch37: %{orgname}-mysqli-charsetphpini.patch
197 Patch38: %{orgname}-pdo_mysql-charsetphpini.patch
198 Patch39: %{orgname}-use-prog_sendmail.patch
199 Patch41: %{orgname}-fpm-config.patch
200 Patch42: %{orgname}-fpm-shared.patch
201 Patch43: %{orgname}-silent-session-cleanup.patch
202 Patch44: %{orgname}-include_path.patch
203 Patch47: suhosin.patch
204 Patch50: extension-shared-optional-dep.patch
205 Patch51: spl-shared.patch
206 Patch52: pcre-shared.patch
207 Patch53: fix-test-run.patch
208 Patch55: bug-52078-fileinode.patch
209 Patch59: %{orgname}-systzdata.patch
210 Patch60: %{orgname}-oracle-instantclient.patch
211 Patch62: mcrypt-libs.patch
212 Patch65: system-libzip.patch
213 Patch66: php-db.patch
214 Patch67: mysql-lib-ver-mismatch.patch
216 Patch69: fpm-conf-split.patch
217 Patch70: mysqlnd-ssl.patch
218 Patch72: phar-hash-shared.patch
220 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
221 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
222 BuildRequires: autoconf >= 2.59
223 BuildRequires: automake >= 1.4d
225 BuildRequires: bzip2-devel >= 1.0.0
226 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
227 BuildRequires: cyrus-sasl-devel >= 2
228 BuildRequires: db-devel >= 4.0
229 BuildRequires: elfutils-devel
230 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
231 %{?with_kerberos5:BuildRequires: heimdal-devel}
232 %{?with_system_libzip:BuildRequires: libzip-devel >= 0.10.1-2}
233 %{!?with_mysqlnd:BuildRequires: mysql-devel}
234 BuildRequires: pkgconfig
235 BuildRequires: sed >= 4.0
236 %if %{with mssql} || %{with sybase_ct} || %{with pdo_dblib}
237 BuildRequires: freetds-devel >= 0.82
239 BuildRequires: freetype-devel >= 1:2.5.1
240 %if %{with system_gd}
241 BuildRequires: gd-devel >= 2.1
243 BuildRequires: gdbm-devel
244 BuildRequires: gmp-devel >= 4.1.2
245 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
246 %{?with_intl:BuildRequires: libicu-devel >= 4.4}
247 BuildRequires: libjpeg-devel
248 BuildRequires: libltdl-devel >= 1.4
249 BuildRequires: libmcrypt-devel >= 2.5.6
250 BuildRequires: libpng-devel >= 1.0.8
251 %{?with_intl:BuildRequires: libstdc++-devel}
252 %{?with_webp:BuildRequires: libvpx-devel}
253 BuildRequires: tokyocabinet-devel
254 BuildRequires: libtool >= 2:2.4.6
255 BuildRequires: libxml2-devel >= 1:2.7.6-4
256 BuildRequires: libxslt-devel >= 1.1.0
257 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
258 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
259 %if %{with openssl} || %{with ldap}
260 BuildRequires: openssl-devel >= 0.9.7d
262 %{?with_gcov:BuildRequires: lcov}
263 %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
264 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
265 %{?with_oci:%{?with_instantclient:BuildRequires: oracle-instantclient-devel}}
266 BuildRequires: pam-devel
267 %{?with_pcre:BuildRequires: pcre-devel >= 8.10}
268 BuildRequires: pkgconfig
269 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
270 %{?with_pgsql:BuildRequires: postgresql-devel}
271 BuildRequires: readline-devel
272 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
273 BuildRequires: rpm >= 4.4.9-56
274 BuildRequires: rpm-build >= 4.4.0
275 BuildRequires: rpmbuild(macros) >= 1.566
276 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
277 BuildRequires: tar >= 1:1.22
279 %if %{with sqlite3} || %{with pdo_sqlite}
280 BuildRequires: sqlite3-devel >= 3.3.9
282 BuildRequires: t1lib-devel
283 %{?with_tidy:BuildRequires: tidy-devel}
284 %{?with_odbc:BuildRequires: unixODBC-devel}
285 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
286 BuildRequires: zlib-devel >= 1.0.9
288 BuildRequires: apache-devel >= 2.0.52-2
289 BuildRequires: apr-devel >= 1:1.0.0
290 BuildRequires: apr-util-devel >= 1:1.0.0
292 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
294 %define php_sysconfdir /etc/%{name}
295 %define php_extensiondir %{_libdir}/%{name}
296 %define php_datadir /usr/share/%{name}
297 %define _sysconfdir %{php_sysconfdir}
299 # must be in sync with source. extra check ensuring that it is so is done in %%build
300 %define php_api_version 20131106
301 %define zend_module_api 20131226
302 %define zend_extension_api 220131226
303 %define php_pdo_api_version 20080721
307 %define enchantver 1.1.0
308 %define fileinfover 1.0.5
310 %define intlver 1.1.0
311 %define jsonver 1.2.1
312 %define opcachever 7.0.6-dev
313 %define pharver 2.0.2
314 %define sqlite3ver 0.7-dev
315 %define zipver 1.12.5
316 %define phpdbgver 0.4.0
318 %define _zend_zts %{!?with_zts:0}%{?with_zts:1}
319 %define php_debug %{!?debug:0}%{?debug:1}
322 %undefine with_ccache
326 # ORACLE_HOME is required for oci8 ext to build
327 %define _preserve_env %_preserve_env_base ORACLE_HOME
331 PHP is an HTML-embedded scripting language. PHP attempts to make it
332 easy for developers to write dynamically generated web pages. PHP also
333 offers built-in database integration for several commercial and
334 non-commercial database management systems, so writing a
335 database-enabled web page with PHP is fairly simple. The most common
336 use of PHP coding is probably as a replacement for CGI scripts. The
337 mod_php module enables the Apache web server to understand and process
338 the embedded PHP language in web pages. This package contains PHP
341 %description -l fr.UTF-8
342 PHP est un langage de script embarque dans le HTM. PHP essaye de
343 rendre simple aux developpeurs d'ecrire des pages web generees
344 dynamiquement. PHP incorpore egalement une integration avec plusieurs
345 systemes de gestion de bases de donnees commerciaux et
346 non-connerciaux, qui rent facile la creation de pages web liees avec
347 des bases de donnees. L'utilisation la plus commune de PHP est
348 probablement en remplacement de scripts CGI. Le module mod_php permet
349 au serveur web Apache de comprendre et de traiter le langage PHP
350 integre dans des pages web. Ce package contient PHP version
353 %description -l pl.UTF-8
354 PHP jest językiem skryptowym, którego polecenia umieszcza się w
355 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
356 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
357 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
358 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
359 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
360 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
361 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
364 %description -l pt_BR.UTF-8
365 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
366 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
367 com algumas características únicas, específicas ao PHP. O objetivo da
368 linguagem é permitir que desenvolvedores web escrevam páginas
369 dinamicamente geradas de forma rápida.
371 %description -l ru.UTF-8
372 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
373 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
374 для работы с базами данных относительно просто. Наиболее популярное
375 использование PHP - замена для CGI скриптов.
377 %description -l uk.UTF-8
378 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
379 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
380 роботи з базами даних є доволі простим. Найбільш популярне
381 використання PHP - заміна для CGI скриптів.
383 %package -n apache-mod_%{name}
384 Summary: PHP DSO module for Apache 2.x
385 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
386 Group: Development/Languages/PHP
387 Requires: %{name}-common = %{epoch}:%{version}-%{release}
388 Requires: apache(modules-api) = %{apache_modules_api}
389 Requires: apache-mod_mime
390 Provides: webserver(php) = %{version}
391 Obsoletes: apache-mod_php < 4:5.3.28-7
394 %description -n apache-mod_%{name}
395 PHP as DSO module for Apache 2.x.
397 %description -n apache-mod_%{name} -l pl.UTF-8
398 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
401 Summary: PHP for litespeed HTTP server
402 Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
403 Group: Development/Languages/PHP
404 Requires: %{name}-common = %{epoch}:%{version}-%{release}
405 Provides: php(litespeed)
406 Provides: webserver(php) = %{version}
407 Obsoletes: php-litespeed < 4:5.3.28-7
409 %description litespeed
410 PHP for litespeed HTTP server.
412 %description litespeed -l pl.UTF-8
413 PHP dla serwera HTTP litespeed.
416 Summary: PHP as CGI/FastCGI program
417 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
418 Group: Development/Languages/PHP
419 Requires: %{name}-common = %{epoch}:%{version}-%{release}
420 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
423 Provides: webserver(php) = %{version}
424 Obsoletes: php-cgi < 4:5.3.28-7
425 Obsoletes: php-fcgi < 4:5.3.0
428 PHP as CGI or FastCGI program.
430 %description cgi -l pl.UTF-8
431 PHP jako program CGI lub FastCGI.
434 Summary: PHP as CLI interpreter
435 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
436 Group: Development/Languages/PHP
437 Requires: %{name}-common = %{epoch}:%{version}-%{release}
438 Requires: alternatives
439 Obsoletes: php-cli < 4:5.3.28-7
442 PHP as CLI interpreter.
444 %description cli -l pl.UTF-8
445 PHP jako interpreter działający z linii poleceń.
448 Summary: PHP library for embedding in applications
449 Summary(pl.UTF-8): Biblioteka PHP do osadzania w aplikacjach
451 Requires: %{name}-common = %{epoch}:%{version}-%{release}
452 Obsoletes: php-embedded < 4:5.3.28-7
454 %description embedded
455 The php-embedded package contains a library which can be embedded into
456 applications to provide PHP scripting language support.
458 %description embedded -l pl.UTF-8
459 Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
460 celu obsługi PHP jako języka skryptowego.
463 Summary: PHP FastCGI Process Manager
464 Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
465 Group: Development/Languages/PHP
466 URL: http://php-fpm.org/
467 Requires(post,preun): /sbin/chkconfig
468 Requires(postun): /usr/sbin/userdel
469 Requires(pre): /bin/id
470 Requires(pre): /usr/sbin/useradd
471 Requires: %{name}-common = %{epoch}:%{version}-%{release}
472 Requires: alternatives
473 Requires: php-dirs >= 1.4-2
478 Provides: webserver(php) = %{version}
479 Obsoletes: php-fpm < 4:5.3.28-7
480 Conflicts: logrotate < 3.8.0
483 PHP FastCGI Process Manager.
485 %description fpm -l pl.UTF-8
486 PHP FastCGI Process Manager - zarządca procesów FastCGI.
489 Summary: The debugging platform for PHP 5.4+
490 Summary(pl.UTF-8): Platforma diagnostyczna dla PHP 5.4+
491 Group: Development/Languages/PHP
492 Requires: %{name}-common = %{epoch}:%{version}-%{release}
493 Provides: php(phpdbg) = %{phpdbgver}
496 phpdbg - The interactive PHP debugger.
498 Implemented as a SAPI module, phpdbg can excert complete control over
499 the environment without impacting the functionality or performance of
502 phpdbg aims to be a lightweight, powerful, easy to use debugging
503 platform for PHP 5.4+
505 %description phpdbg -l pl.UTF-8
506 phpdbg - interaktywny debugger dla PHP.
508 Jest zaimplementowany jako moduł SAPI, potrafi przejąć pełną kontrolę
509 nad środowiskiem bez wpływu na zachowanie lub wydajność kodu.
511 Narzędzie powstało jako lekka, mająca duże możliwości, łatwa w użyciu
512 platforma diagnostyczna dla PHP 5.4+.
515 Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
516 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
517 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
518 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
520 Requires(post): sed >= 4.0
521 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
522 Requires: glibc >= 6:2.3.5
523 Requires: php-dirs >= 1.4
524 Requires: rpm-whiteout >= 1.28
526 Provides: %{name}(debug) = %{php_debug}
527 Provides: %{name}(modules_api) = %{php_api_version}
528 Provides: %{name}(thread-safety) = %{_zend_zts}
529 Provides: %{name}(zend_extension_api) = %{zend_extension_api}
530 Provides: %{name}(zend_module_api) = %{zend_module_api}
531 Provides: %{name}-core
532 Provides: %{name}-date
533 %{?with_ereg:Provides: %{name}-ereg}
534 Provides: %{name}-reflection
535 Provides: %{name}-standard
536 Provides: php(core) = %{version}
538 %{?with_ereg:Provides: php(ereg)}
539 Provides: php(libxml)
540 Provides: php(reflection)
541 Provides: php(standard)
542 %{!?with_mysqlnd:Obsoletes: %{name}-mysqlnd}
543 %{?with_pcre:%requires_ge_to pcre pcre-devel}
545 Obsoletes: php-common < 4:5.3.28-7
547 Obsoletes: php-filepro < 4:5.2.0
548 Obsoletes: php-hwapi < 4:5.2.0
549 Obsoletes: php-hyperwave < 3:5.0.0
550 Obsoletes: php-java < 3:5.0.0
551 Obsoletes: php-mcal < 3:5.0.0
552 Obsoletes: php-pecl-domxml
553 Obsoletes: php-qtdom < 3:5.0.0
554 Conflicts: php4-common < 3:4.4.4-8
555 Conflicts: php55-common < 4:5.5.10-4
556 Conflicts: rpm < 4.4.2-0.2
559 Common files needed by both Apache modules and CGI/CLI SAPIs.
561 %description common -l pl.UTF-8
562 Wspólne pliki dla modułu Apache'a i programu CGI.
564 %description common -l ru.UTF-8
565 Этот пакет содержит общие файлы для разных вариантов реализации PHP
566 (самодостаточной и в качестве модуля Apache).
568 %description common -l uk.UTF-8
569 Цей пакет містить спільні файли для різних варіантів реалізації PHP
570 (самодостатньої та в якості модуля Apache).
573 Summary: Files for PHP modules development
574 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
575 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
576 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
577 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
578 Group: Development/Languages/PHP
579 Requires: %{name}-common = %{epoch}:%{version}-%{release}
580 Requires: autoconf >= 2.13
582 Requires: libtool >= 2:2.4.6
583 %{?with_pcre:Requires: pcre-devel >= 8.10}
585 Provides: php-devel = %{epoch}:%{version}-%{release}
587 Obsoletes: php-pear-devel
588 Obsoletes: php4-devel
589 Obsoletes: php52-devel
590 Obsoletes: php53-devel
591 Obsoletes: php54-devel
592 Obsoletes: php55-devel
595 The php-devel package lets you compile dynamic extensions to PHP.
596 Included here is the source for the PHP extensions. Instead of
597 recompiling the whole PHP binary to add support for, say, oracle,
598 install this package and use the new self-contained extensions
599 support. For more information, read the file
600 README.SELF-CONTAINED-EXTENSIONS.
602 %description devel -l pl.UTF-8
603 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
604 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
605 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
606 samodzielnych rozszerzeniach można znaleźć w pliku
607 README.SELF-CONTAINED-EXTENSIONS.
609 %description devel -l pt_BR.UTF-8
610 Este pacote contém arquivos usados no desenvolvimento de programas ou
613 %description devel -l ru.UTF-8
614 Пакет php-devel дает возможность компилировать динамические расширения
615 PHP. Пакет включает исходный код этих расширений. Вместо повторной
616 компиляции бинарного файла PHP для добавления, например, поддержки
617 oracle, установите этот пакет для компилирования отдельных расширений.
618 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
620 %description devel -l uk.UTF-8
621 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
622 До пакету включено вихідний код для розширень. Замість повторної
623 компіляції бінарного файлу PHP для додання, наприклад, підтримки
624 oracle, встановіть цей пакет для компіляції окремих розширень.
625 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
628 Summary: bcmath extension module for PHP
629 Summary(pl.UTF-8): Moduł bcmath dla PHP
631 URL: http://php.net/manual/en/book.bc.php
632 Requires: %{name}-common = %{epoch}:%{version}-%{release}
633 Provides: php(bcmath)
634 Obsoletes: php-bcmath < 4:5.3.28-7
637 This is a dynamic shared object (DSO) for PHP that will add bc style
638 precision math functions support.
640 %description bcmath -l pl.UTF-8
641 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
642 matematycznych takich jak w programie bc.
645 Summary: Bzip2 extension module for PHP
646 Summary(pl.UTF-8): Moduł bzip2 dla PHP
648 URL: http://php.net/manual/en/book.bzip2.php
649 Requires: %{name}-common = %{epoch}:%{version}-%{release}
650 Requires: bzip2-libs >= 1.0.0
651 Provides: php(bz2) = %{bz2ver}
653 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
654 Obsoletes: php-bz2 < 4:5.3.28-7
655 Obsoletes: php-bzip2 < 4:5.2.14-3
656 Obsoletes: php-pecl-bz2 < %{bz2ver}
659 This is a dynamic shared object (DSO) for PHP that will add bzip2
660 compression support to PHP.
662 %description bz2 -l pl.UTF-8
663 Moduł PHP umożliwiający używanie kompresji bzip2.
666 Summary: Calendar extension module for PHP
667 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
669 URL: http://php.net/manual/en/book.calendar.php
670 Requires: %{name}-common = %{epoch}:%{version}-%{release}
671 Provides: php(calendar)
672 Obsoletes: php-calendar < 4:5.3.28-7
674 %description calendar
675 This is a dynamic shared object (DSO) for PHP that will add calendar
678 %description calendar -l pl.UTF-8
679 Moduł PHP dodający wsparcie dla kalendarza.
682 Summary: ctype extension module for PHP
683 Summary(pl.UTF-8): Moduł ctype dla PHP
685 URL: http://php.net/manual/en/book.ctype.php
686 Requires: %{name}-common = %{epoch}:%{version}-%{release}
688 Obsoletes: php-ctype < 4:5.3.28-7
691 This is a dynamic shared object (DSO) for PHP that will add ctype
694 %description ctype -l pl.UTF-8
695 Moduł PHP umożliwiający korzystanie z funkcji ctype.
698 Summary: curl extension module for PHP
699 Summary(pl.UTF-8): Moduł curl dla PHP
701 URL: http://php.net/manual/en/book.curl.php
702 Requires: %{name}-common = %{epoch}:%{version}-%{release}
703 Requires: curl-libs >= 7.12.0
705 Obsoletes: php-curl < 4:5.3.28-7
708 This is a dynamic shared object (DSO) for PHP that will add curl
711 %description curl -l pl.UTF-8
712 Moduł PHP umożliwiający korzystanie z biblioteki curl.
715 Summary: DBA extension module for PHP
716 Summary(pl.UTF-8): Moduł DBA dla PHP
718 URL: http://php.net/manual/en/book.dba.php
719 Requires: %{name}-common = %{epoch}:%{version}-%{release}
721 Obsoletes: php-dba < 4:5.3.28-7
722 # withdrawn module of similar functionality but different API
723 Obsoletes: php-db < 3:5.0.0
726 This is a dynamic shared object (DSO) for PHP that will add flat-file
727 databases (DBA) support.
729 %description dba -l pl.UTF-8
730 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
734 Summary: DOM extension module for PHP
735 Summary(pl.UTF-8): Moduł DOM dla PHP
737 URL: http://php.net/manual/en/book.dom.php
738 Requires: %{name}-common = %{epoch}:%{version}-%{release}
740 # it has some compatibility functions
741 Provides: %{name}-domxml = %{epoch}:%{version}-%{release}
742 Provides: php(domxml)
743 Obsoletes: php-dom < 4:5.3.28-7
744 Obsoletes: php-domxml <= 3:4.3.8-1
747 This is a dynamic shared object (DSO) for PHP that will add new DOM
750 %description dom -l pl.UTF-8
751 Moduł PHP dodający nową obsługę DOM.
754 Summary: libenchant binder
755 Summary(pl.UTF-8): dowiązania biblioteki libenchant
757 URL: http://php.net/manual/en/book.enchant.php
758 Requires: %{name}-common = %{epoch}:%{version}-%{release}
759 Provides: php(enchant) = %{enchantver}
760 Obsoletes: php-enchant < 4:5.3.28-7
761 Obsoletes: php-pecl-enchant < %{enchantver}
764 Enchant is a binder for libenchant. Libenchant provides a common API
765 for many spell libraries:
766 - aspell/pspell (intended to replace ispell)
769 - myspell (OpenOffice.org project, mozilla)
770 - uspell (primarily Yiddish, Hebrew, and Eastern European languages) A
771 plugin system allows to add custom spell support.
773 %description enchant -l pl.UTF-8
774 Enchant jest dowiązaniem do biblioteki libenchant, która udostępnia
775 ujednolicone API dla wielu narzędzi sprawdzających pisownię:
776 - aspell/pspell (w zamierzeniu ma zastąpić ispell)
779 - myspell (projekt OpenOffice.org, mozilla)
780 - uspell (głównie Jidysz, Hebrajski oraz języki wschodnioeuropejskie)
781 System wtyczek pozwala na dodanie wsparcia dla kolejnych narzędzi.
784 Summary: exif extension module for PHP
785 Summary(pl.UTF-8): Moduł exif dla PHP
787 URL: http://php.net/manual/en/book.exif.php
788 Requires: %{name}-common = %{epoch}:%{version}-%{release}
790 Obsoletes: php-exif < 4:5.3.28-7
793 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
794 support in image files.
796 %description exif -l pl.UTF-8
797 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
800 Summary: libmagic bindings
801 Summary(pl.UTF-8): Wiązania do libmagic
803 URL: http://php.net/manual/en/book.fileinfo.php
804 Requires: %{name}-common = %{epoch}:%{version}-%{release}
805 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
806 Provides: php(fileinfo) = %{fileinfover}
807 Obsoletes: php-fileinfo < 4:5.3.28-7
808 Obsoletes: php-mime_magic
809 Obsoletes: php-pecl-fileinfo < %{fileinfover}
811 %description fileinfo
812 This extension allows retrieval of information regarding vast majority
813 of file. This information may include dimensions, quality, length
816 Additionally it can also be used to retrieve the MIME type for a
817 particular file and for text files proper language encoding.
819 %description fileinfo -l pl.UTF-8
820 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
821 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
823 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
824 pliku oraz kodowania plików tekstowych.
827 Summary: Extension for safely dealing with input parameters
828 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
830 URL: http://php.net/manual/en/book.filter.php
831 Requires: %{name}-common = %{epoch}:%{version}-%{release}
832 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
833 Provides: php(filter)
834 Obsoletes: php-filter < 4:5.3.28-7
835 Obsoletes: php-pecl-filter
838 We all know that you should always check input variables, but PHP does
839 not offer really good functionality for doing this in a safe way. The
840 Input Filter extension is meant to address this issue by implementing
841 a set of filters and mechanisms that users can use to safely access
844 %description filter -l pl.UTF-8
845 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
846 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
847 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
848 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
849 mogą bezpiecznie używać do dostępu do danych.
852 Summary: FTP extension module for PHP
853 Summary(pl.UTF-8): Moduł FTP dla PHP
855 URL: http://php.net/manual/en/book.ftp.php
856 Requires: %{name}-common = %{epoch}:%{version}-%{release}
858 Obsoletes: php-ftp < 4:5.3.28-7
861 This is a dynamic shared object (DSO) for PHP that will add FTP
864 %description ftp -l pl.UTF-8
865 Moduł PHP dodający obsługę protokołu FTP.
868 Summary: GD extension module for PHP
869 Summary(pl.UTF-8): Moduł GD dla PHP
871 URL: http://php.net/manual/en/book.image.php
872 Requires: %{name}-common = %{epoch}:%{version}-%{release}
873 %if %{with system_gd}
878 Obsoletes: php-gd < 4:5.3.28-7
881 This is a dynamic shared object (DSO) for PHP that will add GD
882 support, allowing you to create and manipulate images with PHP.
884 %description gd -l pl.UTF-8
885 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
886 tworzenie i obróbkę obrazków.
889 Summary: gettext extension module for PHP
890 Summary(pl.UTF-8): Moduł gettext dla PHP
892 URL: http://php.net/manual/en/book.gettext.php
893 Requires: %{name}-common = %{epoch}:%{version}-%{release}
894 Provides: php(gettext)
895 Obsoletes: php-gettext < 4:5.3.28-7
898 This is a dynamic shared object (DSO) for PHP that will add gettext
901 %description gettext -l pl.UTF-8
902 Moduł PHP dodający obsługę lokalizacji przez gettext.
905 Summary: gmp extension module for PHP
906 Summary(pl.UTF-8): Moduł gmp dla PHP
908 URL: http://php.net/manual/en/book.gmp.php
909 Requires: %{name}-common = %{epoch}:%{version}-%{release}
910 Requires: gmp >= 4.1.2
912 Obsoletes: php-gmp < 4:5.3.28-7
915 This is a dynamic shared object (DSO) for PHP that will add arbitrary
916 length number support with GNU MP library.
918 %description gmp -l pl.UTF-8
919 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
920 liczbach o dowolnej długości.
923 Summary: HASH Message Digest Framework
924 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
926 URL: http://php.net/manual/en/book.gmp.php
927 Requires: %{name}-common = %{epoch}:%{version}-%{release}
928 Provides: php(hash) = %{hashver}
931 Provides: php-mhash = %{epoch}:%{version}-%{release}
932 Obsoletes: php-mhash < 4:5.3.0
934 Obsoletes: php-hash < 4:5.3.28-7
935 Obsoletes: php-pecl-hash < %{hashver}
938 Native implementations of common message digest algorithms using a
939 generic factory method.
941 %description hash -l pl.UTF-8
942 Natywne implementacje popularnych algorytmów obliczania skrótów
943 wiadomości przy użyciu wspólnego interfejsu.
946 Summary: iconv extension module for PHP
947 Summary(pl.UTF-8): Moduł iconv dla PHP
949 URL: http://php.net/manual/en/book.iconv.php
950 Requires: %{_libdir}/gconv
951 Requires: %{name}-common = %{epoch}:%{version}-%{release}
954 Obsoletes: php-iconv < 4:5.3.28-7
957 This is a dynamic shared object (DSO) for PHP that will add iconv
960 %description iconv -l pl.UTF-8
961 Moduł PHP dodający obsługę iconv.
964 Summary: IMAP extension module for PHP
965 Summary(pl.UTF-8): Moduł IMAP dla PHP
966 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
968 URL: http://php.net/manual/en/book.imap.php
969 Requires: %{name}-common = %{epoch}:%{version}-%{release}
970 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
971 Requires: imap-lib >= 1:2007e-2
973 Obsoletes: php-imap < 4:5.3.28-7
976 This is a dynamic shared object (DSO) for PHP that will add IMAP
979 %description imap -l pl.UTF-8
980 Moduł PHP dodający obsługę skrzynek IMAP.
982 %description imap -l pt_BR.UTF-8
983 Um módulo para aplicações PHP que usam IMAP.
986 Summary: InterBase/Firebird database module for PHP
987 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
989 URL: http://php.net/manual/en/book.ibase.php
990 %if %{with interbase_inst}
991 %{?requires_php_extension}
993 Requires: %{name}-common = %{epoch}:%{version}-%{release}
995 Provides: php(interbase)
996 Obsoletes: php-interbase < 4:5.3.28-7
998 %description interbase
999 This is a dynamic shared object (DSO) for PHP that will add InterBase
1000 and Firebird database support.
1002 %description interbase -l pl.UTF-8
1003 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
1006 Summary: Internationalization extension (ICU wrapper)
1007 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
1009 URL: http://php.net/intl
1010 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1011 Provides: php(intl) = %{intlver}
1012 Obsoletes: php-intl < 4:5.3.28-7
1013 Obsoletes: php-pecl-intl < %{intlver}
1016 Internationalization extension (further is referred as Intl) is a
1017 wrapper for ICU library, enabling PHP programmers to perform
1018 UCA-conformant collation and date/time/number/currency formatting in
1021 %description intl -l pl.UTF-8
1022 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
1023 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
1024 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
1028 Summary: PHP C extension for JSON serialization
1029 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
1031 URL: http://php.net/manual/en/book.json.php
1032 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1033 Provides: php(json) = %{jsonver}
1034 Obsoletes: php-json < 4:5.3.28-7
1035 Obsoletes: php-pecl-json < %{jsonver}
1038 php-json is an extremely fast PHP C extension for JSON (JavaScript
1039 Object Notation) serialisation.
1041 %description json -l pl.UTF-8
1042 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
1043 (JavaScript Object Notation).
1046 Summary: LDAP extension module for PHP
1047 Summary(pl.UTF-8): Moduł LDAP dla PHP
1048 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
1050 URL: http://php.net/manual/en/book.ldap.php
1051 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1053 Obsoletes: php-ldap < 4:5.3.28-7
1056 This is a dynamic shared object (DSO) for PHP that will add LDAP
1059 %description ldap -l pl.UTF-8
1060 Moduł PHP dodający obsługę LDAP.
1062 %description ldap -l pt_BR.UTF-8
1063 Um módulo para aplicações PHP que usam LDAP.
1066 Summary: mbstring extension module for PHP
1067 Summary(pl.UTF-8): Moduł mbstring dla PHP
1069 URL: http://php.net/manual/en/book.mbstring.php
1070 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1071 Provides: php(mbstring)
1072 Obsoletes: php-mbstring < 4:5.3.28-7
1074 %description mbstring
1075 This is a dynamic shared object (DSO) for PHP that will add multibyte
1078 %description mbstring -l pl.UTF-8
1079 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1082 Summary: mcrypt extension module for PHP
1083 Summary(pl.UTF-8): Moduł mcrypt dla PHP
1085 URL: http://php.net/manual/en/book.mcrypt.php
1086 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1087 Requires: libmcrypt >= 2.5.6
1088 Provides: php(mcrypt)
1089 Obsoletes: php-mcrypt < 4:5.3.28-7
1092 This is a dynamic shared object (DSO) for PHP that will add mcrypt
1095 %description mcrypt -l pl.UTF-8
1096 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
1099 Summary: MS SQL extension module for PHP
1100 Summary(pl.UTF-8): Moduł MS SQL dla PHP
1102 URL: http://www.php.net/manual/en/book.mssql.php
1103 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1104 Provides: php(mssql)
1105 Obsoletes: php-mssql < 4:5.3.28-7
1108 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1109 databases support through FreeTDS library.
1111 %description mssql -l pl.UTF-8
1112 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
1116 Summary: MySQL database module for PHP
1117 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
1118 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
1120 URL: http://www.php.net/manual/en/book.mysql.php
1121 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1122 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1123 Provides: php(mysql)
1124 Obsoletes: php-mysql < 4:5.3.28-7
1127 This is a dynamic shared object (DSO) for PHP that will add MySQL
1130 %description mysql -l pl.UTF-8
1131 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
1133 %description mysql -l pt_BR.UTF-8
1134 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1137 Summary: MySQLi module for PHP
1138 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1140 URL: http://php.net/manual/en/book.mysqli.php
1141 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1142 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1143 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1144 Provides: php(mysqli)
1145 Obsoletes: php-mysqli < 4:5.3.28-7
1148 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1149 (Improved MySQL) support. The difference between it and mysql module
1150 is that it provides access to functionality of MySQL 4.1 and above.
1152 %description mysqli -l pl.UTF-8
1153 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1154 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1155 MySQL w wersji 4.1 i nowszych.
1158 Summary: MySQL Native Client Driver for PHP
1159 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1161 URL: http://php.net/manual/en/book.mysqlnd.php
1162 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1163 Provides: php(mysqlnd)
1164 Obsoletes: php-mysqlnd < 4:5.3.28-7
1166 %description mysqlnd
1167 MySQL Native Driver is a replacement for the MySQL Client Library
1170 Because MySQL Native Driver is written as a PHP extension, it is
1171 tightly coupled to the workings of PHP. This leads to gains in
1172 efficiency, especially when it comes to memory usage, as the driver
1173 uses the PHP memory management system. It also supports the PHP memory
1174 limit. Using MySQL Native Driver leads to comparable or better
1175 performance than using MySQL Client Library, it always ensures the
1176 most efficient use of memory. One example of the memory efficiency is
1177 the fact that when using the MySQL Client Library, each row is stored
1178 in memory twice, whereas with the MySQL Native Driver each row is only
1179 stored once in memory.
1181 %description mysqlnd -l pl.UTF-8
1182 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1183 klienckiej MySQL (libmysql).
1185 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1186 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1187 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1188 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1189 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1190 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1191 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1192 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1193 tym sterowniku - tylko raz.
1196 Summary: Oracle 8+ database module for PHP
1197 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1199 URL: http://php.net/manual/en/book.oci8.php
1200 %{?requires_php_extension}
1202 Obsoletes: php-oci8 < 4:5.3.28-7
1203 # withdrawn module of similar functionality but different API
1204 Obsoletes: php-oracle < 4:5.1.0
1207 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1208 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1210 %description oci8 -l pl.UTF-8
1211 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1212 poprzez interfejs Oracle8 Call-Interface (OCI8).
1215 Summary: ODBC extension module for PHP
1216 Summary(pl.UTF-8): Moduł ODBC dla PHP
1217 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1219 URL: http://php.net/manual/en/book.uodbc.php
1220 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1221 Requires: unixODBC >= 2.1.1-3
1223 Obsoletes: php-odbc < 4:5.3.28-7
1226 This is a dynamic shared object (DSO) for PHP that will add ODBC
1229 %description odbc -l pl.UTF-8
1230 Moduł PHP ze wsparciem dla ODBC.
1232 %description odbc -l pt_BR.UTF-8
1233 Um módulo para aplicações PHP que usam ODBC.
1236 Summary: Zend Optimizer+ - PHP code optimizer
1237 Summary(pl.UTF-8): Zend Optimizer+ - optymalizator kodu PHP
1239 URL: https://wiki.php.net/rfc/optimizerplus
1240 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1241 Provides: php(opcache) = %{opcachever}
1243 %description opcache
1244 The Zend OPcache provides faster PHP execution through opcode caching
1245 and optimization. It improves PHP performance by storing precompiled
1246 script bytecode in the shared memory. This eliminates the stages of
1247 reading code from the disk and compiling it on future access. In
1248 addition, it applies a few bytecode optimization patterns that make
1249 code execution faster.
1251 %description opcache -l pl.UTF-8
1252 Zend OPcache zapewnia szybsze wykonywanie kodu PHP dzięki buforowaniu
1253 i optymalizacji na poziomie opcode'ów. Poprawia wydajność PHP
1254 przechowując prekompilowany bajtkod skryptu w pamięci współdzielonej.
1255 Eliminuje etapy odczytu kodu z dysku i kompilacji przy późniejszym
1256 dostępie. Ponadto wykonuje kilka wzorców optymalizacji bajtkodu,
1257 czyniąc wykonywanie kodu szybszym.
1260 Summary: OpenSSL extension module for PHP
1261 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1263 URL: http://php.net/manual/en/book.openssl.php
1264 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1265 Provides: php(openssl)
1266 Obsoletes: php-openssl < 4:5.3.28-7
1268 %description openssl
1269 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1272 %description openssl -l pl.UTF-8
1273 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1276 Summary: Process Control extension module for PHP
1277 Summary(pl.UTF-8): Moduł Process Control dla PHP
1279 URL: http://php.net/manual/en/book.pcntl.php
1280 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1281 Provides: php(pcntl)
1282 Obsoletes: php-pcntl < 4:5.3.28-7
1285 This is a dynamic shared object (DSO) for PHP that will add process
1286 spawning and control support. It supports functions like fork(),
1287 waitpid(), signal() etc.
1289 %description pcntl -l pl.UTF-8
1290 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1291 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1294 Summary: PCRE extension module for PHP
1295 Summary(pl.UTF-8): Moduł PCRE dla PHP
1297 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1299 Obsoletes: php-pcre < 4:5.3.28-7
1302 This is a dynamic shared object (DSO) for PHP that will add Perl
1303 Compatible Regular Expression support.
1305 %description pcre -l pl.UTF-8
1306 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1307 (Perl Compatible Regular Expressions)
1310 Summary: PHP Data Objects (PDO)
1311 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1313 URL: http://php.net/manual/en/book.pdo.php
1314 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1315 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1316 Provides: %{name}(PDO_API) = %{php_pdo_api_version}
1318 Obsoletes: php-pdo < 4:5.3.28-7
1319 Obsoletes: php-pecl-PDO
1322 This is a dynamic shared object (DSO) for PHP that will add PDO
1325 %description pdo -l pl.UTF-8
1326 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1329 Summary: PHP Data Objects (PDO) FreeTDS support
1330 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1332 URL: http://php.net/manual/en/ref.pdo-dblib.php
1333 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1334 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1335 Provides: php(pdo_dblib)
1336 Obsoletes: php-pdo-dblib < 4:5.3.28-7
1338 %description pdo-dblib
1339 This is a dynamic shared object (DSO) for PHP that will add PDO
1342 %description pdo-dblib -l pl.UTF-8
1343 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1346 %package pdo-firebird
1347 Summary: PHP Data Objects (PDO) Firebird support
1348 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1350 URL: http://php.net/manual/en/ref.pdo-firebird.php
1351 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1352 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1353 Provides: php(pdo-firebird)
1354 Provides: php(pdo_firebird)
1355 Obsoletes: php-pdo-firebird < 4:5.3.28-7
1356 Obsoletes: php-pecl-PDO_FIREBIRD
1358 %description pdo-firebird
1359 This is a dynamic shared object (DSO) for PHP that will add PDO
1362 %description pdo-firebird -l pl.UTF-8
1363 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1367 Summary: PHP Data Objects (PDO) MySQL support
1368 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1370 URL: http://php.net/manual/en/ref.pdo-mysql.php
1371 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1372 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1373 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1374 Provides: php(pdo-mysql)
1375 Provides: php(pdo_mysql)
1376 Obsoletes: php-pdo-mysql < 4:5.3.28-7
1377 Obsoletes: php-pecl-PDO_MYSQL
1379 %description pdo-mysql
1380 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1383 %description pdo-mysql -l pl.UTF-8
1384 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1388 Summary: PHP Data Objects (PDO) Oracle support
1389 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1391 URL: http://php.net/manual/en/ref.pdo-oci.php
1392 %{?requires_php_extension}
1393 %{?requires_php_pdo_module}
1394 Provides: php(pdo-oci)
1395 Provides: php(pdo_oci)
1396 Obsoletes: php-pdo-oci < 4:5.3.28-7
1397 Obsoletes: php-pecl-PDO_OCI
1399 %description pdo-oci
1400 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1403 %description pdo-oci -l pl.UTF-8
1404 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1408 Summary: PHP Data Objects (PDO) ODBC support
1409 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1411 URL: http://php.net/manual/en/ref.pdo-odbc.php
1412 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1413 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1414 Provides: php(pdo-odbc)
1415 Provides: php(pdo_odbc)
1416 Obsoletes: php-pdo-odbc < 4:5.3.28-7
1417 Obsoletes: php-pecl-PDO_ODBC
1419 %description pdo-odbc
1420 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1423 %description pdo-odbc -l pl.UTF-8
1424 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1428 Summary: PHP Data Objects (PDO) PostgreSQL support
1429 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1431 URL: http://php.net/manual/en/ref.pdo-pgsql.php
1432 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1433 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1434 Provides: php(pdo-pgsql)
1435 Provides: php(pdo_pgsql)
1436 Obsoletes: php-pdo-pgsql < 4:5.3.28-7
1437 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1439 %description pdo-pgsql
1440 This is a dynamic shared object (DSO) for PHP that will add PDO
1443 %description pdo-pgsql -l pl.UTF-8
1444 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1448 Summary: PHP Data Objects (PDO) SQLite support
1449 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1451 URL: http://php.net/manual/en/ref.pdo-sqlite.php
1452 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1453 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1454 Provides: php(pdo-sqlite)
1455 Provides: php(pdo_sqlite)
1456 Obsoletes: php-pdo-sqlite < 4:5.3.28-7
1457 Obsoletes: php-pecl-PDO_SQLITE
1459 %description pdo-sqlite
1460 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1463 %description pdo-sqlite -l pl.UTF-8
1464 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1468 Summary: PostgreSQL database module for PHP
1469 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1471 URL: http://php.net/manual/en/book.pgsql.php
1472 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1473 Provides: php(pgsql)
1474 Obsoletes: php-pgsql < 4:5.3.28-7
1477 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1480 %description pgsql -l pl.UTF-8
1481 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1483 %description pgsql -l pt_BR.UTF-8
1484 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1487 Summary: Phar archive module for PHP
1488 Summary(pl.UTF-8): Moduł phar dla PHP
1490 URL: http://php.net/manual/en/book.phar.php
1491 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1492 Requires: %{name}-hash = %{epoch}:%{version}-%{release}
1493 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1494 Requires: alternatives
1495 Suggests: %{name}-cli
1496 # zlib is required by phar program, but as phar cli is optional should the dep be too
1497 Suggests: %{name}-zlib
1498 Provides: php(phar) = %{pharver}
1499 Obsoletes: php-pecl-phar < %{pharver}
1500 Obsoletes: php-phar < 4:5.3.28-7
1501 Conflicts: php-ioncube < 4.0.9
1504 This is a dynamic shared object (DSO) for PHP that will add phar
1507 %description phar -l pl.UTF-8
1508 Moduł PHP umożliwiający dostęp do achiwów .phar.
1511 Summary: POSIX extension module for PHP
1512 Summary(pl.UTF-8): Moduł POSIX dla PHP
1514 URL: http://php.net/manual/en/book.posix.php
1515 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1516 Provides: php(posix)
1517 Obsoletes: php-posix < 4:5.3.28-7
1520 This is a dynamic shared object (DSO) for PHP that will add POSIX
1521 functions support to PHP.
1523 %description posix -l pl.UTF-8
1524 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1527 Summary: pspell extension module for PHP
1528 Summary(pl.UTF-8): Moduł pspell dla PHP
1530 URL: http://php.net/manual/en/book.pspell.php
1531 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1532 Provides: php(pspell)
1533 Obsoletes: php-pspell < 4:5.3.28-7
1536 This is a dynamic shared object (DSO) for PHP that will add pspell
1537 support to PHP. It allows to check the spelling of a word and offer
1540 %description pspell -l pl.UTF-8
1541 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1542 sprawdzanie pisowni słowa i sugerowanie poprawek.
1545 Summary: readline extension module for PHP
1546 Summary(pl.UTF-8): Moduł readline dla PHP
1548 URL: http://php.net/manual/en/book.readline.php
1549 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1550 Provides: php(readline)
1551 Obsoletes: php-readline < 4:5.3.28-7
1553 %description readline
1554 This PHP module adds support for readline functions (only for cli and
1557 %description readline -l pl.UTF-8
1558 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1561 Summary: recode extension module for PHP
1562 Summary(pl.UTF-8): Moduł recode dla PHP
1564 URL: http://php.net/manual/en/book.recode.php
1565 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1566 Requires: recode >= 3.5d-3
1567 Provides: php(recode)
1568 Obsoletes: php-recode < 4:5.3.28-7
1571 This is a dynamic shared object (DSO) for PHP that will add recode
1574 %description recode -l pl.UTF-8
1575 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1579 Summary: session extension module for PHP
1580 Summary(pl.UTF-8): Moduł session dla PHP
1582 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1583 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1584 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1586 Provides: php(session)
1587 Obsoletes: php-session < 4:5.3.28-7
1589 %description session
1590 This is a dynamic shared object (DSO) for PHP that will add session
1593 %description session -l pl.UTF-8
1594 Moduł PHP dodający obsługę sesji.
1597 Summary: Shared Memory Operations extension module for PHP
1598 Summary(pl.UTF-8): Moduł shmop dla PHP
1600 URL: http://php.net/manual/en/book.shmop.php
1601 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1602 Provides: php(shmop)
1603 Obsoletes: php-shmop < 4:5.3.28-7
1606 This is a dynamic shared object (DSO) for PHP that will add Shared
1607 Memory Operations support.
1609 %description shmop -l pl.UTF-8
1610 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1613 Summary: Simple XML extension module for PHP
1614 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1616 URL: http://php.net/manual/en/book.simplexml.php
1617 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1618 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1619 Provides: php(simplexml)
1620 Obsoletes: php-simplexml < 4:5.3.28-7
1622 %description simplexml
1623 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1626 %description simplexml -l pl.UTF-8
1627 Moduł PHP dodający obsługę prostego XML-a.
1630 Summary: SNMP extension module for PHP
1631 Summary(pl.UTF-8): Moduł SNMP dla PHP
1633 URL: http://php.net/manual/en/book.snmp.php
1634 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1635 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1636 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1638 Obsoletes: php-snmp < 4:5.3.28-7
1641 This is a dynamic shared object (DSO) for PHP that will add SNMP
1644 %description snmp -l pl.UTF-8
1645 Moduł PHP dodający obsługę SNMP.
1648 Summary: soap extension module for PHP
1649 Summary(pl.UTF-8): Moduł soap dla PHP
1651 URL: http://php.net/manual/en/book.soap.php
1652 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1654 Obsoletes: php-soap < 4:5.3.28-7
1657 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1660 %description soap -l pl.UTF-8
1661 Moduł PHP dodający obsługę SOAP/WSDL.
1664 Summary: sockets extension module for PHP
1665 Summary(pl.UTF-8): Moduł socket dla PHP
1667 URL: http://php.net/manual/en/book.sockets.php
1668 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1669 Provides: php(sockets)
1670 Obsoletes: php-sockets < 4:5.3.28-7
1672 %description sockets
1673 This is a dynamic shared object (DSO) for PHP that will add sockets
1676 %description sockets -l pl.UTF-8
1677 Moduł PHP dodający obsługę gniazdek.
1680 Summary: Standard PHP Library module for PHP
1681 Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1683 URL: http://php.net/manual/en/book.spl.php
1684 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1685 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1686 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1688 Obsoletes: php-spl < 4:5.3.28-7
1691 This is a dynamic shared object (DSO) for PHP that will add Standard
1692 PHP Library support.
1694 %description spl -l pl.UTF-8
1695 Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1698 Summary: SQLite3 extension module for PHP
1699 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1701 URL: http://php.net/manual/en/book.sqlite3.php
1702 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1703 Provides: php(sqlite3) = %{sqlite3ver}
1704 Obsoletes: php-sqlite3 < 4:5.3.28-7
1706 %description sqlite3
1707 SQLite is a C library that implements an embeddable SQL database
1708 engine. Programs that link with the SQLite library can have SQL
1709 database access without running a separate RDBMS process.
1711 SQLite is not a client library used to connect to a big database
1712 server. SQLite is the server. The SQLite library reads and writes
1713 directly to and from the database files on disk.
1715 %description sqlite3 -l pl.UTF-8
1716 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1717 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1718 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1721 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1722 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1723 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1727 Summary: Sybase-CT extension module for PHP
1728 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1730 URL: http://www.php.net/manual/en/book.sybase.php
1731 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1732 Provides: php(sybase-ct)
1733 Obsoletes: php-sybase
1734 Obsoletes: php-sybase-ct < 4:5.3.28-7
1736 %description sybase-ct
1737 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1738 MS SQL databases support through CT-lib.
1740 %description sybase-ct -l pl.UTF-8
1741 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1745 Summary: SysV msg extension module for PHP
1746 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1748 URL: http://php.net/manual/en/book.sem.php
1749 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1750 Provides: php(sysvmsg)
1751 Obsoletes: php-sysvmsg < 4:5.3.28-7
1753 %description sysvmsg
1754 This is a dynamic shared object (DSO) for PHP that will add SysV
1755 message queues support.
1757 %description sysvmsg -l pl.UTF-8
1758 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1761 Summary: SysV sem extension module for PHP
1762 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1764 URL: http://php.net/manual/en/book.sem.php
1765 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1766 Provides: php(sysvsem)
1767 Obsoletes: php-sysvsem < 4:5.3.28-7
1769 %description sysvsem
1770 This is a dynamic shared object (DSO) for PHP that will add SysV
1773 %description sysvsem -l pl.UTF-8
1774 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1777 Summary: SysV shm extension module for PHP
1778 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1780 URL: http://php.net/manual/en/book.sem.php
1781 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1782 Provides: php(sysvshm)
1783 Obsoletes: php-sysvshm < 4:5.3.28-7
1785 %description sysvshm
1786 This is a dynamic shared object (DSO) for PHP that will add SysV
1787 Shared Memory support.
1789 %description sysvshm -l pl.UTF-8
1790 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1793 Summary: Contains unit test files for PHP and extensions
1794 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1796 URL: http://qa.php.net/
1797 Requires: %{name}-cli
1800 This package contains unit tests for PHP and its extensions.
1802 %description tests -l pl.UTF-8
1803 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1806 Summary: Tidy extension module for PHP
1807 Summary(pl.UTF-8): Moduł Tidy dla PHP
1809 URL: http://php.net/manual/en/book.tidy.php
1810 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1813 Obsoletes: php-tidy < 4:5.3.28-7
1816 This is a dynamic shared object (DSO) for PHP that will add Tidy
1819 %description tidy -l pl.UTF-8
1820 Moduł PHP umożliwiający korzystanie z tidy.
1823 Summary: tokenizer extension module for PHP
1824 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1826 URL: http://php.net/manual/en/book.tokenizer.php
1827 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1828 Provides: php(tokenizer)
1829 Obsoletes: php-tokenizer < 4:5.3.28-7
1831 %description tokenizer
1832 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1835 %description tokenizer -l pl.UTF-8
1836 Moduł PHP dodający obsługę tokenizera do PHP.
1839 Summary: wddx extension module for PHP
1840 Summary(pl.UTF-8): Moduł wddx dla PHP
1842 URL: http://php.net/manual/en/book.wddx.php
1843 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1844 # - wddx doesn't require session as it's disabled at compile time:
1845 # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1846 # see also php.spec#rev1.120.2.22
1847 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1848 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1850 Obsoletes: php-wddx < 4:5.3.28-7
1853 This is a dynamic shared object (DSO) for PHP that will add wddx
1856 %description wddx -l pl.UTF-8
1857 Moduł PHP umożliwiający korzystanie z wddx.
1860 Summary: XML extension module for PHP
1861 Summary(pl.UTF-8): Moduł XML dla PHP
1863 URL: http://php.net/manual/en/book.xml.php
1864 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1866 Obsoletes: php-xml < 4:5.3.28-7
1869 This is a dynamic shared object (DSO) for PHP that will add XML
1870 support. This extension lets you create XML parsers and then define
1871 handlers for different XML events.
1873 %description xml -l pl.UTF-8
1874 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1875 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1876 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1879 Summary: XML Reader extension module for PHP
1880 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1882 URL: http://php.net/manual/en/book.xmlreader.php
1883 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1884 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1885 Provides: php(xmlreader)
1886 Obsoletes: php-xmlreader < 4:5.3.28-7
1888 %description xmlreader
1889 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1890 support. The XMLReader extension is an XML Pull parser. The reader
1891 acts as a cursor going forward on the document stream and stopping at
1892 each node on the way.
1894 %description xmlreader -l pl.UTF-8
1895 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1896 działa jako kursor przechodzący przez strumień dokumentu i
1897 zatrzymujący się na każdym węźle po drodze.
1900 Summary: xmlrpc extension module for PHP
1901 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1903 URL: http://php.net/manual/en/book.xmlrpc.php
1904 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1905 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1906 Provides: php(xmlrpc)
1907 Obsoletes: php-xmlrpc < 4:5.3.28-7
1910 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1913 %description xmlrpc -l pl.UTF-8
1914 Moduł PHP dodający obsługę XMLRPC.
1917 Summary: Fast, non-cached, forward-only means to write XML data
1918 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1920 URL: http://php.net/manual/en/book.xmlwriter.php
1921 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1922 Provides: php(xmlwriter)
1923 Obsoletes: php-pecl-xmlwriter
1924 Obsoletes: php-xmlwriter < 4:5.3.28-7
1926 %description xmlwriter
1927 This extension wraps the libxml xmlWriter API. Represents a writer
1928 that provides a non-cached, forward-only means of generating streams
1929 or files containing XML data.
1931 %description xmlwriter -l pl.UTF-8
1932 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1933 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1934 plików zawierających dane XML.
1937 Summary: xsl extension module for PHP
1938 Summary(pl.UTF-8): Moduł xsl dla PHP
1940 URL: http://php.net/manual/en/book.xsl.php
1941 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1942 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1943 Requires: libxslt >= 1.0.18
1945 Obsoletes: php-xsl < 4:5.3.28-7
1946 # actually not true, functionality is similar, but API differs
1947 Obsoletes: php-xslt <= 3:4.3.8-1
1950 This is a dynamic shared object (DSO) for PHP that will add new XSL
1951 support (using libxslt).
1953 %description xsl -l pl.UTF-8
1954 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1957 Summary: Zip management extension
1958 Summary(pl.UTF-8): Zarządzanie archiwami zip
1960 URL: http://php.net/manual/en/book.zip.php
1961 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1962 %{?with_system_libzip:Requires: libzip >= 0.10.1-2}
1963 Provides: php(zip) = %{zipver}
1964 Obsoletes: php-pecl-zip < %{zipver}
1965 Obsoletes: php-zip < 4:5.3.28-7
1968 Zip is an extension to create, modify and read zip files.
1970 %description zip -l pl.UTF-8
1971 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1972 odczyt archiwów zip.
1975 Summary: Zlib extension module for PHP
1976 Summary(pl.UTF-8): Moduł zlib dla PHP
1978 URL: http://php.net/manual/en/book.zlib.php
1979 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1981 Obsoletes: php-zlib < 4:5.3.28-7
1984 This is a dynamic shared object (DSO) for PHP that will add zlib
1985 compression support to PHP.
1987 %description zlib -l pl.UTF-8
1988 Moduł PHP umożliwiający używanie kompresji zlib.
1991 %setup -q -n %{orgname}-%{version}%{?subver}
1992 cp -p php.ini-production php.ini
2000 %{?with_milter:%patch8 -p1}
2016 %{?with_sybase_ct:%patch35 -p1}
2035 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
2040 %{?with_system_libzip:%patch65 -p1}
2047 %{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
2049 # cleanup backups after patching
2050 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
2052 # com_dotnet is Win32-only
2053 %{__rm} -r ext/com_dotnet
2055 # conflict seems to be resolved by recode patches
2056 %{__rm} ext/recode/config9.m4
2058 # remove all bundled libraries not to link with them accidentally
2059 %{__rm} -r ext/sqlite3/libsqlite
2060 #%{__rm} -r ext/bcmath/libbcmath
2061 #%{__rm} -r ext/date/lib
2062 #%{__rm} -r ext/fileinfo/libmagic
2063 #%{__rm} -r ext/dba/libcdb
2064 #%{__rm} -r ext/dba/libflatfile
2065 #%{__rm} -r ext/dba/libinifile
2066 #%{__rm} -r ext/gd/libgd
2067 #%{__rm} -r ext/mbstring/libmbfl
2068 #%{__rm} -r ext/mbstring/oniguruma
2069 %{__rm} -r ext/pcre/pcrelib
2070 #%{__rm} -r ext/soap/interop
2071 %{__rm} -r ext/xmlrpc/libxmlrpc
2072 #%{__rm} -r ext/zip/lib
2073 %{__rm} ext/date/lib/timezonedb.h
2075 cp -pf Zend/LICENSE{,.Zend}
2076 install -p %{SOURCE13} dep-tests.sh
2079 sed -i -e 's#-fvisibility=hidden##g' configure*
2081 # disable broken tests
2082 # says just "Terminated" twice and fails
2083 %{__mv} sapi/cli/tests/022.phpt{,.broken}
2085 # really dumb test, executable binary name is .libs/ something when building
2086 # https://bugs.php.net/bug.php?id=54514
2087 %{__mv} tests/basic/bug54514.phpt{,.disable}
2089 # breaks whole testsuite unexpectedly:
2090 # Fatal error: Call to undefined function gzencode() in run-tests.php on line 1714
2091 # probably broken as zlib is built as shared
2092 %{__mv} ext/soap/tests/server019.phpt{,disable}
2093 # Fatal error: Call to undefined function gzcompress() in run-tests.php on line 1728
2094 %{__mv} ext/soap/tests/server020.phpt{,disable}
2096 # runs out of memory and kills carme vserver
2097 # PASS Bug #39438 (Fatal error: Out of memory) [Zend/tests/bug39438.phpt]
2098 %{__mv} Zend/tests/bug39438.phpt{,.disable}
2100 # php-5.3.3/ext/standard/tests/file/statpage.phpt
2101 %{__rm} ext/standard/tests/file/statpage.phpt
2103 # idiotic test, it will fail if somebody else makes space on disk or if disk
2104 # space is not yet allocated (xfs). report upstream to advice bogus test is
2105 # probably pointless.
2106 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
2109 # all pdo_sqlite, sqlite3 tests die with Aborted on carme
2110 %{__rm} -r ext/pdo_sqlite/tests
2111 %{__rm} -r ext/sqlite3/tests
2114 # ----- Manage known as failed test -------
2115 # affected by systzdata patch
2116 %{__rm} ext/date/tests/timezone_location_get.phpt
2117 %{__rm} ext/date/tests/timezone_version_get.phpt
2118 %{__rm} ext/date/tests/timezone_version_get_basic1.phpt
2119 # Should be skipped but fails sometime
2120 %{__rm} ext/standard/tests/file/file_get_contents_error001.phpt
2122 %{__rm} ext/sockets/tests/mcast_ipv?_recv.phpt
2123 # causes stack exhausion
2124 %{__rm} Zend/tests/bug54268.phpt
2126 # avoid issues when two builds run simultaneously
2128 sed -e 's/64321/64322/' -i ext/openssl/tests/*.phpt
2132 # no point testing stuff that is knowingly broken
2133 find -name '*.phpt' | xargs grep '^--XFAIL--' -l | xargs rm -v
2145 sh -xe %{_sourcedir}/skip-tests.sh
2148 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
2149 if [ $API != %{php_api_version} ]; then
2150 echo "Set %%define php_api_version to $API and re-run."
2154 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
2155 if [ $API != %{zend_module_api} ]; then
2156 echo "Set %%define zend_module_api to $API and re-run."
2160 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
2161 if [ $API != %{zend_extension_api} ]; then
2162 echo "Set %%define zend_extension_api to $API and re-run."
2166 API=$(awk '/#define PDO_DRIVER_API/{print $3}' ext/pdo/php_pdo_driver.h)
2167 if [ $API != %{php_pdo_api_version} ]; then
2168 echo "Set %%define php_pdo_api_version to $API and re-run."
2172 # Check for some extension version
2173 ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
2174 if test "$ver" != "%{fileinfover}"; then
2175 : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
2176 : Update the fileinfover macro and rebuild.
2179 ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
2180 if test "$ver" != "%{pharver}"; then
2181 : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
2182 : Update the pharver macro and rebuild.
2185 ver=$(sed -n '/#define PHP_SQLITE3_VERSION/{s/.* "//;s/".*$//;p}' ext/sqlite3/php_sqlite3.h)
2186 if test "$ver" != "%{sqlite3ver}"; then
2187 : Error: Upstream Sqlite3 version is now ${ver}, expecting %{sqlite3ver}.
2188 : Update the sqlite3ver macro and rebuild.
2191 ver=$(sed -n '/#define PHP_ZIP_VERSION /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
2192 if test "$ver" != "%{zipver}"; then
2193 : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
2194 : Update the zipver macro and rebuild.
2197 ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
2198 if test "$ver" != "%{jsonver}"; then
2199 : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
2200 : Update the jsonver macro and rebuild.
2203 ver=$(sed -n '/#define PHP_ZENDOPCACHE_VERSION /{s/.* "//;s/".*$//;p}' ext/opcache/ZendAccelerator.h)
2204 if test "$ver" != "%{opcachever}"; then
2205 : Error: Upstream Zend Opcache version is now ${ver}, expecting %{opcachever}.
2206 : Update the opcachever macro and rebuild.
2209 ver=$(sed -n '/#define PHPDBG_VERSION /{s/.* "//;s/".*$//;p}' sapi/phpdbg/phpdbg.h)
2210 if test "$ver" != "%{phpdbgver}"; then
2211 : Error: Upstream phpdbg version is now ${ver}, expecting %{phpdbgver}.
2212 : Update the phpdbgver macro and rebuild.
2215 ver=$(sed -rne 's,.*<version>(.+)</version>,\1,p' ext/bz2/package.xml)
2216 if test "$ver" != "%{bz2ver}"; then
2217 : Error: Upstream BZIP2 version is now ${ver}, expecting %{bz2ver}.
2218 : Update the bz2ver macro and rebuild.
2221 ver=$(sed -n '/#define PHP_ENCHANT_VERSION /{s/.* "//;s/".*$//;p}' ext/enchant/php_enchant.h)
2222 if test "$ver" != "%{enchantver}"; then
2223 : Error: Upstream Enchant version is now ${ver}, expecting %{enchantver}.
2224 : Update the enchantver macro and rebuild.
2227 ver=$(awk '/#define PHP_HASH_EXTVER/ {print $3}' ext/hash/php_hash.h | xargs)
2228 if test "$ver" != "%{hashver}"; then
2229 : Error: Upstream HASH version is now ${ver}, expecting %{hashver}.
2230 : Update the hashver macro and rebuild.
2233 ver=$(sed -n '/#define PHP_INTL_VERSION /{s/.* "//;s/".*$//;p}' ext/intl/php_intl.h)
2234 if test "$ver" != "%{intlver}"; then
2235 : Error: Upstream Intl version is now ${ver}, expecting %{intlver}.
2236 : Update the intlver macro and rebuild.
2240 export EXTENSION_DIR="%{php_extensiondir}"
2241 # configure once (for faster debugging purposes)
2242 if [ ! -f _built-conf ]; then
2243 # now remove Makefile copies
2244 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed,phpdbg,milter}
2247 cp -f /usr/share/automake/config.* .
2251 export PROG_SENDMAIL="/usr/lib/sendmail"
2252 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \
2253 -I%{_includedir}/xmlrpc-epi"
2260 %if %{with litespeed}
2279 for sapi in $sapis; do
2281 # skip if already configured (for faster debugging purposes)
2282 [ -f Makefile.$sapi ] && continue
2287 sapi_args='--disable-cli'
2290 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
2293 sapi_args='--disable-cli --disable-cgi --enable-fpm'
2296 sapi_args='--disable-cli --disable-cgi --enable-embed'
2299 ver=$(rpm -q --qf '%{V}' apache-devel)
2300 sapi_args="--disable-cli --disable-cgi --with-apxs2=%{apxs2} --with-apache-version=$ver"
2303 sapi_args='--disable-cli --disable-cgi --with-litespeed'
2306 sapi_args='--disable-cli --disable-cgi --enable-phpdbg %{?debug:--enable-phpdbg-debug}'
2309 sapi_args='--disable-cli --disable-cgi --with-milter'
2314 EXTRA_LDFLAGS="%{rpmldflags}" \
2315 --program-suffix=%{php_suffix} \
2317 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2318 --cache-file=config.cache \
2320 --datadir=%{php_datadir} \
2321 --with-libdir=%{_lib} \
2322 --with-config-file-path=%{_sysconfdir} \
2323 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2324 --with-system-tzdata \
2325 --%{!?debug:dis}%{?debug:en}able-debug \
2326 %{?with_zts:--enable-maintainer-zts} \
2327 --enable-inline-optimization \
2328 %{__enable_disable bcmath bcmath shared} \
2329 %{__enable_disable calendar calendar shared} \
2330 %{__enable_disable ctype ctype shared} \
2331 %{__enable_disable dba dba shared} \
2332 %{__enable_disable dom dom shared} \
2333 %{?with_systemtap:--enable-dtrace} \
2334 %{__enable_disable exif exif shared} \
2335 %{__enable_disable fileinfo fileinfo shared} \
2336 %{__enable_disable ftp ftp shared} \
2337 --enable-gd-native-ttf \
2338 %{?with_intl:--enable-intl=shared} \
2340 %{__enable_disable mbstring mbstring shared,all} \
2342 %{__enable_disable pcntl pcntl shared} \
2343 %{__enable_disable pdo pdo shared} \
2344 %{__enable_disable json json shared} \
2345 %{__enable_disable hash hash shared} \
2346 --enable-xmlwriter=shared \
2348 --with-fpm-user=http \
2349 --with-fpm-group=http \
2351 %if %{with pdo_dblib}
2352 --with-pdo-dblib=shared \
2354 %if %{with interbase} && %{without interbase_inst}
2355 --with-pdo-firebird=shared,/usr \
2357 %{?with_mhash:--with-mhash=yes} \
2358 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2359 %{__with_without pdo_mysql pdo-mysql shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd}} \
2360 %{?with_oci:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2361 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2362 %{?with_pgsql:--with-pdo-pgsql=shared} \
2363 %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
2364 %{?with_webp:--with-vpx-dir=/usr} \
2365 --without-libexpat-dir \
2366 %{__enable_disable posix posix shared} \
2368 %{__enable_disable session session shared} \
2369 --enable-shmop=shared \
2370 --enable-simplexml=shared \
2371 --enable-sysvmsg=shared \
2372 --enable-sysvsem=shared \
2373 --enable-sysvshm=shared \
2374 --enable-soap=shared \
2375 --enable-sockets=shared \
2376 --enable-tokenizer=shared \
2377 %{?with_wddx:--enable-wddx=shared} \
2378 --enable-xml=shared \
2379 --enable-xmlreader=shared \
2380 %{__with_without bz2 bz2 shared} \
2381 %{__with_without curl curl shared} \
2383 %{__with_without iconv iconv shared} \
2384 %{?with_enchant:--with-enchant=shared,/usr} \
2385 --with-freetype-dir=shared \
2386 %{__with_without gettext gettext shared} \
2387 %{__with_without gd gd shared%{?with_system_gd:,/usr}} \
2389 %{__with_without gmp gmp shared} \
2390 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2391 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2392 --with-jpeg-dir=/usr \
2393 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2394 %{__with_without mcrypt mcrypt shared} \
2395 %{?with_mm:--with-mm} \
2396 %{?with_mssql:--with-mssql=shared} \
2397 %{?with_mysqlnd:--enable-mysqlnd=shared} \
2398 %{__with_without mysql mysql shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd}} \
2399 %{?with_mysqli:--with-mysqli=shared,%{!?with_mysqlnd:/usr/bin/mysql_config}%{?with_mysqlnd:mysqlnd}} \
2400 %{?with_oci:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2401 %{__enable_disable opcache opcache shared} \
2402 %{?with_openssl:--with-openssl=shared} \
2403 %{?with_kerberos5:--with-kerberos} \
2405 %{__with_without pcre pcre-regex /usr} \
2406 %{__enable_disable filter filter shared} \
2407 --with-pear=%{php_pear_dir} \
2408 %{__with_without pgsql pgsql shared,/usr} \
2409 %{__enable_disable phar phar shared} \
2410 --with-png-dir=/usr \
2411 %{?with_pspell:--with-pspell=shared} \
2412 %{__with_without readline readline shared} \
2413 %{?with_recode:--with-recode=shared} \
2414 %{__with_without ereg regex system} \
2415 %{?with_snmp:--with-snmp=shared} \
2416 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
2417 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2418 %{__with_without sqlite3 sqlite3 shared,/usr} \
2419 --with-t1lib=shared \
2420 %{?with_tidy:--with-tidy=shared} \
2421 %{?with_odbc:--with-unixODBC=shared,/usr} \
2422 %{__with_without xmlrpc xmlrpc shared,/usr} \
2424 --with-zlib=shared \
2425 --with-zlib-dir=shared,/usr \
2426 %{?with_system_libzip:--with-libzip} \
2427 --enable-zip=shared,/usr \
2430 cp -f Makefile Makefile.$sapi
2431 cp -f main/php_config.h php_config.h.$sapi
2432 cp -f config.log config.log.$sapi
2435 # as we build each SAPI in own make, adjust php-config.in forehead
2436 sapis=$(%{__sed} -rne 's/^PHP_INSTALLED_SAPIS = (.+)/\1/p' Makefile.* | tr ' ' '\n' | sort -u | xargs)
2437 %{__sed} -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," scripts/php-config.in
2439 # must make libphp_common first, so modules can link against it.
2440 cp -af php_config.h.cli main/php_config.h
2441 cp -af Makefile.cli Makefile
2442 %{__make} libphp_common.la
2443 # hack: MYSQLND_SHARED_LIBADD not initialized
2444 %{__make} build-modules \
2445 MYSQLND_SHARED_LIBADD="-lssl -lcrypto"
2448 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
2451 %if %{with litespeed}
2452 %{__make} -f Makefile.litespeed litespeed
2456 %{__make} -f Makefile.embed libphp5.la
2460 # PHP_READLINE_LIBS is empty, so force readline here
2461 %{__make} -f Makefile.phpdbg phpdbg \
2462 PHPDBG_EXTRA_LIBS=-lreadline
2466 %{__make} -f Makefile.milter milter
2471 cp -pf php_config.h.cgi-fcgi main/php_config.h
2472 %{__make} -f Makefile.cgi-fcgi
2473 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
2478 cp -pf php_config.h.fpm main/php_config.h
2479 %{__make} -f Makefile.fpm
2480 [ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
2484 cp -pf php_config.h.cli main/php_config.h
2485 %{__make} -f Makefile.cli
2486 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
2488 # check for stupid xml parse breakage where < and > just get lost in parse result
2489 ./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"]));'
2491 # Generate stub .ini files for each extension
2494 generate_inifiles() {
2495 for so in modules/*.so; do
2496 mod=$(basename $so .so)
2498 # opcache.so is zend extension
2499 nm $so | grep -q zend_extension_entry && ext=zend_extension
2501 # xml needs to be loaded before wddx
2502 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2503 # pre needs to be loaded before SPL
2504 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2505 # spl needs to be loaded before mysqli
2506 [ "$mod" = "spl" ] && conf="SPL.ini"
2507 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2508 [ "$mod" = "session" ] && conf="Session.ini"
2509 # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli
2510 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2512 cat > conf.d/$conf <<-EOF
2513 ; Enable $mod $ext module
2520 # Check that the module inner-dependencies are intact
2521 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2522 if grep -v OK dep-tests.log; then
2523 echo >&2 "The results above were not expected"
2529 cp -pf php_config.h.cli main/php_config.h
2530 cp -pf Makefile.cli Makefile
2532 # you really don't want to package result of gcov build
2536 cat <<'EOF' > run-tests.sh
2538 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2539 export SKIP_ONLINE_TESTS=1
2540 unset TZ LANG LC_ALL || :
2542 EXTENSION_DIR=modules \
2543 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2544 RUN_TESTS_SETTINGS="-q $*"
2546 chmod +x run-tests.sh
2549 # Run tests, using the CLI SAPI
2550 cp -pf php_config.h.cli main/php_config.h
2551 cp -pf Makefile.cli Makefile
2553 ./run-tests.sh -w failed.log -s tests.log || {
2556 # collect failed tests into cleanup script used in prep.
2557 sed -ne '/^FAILED TEST SUMMARY/,/^===/p' tests.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2558 sed -ne '/^via/d;/\[.*\]/{s/\t*\(.*\) \[\(.*\)\]\(.*\)/# \1\3\nmv \2{,.skip}/p}' tests-failed.log \
2559 >> %{_sourcedir}/skip-tests.sh
2561 # if on builders, dump test log
2562 tty -q || cat tests.log
2564 test ! -s failed.log
2570 rm -rf $RPM_BUILD_ROOT
2571 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2572 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2573 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2574 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2576 cp -pf php_config.h.cli main/php_config.h
2577 cp -pf Makefile.cli Makefile
2579 phpbuilddir=%{_libdir}/%{name}/build \
2580 INSTALL_ROOT=$RPM_BUILD_ROOT
2582 # version the .phar files
2583 %{__mv} $RPM_BUILD_ROOT%{_bindir}/phar{,%{php_suffix}}.phar
2584 %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/phar{,%{php_suffix}}.1
2586 %{__rm} $RPM_BUILD_ROOT%{_bindir}/phar
2587 touch $RPM_BUILD_ROOT%{_bindir}/phar
2588 touch $RPM_BUILD_ROOT%{_mandir}/man1/phar.1
2591 v=$(echo %{version} | cut -d. -f1-2)
2593 # install Apache2 DSO module
2595 libtool --mode=install install -p sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2596 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp5{,-$v}.so
2597 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache/mod_php.so
2600 # install litespeed sapi
2601 %if %{with litespeed}
2602 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
2606 %{__make} -f Makefile.phpdbg install-phpdbg \
2607 INSTALL="libtool --mode=install install -p" \
2608 INSTALL_ROOT=$RPM_BUILD_ROOT
2612 touch $RPM_BUILD_ROOT%{_bindir}/phpize
2613 touch $RPM_BUILD_ROOT%{_mandir}/man1/phpize.1
2614 touch $RPM_BUILD_ROOT%{_bindir}/php-config
2615 touch $RPM_BUILD_ROOT%{_mandir}/man1/php-config.1
2618 %{__make} -f Makefile.milter install-milter \
2619 INSTALL_ROOT=$RPM_BUILD_ROOT
2622 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2627 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2628 ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
2629 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2634 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir}}
2635 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2636 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
2637 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2638 cp -p sapi/fpm/php-fpm.conf-d $RPM_BUILD_ROOT%{_sysconfdir}/fpm.d/www.conf
2639 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2640 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2641 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2642 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2644 # touch for ghost for alternatives
2645 touch $RPM_BUILD_ROOT%{_sbindir}/php-fpm
2648 s#/usr/lib/php#%{php_extensiondir}#g
2649 s#/etc/php/#%{_sysconfdir}/#g
2650 s#@processname@#%{name}-fpm#g
2651 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf,%{_sysconfdir}/fpm.d/www.conf}
2654 # install Embedded API
2656 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2657 # install-sapi installs to wrong dir, so just do it all manually
2658 install -d $RPM_BUILD_ROOT%{_includedir}/php/php%{php_suffix}/sapi/embed
2659 install -p libs/libphp5.so $RPM_BUILD_ROOT%{_libdir}
2660 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/php%{php_suffix}/sapi/embed
2665 touch $RPM_BUILD_ROOT%{_bindir}/php
2666 touch $RPM_BUILD_ROOT%{_mandir}/man1/php.1
2668 cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2669 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2672 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2673 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2674 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2677 # ensure that paths are correct for current php version and arch
2678 grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
2680 s#/usr/lib/php#%{php_extensiondir}#g
2681 s#/etc/php/#%{_sysconfdir}/#g
2684 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2685 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2687 # per SAPI ini directories
2688 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2691 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2693 # use system automake and {lib,sh}tool
2694 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2695 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2696 for fn in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2697 f=%{_aclocaldir}/$fn
2698 test -f $f || continue
2699 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2701 for fn in ltmain.sh config/ltmain.sh build-aux/ltmain.sh; do
2702 f=/usr/share/libtool/$fn
2703 test -f $f || continue
2704 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2707 sed -i -e '/^phpdir/ s,/php/build,/%{name}/build,' $RPM_BUILD_ROOT%{_bindir}/phpize%{php_suffix}
2709 # for php-pecl-mailparse
2710 install -d $RPM_BUILD_ROOT%{_includedir}/php/php%{php_suffix}/ext/mbstring
2711 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/php%{php_suffix}/ext/mbstring
2714 install -d $RPM_BUILD_ROOT%{php_datadir}/tests/php
2715 install -p run-tests.php $RPM_BUILD_ROOT%{php_datadir}/tests/php/run-tests.php
2716 cp -a tests/* $RPM_BUILD_ROOT%{php_datadir}/tests/php
2718 # fix install paths, avoid evil rpaths
2719 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2721 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/%{name}/build/acinclude.m4
2724 rm -rf $RPM_BUILD_ROOT
2726 %post -n apache-mod_%{name}
2727 if [ "$1" = "1" ]; then
2728 %service -q httpd restart
2731 %postun -n apache-mod_%{name}
2732 if [ "$1" = "0" ]; then
2733 %service -q httpd restart
2737 update-alternatives \
2738 --install %{_bindir}/php php %{_bindir}/php%{php_suffix} %{php_suffix} \
2739 --slave %{_mandir}/man1/php.1 php.1 %{_mandir}/man1/php%{php_suffix}.1* || :
2742 if [ $1 -eq 0 ]; then
2743 update-alternatives --remove php %{_bindir}/php || :
2747 update-alternatives \
2748 --install %{_bindir}/phpize phpize %{_bindir}/phpize%{php_suffix} %{php_suffix} \
2749 --slave %{_mandir}/man1/php.1 php.1 %{_mandir}/man1/php%{php_suffix}.1* || :
2750 update-alternatives \
2751 --install %{_bindir}/php-config php-config %{_bindir}/php-config%{php_suffix} %{php_suffix} \
2752 --slave %{_mandir}/man1/php.1 php.1 %{_mandir}/man1/php%{php_suffix}.1* || :
2755 if [ $1 -eq 0 ]; then
2756 update-alternatives --remove phpize %{_bindir}/phpize || :
2757 update-alternatives --remove php-config %{_bindir}/php-config || :
2761 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2764 /sbin/chkconfig --add %{name}-fpm
2765 %service %{name}-fpm restart
2766 update-alternatives --install %{_sbindir}/php-fpm php-fpm %{_sbindir}/php%{php_suffix}-fpm %{php_suffix} || :
2769 if [ "$1" = "0" ]; then
2770 %service %{name}-fpm stop
2771 /sbin/chkconfig --del %{name}-fpm
2772 update-alternatives --remove php-fpm %{_sbindir}/php-fpm || :
2776 if [ "$1" = "0" ]; then
2780 %post embedded -p /sbin/ldconfig
2781 %postun embedded -p /sbin/ldconfig
2784 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2785 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2787 . /etc/sysconfig/timezone
2788 if [ "$TIMEZONE" ]; then
2789 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2793 # minimizing apache restarts logics. we restart webserver:
2795 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2796 # 2. first install of extension (post: $1 = 1)
2797 # 2. uninstall of extension (postun: $1 == 0)
2799 # the strict internal deps between extensions (and apache modules) and
2800 # common package are very important for all this to work.
2802 # restart webserver at the end of transaction
2803 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2804 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2806 %triggerpostun common -- php-common < 4:5.3.28-7
2807 # migrate configs /etc/php/conf.d -> /etc/phpXY/conf.d/
2808 # do config migration in php-common trigger, as the trigger is ran after all packages are upgraded
2809 # this way we can stick to one trigger, instead of attaching one for each (sub)package!
2810 for f in /etc/php/*.ini.rpmsave /etc/php/*.d/*.ini.rpmsave; do
2811 test -f "$f" || continue
2815 test "$dn" = "$fn" && dn=
2817 nf=%{_sysconfdir}/$dn/$fn
2818 test -f "$nf" || continue
2819 cp -vfb $nf{,.rpmnew}
2822 s#%{_libdir}/php#%{_libdir}/%{name}#
2823 s#/etc/php#%{_sysconfdir}#
2827 %triggerpostun common -- %{name}-common < 4:5.6.4-2, php-common < 4:5.6.4-2
2828 # switch to browscap package if the ini file has original value
2829 %{__sed} -i -e 's#%{_sysconfdir}/browscap.ini#/usr/share/browscap/php_browscap.ini#' %{_sysconfdir}/php.ini
2830 # disable browscap, if optional package not present
2831 if [ ! -e /usr/share/browscap/php_browscap.ini ]; then
2832 %{__sed} -i -e 's#^browscap = /usr/share/browscap/php_browscap.ini#;&#' %{_sysconfdir}/php.ini
2835 %triggerpostun -n apache-mod_%{name} -- apache-mod_%{name} < 4:5.6.14-2
2836 sed -i -e 's#modules/libphp[57].so#modules/mod_php.so#g' /etc/httpd/conf.d/*_mod_php.conf
2838 # common macros called at extension post/postun scriptlet
2840 if [ "$1" = "1" ]; then \
2841 %php_webserver_restart \
2845 %define ext_postun \
2846 if [ "$1" = "0" ]; then \
2847 %php_webserver_restart \
2851 %define extension_scripts() \
2859 # extension scripts defines
2860 %extension_scripts bcmath
2861 %extension_scripts bz2
2862 %extension_scripts calendar
2863 %extension_scripts ctype
2864 %extension_scripts curl
2865 %extension_scripts dba
2866 %extension_scripts dom
2867 %extension_scripts enchant
2868 %extension_scripts exif
2869 %extension_scripts fileinfo
2870 %extension_scripts filter
2871 %extension_scripts ftp
2872 %extension_scripts gd
2873 %extension_scripts gettext
2874 %extension_scripts gmp
2875 %extension_scripts hash
2876 %extension_scripts iconv
2877 %extension_scripts imap
2878 %extension_scripts interbase
2879 %extension_scripts intl
2880 %extension_scripts json
2881 %extension_scripts ldap
2882 %extension_scripts mbstring
2883 %extension_scripts mcrypt
2884 %extension_scripts mssql
2885 %extension_scripts mysql
2886 %extension_scripts mysqli
2887 %extension_scripts mysqlnd
2888 %extension_scripts oci8
2889 %extension_scripts odbc
2890 %extension_scripts opcache
2891 %extension_scripts openssl
2892 %extension_scripts pcre
2893 %extension_scripts pdo
2894 %extension_scripts pdo-dblib
2895 %extension_scripts pdo-firebird
2896 %extension_scripts pdo-oci
2897 %extension_scripts pdo-mysql
2898 %extension_scripts pdo-odbc
2899 %extension_scripts pdo-pgsql
2900 %extension_scripts pdo-sqlite
2901 %extension_scripts pgsql
2902 %extension_scripts pcntl
2903 %extension_scripts posix
2904 %extension_scripts pspell
2905 %extension_scripts recode
2906 %extension_scripts session
2907 %extension_scripts shmop
2908 %extension_scripts simplexml
2909 %extension_scripts snmp
2910 %extension_scripts soap
2911 %extension_scripts sockets
2912 %extension_scripts spl
2913 %extension_scripts sqlite3
2914 %extension_scripts sybase-ct
2915 %extension_scripts sysvmsg
2916 %extension_scripts sysvsem
2917 %extension_scripts sysvshm
2918 %extension_scripts tidy
2919 %extension_scripts tokenizer
2920 %extension_scripts wddx
2921 %extension_scripts xml
2922 %extension_scripts xmlreader
2923 %extension_scripts xmlrpc
2924 %extension_scripts xmlwriter
2925 %extension_scripts xsl
2926 %extension_scripts zip
2927 %extension_scripts zlib
2931 update-alternatives \
2932 --install %{_bindir}/phar phar %{_bindir}/phar%{php_suffix}.phar %{php_suffix} \
2933 --slave %{_mandir}/man1/phar.1 phar.1 %{_mandir}/man1/phar%{php_suffix}.1* || :
2937 if [ $1 -eq 0 ]; then
2938 update-alternatives --remove phar %{_bindir}/phar || :
2942 %files -n apache-mod_%{name}
2943 %defattr(644,root,root,755)
2944 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2945 %dir %{_sysconfdir}/apache2handler.d
2946 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2947 %attr(755,root,root) %{_libdir}/apache/mod_php.so
2948 %attr(755,root,root) %{_libdir}/apache/libphp5-*.*.so
2951 %if %{with litespeed}
2953 %defattr(644,root,root,755)
2954 %attr(755,root,root) %{_sbindir}/%{name}.litespeed
2959 %defattr(644,root,root,755)
2960 %dir %{_sysconfdir}/cgi-fcgi.d
2961 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2962 %attr(755,root,root) %{_bindir}/%{name}.cgi
2963 %attr(755,root,root) %{_bindir}/%{name}.fcgi
2968 %defattr(644,root,root,755)
2969 %attr(755,root,root) %{_libdir}/libphp5.so
2973 %defattr(644,root,root,755)
2974 %dir %{_sysconfdir}/cli.d
2975 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2976 %attr(755,root,root) %{_bindir}/php%{php_suffix}
2977 %{_mandir}/man1/php%{php_suffix}.1*
2978 %ghost %{_bindir}/php
2979 %ghost %{_mandir}/man1/php.1*
2983 %defattr(644,root,root,755)
2984 %doc sapi/fpm/{CREDITS,LICENSE}
2985 %dir %{_sysconfdir}/fpm.d
2986 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
2987 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.d/www.conf
2988 %attr(755,root,root) %{_sbindir}/%{name}-fpm
2989 %ghost %{_sbindir}/php-fpm
2990 %{_mandir}/man8/%{name}-fpm.8*
2991 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
2992 %attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
2997 %defattr(644,root,root,755)
2998 %attr(755,root,root) %{_bindir}/phpdbg%{php_suffix}
2999 %{_mandir}/man1/phpdbg%{php_suffix}.1*
3004 %defattr(644,root,root,755)
3005 %attr(755,root,root) %{_bindir}/php-milter
3009 %defattr(644,root,root,755)
3010 %doc CREDITS EXTENSIONS LICENSE NEWS README.namespaces UPGRADING* Zend/{LICENSE.Zend,ZEND_CHANGES} php.ini-*
3012 %dir %{_sysconfdir}/conf.d
3013 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
3014 %attr(755,root,root) %{_libdir}/libphp_common-*.so
3015 %dir %{php_extensiondir}
3017 %doc ext/session/mod_files.sh
3020 %defattr(644,root,root,755)
3021 %doc CODING_STANDARDS README.{EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
3022 %attr(755,root,root) %{_bindir}/phpize%{php_suffix}
3023 %attr(755,root,root) %{_bindir}/php-config%{php_suffix}
3024 %ghost %{_bindir}/phpize
3025 %ghost %{_bindir}/php-config
3026 %attr(755,root,root) %{_libdir}/libphp_common.so
3027 %{_libdir}/libphp_common.la
3028 %{_includedir}/php/php%{php_suffix}
3029 %{_libdir}/%{name}/build
3030 %{_mandir}/man1/php-config%{php_suffix}.1*
3031 %ghost %{_mandir}/man1/php-config.1*
3032 %{_mandir}/man1/phpize%{php_suffix}.1*
3033 %ghost %{_mandir}/man1/phpize.1*
3037 %defattr(644,root,root,755)
3038 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
3039 %attr(755,root,root) %{php_extensiondir}/bcmath.so
3044 %defattr(644,root,root,755)
3045 %doc ext/bz2/CREDITS
3046 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
3047 %attr(755,root,root) %{php_extensiondir}/bz2.so
3050 %if %{with calendar}
3052 %defattr(644,root,root,755)
3053 %doc ext/calendar/CREDITS
3054 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
3055 %attr(755,root,root) %{php_extensiondir}/calendar.so
3060 %defattr(644,root,root,755)
3061 %doc ext/calendar/CREDITS
3062 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
3063 %attr(755,root,root) %{php_extensiondir}/ctype.so
3068 %defattr(644,root,root,755)
3069 %doc ext/curl/CREDITS
3070 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
3071 %attr(755,root,root) %{php_extensiondir}/curl.so
3076 %defattr(644,root,root,755)
3077 %doc ext/dba/{CREDITS,README}
3078 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
3079 %attr(755,root,root) %{php_extensiondir}/dba.so
3084 %defattr(644,root,root,755)
3085 %doc ext/dom/{CREDITS,TODO}
3086 %doc ext/dom/examples
3087 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
3088 %attr(755,root,root) %{php_extensiondir}/dom.so
3093 %defattr(644,root,root,755)
3094 %doc ext/enchant/{CREDITS,docs/examples}
3095 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/enchant.ini
3096 %attr(755,root,root) %{php_extensiondir}/enchant.so
3101 %defattr(644,root,root,755)
3102 %doc ext/exif/CREDITS
3103 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
3104 %attr(755,root,root) %{php_extensiondir}/exif.so
3107 %if %{with fileinfo}
3109 %defattr(644,root,root,755)
3110 %doc ext/fileinfo/CREDITS
3111 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
3112 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
3117 %defattr(644,root,root,755)
3118 %doc ext/filter/{CREDITS,docs/*}
3119 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
3120 %attr(755,root,root) %{php_extensiondir}/filter.so
3125 %defattr(644,root,root,755)
3126 %doc ext/ftp/CREDITS
3127 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
3128 %attr(755,root,root) %{php_extensiondir}/ftp.so
3133 %defattr(644,root,root,755)
3135 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
3136 %attr(755,root,root) %{php_extensiondir}/gd.so
3141 %defattr(644,root,root,755)
3142 %doc ext/gettext/CREDITS
3143 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
3144 %attr(755,root,root) %{php_extensiondir}/gettext.so
3149 %defattr(644,root,root,755)
3150 %doc ext/gmp/{CREDITS,README,TODO}
3151 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
3152 %attr(755,root,root) %{php_extensiondir}/gmp.so
3157 %defattr(644,root,root,755)
3158 %doc ext/hash/{CREDITS,README}
3159 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
3160 %attr(755,root,root) %{php_extensiondir}/hash.so
3165 %defattr(644,root,root,755)
3166 %doc ext/iconv/CREDITS
3167 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
3168 %attr(755,root,root) %{php_extensiondir}/iconv.so
3173 %defattr(644,root,root,755)
3174 %doc ext/imap/CREDITS
3175 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
3176 %attr(755,root,root) %{php_extensiondir}/imap.so
3179 %if %{with interbase}
3181 %defattr(644,root,root,755)
3182 %doc ext/interbase/CREDITS
3183 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
3184 %attr(755,root,root) %{php_extensiondir}/interbase.so
3189 %defattr(644,root,root,755)
3190 %doc ext/intl/{CREDITS,TODO}
3191 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
3192 %attr(755,root,root) %{php_extensiondir}/intl.so
3197 %defattr(644,root,root,755)
3198 %doc ext/json/CREDITS
3199 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
3200 %attr(755,root,root) %{php_extensiondir}/json.so
3205 %defattr(644,root,root,755)
3206 %doc ext/ldap/CREDITS
3207 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
3208 %attr(755,root,root) %{php_extensiondir}/ldap.so
3211 %if %{with mbstring}
3213 %defattr(644,root,root,755)
3214 %doc ext/mbstring/{CREDITS,README*}
3215 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
3216 %attr(755,root,root) %{php_extensiondir}/mbstring.so
3221 %defattr(644,root,root,755)
3222 %doc ext/mcrypt/{CREDITS,TODO}
3223 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
3224 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
3229 %defattr(644,root,root,755)
3230 %doc ext/mssql/CREDITS
3231 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
3232 %attr(755,root,root) %{php_extensiondir}/mssql.so
3237 %defattr(644,root,root,755)
3238 %doc ext/mysql/CREDITS
3239 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
3240 %attr(755,root,root) %{php_extensiondir}/mysql.so
3245 %defattr(644,root,root,755)
3246 %doc ext/mysqli/{CREDITS,TODO}
3247 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
3248 %attr(755,root,root) %{php_extensiondir}/mysqli.so
3253 %defattr(644,root,root,755)
3254 %doc ext/mysqlnd/CREDITS
3255 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
3256 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
3261 %defattr(644,root,root,755)
3262 %doc ext/oci8/{CREDITS,README}
3263 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
3264 %attr(755,root,root) %{php_extensiondir}/oci8.so
3269 %defattr(644,root,root,755)
3270 %doc ext/odbc/CREDITS
3271 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
3272 %attr(755,root,root) %{php_extensiondir}/odbc.so
3277 %defattr(644,root,root,755)
3278 %doc ext/opcache/README
3279 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/opcache.ini
3280 %attr(755,root,root) %{php_extensiondir}/opcache.so
3285 %defattr(644,root,root,755)
3286 %doc ext/openssl/{CREDITS,README}
3287 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
3288 %attr(755,root,root) %{php_extensiondir}/openssl.so
3293 %defattr(644,root,root,755)
3294 %doc ext/pcntl/{CREDITS,README}
3295 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
3296 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3301 %defattr(644,root,root,755)
3302 %doc ext/pcre/CREDITS
3303 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
3304 %attr(755,root,root) %{php_extensiondir}/pcre.so
3309 %defattr(644,root,root,755)
3310 %doc ext/pdo/{CREDITS,README,TODO}
3311 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
3312 %attr(755,root,root) %{php_extensiondir}/pdo.so
3315 %if %{with pdo_dblib}
3317 %defattr(644,root,root,755)
3318 %doc ext/pdo_dblib/{CREDITS,README}
3319 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
3320 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3323 %if %{with interbase} && !%{with interbase_inst}
3325 %defattr(644,root,root,755)
3326 %doc ext/pdo_firebird/CREDITS
3327 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
3328 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3331 %if %{with pdo_mysql}
3333 %defattr(644,root,root,755)
3334 %doc ext/pdo_mysql/CREDITS
3335 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
3336 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3341 %defattr(644,root,root,755)
3342 %doc ext/pdo_oci/CREDITS
3343 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
3344 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3349 %defattr(644,root,root,755)
3350 %doc ext/pdo_odbc/CREDITS
3351 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3352 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3357 %defattr(644,root,root,755)
3358 %doc ext/pdo_pgsql/CREDITS
3359 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3360 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3363 %if %{with pdo_sqlite}
3365 %defattr(644,root,root,755)
3366 %doc ext/pdo_sqlite/CREDITS
3367 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3368 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3373 %defattr(644,root,root,755)
3374 %doc ext/pgsql/{CREDITS,README}
3375 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3376 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3381 %defattr(644,root,root,755)
3382 %doc ext/phar/{CREDITS,TODO}
3383 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
3384 %attr(755,root,root) %{php_extensiondir}/phar.so
3385 %attr(755,root,root) %{_bindir}/phar%{php_suffix}.phar
3386 %{_mandir}/man1/phar%{php_suffix}.1*
3387 %{_mandir}/man1/phar.phar.1*
3388 %ghost %{_bindir}/phar
3389 %ghost %{_mandir}/man1/phar.1*
3394 %defattr(644,root,root,755)
3395 %doc ext/posix/CREDITS
3396 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3397 %attr(755,root,root) %{php_extensiondir}/posix.so
3402 %defattr(644,root,root,755)
3403 %doc ext/pspell/{CREDITS,README}
3404 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3405 %attr(755,root,root) %{php_extensiondir}/pspell.so
3408 %if %{with readline}
3410 %defattr(644,root,root,755)
3411 %doc ext/readline/{CREDITS,README*}
3412 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3413 %attr(755,root,root) %{php_extensiondir}/readline.so
3418 %defattr(644,root,root,755)
3419 %doc ext/recode/CREDITS
3420 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3421 %attr(755,root,root) %{php_extensiondir}/recode.so
3426 %defattr(644,root,root,755)
3427 %doc ext/session/CREDITS
3428 %doc ext/session/mod_files.sh
3429 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3430 %attr(755,root,root) %{php_extensiondir}/session.so
3434 %defattr(644,root,root,755)
3435 %doc ext/shmop/{CREDITS,README}
3436 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3437 %attr(755,root,root) %{php_extensiondir}/shmop.so
3440 %defattr(644,root,root,755)
3441 %doc ext/simplexml/{CREDITS,README}
3442 %doc ext/simplexml/examples
3443 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3444 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3448 %defattr(644,root,root,755)
3449 %doc ext/snmp/CREDITS
3450 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3451 %attr(755,root,root) %{php_extensiondir}/snmp.so
3455 %defattr(644,root,root,755)
3456 %doc ext/soap/{CREDITS,TODO*}
3457 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3458 %attr(755,root,root) %{php_extensiondir}/soap.so
3461 %defattr(644,root,root,755)
3462 %doc ext/sockets/CREDITS
3463 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3464 %attr(755,root,root) %{php_extensiondir}/sockets.so
3467 %defattr(644,root,root,755)
3468 %doc ext/spl/{CREDITS,README,TODO}
3469 %doc ext/spl/examples
3470 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3471 %attr(755,root,root) %{php_extensiondir}/spl.so
3475 %defattr(644,root,root,755)
3476 %doc ext/sqlite3/CREDITS
3477 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3478 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3481 %if %{with sybase_ct}
3483 %defattr(644,root,root,755)
3484 %doc ext/sybase_ct/CREDITS
3485 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3486 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
3490 %defattr(644,root,root,755)
3491 %doc ext/sysvmsg/CREDITS
3492 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3493 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3496 %defattr(644,root,root,755)
3497 %doc ext/sysvsem/CREDITS
3498 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3499 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3502 %defattr(644,root,root,755)
3503 %doc ext/sysvshm/CREDITS
3504 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3505 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3508 %defattr(644,root,root,755)
3509 %dir %{php_datadir}/tests
3510 %dir %{php_datadir}/tests/php
3511 %{php_datadir}/tests/php/basic
3512 %{php_datadir}/tests/php/classes
3513 %{php_datadir}/tests/php/func
3514 %{php_datadir}/tests/php/lang
3515 %{php_datadir}/tests/php/output
3516 %{php_datadir}/tests/php/run-test
3517 %{php_datadir}/tests/php/security
3518 %{php_datadir}/tests/php/strings
3519 %{php_datadir}/tests/php/quicktester.inc
3520 %attr(755,root,root) %{php_datadir}/tests/php/run-tests.php
3524 %defattr(644,root,root,755)
3525 %doc ext/tidy/{CREDITS,README}
3526 %doc ext/tidy/examples
3527 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3528 %attr(755,root,root) %{php_extensiondir}/tidy.so
3532 %defattr(644,root,root,755)
3533 %doc ext/tokenizer/CREDITS
3534 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3535 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3539 %defattr(644,root,root,755)
3540 %doc ext/wddx/CREDITS
3541 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3542 %attr(755,root,root) %{php_extensiondir}/wddx.so
3546 %defattr(644,root,root,755)
3547 %doc ext/xml/CREDITS
3548 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3549 %attr(755,root,root) %{php_extensiondir}/xml.so
3552 %defattr(644,root,root,755)
3553 %doc ext/xmlreader/{CREDITS,README,TODO}
3554 %doc ext/xmlreader/examples
3555 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3556 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3560 %defattr(644,root,root,755)
3561 %doc ext/xmlrpc/CREDITS
3562 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3563 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3567 %defattr(644,root,root,755)
3568 %doc ext/xmlwriter/{CREDITS,TODO}
3569 %doc ext/xmlwriter/examples
3570 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3571 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3574 %defattr(644,root,root,755)
3575 %doc ext/xsl/CREDITS
3576 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3577 %attr(755,root,root) %{php_extensiondir}/xsl.so
3580 %defattr(644,root,root,755)
3581 %doc ext/zip/{CREDITS,TODO}
3582 %doc ext/zip/examples
3583 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3584 %attr(755,root,root) %{php_extensiondir}/zip.so
3587 %defattr(644,root,root,755)
3588 %doc ext/zlib/CREDITS
3589 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3590 %attr(755,root,root) %{php_extensiondir}/zlib.so