2 # - phpdbg: link with libphp_common
3 # - enable --with-fpm-systemd, but ensure it checks for sd_booted()
4 # - build with system libgd 2.1, see 73c5128
6 # - do not remove PatchX: definitions until merged to HEAD, needed for tracking their state
7 # - check php-sapi-ini-file.patch for safe mode removal
8 # - update imap annotations patch (needs api porting)
9 # - update imap myrights patch (needs api porting)
10 # --with-libmbfl=DIR MBSTRING: Use external libmbfl. DIR is the libmbfl base install directory BUNDLED
11 # --with-onig=DIR MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
12 # - uses libvpx for webp support, should use libwebp-devel instead?
13 # NOTE: mysqlnd does not support ssl or compression (see FAQ at http://dev.mysql.com/downloads/connector/php-mysqlnd/)
14 # UNPACKAGED EXTENSION NOTES:
15 # - com_dotnet is Win32-only
17 # - fileinfo extension bundles magic db in library: data_file.c (dump of magic.mgc) is 14M
18 # - 2.3M fileinfo.so php54-fileinfo-5.4.6-0.15.x86_64
19 # - 2.3M fileinfo.so php-fileinfo-5.3.16-1.x86_64
20 # - 13K fileinfo.so php-pecl-fileinfo-1.0.4-8.amd64
21 # - ttyname_r() misdetected http://bugs.php.net/bug.php?id=48820
22 # - wddx: restore session support (not compiled in due DL extension check)
23 # - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere
24 # - removed from php 5.0 (currently in php4):
25 # db [pecl-svn], hyperwave [pecl-svn], java [pecl-svn], mcal [pecl-svn], qtdom [pecl-svn]
26 # - removed from php 5.1:
28 # - removed from php 5.2:
29 # filepro [pecl-svn], hwapi [pecl-svn]
30 # - make additional headers and checking added by mail patch configurable
31 # - modularize standard (output from pure php -m)?
32 # - lib64 patch obsolete by $PHP_LIBDIR ?
33 # - WARNING: Phar: sha256/sha512 signature support disabled if ext/hash is
34 # built shared, also PHAR_HAVE_OPENSSL is false if openssl is built shared.
35 # make it runtime dep and add Suggests (or php warning messages)
36 # - some mods should be shared:
47 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
48 %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
49 %bcond_with instantclient # build Oracle oci8 extension module against oracle-instantclient package
50 %bcond_with system_gd # with system gd (we prefer internal since it enables few more features)
51 %bcond_with system_libzip # with system libzip (reported broken currently)
52 %bcond_without default_php # use this PHP as default PHP in distro
53 %bcond_without curl # without CURL extension module
54 %bcond_without enchant # without Enchant extension module
55 %bcond_without filter # without filter extension module
56 %bcond_without imap # without IMAP extension module
57 %bcond_without interbase # without InterBase extension module
58 %bcond_without intl # without Intl extension module
59 %bcond_without kerberos5 # without Kerberos5 support
60 %bcond_without litespeed # build litespeed module
61 %bcond_without ldap # without LDAP extension module
62 %bcond_without mhash # without mhash extension (supported by hash extension)
63 %bcond_without mm # without mm support for session storage
64 %bcond_without mssql # without MS SQL extension module
65 # don't turn it on by default; see TODO item for mysqlnd in this spec
66 %bcond_with mysqlnd # with mysqlnd support in mysql related extensions
67 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
68 %bcond_without odbc # without ODBC extension module
69 %bcond_without opcache # without Enable Zend OPcache extension support
70 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
71 %bcond_without pcre # without PCRE extension module
72 %bcond_without pdo_sqlite # without PDO SQLite extension module
73 %bcond_without pgsql # without PostgreSQL extension module
74 %bcond_without phar # without phar extension module
75 %bcond_without pspell # without pspell extension module
76 %bcond_without recode # without recode extension module
77 %bcond_without snmp # without SNMP extension module
78 %bcond_without sqlite2 # without SQLite extension module
79 %bcond_without sqlite3 # without SQLite3 extension module
80 %bcond_without sybase_ct # without Sybase-CT extension module
81 %bcond_without tidy # without Tidy extension module
82 %bcond_without webp # Without WebP support in GD extension (imagecreatefromwebp)
83 %bcond_without wddx # without WDDX extension module
84 %bcond_without xmlrpc # without XML-RPC extension module
85 %bcond_without apache1 # disable building Apache 1.3.x SAPI
86 %bcond_without apache2 # disable building Apache 2.x SAPI
87 %bcond_with zts # Zend Thread Safety
88 %bcond_without cgi # disable CGI/FCGI SAPI
89 %bcond_without fpm # disable FPM
90 %bcond_with embed # disable Embedded API
91 %bcond_without suhosin # with suhosin patch
92 %bcond_with tests # default off; test process very often hangs on builders, approx run time 45m; perform "make test"
93 %bcond_with gcov # Enable Code coverage reporting
94 %bcond_with type_hints # experimental support for strict typing/casting
96 %define apxs1 /usr/sbin/apxs1
97 %define apxs2 /usr/sbin/apxs
101 %undefine with_apache1
102 %undefine with_apache2
104 %undefine with_litespeed
107 # mm is not thread safe
112 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha
113 # ppc disabled (broken on th-ppc)
114 %undefine with_interbase
117 %ifnarch %{ix86} %{x8664}
118 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
123 %if %{without apache1} && %{without apache2}
124 ERROR: You need to select at least one Apache SAPI to build shared modules.
128 # filter depends on pcre
130 %undefine with_filter
135 %define ver_suffix 56
136 %define php_suffix %{!?with_default_php:%{ver_suffix}}
138 Summary: PHP: Hypertext Preprocessor
139 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
140 Summary(pl.UTF-8): Język skryptowy PHP
141 Summary(pt_BR.UTF-8): A linguagem de script PHP
142 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
143 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
144 Name: %{orgname}%{php_suffix}
146 Release: %{rel}%{?with_type_hints:.th}%{?with_oci8:.oci}
150 #Source0: http://www.php.net/distributions/%{orgname}-%{version}.tar.xz
151 Source0: http://downloads.php.net/tyrael/php-%{version}%{subver}.tar.xz
152 # Source0-md5: 08321c0d7315db679aa255081b8615b2
153 Source2: %{orgname}-mod_%{orgname}.conf
154 Source3: %{orgname}-cgi-fcgi.ini
155 Source4: %{orgname}-apache.ini
156 Source5: %{orgname}-cli.ini
157 # Taken from: http://browsers.garykeith.com/downloads.asp
158 Source9: %{orgname}_browscap.ini
159 Source10: %{orgname}-fpm.init
160 Source11: %{orgname}-fpm.logrotate
161 Source12: %{orgname}-branch.sh
162 Source13: dep-tests.sh
163 Source14: skip-tests.sh
164 Patch0: %{orgname}-shared.patch
165 Patch1: %{orgname}-pldlogo.patch
166 Patch2: %{orgname}-mail.patch
167 Patch3: %{orgname}-link-libs.patch
168 Patch4: %{orgname}-libpq_fs_h_path.patch
169 Patch5: %{orgname}-filter-shared.patch
170 Patch6: %{orgname}-build_modules.patch
171 Patch7: %{orgname}-sapi-ini-file.patch
173 Patch10: %{orgname}-ini.patch
175 %if %{with type_hints}
176 Patch12: http://ilia.ws/patch/type_hint_53_v2.txt
178 Patch14: %{orgname}-no_pear_install.patch
179 #Patch15: %{orgname}-zlib.patch # no longer needed?
180 Patch17: %{orgname}-readline.patch
181 Patch18: %{orgname}-nohttpd.patch
182 Patch19: %{orgname}-gd_imagerotate_enable.patch
183 Patch20: %{orgname}-uint32_t.patch
184 Patch21: %{orgname}-dba-link.patch
185 Patch22: %{orgname}-both-apxs.patch
186 Patch23: %{orgname}-builddir.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 #Patch32: %{orgname}-curl-limit-speed.patch # applied upstream
194 Patch34: %{orgname}-libtool.patch
195 Patch35: %{orgname}-tds.patch
196 Patch36: %{orgname}-mysql-charsetphpini.patch
197 Patch37: %{orgname}-mysqli-charsetphpini.patch
198 Patch38: %{orgname}-pdo_mysql-charsetphpini.patch
199 Patch39: %{orgname}-use-prog_sendmail.patch
200 Patch41: %{orgname}-fpm-config.patch
201 Patch42: %{orgname}-fpm-shared.patch
202 Patch43: %{orgname}-silent-session-cleanup.patch
203 Patch44: %{orgname}-include_path.patch
204 Patch45: %{orgname}-imap-annotations.patch
205 Patch46: %{orgname}-imap-myrights.patch
206 Patch47: suhosin.patch
207 #Patch49: %{orgname}-m4-divert.patch # no longer needed, upstream supports new ac
208 Patch50: extension-shared-optional-dep.patch
209 Patch51: spl-shared.patch
210 Patch52: pcre-shared.patch
211 Patch53: fix-test-run.patch
212 #Patch54: mysqlnd-shared.patch # shared build supported upstream
213 Patch55: bug-52078-fileinode.patch
214 #Patch57: bug-52448.patch # outdated
215 Patch59: %{orgname}-systzdata.patch
216 Patch60: %{orgname}-oracle-instantclient.patch
217 #Patch61: %{orgname}-krb5-ac.patch # not needed on 5.4 anymore
218 Patch62: mcrypt-libs.patch
219 Patch63: %{orgname}-mysql-nowarning.patch
220 #Patch64: %{orgname}-m4.patch # not needed on 5.4 branch
221 Patch65: system-libzip.patch
222 Patch66: php-db.patch
223 Patch67: mysql-lib-ver-mismatch.patch
224 Patch69: fpm-conf-split.patch
225 Patch70: http://git.php.net/?p=php-src.git;a=patch;h=22611b8d3774cff379cc51666842ab4b8a2eaf7f;/printf-format.patch
226 Patch71: https://github.com/krakjoe/phpdbg/commit/1c0fccfc9abaaea02ae717547bc3b69fcb2de86c.patch
227 URL: http://www.php.net/
228 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
229 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
230 BuildRequires: autoconf >= 2.59
231 BuildRequires: automake >= 1.4d
233 BuildRequires: bzip2-devel
234 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
235 BuildRequires: cyrus-sasl-devel
236 BuildRequires: db-devel >= 4.0
237 BuildRequires: elfutils-devel
238 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
239 #BuildRequires: fcgi-devel
240 %{?with_kerberos5:BuildRequires: heimdal-devel}
241 %{?with_system_libzip:BuildRequires: libzip-devel >= 0.10.1-2}
242 %{!?with_mysqlnd:BuildRequires: mysql-devel}
243 BuildRequires: pkgconfig
244 BuildRequires: sed >= 4.0
245 %if %{with mssql} || %{with sybase_ct}
246 BuildRequires: freetds-devel >= 0.82
248 BuildRequires: freetype-devel >= 2.5.1
249 %if %{with system_gd}
250 BuildRequires: gd-devel >= 2.1
252 BuildRequires: gdbm-devel
253 BuildRequires: gmp-devel
254 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
255 %{?with_intl:BuildRequires: libicu-devel >= 4.4}
256 BuildRequires: libjpeg-devel
257 BuildRequires: libltdl-devel >= 1.4
258 BuildRequires: libmcrypt-devel >= 2.4.4
259 BuildRequires: libpng-devel >= 1.0.8
260 #BuildRequires: libtiff-devel
261 %{?with_webp:BuildRequires: libvpx-devel}
262 BuildRequires: tokyocabinet-devel
263 %if "%{pld_release}" != "ac"
264 BuildRequires: libtool >= 2:2.2
266 BuildRequires: libtool >= 1.4.3
268 #BuildRequires: libwrap-devel
269 BuildRequires: libxml2-devel >= 1:2.7.6-4
270 BuildRequires: libxslt-devel >= 1.1.0
271 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
272 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
273 %if %{with openssl} || %{with ldap}
274 BuildRequires: openssl-devel >= 0.9.7d
276 %{?with_gcov:BuildRequires: lcov}
277 %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
278 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
279 %{?with_instantclient:BuildRequires: oracle-instantclient-devel}
280 BuildRequires: pam-devel
281 %{?with_pcre:BuildRequires: pcre-devel >= 8.10}
282 BuildRequires: pkgconfig
283 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
284 %{?with_pgsql:BuildRequires: postgresql-devel}
285 BuildRequires: readline-devel
286 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
287 BuildRequires: rpm >= 4.4.9-56
288 BuildRequires: rpm-build >= 4.4.0
289 BuildRequires: rpmbuild(macros) >= 1.566
290 BuildRequires: tar >= 1:1.22
292 %if %{with sqlite3} || %{with pdo_sqlite}
293 BuildRequires: sqlite3-devel >= 3.3.9
295 BuildRequires: t1lib-devel
296 %{?with_tidy:BuildRequires: tidy-devel}
297 %{?with_odbc:BuildRequires: unixODBC-devel}
298 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
299 BuildRequires: zlib-devel >= 1.0.9
301 BuildRequires: apache1-devel
304 BuildRequires: apache-devel >= 2.0.52-2
305 BuildRequires: apr-devel >= 1:1.0.0
306 BuildRequires: apr-util-devel >= 1:1.0.0
309 #BuildRequires: judy-devel
311 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
313 %define php_sysconfdir /etc/%{name}
314 %define php_extensiondir %{_libdir}/%{name}
315 %define _sysconfdir %{php_sysconfdir}
317 # must be in sync with source. extra check ensuring that it is so is done in %%build
318 %define php_api_version 20131106
319 %define zend_module_api 20131226
320 %define zend_extension_api 220131226
324 %define enchantver 1.1.0
325 %define fileinfover 1.0.5
327 %define intlver 1.1.0
328 %define jsonver 1.2.1
329 %define opcachever 7.0.4-dev
330 %define pharver 2.0.2
331 %define sqlite3ver 0.7-dev
332 %define zipver 1.12.4
333 %define phpdbgver 0.3.2
335 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
336 %define php_debug %{!?debug:0}%{?debug:1}
339 %undefine with_ccache
343 # ORACLE_HOME is required for oci8 ext to build
344 %define _preserve_env %_preserve_env_base ORACLE_HOME
348 PHP is an HTML-embedded scripting language. PHP attempts to make it
349 easy for developers to write dynamically generated web pages. PHP also
350 offers built-in database integration for several commercial and
351 non-commercial database management systems, so writing a
352 database-enabled web page with PHP is fairly simple. The most common
353 use of PHP coding is probably as a replacement for CGI scripts. The
354 mod_php module enables the Apache web server to understand and process
355 the embedded PHP language in web pages. This package contains PHP
358 %description -l fr.UTF-8
359 PHP est un langage de script embarque dans le HTM. PHP essaye de
360 rendre simple aux developpeurs d'ecrire des pages web generees
361 dynamiquement. PHP incorpore egalement une integration avec plusieurs
362 systemes de gestion de bases de donnees commerciaux et
363 non-connerciaux, qui rent facile la creation de pages web liees avec
364 des bases de donnees. L'utilisation la plus commune de PHP est
365 probablement en remplacement de scripts CGI. Le module mod_php permet
366 au serveur web Apache de comprendre et de traiter le langage PHP
367 integre dans des pages web. Ce package contient PHP version
370 %description -l pl.UTF-8
371 PHP jest językiem skryptowym, którego polecenia umieszcza się w
372 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
373 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
374 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
375 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
376 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
377 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
378 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
381 %description -l pt_BR.UTF-8
382 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
383 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
384 com algumas características únicas, específicas ao PHP. O objetivo da
385 linguagem é permitir que desenvolvedores web escrevam páginas
386 dinamicamente geradas de forma rápida.
388 %description -l ru.UTF-8
389 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
390 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
391 для работы с базами данных относительно просто. Наиболее популярное
392 использование PHP - замена для CGI скриптов.
394 %description -l uk.UTF-8
395 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
396 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
397 роботи з базами даних є доволі простим. Найбільш популярне
398 використання PHP - заміна для CGI скриптів.
400 %package -n apache1-mod_%{name}
401 Summary: PHP DSO module for Apache 1.3.x
402 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x
403 Group: Development/Languages/PHP
404 Requires(triggerpostun): sed >= 4.0
405 Requires: %{name}-common = %{epoch}:%{version}-%{release}
406 Requires: apache1(EAPI) >= 1.3.33-2
407 Requires: apache1-mod_mime
408 Provides: webserver(php) = %{version}
409 Obsoletes: apache-mod_php < 1:4.1.1
412 %description -n apache1-mod_%{name}
413 PHP as DSO module for Apache 1.3.x.
415 %description -n apache1-mod_%{name} -l pl.UTF-8
416 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x.
418 %package -n apache-mod_%{name}
419 Summary: PHP DSO module for Apache 2.x
420 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
421 Group: Development/Languages/PHP
422 Requires: %{name}-common = %{epoch}:%{version}-%{release}
423 Requires: apache(modules-api) = %{apache_modules_api}
424 Requires: apache-mod_mime
425 Provides: webserver(php) = %{version}
428 %description -n apache-mod_%{name}
429 PHP as DSO module for Apache 2.x.
431 %description -n apache-mod_%{name} -l pl.UTF-8
432 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
435 Summary: PHP for litespeed HTTP server
436 Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
437 Group: Development/Languages/PHP
438 Requires: %{name}-common = %{epoch}:%{version}-%{release}
439 Provides: php(litespeed)
440 Provides: webserver(php) = %{version}
442 %description litespeed
443 PHP for litespeed HTTP server.
445 %description litespeed -l pl.UTF-8
446 PHP dla serwera HTTP litespeed.
449 Summary: PHP as CGI/FastCGI program
450 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
451 Group: Development/Languages/PHP
452 Requires: %{name}-common = %{epoch}:%{version}-%{release}
453 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
456 Provides: webserver(php) = %{version}
457 Obsoletes: php-fcgi < 4:5.3.0
458 %if "%{pld_release}" != "ac"
459 Conflicts: logrotate < 3.8.0
463 PHP as CGI or FastCGI program.
465 %description cgi -l pl.UTF-8
466 PHP jako program CGI lub FastCGI.
469 Summary: PHP as CLI interpreter
470 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
471 Group: Development/Languages/PHP
472 Requires: %{name}-common = %{epoch}:%{version}-%{release}
475 PHP as CLI interpreter.
477 %description cli -l pl.UTF-8
478 PHP jako interpreter działający z linii poleceń.
481 Summary: PHP library for embedding in applications
482 Summary(pl.UTF-8): Biblioteka PHP do osadzania w aplikacjach
484 Requires: %{name}-common = %{epoch}:%{version}-%{release}
486 %description embedded
487 The php-embedded package contains a library which can be embedded into
488 applications to provide PHP scripting language support.
490 %description embedded -l pl.UTF-8
491 Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
492 celu obsługi PHP jako języka skryptowego.
495 Summary: /usr/bin/php symlink
496 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
497 Group: Development/Languages/PHP
498 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
499 Obsoletes: /usr/bin/php
502 Package providing /usr/bin/php symlink to PHP CLI.
504 %description program -l pl.UTF-8
505 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
508 Summary: PHP FastCGI Process Manager
509 Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
510 Group: Development/Languages/PHP
511 URL: http://www.php-fpm.org/
512 Requires(post,preun): /sbin/chkconfig
513 Requires(postun): /usr/sbin/userdel
514 Requires(pre): /bin/id
515 Requires(pre): /usr/sbin/useradd
516 Requires: %{name}-common = %{epoch}:%{version}-%{release}
520 Provides: webserver(php) = %{version}
523 PHP FastCGI Process Manager.
525 %description fpm -l pl.UTF-8
526 PHP FastCGI Process Manager - zarządca procesów FastCGI.
529 Summary: The debugging platform for PHP 5.4+
530 Group: Development/Languages/PHP
531 Requires: %{name}-common = %{epoch}:%{version}-%{release}
532 Provides: php(phpdbg) = %{phpdbgver}
535 phpdbg - The interactive PHP debugger.
537 Implemented as a SAPI module, phpdbg can excert complete control over
538 the environment without impacting the functionality or performance of
541 phpdbg aims to be a lightweight, powerful, easy to use debugging
542 platform for PHP 5.4+
545 Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
546 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
547 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
548 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
550 Requires(post): sed >= 4.0
551 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
552 Requires: glibc >= 6:2.3.5
553 Requires: php-dirs >= 1.4
554 Requires: rpm-whiteout >= 1.28
556 Provides: %{name}(debug) = %{php_debug}
557 Provides: %{name}(modules_api) = %{php_api_version}
558 Provides: %{name}(thread-safety) = %{zend_zts}
559 Provides: %{name}(zend_extension_api) = %{zend_extension_api}
560 Provides: %{name}(zend_module_api) = %{zend_module_api}
561 Provides: %{name}-core
562 Provides: %{name}-date
563 Provides: %{name}-ereg
564 Provides: %{name}-reflection
565 Provides: %{name}-standard
566 Provides: php(core) = %{version}
569 Provides: php(libxml)
570 Provides: php(reflection)
571 Provides: php(standard)
572 %{!?with_mysqlnd:Obsoletes: php-mysqlnd}
573 %{?with_pcre:%requires_ge_to pcre pcre-devel}
574 Obsoletes: php-pecl-domxml
575 Conflicts: php4-common < 3:4.4.4-8
576 Conflicts: php55-common < 4:5.5.10-4
577 Conflicts: rpm < 4.4.2-0.2
580 Common files needed by both Apache modules and CGI/CLI SAPIs.
582 %description common -l pl.UTF-8
583 Wspólne pliki dla modułu Apache'a i programu CGI.
585 %description common -l ru.UTF-8
586 Этот пакет содержит общие файлы для разных вариантов реализации PHP
587 (самодостаточной и в качестве модуля Apache).
589 %description common -l uk.UTF-8
590 Цей пакет містить спільні файли для різних варіантів реалізації PHP
591 (самодостатньої та в якості модуля Apache).
594 Summary: Files for PHP modules development
595 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
596 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
597 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
598 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
599 Group: Development/Languages/PHP
600 Requires: %{name}-common = %{epoch}:%{version}-%{release}
601 Requires: autoconf >= 2.13
603 %if "%{pld_release}" != "ac"
604 Requires: libtool >= 2:2.2
608 %{?with_pcre:Requires: pcre-devel >= 8.10}
611 Obsoletes: php-pear-devel
612 Obsoletes: php4-devel
613 Obsoletes: php52-devel
614 Obsoletes: php54-devel
617 The php-devel package lets you compile dynamic extensions to PHP.
618 Included here is the source for the PHP extensions. Instead of
619 recompiling the whole PHP binary to add support for, say, oracle,
620 install this package and use the new self-contained extensions
621 support. For more information, read the file
622 README.SELF-CONTAINED-EXTENSIONS.
624 %description devel -l pl.UTF-8
625 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
626 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
627 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
628 samodzielnych rozszerzeniach można znaleźć w pliku
629 README.SELF-CONTAINED-EXTENSIONS.
631 %description devel -l pt_BR.UTF-8
632 Este pacote contém arquivos usados no desenvolvimento de programas ou
635 %description devel -l ru.UTF-8
636 Пакет php-devel дает возможность компилировать динамические расширения
637 PHP. Пакет включает исходный код этих расширений. Вместо повторной
638 компиляции бинарного файла PHP для добавления, например, поддержки
639 oracle, установите этот пакет для компилирования отдельных расширений.
640 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
642 %description devel -l uk.UTF-8
643 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
644 До пакету включено вихідний код для розширень. Замість повторної
645 компіляції бінарного файлу PHP для додання, наприклад, підтримки
646 oracle, встановіть цей пакет для компіляції окремих розширень.
647 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
650 Summary: bcmath extension module for PHP
651 Summary(pl.UTF-8): Moduł bcmath dla PHP
653 URL: http://www.php.net/manual/en/book.bc.php
654 Requires: %{name}-common = %{epoch}:%{version}-%{release}
655 Provides: php(bcmath)
658 This is a dynamic shared object (DSO) for PHP that will add bc style
659 precision math functions support.
661 %description bcmath -l pl.UTF-8
662 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
663 matematycznych takich jak w programie bc.
666 Summary: Bzip2 extension module for PHP
667 Summary(pl.UTF-8): Moduł bzip2 dla PHP
669 URL: http://www.php.net/manual/en/book.bzip2.php
670 Requires: %{name}-common = %{epoch}:%{version}-%{release}
671 Provides: php(bz2) = %{bz2ver}
673 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
674 Obsoletes: php-bzip2 < 4:5.2.14-3
675 Obsoletes: php-pecl-bz2 < %{bz2ver}
678 This is a dynamic shared object (DSO) for PHP that will add bzip2
679 compression support to PHP.
681 %description bz2 -l pl.UTF-8
682 Moduł PHP umożliwiający używanie kompresji bzip2.
685 Summary: Calendar extension module for PHP
686 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
688 URL: http://www.php.net/manual/en/book.calendar.php
689 Requires: %{name}-common = %{epoch}:%{version}-%{release}
690 Provides: php(calendar)
692 %description calendar
693 This is a dynamic shared object (DSO) for PHP that will add calendar
696 %description calendar -l pl.UTF-8
697 Moduł PHP dodający wsparcie dla kalendarza.
700 Summary: ctype extension module for PHP
701 Summary(pl.UTF-8): Moduł ctype dla PHP
703 URL: http://www.php.net/manual/en/book.ctype.php
704 Requires: %{name}-common = %{epoch}:%{version}-%{release}
708 This is a dynamic shared object (DSO) for PHP that will add ctype
711 %description ctype -l pl.UTF-8
712 Moduł PHP umożliwiający korzystanie z funkcji ctype.
715 Summary: curl extension module for PHP
716 Summary(pl.UTF-8): Moduł curl dla PHP
718 URL: http://www.php.net/manual/en/book.curl.php
719 Requires: %{name}-common = %{epoch}:%{version}-%{release}
723 This is a dynamic shared object (DSO) for PHP that will add curl
726 %description curl -l pl.UTF-8
727 Moduł PHP umożliwiający korzystanie z biblioteki curl.
730 Summary: DBA extension module for PHP
731 Summary(pl.UTF-8): Moduł DBA dla PHP
733 URL: http://www.php.net/manual/en/book.dba.php
734 Requires: %{name}-common = %{epoch}:%{version}-%{release}
738 This is a dynamic shared object (DSO) for PHP that will add flat-file
739 databases (DBA) support.
741 %description dba -l pl.UTF-8
742 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
746 Summary: DOM extension module for PHP
747 Summary(pl.UTF-8): Moduł DOM dla PHP
749 URL: http://www.php.net/manual/en/book.dom.php
750 Requires: %{name}-common = %{epoch}:%{version}-%{release}
752 # it has some compatibility functions
753 Provides: %{name}-domxml = %{epoch}:%{version}-%{release}
754 Provides: php(domxml)
755 Obsoletes: php-domxml <= 3:4.3.8-1
758 This is a dynamic shared object (DSO) for PHP that will add new DOM
761 %description dom -l pl.UTF-8
762 Moduł PHP dodający nową obsługę DOM.
765 Summary: libenchant binder
766 Summary(pl.UTF-8): dowiązania biblioteki libenchant
768 URL: http://www.php.net/manual/en/book.exif.php
769 Requires: %{name}-common = %{epoch}:%{version}-%{release}
770 Provides: php(enchant) = %{enchantver}
771 Obsoletes: php-pecl-enchant < %{enchantver}
774 Enchant is a binder for libenchant. Libenchant provides a common API
775 for many spell libraries:
776 - aspell/pspell (intended to replace ispell)
779 - myspell (OpenOffice.org project, mozilla)
780 - uspell (primarily Yiddish, Hebrew, and Eastern European languages) A
781 plugin system allows to add custom spell support.
783 %description enchant -l pl.UTF-8
784 Enchant jest dowiązaniem do biblioteki libenchant, która udostępnia
785 ujednolicone API dla wielu narzędzi sprawdzających pisownię:
786 - aspell/pspell (w zamierzeniu ma zastąpić ispell)
789 - myspell (projekt OpenOffice.org, mozilla)
790 - uspell (głównie Jidysz, Hebrajski oraz języki wschodnioeuropejskie)
791 System wtyczek pozwala na dodanie wsparcia dla kolejnych narzędzi.
794 Summary: exif extension module for PHP
795 Summary(pl.UTF-8): Moduł exif dla PHP
797 URL: http://www.php.net/manual/en/book.exif.php
798 Requires: %{name}-common = %{epoch}:%{version}-%{release}
802 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
803 support in image files.
805 %description exif -l pl.UTF-8
806 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
809 Summary: libmagic bindings
810 Summary(pl.UTF-8): Wiązania do libmagic
812 URL: http://www.php.net/manual/en/book.fileinfo.php
813 Requires: %{name}-common = %{epoch}:%{version}-%{release}
814 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
815 Provides: php(fileinfo) = %{fileinfover}
816 Obsoletes: php-mime_magic
817 Obsoletes: php-pecl-fileinfo < %{fileinfover}
819 %description fileinfo
820 This extension allows retrieval of information regarding vast majority
821 of file. This information may include dimensions, quality, length
824 Additionally it can also be used to retrieve the MIME type for a
825 particular file and for text files proper language encoding.
827 %description fileinfo -l pl.UTF-8
828 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
829 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
831 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
832 pliku oraz kodowania plików tekstowych.
835 Summary: Extension for safely dealing with input parameters
836 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
838 URL: http://www.php.net/manual/en/book.filter.php
839 Requires: %{name}-common = %{epoch}:%{version}-%{release}
840 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
841 Provides: php(filter)
842 Obsoletes: php-pecl-filter
845 We all know that you should always check input variables, but PHP does
846 not offer really good functionality for doing this in a safe way. The
847 Input Filter extension is meant to address this issue by implementing
848 a set of filters and mechanisms that users can use to safely access
851 %description filter -l pl.UTF-8
852 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
853 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
854 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
855 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
856 mogą bezpiecznie używać do dostępu do danych.
859 Summary: FTP extension module for PHP
860 Summary(pl.UTF-8): Moduł FTP dla PHP
862 URL: http://www.php.net/manual/en/book.ftp.php
863 Requires: %{name}-common = %{epoch}:%{version}-%{release}
867 This is a dynamic shared object (DSO) for PHP that will add FTP
870 %description ftp -l pl.UTF-8
871 Moduł PHP dodający obsługę protokołu FTP.
874 Summary: GD extension module for PHP
875 Summary(pl.UTF-8): Moduł GD dla PHP
877 URL: http://www.php.net/manual/en/book.image.php
878 Requires: %{name}-common = %{epoch}:%{version}-%{release}
879 %if %{with system_gd}
880 Requires: gd >= 2.0.28-4
882 Requires: gd(imagerotate) = 5.2.0
887 This is a dynamic shared object (DSO) for PHP that will add GD
888 support, allowing you to create and manipulate images with PHP.
890 %description gd -l pl.UTF-8
891 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
892 tworzenie i obróbkę obrazków.
895 Summary: gettext extension module for PHP
896 Summary(pl.UTF-8): Moduł gettext dla PHP
898 URL: http://www.php.net/manual/en/book.gettext.php
899 Requires: %{name}-common = %{epoch}:%{version}-%{release}
900 Provides: php(gettext)
903 This is a dynamic shared object (DSO) for PHP that will add gettext
906 %description gettext -l pl.UTF-8
907 Moduł PHP dodający obsługę lokalizacji przez gettext.
910 Summary: gmp extension module for PHP
911 Summary(pl.UTF-8): Moduł gmp dla PHP
913 URL: http://www.php.net/manual/en/book.gmp.php
914 Requires: %{name}-common = %{epoch}:%{version}-%{release}
918 This is a dynamic shared object (DSO) for PHP that will add arbitrary
919 length number support with GNU MP library.
921 %description gmp -l pl.UTF-8
922 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
923 liczbach o dowolnej długości.
926 Summary: HASH Message Digest Framework
927 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
929 URL: http://www.php.net/manual/en/book.gmp.php
930 Requires: %{name}-common = %{epoch}:%{version}-%{release}
931 Provides: php(hash) = %{hashver}
934 Provides: php-mhash = %{epoch}:%{version}-%{release}
935 Obsoletes: php-mhash < 4:5.3.0
937 Obsoletes: php-pecl-hash < %{hashver}
940 Native implementations of common message digest algorithms using a
941 generic factory method.
943 %description hash -l pl.UTF-8
944 Natywne implementacje popularnych algorytmów obliczania skrótów
945 wiadomości przy użyciu wspólnego interfejsu.
948 Summary: iconv extension module for PHP
949 Summary(pl.UTF-8): Moduł iconv dla PHP
951 URL: http://www.php.net/manual/en/book.iconv.php
952 Requires: %{_libdir}/gconv
953 Requires: %{name}-common = %{epoch}:%{version}-%{release}
958 This is a dynamic shared object (DSO) for PHP that will add iconv
961 %description iconv -l pl.UTF-8
962 Moduł PHP dodający obsługę iconv.
965 Summary: IMAP extension module for PHP
966 Summary(pl.UTF-8): Moduł IMAP dla PHP
967 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
969 URL: http://www.php.net/manual/en/book.imap.php
970 Requires: %{name}-common = %{epoch}:%{version}-%{release}
971 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
972 Requires: imap-lib >= 1:2007e-2
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://www.php.net/manual/en/book.ibase.php
990 Requires: %{name}-common = %{epoch}:%{version}-%{release}
991 Provides: php(interbase)
992 %{?with_interbase_inst:Autoreq: false}
994 %description interbase
995 This is a dynamic shared object (DSO) for PHP that will add InterBase
996 and Firebird database support.
998 %description interbase -l pl.UTF-8
999 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
1002 Summary: Internationalization extension (ICU wrapper)
1003 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
1005 URL: http://www.php.net/intl
1006 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1007 Provides: php(intl) = %{intlver}
1008 Obsoletes: php-pecl-intl < %{intlver}
1011 Internationalization extension (further is referred as Intl) is a
1012 wrapper for ICU library, enabling PHP programmers to perform
1013 UCA-conformant collation and date/time/number/currency formatting in
1016 %description intl -l pl.UTF-8
1017 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
1018 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
1019 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
1023 Summary: PHP C extension for JSON serialization
1024 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
1026 URL: http://www.php.net/manual/en/book.json.php
1027 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1028 Provides: php(json) = %{jsonver}
1029 Obsoletes: php-pecl-json < %{jsonver}
1032 php-json is an extremely fast PHP C extension for JSON (JavaScript
1033 Object Notation) serialisation.
1035 %description json -l pl.UTF-8
1036 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
1037 (JavaScript Object Notation).
1040 Summary: LDAP extension module for PHP
1041 Summary(pl.UTF-8): Moduł LDAP dla PHP
1042 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
1044 URL: http://www.php.net/manual/en/book.ldap.php
1045 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1049 This is a dynamic shared object (DSO) for PHP that will add LDAP
1052 %description ldap -l pl.UTF-8
1053 Moduł PHP dodający obsługę LDAP.
1055 %description ldap -l pt_BR.UTF-8
1056 Um módulo para aplicações PHP que usam LDAP.
1059 Summary: mbstring extension module for PHP
1060 Summary(pl.UTF-8): Moduł mbstring dla PHP
1062 URL: http://www.php.net/manual/en/book.mbstring.php
1063 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1064 Provides: php(mbstring)
1066 %description mbstring
1067 This is a dynamic shared object (DSO) for PHP that will add multibyte
1070 %description mbstring -l pl.UTF-8
1071 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1074 Summary: mcrypt extension module for PHP
1075 Summary(pl.UTF-8): Moduł mcrypt dla PHP
1077 URL: http://www.php.net/manual/en/book.mcrypt.php
1078 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1079 Provides: php(mcrypt)
1082 This is a dynamic shared object (DSO) for PHP that will add mcrypt
1085 %description mcrypt -l pl.UTF-8
1086 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
1089 Summary: MS SQL extension module for PHP
1090 Summary(pl.UTF-8): Moduł MS SQL dla PHP
1092 URL: http://www.php.net/manual/en/book.mssql.php
1093 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1094 Provides: php(mssql)
1097 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1098 databases support through FreeTDS library.
1100 %description mssql -l pl.UTF-8
1101 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
1105 Summary: MySQL database module for PHP
1106 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
1107 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
1109 URL: http://www.php.net/manual/en/book.mysql.php
1110 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1111 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1112 Provides: php(mysql)
1115 This is a dynamic shared object (DSO) for PHP that will add MySQL
1118 %description mysql -l pl.UTF-8
1119 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
1121 %description mysql -l pt_BR.UTF-8
1122 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1125 Summary: MySQLi module for PHP
1126 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1128 URL: http://www.php.net/manual/en/book.mysqli.php
1129 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1130 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1131 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1132 Provides: php(mysqli)
1135 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1136 (Improved MySQL) support. The difference between it and mysql module
1137 is that it provides access to functionality of MySQL 4.1 and above.
1139 %description mysqli -l pl.UTF-8
1140 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1141 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1142 MySQL w wersji 4.1 i nowszych.
1145 Summary: MySQL Native Client Driver for PHP
1146 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1148 URL: http://www.php.net/manual/en/book.mysqlnd.php
1149 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1150 Provides: php(mysqlnd)
1152 %description mysqlnd
1153 MySQL Native Driver is a replacement for the MySQL Client Library
1156 Because MySQL Native Driver is written as a PHP extension, it is
1157 tightly coupled to the workings of PHP. This leads to gains in
1158 efficiency, especially when it comes to memory usage, as the driver
1159 uses the PHP memory management system. It also supports the PHP memory
1160 limit. Using MySQL Native Driver leads to comparable or better
1161 performance than using MySQL Client Library, it always ensures the
1162 most efficient use of memory. One example of the memory efficiency is
1163 the fact that when using the MySQL Client Library, each row is stored
1164 in memory twice, whereas with the MySQL Native Driver each row is only
1165 stored once in memory.
1167 %description mysqlnd -l pl.UTF-8
1168 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1169 klienckiej MySQL (libmysql).
1171 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1172 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1173 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1174 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1175 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1176 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1177 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1178 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1179 tym sterowniku - tylko raz.
1182 Summary: Oracle 8+ database module for PHP
1183 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1185 URL: http://www.php.net/manual/en/book.oci8.php
1186 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1191 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1192 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1194 %description oci8 -l pl.UTF-8
1195 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1196 poprzez interfejs Oracle8 Call-Interface (OCI8).
1199 Summary: ODBC extension module for PHP
1200 Summary(pl.UTF-8): Moduł ODBC dla PHP
1201 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1203 URL: http://www.php.net/manual/en/book.uodbc.php
1204 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1205 Requires: unixODBC >= 2.1.1-3
1209 This is a dynamic shared object (DSO) for PHP that will add ODBC
1212 %description odbc -l pl.UTF-8
1213 Moduł PHP ze wsparciem dla ODBC.
1215 %description odbc -l pt_BR.UTF-8
1216 Um módulo para aplicações PHP que usam ODBC.
1219 Summary: Zend Optimizer+ - PHP code optimizer
1221 URL: https://wiki.php.net/rfc/optimizerplus
1222 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1223 Provides: php(opcache) = %{opcachever}
1225 %description opcache
1226 The Zend OPcache provides faster PHP execution through opcode caching
1227 and optimization. It improves PHP performance by storing precompiled
1228 script bytecode in the shared memory. This eliminates the stages of
1229 reading code from the disk and compiling it on future access. In
1230 addition, it applies a few bytecode optimization patterns that make
1231 code execution faster.
1234 Summary: OpenSSL extension module for PHP
1235 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1237 URL: http://www.php.net/manual/en/book.openssl.php
1238 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1239 Provides: php(openssl)
1241 %description openssl
1242 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1245 %description openssl -l pl.UTF-8
1246 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1249 Summary: Process Control extension module for PHP
1250 Summary(pl.UTF-8): Moduł Process Control dla PHP
1252 URL: http://www.php.net/manual/en/book.pcntl.php
1253 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1254 Provides: php(pcntl)
1257 This is a dynamic shared object (DSO) for PHP that will add process
1258 spawning and control support. It supports functions like fork(),
1259 waitpid(), signal() etc.
1261 %description pcntl -l pl.UTF-8
1262 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1263 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1266 Summary: PCRE extension module for PHP
1267 Summary(pl.UTF-8): Moduł PCRE dla PHP
1269 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1273 This is a dynamic shared object (DSO) for PHP that will add Perl
1274 Compatible Regular Expression support.
1276 %description pcre -l pl.UTF-8
1277 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1278 (Perl Compatible Regular Expressions)
1281 Summary: PHP Data Objects (PDO)
1282 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1284 URL: http://www.php.net/manual/en/book.pdo.php
1285 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1286 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1288 Obsoletes: php-pecl-PDO
1291 This is a dynamic shared object (DSO) for PHP that will add PDO
1294 %description pdo -l pl.UTF-8
1295 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1298 Summary: PHP Data Objects (PDO) FreeTDS support
1299 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1301 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1302 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1303 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1304 Provides: php(dblib)
1306 %description pdo-dblib
1307 This is a dynamic shared object (DSO) for PHP that will add PDO
1310 %description pdo-dblib -l pl.UTF-8
1311 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1314 %package pdo-firebird
1315 Summary: PHP Data Objects (PDO) Firebird support
1316 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1318 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1319 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1320 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1321 Provides: php(pdo-firebird)
1322 Obsoletes: php-pecl-PDO_FIREBIRD
1324 %description pdo-firebird
1325 This is a dynamic shared object (DSO) for PHP that will add PDO
1328 %description pdo-firebird -l pl.UTF-8
1329 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1333 Summary: PHP Data Objects (PDO) MySQL support
1334 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1336 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1337 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1338 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1339 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1340 Provides: php(pdo-mysql)
1341 Obsoletes: php-pecl-PDO_MYSQL
1343 %description pdo-mysql
1344 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1347 %description pdo-mysql -l pl.UTF-8
1348 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1352 Summary: PHP Data Objects (PDO) Oracle support
1353 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1355 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1356 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1357 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1358 Provides: php(pdo-oci)
1359 Obsoletes: php-pecl-PDO_OCI
1361 %description pdo-oci
1362 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1365 %description pdo-oci -l pl.UTF-8
1366 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1370 Summary: PHP Data Objects (PDO) ODBC support
1371 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1373 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1374 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1375 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1376 Provides: php(pdo-odbc)
1377 Obsoletes: php-pecl-PDO_ODBC
1379 %description pdo-odbc
1380 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1383 %description pdo-odbc -l pl.UTF-8
1384 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1388 Summary: PHP Data Objects (PDO) PostgreSQL support
1389 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1391 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1392 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1393 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1394 Provides: php(pdo-pgsql)
1395 Provides: php-pecl-PDO_PGSQL
1396 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1398 %description pdo-pgsql
1399 This is a dynamic shared object (DSO) for PHP that will add PDO
1402 %description pdo-pgsql -l pl.UTF-8
1403 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1407 Summary: PHP Data Objects (PDO) SQLite support
1408 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1410 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1411 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1412 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1413 Provides: php(pdo-sqlite)
1414 Obsoletes: php-pecl-PDO_SQLITE
1416 %description pdo-sqlite
1417 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1420 %description pdo-sqlite -l pl.UTF-8
1421 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1425 Summary: PostgreSQL database module for PHP
1426 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1428 URL: http://www.php.net/manual/en/book.pgsql.php
1429 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1430 Provides: php(pgsql)
1433 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1436 %description pgsql -l pl.UTF-8
1437 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1439 %description pgsql -l pt_BR.UTF-8
1440 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1443 Summary: phar database module for PHP
1444 Summary(pl.UTF-8): Moduł phar dla PHP
1446 URL: http://www.php.net/manual/en/book.phar.php
1447 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1448 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1449 Suggests: %{name}-cli
1450 # zlib is required by phar program, but as phar cli is optional should the dep be too
1451 Suggests: %{name}-zlib
1452 Provides: php(phar) = %{pharver}
1453 Obsoletes: php-pecl-phar < %{pharver}
1454 Conflicts: php-ioncube < 4.0.9
1457 This is a dynamic shared object (DSO) for PHP that will add phar
1460 %description phar -l pl.UTF-8
1461 Moduł PHP umożliwiający dostęp do achiwów .phar.
1464 Summary: POSIX extension module for PHP
1465 Summary(pl.UTF-8): Moduł POSIX dla PHP
1467 URL: http://www.php.net/manual/en/book.posix.php
1468 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1469 Provides: php(posix)
1472 This is a dynamic shared object (DSO) for PHP that will add POSIX
1473 functions support to PHP.
1475 %description posix -l pl.UTF-8
1476 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1479 Summary: pspell extension module for PHP
1480 Summary(pl.UTF-8): Moduł pspell dla PHP
1482 URL: http://www.php.net/manual/en/book.pspell.php
1483 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1484 Provides: php(pspell)
1487 This is a dynamic shared object (DSO) for PHP that will add pspell
1488 support to PHP. It allows to check the spelling of a word and offer
1491 %description pspell -l pl.UTF-8
1492 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1493 sprawdzanie pisowni słowa i sugerowanie poprawek.
1496 Summary: readline extension module for PHP
1497 Summary(pl.UTF-8): Moduł readline dla PHP
1499 URL: http://www.php.net/manual/en/book.readline.php
1500 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1501 Provides: php(readline)
1503 %description readline
1504 This PHP module adds support for readline functions (only for cli and
1507 %description readline -l pl.UTF-8
1508 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1511 Summary: recode extension module for PHP
1512 Summary(pl.UTF-8): Moduł recode dla PHP
1514 URL: http://www.php.net/manual/en/book.recode.php
1515 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1516 Requires: recode >= 3.5d-3
1517 Provides: php(recode)
1520 This is a dynamic shared object (DSO) for PHP that will add recode
1523 %description recode -l pl.UTF-8
1524 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1528 Summary: session extension module for PHP
1529 Summary(pl.UTF-8): Moduł session dla PHP
1531 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1532 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1533 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1535 Provides: php(session)
1537 %description session
1538 This is a dynamic shared object (DSO) for PHP that will add session
1541 %description session -l pl.UTF-8
1542 Moduł PHP dodający obsługę sesji.
1545 Summary: Shared Memory Operations extension module for PHP
1546 Summary(pl.UTF-8): Moduł shmop dla PHP
1548 URL: http://www.php.net/manual/en/book.shmop.php
1549 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1550 Provides: php(shmop)
1553 This is a dynamic shared object (DSO) for PHP that will add Shared
1554 Memory Operations support.
1556 %description shmop -l pl.UTF-8
1557 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1560 Summary: Simple XML extension module for PHP
1561 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1563 URL: http://www.php.net/manual/en/book.simplexml.php
1564 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1565 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1566 Provides: php(simplexml)
1568 %description simplexml
1569 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1572 %description simplexml -l pl.UTF-8
1573 Moduł PHP dodający obsługę prostego XML-a.
1576 Summary: SNMP extension module for PHP
1577 Summary(pl.UTF-8): Moduł SNMP dla PHP
1579 URL: http://www.php.net/manual/en/book.snmp.php
1580 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1581 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1582 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1586 This is a dynamic shared object (DSO) for PHP that will add SNMP
1589 %description snmp -l pl.UTF-8
1590 Moduł PHP dodający obsługę SNMP.
1593 Summary: soap extension module for PHP
1594 Summary(pl.UTF-8): Moduł soap dla PHP
1596 URL: http://www.php.net/manual/en/book.soap.php
1597 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1601 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1604 %description soap -l pl.UTF-8
1605 Moduł PHP dodający obsługę SOAP/WSDL.
1608 Summary: sockets extension module for PHP
1609 Summary(pl.UTF-8): Moduł socket dla PHP
1611 URL: http://www.php.net/manual/en/book.sockets.php
1612 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1613 Provides: php(sockets)
1615 %description sockets
1616 This is a dynamic shared object (DSO) for PHP that will add sockets
1619 %description sockets -l pl.UTF-8
1620 Moduł PHP dodający obsługę gniazdek.
1623 Summary: Standard PHP Library module for PHP
1624 Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1626 URL: http://php.net/manual/en/book.spl.php
1627 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1628 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1629 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1633 This is a dynamic shared object (DSO) for PHP that will add Standard
1634 PHP Library support.
1636 %description spl -l pl.UTF-8
1637 Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1640 Summary: SQLite3 extension module for PHP
1641 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1643 URL: http://php.net/manual/en/book.sqlite3.php
1644 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1645 Provides: php(sqlite3) = %{sqlite3ver}
1647 %description sqlite3
1648 SQLite is a C library that implements an embeddable SQL database
1649 engine. Programs that link with the SQLite library can have SQL
1650 database access without running a separate RDBMS process.
1652 SQLite is not a client library used to connect to a big database
1653 server. SQLite is the server. The SQLite library reads and writes
1654 directly to and from the database files on disk.
1656 %description sqlite3 -l pl.UTF-8
1657 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1658 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1659 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1662 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1663 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1664 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1668 Summary: Sybase-CT extension module for PHP
1669 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1671 URL: http://www.php.net/manual/en/book.sybase.php
1672 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1673 Provides: php(sybase-ct)
1674 Obsoletes: php-sybase
1676 %description sybase-ct
1677 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1678 MS SQL databases support through CT-lib.
1680 %description sybase-ct -l pl.UTF-8
1681 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1685 Summary: SysV msg extension module for PHP
1686 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1688 URL: http://www.php.net/manual/en/book.sem.php
1689 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1690 Provides: php(sysvmsg)
1692 %description sysvmsg
1693 This is a dynamic shared object (DSO) for PHP that will add SysV
1694 message queues support.
1696 %description sysvmsg -l pl.UTF-8
1697 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1700 Summary: SysV sem extension module for PHP
1701 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1703 URL: http://www.php.net/manual/en/book.sem.php
1704 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1705 Provides: php(sysvsem)
1707 %description sysvsem
1708 This is a dynamic shared object (DSO) for PHP that will add SysV
1711 %description sysvsem -l pl.UTF-8
1712 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1715 Summary: SysV shm extension module for PHP
1716 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1718 URL: http://www.php.net/manual/en/book.shmop.php
1719 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1720 Provides: php(sysvshm)
1722 %description sysvshm
1723 This is a dynamic shared object (DSO) for PHP that will add SysV
1724 Shared Memory support.
1726 %description sysvshm -l pl.UTF-8
1727 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1730 Summary: Contains unit test files for PHP and extensions
1731 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1733 URL: http://qa.php.net/
1734 Requires: %{name}-cli
1737 This package contains unit tests for PHP and its extensions.
1739 %description tests -l pl.UTF-8
1740 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1743 Summary: Tidy extension module for PHP
1744 Summary(pl.UTF-8): Moduł Tidy dla PHP
1746 URL: http://www.php.net/manual/en/book.tidy.php
1747 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1752 This is a dynamic shared object (DSO) for PHP that will add Tidy
1755 %description tidy -l pl.UTF-8
1756 Moduł PHP umożliwiający korzystanie z tidy.
1759 Summary: tokenizer extension module for PHP
1760 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1762 URL: http://www.php.net/manual/en/book.tokenizer.php
1763 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1764 Provides: php(tokenizer)
1766 %description tokenizer
1767 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1770 %description tokenizer -l pl.UTF-8
1771 Moduł PHP dodający obsługę tokenizera do PHP.
1774 Summary: wddx extension module for PHP
1775 Summary(pl.UTF-8): Moduł wddx dla PHP
1777 URL: http://www.php.net/manual/en/book.wddx.php
1778 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1779 # - wddx doesn't require session as it's disabled at compile time:
1780 # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1781 # see also php.spec#rev1.120.2.22
1782 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1783 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1787 This is a dynamic shared object (DSO) for PHP that will add wddx
1790 %description wddx -l pl.UTF-8
1791 Moduł PHP umożliwiający korzystanie z wddx.
1794 Summary: XML extension module for PHP
1795 Summary(pl.UTF-8): Moduł XML dla PHP
1797 URL: http://www.php.net/manual/en/book.xml.php
1798 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1802 This is a dynamic shared object (DSO) for PHP that will add XML
1803 support. This extension lets you create XML parsers and then define
1804 handlers for different XML events.
1806 %description xml -l pl.UTF-8
1807 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1808 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1809 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1812 Summary: XML Reader extension module for PHP
1813 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1815 URL: http://www.php.net/manual/en/book.xmlreader.php
1816 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1817 Suggests: %{name}-dom = %{epoch}:%{version}-%{release}
1818 Provides: php(xmlreader)
1820 %description xmlreader
1821 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1822 support. The XMLReader extension is an XML Pull parser. The reader
1823 acts as a cursor going forward on the document stream and stopping at
1824 each node on the way.
1826 %description xmlreader -l pl.UTF-8
1827 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1828 działa jako kursor przechodzący przez strumień dokumentu i
1829 zatrzymujący się na każdym węźle po drodze.
1832 Summary: xmlrpc extension module for PHP
1833 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1835 URL: http://www.php.net/manual/en/book.xmlrpc.php
1836 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1837 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1838 Provides: php(xmlrpc)
1841 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1844 %description xmlrpc -l pl.UTF-8
1845 Moduł PHP dodający obsługę XMLRPC.
1848 Summary: Fast, non-cached, forward-only means to write XML data
1849 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1851 URL: http://www.php.net/manual/en/book.xmlwriter.php
1852 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1853 Provides: php(xmlwriter)
1854 Obsoletes: php-pecl-xmlwriter
1856 %description xmlwriter
1857 This extension wraps the libxml xmlWriter API. Represents a writer
1858 that provides a non-cached, forward-only means of generating streams
1859 or files containing XML data.
1861 %description xmlwriter -l pl.UTF-8
1862 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1863 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1864 plików zawierających dane XML.
1867 Summary: xsl extension module for PHP
1868 Summary(pl.UTF-8): Moduł xsl dla PHP
1870 URL: http://www.php.net/manual/en/book.xsl.php
1871 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1872 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1873 Requires: libxslt >= 1.0.18
1874 # actually not true, functionality is similar, but API differs
1876 Obsoletes: php-xslt <= 3:4.3.8-1
1879 This is a dynamic shared object (DSO) for PHP that will add new XSL
1880 support (using libxslt).
1882 %description xsl -l pl.UTF-8
1883 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1886 Summary: Zip management extension
1887 Summary(pl.UTF-8): Zarządzanie archiwami zip
1889 URL: http://www.php.net/manual/en/book.zip.php
1890 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1891 %{?with_system_libzip:Requires: libzip >= 0.10.1-2}
1892 Provides: php(zip) = %{zipver}
1893 Obsoletes: php-pecl-zip < %{zipver}
1896 Zip is an extension to create, modify and read zip files.
1898 %description zip -l pl.UTF-8
1899 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1900 odczyt archiwów zip.
1903 Summary: Zlib extension module for PHP
1904 Summary(pl.UTF-8): Moduł zlib dla PHP
1906 URL: http://www.php.net/manual/en/book.zlib.php
1907 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1911 This is a dynamic shared object (DSO) for PHP that will add zlib
1912 compression support to PHP.
1914 %description zlib -l pl.UTF-8
1915 Moduł PHP umożliwiający używanie kompresji zlib.
1918 %setup -q -n %{orgname}-%{version}%{?subver}
1928 cp -p php.ini-production php.ini
1930 %if %{with type_hints}
1936 %if %{with system_gd}
1949 %if "%{pld_release}" != "ac"
1963 #%patch45 -p1 # imap annotations. fixme
1964 #%patch46 -p1 # imap myrights. fixme
1972 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
1978 %{?with_system_libzip:%patch65 -p1}
1988 sed -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
1990 # cleanup backups after patching
1991 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
1993 # conflict seems to be resolved by recode patches
1994 %{__rm} ext/recode/config9.m4
1996 # remove all bundled libraries not to link with them accidentally
1997 %{__rm} -r ext/sqlite3/libsqlite
1998 #%{__rm} -r ext/bcmath/libbcmath
1999 #%{__rm} -r ext/date/lib
2000 #%{__rm} -r ext/fileinfo/libmagic
2001 #%{__rm} -r ext/dba/libcdb
2002 #%{__rm} -r ext/dba/libflatfile
2003 #%{__rm} -r ext/dba/libinifile
2004 #%{__rm} -r ext/gd/libgd
2005 #%{__rm} -r ext/mbstring/libmbfl
2006 #%{__rm} -r ext/mbstring/oniguruma
2007 %{__rm} -r ext/pcre/pcrelib
2008 #%{__rm} -r ext/soap/interop
2009 %{__rm} -r ext/xmlrpc/libxmlrpc
2010 #%{__rm} -r ext/zip/lib
2011 %{__rm} ext/date/lib/timezonedb.h
2013 cp -pf Zend/LICENSE{,.Zend}
2014 install -p %{SOURCE13} dep-tests.sh
2017 sed -i -e 's#-fvisibility=hidden##g' configure*
2019 # disable broken tests
2020 # says just "Terminated" twice and fails
2021 mv sapi/cli/tests/022.phpt{,.broken}
2023 # really dumb test, executable binary name is .libs/ something when building
2024 # https://bugs.php.net/bug.php?id=54514
2025 mv tests/basic/bug54514.phpt{,.disable}
2027 # breaks whole testsuite unexpectedly:
2028 # Fatal error: Call to undefined function gzencode() in run-tests.php on line 1714
2029 # probably broken as zlib is built as shared
2030 mv ext/soap/tests/server019.phpt{,disable}
2031 # Fatal error: Call to undefined function gzcompress() in run-tests.php on line 1728
2032 mv ext/soap/tests/server020.phpt{,disable}
2034 # runs out of memory and kills carme vserver
2035 # PASS Bug #39438 (Fatal error: Out of memory) [Zend/tests/bug39438.phpt]
2036 mv Zend/tests/bug39438.phpt{,.disable}
2038 # php-5.3.3/ext/standard/tests/file/statpage.phpt
2039 %{__rm} ext/standard/tests/file/statpage.phpt
2041 # idiotic test, it will fail if somebody else makes space on disk or if disk
2042 # space is not yet allocated (xfs). report upstream to advice bogus test is
2043 # probably pointless.
2044 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
2047 # all pdo_sqlite, sqlite3 tests die with Aborted on carme
2048 %{__rm} -r ext/pdo_sqlite/tests
2049 %{__rm} -r ext/sqlite3/tests
2053 # no point testing stuff that is knowingly broken
2054 find -name '*.phpt' | xargs grep XFAIL -l | xargs rm -v
2063 sh -xe %{_sourcedir}/skip-tests.sh
2066 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
2067 if [ $API != %{php_api_version} ]; then
2068 echo "Set %%define php_api_version to $API and re-run."
2072 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
2073 if [ $API != %{zend_module_api} ]; then
2074 echo "Set %%define zend_module_api to $API and re-run."
2078 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
2079 if [ $API != %{zend_extension_api} ]; then
2080 echo "Set %%define zend_extension_api to $API and re-run."
2084 # Check for some extension version
2085 ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
2086 if test "$ver" != "%{fileinfover}"; then
2087 : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
2088 : Update the fileinfover macro and rebuild.
2091 ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
2092 if test "$ver" != "%{pharver}"; then
2093 : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
2094 : Update the pharver macro and rebuild.
2097 ver=$(sed -n '/#define PHP_SQLITE3_VERSION/{s/.* "//;s/".*$//;p}' ext/sqlite3/php_sqlite3.h)
2098 if test "$ver" != "%{sqlite3ver}"; then
2099 : Error: Upstream Sqlite3 version is now ${ver}, expecting %{sqlite3ver}.
2100 : Update the sqlite3ver macro and rebuild.
2103 ver=$(sed -n '/#define PHP_ZIP_VERSION /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
2104 if test "$ver" != "%{zipver}"; then
2105 : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
2106 : Update the zipver macro and rebuild.
2109 ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
2110 if test "$ver" != "%{jsonver}"; then
2111 : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
2112 : Update the jsonver macro and rebuild.
2115 ver=$(sed -n '/#define PHP_ZENDOPCACHE_VERSION /{s/.* "//;s/".*$//;p}' ext/opcache/ZendAccelerator.h)
2116 if test "$ver" != "%{opcachever}"; then
2117 : Error: Upstream Zend Opcache version is now ${ver}, expecting %{opcachever}.
2118 : Update the opcachever macro and rebuild.
2121 ver=$(sed -n '/#define PHPDBG_VERSION /{s/.* "//;s/".*$//;p}' sapi/phpdbg/phpdbg.h)
2122 if test "$ver" != "%{phpdbgver}"; then
2123 : Error: Upstream phpdbg version is now ${ver}, expecting %{phpdbgver}.
2124 : Update the opcachever macro and rebuild.
2127 ver=$(sed -rne 's,.*<version>(.+)</version>,\1,p' ext/bz2/package.xml)
2128 if test "$ver" != "%{bz2ver}"; then
2129 : Error: Upstream BZIP2 version is now ${ver}, expecting %{bz2ver}.
2130 : Update the bz2ver macro and rebuild.
2133 ver=$(sed -n '/#define PHP_ENCHANT_VERSION /{s/.* "//;s/".*$//;p}' ext/enchant/php_enchant.h)
2134 if test "$ver" != "%{enchantver}"; then
2135 : Error: Upstream Enchant version is now ${ver}, expecting %{enchantver}.
2136 : Update the enchantver macro and rebuild.
2139 ver=$(awk '/#define PHP_HASH_EXTVER/ {print $3}' ext/hash/php_hash.h | xargs)
2140 if test "$ver" != "%{hashver}"; then
2141 : Error: Upstream HASH version is now ${ver}, expecting %{hashver}.
2142 : Update the hashver macro and rebuild.
2145 ver=$(sed -n '/#define PHP_INTL_VERSION /{s/.* "//;s/".*$//;p}' ext/intl/php_intl.h)
2146 if test "$ver" != "%{intlver}"; then
2147 : Error: Upstream Intl version is now ${ver}, expecting %{intlver}.
2148 : Update the intlver macro and rebuild.
2152 export EXTENSION_DIR="%{php_extensiondir}"
2153 # configure once (for faster debugging purposes)
2154 if [ ! -f _built-conf ]; then
2155 # now remove Makefile copies
2156 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed}
2159 cp -f /usr/share/automake/config.* .
2163 export PROG_SENDMAIL="/usr/lib/sendmail"
2164 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \
2165 -I%{_includedir}/xmlrpc-epi"
2172 %if %{with litespeed}
2188 for sapi in $sapis; do
2190 # skip if already configured (for faster debugging purposes)
2191 [ -f Makefile.$sapi ] && continue
2196 sapi_args='--disable-cli'
2199 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
2202 sapi_args='--disable-cli --enable-fpm'
2205 sapi_args='--disable-cli --enable-embed'
2208 ver=$(rpm -q --qf '%{V}' apache1-devel)
2209 sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
2212 ver=$(rpm -q --qf '%{V}' apache-devel)
2213 sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
2216 sapi_args='--with-litespeed'
2222 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2223 --cache-file=config.cache \
2225 --with-libdir=%{_lib} \
2226 --with-config-file-path=%{_sysconfdir} \
2227 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2228 --with-system-tzdata \
2229 --%{!?debug:dis}%{?debug:en}able-debug \
2230 %{?with_zts:--enable-maintainer-zts} \
2231 --enable-inline-optimization \
2232 --enable-bcmath=shared \
2233 --enable-calendar=shared \
2234 --enable-ctype=shared \
2235 --enable-dba=shared \
2236 --enable-dom=shared \
2237 --enable-exif=shared \
2238 --enable-fileinfo=shared \
2239 --enable-ftp=shared \
2240 --enable-gd-native-ttf \
2241 %{?with_intl:--enable-intl=shared} \
2243 --enable-mbstring=shared,all \
2245 --enable-pcntl=shared \
2246 --enable-pdo=shared \
2247 --enable-json=shared \
2248 --enable-hash=shared \
2249 --enable-xmlwriter=shared \
2251 --with-fpm-user=http \
2252 --with-fpm-group=http \
2254 %if %{with mssql} || %{with sybase_ct}
2255 --with-pdo-dblib=shared \
2257 %if %{with interbase} && %{without interbase_inst}
2258 --with-pdo-firebird=shared,/usr \
2260 %{?with_mhash:--with-mhash=yes} \
2261 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2262 --with-pdo-mysql=shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd} \
2263 %{?with_oci8:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2264 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2265 %{?with_pgsql:--with-pdo-pgsql=shared} \
2266 %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
2267 %{?with_webp:--with-vpx-dir=/usr} \
2268 --without-libexpat-dir \
2269 --enable-posix=shared \
2271 --enable-session=shared \
2272 --enable-shmop=shared \
2273 --enable-simplexml=shared \
2274 --enable-sysvmsg=shared \
2275 --enable-sysvsem=shared \
2276 --enable-sysvshm=shared \
2277 --enable-soap=shared \
2278 --enable-sockets=shared \
2279 --enable-tokenizer=shared \
2280 %{?with_wddx:--enable-wddx=shared} \
2281 --enable-xml=shared \
2282 --enable-xmlreader=shared \
2284 %{__with_without curl curl shared} \
2286 --with-iconv=shared \
2287 %{?with_enchant:--with-enchant=shared,/usr} \
2288 --with-freetype-dir=shared \
2289 --with-gettext=shared \
2290 --with-gd=shared%{?with_system_gd:,/usr} \
2293 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2294 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2295 --with-jpeg-dir=/usr \
2296 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2297 --with-mcrypt=shared \
2298 %{?with_mm:--with-mm} \
2299 %{?with_mssql:--with-mssql=shared} \
2300 %{?with_mysqlnd:--enable-mysqlnd=shared} \
2301 --with-mysql=shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd} \
2302 %{?with_mysqli:--with-mysqli=shared,%{!?with_mysqlnd:/usr/bin/mysql_config}%{?with_mysqlnd:mysqlnd}} \
2303 %{?with_oci8:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2304 %{?with_opcache:--enable-opcache=shared} \
2305 %{?with_openssl:--with-openssl=shared} \
2306 %{?with_kerberos5:--with-kerberos} \
2308 %{__with_without pcre pcre-regex /usr} \
2309 %{__enable_disable filter filter shared} \
2310 --with-pear=%{php_pear_dir} \
2311 %{__with_without pgsql pgsql shared,/usr} \
2312 %{__enable_disable phar phar shared} \
2313 --with-png-dir=/usr \
2314 %{?with_pspell:--with-pspell=shared} \
2315 --with-readline=shared \
2316 %{?with_recode:--with-recode=shared} \
2317 --with-regex=system \
2318 %{?with_snmp:--with-snmp=shared} \
2319 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
2320 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2321 %{__with_without sqlite3 sqlite3 shared,/usr} \
2322 --with-t1lib=shared \
2323 %{?with_tidy:--with-tidy=shared} \
2324 %{?with_odbc:--with-unixODBC=shared,/usr} \
2325 %{__with_without xmlrpc xmlrpc shared,/usr} \
2327 --with-zlib=shared \
2328 --with-zlib-dir=shared,/usr \
2329 %{?with_system_libzip:--with-libzip} \
2330 --enable-zip=shared,/usr \
2333 cp -f Makefile Makefile.$sapi
2334 cp -f main/php_config.h php_config.h.$sapi
2335 cp -f config.log config.log.$sapi
2338 # as we build each SAPI in own make, adjust php-config.in forehead
2339 sapis=$(%{__sed} -rne 's/^PHP_INSTALLED_SAPIS = (.+)/\1/p' Makefile.* | tr ' ' '\n' | sort -u | xargs)
2340 %{__sed} -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," scripts/php-config.in
2342 # must make libphp_common first, so modules can link against it.
2343 cp -af php_config.h.cli main/php_config.h
2344 cp -af Makefile.cli Makefile
2345 %{__make} libphp_common.la
2346 %{__make} build-modules
2349 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
2353 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
2356 %if %{with litespeed}
2357 %{__make} -f Makefile.litespeed
2362 cp -pf php_config.h.cgi-fcgi main/php_config.h
2363 %{__make} -f Makefile.cgi-fcgi
2364 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
2369 cp -pf php_config.h.fpm main/php_config.h
2370 %{__make} -f Makefile.fpm
2371 [ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
2375 cp -pf php_config.h.cli main/php_config.h
2376 %{__make} -f Makefile.cli
2377 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
2379 # check for stupid xml parse breakage where < and > just get lost in parse result
2380 ./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"]));'
2382 # Generate stub .ini files for each extension
2385 generate_inifiles() {
2386 for so in modules/*.so; do
2387 mod=$(basename $so .so)
2389 # opcache.so is zend extension
2390 nm $so | grep -q zend_extension_entry && ext=zend_extension
2392 # xml needs to be loaded before wddx
2393 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2394 # pre needs to be loaded before SPL
2395 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2396 # spl needs to be loaded before mysqli
2397 [ "$mod" = "spl" ] && conf="SPL.ini"
2398 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2399 [ "$mod" = "session" ] && conf="Session.ini"
2400 # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli
2401 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2403 cat > conf.d/$conf <<-EOF
2404 ; Enable $mod $ext module
2411 # Check that the module inner-dependencies are intact
2412 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2413 if grep -v OK dep-tests.log; then
2414 echo >&2 "The results above were not expected"
2420 cp -pf php_config.h.cli main/php_config.h
2421 cp -pf Makefile.cli Makefile
2423 # you really don't want to package result of gcov build
2427 cat <<'EOF' > run-tests.sh
2429 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2430 unset TZ LANG LC_ALL || :
2432 EXTENSION_DIR=modules \
2433 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2434 RUN_TESTS_SETTINGS="-q $*"
2436 chmod +x run-tests.sh
2439 # Run tests, using the CLI SAPI
2440 cp -pf php_config.h.cli main/php_config.h
2441 cp -pf Makefile.cli Makefile
2443 ./run-tests.sh -w failed.log -s tests.log
2445 # collect failed tests into cleanup script used in prep.
2446 sed -ne '/^FAILED TEST SUMMARY/,/^===/p' tests.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2447 sed -ne '/^via/d;/\[.*\]/{s/\t*\(.*\) \[\(.*\)\]\(.*\)/# \1\3\nmv \2{,.skip}/p}' tests-failed.log \
2448 >> %{_sourcedir}/skip-tests.sh
2450 # if on builders, dump test log
2451 tty -q || cat tests.log
2453 test ! -s failed.log
2457 rm -rf $RPM_BUILD_ROOT
2458 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2459 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2460 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2461 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2463 cp -pf php_config.h.cli main/php_config.h
2464 cp -pf Makefile.cli Makefile
2466 phpbuilddir=%{_libdir}/%{name}/build \
2467 INSTALL_ROOT=$RPM_BUILD_ROOT
2469 # make link relative
2470 ln -sfn phar.phar $RPM_BUILD_ROOT%{_bindir}/phar
2473 v=$(echo %{version} | cut -d. -f1-2)
2475 # install Apache1 DSO module
2477 libtool --mode=install install -p sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2478 mv $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5{,-$v}.so
2479 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.so
2482 # install Apache2 DSO module
2484 libtool --mode=install install -p sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2485 mv $RPM_BUILD_ROOT%{_libdir}/apache/libphp5{,-$v}.so
2486 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.so
2489 # install litespeed sapi
2490 %if %{with litespeed}
2491 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
2494 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2499 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2500 ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
2501 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2506 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir}}
2507 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2508 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
2509 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2510 cp -p sapi/fpm/php-fpm.conf-d $RPM_BUILD_ROOT%{_sysconfdir}/fpm.d/www.conf
2511 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2512 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2513 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2514 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2515 %if "%{pld_release}" == "ac"
2516 %{__sed} -i -e '/su/d' $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2520 s#/usr/lib/php#%{php_extensiondir}#
2521 s#/etc/php#%{_sysconfdir}#
2522 s#@processname@#%{name}-fpm#g
2523 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf,%{_sysconfdir}/fpm.d/www.conf}
2526 # install Embedded API
2528 %{__make} -f Makefile.embed install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT
2529 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2530 install -d $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2531 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2535 # versioned suffix is always installed
2536 libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php%{ver_suffix}
2537 cp -p sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php%{ver_suffix}.1
2538 echo ".so php%{ver_suffix}.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.1
2539 ln -sf php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php
2541 cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2543 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2544 cp -p %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini
2547 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2548 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2549 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2553 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2554 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2555 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2558 # ensure that paths are correct for current php version and arch
2559 grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
2561 s#/usr/lib/php#%{php_extensiondir}#
2562 s#/etc/php#%{_sysconfdir}#
2565 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2566 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2568 # per SAPI ini directories
2569 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2572 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2574 # use system automake and {lib,sh}tool
2575 %if "%{pld_release}" != "ac"
2576 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2577 for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2578 ln -snf %{_aclocaldir}/${i} $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2580 ln -snf %{_datadir}/libtool/config/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2582 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2583 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2585 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2586 sed -i -e '/^phpdir/ s,/php/build,/%{name}/build,' $RPM_BUILD_ROOT%{_bindir}/phpize
2588 # for php-pecl-mailparse
2589 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2590 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2593 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2594 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2595 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2597 # fix install paths, avoid evil rpaths
2598 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2600 # libphp5.la contains our buildroot in dependency_libs
2601 sed -i -e "/dependency_libs/ s,/[^ ]*/libs/libphp_common.la,%{_libdir}/libphp_common.la," $RPM_BUILD_ROOT%{_libdir}/libphp5.la
2604 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/%{name}/build/acinclude.m4
2607 rm -rf $RPM_BUILD_ROOT
2609 %post -n apache1-mod_%{name}
2610 if [ "$1" = "1" ]; then
2611 %service -q apache restart
2614 %postun -n apache1-mod_%{name}
2615 if [ "$1" = "0" ]; then
2616 %service -q apache restart
2619 %post -n apache-mod_%{name}
2620 if [ "$1" = "1" ]; then
2621 %service -q httpd restart
2624 %postun -n apache-mod_%{name}
2625 if [ "$1" = "0" ]; then
2626 %service -q httpd restart
2630 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2633 /sbin/chkconfig --add %{name}-fpm
2634 %service %{name}-fpm restart
2637 if [ "$1" = 0 ]; then
2638 %service %{name}-fpm stop
2639 /sbin/chkconfig --del %{name}-fpm
2643 if [ "$1" = "0" ]; then
2647 %post embedded -p /sbin/ldconfig
2648 %postun embedded -p /sbin/ldconfig
2651 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2652 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2654 . /etc/sysconfig/timezone
2655 if [ "$TIMEZONE" ]; then
2656 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2661 # minimizing apache restarts logics. we restart webserver:
2663 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2664 # 2. first install of extension (post: $1 = 1)
2665 # 2. uninstall of extension (postun: $1 == 0)
2667 # the strict internal deps between extensions (and apache modules) and
2668 # common package are very important for all this to work.
2670 # restart webserver at the end of transaction
2671 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2672 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2674 # common macros called at extension post/postun scriptlet
2675 %define extension_scripts() \
2677 if [ "$1" = "1" ]; then \
2678 %php_webserver_restart \
2682 if [ "$1" = "0" ]; then \
2683 %php_webserver_restart \
2687 # extension scripts defines
2688 %extension_scripts bcmath
2689 %extension_scripts bz2
2690 %extension_scripts calendar
2691 %extension_scripts ctype
2692 %extension_scripts curl
2693 %extension_scripts dba
2694 %extension_scripts dom
2695 %extension_scripts enchant
2696 %extension_scripts exif
2697 %extension_scripts fileinfo
2698 %extension_scripts filter
2699 %extension_scripts ftp
2700 %extension_scripts gd
2701 %extension_scripts gettext
2702 %extension_scripts gmp
2703 %extension_scripts hash
2704 %extension_scripts iconv
2705 %extension_scripts imap
2706 %extension_scripts interbase
2707 %extension_scripts intl
2708 %extension_scripts json
2709 %extension_scripts ldap
2710 %extension_scripts mbstring
2711 %extension_scripts mcrypt
2712 %extension_scripts mssql
2713 %extension_scripts mysql
2714 %extension_scripts mysqli
2715 %extension_scripts mysqlnd
2716 %extension_scripts oci8
2717 %extension_scripts odbc
2718 %extension_scripts opcache
2719 %extension_scripts openssl
2720 %extension_scripts pcre
2721 %extension_scripts pdo
2722 %extension_scripts pdo-dblib
2723 %extension_scripts pdo-firebird
2724 %extension_scripts pdo-oci
2725 %extension_scripts pdo-mysql
2726 %extension_scripts pdo-odbc
2727 %extension_scripts pdo-pgsql
2728 %extension_scripts pdo-sqlite
2729 %extension_scripts pgsql
2730 %extension_scripts phar
2731 %extension_scripts pcntl
2732 %extension_scripts posix
2733 %extension_scripts pspell
2734 %extension_scripts recode
2735 %extension_scripts session
2736 %extension_scripts shmop
2737 %extension_scripts simplexml
2738 %extension_scripts snmp
2739 %extension_scripts soap
2740 %extension_scripts sockets
2741 %extension_scripts spl
2742 %extension_scripts sqlite3
2743 %extension_scripts sybase-ct
2744 %extension_scripts sysvmsg
2745 %extension_scripts sysvsem
2746 %extension_scripts sysvshm
2747 %extension_scripts tidy
2748 %extension_scripts tokenizer
2749 %extension_scripts wddx
2750 %extension_scripts xml
2751 %extension_scripts xmlreader
2752 %extension_scripts xmlrpc
2753 %extension_scripts xmlwriter
2754 %extension_scripts xsl
2755 %extension_scripts zip
2756 %extension_scripts zlib
2759 %files -n apache1-mod_%{name}
2760 %defattr(644,root,root,755)
2761 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2762 %dir %{_sysconfdir}/apache.d
2763 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2764 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2765 %attr(755,root,root) %{_libdir}/apache1/libphp5-*.*.so
2769 %files -n apache-mod_%{name}
2770 %defattr(644,root,root,755)
2771 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2772 %dir %{_sysconfdir}/apache2handler.d
2773 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2774 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2775 %attr(755,root,root) %{_libdir}/apache/libphp5-*.*.so
2778 %if %{with litespeed}
2780 %defattr(644,root,root,755)
2781 %attr(755,root,root) %{_sbindir}/%{name}.litespeed
2786 %defattr(644,root,root,755)
2787 %dir %{_sysconfdir}/cgi-fcgi.d
2788 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2789 %attr(755,root,root) %{_bindir}/%{name}.cgi
2790 %attr(755,root,root) %{_bindir}/%{name}.fcgi
2795 %defattr(644,root,root,755)
2796 %attr(755,root,root) %{_libdir}/libphp5-%{version}.so
2800 %defattr(644,root,root,755)
2801 %dir %{_sysconfdir}/cli.d
2802 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2803 %attr(755,root,root) %{_bindir}/php%{ver_suffix}
2804 %{_mandir}/man1/php%{ver_suffix}.1*
2807 %defattr(644,root,root,755)
2808 %attr(755,root,root) %{_bindir}/php
2809 %{_mandir}/man1/php.1*
2813 %defattr(644,root,root,755)
2814 %doc sapi/fpm/{CREDITS,LICENSE}
2815 %dir %{_sysconfdir}/fpm.d
2816 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
2817 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.d/www.conf
2818 %attr(755,root,root) %{_sbindir}/%{name}-fpm
2819 %{_mandir}/man8/%{name}-fpm.8*
2820 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
2821 %attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
2825 %defattr(644,root,root,755)
2826 %attr(755,root,root) %{_bindir}/phpdbg
2829 %defattr(644,root,root,755)
2830 %doc CREDITS EXTENSIONS LICENSE NEWS README.namespaces UPGRADING* Zend/{LICENSE.Zend,ZEND_CHANGES} php.ini-*
2832 %dir %{_sysconfdir}/conf.d
2833 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2834 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2835 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2836 %dir %{php_extensiondir}
2838 %doc ext/session/mod_files.sh
2841 %defattr(644,root,root,755)
2842 %doc CODING_STANDARDS README.{EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
2843 %attr(755,root,root) %{_bindir}/phpize
2844 %attr(755,root,root) %{_bindir}/php-config
2845 %attr(755,root,root) %{_libdir}/libphp_common.so
2846 %{_libdir}/libphp_common.la
2848 %{_libdir}/%{name}/build
2849 %{_mandir}/man1/php-config.1*
2850 %{_mandir}/man1/phpize.1*
2853 %{_libdir}/libphp5.so
2854 %{_libdir}/libphp5.la
2858 %defattr(644,root,root,755)
2859 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2860 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2863 %defattr(644,root,root,755)
2864 %doc ext/bz2/CREDITS
2865 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2866 %attr(755,root,root) %{php_extensiondir}/bz2.so
2869 %defattr(644,root,root,755)
2870 %doc ext/calendar/CREDITS
2871 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2872 %attr(755,root,root) %{php_extensiondir}/calendar.so
2875 %defattr(644,root,root,755)
2876 %doc ext/calendar/CREDITS
2877 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2878 %attr(755,root,root) %{php_extensiondir}/ctype.so
2882 %defattr(644,root,root,755)
2883 %doc ext/curl/CREDITS
2884 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2885 %attr(755,root,root) %{php_extensiondir}/curl.so
2889 %defattr(644,root,root,755)
2890 %doc ext/dba/{CREDITS,README}
2891 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2892 %attr(755,root,root) %{php_extensiondir}/dba.so
2895 %defattr(644,root,root,755)
2896 %doc ext/dom/{CREDITS,TODO}
2897 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2898 %attr(755,root,root) %{php_extensiondir}/dom.so
2902 %defattr(644,root,root,755)
2903 %doc ext/enchant/{CREDITS,docs/examples}
2904 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/enchant.ini
2905 %attr(755,root,root) %{php_extensiondir}/enchant.so
2909 %defattr(644,root,root,755)
2910 %doc ext/exif/CREDITS
2911 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2912 %attr(755,root,root) %{php_extensiondir}/exif.so
2915 %defattr(644,root,root,755)
2916 %doc ext/fileinfo/CREDITS
2917 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
2918 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
2922 %defattr(644,root,root,755)
2923 %doc ext/filter/{CREDITS,docs/*}
2924 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2925 %attr(755,root,root) %{php_extensiondir}/filter.so
2929 %defattr(644,root,root,755)
2930 %doc ext/ftp/CREDITS
2931 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2932 %attr(755,root,root) %{php_extensiondir}/ftp.so
2935 %defattr(644,root,root,755)
2937 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2938 %attr(755,root,root) %{php_extensiondir}/gd.so
2941 %defattr(644,root,root,755)
2942 %doc ext/gettext/CREDITS
2943 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2944 %attr(755,root,root) %{php_extensiondir}/gettext.so
2947 %defattr(644,root,root,755)
2948 %doc ext/gmp/{CREDITS,README,TODO}
2949 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2950 %attr(755,root,root) %{php_extensiondir}/gmp.so
2953 %defattr(644,root,root,755)
2954 %doc ext/hash/{CREDITS,README}
2955 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2956 %attr(755,root,root) %{php_extensiondir}/hash.so
2959 %defattr(644,root,root,755)
2960 %doc ext/iconv/CREDITS
2961 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2962 %attr(755,root,root) %{php_extensiondir}/iconv.so
2966 %defattr(644,root,root,755)
2967 %doc ext/imap/CREDITS
2968 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2969 %attr(755,root,root) %{php_extensiondir}/imap.so
2972 %if %{with interbase}
2974 %defattr(644,root,root,755)
2975 %doc ext/interbase/CREDITS
2976 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2977 %attr(755,root,root) %{php_extensiondir}/interbase.so
2982 %defattr(644,root,root,755)
2983 %doc ext/intl/{CREDITS,TODO}
2984 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
2985 %attr(755,root,root) %{php_extensiondir}/intl.so
2989 %defattr(644,root,root,755)
2990 %doc ext/json/CREDITS
2991 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
2992 %attr(755,root,root) %{php_extensiondir}/json.so
2996 %defattr(644,root,root,755)
2997 %doc ext/ldap/CREDITS
2998 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2999 %attr(755,root,root) %{php_extensiondir}/ldap.so
3003 %defattr(644,root,root,755)
3004 %doc ext/mbstring/{CREDITS,README*}
3005 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
3006 %attr(755,root,root) %{php_extensiondir}/mbstring.so
3009 %defattr(644,root,root,755)
3010 %doc ext/mcrypt/{CREDITS,TODO}
3011 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
3012 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
3016 %defattr(644,root,root,755)
3017 %doc ext/mssql/CREDITS
3018 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
3019 %attr(755,root,root) %{php_extensiondir}/mssql.so
3023 %defattr(644,root,root,755)
3024 %doc ext/mysql/CREDITS
3025 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
3026 %attr(755,root,root) %{php_extensiondir}/mysql.so
3030 %defattr(644,root,root,755)
3031 %doc ext/mysqli/{CREDITS,TODO}
3032 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
3033 %attr(755,root,root) %{php_extensiondir}/mysqli.so
3038 %defattr(644,root,root,755)
3039 %doc ext/mysqlnd/CREDITS
3040 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
3041 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
3046 %defattr(644,root,root,755)
3047 %doc ext/oci8/{CREDITS,README}
3048 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
3049 %attr(755,root,root) %{php_extensiondir}/oci8.so
3054 %defattr(644,root,root,755)
3055 %doc ext/odbc/CREDITS
3056 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
3057 %attr(755,root,root) %{php_extensiondir}/odbc.so
3062 %defattr(644,root,root,755)
3063 %doc ext/opcache/README
3064 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/opcache.ini
3065 %attr(755,root,root) %{php_extensiondir}/opcache.so
3070 %defattr(644,root,root,755)
3071 %doc ext/openssl/{CREDITS,README}
3072 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
3073 %attr(755,root,root) %{php_extensiondir}/openssl.so
3077 %defattr(644,root,root,755)
3078 %doc ext/pcntl/{CREDITS,README}
3079 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
3080 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3084 %defattr(644,root,root,755)
3085 %doc ext/pcre/CREDITS
3086 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
3087 %attr(755,root,root) %{php_extensiondir}/pcre.so
3091 %defattr(644,root,root,755)
3092 %doc ext/pdo/{CREDITS,README,TODO}
3093 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
3094 %attr(755,root,root) %{php_extensiondir}/pdo.so
3096 %if %{with mssql} || %{with sybase_ct}
3098 %defattr(644,root,root,755)
3099 %doc ext/pdo_dblib/{CREDITS,README}
3100 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
3101 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3104 %if %{with interbase} && !%{with interbase_inst}
3106 %defattr(644,root,root,755)
3107 %doc ext/pdo_firebird/CREDITS
3108 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
3109 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3113 %defattr(644,root,root,755)
3114 %doc ext/pdo_mysql/CREDITS
3115 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
3116 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3120 %defattr(644,root,root,755)
3121 %doc ext/pdo_oci/CREDITS
3122 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
3123 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3128 %defattr(644,root,root,755)
3129 %doc ext/pdo_odbc/CREDITS
3130 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3131 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3136 %defattr(644,root,root,755)
3137 %doc ext/pdo_pgsql/CREDITS
3138 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3139 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3142 %if %{with pdo_sqlite}
3144 %defattr(644,root,root,755)
3145 %doc ext/pdo_sqlite/CREDITS
3146 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3147 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3152 %defattr(644,root,root,755)
3153 %doc ext/pgsql/{CREDITS,README}
3154 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3155 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3160 %defattr(644,root,root,755)
3161 %doc ext/phar/{CREDITS,TODO}
3162 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
3163 %attr(755,root,root) %{php_extensiondir}/phar.so
3164 %attr(755,root,root) %{_bindir}/phar
3165 %attr(755,root,root) %{_bindir}/phar.phar
3166 %{_mandir}/man1/phar.1*
3167 %{_mandir}/man1/phar.phar.1
3171 %defattr(644,root,root,755)
3172 %doc ext/posix/CREDITS
3173 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3174 %attr(755,root,root) %{php_extensiondir}/posix.so
3178 %defattr(644,root,root,755)
3179 %doc ext/pspell/{CREDITS,README}
3180 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3181 %attr(755,root,root) %{php_extensiondir}/pspell.so
3185 %defattr(644,root,root,755)
3186 %doc ext/readline/{CREDITS,README*}
3187 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3188 %attr(755,root,root) %{php_extensiondir}/readline.so
3192 %defattr(644,root,root,755)
3193 %doc ext/recode/CREDITS
3194 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3195 %attr(755,root,root) %{php_extensiondir}/recode.so
3199 %defattr(644,root,root,755)
3200 %doc ext/session/CREDITS
3201 %doc ext/session/mod_files.sh
3202 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3203 %attr(755,root,root) %{php_extensiondir}/session.so
3206 %defattr(644,root,root,755)
3207 %doc ext/shmop/{CREDITS,README}
3208 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3209 %attr(755,root,root) %{php_extensiondir}/shmop.so
3212 %defattr(644,root,root,755)
3213 %doc ext/simplexml/{CREDITS,README}
3214 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3215 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3219 %defattr(644,root,root,755)
3220 %doc ext/snmp/CREDITS
3221 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3222 %attr(755,root,root) %{php_extensiondir}/snmp.so
3226 %defattr(644,root,root,755)
3227 %doc ext/soap/{CREDITS,TODO*}
3228 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3229 %attr(755,root,root) %{php_extensiondir}/soap.so
3232 %defattr(644,root,root,755)
3233 %doc ext/sockets/CREDITS
3234 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3235 %attr(755,root,root) %{php_extensiondir}/sockets.so
3238 %defattr(644,root,root,755)
3239 %doc ext/spl/{CREDITS,README,TODO,examples}
3240 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3241 %attr(755,root,root) %{php_extensiondir}/spl.so
3245 %defattr(644,root,root,755)
3246 %doc ext/sqlite3/CREDITS
3247 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3248 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3251 %if %{with sybase_ct}
3253 %defattr(644,root,root,755)
3254 %doc ext/sybase_ct/CREDITS
3255 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3256 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
3260 %defattr(644,root,root,755)
3261 %doc ext/sysvmsg/CREDITS
3262 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3263 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3266 %defattr(644,root,root,755)
3267 %doc ext/sysvsem/CREDITS
3268 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3269 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3272 %defattr(644,root,root,755)
3273 %doc ext/sysvshm/CREDITS
3274 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3275 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3278 %defattr(644,root,root,755)
3279 %dir %{php_data_dir}/tests
3280 %dir %{php_data_dir}/tests/php
3281 %{php_data_dir}/tests/php/basic
3282 %{php_data_dir}/tests/php/classes
3283 %{php_data_dir}/tests/php/func
3284 %{php_data_dir}/tests/php/lang
3285 %{php_data_dir}/tests/php/output
3286 %{php_data_dir}/tests/php/run-test
3287 %{php_data_dir}/tests/php/security
3288 %{php_data_dir}/tests/php/strings
3289 %{php_data_dir}/tests/php/quicktester.inc
3290 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3294 %defattr(644,root,root,755)
3295 %doc ext/tidy/{CREDITS,README}
3296 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3297 %attr(755,root,root) %{php_extensiondir}/tidy.so
3301 %defattr(644,root,root,755)
3302 %doc ext/tokenizer/CREDITS
3303 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3304 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3308 %defattr(644,root,root,755)
3309 %doc ext/wddx/CREDITS
3310 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3311 %attr(755,root,root) %{php_extensiondir}/wddx.so
3315 %defattr(644,root,root,755)
3316 %doc ext/xml/CREDITS
3317 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3318 %attr(755,root,root) %{php_extensiondir}/xml.so
3321 %defattr(644,root,root,755)
3322 %doc ext/xmlreader/{CREDITS,README,TODO,examples}
3323 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3324 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3328 %defattr(644,root,root,755)
3329 %doc ext/xmlrpc/CREDITS
3330 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3331 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3335 %defattr(644,root,root,755)
3336 %doc ext/xmlwriter/{CREDITS,TODO}
3337 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3338 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3341 %defattr(644,root,root,755)
3342 %doc ext/xsl/CREDITS
3343 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3344 %attr(755,root,root) %{php_extensiondir}/xsl.so
3347 %defattr(644,root,root,755)
3348 %doc ext/zip/{CREDITS,TODO}
3349 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3350 %attr(755,root,root) %{php_extensiondir}/zip.so
3353 %defattr(644,root,root,755)
3354 %doc ext/zlib/CREDITS
3355 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3356 %attr(755,root,root) %{php_extensiondir}/zlib.so