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 oci # with Oracle oci8 extension module (BR: proprietary libs)
49 %bcond_without 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_with 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_without embed # disable Embedded API
91 %bcond_without phpdbg # disable phpdbg SAPI
92 %bcond_with milter # disable Milter SAPI
93 %bcond_with suhosin # with suhosin patch, has little point in PHP>=5.3, see https://github.com/stefanesser/suhosin/issues/42#issuecomment-41728178
94 %bcond_with tests # default off; test process very often hangs on builders, approx run time 45m; perform "make test"
95 %bcond_with gcov # Enable Code coverage reporting
96 %bcond_with type_hints # experimental support for strict typing/casting
98 %define apxs1 /usr/sbin/apxs1
99 %define apxs2 /usr/sbin/apxs
103 %undefine with_apache1
104 %undefine with_apache2
106 %undefine with_litespeed
109 # mm is not thread safe
114 # milter requires ZTS
115 %if %{with milter} && %{without zts}
116 %undefine with_milter
119 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha
120 # ppc disabled (broken on th-ppc)
121 %undefine with_interbase
124 %ifnarch %{ix86} %{x8664}
125 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
130 %if %{without apache1} && %{without apache2}
131 ERROR: You need to select at least one Apache SAPI to build shared modules.
135 # filter depends on pcre
137 %undefine with_filter
142 %define ver_suffix 56
143 %define php_suffix %{!?with_default_php:%{ver_suffix}}
144 Summary: PHP: Hypertext Preprocessor
145 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
146 Summary(pl.UTF-8): Język skryptowy PHP
147 Summary(pt_BR.UTF-8): A linguagem de script PHP
148 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
149 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
150 Name: %{orgname}%{php_suffix}
152 Release: %{rel}%{?with_type_hints:.th}
156 Source0: http://www.php.net/distributions/%{orgname}-%{version}.tar.xz
157 # Source0-md5: 642825d75ce2634d9513d5b21dbee521
158 Source2: %{orgname}-mod_%{orgname}.conf
159 Source3: %{orgname}-cgi-fcgi.ini
160 Source4: %{orgname}-apache.ini
161 Source5: %{orgname}-cli.ini
162 # Taken from: http://browsers.garykeith.com/downloads.asp
163 Source9: %{orgname}_browscap.ini
164 Source10: %{orgname}-fpm.init
165 Source11: %{orgname}-fpm.logrotate
166 Source12: %{orgname}-branch.sh
167 Source13: dep-tests.sh
168 Source14: skip-tests.sh
169 Patch0: %{orgname}-shared.patch
170 Patch1: %{orgname}-pldlogo.patch
171 Patch2: %{orgname}-mail.patch
172 Patch3: %{orgname}-link-libs.patch
173 Patch4: %{orgname}-libpq_fs_h_path.patch
174 Patch5: %{orgname}-filter-shared.patch
175 Patch6: %{orgname}-build_modules.patch
176 Patch7: %{orgname}-sapi-ini-file.patch
178 Patch9: libtool-tag.patch
179 Patch10: %{orgname}-ini.patch
181 %if %{with type_hints}
182 Patch12: http://ilia.ws/patch/type_hint_53_v2.txt
184 Patch14: %{orgname}-no_pear_install.patch
185 #Patch15: %{orgname}-zlib.patch # no longer needed?
186 Patch17: %{orgname}-readline.patch
187 Patch18: %{orgname}-nohttpd.patch
188 Patch19: %{orgname}-gd_imagerotate_enable.patch
189 Patch20: %{orgname}-uint32_t.patch
190 Patch21: %{orgname}-dba-link.patch
191 Patch22: %{orgname}-both-apxs.patch
192 Patch23: %{orgname}-builddir.patch
193 Patch24: %{orgname}-zlib-for-getimagesize.patch
194 Patch25: %{orgname}-stupidapache_version.patch
195 Patch26: %{orgname}-pear.patch
196 Patch27: %{orgname}-config-dir.patch
197 Patch29: %{orgname}-fcgi-graceful.patch
198 Patch31: %{orgname}-fcgi-error_log-no-newlines.patch
199 #Patch32: %{orgname}-curl-limit-speed.patch # applied upstream
200 Patch34: %{orgname}-libtool.patch
201 Patch35: %{orgname}-tds.patch
202 Patch36: %{orgname}-mysql-charsetphpini.patch
203 Patch37: %{orgname}-mysqli-charsetphpini.patch
204 Patch38: %{orgname}-pdo_mysql-charsetphpini.patch
205 Patch39: %{orgname}-use-prog_sendmail.patch
206 Patch41: %{orgname}-fpm-config.patch
207 Patch42: %{orgname}-fpm-shared.patch
208 Patch43: %{orgname}-silent-session-cleanup.patch
209 Patch44: %{orgname}-include_path.patch
210 Patch45: %{orgname}-imap-annotations.patch
211 Patch46: %{orgname}-imap-myrights.patch
212 Patch47: suhosin.patch
213 #Patch49: %{orgname}-m4-divert.patch # no longer needed, upstream supports new ac
214 Patch50: extension-shared-optional-dep.patch
215 Patch51: spl-shared.patch
216 Patch52: pcre-shared.patch
217 Patch53: fix-test-run.patch
218 #Patch54: mysqlnd-shared.patch # shared build supported upstream
219 Patch55: bug-52078-fileinode.patch
220 #Patch57: bug-52448.patch # outdated
221 Patch59: %{orgname}-systzdata.patch
222 Patch60: %{orgname}-oracle-instantclient.patch
223 #Patch61: %{orgname}-krb5-ac.patch # not needed on 5.4 anymore
224 Patch62: mcrypt-libs.patch
225 Patch63: %{orgname}-mysql-nowarning.patch
226 #Patch64: %{orgname}-m4.patch # not needed on 5.4 branch
227 Patch65: system-libzip.patch
228 Patch66: php-db.patch
229 Patch67: mysql-lib-ver-mismatch.patch
230 Patch69: fpm-conf-split.patch
231 URL: http://www.php.net/
232 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
233 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
234 BuildRequires: autoconf >= 2.59
235 BuildRequires: automake >= 1.4d
237 BuildRequires: bzip2-devel
238 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
239 BuildRequires: cyrus-sasl-devel
240 BuildRequires: db-devel >= 4.0
241 BuildRequires: elfutils-devel
242 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
243 #BuildRequires: fcgi-devel
244 %{?with_kerberos5:BuildRequires: heimdal-devel}
245 %{?with_system_libzip:BuildRequires: libzip-devel >= 0.10.1-2}
246 %{!?with_mysqlnd:BuildRequires: mysql-devel}
247 BuildRequires: pkgconfig
248 BuildRequires: sed >= 4.0
249 %if %{with mssql} || %{with sybase_ct}
250 BuildRequires: freetds-devel >= 0.82
252 BuildRequires: freetype-devel >= 2.5.1
253 %if %{with system_gd}
254 BuildRequires: gd-devel >= 2.1
256 BuildRequires: gdbm-devel
257 BuildRequires: gmp-devel
258 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
259 %{?with_intl:BuildRequires: libicu-devel >= 4.4}
260 BuildRequires: libjpeg-devel
261 BuildRequires: libltdl-devel >= 1.4
262 BuildRequires: libmcrypt-devel >= 2.4.4
263 BuildRequires: libpng-devel >= 1.0.8
264 #BuildRequires: libtiff-devel
265 %{?with_webp:BuildRequires: libvpx-devel}
266 BuildRequires: tokyocabinet-devel
267 %if "%{pld_release}" != "ac"
268 BuildRequires: libtool >= 2:2.2
270 BuildRequires: libtool >= 1.4.3
272 #BuildRequires: libwrap-devel
273 BuildRequires: libxml2-devel >= 1:2.7.6-4
274 BuildRequires: libxslt-devel >= 1.1.0
275 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
276 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
277 %if %{with openssl} || %{with ldap}
278 BuildRequires: openssl-devel >= 0.9.7d
280 %{?with_gcov:BuildRequires: lcov}
281 %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
282 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
283 %{?with_oci:%{?with_instantclient:BuildRequires: oracle-instantclient-devel}}
284 BuildRequires: pam-devel
285 %{?with_pcre:BuildRequires: pcre-devel >= 8.10}
286 BuildRequires: pkgconfig
287 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
288 %{?with_pgsql:BuildRequires: postgresql-devel}
289 BuildRequires: readline-devel
290 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
291 BuildRequires: rpm >= 4.4.9-56
292 BuildRequires: rpm-build >= 4.4.0
293 BuildRequires: rpmbuild(macros) >= 1.566
294 BuildRequires: tar >= 1:1.22
296 %if %{with sqlite3} || %{with pdo_sqlite}
297 BuildRequires: sqlite3-devel >= 3.3.9
299 BuildRequires: t1lib-devel
300 %{?with_tidy:BuildRequires: tidy-devel}
301 %{?with_odbc:BuildRequires: unixODBC-devel}
302 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
303 BuildRequires: zlib-devel >= 1.0.9
305 BuildRequires: apache1-devel
308 BuildRequires: apache-devel >= 2.0.52-2
309 BuildRequires: apr-devel >= 1:1.0.0
310 BuildRequires: apr-util-devel >= 1:1.0.0
313 #BuildRequires: judy-devel
315 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
317 %define php_sysconfdir /etc/%{name}
318 %define php_extensiondir %{_libdir}/%{name}
319 %define _sysconfdir %{php_sysconfdir}
321 # must be in sync with source. extra check ensuring that it is so is done in %%build
322 %define php_api_version 20131106
323 %define zend_module_api 20131226
324 %define zend_extension_api 220131226
328 %define enchantver 1.1.0
329 %define fileinfover 1.0.5
331 %define intlver 1.1.0
332 %define jsonver 1.2.1
333 %define opcachever 7.0.4-dev
334 %define pharver 2.0.2
335 %define sqlite3ver 0.7-dev
336 %define zipver 1.12.4
337 %define phpdbgver 0.4.0
339 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
340 %define php_debug %{!?debug:0}%{?debug:1}
343 %undefine with_ccache
347 # ORACLE_HOME is required for oci8 ext to build
348 %define _preserve_env %_preserve_env_base ORACLE_HOME
352 PHP is an HTML-embedded scripting language. PHP attempts to make it
353 easy for developers to write dynamically generated web pages. PHP also
354 offers built-in database integration for several commercial and
355 non-commercial database management systems, so writing a
356 database-enabled web page with PHP is fairly simple. The most common
357 use of PHP coding is probably as a replacement for CGI scripts. The
358 mod_php module enables the Apache web server to understand and process
359 the embedded PHP language in web pages. This package contains PHP
362 %description -l fr.UTF-8
363 PHP est un langage de script embarque dans le HTM. PHP essaye de
364 rendre simple aux developpeurs d'ecrire des pages web generees
365 dynamiquement. PHP incorpore egalement une integration avec plusieurs
366 systemes de gestion de bases de donnees commerciaux et
367 non-connerciaux, qui rent facile la creation de pages web liees avec
368 des bases de donnees. L'utilisation la plus commune de PHP est
369 probablement en remplacement de scripts CGI. Le module mod_php permet
370 au serveur web Apache de comprendre et de traiter le langage PHP
371 integre dans des pages web. Ce package contient PHP version
374 %description -l pl.UTF-8
375 PHP jest językiem skryptowym, którego polecenia umieszcza się w
376 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
377 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
378 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
379 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
380 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
381 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
382 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
385 %description -l pt_BR.UTF-8
386 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
387 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
388 com algumas características únicas, específicas ao PHP. O objetivo da
389 linguagem é permitir que desenvolvedores web escrevam páginas
390 dinamicamente geradas de forma rápida.
392 %description -l ru.UTF-8
393 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
394 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
395 для работы с базами данных относительно просто. Наиболее популярное
396 использование PHP - замена для CGI скриптов.
398 %description -l uk.UTF-8
399 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
400 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
401 роботи з базами даних є доволі простим. Найбільш популярне
402 використання PHP - заміна для CGI скриптів.
404 %package -n apache1-mod_%{name}
405 Summary: PHP DSO module for Apache 1.3.x
406 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x
407 Group: Development/Languages/PHP
408 Requires(triggerpostun): sed >= 4.0
409 Requires: %{name}-common = %{epoch}:%{version}-%{release}
410 Requires: apache1(EAPI) >= 1.3.33-2
411 Requires: apache1-mod_mime
412 Provides: webserver(php) = %{version}
413 Obsoletes: apache-mod_php < 1:4.1.1
416 %description -n apache1-mod_%{name}
417 PHP as DSO module for Apache 1.3.x.
419 %description -n apache1-mod_%{name} -l pl.UTF-8
420 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x.
422 %package -n apache-mod_%{name}
423 Summary: PHP DSO module for Apache 2.x
424 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
425 Group: Development/Languages/PHP
426 Requires: %{name}-common = %{epoch}:%{version}-%{release}
427 Requires: apache(modules-api) = %{apache_modules_api}
428 Requires: apache-mod_mime
429 Provides: webserver(php) = %{version}
432 %description -n apache-mod_%{name}
433 PHP as DSO module for Apache 2.x.
435 %description -n apache-mod_%{name} -l pl.UTF-8
436 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
439 Summary: PHP for litespeed HTTP server
440 Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
441 Group: Development/Languages/PHP
442 Requires: %{name}-common = %{epoch}:%{version}-%{release}
443 Provides: php(litespeed)
444 Provides: webserver(php) = %{version}
446 %description litespeed
447 PHP for litespeed HTTP server.
449 %description litespeed -l pl.UTF-8
450 PHP dla serwera HTTP litespeed.
453 Summary: PHP as CGI/FastCGI program
454 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
455 Group: Development/Languages/PHP
456 Requires: %{name}-common = %{epoch}:%{version}-%{release}
457 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
460 Provides: webserver(php) = %{version}
461 Obsoletes: php-fcgi < 4:5.3.0
462 %if "%{pld_release}" != "ac"
463 Conflicts: logrotate < 3.8.0
467 PHP as CGI or FastCGI program.
469 %description cgi -l pl.UTF-8
470 PHP jako program CGI lub FastCGI.
473 Summary: PHP as CLI interpreter
474 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
475 Group: Development/Languages/PHP
476 Requires: %{name}-common = %{epoch}:%{version}-%{release}
479 PHP as CLI interpreter.
481 %description cli -l pl.UTF-8
482 PHP jako interpreter działający z linii poleceń.
485 Summary: PHP library for embedding in applications
486 Summary(pl.UTF-8): Biblioteka PHP do osadzania w aplikacjach
488 Requires: %{name}-common = %{epoch}:%{version}-%{release}
490 %description embedded
491 The php-embedded package contains a library which can be embedded into
492 applications to provide PHP scripting language support.
494 %description embedded -l pl.UTF-8
495 Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
496 celu obsługi PHP jako języka skryptowego.
499 Summary: /usr/bin/php symlink
500 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
501 Group: Development/Languages/PHP
502 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
503 Obsoletes: /usr/bin/php
506 Package providing /usr/bin/php symlink to PHP CLI.
508 %description program -l pl.UTF-8
509 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
512 Summary: PHP FastCGI Process Manager
513 Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
514 Group: Development/Languages/PHP
515 URL: http://www.php-fpm.org/
516 Requires(post,preun): /sbin/chkconfig
517 Requires(postun): /usr/sbin/userdel
518 Requires(pre): /bin/id
519 Requires(pre): /usr/sbin/useradd
520 Requires: %{name}-common = %{epoch}:%{version}-%{release}
524 Provides: webserver(php) = %{version}
527 PHP FastCGI Process Manager.
529 %description fpm -l pl.UTF-8
530 PHP FastCGI Process Manager - zarządca procesów FastCGI.
533 Summary: The debugging platform for PHP 5.4+
534 Group: Development/Languages/PHP
535 Requires: %{name}-common = %{epoch}:%{version}-%{release}
536 Provides: php(phpdbg) = %{phpdbgver}
539 phpdbg - The interactive PHP debugger.
541 Implemented as a SAPI module, phpdbg can excert complete control over
542 the environment without impacting the functionality or performance of
545 phpdbg aims to be a lightweight, powerful, easy to use debugging
546 platform for PHP 5.4+
549 Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
550 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
551 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
552 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
554 Requires(post): sed >= 4.0
555 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
556 Requires: glibc >= 6:2.3.5
557 Requires: php-dirs >= 1.4
558 Requires: rpm-whiteout >= 1.28
560 Provides: %{name}(debug) = %{php_debug}
561 Provides: %{name}(modules_api) = %{php_api_version}
562 Provides: %{name}(thread-safety) = %{zend_zts}
563 Provides: %{name}(zend_extension_api) = %{zend_extension_api}
564 Provides: %{name}(zend_module_api) = %{zend_module_api}
565 Provides: %{name}-core
566 Provides: %{name}-date
567 Provides: %{name}-ereg
568 Provides: %{name}-reflection
569 Provides: %{name}-standard
570 Provides: php(core) = %{version}
573 Provides: php(libxml)
574 Provides: php(reflection)
575 Provides: php(standard)
576 %{!?with_mysqlnd:Obsoletes: php-mysqlnd}
577 %{?with_pcre:%requires_ge_to pcre pcre-devel}
578 Obsoletes: php-pecl-domxml
579 Conflicts: php4-common < 3:4.4.4-8
580 Conflicts: php55-common < 4:5.5.10-4
581 Conflicts: rpm < 4.4.2-0.2
584 Common files needed by both Apache modules and CGI/CLI SAPIs.
586 %description common -l pl.UTF-8
587 Wspólne pliki dla modułu Apache'a i programu CGI.
589 %description common -l ru.UTF-8
590 Этот пакет содержит общие файлы для разных вариантов реализации PHP
591 (самодостаточной и в качестве модуля Apache).
593 %description common -l uk.UTF-8
594 Цей пакет містить спільні файли для різних варіантів реалізації PHP
595 (самодостатньої та в якості модуля Apache).
598 Summary: Files for PHP modules development
599 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
600 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
601 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
602 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
603 Group: Development/Languages/PHP
604 Requires: %{name}-common = %{epoch}:%{version}-%{release}
605 Requires: autoconf >= 2.13
607 %if "%{pld_release}" != "ac"
608 Requires: libtool >= 2:2.2
612 %{?with_pcre:Requires: pcre-devel >= 8.10}
615 Obsoletes: php-pear-devel
616 Obsoletes: php4-devel
617 Obsoletes: php52-devel
618 Obsoletes: php54-devel
621 The php-devel package lets you compile dynamic extensions to PHP.
622 Included here is the source for the PHP extensions. Instead of
623 recompiling the whole PHP binary to add support for, say, oracle,
624 install this package and use the new self-contained extensions
625 support. For more information, read the file
626 README.SELF-CONTAINED-EXTENSIONS.
628 %description devel -l pl.UTF-8
629 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
630 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
631 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
632 samodzielnych rozszerzeniach można znaleźć w pliku
633 README.SELF-CONTAINED-EXTENSIONS.
635 %description devel -l pt_BR.UTF-8
636 Este pacote contém arquivos usados no desenvolvimento de programas ou
639 %description devel -l ru.UTF-8
640 Пакет php-devel дает возможность компилировать динамические расширения
641 PHP. Пакет включает исходный код этих расширений. Вместо повторной
642 компиляции бинарного файла PHP для добавления, например, поддержки
643 oracle, установите этот пакет для компилирования отдельных расширений.
644 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
646 %description devel -l uk.UTF-8
647 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
648 До пакету включено вихідний код для розширень. Замість повторної
649 компіляції бінарного файлу PHP для додання, наприклад, підтримки
650 oracle, встановіть цей пакет для компіляції окремих розширень.
651 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
654 Summary: bcmath extension module for PHP
655 Summary(pl.UTF-8): Moduł bcmath dla PHP
657 URL: http://www.php.net/manual/en/book.bc.php
658 Requires: %{name}-common = %{epoch}:%{version}-%{release}
659 Provides: php(bcmath)
662 This is a dynamic shared object (DSO) for PHP that will add bc style
663 precision math functions support.
665 %description bcmath -l pl.UTF-8
666 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
667 matematycznych takich jak w programie bc.
670 Summary: Bzip2 extension module for PHP
671 Summary(pl.UTF-8): Moduł bzip2 dla PHP
673 URL: http://www.php.net/manual/en/book.bzip2.php
674 Requires: %{name}-common = %{epoch}:%{version}-%{release}
675 Provides: php(bz2) = %{bz2ver}
677 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
678 Obsoletes: php-bzip2 < 4:5.2.14-3
679 Obsoletes: php-pecl-bz2 < %{bz2ver}
682 This is a dynamic shared object (DSO) for PHP that will add bzip2
683 compression support to PHP.
685 %description bz2 -l pl.UTF-8
686 Moduł PHP umożliwiający używanie kompresji bzip2.
689 Summary: Calendar extension module for PHP
690 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
692 URL: http://www.php.net/manual/en/book.calendar.php
693 Requires: %{name}-common = %{epoch}:%{version}-%{release}
694 Provides: php(calendar)
696 %description calendar
697 This is a dynamic shared object (DSO) for PHP that will add calendar
700 %description calendar -l pl.UTF-8
701 Moduł PHP dodający wsparcie dla kalendarza.
704 Summary: ctype extension module for PHP
705 Summary(pl.UTF-8): Moduł ctype dla PHP
707 URL: http://www.php.net/manual/en/book.ctype.php
708 Requires: %{name}-common = %{epoch}:%{version}-%{release}
712 This is a dynamic shared object (DSO) for PHP that will add ctype
715 %description ctype -l pl.UTF-8
716 Moduł PHP umożliwiający korzystanie z funkcji ctype.
719 Summary: curl extension module for PHP
720 Summary(pl.UTF-8): Moduł curl dla PHP
722 URL: http://www.php.net/manual/en/book.curl.php
723 Requires: %{name}-common = %{epoch}:%{version}-%{release}
727 This is a dynamic shared object (DSO) for PHP that will add curl
730 %description curl -l pl.UTF-8
731 Moduł PHP umożliwiający korzystanie z biblioteki curl.
734 Summary: DBA extension module for PHP
735 Summary(pl.UTF-8): Moduł DBA dla PHP
737 URL: http://www.php.net/manual/en/book.dba.php
738 Requires: %{name}-common = %{epoch}:%{version}-%{release}
742 This is a dynamic shared object (DSO) for PHP that will add flat-file
743 databases (DBA) support.
745 %description dba -l pl.UTF-8
746 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
750 Summary: DOM extension module for PHP
751 Summary(pl.UTF-8): Moduł DOM dla PHP
753 URL: http://www.php.net/manual/en/book.dom.php
754 Requires: %{name}-common = %{epoch}:%{version}-%{release}
756 # it has some compatibility functions
757 Provides: %{name}-domxml = %{epoch}:%{version}-%{release}
758 Provides: php(domxml)
759 Obsoletes: php-domxml <= 3:4.3.8-1
762 This is a dynamic shared object (DSO) for PHP that will add new DOM
765 %description dom -l pl.UTF-8
766 Moduł PHP dodający nową obsługę DOM.
769 Summary: libenchant binder
770 Summary(pl.UTF-8): dowiązania biblioteki libenchant
772 URL: http://www.php.net/manual/en/book.exif.php
773 Requires: %{name}-common = %{epoch}:%{version}-%{release}
774 Provides: php(enchant) = %{enchantver}
775 Obsoletes: php-pecl-enchant < %{enchantver}
778 Enchant is a binder for libenchant. Libenchant provides a common API
779 for many spell libraries:
780 - aspell/pspell (intended to replace ispell)
783 - myspell (OpenOffice.org project, mozilla)
784 - uspell (primarily Yiddish, Hebrew, and Eastern European languages) A
785 plugin system allows to add custom spell support.
787 %description enchant -l pl.UTF-8
788 Enchant jest dowiązaniem do biblioteki libenchant, która udostępnia
789 ujednolicone API dla wielu narzędzi sprawdzających pisownię:
790 - aspell/pspell (w zamierzeniu ma zastąpić ispell)
793 - myspell (projekt OpenOffice.org, mozilla)
794 - uspell (głównie Jidysz, Hebrajski oraz języki wschodnioeuropejskie)
795 System wtyczek pozwala na dodanie wsparcia dla kolejnych narzędzi.
798 Summary: exif extension module for PHP
799 Summary(pl.UTF-8): Moduł exif dla PHP
801 URL: http://www.php.net/manual/en/book.exif.php
802 Requires: %{name}-common = %{epoch}:%{version}-%{release}
806 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
807 support in image files.
809 %description exif -l pl.UTF-8
810 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
813 Summary: libmagic bindings
814 Summary(pl.UTF-8): Wiązania do libmagic
816 URL: http://www.php.net/manual/en/book.fileinfo.php
817 Requires: %{name}-common = %{epoch}:%{version}-%{release}
818 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
819 Provides: php(fileinfo) = %{fileinfover}
820 Obsoletes: php-mime_magic
821 Obsoletes: php-pecl-fileinfo < %{fileinfover}
823 %description fileinfo
824 This extension allows retrieval of information regarding vast majority
825 of file. This information may include dimensions, quality, length
828 Additionally it can also be used to retrieve the MIME type for a
829 particular file and for text files proper language encoding.
831 %description fileinfo -l pl.UTF-8
832 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
833 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
835 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
836 pliku oraz kodowania plików tekstowych.
839 Summary: Extension for safely dealing with input parameters
840 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
842 URL: http://www.php.net/manual/en/book.filter.php
843 Requires: %{name}-common = %{epoch}:%{version}-%{release}
844 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
845 Provides: php(filter)
846 Obsoletes: php-pecl-filter
849 We all know that you should always check input variables, but PHP does
850 not offer really good functionality for doing this in a safe way. The
851 Input Filter extension is meant to address this issue by implementing
852 a set of filters and mechanisms that users can use to safely access
855 %description filter -l pl.UTF-8
856 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
857 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
858 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
859 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
860 mogą bezpiecznie używać do dostępu do danych.
863 Summary: FTP extension module for PHP
864 Summary(pl.UTF-8): Moduł FTP dla PHP
866 URL: http://www.php.net/manual/en/book.ftp.php
867 Requires: %{name}-common = %{epoch}:%{version}-%{release}
871 This is a dynamic shared object (DSO) for PHP that will add FTP
874 %description ftp -l pl.UTF-8
875 Moduł PHP dodający obsługę protokołu FTP.
878 Summary: GD extension module for PHP
879 Summary(pl.UTF-8): Moduł GD dla PHP
881 URL: http://www.php.net/manual/en/book.image.php
882 Requires: %{name}-common = %{epoch}:%{version}-%{release}
883 %if %{with system_gd}
884 Requires: gd >= 2.0.28-4
886 Requires: gd(imagerotate) = 5.2.0
891 This is a dynamic shared object (DSO) for PHP that will add GD
892 support, allowing you to create and manipulate images with PHP.
894 %description gd -l pl.UTF-8
895 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
896 tworzenie i obróbkę obrazków.
899 Summary: gettext extension module for PHP
900 Summary(pl.UTF-8): Moduł gettext dla PHP
902 URL: http://www.php.net/manual/en/book.gettext.php
903 Requires: %{name}-common = %{epoch}:%{version}-%{release}
904 Provides: php(gettext)
907 This is a dynamic shared object (DSO) for PHP that will add gettext
910 %description gettext -l pl.UTF-8
911 Moduł PHP dodający obsługę lokalizacji przez gettext.
914 Summary: gmp extension module for PHP
915 Summary(pl.UTF-8): Moduł gmp dla PHP
917 URL: http://www.php.net/manual/en/book.gmp.php
918 Requires: %{name}-common = %{epoch}:%{version}-%{release}
922 This is a dynamic shared object (DSO) for PHP that will add arbitrary
923 length number support with GNU MP library.
925 %description gmp -l pl.UTF-8
926 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
927 liczbach o dowolnej długości.
930 Summary: HASH Message Digest Framework
931 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
933 URL: http://www.php.net/manual/en/book.gmp.php
934 Requires: %{name}-common = %{epoch}:%{version}-%{release}
935 Provides: php(hash) = %{hashver}
938 Provides: php-mhash = %{epoch}:%{version}-%{release}
939 Obsoletes: php-mhash < 4:5.3.0
941 Obsoletes: php-pecl-hash < %{hashver}
944 Native implementations of common message digest algorithms using a
945 generic factory method.
947 %description hash -l pl.UTF-8
948 Natywne implementacje popularnych algorytmów obliczania skrótów
949 wiadomości przy użyciu wspólnego interfejsu.
952 Summary: iconv extension module for PHP
953 Summary(pl.UTF-8): Moduł iconv dla PHP
955 URL: http://www.php.net/manual/en/book.iconv.php
956 Requires: %{_libdir}/gconv
957 Requires: %{name}-common = %{epoch}:%{version}-%{release}
962 This is a dynamic shared object (DSO) for PHP that will add iconv
965 %description iconv -l pl.UTF-8
966 Moduł PHP dodający obsługę iconv.
969 Summary: IMAP extension module for PHP
970 Summary(pl.UTF-8): Moduł IMAP dla PHP
971 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
973 URL: http://www.php.net/manual/en/book.imap.php
974 Requires: %{name}-common = %{epoch}:%{version}-%{release}
975 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
976 Requires: imap-lib >= 1:2007e-2
980 This is a dynamic shared object (DSO) for PHP that will add IMAP
983 %description imap -l pl.UTF-8
984 Moduł PHP dodający obsługę skrzynek IMAP.
986 %description imap -l pt_BR.UTF-8
987 Um módulo para aplicações PHP que usam IMAP.
990 Summary: InterBase/Firebird database module for PHP
991 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
993 URL: http://www.php.net/manual/en/book.ibase.php
994 Requires: %{name}-common = %{epoch}:%{version}-%{release}
995 Provides: php(interbase)
996 %{?with_interbase_inst:Autoreq: false}
998 %description interbase
999 This is a dynamic shared object (DSO) for PHP that will add InterBase
1000 and Firebird database support.
1002 %description interbase -l pl.UTF-8
1003 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
1006 Summary: Internationalization extension (ICU wrapper)
1007 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
1009 URL: http://www.php.net/intl
1010 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1011 Provides: php(intl) = %{intlver}
1012 Obsoletes: php-pecl-intl < %{intlver}
1015 Internationalization extension (further is referred as Intl) is a
1016 wrapper for ICU library, enabling PHP programmers to perform
1017 UCA-conformant collation and date/time/number/currency formatting in
1020 %description intl -l pl.UTF-8
1021 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
1022 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
1023 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
1027 Summary: PHP C extension for JSON serialization
1028 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
1030 URL: http://www.php.net/manual/en/book.json.php
1031 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1032 Provides: php(json) = %{jsonver}
1033 Obsoletes: php-pecl-json < %{jsonver}
1036 php-json is an extremely fast PHP C extension for JSON (JavaScript
1037 Object Notation) serialisation.
1039 %description json -l pl.UTF-8
1040 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
1041 (JavaScript Object Notation).
1044 Summary: LDAP extension module for PHP
1045 Summary(pl.UTF-8): Moduł LDAP dla PHP
1046 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
1048 URL: http://www.php.net/manual/en/book.ldap.php
1049 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1053 This is a dynamic shared object (DSO) for PHP that will add LDAP
1056 %description ldap -l pl.UTF-8
1057 Moduł PHP dodający obsługę LDAP.
1059 %description ldap -l pt_BR.UTF-8
1060 Um módulo para aplicações PHP que usam LDAP.
1063 Summary: mbstring extension module for PHP
1064 Summary(pl.UTF-8): Moduł mbstring dla PHP
1066 URL: http://www.php.net/manual/en/book.mbstring.php
1067 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1068 Provides: php(mbstring)
1070 %description mbstring
1071 This is a dynamic shared object (DSO) for PHP that will add multibyte
1074 %description mbstring -l pl.UTF-8
1075 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1078 Summary: mcrypt extension module for PHP
1079 Summary(pl.UTF-8): Moduł mcrypt dla PHP
1081 URL: http://www.php.net/manual/en/book.mcrypt.php
1082 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1083 Provides: php(mcrypt)
1086 This is a dynamic shared object (DSO) for PHP that will add mcrypt
1089 %description mcrypt -l pl.UTF-8
1090 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
1093 Summary: MS SQL extension module for PHP
1094 Summary(pl.UTF-8): Moduł MS SQL dla PHP
1096 URL: http://www.php.net/manual/en/book.mssql.php
1097 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1098 Provides: php(mssql)
1101 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1102 databases support through FreeTDS library.
1104 %description mssql -l pl.UTF-8
1105 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
1109 Summary: MySQL database module for PHP
1110 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
1111 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
1113 URL: http://www.php.net/manual/en/book.mysql.php
1114 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1115 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1116 Provides: php(mysql)
1119 This is a dynamic shared object (DSO) for PHP that will add MySQL
1122 %description mysql -l pl.UTF-8
1123 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
1125 %description mysql -l pt_BR.UTF-8
1126 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1129 Summary: MySQLi module for PHP
1130 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1132 URL: http://www.php.net/manual/en/book.mysqli.php
1133 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1134 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1135 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1136 Provides: php(mysqli)
1139 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1140 (Improved MySQL) support. The difference between it and mysql module
1141 is that it provides access to functionality of MySQL 4.1 and above.
1143 %description mysqli -l pl.UTF-8
1144 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1145 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1146 MySQL w wersji 4.1 i nowszych.
1149 Summary: MySQL Native Client Driver for PHP
1150 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1152 URL: http://www.php.net/manual/en/book.mysqlnd.php
1153 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1154 Provides: php(mysqlnd)
1156 %description mysqlnd
1157 MySQL Native Driver is a replacement for the MySQL Client Library
1160 Because MySQL Native Driver is written as a PHP extension, it is
1161 tightly coupled to the workings of PHP. This leads to gains in
1162 efficiency, especially when it comes to memory usage, as the driver
1163 uses the PHP memory management system. It also supports the PHP memory
1164 limit. Using MySQL Native Driver leads to comparable or better
1165 performance than using MySQL Client Library, it always ensures the
1166 most efficient use of memory. One example of the memory efficiency is
1167 the fact that when using the MySQL Client Library, each row is stored
1168 in memory twice, whereas with the MySQL Native Driver each row is only
1169 stored once in memory.
1171 %description mysqlnd -l pl.UTF-8
1172 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1173 klienckiej MySQL (libmysql).
1175 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1176 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1177 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1178 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1179 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1180 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1181 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1182 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1183 tym sterowniku - tylko raz.
1186 Summary: Oracle 8+ database module for PHP
1187 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1189 URL: http://www.php.net/manual/en/book.oci8.php
1190 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1195 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1196 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1198 %description oci8 -l pl.UTF-8
1199 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1200 poprzez interfejs Oracle8 Call-Interface (OCI8).
1203 Summary: ODBC extension module for PHP
1204 Summary(pl.UTF-8): Moduł ODBC dla PHP
1205 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1207 URL: http://www.php.net/manual/en/book.uodbc.php
1208 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1209 Requires: unixODBC >= 2.1.1-3
1213 This is a dynamic shared object (DSO) for PHP that will add ODBC
1216 %description odbc -l pl.UTF-8
1217 Moduł PHP ze wsparciem dla ODBC.
1219 %description odbc -l pt_BR.UTF-8
1220 Um módulo para aplicações PHP que usam ODBC.
1223 Summary: Zend Optimizer+ - PHP code optimizer
1225 URL: https://wiki.php.net/rfc/optimizerplus
1226 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1227 Provides: php(opcache) = %{opcachever}
1229 %description opcache
1230 The Zend OPcache provides faster PHP execution through opcode caching
1231 and optimization. It improves PHP performance by storing precompiled
1232 script bytecode in the shared memory. This eliminates the stages of
1233 reading code from the disk and compiling it on future access. In
1234 addition, it applies a few bytecode optimization patterns that make
1235 code execution faster.
1238 Summary: OpenSSL extension module for PHP
1239 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1241 URL: http://www.php.net/manual/en/book.openssl.php
1242 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1243 Provides: php(openssl)
1245 %description openssl
1246 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1249 %description openssl -l pl.UTF-8
1250 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1253 Summary: Process Control extension module for PHP
1254 Summary(pl.UTF-8): Moduł Process Control dla PHP
1256 URL: http://www.php.net/manual/en/book.pcntl.php
1257 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1258 Provides: php(pcntl)
1261 This is a dynamic shared object (DSO) for PHP that will add process
1262 spawning and control support. It supports functions like fork(),
1263 waitpid(), signal() etc.
1265 %description pcntl -l pl.UTF-8
1266 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1267 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1270 Summary: PCRE extension module for PHP
1271 Summary(pl.UTF-8): Moduł PCRE dla PHP
1273 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1277 This is a dynamic shared object (DSO) for PHP that will add Perl
1278 Compatible Regular Expression support.
1280 %description pcre -l pl.UTF-8
1281 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1282 (Perl Compatible Regular Expressions)
1285 Summary: PHP Data Objects (PDO)
1286 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1288 URL: http://www.php.net/manual/en/book.pdo.php
1289 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1290 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1292 Obsoletes: php-pecl-PDO
1295 This is a dynamic shared object (DSO) for PHP that will add PDO
1298 %description pdo -l pl.UTF-8
1299 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1302 Summary: PHP Data Objects (PDO) FreeTDS support
1303 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1305 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1306 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1307 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1308 Provides: php(dblib)
1310 %description pdo-dblib
1311 This is a dynamic shared object (DSO) for PHP that will add PDO
1314 %description pdo-dblib -l pl.UTF-8
1315 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1318 %package pdo-firebird
1319 Summary: PHP Data Objects (PDO) Firebird support
1320 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1322 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1323 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1324 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1325 Provides: php(pdo-firebird)
1326 Obsoletes: php-pecl-PDO_FIREBIRD
1328 %description pdo-firebird
1329 This is a dynamic shared object (DSO) for PHP that will add PDO
1332 %description pdo-firebird -l pl.UTF-8
1333 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1337 Summary: PHP Data Objects (PDO) MySQL support
1338 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1340 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1341 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1342 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1343 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1344 Provides: php(pdo-mysql)
1345 Obsoletes: php-pecl-PDO_MYSQL
1347 %description pdo-mysql
1348 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1351 %description pdo-mysql -l pl.UTF-8
1352 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1356 Summary: PHP Data Objects (PDO) Oracle support
1357 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1359 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1360 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1361 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1362 Provides: php(pdo-oci)
1363 Obsoletes: php-pecl-PDO_OCI
1365 %description pdo-oci
1366 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1369 %description pdo-oci -l pl.UTF-8
1370 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1374 Summary: PHP Data Objects (PDO) ODBC support
1375 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1377 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1378 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1379 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1380 Provides: php(pdo-odbc)
1381 Obsoletes: php-pecl-PDO_ODBC
1383 %description pdo-odbc
1384 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1387 %description pdo-odbc -l pl.UTF-8
1388 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1392 Summary: PHP Data Objects (PDO) PostgreSQL support
1393 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1395 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1396 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1397 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1398 Provides: php(pdo-pgsql)
1399 Provides: php-pecl-PDO_PGSQL
1400 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1402 %description pdo-pgsql
1403 This is a dynamic shared object (DSO) for PHP that will add PDO
1406 %description pdo-pgsql -l pl.UTF-8
1407 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1411 Summary: PHP Data Objects (PDO) SQLite support
1412 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1414 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1415 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1416 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1417 Provides: php(pdo-sqlite)
1418 Obsoletes: php-pecl-PDO_SQLITE
1420 %description pdo-sqlite
1421 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1424 %description pdo-sqlite -l pl.UTF-8
1425 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1429 Summary: PostgreSQL database module for PHP
1430 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1432 URL: http://www.php.net/manual/en/book.pgsql.php
1433 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1434 Provides: php(pgsql)
1437 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1440 %description pgsql -l pl.UTF-8
1441 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1443 %description pgsql -l pt_BR.UTF-8
1444 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1447 Summary: phar database module for PHP
1448 Summary(pl.UTF-8): Moduł phar dla PHP
1450 URL: http://www.php.net/manual/en/book.phar.php
1451 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1452 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1453 Suggests: %{name}-cli
1454 # zlib is required by phar program, but as phar cli is optional should the dep be too
1455 Suggests: %{name}-zlib
1456 Provides: php(phar) = %{pharver}
1457 Obsoletes: php-pecl-phar < %{pharver}
1458 Conflicts: php-ioncube < 4.0.9
1461 This is a dynamic shared object (DSO) for PHP that will add phar
1464 %description phar -l pl.UTF-8
1465 Moduł PHP umożliwiający dostęp do achiwów .phar.
1468 Summary: POSIX extension module for PHP
1469 Summary(pl.UTF-8): Moduł POSIX dla PHP
1471 URL: http://www.php.net/manual/en/book.posix.php
1472 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1473 Provides: php(posix)
1476 This is a dynamic shared object (DSO) for PHP that will add POSIX
1477 functions support to PHP.
1479 %description posix -l pl.UTF-8
1480 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1483 Summary: pspell extension module for PHP
1484 Summary(pl.UTF-8): Moduł pspell dla PHP
1486 URL: http://www.php.net/manual/en/book.pspell.php
1487 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1488 Provides: php(pspell)
1491 This is a dynamic shared object (DSO) for PHP that will add pspell
1492 support to PHP. It allows to check the spelling of a word and offer
1495 %description pspell -l pl.UTF-8
1496 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1497 sprawdzanie pisowni słowa i sugerowanie poprawek.
1500 Summary: readline extension module for PHP
1501 Summary(pl.UTF-8): Moduł readline dla PHP
1503 URL: http://www.php.net/manual/en/book.readline.php
1504 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1505 Provides: php(readline)
1507 %description readline
1508 This PHP module adds support for readline functions (only for cli and
1511 %description readline -l pl.UTF-8
1512 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1515 Summary: recode extension module for PHP
1516 Summary(pl.UTF-8): Moduł recode dla PHP
1518 URL: http://www.php.net/manual/en/book.recode.php
1519 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1520 Requires: recode >= 3.5d-3
1521 Provides: php(recode)
1524 This is a dynamic shared object (DSO) for PHP that will add recode
1527 %description recode -l pl.UTF-8
1528 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1532 Summary: session extension module for PHP
1533 Summary(pl.UTF-8): Moduł session dla PHP
1535 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1536 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1537 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1539 Provides: php(session)
1541 %description session
1542 This is a dynamic shared object (DSO) for PHP that will add session
1545 %description session -l pl.UTF-8
1546 Moduł PHP dodający obsługę sesji.
1549 Summary: Shared Memory Operations extension module for PHP
1550 Summary(pl.UTF-8): Moduł shmop dla PHP
1552 URL: http://www.php.net/manual/en/book.shmop.php
1553 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1554 Provides: php(shmop)
1557 This is a dynamic shared object (DSO) for PHP that will add Shared
1558 Memory Operations support.
1560 %description shmop -l pl.UTF-8
1561 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1564 Summary: Simple XML extension module for PHP
1565 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1567 URL: http://www.php.net/manual/en/book.simplexml.php
1568 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1569 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1570 Provides: php(simplexml)
1572 %description simplexml
1573 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1576 %description simplexml -l pl.UTF-8
1577 Moduł PHP dodający obsługę prostego XML-a.
1580 Summary: SNMP extension module for PHP
1581 Summary(pl.UTF-8): Moduł SNMP dla PHP
1583 URL: http://www.php.net/manual/en/book.snmp.php
1584 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1585 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1586 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1590 This is a dynamic shared object (DSO) for PHP that will add SNMP
1593 %description snmp -l pl.UTF-8
1594 Moduł PHP dodający obsługę SNMP.
1597 Summary: soap extension module for PHP
1598 Summary(pl.UTF-8): Moduł soap dla PHP
1600 URL: http://www.php.net/manual/en/book.soap.php
1601 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1605 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1608 %description soap -l pl.UTF-8
1609 Moduł PHP dodający obsługę SOAP/WSDL.
1612 Summary: sockets extension module for PHP
1613 Summary(pl.UTF-8): Moduł socket dla PHP
1615 URL: http://www.php.net/manual/en/book.sockets.php
1616 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1617 Provides: php(sockets)
1619 %description sockets
1620 This is a dynamic shared object (DSO) for PHP that will add sockets
1623 %description sockets -l pl.UTF-8
1624 Moduł PHP dodający obsługę gniazdek.
1627 Summary: Standard PHP Library module for PHP
1628 Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1630 URL: http://php.net/manual/en/book.spl.php
1631 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1632 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1633 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1637 This is a dynamic shared object (DSO) for PHP that will add Standard
1638 PHP Library support.
1640 %description spl -l pl.UTF-8
1641 Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1644 Summary: SQLite3 extension module for PHP
1645 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1647 URL: http://php.net/manual/en/book.sqlite3.php
1648 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1649 Provides: php(sqlite3) = %{sqlite3ver}
1651 %description sqlite3
1652 SQLite is a C library that implements an embeddable SQL database
1653 engine. Programs that link with the SQLite library can have SQL
1654 database access without running a separate RDBMS process.
1656 SQLite is not a client library used to connect to a big database
1657 server. SQLite is the server. The SQLite library reads and writes
1658 directly to and from the database files on disk.
1660 %description sqlite3 -l pl.UTF-8
1661 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1662 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1663 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1666 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1667 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1668 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1672 Summary: Sybase-CT extension module for PHP
1673 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1675 URL: http://www.php.net/manual/en/book.sybase.php
1676 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1677 Provides: php(sybase-ct)
1678 Obsoletes: php-sybase
1680 %description sybase-ct
1681 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1682 MS SQL databases support through CT-lib.
1684 %description sybase-ct -l pl.UTF-8
1685 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1689 Summary: SysV msg extension module for PHP
1690 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1692 URL: http://www.php.net/manual/en/book.sem.php
1693 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1694 Provides: php(sysvmsg)
1696 %description sysvmsg
1697 This is a dynamic shared object (DSO) for PHP that will add SysV
1698 message queues support.
1700 %description sysvmsg -l pl.UTF-8
1701 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1704 Summary: SysV sem extension module for PHP
1705 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1707 URL: http://www.php.net/manual/en/book.sem.php
1708 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1709 Provides: php(sysvsem)
1711 %description sysvsem
1712 This is a dynamic shared object (DSO) for PHP that will add SysV
1715 %description sysvsem -l pl.UTF-8
1716 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1719 Summary: SysV shm extension module for PHP
1720 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1722 URL: http://www.php.net/manual/en/book.shmop.php
1723 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1724 Provides: php(sysvshm)
1726 %description sysvshm
1727 This is a dynamic shared object (DSO) for PHP that will add SysV
1728 Shared Memory support.
1730 %description sysvshm -l pl.UTF-8
1731 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1734 Summary: Contains unit test files for PHP and extensions
1735 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1737 URL: http://qa.php.net/
1738 Requires: %{name}-cli
1741 This package contains unit tests for PHP and its extensions.
1743 %description tests -l pl.UTF-8
1744 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1747 Summary: Tidy extension module for PHP
1748 Summary(pl.UTF-8): Moduł Tidy dla PHP
1750 URL: http://www.php.net/manual/en/book.tidy.php
1751 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1756 This is a dynamic shared object (DSO) for PHP that will add Tidy
1759 %description tidy -l pl.UTF-8
1760 Moduł PHP umożliwiający korzystanie z tidy.
1763 Summary: tokenizer extension module for PHP
1764 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1766 URL: http://www.php.net/manual/en/book.tokenizer.php
1767 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1768 Provides: php(tokenizer)
1770 %description tokenizer
1771 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1774 %description tokenizer -l pl.UTF-8
1775 Moduł PHP dodający obsługę tokenizera do PHP.
1778 Summary: wddx extension module for PHP
1779 Summary(pl.UTF-8): Moduł wddx dla PHP
1781 URL: http://www.php.net/manual/en/book.wddx.php
1782 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1783 # - wddx doesn't require session as it's disabled at compile time:
1784 # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1785 # see also php.spec#rev1.120.2.22
1786 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1787 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1791 This is a dynamic shared object (DSO) for PHP that will add wddx
1794 %description wddx -l pl.UTF-8
1795 Moduł PHP umożliwiający korzystanie z wddx.
1798 Summary: XML extension module for PHP
1799 Summary(pl.UTF-8): Moduł XML dla PHP
1801 URL: http://www.php.net/manual/en/book.xml.php
1802 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1806 This is a dynamic shared object (DSO) for PHP that will add XML
1807 support. This extension lets you create XML parsers and then define
1808 handlers for different XML events.
1810 %description xml -l pl.UTF-8
1811 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1812 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1813 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1816 Summary: XML Reader extension module for PHP
1817 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1819 URL: http://www.php.net/manual/en/book.xmlreader.php
1820 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1821 Suggests: %{name}-dom = %{epoch}:%{version}-%{release}
1822 Provides: php(xmlreader)
1824 %description xmlreader
1825 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1826 support. The XMLReader extension is an XML Pull parser. The reader
1827 acts as a cursor going forward on the document stream and stopping at
1828 each node on the way.
1830 %description xmlreader -l pl.UTF-8
1831 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1832 działa jako kursor przechodzący przez strumień dokumentu i
1833 zatrzymujący się na każdym węźle po drodze.
1836 Summary: xmlrpc extension module for PHP
1837 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1839 URL: http://www.php.net/manual/en/book.xmlrpc.php
1840 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1841 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1842 Provides: php(xmlrpc)
1845 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1848 %description xmlrpc -l pl.UTF-8
1849 Moduł PHP dodający obsługę XMLRPC.
1852 Summary: Fast, non-cached, forward-only means to write XML data
1853 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1855 URL: http://www.php.net/manual/en/book.xmlwriter.php
1856 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1857 Provides: php(xmlwriter)
1858 Obsoletes: php-pecl-xmlwriter
1860 %description xmlwriter
1861 This extension wraps the libxml xmlWriter API. Represents a writer
1862 that provides a non-cached, forward-only means of generating streams
1863 or files containing XML data.
1865 %description xmlwriter -l pl.UTF-8
1866 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1867 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1868 plików zawierających dane XML.
1871 Summary: xsl extension module for PHP
1872 Summary(pl.UTF-8): Moduł xsl dla PHP
1874 URL: http://www.php.net/manual/en/book.xsl.php
1875 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1876 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1877 Requires: libxslt >= 1.0.18
1878 # actually not true, functionality is similar, but API differs
1880 Obsoletes: php-xslt <= 3:4.3.8-1
1883 This is a dynamic shared object (DSO) for PHP that will add new XSL
1884 support (using libxslt).
1886 %description xsl -l pl.UTF-8
1887 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1890 Summary: Zip management extension
1891 Summary(pl.UTF-8): Zarządzanie archiwami zip
1893 URL: http://www.php.net/manual/en/book.zip.php
1894 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1895 %{?with_system_libzip:Requires: libzip >= 0.10.1-2}
1896 Provides: php(zip) = %{zipver}
1897 Obsoletes: php-pecl-zip < %{zipver}
1900 Zip is an extension to create, modify and read zip files.
1902 %description zip -l pl.UTF-8
1903 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1904 odczyt archiwów zip.
1907 Summary: Zlib extension module for PHP
1908 Summary(pl.UTF-8): Moduł zlib dla PHP
1910 URL: http://www.php.net/manual/en/book.zlib.php
1911 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1915 This is a dynamic shared object (DSO) for PHP that will add zlib
1916 compression support to PHP.
1918 %description zlib -l pl.UTF-8
1919 Moduł PHP umożliwiający używanie kompresji zlib.
1922 %setup -q -n %{orgname}-%{version}%{?subver}
1923 cp -p php.ini-production php.ini
1935 %if %{with type_hints}
1941 %if %{with system_gd}
1954 %if "%{pld_release}" != "ac"
1968 #%patch45 -p1 # imap annotations. fixme
1969 #%patch46 -p1 # imap myrights. fixme
1977 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
1983 %{?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,phpdbg,milter}
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}
2194 for sapi in $sapis; do
2196 # skip if already configured (for faster debugging purposes)
2197 [ -f Makefile.$sapi ] && continue
2202 sapi_args='--disable-cli'
2205 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
2208 sapi_args='--disable-cli --disable-cgi --enable-fpm'
2211 sapi_args='--disable-cli --disable-cgi --enable-embed'
2214 ver=$(rpm -q --qf '%{V}' apache1-devel)
2215 sapi_args="--disable-cli --disable-cgi --with-apxs=%{apxs1} --with-apache-version=$ver"
2218 ver=$(rpm -q --qf '%{V}' apache-devel)
2219 sapi_args="--disable-cli --disable-cgi --with-apxs2=%{apxs2} --with-apache-version=$ver"
2222 sapi_args='--disable-cli --disable-cgi --with-litespeed'
2225 sapi_args='--disable-cli --disable-cgi --enable-phpdbg %{?debug:--enable-phpdbg-debug}'
2228 sapi_args='--disable-cli --disable-cgi --with-milter'
2234 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2235 --cache-file=config.cache \
2237 --with-libdir=%{_lib} \
2238 --with-config-file-path=%{_sysconfdir} \
2239 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2240 --with-system-tzdata \
2241 --%{!?debug:dis}%{?debug:en}able-debug \
2242 %{?with_zts:--enable-maintainer-zts} \
2243 --enable-inline-optimization \
2244 --enable-bcmath=shared \
2245 --enable-calendar=shared \
2246 --enable-ctype=shared \
2247 --enable-dba=shared \
2248 --enable-dom=shared \
2249 --enable-exif=shared \
2250 --enable-fileinfo=shared \
2251 --enable-ftp=shared \
2252 --enable-gd-native-ttf \
2253 %{?with_intl:--enable-intl=shared} \
2255 --enable-mbstring=shared,all \
2257 --enable-pcntl=shared \
2258 --enable-pdo=shared \
2259 --enable-json=shared \
2260 --enable-hash=shared \
2261 --enable-xmlwriter=shared \
2263 --with-fpm-user=http \
2264 --with-fpm-group=http \
2266 %if %{with mssql} || %{with sybase_ct}
2267 --with-pdo-dblib=shared \
2269 %if %{with interbase} && %{without interbase_inst}
2270 --with-pdo-firebird=shared,/usr \
2272 %{?with_mhash:--with-mhash=yes} \
2273 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2274 --with-pdo-mysql=shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd} \
2275 %{?with_oci:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2276 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2277 %{?with_pgsql:--with-pdo-pgsql=shared} \
2278 %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
2279 %{?with_webp:--with-vpx-dir=/usr} \
2280 --without-libexpat-dir \
2281 --enable-posix=shared \
2283 --enable-session=shared \
2284 --enable-shmop=shared \
2285 --enable-simplexml=shared \
2286 --enable-sysvmsg=shared \
2287 --enable-sysvsem=shared \
2288 --enable-sysvshm=shared \
2289 --enable-soap=shared \
2290 --enable-sockets=shared \
2291 --enable-tokenizer=shared \
2292 %{?with_wddx:--enable-wddx=shared} \
2293 --enable-xml=shared \
2294 --enable-xmlreader=shared \
2296 %{__with_without curl curl shared} \
2298 --with-iconv=shared \
2299 %{?with_enchant:--with-enchant=shared,/usr} \
2300 --with-freetype-dir=shared \
2301 --with-gettext=shared \
2302 --with-gd=shared%{?with_system_gd:,/usr} \
2305 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2306 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2307 --with-jpeg-dir=/usr \
2308 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2309 --with-mcrypt=shared \
2310 %{?with_mm:--with-mm} \
2311 %{?with_mssql:--with-mssql=shared} \
2312 %{?with_mysqlnd:--enable-mysqlnd=shared} \
2313 --with-mysql=shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd} \
2314 %{?with_mysqli:--with-mysqli=shared,%{!?with_mysqlnd:/usr/bin/mysql_config}%{?with_mysqlnd:mysqlnd}} \
2315 %{?with_oci:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2316 %{?with_opcache:--enable-opcache=shared} \
2317 %{?with_openssl:--with-openssl=shared} \
2318 %{?with_kerberos5:--with-kerberos} \
2320 %{__with_without pcre pcre-regex /usr} \
2321 %{__enable_disable filter filter shared} \
2322 --with-pear=%{php_pear_dir} \
2323 %{__with_without pgsql pgsql shared,/usr} \
2324 %{__enable_disable phar phar shared} \
2325 --with-png-dir=/usr \
2326 %{?with_pspell:--with-pspell=shared} \
2327 --with-readline=shared \
2328 %{?with_recode:--with-recode=shared} \
2329 --with-regex=system \
2330 %{?with_snmp:--with-snmp=shared} \
2331 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
2332 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2333 %{__with_without sqlite3 sqlite3 shared,/usr} \
2334 --with-t1lib=shared \
2335 %{?with_tidy:--with-tidy=shared} \
2336 %{?with_odbc:--with-unixODBC=shared,/usr} \
2337 %{__with_without xmlrpc xmlrpc shared,/usr} \
2339 --with-zlib=shared \
2340 --with-zlib-dir=shared,/usr \
2341 %{?with_system_libzip:--with-libzip} \
2342 --enable-zip=shared,/usr \
2345 cp -f Makefile Makefile.$sapi
2346 cp -f main/php_config.h php_config.h.$sapi
2347 cp -f config.log config.log.$sapi
2350 # as we build each SAPI in own make, adjust php-config.in forehead
2351 sapis=$(%{__sed} -rne 's/^PHP_INSTALLED_SAPIS = (.+)/\1/p' Makefile.* | tr ' ' '\n' | sort -u | xargs)
2352 %{__sed} -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," scripts/php-config.in
2354 # must make libphp_common first, so modules can link against it.
2355 cp -af php_config.h.cli main/php_config.h
2356 cp -af Makefile.cli Makefile
2357 %{__make} libphp_common.la
2358 %{__make} build-modules
2361 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
2365 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
2368 %if %{with litespeed}
2369 %{__make} -f Makefile.litespeed litespeed
2373 %{__make} -f Makefile.embed libphp5.la
2377 # PHP_READLINE_LIBS is empty, so force readline here
2378 %{__make} -f Makefile.phpdbg phpdbg \
2379 PHPDBG_EXTRA_LIBS=-lreadline
2383 %{__make} -f Makefile.milter milter
2388 cp -pf php_config.h.cgi-fcgi main/php_config.h
2389 %{__make} -f Makefile.cgi-fcgi
2390 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
2395 cp -pf php_config.h.fpm main/php_config.h
2396 %{__make} -f Makefile.fpm
2397 [ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
2401 cp -pf php_config.h.cli main/php_config.h
2402 %{__make} -f Makefile.cli
2403 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
2405 # check for stupid xml parse breakage where < and > just get lost in parse result
2406 ./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"]));'
2408 # Generate stub .ini files for each extension
2411 generate_inifiles() {
2412 for so in modules/*.so; do
2413 mod=$(basename $so .so)
2415 # opcache.so is zend extension
2416 nm $so | grep -q zend_extension_entry && ext=zend_extension
2418 # xml needs to be loaded before wddx
2419 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2420 # pre needs to be loaded before SPL
2421 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2422 # spl needs to be loaded before mysqli
2423 [ "$mod" = "spl" ] && conf="SPL.ini"
2424 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2425 [ "$mod" = "session" ] && conf="Session.ini"
2426 # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli
2427 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2429 cat > conf.d/$conf <<-EOF
2430 ; Enable $mod $ext module
2437 # Check that the module inner-dependencies are intact
2438 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2439 if grep -v OK dep-tests.log; then
2440 echo >&2 "The results above were not expected"
2446 cp -pf php_config.h.cli main/php_config.h
2447 cp -pf Makefile.cli Makefile
2449 # you really don't want to package result of gcov build
2453 cat <<'EOF' > run-tests.sh
2455 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2456 unset TZ LANG LC_ALL || :
2458 EXTENSION_DIR=modules \
2459 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2460 RUN_TESTS_SETTINGS="-q $*"
2462 chmod +x run-tests.sh
2465 # Run tests, using the CLI SAPI
2466 cp -pf php_config.h.cli main/php_config.h
2467 cp -pf Makefile.cli Makefile
2469 ./run-tests.sh -w failed.log -s tests.log || {
2472 # collect failed tests into cleanup script used in prep.
2473 sed -ne '/^FAILED TEST SUMMARY/,/^===/p' tests.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2474 sed -ne '/^via/d;/\[.*\]/{s/\t*\(.*\) \[\(.*\)\]\(.*\)/# \1\3\nmv \2{,.skip}/p}' tests-failed.log \
2475 >> %{_sourcedir}/skip-tests.sh
2477 # if on builders, dump test log
2478 tty -q || cat tests.log
2480 test ! -s failed.log
2486 rm -rf $RPM_BUILD_ROOT
2487 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2488 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2489 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2490 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2492 cp -pf php_config.h.cli main/php_config.h
2493 cp -pf Makefile.cli Makefile
2495 phpbuilddir=%{_libdir}/%{name}/build \
2496 INSTALL_ROOT=$RPM_BUILD_ROOT
2498 # make link relative
2499 ln -sfn phar.phar $RPM_BUILD_ROOT%{_bindir}/phar
2502 v=$(echo %{version} | cut -d. -f1-2)
2504 # install Apache1 DSO module
2506 libtool --mode=install install -p sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2507 mv $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5{,-$v}.so
2508 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.so
2511 # install Apache2 DSO module
2513 libtool --mode=install install -p sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2514 mv $RPM_BUILD_ROOT%{_libdir}/apache/libphp5{,-$v}.so
2515 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.so
2518 # install litespeed sapi
2519 %if %{with litespeed}
2520 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
2524 %{__make} -f Makefile.phpdbg install-phpdbg \
2525 INSTALL_ROOT=$RPM_BUILD_ROOT
2529 %{__make} -f Makefile.milter install-milter \
2530 INSTALL_ROOT=$RPM_BUILD_ROOT
2533 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2538 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2539 ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
2540 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2545 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir}}
2546 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2547 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
2548 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2549 cp -p sapi/fpm/php-fpm.conf-d $RPM_BUILD_ROOT%{_sysconfdir}/fpm.d/www.conf
2550 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2551 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2552 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2553 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2554 %if "%{pld_release}" == "ac"
2555 %{__sed} -i -e '/su/d' $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2559 s#/usr/lib/php#%{php_extensiondir}#
2560 s#/etc/php#%{_sysconfdir}#
2561 s#@processname@#%{name}-fpm#g
2562 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf,%{_sysconfdir}/fpm.d/www.conf}
2565 # install Embedded API
2567 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2568 # install-sapi installs to wrong dir, so just do it all manually
2569 install -d $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2570 install -p libs/libphp5.so $RPM_BUILD_ROOT%{_libdir}
2571 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2575 # versioned suffix is always installed
2576 libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php%{ver_suffix}
2577 cp -p sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php%{ver_suffix}.1
2578 echo ".so php%{ver_suffix}.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.1
2579 ln -sf php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php
2581 cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2583 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2584 cp -p %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini
2587 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2588 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2589 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2593 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2594 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2595 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2598 # ensure that paths are correct for current php version and arch
2599 grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
2601 s#/usr/lib/php#%{php_extensiondir}#
2602 s#/etc/php#%{_sysconfdir}#
2605 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2606 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2608 # per SAPI ini directories
2609 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2612 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2614 # use system automake and {lib,sh}tool
2615 %if "%{pld_release}" != "ac"
2616 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2617 for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2618 ln -snf %{_aclocaldir}/${i} $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2620 ln -snf %{_datadir}/libtool/config/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2622 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2623 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2625 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2626 sed -i -e '/^phpdir/ s,/php/build,/%{name}/build,' $RPM_BUILD_ROOT%{_bindir}/phpize
2628 # for php-pecl-mailparse
2629 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2630 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2633 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2634 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2635 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2637 # fix install paths, avoid evil rpaths
2638 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2640 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/%{name}/build/acinclude.m4
2643 rm -rf $RPM_BUILD_ROOT
2645 %post -n apache1-mod_%{name}
2646 if [ "$1" = "1" ]; then
2647 %service -q apache restart
2650 %postun -n apache1-mod_%{name}
2651 if [ "$1" = "0" ]; then
2652 %service -q apache restart
2655 %post -n apache-mod_%{name}
2656 if [ "$1" = "1" ]; then
2657 %service -q httpd restart
2660 %postun -n apache-mod_%{name}
2661 if [ "$1" = "0" ]; then
2662 %service -q httpd restart
2666 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2669 /sbin/chkconfig --add %{name}-fpm
2670 %service %{name}-fpm restart
2673 if [ "$1" = 0 ]; then
2674 %service %{name}-fpm stop
2675 /sbin/chkconfig --del %{name}-fpm
2679 if [ "$1" = "0" ]; then
2683 %post embedded -p /sbin/ldconfig
2684 %postun embedded -p /sbin/ldconfig
2687 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2688 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2690 . /etc/sysconfig/timezone
2691 if [ "$TIMEZONE" ]; then
2692 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2697 # minimizing apache restarts logics. we restart webserver:
2699 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2700 # 2. first install of extension (post: $1 = 1)
2701 # 2. uninstall of extension (postun: $1 == 0)
2703 # the strict internal deps between extensions (and apache modules) and
2704 # common package are very important for all this to work.
2706 # restart webserver at the end of transaction
2707 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2708 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2710 # common macros called at extension post/postun scriptlet
2711 %define extension_scripts() \
2713 if [ "$1" = "1" ]; then \
2714 %php_webserver_restart \
2718 if [ "$1" = "0" ]; then \
2719 %php_webserver_restart \
2723 # extension scripts defines
2724 %extension_scripts bcmath
2725 %extension_scripts bz2
2726 %extension_scripts calendar
2727 %extension_scripts ctype
2728 %extension_scripts curl
2729 %extension_scripts dba
2730 %extension_scripts dom
2731 %extension_scripts enchant
2732 %extension_scripts exif
2733 %extension_scripts fileinfo
2734 %extension_scripts filter
2735 %extension_scripts ftp
2736 %extension_scripts gd
2737 %extension_scripts gettext
2738 %extension_scripts gmp
2739 %extension_scripts hash
2740 %extension_scripts iconv
2741 %extension_scripts imap
2742 %extension_scripts interbase
2743 %extension_scripts intl
2744 %extension_scripts json
2745 %extension_scripts ldap
2746 %extension_scripts mbstring
2747 %extension_scripts mcrypt
2748 %extension_scripts mssql
2749 %extension_scripts mysql
2750 %extension_scripts mysqli
2751 %extension_scripts mysqlnd
2752 %extension_scripts oci8
2753 %extension_scripts odbc
2754 %extension_scripts opcache
2755 %extension_scripts openssl
2756 %extension_scripts pcre
2757 %extension_scripts pdo
2758 %extension_scripts pdo-dblib
2759 %extension_scripts pdo-firebird
2760 %extension_scripts pdo-oci
2761 %extension_scripts pdo-mysql
2762 %extension_scripts pdo-odbc
2763 %extension_scripts pdo-pgsql
2764 %extension_scripts pdo-sqlite
2765 %extension_scripts pgsql
2766 %extension_scripts phar
2767 %extension_scripts pcntl
2768 %extension_scripts posix
2769 %extension_scripts pspell
2770 %extension_scripts recode
2771 %extension_scripts session
2772 %extension_scripts shmop
2773 %extension_scripts simplexml
2774 %extension_scripts snmp
2775 %extension_scripts soap
2776 %extension_scripts sockets
2777 %extension_scripts spl
2778 %extension_scripts sqlite3
2779 %extension_scripts sybase-ct
2780 %extension_scripts sysvmsg
2781 %extension_scripts sysvsem
2782 %extension_scripts sysvshm
2783 %extension_scripts tidy
2784 %extension_scripts tokenizer
2785 %extension_scripts wddx
2786 %extension_scripts xml
2787 %extension_scripts xmlreader
2788 %extension_scripts xmlrpc
2789 %extension_scripts xmlwriter
2790 %extension_scripts xsl
2791 %extension_scripts zip
2792 %extension_scripts zlib
2795 %files -n apache1-mod_%{name}
2796 %defattr(644,root,root,755)
2797 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2798 %dir %{_sysconfdir}/apache.d
2799 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2800 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2801 %attr(755,root,root) %{_libdir}/apache1/libphp5-*.*.so
2805 %files -n apache-mod_%{name}
2806 %defattr(644,root,root,755)
2807 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2808 %dir %{_sysconfdir}/apache2handler.d
2809 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2810 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2811 %attr(755,root,root) %{_libdir}/apache/libphp5-*.*.so
2814 %if %{with litespeed}
2816 %defattr(644,root,root,755)
2817 %attr(755,root,root) %{_sbindir}/%{name}.litespeed
2822 %defattr(644,root,root,755)
2823 %dir %{_sysconfdir}/cgi-fcgi.d
2824 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2825 %attr(755,root,root) %{_bindir}/%{name}.cgi
2826 %attr(755,root,root) %{_bindir}/%{name}.fcgi
2831 %defattr(644,root,root,755)
2832 %attr(755,root,root) %{_libdir}/libphp5.so
2836 %defattr(644,root,root,755)
2837 %dir %{_sysconfdir}/cli.d
2838 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2839 %attr(755,root,root) %{_bindir}/php%{ver_suffix}
2840 %{_mandir}/man1/php%{ver_suffix}.1*
2843 %defattr(644,root,root,755)
2844 %attr(755,root,root) %{_bindir}/php
2845 %{_mandir}/man1/php.1*
2849 %defattr(644,root,root,755)
2850 %doc sapi/fpm/{CREDITS,LICENSE}
2851 %dir %{_sysconfdir}/fpm.d
2852 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
2853 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.d/www.conf
2854 %attr(755,root,root) %{_sbindir}/%{name}-fpm
2855 %{_mandir}/man8/%{name}-fpm.8*
2856 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
2857 %attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
2862 %defattr(644,root,root,755)
2863 %attr(755,root,root) %{_bindir}/phpdbg
2868 %defattr(644,root,root,755)
2869 %attr(755,root,root) %{_bindir}/php-milter
2873 %defattr(644,root,root,755)
2874 %doc CREDITS EXTENSIONS LICENSE NEWS README.namespaces UPGRADING* Zend/{LICENSE.Zend,ZEND_CHANGES} php.ini-*
2876 %dir %{_sysconfdir}/conf.d
2877 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2878 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2879 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2880 %dir %{php_extensiondir}
2882 %doc ext/session/mod_files.sh
2885 %defattr(644,root,root,755)
2886 %doc CODING_STANDARDS README.{EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
2887 %attr(755,root,root) %{_bindir}/phpize
2888 %attr(755,root,root) %{_bindir}/php-config
2889 %attr(755,root,root) %{_libdir}/libphp_common.so
2890 %{_libdir}/libphp_common.la
2892 %{_libdir}/%{name}/build
2893 %{_mandir}/man1/php-config.1*
2894 %{_mandir}/man1/phpize.1*
2897 %defattr(644,root,root,755)
2898 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2899 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2902 %defattr(644,root,root,755)
2903 %doc ext/bz2/CREDITS
2904 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2905 %attr(755,root,root) %{php_extensiondir}/bz2.so
2908 %defattr(644,root,root,755)
2909 %doc ext/calendar/CREDITS
2910 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2911 %attr(755,root,root) %{php_extensiondir}/calendar.so
2914 %defattr(644,root,root,755)
2915 %doc ext/calendar/CREDITS
2916 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2917 %attr(755,root,root) %{php_extensiondir}/ctype.so
2921 %defattr(644,root,root,755)
2922 %doc ext/curl/CREDITS
2923 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2924 %attr(755,root,root) %{php_extensiondir}/curl.so
2928 %defattr(644,root,root,755)
2929 %doc ext/dba/{CREDITS,README}
2930 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2931 %attr(755,root,root) %{php_extensiondir}/dba.so
2934 %defattr(644,root,root,755)
2935 %doc ext/dom/{CREDITS,TODO}
2936 %doc ext/dom/examples
2937 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2938 %attr(755,root,root) %{php_extensiondir}/dom.so
2942 %defattr(644,root,root,755)
2943 %doc ext/enchant/{CREDITS,docs/examples}
2944 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/enchant.ini
2945 %attr(755,root,root) %{php_extensiondir}/enchant.so
2949 %defattr(644,root,root,755)
2950 %doc ext/exif/CREDITS
2951 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2952 %attr(755,root,root) %{php_extensiondir}/exif.so
2955 %defattr(644,root,root,755)
2956 %doc ext/fileinfo/CREDITS
2957 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
2958 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
2962 %defattr(644,root,root,755)
2963 %doc ext/filter/{CREDITS,docs/*}
2964 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2965 %attr(755,root,root) %{php_extensiondir}/filter.so
2969 %defattr(644,root,root,755)
2970 %doc ext/ftp/CREDITS
2971 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2972 %attr(755,root,root) %{php_extensiondir}/ftp.so
2975 %defattr(644,root,root,755)
2977 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2978 %attr(755,root,root) %{php_extensiondir}/gd.so
2981 %defattr(644,root,root,755)
2982 %doc ext/gettext/CREDITS
2983 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2984 %attr(755,root,root) %{php_extensiondir}/gettext.so
2987 %defattr(644,root,root,755)
2988 %doc ext/gmp/{CREDITS,README,TODO}
2989 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2990 %attr(755,root,root) %{php_extensiondir}/gmp.so
2993 %defattr(644,root,root,755)
2994 %doc ext/hash/{CREDITS,README}
2995 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2996 %attr(755,root,root) %{php_extensiondir}/hash.so
2999 %defattr(644,root,root,755)
3000 %doc ext/iconv/CREDITS
3001 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
3002 %attr(755,root,root) %{php_extensiondir}/iconv.so
3006 %defattr(644,root,root,755)
3007 %doc ext/imap/CREDITS
3008 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
3009 %attr(755,root,root) %{php_extensiondir}/imap.so
3012 %if %{with interbase}
3014 %defattr(644,root,root,755)
3015 %doc ext/interbase/CREDITS
3016 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
3017 %attr(755,root,root) %{php_extensiondir}/interbase.so
3022 %defattr(644,root,root,755)
3023 %doc ext/intl/{CREDITS,TODO}
3024 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
3025 %attr(755,root,root) %{php_extensiondir}/intl.so
3029 %defattr(644,root,root,755)
3030 %doc ext/json/CREDITS
3031 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
3032 %attr(755,root,root) %{php_extensiondir}/json.so
3036 %defattr(644,root,root,755)
3037 %doc ext/ldap/CREDITS
3038 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
3039 %attr(755,root,root) %{php_extensiondir}/ldap.so
3043 %defattr(644,root,root,755)
3044 %doc ext/mbstring/{CREDITS,README*}
3045 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
3046 %attr(755,root,root) %{php_extensiondir}/mbstring.so
3049 %defattr(644,root,root,755)
3050 %doc ext/mcrypt/{CREDITS,TODO}
3051 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
3052 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
3056 %defattr(644,root,root,755)
3057 %doc ext/mssql/CREDITS
3058 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
3059 %attr(755,root,root) %{php_extensiondir}/mssql.so
3063 %defattr(644,root,root,755)
3064 %doc ext/mysql/CREDITS
3065 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
3066 %attr(755,root,root) %{php_extensiondir}/mysql.so
3070 %defattr(644,root,root,755)
3071 %doc ext/mysqli/{CREDITS,TODO}
3072 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
3073 %attr(755,root,root) %{php_extensiondir}/mysqli.so
3078 %defattr(644,root,root,755)
3079 %doc ext/mysqlnd/CREDITS
3080 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
3081 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
3086 %defattr(644,root,root,755)
3087 %doc ext/oci8/{CREDITS,README}
3088 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
3089 %attr(755,root,root) %{php_extensiondir}/oci8.so
3094 %defattr(644,root,root,755)
3095 %doc ext/odbc/CREDITS
3096 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
3097 %attr(755,root,root) %{php_extensiondir}/odbc.so
3102 %defattr(644,root,root,755)
3103 %doc ext/opcache/README
3104 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/opcache.ini
3105 %attr(755,root,root) %{php_extensiondir}/opcache.so
3110 %defattr(644,root,root,755)
3111 %doc ext/openssl/{CREDITS,README}
3112 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
3113 %attr(755,root,root) %{php_extensiondir}/openssl.so
3117 %defattr(644,root,root,755)
3118 %doc ext/pcntl/{CREDITS,README}
3119 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
3120 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3124 %defattr(644,root,root,755)
3125 %doc ext/pcre/CREDITS
3126 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
3127 %attr(755,root,root) %{php_extensiondir}/pcre.so
3131 %defattr(644,root,root,755)
3132 %doc ext/pdo/{CREDITS,README,TODO}
3133 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
3134 %attr(755,root,root) %{php_extensiondir}/pdo.so
3136 %if %{with mssql} || %{with sybase_ct}
3138 %defattr(644,root,root,755)
3139 %doc ext/pdo_dblib/{CREDITS,README}
3140 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
3141 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3144 %if %{with interbase} && !%{with interbase_inst}
3146 %defattr(644,root,root,755)
3147 %doc ext/pdo_firebird/CREDITS
3148 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
3149 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3153 %defattr(644,root,root,755)
3154 %doc ext/pdo_mysql/CREDITS
3155 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
3156 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3160 %defattr(644,root,root,755)
3161 %doc ext/pdo_oci/CREDITS
3162 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
3163 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3168 %defattr(644,root,root,755)
3169 %doc ext/pdo_odbc/CREDITS
3170 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3171 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3176 %defattr(644,root,root,755)
3177 %doc ext/pdo_pgsql/CREDITS
3178 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3179 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3182 %if %{with pdo_sqlite}
3184 %defattr(644,root,root,755)
3185 %doc ext/pdo_sqlite/CREDITS
3186 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3187 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3192 %defattr(644,root,root,755)
3193 %doc ext/pgsql/{CREDITS,README}
3194 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3195 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3200 %defattr(644,root,root,755)
3201 %doc ext/phar/{CREDITS,TODO}
3202 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
3203 %attr(755,root,root) %{php_extensiondir}/phar.so
3204 %attr(755,root,root) %{_bindir}/phar
3205 %attr(755,root,root) %{_bindir}/phar.phar
3206 %{_mandir}/man1/phar.1*
3207 %{_mandir}/man1/phar.phar.1
3211 %defattr(644,root,root,755)
3212 %doc ext/posix/CREDITS
3213 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3214 %attr(755,root,root) %{php_extensiondir}/posix.so
3218 %defattr(644,root,root,755)
3219 %doc ext/pspell/{CREDITS,README}
3220 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3221 %attr(755,root,root) %{php_extensiondir}/pspell.so
3225 %defattr(644,root,root,755)
3226 %doc ext/readline/{CREDITS,README*}
3227 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3228 %attr(755,root,root) %{php_extensiondir}/readline.so
3232 %defattr(644,root,root,755)
3233 %doc ext/recode/CREDITS
3234 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3235 %attr(755,root,root) %{php_extensiondir}/recode.so
3239 %defattr(644,root,root,755)
3240 %doc ext/session/CREDITS
3241 %doc ext/session/mod_files.sh
3242 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3243 %attr(755,root,root) %{php_extensiondir}/session.so
3246 %defattr(644,root,root,755)
3247 %doc ext/shmop/{CREDITS,README}
3248 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3249 %attr(755,root,root) %{php_extensiondir}/shmop.so
3252 %defattr(644,root,root,755)
3253 %doc ext/simplexml/{CREDITS,README}
3254 %doc ext/simplexml/examples
3255 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3256 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3260 %defattr(644,root,root,755)
3261 %doc ext/snmp/CREDITS
3262 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3263 %attr(755,root,root) %{php_extensiondir}/snmp.so
3267 %defattr(644,root,root,755)
3268 %doc ext/soap/{CREDITS,TODO*}
3269 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3270 %attr(755,root,root) %{php_extensiondir}/soap.so
3273 %defattr(644,root,root,755)
3274 %doc ext/sockets/CREDITS
3275 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3276 %attr(755,root,root) %{php_extensiondir}/sockets.so
3279 %defattr(644,root,root,755)
3280 %doc ext/spl/{CREDITS,README,TODO}
3281 %doc ext/spl/examples
3282 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3283 %attr(755,root,root) %{php_extensiondir}/spl.so
3287 %defattr(644,root,root,755)
3288 %doc ext/sqlite3/CREDITS
3289 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3290 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3293 %if %{with sybase_ct}
3295 %defattr(644,root,root,755)
3296 %doc ext/sybase_ct/CREDITS
3297 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3298 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
3302 %defattr(644,root,root,755)
3303 %doc ext/sysvmsg/CREDITS
3304 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3305 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3308 %defattr(644,root,root,755)
3309 %doc ext/sysvsem/CREDITS
3310 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3311 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3314 %defattr(644,root,root,755)
3315 %doc ext/sysvshm/CREDITS
3316 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3317 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3320 %defattr(644,root,root,755)
3321 %dir %{php_data_dir}/tests
3322 %dir %{php_data_dir}/tests/php
3323 %{php_data_dir}/tests/php/basic
3324 %{php_data_dir}/tests/php/classes
3325 %{php_data_dir}/tests/php/func
3326 %{php_data_dir}/tests/php/lang
3327 %{php_data_dir}/tests/php/output
3328 %{php_data_dir}/tests/php/run-test
3329 %{php_data_dir}/tests/php/security
3330 %{php_data_dir}/tests/php/strings
3331 %{php_data_dir}/tests/php/quicktester.inc
3332 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3336 %defattr(644,root,root,755)
3337 %doc ext/tidy/{CREDITS,README}
3338 %doc ext/tidy/examples
3339 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3340 %attr(755,root,root) %{php_extensiondir}/tidy.so
3344 %defattr(644,root,root,755)
3345 %doc ext/tokenizer/CREDITS
3346 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3347 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3351 %defattr(644,root,root,755)
3352 %doc ext/wddx/CREDITS
3353 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3354 %attr(755,root,root) %{php_extensiondir}/wddx.so
3358 %defattr(644,root,root,755)
3359 %doc ext/xml/CREDITS
3360 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3361 %attr(755,root,root) %{php_extensiondir}/xml.so
3364 %defattr(644,root,root,755)
3365 %doc ext/xmlreader/{CREDITS,README,TODO}
3366 %doc ext/xmlreader/examples
3367 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3368 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3372 %defattr(644,root,root,755)
3373 %doc ext/xmlrpc/CREDITS
3374 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3375 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3379 %defattr(644,root,root,755)
3380 %doc ext/xmlwriter/{CREDITS,TODO}
3381 %doc ext/xmlwriter/examples
3382 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3383 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3386 %defattr(644,root,root,755)
3387 %doc ext/xsl/CREDITS
3388 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3389 %attr(755,root,root) %{php_extensiondir}/xsl.so
3392 %defattr(644,root,root,755)
3393 %doc ext/zip/{CREDITS,TODO}
3394 %doc ext/zip/examples
3395 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3396 %attr(755,root,root) %{php_extensiondir}/zip.so
3399 %defattr(644,root,root,755)
3400 %doc ext/zlib/CREDITS
3401 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3402 %attr(755,root,root) %{php_extensiondir}/zlib.so