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 # - update imap annotations patch (needs api porting)
7 # - update imap myrights patch (needs api porting)
8 # --with-libmbfl=DIR MBSTRING: Use external libmbfl. DIR is the libmbfl base install directory BUNDLED
9 # --with-onig=DIR MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
10 # UNPACKAGED EXTENSION NOTES:
11 # - com_dotnet is Win32-only
13 # - fileinfo extension bundles magic db in library: data_file.c (dump of magic.mgc) is 14M
14 # - 2.3M fileinfo.so php54-fileinfo-5.4.6-0.15.x86_64
15 # - 2.3M fileinfo.so php-fileinfo-5.3.16-1.x86_64
16 # - 13K fileinfo.so php-pecl-fileinfo-1.0.4-8.amd64
17 # - ttyname_r() misdetected http://bugs.php.net/bug.php?id=48820
18 # - wddx: restore session support (not compiled in due DL extension check)
19 # - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere
20 # - removed from php 5.0 (currently in php4):
21 # db [pecl-svn], hyperwave [pecl-svn], java [pecl-svn], mcal [pecl-svn], qtdom [pecl-svn]
22 # - removed from php 5.1:
24 # - removed from php 5.2:
25 # filepro [pecl-svn], hwapi [pecl-svn]
26 # - make additional headers and checking added by mail patch configurable
27 # - modularize standard (output from pure php -m)?
28 # - WARNING: Phar: sha256/sha512 signature support disabled if ext/hash is
29 # built shared, also PHAR_HAVE_OPENSSL is false if openssl is built shared.
30 # make it runtime dep and add Suggests (or php warning messages)
31 # - some mods should be shared:
42 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
43 %bcond_with oci # with Oracle oci8 extension module (BR: proprietary libs)
44 %bcond_without instantclient # build Oracle oci8 extension module against oracle-instantclient package
45 %bcond_with system_gd # with system gd (imageantialias function is missing then)
46 %bcond_with system_libzip # with system libzip (reported broken currently)
47 %bcond_with default_php # use this PHP as default PHP in distro
48 %bcond_with systemtap # systemtap/DTrace support
49 %bcond_without curl # without CURL extension module
50 %bcond_without enchant # without Enchant extension module
51 %bcond_without filter # without filter extension module
52 %bcond_without imap # without IMAP extension module
53 %bcond_without interbase # without InterBase extension module
54 %bcond_without intl # without Intl extension module
55 %bcond_without kerberos5 # without Kerberos5 support
56 %bcond_without litespeed # build litespeed module
57 %bcond_without ldap # without LDAP extension module
58 %bcond_without mhash # without mhash extension (supported by hash extension)
59 %bcond_with mm # without mm support for session storage
60 %bcond_without mssql # without MS SQL extension module
61 %bcond_without mysqlnd # without mysqlnd support in mysql related extensions
62 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
63 %bcond_without odbc # without ODBC extension module
64 %bcond_without opcache # without Enable Zend OPcache extension support
65 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
66 %bcond_without pcre # without PCRE extension module
67 %bcond_without pdo_sqlite # without PDO SQLite extension module
68 %bcond_without pgsql # without PostgreSQL extension module
69 %bcond_without phar # without phar extension module
70 %bcond_without pspell # without pspell extension module
71 %bcond_without recode # without recode extension module
72 %bcond_without snmp # without SNMP extension module
73 %bcond_without sqlite2 # without SQLite extension module
74 %bcond_without sqlite3 # without SQLite3 extension module
75 %bcond_without sybase_ct # without Sybase-CT extension module
76 %bcond_without tidy # without Tidy extension module
77 %bcond_without webp # Without WebP support in GD extension (imagecreatefromwebp)
78 %bcond_without wddx # without WDDX extension module
79 %bcond_without xmlrpc # without XML-RPC extension module
80 %bcond_without apache1 # disable building Apache 1.3.x SAPI
81 %bcond_without apache2 # disable building Apache 2.x SAPI
82 %bcond_with zts # Zend Thread Safety
83 %bcond_without cgi # disable CGI/FCGI SAPI
84 %bcond_without fpm # disable FPM
85 %bcond_without embed # disable Embedded API
86 %bcond_without phpdbg # disable phpdbg SAPI
87 %bcond_with milter # disable Milter SAPI
88 %bcond_with suhosin # with suhosin patch, has little point in PHP>=5.3, see https://github.com/stefanesser/suhosin/issues/42#issuecomment-41728178
89 %bcond_with tests # default off; test process very often hangs on builders, approx run time 45m; perform "make test"
90 %bcond_with gcov # Enable Code coverage reporting
92 %define apxs1 /usr/sbin/apxs1
93 %define apxs2 /usr/sbin/apxs
97 %undefine with_apache1
98 %undefine with_apache2
100 %undefine with_litespeed
103 # mm is not thread safe
108 # milter requires ZTS
109 %if %{with milter} && %{without zts}
110 %undefine with_milter
113 %ifnarch %{ix86} %{x8664} x32 sparc sparcv9 alpha
114 # ppc disabled (broken on th-ppc)
115 %undefine with_interbase
118 %ifnarch %{ix86} %{x8664} x32
119 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
124 %if %{without apache1} && %{without apache2}
125 ERROR: You need to select at least one Apache SAPI to build shared modules.
129 # filter depends on pcre
131 %undefine with_filter
136 %define ver_suffix 56
137 %define php_suffix %{!?with_default_php:%{ver_suffix}}
138 Summary: PHP: Hypertext Preprocessor
139 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
140 Summary(pl.UTF-8): Język skryptowy PHP
141 Summary(pt_BR.UTF-8): A linguagem de script PHP
142 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
143 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
144 Name: %{orgname}%{php_suffix}
148 # All files licensed under PHP version 3.01, except
149 # Zend is licensed under Zend
150 # TSRM is licensed under BSD
151 License: PHP 3.01 and Zend and BSD
153 Source0: http://www.php.net/distributions/%{orgname}-%{version}.tar.xz
154 # Source0-md5: f6b90cd0503310c38e9573bae1eb38c7
155 Source2: %{orgname}-mod_%{orgname}.conf
156 Source3: %{orgname}-cgi-fcgi.ini
157 Source4: %{orgname}-apache.ini
158 Source5: %{orgname}-cli.ini
159 Source10: %{orgname}-fpm.init
160 Source11: %{orgname}-fpm.logrotate
161 Source12: %{orgname}-branch.sh
162 Source13: dep-tests.sh
163 Source14: skip-tests.sh
164 Patch0: %{orgname}-shared.patch
165 Patch1: %{orgname}-pldlogo.patch
166 Patch2: %{orgname}-mail.patch
167 Patch3: %{orgname}-link-libs.patch
168 Patch5: %{orgname}-filter-shared.patch
169 Patch6: %{orgname}-build_modules.patch
170 Patch7: %{orgname}-sapi-ini-file.patch
172 Patch9: libtool-tag.patch
173 Patch10: %{orgname}-ini.patch
175 Patch14: %{orgname}-no_pear_install.patch
176 Patch17: %{orgname}-readline.patch
177 Patch18: %{orgname}-nohttpd.patch
178 Patch20: %{orgname}-uint32_t.patch
179 Patch21: %{orgname}-dba-link.patch
180 Patch22: %{orgname}-both-apxs.patch
181 Patch23: %{orgname}-builddir.patch
182 Patch24: %{orgname}-zlib-for-getimagesize.patch
183 Patch25: %{orgname}-stupidapache_version.patch
184 Patch26: %{orgname}-pear.patch
185 Patch27: %{orgname}-config-dir.patch
186 Patch29: %{orgname}-fcgi-graceful.patch
187 Patch31: %{orgname}-fcgi-error_log-no-newlines.patch
188 Patch34: %{orgname}-libtool.patch
189 Patch35: %{orgname}-tds.patch
190 Patch36: %{orgname}-mysql-charsetphpini.patch
191 Patch37: %{orgname}-mysqli-charsetphpini.patch
192 Patch38: %{orgname}-pdo_mysql-charsetphpini.patch
193 Patch39: %{orgname}-use-prog_sendmail.patch
194 Patch41: %{orgname}-fpm-config.patch
195 Patch42: %{orgname}-fpm-shared.patch
196 Patch43: %{orgname}-silent-session-cleanup.patch
197 Patch44: %{orgname}-include_path.patch
198 Patch45: %{orgname}-imap-annotations.patch
199 Patch46: %{orgname}-imap-myrights.patch
200 Patch47: suhosin.patch
201 Patch50: extension-shared-optional-dep.patch
202 Patch51: spl-shared.patch
203 Patch52: pcre-shared.patch
204 Patch53: fix-test-run.patch
205 Patch55: bug-52078-fileinode.patch
206 Patch59: %{orgname}-systzdata.patch
207 Patch60: %{orgname}-oracle-instantclient.patch
208 Patch62: mcrypt-libs.patch
209 Patch63: %{orgname}-mysql-nowarning.patch
210 Patch65: system-libzip.patch
211 Patch66: php-db.patch
212 Patch67: mysql-lib-ver-mismatch.patch
213 Patch69: fpm-conf-split.patch
214 Patch70: mysqlnd-ssl.patch
215 URL: http://www.php.net/
216 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
217 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
218 BuildRequires: autoconf >= 2.59
219 BuildRequires: automake >= 1.4d
221 BuildRequires: bzip2-devel
222 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
223 BuildRequires: cyrus-sasl-devel
224 BuildRequires: db-devel >= 4.0
225 BuildRequires: elfutils-devel
226 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
227 %{?with_kerberos5:BuildRequires: heimdal-devel}
228 %{?with_system_libzip:BuildRequires: libzip-devel >= 0.10.1-2}
229 %{!?with_mysqlnd:BuildRequires: mysql-devel}
230 BuildRequires: pkgconfig
231 BuildRequires: sed >= 4.0
232 %if %{with mssql} || %{with sybase_ct}
233 BuildRequires: freetds-devel >= 0.82
235 BuildRequires: freetype-devel >= 1:2.5.1
236 %if %{with system_gd}
237 BuildRequires: gd-devel >= 2.1
239 BuildRequires: gdbm-devel
240 BuildRequires: gmp-devel
241 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
242 %{?with_intl:BuildRequires: libicu-devel >= 4.4}
243 BuildRequires: libjpeg-devel
244 BuildRequires: libltdl-devel >= 1.4
245 BuildRequires: libmcrypt-devel >= 2.4.4
246 BuildRequires: libpng-devel >= 1.0.8
247 %{?with_webp:BuildRequires: libvpx-devel}
248 BuildRequires: tokyocabinet-devel
249 %if "%{pld_release}" != "ac"
250 BuildRequires: libtool >= 2:2.2
252 BuildRequires: libtool >= 1.4.3
254 BuildRequires: libxml2-devel >= 1:2.7.6-4
255 BuildRequires: libxslt-devel >= 1.1.0
256 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
257 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
258 %if %{with openssl} || %{with ldap}
259 BuildRequires: openssl-devel >= 0.9.7d
261 %{?with_gcov:BuildRequires: lcov}
262 %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
263 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
264 %{?with_oci:%{?with_instantclient:BuildRequires: oracle-instantclient-devel}}
265 BuildRequires: pam-devel
266 %{?with_pcre:BuildRequires: pcre-devel >= 8.10}
267 BuildRequires: pkgconfig
268 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
269 %{?with_pgsql:BuildRequires: postgresql-devel}
270 BuildRequires: readline-devel
271 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
272 BuildRequires: rpm >= 4.4.9-56
273 BuildRequires: rpm-build >= 4.4.0
274 BuildRequires: rpmbuild(macros) >= 1.566
275 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
276 BuildRequires: tar >= 1:1.22
278 %if %{with sqlite3} || %{with pdo_sqlite}
279 BuildRequires: sqlite3-devel >= 3.3.9
281 BuildRequires: t1lib-devel
282 %{?with_tidy:BuildRequires: tidy-devel}
283 %{?with_odbc:BuildRequires: unixODBC-devel}
284 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
285 BuildRequires: zlib-devel >= 1.0.9
287 BuildRequires: apache1-devel
290 BuildRequires: apache-devel >= 2.0.52-2
291 BuildRequires: apr-devel >= 1:1.0.0
292 BuildRequires: apr-util-devel >= 1:1.0.0
294 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
296 %define php_sysconfdir /etc/%{name}
297 %define php_extensiondir %{_libdir}/%{name}
298 %define _sysconfdir %{php_sysconfdir}
300 # must be in sync with source. extra check ensuring that it is so is done in %%build
301 %define php_api_version 20131106
302 %define zend_module_api 20131226
303 %define zend_extension_api 220131226
304 %define php_pdo_api_version 20080721
308 %define enchantver 1.1.0
309 %define fileinfover 1.0.5
311 %define intlver 1.1.0
312 %define jsonver 1.2.1
313 %define opcachever 7.0.4-dev
314 %define pharver 2.0.2
315 %define sqlite3ver 0.7-dev
316 %define zipver 1.12.5
317 %define phpdbgver 0.4.0
319 %define _zend_zts %{!?with_zts:0}%{?with_zts:1}
320 %define php_debug %{!?debug:0}%{?debug:1}
323 %undefine with_ccache
327 # ORACLE_HOME is required for oci8 ext to build
328 %define _preserve_env %_preserve_env_base ORACLE_HOME
332 PHP is an HTML-embedded scripting language. PHP attempts to make it
333 easy for developers to write dynamically generated web pages. PHP also
334 offers built-in database integration for several commercial and
335 non-commercial database management systems, so writing a
336 database-enabled web page with PHP is fairly simple. The most common
337 use of PHP coding is probably as a replacement for CGI scripts. The
338 mod_php module enables the Apache web server to understand and process
339 the embedded PHP language in web pages. This package contains PHP
342 %description -l fr.UTF-8
343 PHP est un langage de script embarque dans le HTM. PHP essaye de
344 rendre simple aux developpeurs d'ecrire des pages web generees
345 dynamiquement. PHP incorpore egalement une integration avec plusieurs
346 systemes de gestion de bases de donnees commerciaux et
347 non-connerciaux, qui rent facile la creation de pages web liees avec
348 des bases de donnees. L'utilisation la plus commune de PHP est
349 probablement en remplacement de scripts CGI. Le module mod_php permet
350 au serveur web Apache de comprendre et de traiter le langage PHP
351 integre dans des pages web. Ce package contient PHP version
354 %description -l pl.UTF-8
355 PHP jest językiem skryptowym, którego polecenia umieszcza się w
356 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
357 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
358 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
359 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
360 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
361 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
362 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
365 %description -l pt_BR.UTF-8
366 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
367 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
368 com algumas características únicas, específicas ao PHP. O objetivo da
369 linguagem é permitir que desenvolvedores web escrevam páginas
370 dinamicamente geradas de forma rápida.
372 %description -l ru.UTF-8
373 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
374 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
375 для работы с базами данных относительно просто. Наиболее популярное
376 использование PHP - замена для CGI скриптов.
378 %description -l uk.UTF-8
379 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
380 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
381 роботи з базами даних є доволі простим. Найбільш популярне
382 використання PHP - заміна для CGI скриптів.
384 %package -n apache1-mod_%{name}
385 Summary: PHP DSO module for Apache 1.3.x
386 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x
387 Group: Development/Languages/PHP
388 Requires: %{name}-common = %{epoch}:%{version}-%{release}
389 Requires: apache1(EAPI) >= 1.3.33-2
390 Requires: apache1-mod_mime
391 Provides: webserver(php) = %{version}
392 Obsoletes: apache-mod_php < 1:4.1.1
393 Obsoletes: apache1-mod_php < 4:5.3.28-7
396 %description -n apache1-mod_%{name}
397 PHP as DSO module for Apache 1.3.x.
399 %description -n apache1-mod_%{name} -l pl.UTF-8
400 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x.
402 %package -n apache-mod_%{name}
403 Summary: PHP DSO module for Apache 2.x
404 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
405 Group: Development/Languages/PHP
406 Requires: %{name}-common = %{epoch}:%{version}-%{release}
407 Requires: apache(modules-api) = %{apache_modules_api}
408 Requires: apache-mod_mime
409 Provides: webserver(php) = %{version}
410 Obsoletes: apache-mod_php < 4:5.3.28-7
413 %description -n apache-mod_%{name}
414 PHP as DSO module for Apache 2.x.
416 %description -n apache-mod_%{name} -l pl.UTF-8
417 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
420 Summary: PHP for litespeed HTTP server
421 Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
422 Group: Development/Languages/PHP
423 Requires: %{name}-common = %{epoch}:%{version}-%{release}
424 Provides: php(litespeed)
425 Provides: webserver(php) = %{version}
426 Obsoletes: php-litespeed < 4:5.3.28-7
428 %description litespeed
429 PHP for litespeed HTTP server.
431 %description litespeed -l pl.UTF-8
432 PHP dla serwera HTTP litespeed.
435 Summary: PHP as CGI/FastCGI program
436 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
437 Group: Development/Languages/PHP
438 Requires: %{name}-common = %{epoch}:%{version}-%{release}
439 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
442 Provides: webserver(php) = %{version}
443 Obsoletes: php-cgi < 4:5.3.28-7
444 Obsoletes: php-fcgi < 4:5.3.0
445 %if "%{pld_release}" != "ac"
446 Conflicts: logrotate < 3.8.0
450 PHP as CGI or FastCGI program.
452 %description cgi -l pl.UTF-8
453 PHP jako program CGI lub FastCGI.
456 Summary: PHP as CLI interpreter
457 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
458 Group: Development/Languages/PHP
459 Requires: %{name}-common = %{epoch}:%{version}-%{release}
460 Obsoletes: php-cli < 4:5.3.28-7
463 PHP as CLI interpreter.
465 %description cli -l pl.UTF-8
466 PHP jako interpreter działający z linii poleceń.
469 Summary: PHP library for embedding in applications
470 Summary(pl.UTF-8): Biblioteka PHP do osadzania w aplikacjach
472 Requires: %{name}-common = %{epoch}:%{version}-%{release}
473 Obsoletes: php-embedded < 4:5.3.28-7
475 %description embedded
476 The php-embedded package contains a library which can be embedded into
477 applications to provide PHP scripting language support.
479 %description embedded -l pl.UTF-8
480 Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
481 celu obsługi PHP jako języka skryptowego.
484 Summary: /usr/bin/php symlink
485 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
486 Group: Development/Languages/PHP
487 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
488 Obsoletes: /usr/bin/php
489 Obsoletes: php-program < 4:5.3.28-7
492 Package providing /usr/bin/php symlink to PHP CLI.
494 %description program -l pl.UTF-8
495 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
498 Summary: PHP FastCGI Process Manager
499 Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
500 Group: Development/Languages/PHP
501 URL: http://www.php-fpm.org/
502 Requires(post,preun): /sbin/chkconfig
503 Requires(postun): /usr/sbin/userdel
504 Requires(pre): /bin/id
505 Requires(pre): /usr/sbin/useradd
506 Requires: %{name}-common = %{epoch}:%{version}-%{release}
510 Provides: webserver(php) = %{version}
511 Obsoletes: php-fpm < 4:5.3.28-7
514 PHP FastCGI Process Manager.
516 %description fpm -l pl.UTF-8
517 PHP FastCGI Process Manager - zarządca procesów FastCGI.
520 Summary: The debugging platform for PHP 5.4+
521 Group: Development/Languages/PHP
522 Requires: %{name}-common = %{epoch}:%{version}-%{release}
523 Provides: php(phpdbg) = %{phpdbgver}
526 phpdbg - The interactive PHP debugger.
528 Implemented as a SAPI module, phpdbg can excert complete control over
529 the environment without impacting the functionality or performance of
532 phpdbg aims to be a lightweight, powerful, easy to use debugging
533 platform for PHP 5.4+
536 Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
537 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
538 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
539 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
541 Requires(post): sed >= 4.0
542 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
543 Requires: glibc >= 6:2.3.5
544 Requires: php-dirs >= 1.4
545 Requires: rpm-whiteout >= 1.28
547 Provides: %{name}(debug) = %{php_debug}
548 Provides: %{name}(modules_api) = %{php_api_version}
549 Provides: %{name}(thread-safety) = %{_zend_zts}
550 Provides: %{name}(zend_extension_api) = %{zend_extension_api}
551 Provides: %{name}(zend_module_api) = %{zend_module_api}
552 Provides: %{name}-core
553 Provides: %{name}-date
554 Provides: %{name}-ereg
555 Provides: %{name}-reflection
556 Provides: %{name}-standard
557 Provides: php(core) = %{version}
560 Provides: php(libxml)
561 Provides: php(reflection)
562 Provides: php(standard)
563 %{!?with_mysqlnd:Obsoletes: %{name}-mysqlnd}
564 %{?with_pcre:%requires_ge_to pcre pcre-devel}
566 Obsoletes: php-common < 4:5.3.28-7
567 Obsoletes: php-pecl-domxml
568 Conflicts: php4-common < 3:4.4.4-8
569 Conflicts: php55-common < 4:5.5.10-4
570 Conflicts: rpm < 4.4.2-0.2
573 Common files needed by both Apache modules and CGI/CLI SAPIs.
575 %description common -l pl.UTF-8
576 Wspólne pliki dla modułu Apache'a i programu CGI.
578 %description common -l ru.UTF-8
579 Этот пакет содержит общие файлы для разных вариантов реализации PHP
580 (самодостаточной и в качестве модуля Apache).
582 %description common -l uk.UTF-8
583 Цей пакет містить спільні файли для різних варіантів реалізації PHP
584 (самодостатньої та в якості модуля Apache).
587 Summary: Files for PHP modules development
588 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
589 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
590 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
591 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
592 Group: Development/Languages/PHP
593 Requires: %{name}-common = %{epoch}:%{version}-%{release}
594 Requires: autoconf >= 2.13
596 %if "%{pld_release}" != "ac"
597 Requires: libtool >= 2:2.2
601 %{?with_pcre:Requires: pcre-devel >= 8.10}
603 Provides: php-devel = %{epoch}:%{version}-%{release}
605 Obsoletes: php-pear-devel
606 Obsoletes: php4-devel
607 Obsoletes: php52-devel
608 Obsoletes: php53-devel
609 Obsoletes: php54-devel
610 Obsoletes: php55-devel
613 The php-devel package lets you compile dynamic extensions to PHP.
614 Included here is the source for the PHP extensions. Instead of
615 recompiling the whole PHP binary to add support for, say, oracle,
616 install this package and use the new self-contained extensions
617 support. For more information, read the file
618 README.SELF-CONTAINED-EXTENSIONS.
620 %description devel -l pl.UTF-8
621 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
622 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
623 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
624 samodzielnych rozszerzeniach można znaleźć w pliku
625 README.SELF-CONTAINED-EXTENSIONS.
627 %description devel -l pt_BR.UTF-8
628 Este pacote contém arquivos usados no desenvolvimento de programas ou
631 %description devel -l ru.UTF-8
632 Пакет php-devel дает возможность компилировать динамические расширения
633 PHP. Пакет включает исходный код этих расширений. Вместо повторной
634 компиляции бинарного файла PHP для добавления, например, поддержки
635 oracle, установите этот пакет для компилирования отдельных расширений.
636 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
638 %description devel -l uk.UTF-8
639 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
640 До пакету включено вихідний код для розширень. Замість повторної
641 компіляції бінарного файлу PHP для додання, наприклад, підтримки
642 oracle, встановіть цей пакет для компіляції окремих розширень.
643 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
646 Summary: bcmath extension module for PHP
647 Summary(pl.UTF-8): Moduł bcmath dla PHP
649 URL: http://www.php.net/manual/en/book.bc.php
650 Requires: %{name}-common = %{epoch}:%{version}-%{release}
651 Provides: php(bcmath)
652 Obsoletes: php-bcmath < 4:5.3.28-7
655 This is a dynamic shared object (DSO) for PHP that will add bc style
656 precision math functions support.
658 %description bcmath -l pl.UTF-8
659 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
660 matematycznych takich jak w programie bc.
663 Summary: Bzip2 extension module for PHP
664 Summary(pl.UTF-8): Moduł bzip2 dla PHP
666 URL: http://www.php.net/manual/en/book.bzip2.php
667 Requires: %{name}-common = %{epoch}:%{version}-%{release}
668 Provides: php(bz2) = %{bz2ver}
670 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
671 Obsoletes: php-bz2 < 4:5.3.28-7
672 Obsoletes: php-bzip2 < 4:5.2.14-3
673 Obsoletes: php-pecl-bz2 < %{bz2ver}
676 This is a dynamic shared object (DSO) for PHP that will add bzip2
677 compression support to PHP.
679 %description bz2 -l pl.UTF-8
680 Moduł PHP umożliwiający używanie kompresji bzip2.
683 Summary: Calendar extension module for PHP
684 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
686 URL: http://www.php.net/manual/en/book.calendar.php
687 Requires: %{name}-common = %{epoch}:%{version}-%{release}
688 Provides: php(calendar)
689 Obsoletes: php-calendar < 4:5.3.28-7
691 %description calendar
692 This is a dynamic shared object (DSO) for PHP that will add calendar
695 %description calendar -l pl.UTF-8
696 Moduł PHP dodający wsparcie dla kalendarza.
699 Summary: ctype extension module for PHP
700 Summary(pl.UTF-8): Moduł ctype dla PHP
702 URL: http://www.php.net/manual/en/book.ctype.php
703 Requires: %{name}-common = %{epoch}:%{version}-%{release}
705 Obsoletes: php-ctype < 4:5.3.28-7
708 This is a dynamic shared object (DSO) for PHP that will add ctype
711 %description ctype -l pl.UTF-8
712 Moduł PHP umożliwiający korzystanie z funkcji ctype.
715 Summary: curl extension module for PHP
716 Summary(pl.UTF-8): Moduł curl dla PHP
718 URL: http://www.php.net/manual/en/book.curl.php
719 Requires: %{name}-common = %{epoch}:%{version}-%{release}
721 Obsoletes: php-curl < 4:5.3.28-7
724 This is a dynamic shared object (DSO) for PHP that will add curl
727 %description curl -l pl.UTF-8
728 Moduł PHP umożliwiający korzystanie z biblioteki curl.
731 Summary: DBA extension module for PHP
732 Summary(pl.UTF-8): Moduł DBA dla PHP
734 URL: http://www.php.net/manual/en/book.dba.php
735 Requires: %{name}-common = %{epoch}:%{version}-%{release}
737 Obsoletes: php-dba < 4:5.3.28-7
740 This is a dynamic shared object (DSO) for PHP that will add flat-file
741 databases (DBA) support.
743 %description dba -l pl.UTF-8
744 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
748 Summary: DOM extension module for PHP
749 Summary(pl.UTF-8): Moduł DOM dla PHP
751 URL: http://www.php.net/manual/en/book.dom.php
752 Requires: %{name}-common = %{epoch}:%{version}-%{release}
754 # it has some compatibility functions
755 Provides: %{name}-domxml = %{epoch}:%{version}-%{release}
756 Provides: php(domxml)
757 Obsoletes: php-dom < 4:5.3.28-7
758 Obsoletes: php-domxml <= 3:4.3.8-1
761 This is a dynamic shared object (DSO) for PHP that will add new DOM
764 %description dom -l pl.UTF-8
765 Moduł PHP dodający nową obsługę DOM.
768 Summary: libenchant binder
769 Summary(pl.UTF-8): dowiązania biblioteki libenchant
771 URL: http://www.php.net/manual/en/book.exif.php
772 Requires: %{name}-common = %{epoch}:%{version}-%{release}
773 Provides: php(enchant) = %{enchantver}
774 Obsoletes: php-enchant < 4:5.3.28-7
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}
804 Obsoletes: php-exif < 4:5.3.28-7
807 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
808 support in image files.
810 %description exif -l pl.UTF-8
811 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
814 Summary: libmagic bindings
815 Summary(pl.UTF-8): Wiązania do libmagic
817 URL: http://www.php.net/manual/en/book.fileinfo.php
818 Requires: %{name}-common = %{epoch}:%{version}-%{release}
819 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
820 Provides: php(fileinfo) = %{fileinfover}
821 Obsoletes: php-fileinfo < 4:5.3.28-7
822 Obsoletes: php-mime_magic
823 Obsoletes: php-pecl-fileinfo < %{fileinfover}
825 %description fileinfo
826 This extension allows retrieval of information regarding vast majority
827 of file. This information may include dimensions, quality, length
830 Additionally it can also be used to retrieve the MIME type for a
831 particular file and for text files proper language encoding.
833 %description fileinfo -l pl.UTF-8
834 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
835 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
837 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
838 pliku oraz kodowania plików tekstowych.
841 Summary: Extension for safely dealing with input parameters
842 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
844 URL: http://www.php.net/manual/en/book.filter.php
845 Requires: %{name}-common = %{epoch}:%{version}-%{release}
846 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
847 Provides: php(filter)
848 Obsoletes: php-filter < 4:5.3.28-7
849 Obsoletes: php-pecl-filter
852 We all know that you should always check input variables, but PHP does
853 not offer really good functionality for doing this in a safe way. The
854 Input Filter extension is meant to address this issue by implementing
855 a set of filters and mechanisms that users can use to safely access
858 %description filter -l pl.UTF-8
859 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
860 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
861 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
862 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
863 mogą bezpiecznie używać do dostępu do danych.
866 Summary: FTP extension module for PHP
867 Summary(pl.UTF-8): Moduł FTP dla PHP
869 URL: http://www.php.net/manual/en/book.ftp.php
870 Requires: %{name}-common = %{epoch}:%{version}-%{release}
872 Obsoletes: php-ftp < 4:5.3.28-7
875 This is a dynamic shared object (DSO) for PHP that will add FTP
878 %description ftp -l pl.UTF-8
879 Moduł PHP dodający obsługę protokołu FTP.
882 Summary: GD extension module for PHP
883 Summary(pl.UTF-8): Moduł GD dla PHP
885 URL: http://www.php.net/manual/en/book.image.php
886 Requires: %{name}-common = %{epoch}:%{version}-%{release}
887 %if %{with system_gd}
892 Obsoletes: php-gd < 4:5.3.28-7
895 This is a dynamic shared object (DSO) for PHP that will add GD
896 support, allowing you to create and manipulate images with PHP.
898 %description gd -l pl.UTF-8
899 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
900 tworzenie i obróbkę obrazków.
903 Summary: gettext extension module for PHP
904 Summary(pl.UTF-8): Moduł gettext dla PHP
906 URL: http://www.php.net/manual/en/book.gettext.php
907 Requires: %{name}-common = %{epoch}:%{version}-%{release}
908 Provides: php(gettext)
909 Obsoletes: php-gettext < 4:5.3.28-7
912 This is a dynamic shared object (DSO) for PHP that will add gettext
915 %description gettext -l pl.UTF-8
916 Moduł PHP dodający obsługę lokalizacji przez gettext.
919 Summary: gmp extension module for PHP
920 Summary(pl.UTF-8): Moduł gmp dla PHP
922 URL: http://www.php.net/manual/en/book.gmp.php
923 Requires: %{name}-common = %{epoch}:%{version}-%{release}
925 Obsoletes: php-gmp < 4:5.3.28-7
928 This is a dynamic shared object (DSO) for PHP that will add arbitrary
929 length number support with GNU MP library.
931 %description gmp -l pl.UTF-8
932 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
933 liczbach o dowolnej długości.
936 Summary: HASH Message Digest Framework
937 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
939 URL: http://www.php.net/manual/en/book.gmp.php
940 Requires: %{name}-common = %{epoch}:%{version}-%{release}
941 Provides: php(hash) = %{hashver}
944 Provides: php-mhash = %{epoch}:%{version}-%{release}
945 Obsoletes: php-mhash < 4:5.3.0
947 Obsoletes: php-hash < 4:5.3.28-7
948 Obsoletes: php-pecl-hash < %{hashver}
951 Native implementations of common message digest algorithms using a
952 generic factory method.
954 %description hash -l pl.UTF-8
955 Natywne implementacje popularnych algorytmów obliczania skrótów
956 wiadomości przy użyciu wspólnego interfejsu.
959 Summary: iconv extension module for PHP
960 Summary(pl.UTF-8): Moduł iconv dla PHP
962 URL: http://www.php.net/manual/en/book.iconv.php
963 Requires: %{_libdir}/gconv
964 Requires: %{name}-common = %{epoch}:%{version}-%{release}
967 Obsoletes: php-iconv < 4:5.3.28-7
970 This is a dynamic shared object (DSO) for PHP that will add iconv
973 %description iconv -l pl.UTF-8
974 Moduł PHP dodający obsługę iconv.
977 Summary: IMAP extension module for PHP
978 Summary(pl.UTF-8): Moduł IMAP dla PHP
979 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
981 URL: http://www.php.net/manual/en/book.imap.php
982 Requires: %{name}-common = %{epoch}:%{version}-%{release}
983 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
984 Requires: imap-lib >= 1:2007e-2
986 Obsoletes: php-imap < 4:5.3.28-7
989 This is a dynamic shared object (DSO) for PHP that will add IMAP
992 %description imap -l pl.UTF-8
993 Moduł PHP dodający obsługę skrzynek IMAP.
995 %description imap -l pt_BR.UTF-8
996 Um módulo para aplicações PHP que usam IMAP.
999 Summary: InterBase/Firebird database module for PHP
1000 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
1002 URL: http://www.php.net/manual/en/book.ibase.php
1003 %if %{with interbase_inst}
1004 %{?requires_php_extension}
1006 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1008 Provides: php(interbase)
1009 Obsoletes: php-interbase < 4:5.3.28-7
1011 %description interbase
1012 This is a dynamic shared object (DSO) for PHP that will add InterBase
1013 and Firebird database support.
1015 %description interbase -l pl.UTF-8
1016 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
1019 Summary: Internationalization extension (ICU wrapper)
1020 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
1022 URL: http://www.php.net/intl
1023 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1024 Provides: php(intl) = %{intlver}
1025 Obsoletes: php-intl < 4:5.3.28-7
1026 Obsoletes: php-pecl-intl < %{intlver}
1029 Internationalization extension (further is referred as Intl) is a
1030 wrapper for ICU library, enabling PHP programmers to perform
1031 UCA-conformant collation and date/time/number/currency formatting in
1034 %description intl -l pl.UTF-8
1035 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
1036 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
1037 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
1041 Summary: PHP C extension for JSON serialization
1042 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
1044 URL: http://www.php.net/manual/en/book.json.php
1045 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1046 Provides: php(json) = %{jsonver}
1047 Obsoletes: php-json < 4:5.3.28-7
1048 Obsoletes: php-pecl-json < %{jsonver}
1051 php-json is an extremely fast PHP C extension for JSON (JavaScript
1052 Object Notation) serialisation.
1054 %description json -l pl.UTF-8
1055 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
1056 (JavaScript Object Notation).
1059 Summary: LDAP extension module for PHP
1060 Summary(pl.UTF-8): Moduł LDAP dla PHP
1061 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
1063 URL: http://www.php.net/manual/en/book.ldap.php
1064 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1066 Obsoletes: php-ldap < 4:5.3.28-7
1069 This is a dynamic shared object (DSO) for PHP that will add LDAP
1072 %description ldap -l pl.UTF-8
1073 Moduł PHP dodający obsługę LDAP.
1075 %description ldap -l pt_BR.UTF-8
1076 Um módulo para aplicações PHP que usam LDAP.
1079 Summary: mbstring extension module for PHP
1080 Summary(pl.UTF-8): Moduł mbstring dla PHP
1082 URL: http://www.php.net/manual/en/book.mbstring.php
1083 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1084 Provides: php(mbstring)
1085 Obsoletes: php-mbstring < 4:5.3.28-7
1087 %description mbstring
1088 This is a dynamic shared object (DSO) for PHP that will add multibyte
1091 %description mbstring -l pl.UTF-8
1092 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1095 Summary: mcrypt extension module for PHP
1096 Summary(pl.UTF-8): Moduł mcrypt dla PHP
1098 URL: http://www.php.net/manual/en/book.mcrypt.php
1099 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1100 Provides: php(mcrypt)
1101 Obsoletes: php-mcrypt < 4:5.3.28-7
1104 This is a dynamic shared object (DSO) for PHP that will add mcrypt
1107 %description mcrypt -l pl.UTF-8
1108 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
1111 Summary: MS SQL extension module for PHP
1112 Summary(pl.UTF-8): Moduł MS SQL dla PHP
1114 URL: http://www.php.net/manual/en/book.mssql.php
1115 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1116 Provides: php(mssql)
1117 Obsoletes: php-mssql < 4:5.3.28-7
1120 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1121 databases support through FreeTDS library.
1123 %description mssql -l pl.UTF-8
1124 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
1128 Summary: MySQL database module for PHP
1129 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
1130 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
1132 URL: http://www.php.net/manual/en/book.mysql.php
1133 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1134 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1135 Provides: php(mysql)
1136 Obsoletes: php-mysql < 4:5.3.28-7
1139 This is a dynamic shared object (DSO) for PHP that will add MySQL
1142 %description mysql -l pl.UTF-8
1143 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
1145 %description mysql -l pt_BR.UTF-8
1146 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1149 Summary: MySQLi module for PHP
1150 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1152 URL: http://www.php.net/manual/en/book.mysqli.php
1153 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1154 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1155 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1156 Provides: php(mysqli)
1157 Obsoletes: php-mysqli < 4:5.3.28-7
1160 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1161 (Improved MySQL) support. The difference between it and mysql module
1162 is that it provides access to functionality of MySQL 4.1 and above.
1164 %description mysqli -l pl.UTF-8
1165 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1166 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1167 MySQL w wersji 4.1 i nowszych.
1170 Summary: MySQL Native Client Driver for PHP
1171 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1173 URL: http://www.php.net/manual/en/book.mysqlnd.php
1174 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1175 Provides: php(mysqlnd)
1176 Obsoletes: php-mysqlnd < 4:5.3.28-7
1178 %description mysqlnd
1179 MySQL Native Driver is a replacement for the MySQL Client Library
1182 Because MySQL Native Driver is written as a PHP extension, it is
1183 tightly coupled to the workings of PHP. This leads to gains in
1184 efficiency, especially when it comes to memory usage, as the driver
1185 uses the PHP memory management system. It also supports the PHP memory
1186 limit. Using MySQL Native Driver leads to comparable or better
1187 performance than using MySQL Client Library, it always ensures the
1188 most efficient use of memory. One example of the memory efficiency is
1189 the fact that when using the MySQL Client Library, each row is stored
1190 in memory twice, whereas with the MySQL Native Driver each row is only
1191 stored once in memory.
1193 %description mysqlnd -l pl.UTF-8
1194 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1195 klienckiej MySQL (libmysql).
1197 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1198 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1199 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1200 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1201 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1202 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1203 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1204 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1205 tym sterowniku - tylko raz.
1208 Summary: Oracle 8+ database module for PHP
1209 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1211 URL: http://www.php.net/manual/en/book.oci8.php
1212 %{?requires_php_extension}
1214 Obsoletes: php-oci8 < 4:5.3.28-7
1217 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1218 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1220 %description oci8 -l pl.UTF-8
1221 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1222 poprzez interfejs Oracle8 Call-Interface (OCI8).
1225 Summary: ODBC extension module for PHP
1226 Summary(pl.UTF-8): Moduł ODBC dla PHP
1227 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1229 URL: http://www.php.net/manual/en/book.uodbc.php
1230 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1231 Requires: unixODBC >= 2.1.1-3
1233 Obsoletes: php-odbc < 4:5.3.28-7
1236 This is a dynamic shared object (DSO) for PHP that will add ODBC
1239 %description odbc -l pl.UTF-8
1240 Moduł PHP ze wsparciem dla ODBC.
1242 %description odbc -l pt_BR.UTF-8
1243 Um módulo para aplicações PHP que usam ODBC.
1246 Summary: Zend Optimizer+ - PHP code optimizer
1247 Summary(pl.UTF-8): Zend Optimizer+ - optymalizator kodu PHP
1249 URL: https://wiki.php.net/rfc/optimizerplus
1250 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1251 Provides: php(opcache) = %{opcachever}
1253 %description opcache
1254 The Zend OPcache provides faster PHP execution through opcode caching
1255 and optimization. It improves PHP performance by storing precompiled
1256 script bytecode in the shared memory. This eliminates the stages of
1257 reading code from the disk and compiling it on future access. In
1258 addition, it applies a few bytecode optimization patterns that make
1259 code execution faster.
1261 %description opcache -l pl.UTF-8
1262 Zend OPcache zapewnia szybsze wykonywanie kodu PHP dzięki buforowaniu
1263 i optymalizacji na poziomie opcode'ów. Poprawia wydajność PHP
1264 przechowując prekompilowany bajtkod skryptu w pamięci współdzielonej.
1265 Eliminuje etapy odczytu kodu z dysku i kompilacji przy późniejszym
1266 dostępie. Ponadto wykonuje kilka wzorców optymalizacji bajtkodu,
1267 czyniąc wykonywanie kodu szybszym.
1270 Summary: OpenSSL extension module for PHP
1271 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1273 URL: http://www.php.net/manual/en/book.openssl.php
1274 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1275 Provides: php(openssl)
1276 Obsoletes: php-openssl < 4:5.3.28-7
1278 %description openssl
1279 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1282 %description openssl -l pl.UTF-8
1283 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1286 Summary: Process Control extension module for PHP
1287 Summary(pl.UTF-8): Moduł Process Control dla PHP
1289 URL: http://www.php.net/manual/en/book.pcntl.php
1290 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1291 Provides: php(pcntl)
1292 Obsoletes: php-pcntl < 4:5.3.28-7
1295 This is a dynamic shared object (DSO) for PHP that will add process
1296 spawning and control support. It supports functions like fork(),
1297 waitpid(), signal() etc.
1299 %description pcntl -l pl.UTF-8
1300 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1301 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1304 Summary: PCRE extension module for PHP
1305 Summary(pl.UTF-8): Moduł PCRE dla PHP
1307 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1309 Obsoletes: php-pcre < 4:5.3.28-7
1312 This is a dynamic shared object (DSO) for PHP that will add Perl
1313 Compatible Regular Expression support.
1315 %description pcre -l pl.UTF-8
1316 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1317 (Perl Compatible Regular Expressions)
1320 Summary: PHP Data Objects (PDO)
1321 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1323 URL: http://www.php.net/manual/en/book.pdo.php
1324 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1325 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1326 Provides: %{name}(PDO_API) = %{php_pdo_api_version}
1328 Obsoletes: php-pdo < 4:5.3.28-7
1329 Obsoletes: php-pecl-PDO
1332 This is a dynamic shared object (DSO) for PHP that will add PDO
1335 %description pdo -l pl.UTF-8
1336 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1339 Summary: PHP Data Objects (PDO) FreeTDS support
1340 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1342 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1343 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1344 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1345 Provides: php(dblib)
1346 Obsoletes: php-pdo-dblib < 4:5.3.28-7
1348 %description pdo-dblib
1349 This is a dynamic shared object (DSO) for PHP that will add PDO
1352 %description pdo-dblib -l pl.UTF-8
1353 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1356 %package pdo-firebird
1357 Summary: PHP Data Objects (PDO) Firebird support
1358 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1360 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1361 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1362 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1363 Provides: php(pdo-firebird)
1364 Obsoletes: php-pdo-firebird < 4:5.3.28-7
1365 Obsoletes: php-pecl-PDO_FIREBIRD
1367 %description pdo-firebird
1368 This is a dynamic shared object (DSO) for PHP that will add PDO
1371 %description pdo-firebird -l pl.UTF-8
1372 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1376 Summary: PHP Data Objects (PDO) MySQL support
1377 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1379 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1380 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1381 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1382 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1383 Provides: php(pdo-mysql)
1384 Obsoletes: php-pdo-mysql < 4:5.3.28-7
1385 Obsoletes: php-pecl-PDO_MYSQL
1387 %description pdo-mysql
1388 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1391 %description pdo-mysql -l pl.UTF-8
1392 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1396 Summary: PHP Data Objects (PDO) Oracle support
1397 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1399 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1400 %{?requires_php_extension}
1401 %{?requires_php_pdo_module}
1402 Provides: php(pdo-oci)
1403 Obsoletes: php-pdo-oci < 4:5.3.28-7
1404 Obsoletes: php-pecl-PDO_OCI
1406 %description pdo-oci
1407 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1410 %description pdo-oci -l pl.UTF-8
1411 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1415 Summary: PHP Data Objects (PDO) ODBC support
1416 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1418 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1419 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1420 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1421 Provides: php(pdo-odbc)
1422 Obsoletes: php-pdo-odbc < 4:5.3.28-7
1423 Obsoletes: php-pecl-PDO_ODBC
1425 %description pdo-odbc
1426 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1429 %description pdo-odbc -l pl.UTF-8
1430 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1434 Summary: PHP Data Objects (PDO) PostgreSQL support
1435 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1437 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1438 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1439 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1440 Provides: php(pdo-pgsql)
1441 Provides: php-pecl-PDO_PGSQL
1442 Obsoletes: php-pdo-pgsql < 4:5.3.28-7
1443 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1445 %description pdo-pgsql
1446 This is a dynamic shared object (DSO) for PHP that will add PDO
1449 %description pdo-pgsql -l pl.UTF-8
1450 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1454 Summary: PHP Data Objects (PDO) SQLite support
1455 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1457 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1458 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1459 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1460 Provides: php(pdo-sqlite)
1461 Obsoletes: php-pdo-sqlite < 4:5.3.28-7
1462 Obsoletes: php-pecl-PDO_SQLITE
1464 %description pdo-sqlite
1465 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1468 %description pdo-sqlite -l pl.UTF-8
1469 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1473 Summary: PostgreSQL database module for PHP
1474 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1476 URL: http://www.php.net/manual/en/book.pgsql.php
1477 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1478 Provides: php(pgsql)
1479 Obsoletes: php-pgsql < 4:5.3.28-7
1482 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1485 %description pgsql -l pl.UTF-8
1486 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1488 %description pgsql -l pt_BR.UTF-8
1489 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1492 Summary: phar database module for PHP
1493 Summary(pl.UTF-8): Moduł phar dla PHP
1495 URL: http://www.php.net/manual/en/book.phar.php
1496 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1497 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1498 Suggests: %{name}-cli
1499 # zlib is required by phar program, but as phar cli is optional should the dep be too
1500 Suggests: %{name}-zlib
1501 Provides: php(phar) = %{pharver}
1502 Obsoletes: php-pecl-phar < %{pharver}
1503 Obsoletes: php-phar < 4:5.3.28-7
1504 Conflicts: php-ioncube < 4.0.9
1507 This is a dynamic shared object (DSO) for PHP that will add phar
1510 %description phar -l pl.UTF-8
1511 Moduł PHP umożliwiający dostęp do achiwów .phar.
1514 Summary: POSIX extension module for PHP
1515 Summary(pl.UTF-8): Moduł POSIX dla PHP
1517 URL: http://www.php.net/manual/en/book.posix.php
1518 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1519 Provides: php(posix)
1520 Obsoletes: php-posix < 4:5.3.28-7
1523 This is a dynamic shared object (DSO) for PHP that will add POSIX
1524 functions support to PHP.
1526 %description posix -l pl.UTF-8
1527 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1530 Summary: pspell extension module for PHP
1531 Summary(pl.UTF-8): Moduł pspell dla PHP
1533 URL: http://www.php.net/manual/en/book.pspell.php
1534 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1535 Provides: php(pspell)
1536 Obsoletes: php-pspell < 4:5.3.28-7
1539 This is a dynamic shared object (DSO) for PHP that will add pspell
1540 support to PHP. It allows to check the spelling of a word and offer
1543 %description pspell -l pl.UTF-8
1544 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1545 sprawdzanie pisowni słowa i sugerowanie poprawek.
1548 Summary: readline extension module for PHP
1549 Summary(pl.UTF-8): Moduł readline dla PHP
1551 URL: http://www.php.net/manual/en/book.readline.php
1552 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1553 Provides: php(readline)
1554 Obsoletes: php-readline < 4:5.3.28-7
1556 %description readline
1557 This PHP module adds support for readline functions (only for cli and
1560 %description readline -l pl.UTF-8
1561 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1564 Summary: recode extension module for PHP
1565 Summary(pl.UTF-8): Moduł recode dla PHP
1567 URL: http://www.php.net/manual/en/book.recode.php
1568 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1569 Requires: recode >= 3.5d-3
1570 Provides: php(recode)
1571 Obsoletes: php-recode < 4:5.3.28-7
1574 This is a dynamic shared object (DSO) for PHP that will add recode
1577 %description recode -l pl.UTF-8
1578 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1582 Summary: session extension module for PHP
1583 Summary(pl.UTF-8): Moduł session dla PHP
1585 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1586 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1587 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1589 Provides: php(session)
1590 Obsoletes: php-session < 4:5.3.28-7
1592 %description session
1593 This is a dynamic shared object (DSO) for PHP that will add session
1596 %description session -l pl.UTF-8
1597 Moduł PHP dodający obsługę sesji.
1600 Summary: Shared Memory Operations extension module for PHP
1601 Summary(pl.UTF-8): Moduł shmop dla PHP
1603 URL: http://www.php.net/manual/en/book.shmop.php
1604 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1605 Provides: php(shmop)
1606 Obsoletes: php-shmop < 4:5.3.28-7
1609 This is a dynamic shared object (DSO) for PHP that will add Shared
1610 Memory Operations support.
1612 %description shmop -l pl.UTF-8
1613 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1616 Summary: Simple XML extension module for PHP
1617 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1619 URL: http://www.php.net/manual/en/book.simplexml.php
1620 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1621 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1622 Provides: php(simplexml)
1623 Obsoletes: php-simplexml < 4:5.3.28-7
1625 %description simplexml
1626 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1629 %description simplexml -l pl.UTF-8
1630 Moduł PHP dodający obsługę prostego XML-a.
1633 Summary: SNMP extension module for PHP
1634 Summary(pl.UTF-8): Moduł SNMP dla PHP
1636 URL: http://www.php.net/manual/en/book.snmp.php
1637 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1638 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1639 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1641 Obsoletes: php-snmp < 4:5.3.28-7
1644 This is a dynamic shared object (DSO) for PHP that will add SNMP
1647 %description snmp -l pl.UTF-8
1648 Moduł PHP dodający obsługę SNMP.
1651 Summary: soap extension module for PHP
1652 Summary(pl.UTF-8): Moduł soap dla PHP
1654 URL: http://www.php.net/manual/en/book.soap.php
1655 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1657 Obsoletes: php-soap < 4:5.3.28-7
1660 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1663 %description soap -l pl.UTF-8
1664 Moduł PHP dodający obsługę SOAP/WSDL.
1667 Summary: sockets extension module for PHP
1668 Summary(pl.UTF-8): Moduł socket dla PHP
1670 URL: http://www.php.net/manual/en/book.sockets.php
1671 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1672 Provides: php(sockets)
1673 Obsoletes: php-sockets < 4:5.3.28-7
1675 %description sockets
1676 This is a dynamic shared object (DSO) for PHP that will add sockets
1679 %description sockets -l pl.UTF-8
1680 Moduł PHP dodający obsługę gniazdek.
1683 Summary: Standard PHP Library module for PHP
1684 Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1686 URL: http://php.net/manual/en/book.spl.php
1687 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1688 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1689 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1691 Obsoletes: php-spl < 4:5.3.28-7
1694 This is a dynamic shared object (DSO) for PHP that will add Standard
1695 PHP Library support.
1697 %description spl -l pl.UTF-8
1698 Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1701 Summary: SQLite3 extension module for PHP
1702 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1704 URL: http://php.net/manual/en/book.sqlite3.php
1705 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1706 Provides: php(sqlite3) = %{sqlite3ver}
1707 Obsoletes: php-sqlite3 < 4:5.3.28-7
1709 %description sqlite3
1710 SQLite is a C library that implements an embeddable SQL database
1711 engine. Programs that link with the SQLite library can have SQL
1712 database access without running a separate RDBMS process.
1714 SQLite is not a client library used to connect to a big database
1715 server. SQLite is the server. The SQLite library reads and writes
1716 directly to and from the database files on disk.
1718 %description sqlite3 -l pl.UTF-8
1719 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1720 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1721 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1724 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1725 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1726 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1730 Summary: Sybase-CT extension module for PHP
1731 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1733 URL: http://www.php.net/manual/en/book.sybase.php
1734 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1735 Provides: php(sybase-ct)
1736 Obsoletes: php-sybase
1737 Obsoletes: php-sybase-ct < 4:5.3.28-7
1739 %description sybase-ct
1740 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1741 MS SQL databases support through CT-lib.
1743 %description sybase-ct -l pl.UTF-8
1744 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1748 Summary: SysV msg extension module for PHP
1749 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1751 URL: http://www.php.net/manual/en/book.sem.php
1752 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1753 Provides: php(sysvmsg)
1754 Obsoletes: php-sysvmsg < 4:5.3.28-7
1756 %description sysvmsg
1757 This is a dynamic shared object (DSO) for PHP that will add SysV
1758 message queues support.
1760 %description sysvmsg -l pl.UTF-8
1761 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1764 Summary: SysV sem extension module for PHP
1765 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1767 URL: http://www.php.net/manual/en/book.sem.php
1768 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1769 Provides: php(sysvsem)
1770 Obsoletes: php-sysvsem < 4:5.3.28-7
1772 %description sysvsem
1773 This is a dynamic shared object (DSO) for PHP that will add SysV
1776 %description sysvsem -l pl.UTF-8
1777 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1780 Summary: SysV shm extension module for PHP
1781 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1783 URL: http://www.php.net/manual/en/book.shmop.php
1784 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1785 Provides: php(sysvshm)
1786 Obsoletes: php-sysvshm < 4:5.3.28-7
1788 %description sysvshm
1789 This is a dynamic shared object (DSO) for PHP that will add SysV
1790 Shared Memory support.
1792 %description sysvshm -l pl.UTF-8
1793 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1796 Summary: Contains unit test files for PHP and extensions
1797 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1799 URL: http://qa.php.net/
1800 Requires: %{name}-cli
1803 This package contains unit tests for PHP and its extensions.
1805 %description tests -l pl.UTF-8
1806 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1809 Summary: Tidy extension module for PHP
1810 Summary(pl.UTF-8): Moduł Tidy dla PHP
1812 URL: http://www.php.net/manual/en/book.tidy.php
1813 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1816 Obsoletes: php-tidy < 4:5.3.28-7
1819 This is a dynamic shared object (DSO) for PHP that will add Tidy
1822 %description tidy -l pl.UTF-8
1823 Moduł PHP umożliwiający korzystanie z tidy.
1826 Summary: tokenizer extension module for PHP
1827 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1829 URL: http://www.php.net/manual/en/book.tokenizer.php
1830 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1831 Provides: php(tokenizer)
1832 Obsoletes: php-tokenizer < 4:5.3.28-7
1834 %description tokenizer
1835 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1838 %description tokenizer -l pl.UTF-8
1839 Moduł PHP dodający obsługę tokenizera do PHP.
1842 Summary: wddx extension module for PHP
1843 Summary(pl.UTF-8): Moduł wddx dla PHP
1845 URL: http://www.php.net/manual/en/book.wddx.php
1846 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1847 # - wddx doesn't require session as it's disabled at compile time:
1848 # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1849 # see also php.spec#rev1.120.2.22
1850 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1851 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1853 Obsoletes: php-wddx < 4:5.3.28-7
1856 This is a dynamic shared object (DSO) for PHP that will add wddx
1859 %description wddx -l pl.UTF-8
1860 Moduł PHP umożliwiający korzystanie z wddx.
1863 Summary: XML extension module for PHP
1864 Summary(pl.UTF-8): Moduł XML dla PHP
1866 URL: http://www.php.net/manual/en/book.xml.php
1867 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1869 Obsoletes: php-xml < 4:5.3.28-7
1872 This is a dynamic shared object (DSO) for PHP that will add XML
1873 support. This extension lets you create XML parsers and then define
1874 handlers for different XML events.
1876 %description xml -l pl.UTF-8
1877 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1878 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1879 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1882 Summary: XML Reader extension module for PHP
1883 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1885 URL: http://www.php.net/manual/en/book.xmlreader.php
1886 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1887 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1888 Provides: php(xmlreader)
1889 Obsoletes: php-xmlreader < 4:5.3.28-7
1891 %description xmlreader
1892 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1893 support. The XMLReader extension is an XML Pull parser. The reader
1894 acts as a cursor going forward on the document stream and stopping at
1895 each node on the way.
1897 %description xmlreader -l pl.UTF-8
1898 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1899 działa jako kursor przechodzący przez strumień dokumentu i
1900 zatrzymujący się na każdym węźle po drodze.
1903 Summary: xmlrpc extension module for PHP
1904 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1906 URL: http://www.php.net/manual/en/book.xmlrpc.php
1907 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1908 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1909 Provides: php(xmlrpc)
1910 Obsoletes: php-xmlrpc < 4:5.3.28-7
1913 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1916 %description xmlrpc -l pl.UTF-8
1917 Moduł PHP dodający obsługę XMLRPC.
1920 Summary: Fast, non-cached, forward-only means to write XML data
1921 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1923 URL: http://www.php.net/manual/en/book.xmlwriter.php
1924 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1925 Provides: php(xmlwriter)
1926 Obsoletes: php-pecl-xmlwriter
1927 Obsoletes: php-xmlwriter < 4:5.3.28-7
1929 %description xmlwriter
1930 This extension wraps the libxml xmlWriter API. Represents a writer
1931 that provides a non-cached, forward-only means of generating streams
1932 or files containing XML data.
1934 %description xmlwriter -l pl.UTF-8
1935 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1936 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1937 plików zawierających dane XML.
1940 Summary: xsl extension module for PHP
1941 Summary(pl.UTF-8): Moduł xsl dla PHP
1943 URL: http://www.php.net/manual/en/book.xsl.php
1944 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1945 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1946 Requires: libxslt >= 1.0.18
1948 Obsoletes: php-xsl < 4:5.3.28-7
1949 # actually not true, functionality is similar, but API differs
1950 Obsoletes: php-xslt <= 3:4.3.8-1
1953 This is a dynamic shared object (DSO) for PHP that will add new XSL
1954 support (using libxslt).
1956 %description xsl -l pl.UTF-8
1957 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1960 Summary: Zip management extension
1961 Summary(pl.UTF-8): Zarządzanie archiwami zip
1963 URL: http://www.php.net/manual/en/book.zip.php
1964 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1965 %{?with_system_libzip:Requires: libzip >= 0.10.1-2}
1966 Provides: php(zip) = %{zipver}
1967 Obsoletes: php-pecl-zip < %{zipver}
1968 Obsoletes: php-zip < 4:5.3.28-7
1971 Zip is an extension to create, modify and read zip files.
1973 %description zip -l pl.UTF-8
1974 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1975 odczyt archiwów zip.
1978 Summary: Zlib extension module for PHP
1979 Summary(pl.UTF-8): Moduł zlib dla PHP
1981 URL: http://www.php.net/manual/en/book.zlib.php
1982 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1984 Obsoletes: php-zlib < 4:5.3.28-7
1987 This is a dynamic shared object (DSO) for PHP that will add zlib
1988 compression support to PHP.
1990 %description zlib -l pl.UTF-8
1991 Moduł PHP umożliwiający używanie kompresji zlib.
1994 %setup -q -n %{orgname}-%{version}%{?subver}
1995 cp -p php.ini-production php.ini
2019 %if "%{pld_release}" != "ac"
2029 # create split php-fpm.conf patch. review (restore other diffs) and commit
2030 cp sapi/fpm/php-fpm.conf.in{,.orig}
2031 %{__sed} -n -e '/; Start a new pool named/,$p' sapi/fpm/php-fpm.conf.in > sapi/fpm/php-fpm.conf-d.in
2032 %{__sed} -i -e '/; Include one or more files/,/include=etc\/fpm\.d/d' sapi/fpm/php-fpm.conf.in
2033 %{__sed} -i -e '/; Start a new pool named/,$d' sapi/fpm/php-fpm.conf.in
2036 diff -u %{orgname}-%{version}/sapi/fpm/php-fpm.conf.in{.orig,} > %{PATCH69}
2037 diff -u /dev/null %{orgname}-%{version}/sapi/fpm/php-fpm.conf-d.in >> %{PATCH69}
2047 #%patch45 -p1 # imap annotations. fixme
2048 #%patch46 -p1 # imap myrights. fixme
2056 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
2062 %{?with_system_libzip:%patch65 -p1}
2067 sed -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
2069 # cleanup backups after patching
2070 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
2072 # conflict seems to be resolved by recode patches
2073 %{__rm} ext/recode/config9.m4
2075 # remove all bundled libraries not to link with them accidentally
2076 %{__rm} -r ext/sqlite3/libsqlite
2077 #%{__rm} -r ext/bcmath/libbcmath
2078 #%{__rm} -r ext/date/lib
2079 #%{__rm} -r ext/fileinfo/libmagic
2080 #%{__rm} -r ext/dba/libcdb
2081 #%{__rm} -r ext/dba/libflatfile
2082 #%{__rm} -r ext/dba/libinifile
2083 #%{__rm} -r ext/gd/libgd
2084 #%{__rm} -r ext/mbstring/libmbfl
2085 #%{__rm} -r ext/mbstring/oniguruma
2086 %{__rm} -r ext/pcre/pcrelib
2087 #%{__rm} -r ext/soap/interop
2088 %{__rm} -r ext/xmlrpc/libxmlrpc
2089 #%{__rm} -r ext/zip/lib
2090 %{__rm} ext/date/lib/timezonedb.h
2092 cp -pf Zend/LICENSE{,.Zend}
2093 install -p %{SOURCE13} dep-tests.sh
2096 sed -i -e 's#-fvisibility=hidden##g' configure*
2098 # disable broken tests
2099 # says just "Terminated" twice and fails
2100 mv sapi/cli/tests/022.phpt{,.broken}
2102 # really dumb test, executable binary name is .libs/ something when building
2103 # https://bugs.php.net/bug.php?id=54514
2104 mv tests/basic/bug54514.phpt{,.disable}
2106 # breaks whole testsuite unexpectedly:
2107 # Fatal error: Call to undefined function gzencode() in run-tests.php on line 1714
2108 # probably broken as zlib is built as shared
2109 mv ext/soap/tests/server019.phpt{,disable}
2110 # Fatal error: Call to undefined function gzcompress() in run-tests.php on line 1728
2111 mv ext/soap/tests/server020.phpt{,disable}
2113 # runs out of memory and kills carme vserver
2114 # PASS Bug #39438 (Fatal error: Out of memory) [Zend/tests/bug39438.phpt]
2115 mv Zend/tests/bug39438.phpt{,.disable}
2117 # php-5.3.3/ext/standard/tests/file/statpage.phpt
2118 %{__rm} ext/standard/tests/file/statpage.phpt
2120 # idiotic test, it will fail if somebody else makes space on disk or if disk
2121 # space is not yet allocated (xfs). report upstream to advice bogus test is
2122 # probably pointless.
2123 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
2126 # all pdo_sqlite, sqlite3 tests die with Aborted on carme
2127 %{__rm} -r ext/pdo_sqlite/tests
2128 %{__rm} -r ext/sqlite3/tests
2132 # no point testing stuff that is knowingly broken
2133 find -name '*.phpt' | xargs grep XFAIL -l | xargs rm -v
2145 sh -xe %{_sourcedir}/skip-tests.sh
2148 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
2149 if [ $API != %{php_api_version} ]; then
2150 echo "Set %%define php_api_version to $API and re-run."
2154 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
2155 if [ $API != %{zend_module_api} ]; then
2156 echo "Set %%define zend_module_api to $API and re-run."
2160 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
2161 if [ $API != %{zend_extension_api} ]; then
2162 echo "Set %%define zend_extension_api to $API and re-run."
2166 API=$(awk '/#define PDO_DRIVER_API/{print $3}' ext/pdo/php_pdo_driver.h)
2167 if [ $API != %{php_pdo_api_version} ]; then
2168 echo "Set %%define php_pdo_api_version to $API and re-run."
2172 # Check for some extension version
2173 ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
2174 if test "$ver" != "%{fileinfover}"; then
2175 : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
2176 : Update the fileinfover macro and rebuild.
2179 ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
2180 if test "$ver" != "%{pharver}"; then
2181 : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
2182 : Update the pharver macro and rebuild.
2185 ver=$(sed -n '/#define PHP_SQLITE3_VERSION/{s/.* "//;s/".*$//;p}' ext/sqlite3/php_sqlite3.h)
2186 if test "$ver" != "%{sqlite3ver}"; then
2187 : Error: Upstream Sqlite3 version is now ${ver}, expecting %{sqlite3ver}.
2188 : Update the sqlite3ver macro and rebuild.
2191 ver=$(sed -n '/#define PHP_ZIP_VERSION /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
2192 if test "$ver" != "%{zipver}"; then
2193 : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
2194 : Update the zipver macro and rebuild.
2197 ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
2198 if test "$ver" != "%{jsonver}"; then
2199 : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
2200 : Update the jsonver macro and rebuild.
2203 ver=$(sed -n '/#define PHP_ZENDOPCACHE_VERSION /{s/.* "//;s/".*$//;p}' ext/opcache/ZendAccelerator.h)
2204 if test "$ver" != "%{opcachever}"; then
2205 : Error: Upstream Zend Opcache version is now ${ver}, expecting %{opcachever}.
2206 : Update the opcachever macro and rebuild.
2209 ver=$(sed -n '/#define PHPDBG_VERSION /{s/.* "//;s/".*$//;p}' sapi/phpdbg/phpdbg.h)
2210 if test "$ver" != "%{phpdbgver}"; then
2211 : Error: Upstream phpdbg version is now ${ver}, expecting %{phpdbgver}.
2212 : Update the phpdbgver macro and rebuild.
2215 ver=$(sed -rne 's,.*<version>(.+)</version>,\1,p' ext/bz2/package.xml)
2216 if test "$ver" != "%{bz2ver}"; then
2217 : Error: Upstream BZIP2 version is now ${ver}, expecting %{bz2ver}.
2218 : Update the bz2ver macro and rebuild.
2221 ver=$(sed -n '/#define PHP_ENCHANT_VERSION /{s/.* "//;s/".*$//;p}' ext/enchant/php_enchant.h)
2222 if test "$ver" != "%{enchantver}"; then
2223 : Error: Upstream Enchant version is now ${ver}, expecting %{enchantver}.
2224 : Update the enchantver macro and rebuild.
2227 ver=$(awk '/#define PHP_HASH_EXTVER/ {print $3}' ext/hash/php_hash.h | xargs)
2228 if test "$ver" != "%{hashver}"; then
2229 : Error: Upstream HASH version is now ${ver}, expecting %{hashver}.
2230 : Update the hashver macro and rebuild.
2233 ver=$(sed -n '/#define PHP_INTL_VERSION /{s/.* "//;s/".*$//;p}' ext/intl/php_intl.h)
2234 if test "$ver" != "%{intlver}"; then
2235 : Error: Upstream Intl version is now ${ver}, expecting %{intlver}.
2236 : Update the intlver macro and rebuild.
2240 export EXTENSION_DIR="%{php_extensiondir}"
2241 # configure once (for faster debugging purposes)
2242 if [ ! -f _built-conf ]; then
2243 # now remove Makefile copies
2244 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed,phpdbg,milter}
2247 cp -f /usr/share/automake/config.* .
2251 export PROG_SENDMAIL="/usr/lib/sendmail"
2252 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \
2253 -I%{_includedir}/xmlrpc-epi"
2260 %if %{with litespeed}
2282 for sapi in $sapis; do
2284 # skip if already configured (for faster debugging purposes)
2285 [ -f Makefile.$sapi ] && continue
2290 sapi_args='--disable-cli'
2293 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
2296 sapi_args='--disable-cli --disable-cgi --enable-fpm'
2299 sapi_args='--disable-cli --disable-cgi --enable-embed'
2302 ver=$(rpm -q --qf '%{V}' apache1-devel)
2303 sapi_args="--disable-cli --disable-cgi --with-apxs=%{apxs1} --with-apache-version=$ver"
2306 ver=$(rpm -q --qf '%{V}' apache-devel)
2307 sapi_args="--disable-cli --disable-cgi --with-apxs2=%{apxs2} --with-apache-version=$ver"
2310 sapi_args='--disable-cli --disable-cgi --with-litespeed'
2313 sapi_args='--disable-cli --disable-cgi --enable-phpdbg %{?debug:--enable-phpdbg-debug}'
2316 sapi_args='--disable-cli --disable-cgi --with-milter'
2322 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2323 --cache-file=config.cache \
2325 --with-libdir=%{_lib} \
2326 --with-config-file-path=%{_sysconfdir} \
2327 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2328 --with-system-tzdata \
2329 --%{!?debug:dis}%{?debug:en}able-debug \
2330 %{?with_zts:--enable-maintainer-zts} \
2331 --enable-inline-optimization \
2332 --enable-bcmath=shared \
2333 --enable-calendar=shared \
2334 --enable-ctype=shared \
2335 --enable-dba=shared \
2336 --enable-dom=shared \
2337 %{?with_systemtap:--enable-dtrace} \
2338 --enable-exif=shared \
2339 --enable-fileinfo=shared \
2340 --enable-ftp=shared \
2341 --enable-gd-native-ttf \
2342 %{?with_intl:--enable-intl=shared} \
2344 --enable-mbstring=shared,all \
2346 --enable-pcntl=shared \
2347 --enable-pdo=shared \
2348 --enable-json=shared \
2349 --enable-hash=shared \
2350 --enable-xmlwriter=shared \
2352 --with-fpm-user=http \
2353 --with-fpm-group=http \
2355 %if %{with mssql} || %{with sybase_ct}
2356 --with-pdo-dblib=shared \
2358 %if %{with interbase} && %{without interbase_inst}
2359 --with-pdo-firebird=shared,/usr \
2361 %{?with_mhash:--with-mhash=yes} \
2362 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2363 --with-pdo-mysql=shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd} \
2364 %{?with_oci:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2365 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2366 %{?with_pgsql:--with-pdo-pgsql=shared} \
2367 %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
2368 %{?with_webp:--with-vpx-dir=/usr} \
2369 --without-libexpat-dir \
2370 --enable-posix=shared \
2372 --enable-session=shared \
2373 --enable-shmop=shared \
2374 --enable-simplexml=shared \
2375 --enable-sysvmsg=shared \
2376 --enable-sysvsem=shared \
2377 --enable-sysvshm=shared \
2378 --enable-soap=shared \
2379 --enable-sockets=shared \
2380 --enable-tokenizer=shared \
2381 %{?with_wddx:--enable-wddx=shared} \
2382 --enable-xml=shared \
2383 --enable-xmlreader=shared \
2385 %{__with_without curl curl shared} \
2387 --with-iconv=shared \
2388 %{?with_enchant:--with-enchant=shared,/usr} \
2389 --with-freetype-dir=shared \
2390 --with-gettext=shared \
2391 --with-gd=shared%{?with_system_gd:,/usr} \
2394 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2395 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2396 --with-jpeg-dir=/usr \
2397 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2398 --with-mcrypt=shared \
2399 %{?with_mm:--with-mm} \
2400 %{?with_mssql:--with-mssql=shared} \
2401 %{?with_mysqlnd:--enable-mysqlnd=shared} \
2402 --with-mysql=shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd} \
2403 %{?with_mysqli:--with-mysqli=shared,%{!?with_mysqlnd:/usr/bin/mysql_config}%{?with_mysqlnd:mysqlnd}} \
2404 %{?with_oci:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2405 %{?with_opcache:--enable-opcache=shared} \
2406 %{?with_openssl:--with-openssl=shared} \
2407 %{?with_kerberos5:--with-kerberos} \
2409 %{__with_without pcre pcre-regex /usr} \
2410 %{__enable_disable filter filter shared} \
2411 --with-pear=%{php_pear_dir} \
2412 %{__with_without pgsql pgsql shared,/usr} \
2413 %{__enable_disable phar phar shared} \
2414 --with-png-dir=/usr \
2415 %{?with_pspell:--with-pspell=shared} \
2416 --with-readline=shared \
2417 %{?with_recode:--with-recode=shared} \
2418 --with-regex=system \
2419 %{?with_snmp:--with-snmp=shared} \
2420 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
2421 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2422 %{__with_without sqlite3 sqlite3 shared,/usr} \
2423 --with-t1lib=shared \
2424 %{?with_tidy:--with-tidy=shared} \
2425 %{?with_odbc:--with-unixODBC=shared,/usr} \
2426 %{__with_without xmlrpc xmlrpc shared,/usr} \
2428 --with-zlib=shared \
2429 --with-zlib-dir=shared,/usr \
2430 %{?with_system_libzip:--with-libzip} \
2431 --enable-zip=shared,/usr \
2434 cp -f Makefile Makefile.$sapi
2435 cp -f main/php_config.h php_config.h.$sapi
2436 cp -f config.log config.log.$sapi
2439 # as we build each SAPI in own make, adjust php-config.in forehead
2440 sapis=$(%{__sed} -rne 's/^PHP_INSTALLED_SAPIS = (.+)/\1/p' Makefile.* | tr ' ' '\n' | sort -u | xargs)
2441 %{__sed} -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," scripts/php-config.in
2443 # must make libphp_common first, so modules can link against it.
2444 cp -af php_config.h.cli main/php_config.h
2445 cp -af Makefile.cli Makefile
2446 %{__make} libphp_common.la
2447 # hack: MYSQLND_SHARED_LIBADD not initialized
2448 %{__make} build-modules \
2449 MYSQLND_SHARED_LIBADD="-lssl -lcrypto"
2452 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
2456 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
2459 %if %{with litespeed}
2460 %{__make} -f Makefile.litespeed litespeed
2464 %{__make} -f Makefile.embed libphp5.la
2468 # PHP_READLINE_LIBS is empty, so force readline here
2469 %{__make} -f Makefile.phpdbg phpdbg \
2470 PHPDBG_EXTRA_LIBS=-lreadline
2474 %{__make} -f Makefile.milter milter
2479 cp -pf php_config.h.cgi-fcgi main/php_config.h
2480 %{__make} -f Makefile.cgi-fcgi
2481 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
2486 cp -pf php_config.h.fpm main/php_config.h
2487 %{__make} -f Makefile.fpm
2488 [ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
2492 cp -pf php_config.h.cli main/php_config.h
2493 %{__make} -f Makefile.cli
2494 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
2496 # check for stupid xml parse breakage where < and > just get lost in parse result
2497 ./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"]));'
2499 # Generate stub .ini files for each extension
2502 generate_inifiles() {
2503 for so in modules/*.so; do
2504 mod=$(basename $so .so)
2506 # opcache.so is zend extension
2507 nm $so | grep -q zend_extension_entry && ext=zend_extension
2509 # xml needs to be loaded before wddx
2510 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2511 # pre needs to be loaded before SPL
2512 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2513 # spl needs to be loaded before mysqli
2514 [ "$mod" = "spl" ] && conf="SPL.ini"
2515 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2516 [ "$mod" = "session" ] && conf="Session.ini"
2517 # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli
2518 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2520 cat > conf.d/$conf <<-EOF
2521 ; Enable $mod $ext module
2528 # Check that the module inner-dependencies are intact
2529 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2530 if grep -v OK dep-tests.log; then
2531 echo >&2 "The results above were not expected"
2537 cp -pf php_config.h.cli main/php_config.h
2538 cp -pf Makefile.cli Makefile
2540 # you really don't want to package result of gcov build
2544 cat <<'EOF' > run-tests.sh
2546 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2547 unset TZ LANG LC_ALL || :
2549 EXTENSION_DIR=modules \
2550 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2551 RUN_TESTS_SETTINGS="-q $*"
2553 chmod +x run-tests.sh
2556 # Run tests, using the CLI SAPI
2557 cp -pf php_config.h.cli main/php_config.h
2558 cp -pf Makefile.cli Makefile
2560 ./run-tests.sh -w failed.log -s tests.log || {
2563 # collect failed tests into cleanup script used in prep.
2564 sed -ne '/^FAILED TEST SUMMARY/,/^===/p' tests.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2565 sed -ne '/^via/d;/\[.*\]/{s/\t*\(.*\) \[\(.*\)\]\(.*\)/# \1\3\nmv \2{,.skip}/p}' tests-failed.log \
2566 >> %{_sourcedir}/skip-tests.sh
2568 # if on builders, dump test log
2569 tty -q || cat tests.log
2571 test ! -s failed.log
2577 rm -rf $RPM_BUILD_ROOT
2578 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2579 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2580 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2581 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2583 cp -pf php_config.h.cli main/php_config.h
2584 cp -pf Makefile.cli Makefile
2586 phpbuilddir=%{_libdir}/%{name}/build \
2587 INSTALL_ROOT=$RPM_BUILD_ROOT
2589 # make link relative
2590 ln -sfn phar.phar $RPM_BUILD_ROOT%{_bindir}/phar
2593 v=$(echo %{version} | cut -d. -f1-2)
2595 # install Apache1 DSO module
2597 libtool --mode=install install -p sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2598 mv $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5{,-$v}.so
2599 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.so
2602 # install Apache2 DSO module
2604 libtool --mode=install install -p sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2605 mv $RPM_BUILD_ROOT%{_libdir}/apache/libphp5{,-$v}.so
2606 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.so
2609 # install litespeed sapi
2610 %if %{with litespeed}
2611 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
2615 %{__make} -f Makefile.phpdbg install-phpdbg \
2616 INSTALL_ROOT=$RPM_BUILD_ROOT
2620 %{__make} -f Makefile.milter install-milter \
2621 INSTALL_ROOT=$RPM_BUILD_ROOT
2624 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2629 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2630 ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
2631 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2636 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir}}
2637 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2638 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
2639 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2640 cp -p sapi/fpm/php-fpm.conf-d $RPM_BUILD_ROOT%{_sysconfdir}/fpm.d/www.conf
2641 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2642 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2643 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2644 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2645 %if "%{pld_release}" == "ac"
2646 %{__sed} -i -e '/su/d' $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2650 s#/usr/lib/php#%{php_extensiondir}#
2651 s#/etc/php#%{_sysconfdir}#
2652 s#@processname@#%{name}-fpm#g
2653 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf,%{_sysconfdir}/fpm.d/www.conf}
2656 # install Embedded API
2658 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2659 # install-sapi installs to wrong dir, so just do it all manually
2660 install -d $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2661 install -p libs/libphp5.so $RPM_BUILD_ROOT%{_libdir}
2662 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2666 # versioned suffix is always installed
2667 libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php%{ver_suffix}
2668 cp -p sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php%{ver_suffix}.1
2669 echo ".so php%{ver_suffix}.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.1
2670 ln -sf php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php
2672 cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2673 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2676 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2677 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2678 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2682 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2683 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2684 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2687 # ensure that paths are correct for current php version and arch
2688 grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
2690 s#/usr/lib/php#%{php_extensiondir}#
2691 s#/etc/php#%{_sysconfdir}#
2694 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2695 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2697 # per SAPI ini directories
2698 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2701 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2703 # use system automake and {lib,sh}tool
2704 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2705 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2706 for fn in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2707 f=%{_aclocaldir}/$fn
2708 test -f $f || continue
2709 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2711 for fn in ltmain.sh config/ltmain.sh build-aux/ltmain.sh; do
2712 f=/usr/share/libtool/$fn
2713 test -f $f || continue
2714 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2717 sed -i -e '/^phpdir/ s,/php/build,/%{name}/build,' $RPM_BUILD_ROOT%{_bindir}/phpize
2719 # for php-pecl-mailparse
2720 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2721 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2724 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2725 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2726 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2728 # fix install paths, avoid evil rpaths
2729 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2731 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/%{name}/build/acinclude.m4
2734 rm -rf $RPM_BUILD_ROOT
2736 %post -n apache1-mod_%{name}
2737 if [ "$1" = "1" ]; then
2738 %service -q apache restart
2741 %postun -n apache1-mod_%{name}
2742 if [ "$1" = "0" ]; then
2743 %service -q apache restart
2746 %post -n apache-mod_%{name}
2747 if [ "$1" = "1" ]; then
2748 %service -q httpd restart
2751 %postun -n apache-mod_%{name}
2752 if [ "$1" = "0" ]; then
2753 %service -q httpd restart
2757 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2760 /sbin/chkconfig --add %{name}-fpm
2761 %service %{name}-fpm restart
2764 if [ "$1" = 0 ]; then
2765 %service %{name}-fpm stop
2766 /sbin/chkconfig --del %{name}-fpm
2770 if [ "$1" = "0" ]; then
2774 %post embedded -p /sbin/ldconfig
2775 %postun embedded -p /sbin/ldconfig
2778 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2779 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2781 . /etc/sysconfig/timezone
2782 if [ "$TIMEZONE" ]; then
2783 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2788 # minimizing apache restarts logics. we restart webserver:
2790 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2791 # 2. first install of extension (post: $1 = 1)
2792 # 2. uninstall of extension (postun: $1 == 0)
2794 # the strict internal deps between extensions (and apache modules) and
2795 # common package are very important for all this to work.
2797 # restart webserver at the end of transaction
2798 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2799 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2801 %triggerpostun common -- php-common < 4:5.3.28-7
2802 # migrate configs /etc/php/conf.d -> /etc/phpXY/conf.d/
2803 # do config migration in php-common trigger, as the trigger is ran after all packages are upgraded
2804 # this way we can stick to one trigger, instead of attaching one for each (sub)package!
2805 for f in /etc/php/*.ini.rpmsave /etc/php/*.d/*.ini.rpmsave; do
2806 test -f "$f" || continue
2810 test "$dn" = "$fn" && dn=
2812 nf=%{_sysconfdir}/$dn/$fn
2813 test -f "$nf" || continue
2814 cp -vf $nf{,.rpmnew}
2817 s#%{_libdir}/php#%{_libdir}/%{name}#
2818 s#/etc/php#%{_sysconfdir}#
2822 %triggerpostun common -- %{name}-common < 4:5.6.4-2, php-common < 4:5.6.4-2
2823 # switch to browscap package if the ini file has original value
2824 %{__sed} -i -e 's#%{_sysconfdir}/browscap.ini#/usr/share/browscap/php_browscap.ini#' %{_sysconfdir}/php.ini
2825 # disable browscap, if optional package not present
2826 if [ ! -e /usr/share/browscap/php_browscap.ini ]; then
2827 %{__sed} -i -e 's#^browscap = /usr/share/browscap/php_browscap.ini#;&#' %{_sysconfdir}/php.ini
2830 # common macros called at extension post/postun scriptlet
2831 %define extension_scripts() \
2833 if [ "$1" = "1" ]; then \
2834 %php_webserver_restart \
2838 if [ "$1" = "0" ]; then \
2839 %php_webserver_restart \
2843 # extension scripts defines
2844 %extension_scripts bcmath
2845 %extension_scripts bz2
2846 %extension_scripts calendar
2847 %extension_scripts ctype
2848 %extension_scripts curl
2849 %extension_scripts dba
2850 %extension_scripts dom
2851 %extension_scripts enchant
2852 %extension_scripts exif
2853 %extension_scripts fileinfo
2854 %extension_scripts filter
2855 %extension_scripts ftp
2856 %extension_scripts gd
2857 %extension_scripts gettext
2858 %extension_scripts gmp
2859 %extension_scripts hash
2860 %extension_scripts iconv
2861 %extension_scripts imap
2862 %extension_scripts interbase
2863 %extension_scripts intl
2864 %extension_scripts json
2865 %extension_scripts ldap
2866 %extension_scripts mbstring
2867 %extension_scripts mcrypt
2868 %extension_scripts mssql
2869 %extension_scripts mysql
2870 %extension_scripts mysqli
2871 %extension_scripts mysqlnd
2872 %extension_scripts oci8
2873 %extension_scripts odbc
2874 %extension_scripts opcache
2875 %extension_scripts openssl
2876 %extension_scripts pcre
2877 %extension_scripts pdo
2878 %extension_scripts pdo-dblib
2879 %extension_scripts pdo-firebird
2880 %extension_scripts pdo-oci
2881 %extension_scripts pdo-mysql
2882 %extension_scripts pdo-odbc
2883 %extension_scripts pdo-pgsql
2884 %extension_scripts pdo-sqlite
2885 %extension_scripts pgsql
2886 %extension_scripts phar
2887 %extension_scripts pcntl
2888 %extension_scripts posix
2889 %extension_scripts pspell
2890 %extension_scripts recode
2891 %extension_scripts session
2892 %extension_scripts shmop
2893 %extension_scripts simplexml
2894 %extension_scripts snmp
2895 %extension_scripts soap
2896 %extension_scripts sockets
2897 %extension_scripts spl
2898 %extension_scripts sqlite3
2899 %extension_scripts sybase-ct
2900 %extension_scripts sysvmsg
2901 %extension_scripts sysvsem
2902 %extension_scripts sysvshm
2903 %extension_scripts tidy
2904 %extension_scripts tokenizer
2905 %extension_scripts wddx
2906 %extension_scripts xml
2907 %extension_scripts xmlreader
2908 %extension_scripts xmlrpc
2909 %extension_scripts xmlwriter
2910 %extension_scripts xsl
2911 %extension_scripts zip
2912 %extension_scripts zlib
2915 %files -n apache1-mod_%{name}
2916 %defattr(644,root,root,755)
2917 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2918 %dir %{_sysconfdir}/apache.d
2919 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2920 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2921 %attr(755,root,root) %{_libdir}/apache1/libphp5-*.*.so
2925 %files -n apache-mod_%{name}
2926 %defattr(644,root,root,755)
2927 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2928 %dir %{_sysconfdir}/apache2handler.d
2929 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2930 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2931 %attr(755,root,root) %{_libdir}/apache/libphp5-*.*.so
2934 %if %{with litespeed}
2936 %defattr(644,root,root,755)
2937 %attr(755,root,root) %{_sbindir}/%{name}.litespeed
2942 %defattr(644,root,root,755)
2943 %dir %{_sysconfdir}/cgi-fcgi.d
2944 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2945 %attr(755,root,root) %{_bindir}/%{name}.cgi
2946 %attr(755,root,root) %{_bindir}/%{name}.fcgi
2951 %defattr(644,root,root,755)
2952 %attr(755,root,root) %{_libdir}/libphp5.so
2956 %defattr(644,root,root,755)
2957 %dir %{_sysconfdir}/cli.d
2958 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2959 %attr(755,root,root) %{_bindir}/php%{ver_suffix}
2960 %{_mandir}/man1/php%{ver_suffix}.1*
2963 %defattr(644,root,root,755)
2964 %attr(755,root,root) %{_bindir}/php
2965 %{_mandir}/man1/php.1*
2969 %defattr(644,root,root,755)
2970 %doc sapi/fpm/{CREDITS,LICENSE}
2971 %dir %{_sysconfdir}/fpm.d
2972 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
2973 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.d/www.conf
2974 %attr(755,root,root) %{_sbindir}/%{name}-fpm
2975 %{_mandir}/man8/%{name}-fpm.8*
2976 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
2977 %attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
2982 %defattr(644,root,root,755)
2983 %attr(755,root,root) %{_bindir}/phpdbg
2984 %{_mandir}/man1/phpdbg.1*
2989 %defattr(644,root,root,755)
2990 %attr(755,root,root) %{_bindir}/php-milter
2994 %defattr(644,root,root,755)
2995 %doc CREDITS EXTENSIONS LICENSE NEWS README.namespaces UPGRADING* Zend/{LICENSE.Zend,ZEND_CHANGES} php.ini-*
2997 %dir %{_sysconfdir}/conf.d
2998 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2999 %attr(755,root,root) %{_libdir}/libphp_common-*.so
3000 %dir %{php_extensiondir}
3002 %doc ext/session/mod_files.sh
3005 %defattr(644,root,root,755)
3006 %doc CODING_STANDARDS README.{EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
3007 %attr(755,root,root) %{_bindir}/phpize
3008 %attr(755,root,root) %{_bindir}/php-config
3009 %attr(755,root,root) %{_libdir}/libphp_common.so
3010 %{_libdir}/libphp_common.la
3012 %{_libdir}/%{name}/build
3013 %{_mandir}/man1/php-config.1*
3014 %{_mandir}/man1/phpize.1*
3017 %defattr(644,root,root,755)
3018 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
3019 %attr(755,root,root) %{php_extensiondir}/bcmath.so
3022 %defattr(644,root,root,755)
3023 %doc ext/bz2/CREDITS
3024 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
3025 %attr(755,root,root) %{php_extensiondir}/bz2.so
3028 %defattr(644,root,root,755)
3029 %doc ext/calendar/CREDITS
3030 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
3031 %attr(755,root,root) %{php_extensiondir}/calendar.so
3034 %defattr(644,root,root,755)
3035 %doc ext/calendar/CREDITS
3036 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
3037 %attr(755,root,root) %{php_extensiondir}/ctype.so
3041 %defattr(644,root,root,755)
3042 %doc ext/curl/CREDITS
3043 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
3044 %attr(755,root,root) %{php_extensiondir}/curl.so
3048 %defattr(644,root,root,755)
3049 %doc ext/dba/{CREDITS,README}
3050 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
3051 %attr(755,root,root) %{php_extensiondir}/dba.so
3054 %defattr(644,root,root,755)
3055 %doc ext/dom/{CREDITS,TODO}
3056 %doc ext/dom/examples
3057 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
3058 %attr(755,root,root) %{php_extensiondir}/dom.so
3062 %defattr(644,root,root,755)
3063 %doc ext/enchant/{CREDITS,docs/examples}
3064 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/enchant.ini
3065 %attr(755,root,root) %{php_extensiondir}/enchant.so
3069 %defattr(644,root,root,755)
3070 %doc ext/exif/CREDITS
3071 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
3072 %attr(755,root,root) %{php_extensiondir}/exif.so
3075 %defattr(644,root,root,755)
3076 %doc ext/fileinfo/CREDITS
3077 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
3078 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
3082 %defattr(644,root,root,755)
3083 %doc ext/filter/{CREDITS,docs/*}
3084 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
3085 %attr(755,root,root) %{php_extensiondir}/filter.so
3089 %defattr(644,root,root,755)
3090 %doc ext/ftp/CREDITS
3091 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
3092 %attr(755,root,root) %{php_extensiondir}/ftp.so
3095 %defattr(644,root,root,755)
3097 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
3098 %attr(755,root,root) %{php_extensiondir}/gd.so
3101 %defattr(644,root,root,755)
3102 %doc ext/gettext/CREDITS
3103 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
3104 %attr(755,root,root) %{php_extensiondir}/gettext.so
3107 %defattr(644,root,root,755)
3108 %doc ext/gmp/{CREDITS,README,TODO}
3109 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
3110 %attr(755,root,root) %{php_extensiondir}/gmp.so
3113 %defattr(644,root,root,755)
3114 %doc ext/hash/{CREDITS,README}
3115 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
3116 %attr(755,root,root) %{php_extensiondir}/hash.so
3119 %defattr(644,root,root,755)
3120 %doc ext/iconv/CREDITS
3121 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
3122 %attr(755,root,root) %{php_extensiondir}/iconv.so
3126 %defattr(644,root,root,755)
3127 %doc ext/imap/CREDITS
3128 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
3129 %attr(755,root,root) %{php_extensiondir}/imap.so
3132 %if %{with interbase}
3134 %defattr(644,root,root,755)
3135 %doc ext/interbase/CREDITS
3136 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
3137 %attr(755,root,root) %{php_extensiondir}/interbase.so
3142 %defattr(644,root,root,755)
3143 %doc ext/intl/{CREDITS,TODO}
3144 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
3145 %attr(755,root,root) %{php_extensiondir}/intl.so
3149 %defattr(644,root,root,755)
3150 %doc ext/json/CREDITS
3151 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
3152 %attr(755,root,root) %{php_extensiondir}/json.so
3156 %defattr(644,root,root,755)
3157 %doc ext/ldap/CREDITS
3158 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
3159 %attr(755,root,root) %{php_extensiondir}/ldap.so
3163 %defattr(644,root,root,755)
3164 %doc ext/mbstring/{CREDITS,README*}
3165 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
3166 %attr(755,root,root) %{php_extensiondir}/mbstring.so
3169 %defattr(644,root,root,755)
3170 %doc ext/mcrypt/{CREDITS,TODO}
3171 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
3172 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
3176 %defattr(644,root,root,755)
3177 %doc ext/mssql/CREDITS
3178 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
3179 %attr(755,root,root) %{php_extensiondir}/mssql.so
3183 %defattr(644,root,root,755)
3184 %doc ext/mysql/CREDITS
3185 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
3186 %attr(755,root,root) %{php_extensiondir}/mysql.so
3190 %defattr(644,root,root,755)
3191 %doc ext/mysqli/{CREDITS,TODO}
3192 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
3193 %attr(755,root,root) %{php_extensiondir}/mysqli.so
3198 %defattr(644,root,root,755)
3199 %doc ext/mysqlnd/CREDITS
3200 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
3201 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
3206 %defattr(644,root,root,755)
3207 %doc ext/oci8/{CREDITS,README}
3208 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
3209 %attr(755,root,root) %{php_extensiondir}/oci8.so
3214 %defattr(644,root,root,755)
3215 %doc ext/odbc/CREDITS
3216 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
3217 %attr(755,root,root) %{php_extensiondir}/odbc.so
3222 %defattr(644,root,root,755)
3223 %doc ext/opcache/README
3224 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/opcache.ini
3225 %attr(755,root,root) %{php_extensiondir}/opcache.so
3230 %defattr(644,root,root,755)
3231 %doc ext/openssl/{CREDITS,README}
3232 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
3233 %attr(755,root,root) %{php_extensiondir}/openssl.so
3237 %defattr(644,root,root,755)
3238 %doc ext/pcntl/{CREDITS,README}
3239 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
3240 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3244 %defattr(644,root,root,755)
3245 %doc ext/pcre/CREDITS
3246 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
3247 %attr(755,root,root) %{php_extensiondir}/pcre.so
3251 %defattr(644,root,root,755)
3252 %doc ext/pdo/{CREDITS,README,TODO}
3253 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
3254 %attr(755,root,root) %{php_extensiondir}/pdo.so
3256 %if %{with mssql} || %{with sybase_ct}
3258 %defattr(644,root,root,755)
3259 %doc ext/pdo_dblib/{CREDITS,README}
3260 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
3261 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3264 %if %{with interbase} && !%{with interbase_inst}
3266 %defattr(644,root,root,755)
3267 %doc ext/pdo_firebird/CREDITS
3268 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
3269 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3273 %defattr(644,root,root,755)
3274 %doc ext/pdo_mysql/CREDITS
3275 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
3276 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3280 %defattr(644,root,root,755)
3281 %doc ext/pdo_oci/CREDITS
3282 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
3283 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3288 %defattr(644,root,root,755)
3289 %doc ext/pdo_odbc/CREDITS
3290 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3291 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3296 %defattr(644,root,root,755)
3297 %doc ext/pdo_pgsql/CREDITS
3298 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3299 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3302 %if %{with pdo_sqlite}
3304 %defattr(644,root,root,755)
3305 %doc ext/pdo_sqlite/CREDITS
3306 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3307 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3312 %defattr(644,root,root,755)
3313 %doc ext/pgsql/{CREDITS,README}
3314 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3315 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3320 %defattr(644,root,root,755)
3321 %doc ext/phar/{CREDITS,TODO}
3322 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
3323 %attr(755,root,root) %{php_extensiondir}/phar.so
3324 %attr(755,root,root) %{_bindir}/phar
3325 %attr(755,root,root) %{_bindir}/phar.phar
3326 %{_mandir}/man1/phar.1*
3327 %{_mandir}/man1/phar.phar.1
3331 %defattr(644,root,root,755)
3332 %doc ext/posix/CREDITS
3333 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3334 %attr(755,root,root) %{php_extensiondir}/posix.so
3338 %defattr(644,root,root,755)
3339 %doc ext/pspell/{CREDITS,README}
3340 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3341 %attr(755,root,root) %{php_extensiondir}/pspell.so
3345 %defattr(644,root,root,755)
3346 %doc ext/readline/{CREDITS,README*}
3347 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3348 %attr(755,root,root) %{php_extensiondir}/readline.so
3352 %defattr(644,root,root,755)
3353 %doc ext/recode/CREDITS
3354 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3355 %attr(755,root,root) %{php_extensiondir}/recode.so
3359 %defattr(644,root,root,755)
3360 %doc ext/session/CREDITS
3361 %doc ext/session/mod_files.sh
3362 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3363 %attr(755,root,root) %{php_extensiondir}/session.so
3366 %defattr(644,root,root,755)
3367 %doc ext/shmop/{CREDITS,README}
3368 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3369 %attr(755,root,root) %{php_extensiondir}/shmop.so
3372 %defattr(644,root,root,755)
3373 %doc ext/simplexml/{CREDITS,README}
3374 %doc ext/simplexml/examples
3375 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3376 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3380 %defattr(644,root,root,755)
3381 %doc ext/snmp/CREDITS
3382 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3383 %attr(755,root,root) %{php_extensiondir}/snmp.so
3387 %defattr(644,root,root,755)
3388 %doc ext/soap/{CREDITS,TODO*}
3389 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3390 %attr(755,root,root) %{php_extensiondir}/soap.so
3393 %defattr(644,root,root,755)
3394 %doc ext/sockets/CREDITS
3395 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3396 %attr(755,root,root) %{php_extensiondir}/sockets.so
3399 %defattr(644,root,root,755)
3400 %doc ext/spl/{CREDITS,README,TODO}
3401 %doc ext/spl/examples
3402 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3403 %attr(755,root,root) %{php_extensiondir}/spl.so
3407 %defattr(644,root,root,755)
3408 %doc ext/sqlite3/CREDITS
3409 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3410 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3413 %if %{with sybase_ct}
3415 %defattr(644,root,root,755)
3416 %doc ext/sybase_ct/CREDITS
3417 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3418 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
3422 %defattr(644,root,root,755)
3423 %doc ext/sysvmsg/CREDITS
3424 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3425 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3428 %defattr(644,root,root,755)
3429 %doc ext/sysvsem/CREDITS
3430 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3431 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3434 %defattr(644,root,root,755)
3435 %doc ext/sysvshm/CREDITS
3436 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3437 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3440 %defattr(644,root,root,755)
3441 %dir %{php_data_dir}/tests
3442 %dir %{php_data_dir}/tests/php
3443 %{php_data_dir}/tests/php/basic
3444 %{php_data_dir}/tests/php/classes
3445 %{php_data_dir}/tests/php/func
3446 %{php_data_dir}/tests/php/lang
3447 %{php_data_dir}/tests/php/output
3448 %{php_data_dir}/tests/php/run-test
3449 %{php_data_dir}/tests/php/security
3450 %{php_data_dir}/tests/php/strings
3451 %{php_data_dir}/tests/php/quicktester.inc
3452 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3456 %defattr(644,root,root,755)
3457 %doc ext/tidy/{CREDITS,README}
3458 %doc ext/tidy/examples
3459 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3460 %attr(755,root,root) %{php_extensiondir}/tidy.so
3464 %defattr(644,root,root,755)
3465 %doc ext/tokenizer/CREDITS
3466 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3467 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3471 %defattr(644,root,root,755)
3472 %doc ext/wddx/CREDITS
3473 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3474 %attr(755,root,root) %{php_extensiondir}/wddx.so
3478 %defattr(644,root,root,755)
3479 %doc ext/xml/CREDITS
3480 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3481 %attr(755,root,root) %{php_extensiondir}/xml.so
3484 %defattr(644,root,root,755)
3485 %doc ext/xmlreader/{CREDITS,README,TODO}
3486 %doc ext/xmlreader/examples
3487 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3488 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3492 %defattr(644,root,root,755)
3493 %doc ext/xmlrpc/CREDITS
3494 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3495 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3499 %defattr(644,root,root,755)
3500 %doc ext/xmlwriter/{CREDITS,TODO}
3501 %doc ext/xmlwriter/examples
3502 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3503 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3506 %defattr(644,root,root,755)
3507 %doc ext/xsl/CREDITS
3508 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3509 %attr(755,root,root) %{php_extensiondir}/xsl.so
3512 %defattr(644,root,root,755)
3513 %doc ext/zip/{CREDITS,TODO}
3514 %doc ext/zip/examples
3515 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3516 %attr(755,root,root) %{php_extensiondir}/zip.so
3519 %defattr(644,root,root,755)
3520 %doc ext/zlib/CREDITS
3521 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3522 %attr(755,root,root) %{php_extensiondir}/zlib.so