1 # UNPACKAGED EXTENSION NOTES:
2 # - com_dotnet is Win32-only
4 # - ttyname_r() misdetected http://bugs.php.net/bug.php?id=48820
5 # - wddx: restore session support (not compiled in due DL extension check)
6 # - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere
7 # - removed from php 5.0 (currently in php4):
8 # db [pecl-svn], hyperwave [pecl-svn], java [pecl-svn], mcal [pecl-svn], qtdom [pecl-svn]
9 # - removed from php 5.1:
11 # - removed from php 5.2:
12 # filepro [pecl-svn], hwapi [pecl-svn]
13 # - make additional headers and checking added by mail patch configurable
14 # - modularize standard (output from pure php -m)?
15 # - lib64 patch obsolete by $PHP_LIBDIR ?
16 # - WARNING: Phar: sha256/sha512 signature support disabled if ext/hash is
17 # built shared, also PHAR_HAVE_OPENSSL is false if openssl is built shared.
18 # make it runtime dep and add Suggests (or php warning messages)
19 # - some mods should be shared:
30 %bcond_without alternatives # use alternatives system to select default phar and php-fpm
31 %bcond_with default_php # build this PHP as default PHP in system (disables alternatives)
33 %bcond_without embed # disable building Embedded API
34 %bcond_with gcov # Enable Code coverage reporting
35 %bcond_without kerberos5 # without Kerberos5 support
36 %bcond_with lfs # Build with FILE_OFFSET_BITS=64
37 %bcond_with suhosin # with suhosin patch, has little point in PHP>=5.3, see https://github.com/stefanesser/suhosin/issues/42#issuecomment-41728178
38 %bcond_with tests # default off; test process very often hangs on builders, approx run time 45m; perform "make test"
39 %bcond_with type_hints # experimental support for strict typing/casting
40 %bcond_with zts # Zend Thread Safety
41 %bcond_with debug # Zend Debug Build
43 %bcond_without apache1 # disable building Apache 1.3.x SAPI
44 %bcond_without apache2 # disable building Apache 2.x SAPI
45 %bcond_without cgi # disable CGI/FCGI SAPI
46 %bcond_without fpm # disable FPM SAPI
47 %bcond_without litespeed # build litespeed SAPI
49 %bcond_without bcmath # without bcmath extension module
50 %bcond_without bz2 # without bz2 extension module
51 %bcond_without calendar # without calendar extension module
52 %bcond_without ctype # without ctype extension module
53 %bcond_without curl # without CURL extension module
54 %bcond_without filter # without filter extension module
55 %bcond_without enchant # without Enchant extension module
56 %bcond_without imap # without IMAP extension module
57 %bcond_without interbase # without InterBase extension module
58 %bcond_without intl # without Intl extension module
59 %bcond_without ldap # without LDAP extension module
60 %bcond_without mhash # without mhash extension (supported by hash extension)
61 %bcond_without mssql # without MS SQL extension module
62 %bcond_with mysqlnd # with mysqlnd support in mysql related extensions
63 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
64 %bcond_with oci # with Oracle oci8 extension module (BR: proprietary libs)
65 %bcond_without odbc # without ODBC extension module
66 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
67 %bcond_without pcre # without PCRE extension module
68 %bcond_without pdo_sqlite # without PDO SQLite extension module
69 %bcond_without pgsql # without PostgreSQL extension module
70 %bcond_without phar # without phar extension module
71 %bcond_without pspell # without pspell extension module
72 %bcond_without recode # without recode extension module
73 %bcond_without snmp # without SNMP extension module
74 %bcond_without sqlite2 # without SQLite extension module
75 %bcond_without sqlite3 # without SQLite3 extension module
76 %bcond_without sybase_ct # without Sybase-CT extension module
77 %bcond_without tidy # without Tidy extension module
78 %bcond_without wddx # without WDDX extension module
79 %bcond_without xmlrpc # without XML-RPC extension module
81 %bcond_without instantclient # build Oracle oci8 extension module against oracle-instantclient package
82 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
83 %bcond_with mm # without mm support for session storage
84 %bcond_with system_gd # with system gd (imageantialias function is missing then)
85 %bcond_with system_libzip # with system libzip (reported broken currently)
87 %define apxs1 /usr/sbin/apxs1
88 %define apxs2 /usr/sbin/apxs
89 %define litespeed_version 5.5
93 %undefine with_apache1
94 %undefine with_apache2
96 %undefine with_litespeed
100 # has no effect on 64bit systems
104 %if %{with default_php}
105 %undefine with_alternatives
108 # mm is not thread safe
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
134 %if "%{pld_release}" == "ac"
135 %define _noautoreqdep libphp_common.*
136 # if commandline --without was given. respect that
137 %if 0%{!?_without_default_php:1}
138 %define with_default_php 1
142 %if %{with default_php}
143 %undefine with_alternatives
148 %define ver_suffix 53
149 %define php_suffix %{!?with_default_php:%{ver_suffix}}
150 Summary: PHP: Hypertext Preprocessor
151 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
152 Summary(pl.UTF-8): Język skryptowy PHP
153 Summary(pt_BR.UTF-8): A linguagem de script PHP
154 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
155 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
156 Name: %{orgname}%{php_suffix}
158 Release: %{rel}%{?with_type_hints:.th}%{?with_oci8:.oci}
160 # All files licensed under PHP version 3.01, except
161 # Zend is licensed under Zend
162 # TSRM is licensed under BSD
163 License: PHP 3.01 and Zend and BSD
165 Source0: http://www.php.net/distributions/%{orgname}-%{version}.tar.bz2
166 # Source0-md5: 9469e240cbe6ac865aeaec89b253dd30
167 Source2: %{orgname}-mod_%{orgname}.conf
168 Source3: %{orgname}-cgi-fcgi.ini
169 Source4: %{orgname}-apache.ini
170 Source5: %{orgname}-cli.ini
171 Source10: %{orgname}-fpm.init
172 Source11: %{orgname}-fpm.logrotate
173 Source12: %{orgname}-branch.sh
174 Source13: dep-tests.sh
175 Source14: skip-tests.sh
176 Source15: http://litespeedtech.com/packages/lsapi/%{orgname}-litespeed-%{litespeed_version}.tgz
177 # Source15-md5: 9d58485d5fd6b5f5fefcec41b9ce283e
178 Patch0: %{orgname}-shared.patch
179 Patch1: %{orgname}-pldlogo.patch
180 Patch2: %{orgname}-mail.patch
181 Patch3: %{orgname}-link-libs.patch
182 Patch4: %{orgname}-libpq_fs_h_path.patch
183 Patch5: %{orgname}-filter-shared.patch
184 Patch6: %{orgname}-build_modules.patch
185 Patch7: %{orgname}-sapi-ini-file.patch
186 Patch8: %{orgname}-config-file-scan-dir.patch
187 Patch9: %{orgname}-sh.patch
188 Patch10: %{orgname}-ini.patch
190 %if %{with type_hints}
191 Patch12: http://ilia.ws/patch/type_hint_53_v2.txt
193 Patch13: bug-test-pcntl-55479.patch
194 Patch14: %{orgname}-no_pear_install.patch
195 Patch15: %{orgname}-zlib.patch
196 Patch16: php-bug-71475.patch
197 Patch17: %{orgname}-readline.patch
198 Patch18: %{orgname}-nohttpd.patch
199 Patch19: %{orgname}-gd_imagerotate_enable.patch
200 Patch20: %{orgname}-uint32_t.patch
201 Patch21: %{orgname}-dba-link.patch
202 Patch22: %{orgname}-both-apxs.patch
203 Patch23: %{orgname}-builddir.patch
204 Patch24: %{orgname}-zlib-for-getimagesize.patch
205 Patch25: %{orgname}-stupidapache_version.patch
206 Patch26: %{orgname}-pear.patch
207 Patch27: %{orgname}-config-dir.patch
208 Patch29: %{orgname}-fcgi-graceful.patch
209 Patch31: %{orgname}-fcgi-error_log-no-newlines.patch
210 Patch34: %{orgname}-libtool.patch
211 Patch35: %{orgname}-tds.patch
212 Patch36: %{orgname}-mysql-charsetphpini.patch
213 Patch37: %{orgname}-mysqli-charsetphpini.patch
214 Patch38: %{orgname}-pdo_mysql-charsetphpini.patch
215 Patch39: %{orgname}-use-prog_sendmail.patch
216 Patch41: %{orgname}-fpm-config.patch
217 Patch42: %{orgname}-fpm-shared.patch
218 Patch43: %{orgname}-silent-session-cleanup.patch
219 Patch44: %{orgname}-include_path.patch
220 Patch45: %{orgname}-imap-annotations.patch
221 Patch46: %{orgname}-imap-myrights.patch
222 Patch47: suhosin.patch
223 Patch48: php-bug-60598.patch
224 Patch49: %{orgname}-m4-divert.patch
225 Patch50: extension-shared-optional-dep.patch
226 Patch51: spl-shared.patch
227 Patch52: pcre-shared.patch
228 Patch53: fix-test-run.patch
229 Patch59: %{orgname}-systzdata.patch
230 Patch60: %{orgname}-oracle-instantclient.patch
231 Patch62: mcrypt-libs.patch
232 Patch63: %{orgname}-mysql-nowarning.patch
233 Patch64: %{orgname}-m4.patch
234 # http://spot.fedorapeople.org/php-5.3.6-libzip.patch
235 Patch65: system-libzip.patch
236 Patch66: %{orgname}-db.patch
237 Patch67: php-litespeed.patch
239 Patch69: fpm-conf-split.patch
240 Patch70: mysql-lib-ver-mismatch.patch
241 # git clone git://github.com/php/php-src.git && git checkout PHP_5_6
242 # git diff php-5.3.29..PHP-5.6 ./ext/fileinfo/libmagic > ~/rpm/packages/php/php-fileinfo.patch
243 # git diff php-5.3.29..PHP-5.6 ./ext/fileinfo/config.m4 >> ~/rpm/packages/php/php-fileinfo.patch
244 # git diff php-5.3.29..PHP-5.6 ./ext/fileinfo/Makefile.frag >> ~/rpm/packages/php/php-fileinfo.patch
245 # git diff php-5.3.29..PHP-5.6 ./ext/fileinfo/data_file.c >> ~/rpm/packages/php/php-fileinfo.patch
246 Patch71: php-fileinfo.patch
247 # Patch71-md5: 771e4934132c5f5c968248c954d1ef6e
248 Patch72: x32-suhosin.patch
249 Patch73: php-bug-68486.patch
250 Patch74: mysqli-err.patch
251 Patch75: openssl.patch
252 Patch76: php-bug-61930.patch
253 Patch77: php-icu64.patch
254 # Fixes for security bugs
255 # https://repo.webtatic.com/yum/centos/5/SRPMS/repoview/php.html
256 # also from RHEL6/CentOS7
257 Patch220: php-5.3.3-CVE-2011-4153.patch
258 Patch221: CVE-2019-11043.patch
260 Patch247: php-5.3.3-CVE-2014-2497.patch
262 Patch249: php-5.3.29-CVE-2014-3597.patch
263 Patch250: php-5.3.3-CVE-2014-4698.patch
264 Patch251: php-5.3.3-CVE-2014-4670.patch
265 Patch252: php-5.3.3-CVE-2014-3668.patch
266 Patch253: php-5.3.3-CVE-2014-3669.patch
267 Patch254: php-5.3.3-CVE-2014-3670.patch
269 Patch256: php-5.3.29-CVE-2014-8142.patch
270 Patch257: php-5.3.29-CVE-2015-0231.patch
271 Patch258: php-5.3.29-CVE-2015-0232.patch
272 URL: http://www.php.net/
273 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
274 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
275 BuildRequires: apache-base
276 BuildRequires: autoconf >= 2.53
277 BuildRequires: automake >= 1.4d
279 BuildRequires: bzip2-devel
280 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
281 BuildRequires: cyrus-sasl-devel
282 BuildRequires: db-devel >= 4.0
283 BuildRequires: elfutils-devel
284 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
286 %{?with_kerberos5:BuildRequires: heimdal-devel}
287 BuildRequires: libatomic-devel
288 %{?with_system_libzip:BuildRequires: libzip-devel >= 0.10-3}
289 BuildRequires: mysql-devel
290 BuildRequires: pkgconfig
292 BuildRequires: sed >= 4.0
293 %if %{with mssql} || %{with sybase_ct}
294 BuildRequires: freetds-devel >= 0.82
296 BuildRequires: freetype-devel >= 2.0
297 %if %{with system_gd}
298 BuildRequires: gd-devel >= 2.0.28-4
299 BuildRequires: gd-devel(imagerotate) = 5.2.0
301 BuildRequires: gdbm-devel
302 BuildRequires: gmp-devel
303 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
304 BuildRequires: libicu-devel
305 BuildRequires: libjpeg-devel
306 BuildRequires: libltdl-devel >= 1.4
307 BuildRequires: libmcrypt-devel >= 2.4.4
308 BuildRequires: libpng-devel >= 1.0.8
309 %{?with_intl:BuildRequires: libstdc++-devel}
310 %if "%{pld_release}" != "ac"
311 BuildRequires: libtool >= 2:2.4.6
313 BuildRequires: libtool >= 1.4.3
315 BuildRequires: libxml2-devel >= 1:2.7.6-4
316 BuildRequires: libxslt-devel >= 1.1.0
317 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
318 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
319 %if %{with openssl} || %{with ldap}
320 BuildRequires: openssl-devel >= 0.9.7d
322 %{?with_gcov:BuildRequires: lcov}
323 %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
324 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
325 %{?with_oci:%{?with_instantclient:BuildRequires: oracle-instantclient-devel}}
326 BuildRequires: pam-devel
327 %{?with_pcre:BuildRequires: pcre-devel >= 8.10}
328 BuildRequires: pkgconfig
329 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
330 %{?with_pgsql:BuildRequires: postgresql-devel}
331 BuildRequires: readline-devel
332 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
333 BuildRequires: rpm >= 4.4.9-56
334 BuildRequires: rpm-build >= 4.4.0
335 BuildRequires: rpmbuild(macros) >= 1.566
336 %{?with_sqlite2:BuildRequires: sqlite-devel}
337 %if %{with sqlite3} || %{with pdo_sqlite}
338 BuildRequires: sqlite3-devel >= 3.3.9
340 BuildRequires: t1lib-devel
341 %{?with_tidy:BuildRequires: tidy-devel}
342 %{?with_odbc:BuildRequires: unixODBC-devel}
343 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
344 BuildRequires: zlib-devel >= 1.0.9
346 BuildRequires: apache1-devel
349 BuildRequires: apache-devel >= 2.0.52-2
350 BuildRequires: apr-devel >= 1:1.0.0
351 BuildRequires: apr-util-devel >= 1:1.0.0
353 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
355 %define php_sysconfdir /etc/%{name}
356 %define php_extensiondir %{_libdir}/%{name}
357 %define _sysconfdir %{php_sysconfdir}
359 # must be in sync with source. extra check ensuring that it is so is done in %%build
360 %define php_api_version 20090626
361 %define zend_module_api 20090626
362 %define zend_extension_api 220090626
366 %define enchantver 1.1.0
367 %define fileinfover 1.0.5-dev
369 %define intlver 1.1.0
370 %define jsonver 1.2.1
371 %define pharver 2.0.1
372 %define sqlitever 2.0-dev
373 %define sqlite3ver 0.7-dev
374 %define zipver 1.11.0
376 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
377 %define php_debug %{!?with_debug:0}%{?with_debug:1}
380 %undefine with_ccache
384 # ORACLE_HOME is required for oci8 ext to build
385 %define _preserve_env %_preserve_env_base ORACLE_HOME
389 PHP is an HTML-embedded scripting language. PHP attempts to make it
390 easy for developers to write dynamically generated web pages. PHP also
391 offers built-in database integration for several commercial and
392 non-commercial database management systems, so writing a
393 database-enabled web page with PHP is fairly simple. The most common
394 use of PHP coding is probably as a replacement for CGI scripts. The
395 mod_php module enables the Apache web server to understand and process
396 the embedded PHP language in web pages. This package contains PHP
399 %{?with_suhosin:This version is built with Suhosin-Patch for PHP.}
401 %description -l fr.UTF-8
402 PHP est un langage de script embarque dans le HTM. PHP essaye de
403 rendre simple aux developpeurs d'ecrire des pages web generees
404 dynamiquement. PHP incorpore egalement une integration avec plusieurs
405 systemes de gestion de bases de donnees commerciaux et
406 non-connerciaux, qui rent facile la creation de pages web liees avec
407 des bases de donnees. L'utilisation la plus commune de PHP est
408 probablement en remplacement de scripts CGI. Le module mod_php permet
409 au serveur web Apache de comprendre et de traiter le langage PHP
410 integre dans des pages web. Ce package contient PHP version
413 %description -l pl.UTF-8
414 PHP jest językiem skryptowym, którego polecenia umieszcza się w
415 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
416 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
417 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
418 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
419 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
420 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
421 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
424 %description -l pt_BR.UTF-8
425 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
426 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
427 com algumas características únicas, específicas ao PHP. O objetivo da
428 linguagem é permitir que desenvolvedores web escrevam páginas
429 dinamicamente geradas de forma rápida.
431 %description -l ru.UTF-8
432 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
433 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
434 для работы с базами данных относительно просто. Наиболее популярное
435 использование PHP - замена для CGI скриптов.
437 %description -l uk.UTF-8
438 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
439 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
440 роботи з базами даних є доволі простим. Найбільш популярне
441 використання PHP - заміна для CGI скриптів.
443 %package -n apache1-mod_%{name}
444 Summary: PHP DSO module for Apache 1.3.x
445 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x
446 Group: Development/Languages/PHP
447 Requires: %{name}-common = %{epoch}:%{version}-%{release}
448 Requires: apache1(EAPI) >= 1.3.33-2
449 Requires: apache1-mod_mime
450 Provides: webserver(php) = %{version}
451 Obsoletes: apache-mod_php < 1:4.1.1
452 Obsoletes: apache1-mod_php < 4:5.3.28-7
455 %description -n apache1-mod_%{name}
456 PHP as DSO module for Apache 1.3.x.
458 %description -n apache1-mod_%{name} -l pl.UTF-8
459 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x.
461 %package -n apache-mod_%{name}
462 Summary: PHP support for Apache 2.x
463 Summary(pl.UTF-8): Wsparcie PHP dla Apache 2.x
464 Group: Development/Languages/PHP
465 Requires: apache-mod_%{name}-core = %{epoch}:%{version}-%{release}
466 Requires: %{name}-common = %{epoch}:%{version}-%{release}
467 Provides: webserver(php) = %{version}
468 Obsoletes: apache-mod_php < 4:5.3.28-7
471 %description -n apache-mod_%{name}
472 PHP support for Apache 2.x.
474 %description -n apache-mod_%{name} -l pl.UTF-8
475 Wsparcie PHP dla Apache 2.x.
477 %package -n apache-mod_%{name}-core
478 Summary: PHP DSO module for Apache 2.x
479 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
480 Group: Development/Languages/PHP
481 Requires: %{name}-common = %{epoch}:%{version}-%{release}
482 Requires: apache(modules-api) = %{apache_modules_api}
483 Requires: apache-mod_mime
485 %description -n apache-mod_%{name}-core
486 PHP as DSO module for Apache 2.x.
488 %description -n apache-mod_%{name}-core -l pl.UTF-8
489 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
492 Summary: PHP for litespeed HTTP server
493 Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
494 Group: Development/Languages/PHP
495 Requires: %{name}-common = %{epoch}:%{version}-%{release}
496 Provides: php(litespeed)
497 Provides: webserver(php) = %{version}
498 Obsoletes: php-litespeed < 4:5.3.28-7
500 %description litespeed
501 PHP for litespeed HTTP server.
503 %description litespeed -l pl.UTF-8
504 PHP dla serwera HTTP litespeed.
507 Summary: PHP as CGI/FastCGI program
508 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
509 Group: Development/Languages/PHP
510 Requires: %{name}-common = %{epoch}:%{version}-%{release}
511 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
514 Provides: webserver(php) = %{version}
515 Obsoletes: php-cgi < 4:5.3.28-7
516 Obsoletes: php-fcgi < 4:5.3.0
519 PHP as CGI or FastCGI program.
521 %description cgi -l pl.UTF-8
522 PHP jako program CGI lub FastCGI.
525 Summary: PHP as CLI interpreter
526 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
527 Group: Development/Languages/PHP
528 Requires: %{name}-common = %{epoch}:%{version}-%{release}
529 Obsoletes: php-cli < 4:5.3.28-7
532 PHP as CLI interpreter.
534 %description cli -l pl.UTF-8
535 PHP jako interpreter działający z linii poleceń.
538 Summary: PHP library for embedding in applications
539 Summary(pl.UTF-8): Biblioteka PHP do osadzania w aplikacjach
541 Requires: %{name}-common = %{epoch}:%{version}-%{release}
542 Obsoletes: php-embedded < 4:5.3.28-7
544 %description embedded
545 The php-embedded package contains a library which can be embedded into
546 applications to provide PHP scripting language support.
548 %description embedded -l pl.UTF-8
549 Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
550 celu obsługi PHP jako języka skryptowego.
553 Summary: /usr/bin/php symlink
554 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
555 Group: Development/Languages/PHP
556 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
557 Obsoletes: /usr/bin/php
558 Obsoletes: php-program < 4:5.3.28-7
561 Package providing /usr/bin/php symlink to PHP CLI.
563 %description program -l pl.UTF-8
564 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
567 Summary: PHP FastCGI Process Manager
568 Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
569 Group: Development/Languages/PHP
570 URL: http://www.php-fpm.org/
571 Requires(post,preun): /sbin/chkconfig
572 Requires(postun): /usr/sbin/userdel
573 Requires(pre): /bin/id
574 Requires(pre): /usr/sbin/useradd
575 Requires: %{name}-common = %{epoch}:%{version}-%{release}
576 %{?with_alternatives:Requires: alternatives}
577 Requires: php-dirs >= 1.4-2
582 Provides: webserver(php) = %{version}
583 Obsoletes: php-fpm < 4:5.3.28-7
584 %if "%{pld_release}" != "ac"
585 Conflicts: logrotate < 3.8.0
589 PHP FastCGI Process Manager.
591 %description fpm -l pl.UTF-8
592 PHP FastCGI Process Manager - zarządca procesów FastCGI.
595 Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
596 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
597 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
598 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
600 Requires(post): sed >= 4.0
601 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
602 Requires: glibc >= 6:2.3.5
603 Requires: php-dirs >= 1.4
604 Requires: rpm-whiteout >= 1.28
606 %if "%{pld_release}" == "ac"
607 # postpone tree rebuild in ac
608 Provides: php5(debug) = %{php_debug}
609 Provides: php5(thread-safety) = %{zend_zts}
611 Provides: %{name}(debug) = %{php_debug}
612 Provides: %{name}(modules_api) = %{php_api_version}
613 Provides: %{name}(thread-safety) = %{zend_zts}
614 Provides: %{name}(zend_extension_api) = %{zend_extension_api}
615 Provides: %{name}(zend_module_api) = %{zend_module_api}
616 Provides: %{name}-core
617 Provides: %{name}-date
618 Provides: %{name}-ereg
619 Provides: %{name}-reflection
620 Provides: %{name}-standard
621 Provides: php(core) = %{version}
624 Provides: php(libxml)
625 Provides: php(reflection)
626 Provides: php(standard)
627 %{!?with_mysqlnd:Obsoletes: php-mysqlnd}
628 %{?with_pcre:%requires_ge_to pcre pcre-devel}
630 Obsoletes: php-common < 4:5.3.28-7
631 Obsoletes: php-pecl-domxml
632 Conflicts: php4-common < 3:4.4.4-8
633 Conflicts: rpm < 4.4.2-0.2
636 Common files needed by both Apache modules and CGI/CLI SAPIs.
638 %description common -l pl.UTF-8
639 Wspólne pliki dla modułu Apache'a i programu CGI.
641 %description common -l ru.UTF-8
642 Этот пакет содержит общие файлы для разных вариантов реализации PHP
643 (самодостаточной и в качестве модуля Apache).
645 %description common -l uk.UTF-8
646 Цей пакет містить спільні файли для різних варіантів реалізації PHP
647 (самодостатньої та в якості модуля Apache).
650 Summary: Files for PHP modules development
651 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
652 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
653 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
654 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
655 Group: Development/Languages/PHP
656 Requires: %{name}-common = %{epoch}:%{version}-%{release}
657 Requires: autoconf >= 2.13
659 %if "%{pld_release}" != "ac"
660 Requires: libtool >= 2:2.4.6
664 %{?with_embed:Requires: %{name}-embedded = %{epoch}:%{version}-%{release}}
665 %{?with_pcre:Requires: pcre-devel >= 8.10}
667 Provides: php-devel = %{epoch}:%{version}-%{release}
669 Obsoletes: php-pear-devel
670 Obsoletes: php4-devel
671 Obsoletes: php52-devel
672 Obsoletes: php54-devel
673 Obsoletes: php55-devel
674 Obsoletes: php56-devel
675 Obsoletes: php70-devel
676 Obsoletes: php71-devel
677 Obsoletes: php72-devel
678 Obsoletes: php73-devel
681 The php-devel package lets you compile dynamic extensions to PHP.
682 Included here is the source for the PHP extensions. Instead of
683 recompiling the whole PHP binary to add support for, say, oracle,
684 install this package and use the new self-contained extensions
685 support. For more information, read the file
686 README.SELF-CONTAINED-EXTENSIONS.
688 %description devel -l pl.UTF-8
689 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
690 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
691 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
692 samodzielnych rozszerzeniach można znaleźć w pliku
693 README.SELF-CONTAINED-EXTENSIONS.
695 %description devel -l pt_BR.UTF-8
696 Este pacote contém arquivos usados no desenvolvimento de programas ou
699 %description devel -l ru.UTF-8
700 Пакет php-devel дает возможность компилировать динамические расширения
701 PHP. Пакет включает исходный код этих расширений. Вместо повторной
702 компиляции бинарного файла PHP для добавления, например, поддержки
703 oracle, установите этот пакет для компилирования отдельных расширений.
704 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
706 %description devel -l uk.UTF-8
707 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
708 До пакету включено вихідний код для розширень. Замість повторної
709 компіляції бінарного файлу PHP для додання, наприклад, підтримки
710 oracle, встановіть цей пакет для компіляції окремих розширень.
711 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
714 Summary: bcmath extension module for PHP
715 Summary(pl.UTF-8): Moduł bcmath dla PHP
717 URL: http://www.php.net/manual/en/book.bc.php
718 Requires: %{name}-common = %{epoch}:%{version}-%{release}
719 Provides: php(bcmath)
720 Obsoletes: php-bcmath < 4:5.3.28-7
723 This is a dynamic shared object (DSO) for PHP that will add bc style
724 precision math functions support.
726 %description bcmath -l pl.UTF-8
727 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
728 matematycznych takich jak w programie bc.
731 Summary: Bzip2 extension module for PHP
732 Summary(pl.UTF-8): Moduł bzip2 dla PHP
734 URL: http://www.php.net/manual/en/book.bzip2.php
735 Requires: %{name}-common = %{epoch}:%{version}-%{release}
736 Provides: php(bz2) = %{bz2ver}
738 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
739 Obsoletes: php-bz2 < 4:5.3.28-7
740 Obsoletes: php-bzip2 < 4:5.2.14-3
741 Obsoletes: php-pecl-bz2 < %{bz2ver}
744 This is a dynamic shared object (DSO) for PHP that will add bzip2
745 compression support to PHP.
747 %description bz2 -l pl.UTF-8
748 Moduł PHP umożliwiający używanie kompresji bzip2.
751 Summary: Calendar extension module for PHP
752 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
754 URL: http://www.php.net/manual/en/book.calendar.php
755 Requires: %{name}-common = %{epoch}:%{version}-%{release}
756 Provides: php(calendar)
757 Obsoletes: php-calendar < 4:5.3.28-7
759 %description calendar
760 This is a dynamic shared object (DSO) for PHP that will add calendar
763 %description calendar -l pl.UTF-8
764 Moduł PHP dodający wsparcie dla kalendarza.
767 Summary: ctype extension module for PHP
768 Summary(pl.UTF-8): Moduł ctype dla PHP
770 URL: http://www.php.net/manual/en/book.ctype.php
771 Requires: %{name}-common = %{epoch}:%{version}-%{release}
773 Obsoletes: php-ctype < 4:5.3.28-7
776 This is a dynamic shared object (DSO) for PHP that will add ctype
779 %description ctype -l pl.UTF-8
780 Moduł PHP umożliwiający korzystanie z funkcji ctype.
783 Summary: curl extension module for PHP
784 Summary(pl.UTF-8): Moduł curl dla PHP
786 URL: http://www.php.net/manual/en/book.curl.php
787 Requires: %{name}-common = %{epoch}:%{version}-%{release}
789 Obsoletes: php-curl < 4:5.3.28-7
792 This is a dynamic shared object (DSO) for PHP that will add curl
795 %description curl -l pl.UTF-8
796 Moduł PHP umożliwiający korzystanie z biblioteki curl.
799 Summary: DBA extension module for PHP
800 Summary(pl.UTF-8): Moduł DBA dla PHP
802 URL: http://www.php.net/manual/en/book.dba.php
803 Requires: %{name}-common = %{epoch}:%{version}-%{release}
805 Obsoletes: php-dba < 4:5.3.28-7
808 This is a dynamic shared object (DSO) for PHP that will add flat-file
809 databases (DBA) support.
811 %description dba -l pl.UTF-8
812 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
816 Summary: DOM extension module for PHP
817 Summary(pl.UTF-8): Moduł DOM dla PHP
819 URL: http://www.php.net/manual/en/book.dom.php
820 Requires: %{name}-common = %{epoch}:%{version}-%{release}
822 # it has some compatibility functions
823 Provides: %{name}-domxml = %{epoch}:%{version}-%{release}
824 Provides: php(domxml)
825 Obsoletes: php-dom < 4:5.3.28-7
826 Obsoletes: php-domxml <= 3:4.3.8-1
829 This is a dynamic shared object (DSO) for PHP that will add new DOM
832 %description dom -l pl.UTF-8
833 Moduł PHP dodający nową obsługę DOM.
836 Summary: libenchant binder
837 Summary(pl.UTF-8): dowiązania biblioteki libenchant
839 URL: http://www.php.net/manual/en/book.exif.php
840 Requires: %{name}-common = %{epoch}:%{version}-%{release}
841 Provides: php(enchant) = %{enchantver}
842 Obsoletes: php-enchant < 4:5.3.28-7
843 Obsoletes: php-pecl-enchant < %{enchantver}
846 Enchant is a binder for libenchant. Libenchant provides a common API
847 for many spell libraries:
848 - aspell/pspell (intended to replace ispell)
851 - myspell (OpenOffice.org project, mozilla)
852 - uspell (primarily Yiddish, Hebrew, and Eastern European languages) A
853 plugin system allows to add custom spell support.
855 %description enchant -l pl.UTF-8
856 Enchant jest dowiązaniem do biblioteki libenchant, która udostępnia
857 ujednolicone API dla wielu narzędzi sprawdzających pisownię:
858 - aspell/pspell (w zamierzeniu ma zastąpić ispell)
861 - myspell (projekt OpenOffice.org, mozilla)
862 - uspell (głównie Jidysz, Hebrajski oraz języki wschodnioeuropejskie)
863 System wtyczek pozwala na dodanie wsparcia dla kolejnych narzędzi.
866 Summary: exif extension module for PHP
867 Summary(pl.UTF-8): Moduł exif dla PHP
869 URL: http://www.php.net/manual/en/book.exif.php
870 Requires: %{name}-common = %{epoch}:%{version}-%{release}
872 Obsoletes: php-exif < 4:5.3.28-7
875 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
876 support in image files.
878 %description exif -l pl.UTF-8
879 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
882 Summary: libmagic bindings
883 Summary(pl.UTF-8): Wiązania do libmagic
885 URL: http://www.php.net/manual/en/book.fileinfo.php
886 Requires: %{name}-common = %{epoch}:%{version}-%{release}
887 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
888 Provides: php(fileinfo) = %{fileinfover}
889 Obsoletes: php-fileinfo < 4:5.3.28-7
890 Obsoletes: php-mime_magic
891 Obsoletes: php-pecl-fileinfo < %{fileinfover}
893 %description fileinfo
894 This extension allows retrieval of information regarding vast majority
895 of file. This information may include dimensions, quality, length
898 Additionally it can also be used to retrieve the MIME type for a
899 particular file and for text files proper language encoding.
901 %description fileinfo -l pl.UTF-8
902 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
903 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
905 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
906 pliku oraz kodowania plików tekstowych.
909 Summary: Extension for safely dealing with input parameters
910 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
912 URL: http://www.php.net/manual/en/book.filter.php
913 Requires: %{name}-common = %{epoch}:%{version}-%{release}
914 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
915 Provides: php(filter)
916 Obsoletes: php-filter < 4:5.3.28-7
917 Obsoletes: php-pecl-filter
920 We all know that you should always check input variables, but PHP does
921 not offer really good functionality for doing this in a safe way. The
922 Input Filter extension is meant to address this issue by implementing
923 a set of filters and mechanisms that users can use to safely access
926 %description filter -l pl.UTF-8
927 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
928 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
929 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
930 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
931 mogą bezpiecznie używać do dostępu do danych.
934 Summary: FTP extension module for PHP
935 Summary(pl.UTF-8): Moduł FTP dla PHP
937 URL: http://www.php.net/manual/en/book.ftp.php
938 Requires: %{name}-common = %{epoch}:%{version}-%{release}
940 Obsoletes: php-ftp < 4:5.3.28-7
943 This is a dynamic shared object (DSO) for PHP that will add FTP
946 %description ftp -l pl.UTF-8
947 Moduł PHP dodający obsługę protokołu FTP.
950 Summary: GD extension module for PHP
951 Summary(pl.UTF-8): Moduł GD dla PHP
953 URL: http://www.php.net/manual/en/book.image.php
954 Requires: %{name}-common = %{epoch}:%{version}-%{release}
955 %if %{with system_gd}
956 Requires: gd >= 2.0.28-4
958 Requires: gd(imagerotate) = 5.2.0
961 Obsoletes: php-gd < 4:5.3.28-7
964 This is a dynamic shared object (DSO) for PHP that will add GD
965 support, allowing you to create and manipulate images with PHP.
967 %description gd -l pl.UTF-8
968 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
969 tworzenie i obróbkę obrazków.
972 Summary: gettext extension module for PHP
973 Summary(pl.UTF-8): Moduł gettext dla PHP
975 URL: http://www.php.net/manual/en/book.gettext.php
976 Requires: %{name}-common = %{epoch}:%{version}-%{release}
977 Provides: php(gettext)
978 Obsoletes: php-gettext < 4:5.3.28-7
981 This is a dynamic shared object (DSO) for PHP that will add gettext
984 %description gettext -l pl.UTF-8
985 Moduł PHP dodający obsługę lokalizacji przez gettext.
988 Summary: gmp extension module for PHP
989 Summary(pl.UTF-8): Moduł gmp dla PHP
991 URL: http://www.php.net/manual/en/book.gmp.php
992 Requires: %{name}-common = %{epoch}:%{version}-%{release}
994 Obsoletes: php-gmp < 4:5.3.28-7
997 This is a dynamic shared object (DSO) for PHP that will add arbitrary
998 length number support with GNU MP library.
1000 %description gmp -l pl.UTF-8
1001 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
1002 liczbach o dowolnej długości.
1005 Summary: HASH Message Digest Framework
1006 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
1008 URL: http://www.php.net/manual/en/book.gmp.php
1009 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1010 Provides: php(hash) = %{hashver}
1012 Provides: php(mhash)
1013 Provides: php-mhash = %{epoch}:%{version}-%{release}
1014 Obsoletes: php-mhash < 4:5.3.0
1016 Obsoletes: php-hash < 4:5.3.28-7
1017 Obsoletes: php-pecl-hash < %{hashver}
1020 Native implementations of common message digest algorithms using a
1021 generic factory method.
1023 %description hash -l pl.UTF-8
1024 Natywne implementacje popularnych algorytmów obliczania skrótów
1025 wiadomości przy użyciu wspólnego interfejsu.
1028 Summary: iconv extension module for PHP
1029 Summary(pl.UTF-8): Moduł iconv dla PHP
1031 URL: http://www.php.net/manual/en/book.iconv.php
1032 Requires: %{_libdir}/gconv
1033 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1035 Provides: php(iconv)
1036 Obsoletes: php-iconv < 4:5.3.28-7
1039 This is a dynamic shared object (DSO) for PHP that will add iconv
1042 %description iconv -l pl.UTF-8
1043 Moduł PHP dodający obsługę iconv.
1046 Summary: IMAP extension module for PHP
1047 Summary(pl.UTF-8): Moduł IMAP dla PHP
1048 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
1050 URL: http://www.php.net/manual/en/book.imap.php
1051 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1052 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1053 Requires: imap-lib >= 1:2007e-2
1055 Obsoletes: php-imap < 4:5.3.28-7
1058 This is a dynamic shared object (DSO) for PHP that will add IMAP
1061 %description imap -l pl.UTF-8
1062 Moduł PHP dodający obsługę skrzynek IMAP.
1064 %description imap -l pt_BR.UTF-8
1065 Um módulo para aplicações PHP que usam IMAP.
1068 Summary: InterBase/Firebird database module for PHP
1069 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
1071 URL: http://www.php.net/manual/en/book.ibase.php
1072 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1073 Provides: php(interbase)
1074 %{?with_interbase_inst:Autoreq: false}
1075 Obsoletes: php-interbase < 4:5.3.28-7
1077 %description interbase
1078 This is a dynamic shared object (DSO) for PHP that will add InterBase
1079 and Firebird database support.
1081 %description interbase -l pl.UTF-8
1082 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
1085 Summary: Internationalization extension (ICU wrapper)
1086 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
1088 URL: http://www.php.net/intl
1089 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1090 Provides: php(intl) = %{intlver}
1091 Obsoletes: php-intl < 4:5.3.28-7
1092 Obsoletes: php-pecl-intl < %{intlver}
1095 Internationalization extension (further is referred as Intl) is a
1096 wrapper for ICU library, enabling PHP programmers to perform
1097 UCA-conformant collation and date/time/number/currency formatting in
1100 %description intl -l pl.UTF-8
1101 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
1102 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
1103 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
1107 Summary: PHP C extension for JSON serialization
1108 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
1110 URL: http://www.php.net/manual/en/book.json.php
1111 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1112 Provides: php(json) = %{jsonver}
1113 Obsoletes: php-json < 4:5.3.28-7
1114 Obsoletes: php-pecl-json < %{jsonver}
1117 php-json is an extremely fast PHP C extension for JSON (JavaScript
1118 Object Notation) serialisation.
1120 %description json -l pl.UTF-8
1121 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
1122 (JavaScript Object Notation).
1125 Summary: LDAP extension module for PHP
1126 Summary(pl.UTF-8): Moduł LDAP dla PHP
1127 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
1129 URL: http://www.php.net/manual/en/book.ldap.php
1130 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1132 Obsoletes: php-ldap < 4:5.3.28-7
1135 This is a dynamic shared object (DSO) for PHP that will add LDAP
1138 %description ldap -l pl.UTF-8
1139 Moduł PHP dodający obsługę LDAP.
1141 %description ldap -l pt_BR.UTF-8
1142 Um módulo para aplicações PHP que usam LDAP.
1145 Summary: mbstring extension module for PHP
1146 Summary(pl.UTF-8): Moduł mbstring dla PHP
1148 URL: http://www.php.net/manual/en/book.mbstring.php
1149 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1150 Provides: php(mbstring)
1151 Obsoletes: php-mbstring < 4:5.3.28-7
1153 %description mbstring
1154 This is a dynamic shared object (DSO) for PHP that will add multibyte
1157 %description mbstring -l pl.UTF-8
1158 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1161 Summary: mcrypt extension module for PHP
1162 Summary(pl.UTF-8): Moduł mcrypt dla PHP
1164 URL: http://www.php.net/manual/en/book.mcrypt.php
1165 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1166 Provides: php(mcrypt)
1167 Obsoletes: php-mcrypt < 4:5.3.28-7
1170 This is a dynamic shared object (DSO) for PHP that will add mcrypt
1173 %description mcrypt -l pl.UTF-8
1174 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
1177 Summary: MS SQL extension module for PHP
1178 Summary(pl.UTF-8): Moduł MS SQL dla PHP
1180 URL: http://www.php.net/manual/en/book.mssql.php
1181 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1182 Provides: php(mssql)
1183 Obsoletes: php-mssql < 4:5.3.28-7
1186 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1187 databases support through FreeTDS library.
1189 %description mssql -l pl.UTF-8
1190 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
1194 Summary: MySQL database module for PHP
1195 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
1196 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
1198 URL: http://www.php.net/manual/en/book.mysql.php
1199 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1200 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1201 Provides: php(mysql)
1202 Obsoletes: php-mysql < 4:5.3.28-7
1205 This is a dynamic shared object (DSO) for PHP that will add MySQL
1208 %description mysql -l pl.UTF-8
1209 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
1211 %description mysql -l pt_BR.UTF-8
1212 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1215 Summary: MySQLi module for PHP
1216 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1218 URL: http://www.php.net/manual/en/book.mysqli.php
1219 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1220 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1221 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1222 Provides: php(mysqli)
1223 Obsoletes: php-mysqli < 4:5.3.28-7
1226 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1227 (Improved MySQL) support. The difference between it and mysql module
1228 is that it provides access to functionality of MySQL 4.1 and above.
1230 %description mysqli -l pl.UTF-8
1231 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1232 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1233 MySQL w wersji 4.1 i nowszych.
1236 Summary: MySQL Native Client Driver for PHP
1237 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1239 URL: http://www.php.net/manual/en/book.mysqlnd.php
1240 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1241 Provides: php(mysqlnd)
1242 Obsoletes: php-mysqlnd < 4:5.3.28-7
1244 %description mysqlnd
1245 MySQL Native Driver is a replacement for the MySQL Client Library
1248 Because MySQL Native Driver is written as a PHP extension, it is
1249 tightly coupled to the workings of PHP. This leads to gains in
1250 efficiency, especially when it comes to memory usage, as the driver
1251 uses the PHP memory management system. It also supports the PHP memory
1252 limit. Using MySQL Native Driver leads to comparable or better
1253 performance than using MySQL Client Library, it always ensures the
1254 most efficient use of memory. One example of the memory efficiency is
1255 the fact that when using the MySQL Client Library, each row is stored
1256 in memory twice, whereas with the MySQL Native Driver each row is only
1257 stored once in memory.
1259 %description mysqlnd -l pl.UTF-8
1260 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1261 klienckiej MySQL (libmysql).
1263 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1264 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1265 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1266 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1267 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1268 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1269 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1270 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1271 tym sterowniku - tylko raz.
1274 Summary: Oracle 8+ database module for PHP
1275 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1277 URL: http://www.php.net/manual/en/book.oci8.php
1278 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1280 Obsoletes: php-oci8 < 4:5.3.28-7
1284 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1285 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1287 %description oci8 -l pl.UTF-8
1288 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1289 poprzez interfejs Oracle8 Call-Interface (OCI8).
1292 Summary: ODBC extension module for PHP
1293 Summary(pl.UTF-8): Moduł ODBC dla PHP
1294 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1296 URL: http://www.php.net/manual/en/book.uodbc.php
1297 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1298 Requires: unixODBC >= 2.1.1-3
1300 Obsoletes: php-odbc < 4:5.3.28-7
1303 This is a dynamic shared object (DSO) for PHP that will add ODBC
1306 %description odbc -l pl.UTF-8
1307 Moduł PHP ze wsparciem dla ODBC.
1309 %description odbc -l pt_BR.UTF-8
1310 Um módulo para aplicações PHP que usam ODBC.
1313 Summary: OpenSSL extension module for PHP
1314 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1316 URL: http://www.php.net/manual/en/book.openssl.php
1317 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1318 Provides: php(openssl)
1319 Obsoletes: php-openssl < 4:5.3.28-7
1321 %description openssl
1322 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1325 %description openssl -l pl.UTF-8
1326 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1329 Summary: Process Control extension module for PHP
1330 Summary(pl.UTF-8): Moduł Process Control dla PHP
1332 URL: http://www.php.net/manual/en/book.pcntl.php
1333 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1334 Provides: php(pcntl)
1335 Obsoletes: php-pcntl < 4:5.3.28-7
1338 This is a dynamic shared object (DSO) for PHP that will add process
1339 spawning and control support. It supports functions like fork(),
1340 waitpid(), signal() etc.
1342 %description pcntl -l pl.UTF-8
1343 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1344 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1347 Summary: PCRE extension module for PHP
1348 Summary(pl.UTF-8): Moduł PCRE dla PHP
1350 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1352 Obsoletes: php-pcre < 4:5.3.28-7
1355 This is a dynamic shared object (DSO) for PHP that will add Perl
1356 Compatible Regular Expression support.
1358 %description pcre -l pl.UTF-8
1359 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1360 (Perl Compatible Regular Expressions)
1363 Summary: PHP Data Objects (PDO)
1364 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1366 URL: http://www.php.net/manual/en/book.pdo.php
1367 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1368 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1370 Obsoletes: php-pdo < 4:5.3.28-7
1371 Obsoletes: php-pecl-PDO
1374 This is a dynamic shared object (DSO) for PHP that will add PDO
1377 %description pdo -l pl.UTF-8
1378 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1381 Summary: PHP Data Objects (PDO) FreeTDS support
1382 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1384 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1385 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1386 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1387 Provides: php(pdo_dblib)
1388 Obsoletes: php-pdo-dblib < 4:5.3.28-7
1390 %description pdo-dblib
1391 This is a dynamic shared object (DSO) for PHP that will add PDO
1394 %description pdo-dblib -l pl.UTF-8
1395 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1398 %package pdo-firebird
1399 Summary: PHP Data Objects (PDO) Firebird support
1400 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1402 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1403 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1404 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1405 Provides: php(pdo-firebird)
1406 Provides: php(pdo_firebird)
1407 Obsoletes: php-pdo-firebird < 4:5.3.28-7
1408 Obsoletes: php-pecl-PDO_FIREBIRD
1410 %description pdo-firebird
1411 This is a dynamic shared object (DSO) for PHP that will add PDO
1414 %description pdo-firebird -l pl.UTF-8
1415 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1419 Summary: PHP Data Objects (PDO) MySQL support
1420 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1422 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1423 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1424 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1425 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1426 Provides: php(pdo-mysql)
1427 Provides: php(pdo_mysql)
1428 Obsoletes: php-pdo-mysql < 4:5.3.28-7
1429 Obsoletes: php-pecl-PDO_MYSQL
1431 %description pdo-mysql
1432 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1435 %description pdo-mysql -l pl.UTF-8
1436 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1440 Summary: PHP Data Objects (PDO) Oracle support
1441 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1443 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1444 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1445 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1446 Provides: php(pdo-oci)
1447 Provides: php(pdo_oci)
1448 Obsoletes: php-pdo-oci < 4:5.3.28-7
1449 Obsoletes: php-pecl-PDO_OCI
1451 %description pdo-oci
1452 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1455 %description pdo-oci -l pl.UTF-8
1456 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1460 Summary: PHP Data Objects (PDO) ODBC support
1461 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1463 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1464 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1465 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1466 Provides: php(pdo-odbc)
1467 Provides: php(pdo_odbc)
1468 Obsoletes: php-pdo-odbc < 4:5.3.28-7
1469 Obsoletes: php-pecl-PDO_ODBC
1471 %description pdo-odbc
1472 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1475 %description pdo-odbc -l pl.UTF-8
1476 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1480 Summary: PHP Data Objects (PDO) PostgreSQL support
1481 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1483 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1484 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1485 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1486 Provides: php(pdo-pgsql)
1487 Provides: php(pdo_pgsql)
1488 Obsoletes: php-pdo-pgsql < 4:5.3.28-7
1489 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1491 %description pdo-pgsql
1492 This is a dynamic shared object (DSO) for PHP that will add PDO
1495 %description pdo-pgsql -l pl.UTF-8
1496 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1500 Summary: PHP Data Objects (PDO) SQLite support
1501 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1503 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1504 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1505 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1506 Provides: php(pdo-sqlite)
1507 Provides: php(pdo_sqlite)
1508 Obsoletes: php-pdo-sqlite < 4:5.3.28-7
1509 Obsoletes: php-pecl-PDO_SQLITE
1511 %description pdo-sqlite
1512 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1515 %description pdo-sqlite -l pl.UTF-8
1516 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1520 Summary: PostgreSQL database module for PHP
1521 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1523 URL: http://www.php.net/manual/en/book.pgsql.php
1524 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1525 Provides: php(pgsql)
1526 Obsoletes: php-pgsql < 4:5.3.28-7
1529 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1532 %description pgsql -l pl.UTF-8
1533 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1535 %description pgsql -l pt_BR.UTF-8
1536 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1539 Summary: Phar archive module for PHP
1540 Summary(pl.UTF-8): Moduł phar dla PHP
1542 URL: http://www.php.net/manual/en/book.phar.php
1543 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1544 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1545 %{?with_alternatives:Requires: alternatives}
1546 Suggests: %{name}-cli
1547 # zlib is required by phar program, but as phar cli is optional should the dep be too
1548 Suggests: %{name}-zlib
1549 Provides: php(phar) = %{pharver}
1550 Obsoletes: php-pecl-phar < %{pharver}
1551 Obsoletes: php-phar < 4:5.3.28-7
1552 Conflicts: php-ioncube < 4.0.9
1555 This is a dynamic shared object (DSO) for PHP that will add phar
1558 %description phar -l pl.UTF-8
1559 Moduł PHP umożliwiający dostęp do achiwów .phar.
1562 Summary: POSIX extension module for PHP
1563 Summary(pl.UTF-8): Moduł POSIX dla PHP
1565 URL: http://www.php.net/manual/en/book.posix.php
1566 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1567 Provides: php(posix)
1568 Obsoletes: php-posix < 4:5.3.28-7
1571 This is a dynamic shared object (DSO) for PHP that will add POSIX
1572 functions support to PHP.
1574 %description posix -l pl.UTF-8
1575 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1578 Summary: pspell extension module for PHP
1579 Summary(pl.UTF-8): Moduł pspell dla PHP
1581 URL: http://www.php.net/manual/en/book.pspell.php
1582 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1583 Provides: php(pspell)
1584 Obsoletes: php-pspell < 4:5.3.28-7
1587 This is a dynamic shared object (DSO) for PHP that will add pspell
1588 support to PHP. It allows to check the spelling of a word and offer
1591 %description pspell -l pl.UTF-8
1592 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1593 sprawdzanie pisowni słowa i sugerowanie poprawek.
1596 Summary: readline extension module for PHP
1597 Summary(pl.UTF-8): Moduł readline dla PHP
1599 URL: http://www.php.net/manual/en/book.readline.php
1600 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1601 Provides: php(readline)
1602 Obsoletes: php-readline < 4:5.3.28-7
1604 %description readline
1605 This PHP module adds support for readline functions (only for cli and
1608 %description readline -l pl.UTF-8
1609 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1612 Summary: recode extension module for PHP
1613 Summary(pl.UTF-8): Moduł recode dla PHP
1615 URL: http://www.php.net/manual/en/book.recode.php
1616 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1617 Requires: recode >= 3.5d-3
1618 Provides: php(recode)
1619 Obsoletes: php-recode < 4:5.3.28-7
1622 This is a dynamic shared object (DSO) for PHP that will add recode
1625 %description recode -l pl.UTF-8
1626 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1630 Summary: session extension module for PHP
1631 Summary(pl.UTF-8): Moduł session dla PHP
1633 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1634 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1635 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1637 Provides: php(session)
1638 Obsoletes: php-session < 4:5.3.28-7
1640 %description session
1641 This is a dynamic shared object (DSO) for PHP that will add session
1644 %description session -l pl.UTF-8
1645 Moduł PHP dodający obsługę sesji.
1648 Summary: Shared Memory Operations extension module for PHP
1649 Summary(pl.UTF-8): Moduł shmop dla PHP
1651 URL: http://www.php.net/manual/en/book.shmop.php
1652 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1653 Provides: php(shmop)
1654 Obsoletes: php-shmop < 4:5.3.28-7
1657 This is a dynamic shared object (DSO) for PHP that will add Shared
1658 Memory Operations support.
1660 %description shmop -l pl.UTF-8
1661 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1664 Summary: Simple XML extension module for PHP
1665 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1667 URL: http://www.php.net/manual/en/book.simplexml.php
1668 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1669 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1670 Provides: php(simplexml)
1671 Obsoletes: php-simplexml < 4:5.3.28-7
1673 %description simplexml
1674 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1677 %description simplexml -l pl.UTF-8
1678 Moduł PHP dodający obsługę prostego XML-a.
1681 Summary: SNMP extension module for PHP
1682 Summary(pl.UTF-8): Moduł SNMP dla PHP
1684 URL: http://www.php.net/manual/en/book.snmp.php
1685 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1686 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1688 Obsoletes: php-snmp < 4:5.3.28-7
1691 This is a dynamic shared object (DSO) for PHP that will add SNMP
1694 %description snmp -l pl.UTF-8
1695 Moduł PHP dodający obsługę SNMP.
1698 Summary: soap extension module for PHP
1699 Summary(pl.UTF-8): Moduł soap dla PHP
1701 URL: http://www.php.net/manual/en/book.soap.php
1702 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1704 Obsoletes: php-soap < 4:5.3.28-7
1707 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1710 %description soap -l pl.UTF-8
1711 Moduł PHP dodający obsługę SOAP/WSDL.
1714 Summary: sockets extension module for PHP
1715 Summary(pl.UTF-8): Moduł socket dla PHP
1717 URL: http://www.php.net/manual/en/book.sockets.php
1718 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1719 Provides: php(sockets)
1720 Obsoletes: php-sockets < 4:5.3.28-7
1722 %description sockets
1723 This is a dynamic shared object (DSO) for PHP that will add sockets
1726 %description sockets -l pl.UTF-8
1727 Moduł PHP dodający obsługę gniazdek.
1730 Summary: Standard PHP Library module for PHP
1731 Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1733 URL: http://php.net/manual/en/book.spl.php
1734 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1735 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1736 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1738 Obsoletes: php-spl < 4:5.3.28-7
1741 This is a dynamic shared object (DSO) for PHP that will add Standard
1742 PHP Library support.
1744 %description spl -l pl.UTF-8
1745 Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1748 Summary: SQLite extension module for PHP
1749 Summary(pl.UTF-8): Moduł SQLite dla PHP
1751 URL: http://www.php.net/manual/en/book.sqlite.php
1752 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1753 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1754 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1755 Provides: php(sqlite) = %{sqlitever}
1756 Obsoletes: php-pecl-SQLite < %{sqlitever}
1757 Obsoletes: php-sqlite < 4:5.3.28-7
1760 SQLite is a C library that implements an embeddable SQL database
1761 engine. Programs that link with the SQLite library can have SQL
1762 database access without running a separate RDBMS process.
1764 SQLite is not a client library used to connect to a big database
1765 server. SQLite is the server. The SQLite library reads and writes
1766 directly to and from the database files on disk.
1768 %description sqlite -l pl.UTF-8
1769 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1770 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1771 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1774 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1775 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1776 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1780 Summary: SQLite3 extension module for PHP
1781 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1783 URL: http://php.net/manual/en/book.sqlite3.php
1784 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1785 Provides: php(sqlite3) = %{sqlite3ver}
1786 Obsoletes: php-sqlite3 < 4:5.3.28-7
1788 %description sqlite3
1789 SQLite is a C library that implements an embeddable SQL database
1790 engine. Programs that link with the SQLite library can have SQL
1791 database access without running a separate RDBMS process.
1793 SQLite is not a client library used to connect to a big database
1794 server. SQLite is the server. The SQLite library reads and writes
1795 directly to and from the database files on disk.
1797 %description sqlite3 -l pl.UTF-8
1798 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1799 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1800 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1803 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1804 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1805 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1809 Summary: Sybase-CT extension module for PHP
1810 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1812 URL: http://www.php.net/manual/en/book.sybase.php
1813 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1814 Provides: php(sybase-ct)
1815 Obsoletes: php-sybase
1816 Obsoletes: php-sybase-ct < 4:5.3.28-7
1818 %description sybase-ct
1819 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1820 MS SQL databases support through CT-lib.
1822 %description sybase-ct -l pl.UTF-8
1823 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1827 Summary: SysV msg extension module for PHP
1828 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1830 URL: http://www.php.net/manual/en/book.sem.php
1831 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1832 Provides: php(sysvmsg)
1833 Obsoletes: php-sysvmsg < 4:5.3.28-7
1835 %description sysvmsg
1836 This is a dynamic shared object (DSO) for PHP that will add SysV
1837 message queues support.
1839 %description sysvmsg -l pl.UTF-8
1840 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1843 Summary: SysV sem extension module for PHP
1844 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1846 URL: http://www.php.net/manual/en/book.sem.php
1847 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1848 Provides: php(sysvsem)
1849 Obsoletes: php-sysvsem < 4:5.3.28-7
1851 %description sysvsem
1852 This is a dynamic shared object (DSO) for PHP that will add SysV
1855 %description sysvsem -l pl.UTF-8
1856 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1859 Summary: SysV shm extension module for PHP
1860 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1862 URL: http://www.php.net/manual/en/book.shmop.php
1863 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1864 Provides: php(sysvshm)
1865 Obsoletes: php-sysvshm < 4:5.3.28-7
1867 %description sysvshm
1868 This is a dynamic shared object (DSO) for PHP that will add SysV
1869 Shared Memory support.
1871 %description sysvshm -l pl.UTF-8
1872 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1875 Summary: Contains unit test files for PHP and extensions
1876 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1878 URL: http://qa.php.net/
1879 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1882 This package contains unit tests for PHP and its extensions.
1884 %description tests -l pl.UTF-8
1885 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1888 Summary: Tidy extension module for PHP
1889 Summary(pl.UTF-8): Moduł Tidy dla PHP
1891 URL: http://www.php.net/manual/en/book.tidy.php
1892 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1895 Obsoletes: php-tidy < 4:5.3.28-7
1898 This is a dynamic shared object (DSO) for PHP that will add Tidy
1901 %description tidy -l pl.UTF-8
1902 Moduł PHP umożliwiający korzystanie z tidy.
1905 Summary: tokenizer extension module for PHP
1906 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1908 URL: http://www.php.net/manual/en/book.tokenizer.php
1909 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1910 Provides: php(tokenizer)
1911 Obsoletes: php-tokenizer < 4:5.3.28-7
1913 %description tokenizer
1914 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1917 %description tokenizer -l pl.UTF-8
1918 Moduł PHP dodający obsługę tokenizera do PHP.
1921 Summary: wddx extension module for PHP
1922 Summary(pl.UTF-8): Moduł wddx dla PHP
1924 URL: http://www.php.net/manual/en/book.wddx.php
1925 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1926 # - wddx doesn't require session as it's disabled at compile time:
1927 # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1928 # see also php.spec#rev1.120.2.22
1929 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1930 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1932 Obsoletes: php-wddx < 4:5.3.28-7
1935 This is a dynamic shared object (DSO) for PHP that will add wddx
1938 %description wddx -l pl.UTF-8
1939 Moduł PHP umożliwiający korzystanie z wddx.
1942 Summary: XML extension module for PHP
1943 Summary(pl.UTF-8): Moduł XML dla PHP
1945 URL: http://www.php.net/manual/en/book.xml.php
1946 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1948 Obsoletes: php-xml < 4:5.3.28-7
1951 This is a dynamic shared object (DSO) for PHP that will add XML
1952 support. This extension lets you create XML parsers and then define
1953 handlers for different XML events.
1955 %description xml -l pl.UTF-8
1956 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1957 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1958 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1961 Summary: XML Reader extension module for PHP
1962 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1964 URL: http://www.php.net/manual/en/book.xmlreader.php
1965 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1966 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1967 Provides: php(xmlreader)
1968 Obsoletes: php-xmlreader < 4:5.3.28-7
1970 %description xmlreader
1971 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1972 support. The XMLReader extension is an XML Pull parser. The reader
1973 acts as a cursor going forward on the document stream and stopping at
1974 each node on the way.
1976 %description xmlreader -l pl.UTF-8
1977 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1978 działa jako kursor przechodzący przez strumień dokumentu i
1979 zatrzymujący się na każdym węźle po drodze.
1982 Summary: xmlrpc extension module for PHP
1983 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1985 URL: http://www.php.net/manual/en/book.xmlrpc.php
1986 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1987 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1988 Provides: php(xmlrpc)
1989 Obsoletes: php-xmlrpc < 4:5.3.28-7
1992 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1995 %description xmlrpc -l pl.UTF-8
1996 Moduł PHP dodający obsługę XMLRPC.
1999 Summary: Fast, non-cached, forward-only means to write XML data
2000 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
2002 URL: http://www.php.net/manual/en/book.xmlwriter.php
2003 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2004 Provides: php(xmlwriter)
2005 Obsoletes: php-pecl-xmlwriter
2006 Obsoletes: php-xmlwriter < 4:5.3.28-7
2008 %description xmlwriter
2009 This extension wraps the libxml xmlWriter API. Represents a writer
2010 that provides a non-cached, forward-only means of generating streams
2011 or files containing XML data.
2013 %description xmlwriter -l pl.UTF-8
2014 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
2015 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
2016 plików zawierających dane XML.
2019 Summary: xsl extension module for PHP
2020 Summary(pl.UTF-8): Moduł xsl dla PHP
2022 URL: http://www.php.net/manual/en/book.xsl.php
2023 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2024 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
2025 Requires: libxslt >= 1.0.18
2026 # actually not true, functionality is similar, but API differs
2028 Obsoletes: php-xsl < 4:5.3.28-7
2029 Obsoletes: php-xslt <= 3:4.3.8-1
2032 This is a dynamic shared object (DSO) for PHP that will add new XSL
2033 support (using libxslt).
2035 %description xsl -l pl.UTF-8
2036 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
2039 Summary: Zip management extension
2040 Summary(pl.UTF-8): Zarządzanie archiwami zip
2042 URL: http://www.php.net/manual/en/book.zip.php
2043 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2044 %{?with_system_libzip:Requires: libzip >= 0.10-3}
2045 Provides: php(zip) = %{zipver}
2046 Obsoletes: php-pecl-zip < %{zipver}
2047 Obsoletes: php-zip < 4:5.3.28-7
2050 Zip is an extension to create, modify and read zip files.
2052 %description zip -l pl.UTF-8
2053 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
2054 odczyt archiwów zip.
2057 Summary: Zlib extension module for PHP
2058 Summary(pl.UTF-8): Moduł zlib dla PHP
2060 URL: http://www.php.net/manual/en/book.zlib.php
2061 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2063 Obsoletes: php-zlib < 4:5.3.28-7
2066 This is a dynamic shared object (DSO) for PHP that will add zlib
2067 compression support to PHP.
2069 %description zlib -l pl.UTF-8
2070 Moduł PHP umożliwiający używanie kompresji zlib.
2073 %setup -q -n %{orgname}-%{version}
2084 cp -p php.ini-production php.ini
2087 %if %{with type_hints}
2096 %if %{with system_gd}
2109 %if "%{pld_release}" != "ac"
2137 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
2143 %{?with_system_libzip:%patch65 -p1}
2145 %{__rm} -r sapi/litespeed
2146 gzip -dc %{SOURCE15} | tar xf - -C sapi/
2172 %{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
2174 # cleanup backups after patching
2175 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
2177 # conflict seems to be resolved by recode patches
2178 %{__rm} ext/recode/config9.m4
2180 # remove all bundled libraries not to link with them accidentally
2181 #%{__rm} -r ext/sqlite/libsqlite
2182 %{__rm} -r ext/sqlite3/libsqlite
2183 #%{__rm} -r ext/bcmath/libbcmath
2184 #%{__rm} -r ext/date/lib
2185 #%{__rm} -r ext/fileinfo/libmagic
2186 #%{__rm} -r ext/dba/libcdb
2187 #%{__rm} -r ext/dba/libflatfile
2188 #%{__rm} -r ext/dba/libinifile
2189 #%{__rm} -r ext/gd/libgd
2190 #%{__rm} -r ext/mbstring/libmbfl
2191 #%{__rm} -r ext/mbstring/oniguruma
2192 %{__rm} -r ext/pcre/pcrelib
2193 #%{__rm} -r ext/soap/interop
2194 %{__rm} -r ext/xmlrpc/libxmlrpc
2195 #%{__rm} -r ext/zip/lib
2197 cp -pf Zend/LICENSE{,.Zend}
2198 install -p %{SOURCE13} dep-tests.sh
2201 sed -i -e 's#-fvisibility=hidden##g' configure*
2203 # disable broken tests
2204 # says just "Terminated" twice and fails
2205 %{__mv} sapi/cli/tests/022.phpt{,.broken}
2207 # php-5.3.3/ext/standard/tests/file/statpage.phpt
2208 %{__rm} ext/standard/tests/file/statpage.phpt
2210 # idiotic test, it will fail if somebody else makes space on disk or if disk
2211 # space is not yet allocated (xfs). report upstream to advice bogus test is
2212 # probably pointless.
2213 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
2215 sh -xe %{_sourcedir}/skip-tests.sh
2218 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
2219 if [ $API != %{php_api_version} ]; then
2220 echo "Set %%define php_api_version to $API and re-run."
2224 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
2225 if [ $API != %{zend_module_api} ]; then
2226 echo "Set %%define zend_module_api to $API and re-run."
2230 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
2231 if [ $API != %{zend_extension_api} ]; then
2232 echo "Set %%define zend_extension_api to $API and re-run."
2236 # Check for some extension version
2237 ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
2238 if test "$ver" != "%{fileinfover}"; then
2239 : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
2240 : Update the fileinfover macro and rebuild.
2243 ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
2244 if test "$ver" != "%{pharver}"; then
2245 : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
2246 : Update the pharver macro and rebuild.
2249 ver=$(sed -n '/#define PHP_SQLITE3_VERSION/{s/.* "//;s/".*$//;p}' ext/sqlite3/php_sqlite3.h)
2250 if test "$ver" != "%{sqlite3ver}"; then
2251 : Error: Upstream Sqlite3 version is now ${ver}, expecting %{sqlite3ver}.
2252 : Update the sqlite3ver macro and rebuild.
2255 ver=$(sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
2256 if test "$ver" != "%{zipver}"; then
2257 : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
2258 : Update the zipver macro and rebuild.
2261 ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
2262 if test "$ver" != "%{jsonver}"; then
2263 : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
2264 : Update the jsonver macro and rebuild.
2267 ver=$(sed -rne 's,.*<version>(.+)</version>,\1,p' ext/bz2/package.xml)
2268 if test "$ver" != "%{bz2ver}"; then
2269 : Error: Upstream BZIP2 version is now ${ver}, expecting %{bz2ver}.
2270 : Update the bz2ver macro and rebuild.
2273 ver=$(sed -n '/#define PHP_ENCHANT_VERSION /{s/.* "//;s/".*$//;p}' ext/enchant/php_enchant.h)
2274 if test "$ver" != "%{enchantver}"; then
2275 : Error: Upstream Enchant version is now ${ver}, expecting %{enchantver}.
2276 : Update the enchantver macro and rebuild.
2279 ver=$(awk '/#define PHP_HASH_EXTVER/ {print $3}' ext/hash/php_hash.h | xargs)
2280 if test "$ver" != "%{hashver}"; then
2281 : Error: Upstream HASH version is now ${ver}, expecting %{hashver}.
2282 : Update the hashver macro and rebuild.
2285 ver=$(sed -n '/#define PHP_INTL_VERSION /{s/.* "//;s/".*$//;p}' ext/intl/php_intl.h)
2286 if test "$ver" != "%{intlver}"; then
2287 : Error: Upstream Intl version is now ${ver}, expecting %{intlver}.
2288 : Update the intlver macro and rebuild.
2291 ver=$(awk '/#define PHP_SQLITE_MODULE_VERSION/ {print $3}' ext/sqlite/sqlite.c | xargs)
2292 if test "$ver" != "%{sqlitever}"; then
2293 : Error: Upstream Sqlite version is now ${ver}, expecting %{sqlitever}.
2294 : Update the sqlitever macro and rebuild.
2298 export EXTENSION_DIR="%{php_extensiondir}"
2299 # configure once (for faster debugging purposes)
2300 if [ ! -f _built-conf ]; then
2301 # now remove Makefile copies
2302 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed}
2303 # force regeneration
2304 touch Zend/zend_language_parser.y
2307 cp -f /usr/share/automake/config.* .
2311 export PROG_SENDMAIL="/usr/lib/sendmail"
2312 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP -DOPENSSL_NO_SSL2=1 -DOPENSSL_NO_SSL3=1 %{rpmcppflags} -I%{_includedir}/xmlrpc-epi"
2314 CPPFLAGS="$CPPFLAGS $(getconf LFS_CFLAGS)"
2322 %if %{with litespeed}
2338 for sapi in $sapis; do
2340 # skip if already configured (for faster debugging purposes)
2341 [ -f Makefile.$sapi ] && continue
2346 sapi_args='--disable-cli'
2349 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
2352 sapi_args='--disable-cli --enable-fpm'
2355 sapi_args='--disable-cli --enable-embed'
2358 ver=$(rpm -q --qf '%{V}' apache1-devel)
2359 sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
2362 ver=$(rpm -q --qf '%{V}' apache-devel)
2363 sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
2366 sapi_args='--with-litespeed'
2371 EXTRA_LDFLAGS="%{rpmldflags}" \
2373 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2374 --cache-file=config.cache \
2376 --with-libdir=%{_lib} \
2377 --with-config-file-path=%{_sysconfdir} \
2378 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2379 --with-exec-dir=%{_bindir} \
2380 --with-system-tzdata \
2381 --%{!?with_debug:dis}%{?with_debug:en}able-debug \
2382 %{?with_zts:--enable-maintainer-zts} \
2383 --enable-inline-optimization \
2384 --enable-bcmath=shared \
2385 --enable-calendar=shared \
2386 --enable-ctype=shared \
2387 --enable-dba=shared \
2388 --enable-dom=shared \
2389 --enable-exif=shared \
2390 --enable-fileinfo=shared \
2391 --enable-ftp=shared \
2392 --enable-gd-native-ttf \
2393 --enable-intl=shared \
2395 --enable-magic-quotes \
2396 --enable-mbstring=shared,all \
2398 --enable-pcntl=shared \
2399 --enable-pdo=shared \
2400 --enable-json=shared \
2401 --enable-hash=shared \
2402 --enable-xmlwriter=shared \
2404 --with-fpm-user=http \
2405 --with-fpm-group=http \
2407 %if %{with mssql} || %{with sybase_ct}
2408 --with-pdo-dblib=shared \
2410 %if %{with interbase} && %{without interbase_inst}
2411 --with-pdo-firebird=shared,/usr \
2413 %{?with_mhash:--with-mhash=yes} \
2414 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2415 --with-pdo-mysql=shared%{?with_mysqlnd:,mysqlnd} \
2416 %{?with_oci:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2417 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2418 %{?with_pgsql:--with-pdo-pgsql=shared} \
2419 %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
2420 --without-libexpat-dir \
2421 --enable-posix=shared \
2423 --enable-session=shared \
2424 --enable-shmop=shared \
2425 --enable-simplexml=shared \
2426 --enable-sysvmsg=shared \
2427 --enable-sysvsem=shared \
2428 --enable-sysvshm=shared \
2429 --enable-safe-mode \
2430 --enable-soap=shared \
2431 --enable-sockets=shared \
2432 --enable-tokenizer=shared \
2433 --enable-ucd-snmp-hack \
2434 %{?with_wddx:--enable-wddx=shared} \
2435 --enable-xml=shared \
2436 --enable-xmlreader=shared \
2438 %{__with_without curl curl shared} \
2440 --with-iconv=shared \
2441 %{?with_enchant:--with-enchant=shared,/usr} \
2442 --with-freetype-dir=shared \
2443 --with-gettext=shared \
2444 --with-gd=shared%{?with_system_gd:,/usr} \
2447 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2448 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2449 --with-jpeg-dir=/usr \
2450 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2451 --with-mcrypt=shared \
2452 %{?with_mm:--with-mm} \
2453 %{?with_mssql:--with-mssql=shared} \
2454 %{?with_mysqlnd:--enable-mysqlnd=shared} \
2455 --with-mysql=shared%{?with_mysqlnd:,mysqlnd} \
2456 %{?with_mysqli:--with-mysqli=shared%{?with_mysqlnd:,mysqlnd}} \
2457 %{?with_oci:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2458 %{?with_openssl:--with-openssl=shared} \
2459 %{?with_kerberos5:--with-kerberos} \
2460 %{__with_without pcre pcre-regex /usr} \
2461 %{__enable_disable filter filter shared} \
2462 --with-pear=%{php_pear_dir} \
2463 %{__with_without pgsql pgsql shared,/usr} \
2464 %{__enable_disable phar phar shared} \
2465 --with-png-dir=/usr \
2466 %{?with_pspell:--with-pspell=shared} \
2467 --with-readline=shared \
2468 %{?with_recode:--with-recode=shared} \
2469 --with-regex=system \
2470 %{?with_snmp:--with-snmp=shared} \
2471 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
2472 %{!?with_sqlite2:--without-sqlite}%{?with_sqlite2:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
2473 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2474 %{__with_without sqlite3 sqlite3 shared,/usr} \
2475 --with-t1lib=shared \
2476 %{?with_tidy:--with-tidy=shared} \
2477 %{?with_odbc:--with-unixODBC=shared,/usr} \
2478 %{__with_without xmlrpc xmlrpc shared,/usr} \
2480 --with-zlib=shared \
2481 --with-zlib-dir=shared,/usr \
2482 %{?with_system_libzip:--with-libzip} \
2483 --enable-zip=shared,/usr \
2486 cp -f Makefile Makefile.$sapi
2487 cp -f main/php_config.h php_config.h.$sapi
2488 cp -f config.log config.log.$sapi
2491 # as we build each SAPI in own make, adjust php-config.in forehead
2492 sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | xargs)
2493 sed -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in"
2495 # must make libphp_common first, so modules can link against it.
2496 cp -af php_config.h.cli main/php_config.h
2497 cp -af Makefile.cli Makefile
2498 %{__make} libphp_common.la
2499 %{__make} build-modules
2502 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
2506 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
2509 %if %{with litespeed}
2510 %{__make} -f Makefile.litespeed
2515 cp -pf php_config.h.cgi-fcgi main/php_config.h
2516 %{__make} -f Makefile.cgi-fcgi
2517 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
2522 cp -pf php_config.h.fpm main/php_config.h
2523 %{__make} -f Makefile.fpm
2524 [ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
2528 cp -pf php_config.h.cli main/php_config.h
2529 %{__make} -f Makefile.cli
2530 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
2532 # check for stupid xml parse breakage where < and > just get lost in parse result
2533 ./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"]));'
2535 # Generate stub .ini files for each extension
2538 generate_inifiles() {
2539 for so in modules/*.so; do
2540 mod=$(basename $so .so)
2542 # xml needs to be loaded before wddx
2543 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2544 # pre needs to be loaded before SPL
2545 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2546 # spl needs to be loaded before mysqli
2547 [ "$mod" = "spl" ] && conf="SPL.ini"
2548 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2549 [ "$mod" = "session" ] && conf="Session.ini"
2550 # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli
2551 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2553 cat > conf.d/$conf <<-EOF
2554 ; Enable $mod extension module
2561 # Check that the module inner-dependencies are intact
2562 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2563 if grep -v OK dep-tests.log; then
2564 echo >&2 "The results above were not expected"
2570 cp -pf php_config.h.cli main/php_config.h
2571 cp -pf Makefile.cli Makefile
2573 # you really don't want to package result of gcov build
2577 cat <<'EOF' > run-tests.sh
2579 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2580 unset TZ LANG LC_ALL || :
2582 EXTENSION_DIR=modules \
2583 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2584 RUN_TESTS_SETTINGS="-q $*"
2586 chmod +x run-tests.sh
2589 # Run tests, using the CLI SAPI
2590 cp -pf php_config.h.cli main/php_config.h
2591 cp -pf Makefile.cli Makefile
2593 ./run-tests.sh -w failed.log -s test.log
2595 # collect failed tests into cleanup script used in prep.
2596 sed -ne '/FAILED TEST SUMMARY/,/^===/p' test.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2597 sed -ne '/\[.*\]/{s/\(.*\) \[\(.*\)\]/# \1\nmv \2{,.skip}/p}' tests-failed.log \
2598 >> %{_sourcedir}/skip-tests.sh
2600 failed=$(wc -l < tests-failed.log)
2601 if [ "$failed" != 0 ]; then
2607 rm -rf $RPM_BUILD_ROOT
2608 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2609 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2610 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2611 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2613 cp -pf php_config.h.cli main/php_config.h
2614 cp -pf Makefile.cli Makefile
2616 phpbuilddir=%{_libdir}/%{name}/build \
2617 INSTALL_ROOT=$RPM_BUILD_ROOT
2619 %if %{without default_php}
2620 # version the .phar files
2621 %{__mv} $RPM_BUILD_ROOT%{_bindir}/phar{,%{php_suffix}}.phar
2623 %if %{with alternatives}
2625 %{__rm} $RPM_BUILD_ROOT%{_bindir}/phar
2626 touch $RPM_BUILD_ROOT%{_bindir}/phar
2628 # make link relative
2629 ln -sfn phar%{php_suffix}.phar $RPM_BUILD_ROOT%{_bindir}/phar
2633 v=$(echo %{version} | cut -d. -f1-2)
2635 # install Apache1 DSO module
2637 libtool --mode=install install -p sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2638 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5{,-$v}.so
2639 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache1/mod_php.so
2642 # install Apache2 DSO module
2644 libtool --mode=install install -p sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2645 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp5{,-$v}.so
2646 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache/mod_php.so
2649 # install litespeed sapi
2650 %if %{with litespeed}
2651 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
2654 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2659 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2660 ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
2661 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2666 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir},%{_datadir}/fpm}
2667 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2668 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
2669 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2670 cp -p sapi/fpm/php-fpm.conf-d $RPM_BUILD_ROOT%{_sysconfdir}/fpm.d/www.conf
2671 cp -p sapi/fpm/status.html $RPM_BUILD_ROOT%{_datadir}/fpm
2672 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2673 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2674 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2675 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2676 %if "%{pld_release}" == "ac"
2677 %{__sed} -i -e '/su/d' $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2680 %if %{with alternatives}
2681 # touch for ghost for alternatives
2682 touch $RPM_BUILD_ROOT%{_sbindir}/php-fpm
2686 s#/usr/lib/php#%{php_extensiondir}#
2687 s#/etc/php#%{_sysconfdir}#
2688 s#@processname@#%{name}-fpm#g
2689 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf,%{_sysconfdir}/fpm.d/www.conf}
2692 # install Embedded API
2694 %{__make} -f Makefile.embed install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT
2695 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2696 install -d $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2697 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2701 # versioned suffix is always installed
2702 libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php%{ver_suffix}
2703 cp -p sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php%{ver_suffix}.1
2704 echo ".so php%{ver_suffix}.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.1
2705 ln -sf php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php
2707 # .cli extension is installed only if default php.spec in distro for legacy purposes
2708 %if "%{?php_suffix}" == "" && "%{pld_release}" != "ac"
2709 ln -s php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php.cli
2712 cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2713 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2716 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2717 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2718 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2722 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2723 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2724 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2727 # ensure that paths are correct for current php version and arch
2728 grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
2730 s#/usr/lib/php#%{php_extensiondir}#
2731 s#/etc/php#%{_sysconfdir}#
2734 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2735 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2737 # per SAPI ini directories
2738 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2741 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2743 # use system automake and {lib,sh}tool
2744 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2745 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2746 for fn in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2747 f=%{_aclocaldir}/$fn
2748 test -f $f || continue
2749 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2751 for fn in ltmain.sh config/ltmain.sh build-aux/ltmain.sh; do
2752 f=/usr/share/libtool/$fn
2753 test -f $f || continue
2754 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2757 sed -i -e '/^phpdir/ s,/php/build,/%{name}/build,' $RPM_BUILD_ROOT%{_bindir}/phpize
2759 # for php-pecl-mailparse
2760 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2761 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2764 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2765 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2766 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2768 # fix install paths, avoid evil rpaths
2769 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2771 # libphp5.la contains our buildroot in dependency_libs
2772 sed -i -e "/dependency_libs/ s,/[^ ]*/libs/libphp_common.la,%{_libdir}/libphp_common.la," $RPM_BUILD_ROOT%{_libdir}/libphp5.la
2775 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/%{name}/build/acinclude.m4
2778 rm -rf $RPM_BUILD_ROOT
2780 %post -n apache1-mod_%{name}
2781 if [ "$1" = "1" ]; then
2782 %service -q apache restart
2785 %postun -n apache1-mod_%{name}
2786 if [ "$1" = "0" ]; then
2787 %service -q apache restart
2790 %post -n apache-mod_%{name}
2791 if [ "$1" = "1" ]; then
2792 %service -q httpd restart
2795 %postun -n apache-mod_%{name}
2796 if [ "$1" = "0" ]; then
2797 %service -q httpd restart
2801 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2804 /sbin/chkconfig --add %{name}-fpm
2805 %service %{name}-fpm restart
2806 %if %{with alternatives}
2807 update-alternatives --install %{_sbindir}/php-fpm php-fpm %{_sbindir}/php%{ver_suffix}-fpm %{ver_suffix} || :
2811 if [ "$1" = "0" ]; then
2812 %service %{name}-fpm stop
2813 /sbin/chkconfig --del %{name}-fpm
2814 %if %{with alternatives}
2815 update-alternatives --remove php-fpm %{_sbindir}/php-fpm || :
2820 if [ "$1" = "0" ]; then
2824 %post embedded -p /sbin/ldconfig
2825 %postun embedded -p /sbin/ldconfig
2828 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2829 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2831 . /etc/sysconfig/timezone
2832 if [ "$TIMEZONE" ]; then
2833 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2837 # minimizing apache restarts logics. we restart webserver:
2839 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2840 # 2. first install of extension (post: $1 = 1)
2841 # 2. uninstall of extension (postun: $1 == 0)
2843 # the strict internal deps between extensions (and apache modules) and
2844 # common package are very important for all this to work.
2846 # restart webserver at the end of transaction
2847 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2848 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2850 %triggerpostun common -- php-common < 4:5.3.28-7
2851 # migrate configs /etc/php/conf.d -> /etc/phpXY/conf.d/
2852 # do config migration in php-common trigger, as the trigger is ran after all packages are upgraded
2853 # this way we can stick to one trigger, instead of attaching one for each (sub)package!
2854 for f in /etc/php/*.ini.rpmsave /etc/php/*.d/*.ini.rpmsave; do
2855 test -f "$f" || continue
2859 test "$dn" = "$fn" && dn=
2861 nf=%{_sysconfdir}/$dn/$fn
2862 test -f "$nf" || continue
2863 cp -vfb $nf{,.rpmnew}
2866 s#%{_libdir}/php#%{_libdir}/%{name}#
2867 s#/etc/php#%{_sysconfdir}#
2871 %triggerpostun common -- %{name}-common < 4:5.3.29-7, php-common < 4:5.3.29-7
2872 # switch to browscap package if the ini file has original value
2873 %{__sed} -i -e 's#%{_sysconfdir}/browscap.ini#/usr/share/browscap/php_browscap.ini#' %{_sysconfdir}/php.ini
2874 # disable browscap, if optional package not present
2875 if [ ! -e /usr/share/browscap/php_browscap.ini ]; then
2876 %{__sed} -i -e 's#^browscap = /usr/share/browscap/php_browscap.ini#;&#' %{_sysconfdir}/php.ini
2879 %triggerpostun -n apache1-mod_%{name} -- apache1-mod_%{name} < 4:5.3.29-23
2880 sed -i -e 's#modules/libphp5.so#modules/mod_php.so#g' /etc/apache/conf.d/*_mod_php.conf
2882 %triggerpostun -n apache-mod_%{name} -- apache-mod_%{name} < 4:5.3.29-23
2883 sed -i -e 's#modules/libphp[57].so#modules/mod_php.so#g' /etc/httpd/conf.d/*_mod_php.conf
2885 # common macros called at extension post/postun scriptlet
2887 if [ "$1" = "1" ]; then \
2888 %php_webserver_restart \
2892 %define ext_postun \
2893 if [ "$1" = "0" ]; then \
2894 %php_webserver_restart \
2898 %define extension_scripts() \
2906 # extension scripts defines
2907 %extension_scripts bcmath
2908 %extension_scripts bz2
2909 %extension_scripts calendar
2910 %extension_scripts ctype
2911 %extension_scripts curl
2912 %extension_scripts dba
2913 %extension_scripts dom
2914 %extension_scripts enchant
2915 %extension_scripts exif
2916 %extension_scripts fileinfo
2917 %extension_scripts filter
2918 %extension_scripts ftp
2919 %extension_scripts gd
2920 %extension_scripts gettext
2921 %extension_scripts gmp
2922 %extension_scripts hash
2923 %extension_scripts iconv
2924 %extension_scripts imap
2925 %extension_scripts interbase
2926 %extension_scripts intl
2927 %extension_scripts json
2928 %extension_scripts ldap
2929 %extension_scripts mbstring
2930 %extension_scripts mcrypt
2931 %extension_scripts mssql
2932 %extension_scripts mysql
2933 %extension_scripts mysqli
2934 %extension_scripts mysqlnd
2935 %extension_scripts oci8
2936 %extension_scripts odbc
2937 %extension_scripts openssl
2938 %extension_scripts pcre
2939 %extension_scripts pdo
2940 %extension_scripts pdo-dblib
2941 %extension_scripts pdo-firebird
2942 %extension_scripts pdo-oci
2943 %extension_scripts pdo-mysql
2944 %extension_scripts pdo-odbc
2945 %extension_scripts pdo-pgsql
2946 %extension_scripts pdo-sqlite
2947 %extension_scripts pgsql
2948 %extension_scripts pcntl
2949 %extension_scripts posix
2950 %extension_scripts pspell
2951 %extension_scripts recode
2952 %extension_scripts session
2953 %extension_scripts shmop
2954 %extension_scripts simplexml
2955 %extension_scripts snmp
2956 %extension_scripts soap
2957 %extension_scripts sockets
2958 %extension_scripts spl
2959 %extension_scripts sqlite
2960 %extension_scripts sqlite3
2961 %extension_scripts sybase-ct
2962 %extension_scripts sysvmsg
2963 %extension_scripts sysvsem
2964 %extension_scripts sysvshm
2965 %extension_scripts tidy
2966 %extension_scripts tokenizer
2967 %extension_scripts wddx
2968 %extension_scripts xml
2969 %extension_scripts xmlreader
2970 %extension_scripts xmlrpc
2971 %extension_scripts xmlwriter
2972 %extension_scripts xsl
2973 %extension_scripts zip
2974 %extension_scripts zlib
2978 %if %{with alternatives}
2979 update-alternatives --install %{_bindir}/phar phar %{_bindir}/phar%{ver_suffix}.phar %{ver_suffix} || :
2984 %if %{with alternatives}
2985 if [ $1 -eq 0 ]; then
2986 update-alternatives --remove phar %{_bindir}/phar || :
2991 %files -n apache1-mod_%{name}
2992 %defattr(644,root,root,755)
2993 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2994 %dir %{_sysconfdir}/apache.d
2995 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2996 %attr(755,root,root) %{_libdir}/apache1/mod_php.so
2997 %attr(755,root,root) %{_libdir}/apache1/libphp5-*.*.so
3001 %files -n apache-mod_%{name}
3002 %defattr(644,root,root,755)
3003 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
3004 %attr(755,root,root) %{_libdir}/apache/mod_php.so
3006 %files -n apache-mod_%{name}-core
3007 %defattr(644,root,root,755)
3008 %dir %{_sysconfdir}/apache2handler.d
3009 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
3010 %attr(755,root,root) %{_libdir}/apache/libphp5-*.*.so
3013 %if %{with litespeed}
3015 %defattr(644,root,root,755)
3016 %attr(755,root,root) %{_sbindir}/%{name}.litespeed
3021 %defattr(644,root,root,755)
3022 %dir %{_sysconfdir}/cgi-fcgi.d
3023 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
3024 %attr(755,root,root) %{_bindir}/%{name}.cgi
3025 %attr(755,root,root) %{_bindir}/%{name}.fcgi
3030 %defattr(644,root,root,755)
3031 %attr(755,root,root) %{_libdir}/libphp5-%{version}.so
3035 %defattr(644,root,root,755)
3036 %dir %{_sysconfdir}/cli.d
3037 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
3038 %attr(755,root,root) %{_bindir}/php%{ver_suffix}
3039 %{_mandir}/man1/php%{ver_suffix}.1*
3041 # legacy. do we really need it?
3042 %if "%{?php_suffix}" == "" && "%{pld_release}" != "ac"
3043 %attr(755,root,root) %{_bindir}/php.cli
3047 %defattr(644,root,root,755)
3048 %attr(755,root,root) %{_bindir}/php
3049 %{_mandir}/man1/php.1*
3053 %defattr(644,root,root,755)
3054 %doc sapi/fpm/{CREDITS,LICENSE}
3055 %dir %{_sysconfdir}/fpm.d
3056 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
3057 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.d/www.conf
3058 %attr(755,root,root) %{_sbindir}/%{name}-fpm
3059 %if %{with alternatives}
3060 %ghost %{_sbindir}/php-fpm
3062 %{_mandir}/man8/%{name}-fpm.8*
3063 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
3064 %attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
3065 %dir %{_datadir}/fpm
3066 %{_datadir}/fpm/status.html
3070 %defattr(644,root,root,755)
3071 %doc CREDITS EXTENSIONS LICENSE NEWS README.{PHP4-TO-PHP5-THIN-CHANGES,namespaces} TODO* UPGRADING* Zend/{LICENSE.Zend,ZEND_CHANGES} php.ini-*
3073 %dir %{_sysconfdir}/conf.d
3074 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
3075 %attr(755,root,root) %{_libdir}/libphp_common-*.so
3076 %dir %{php_extensiondir}
3078 %doc ext/session/mod_files.sh
3081 %defattr(644,root,root,755)
3082 %doc CODING_STANDARDS README.{EXTENSIONS,EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
3083 %attr(755,root,root) %{_bindir}/phpize
3084 %attr(755,root,root) %{_bindir}/php-config
3085 %attr(755,root,root) %{_libdir}/libphp_common.so
3086 %{_libdir}/libphp_common.la
3088 %{_libdir}/%{name}/build
3089 %{_mandir}/man1/php-config.1*
3090 %{_mandir}/man1/phpize.1*
3093 %{_libdir}/libphp5.so
3094 %{_libdir}/libphp5.la
3098 %defattr(644,root,root,755)
3099 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
3100 %attr(755,root,root) %{php_extensiondir}/bcmath.so
3103 %defattr(644,root,root,755)
3104 %doc ext/bz2/CREDITS
3105 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
3106 %attr(755,root,root) %{php_extensiondir}/bz2.so
3109 %defattr(644,root,root,755)
3110 %doc ext/calendar/CREDITS
3111 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
3112 %attr(755,root,root) %{php_extensiondir}/calendar.so
3115 %defattr(644,root,root,755)
3116 %doc ext/calendar/CREDITS
3117 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
3118 %attr(755,root,root) %{php_extensiondir}/ctype.so
3122 %defattr(644,root,root,755)
3123 %doc ext/curl/CREDITS
3124 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
3125 %attr(755,root,root) %{php_extensiondir}/curl.so
3129 %defattr(644,root,root,755)
3130 %doc ext/dba/{CREDITS,README}
3131 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
3132 %attr(755,root,root) %{php_extensiondir}/dba.so
3135 %defattr(644,root,root,755)
3136 %doc ext/dom/{CREDITS,TODO}
3137 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
3138 %attr(755,root,root) %{php_extensiondir}/dom.so
3142 %defattr(644,root,root,755)
3143 %doc ext/enchant/{CREDITS,docs/examples}
3144 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/enchant.ini
3145 %attr(755,root,root) %{php_extensiondir}/enchant.so
3149 %defattr(644,root,root,755)
3150 %doc ext/exif/CREDITS
3151 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
3152 %attr(755,root,root) %{php_extensiondir}/exif.so
3155 %defattr(644,root,root,755)
3156 %doc ext/fileinfo/CREDITS
3157 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
3158 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
3162 %defattr(644,root,root,755)
3163 %doc ext/filter/{CREDITS,docs/*}
3164 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
3165 %attr(755,root,root) %{php_extensiondir}/filter.so
3169 %defattr(644,root,root,755)
3170 %doc ext/ftp/CREDITS
3171 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
3172 %attr(755,root,root) %{php_extensiondir}/ftp.so
3175 %defattr(644,root,root,755)
3177 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
3178 %attr(755,root,root) %{php_extensiondir}/gd.so
3181 %defattr(644,root,root,755)
3182 %doc ext/gettext/CREDITS
3183 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
3184 %attr(755,root,root) %{php_extensiondir}/gettext.so
3187 %defattr(644,root,root,755)
3188 %doc ext/gmp/{CREDITS,README,TODO}
3189 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
3190 %attr(755,root,root) %{php_extensiondir}/gmp.so
3193 %defattr(644,root,root,755)
3194 %doc ext/hash/{CREDITS,README}
3195 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
3196 %attr(755,root,root) %{php_extensiondir}/hash.so
3199 %defattr(644,root,root,755)
3200 %doc ext/iconv/CREDITS
3201 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
3202 %attr(755,root,root) %{php_extensiondir}/iconv.so
3206 %defattr(644,root,root,755)
3207 %doc ext/imap/CREDITS
3208 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
3209 %attr(755,root,root) %{php_extensiondir}/imap.so
3212 %if %{with interbase}
3214 %defattr(644,root,root,755)
3215 %doc ext/interbase/CREDITS
3216 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
3217 %attr(755,root,root) %{php_extensiondir}/interbase.so
3221 %defattr(644,root,root,755)
3222 %doc ext/intl/{CREDITS,TODO}
3223 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
3224 %attr(755,root,root) %{php_extensiondir}/intl.so
3227 %defattr(644,root,root,755)
3228 %doc ext/json/CREDITS
3229 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
3230 %attr(755,root,root) %{php_extensiondir}/json.so
3234 %defattr(644,root,root,755)
3235 %doc ext/ldap/CREDITS
3236 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
3237 %attr(755,root,root) %{php_extensiondir}/ldap.so
3241 %defattr(644,root,root,755)
3242 %doc ext/mbstring/{CREDITS,README*}
3243 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
3244 %attr(755,root,root) %{php_extensiondir}/mbstring.so
3247 %defattr(644,root,root,755)
3248 %doc ext/mcrypt/{CREDITS,TODO}
3249 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
3250 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
3254 %defattr(644,root,root,755)
3255 %doc ext/mssql/CREDITS
3256 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
3257 %attr(755,root,root) %{php_extensiondir}/mssql.so
3261 %defattr(644,root,root,755)
3262 %doc ext/mysql/CREDITS
3263 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
3264 %attr(755,root,root) %{php_extensiondir}/mysql.so
3268 %defattr(644,root,root,755)
3269 %doc ext/mysqli/{CREDITS,TODO}
3270 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
3271 %attr(755,root,root) %{php_extensiondir}/mysqli.so
3276 %defattr(644,root,root,755)
3277 %doc ext/mysqlnd/CREDITS
3278 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
3279 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
3284 %defattr(644,root,root,755)
3285 %doc ext/oci8/{CREDITS,README}
3286 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
3287 %attr(755,root,root) %{php_extensiondir}/oci8.so
3292 %defattr(644,root,root,755)
3293 %doc ext/odbc/CREDITS
3294 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
3295 %attr(755,root,root) %{php_extensiondir}/odbc.so
3300 %defattr(644,root,root,755)
3301 %doc ext/openssl/{CREDITS,README}
3302 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
3303 %attr(755,root,root) %{php_extensiondir}/openssl.so
3307 %defattr(644,root,root,755)
3308 %doc ext/pcntl/{CREDITS,README}
3309 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
3310 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3314 %defattr(644,root,root,755)
3315 %doc ext/pcre/CREDITS
3316 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
3317 %attr(755,root,root) %{php_extensiondir}/pcre.so
3321 %defattr(644,root,root,755)
3322 %doc ext/pdo/{CREDITS,README,TODO}
3323 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
3324 %attr(755,root,root) %{php_extensiondir}/pdo.so
3326 %if %{with mssql} || %{with sybase_ct}
3328 %defattr(644,root,root,755)
3329 %doc ext/pdo_dblib/{CREDITS,README}
3330 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
3331 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3334 %if %{with interbase} && !%{with interbase_inst}
3336 %defattr(644,root,root,755)
3337 %doc ext/pdo_firebird/CREDITS
3338 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
3339 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3343 %defattr(644,root,root,755)
3344 %doc ext/pdo_mysql/CREDITS
3345 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
3346 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3350 %defattr(644,root,root,755)
3351 %doc ext/pdo_oci/CREDITS
3352 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
3353 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3358 %defattr(644,root,root,755)
3359 %doc ext/pdo_odbc/CREDITS
3360 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3361 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3366 %defattr(644,root,root,755)
3367 %doc ext/pdo_pgsql/CREDITS
3368 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3369 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3372 %if %{with pdo_sqlite}
3374 %defattr(644,root,root,755)
3375 %doc ext/pdo_sqlite/CREDITS
3376 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3377 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3382 %defattr(644,root,root,755)
3383 %doc ext/pgsql/{CREDITS,README}
3384 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3385 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3390 %defattr(644,root,root,755)
3391 %doc ext/phar/{CREDITS,TODO}
3392 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
3393 %attr(755,root,root) %{php_extensiondir}/phar.so
3394 %attr(755,root,root) %{_bindir}/phar%{php_suffix}.phar
3395 %if %{with alternatives}
3396 %ghost %{_bindir}/phar
3398 %attr(755,root,root) %{_bindir}/phar
3403 %defattr(644,root,root,755)
3404 %doc ext/posix/CREDITS
3405 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3406 %attr(755,root,root) %{php_extensiondir}/posix.so
3410 %defattr(644,root,root,755)
3411 %doc ext/pspell/{CREDITS,README}
3412 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3413 %attr(755,root,root) %{php_extensiondir}/pspell.so
3417 %defattr(644,root,root,755)
3418 %doc ext/readline/{CREDITS,README*}
3419 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3420 %attr(755,root,root) %{php_extensiondir}/readline.so
3424 %defattr(644,root,root,755)
3425 %doc ext/recode/CREDITS
3426 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3427 %attr(755,root,root) %{php_extensiondir}/recode.so
3431 %defattr(644,root,root,755)
3432 %doc ext/session/CREDITS
3433 %doc ext/session/mod_files.sh
3434 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3435 %attr(755,root,root) %{php_extensiondir}/session.so
3438 %defattr(644,root,root,755)
3439 %doc ext/shmop/{CREDITS,README}
3440 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3441 %attr(755,root,root) %{php_extensiondir}/shmop.so
3444 %defattr(644,root,root,755)
3445 %doc ext/simplexml/{CREDITS,README}
3446 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3447 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3451 %defattr(644,root,root,755)
3452 %doc ext/snmp/CREDITS
3453 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3454 %attr(755,root,root) %{php_extensiondir}/snmp.so
3458 %defattr(644,root,root,755)
3459 %doc ext/soap/{CREDITS,TODO*}
3460 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3461 %attr(755,root,root) %{php_extensiondir}/soap.so
3464 %defattr(644,root,root,755)
3465 %doc ext/sockets/CREDITS
3466 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3467 %attr(755,root,root) %{php_extensiondir}/sockets.so
3470 %defattr(644,root,root,755)
3471 %doc ext/spl/{CREDITS,README,TODO,examples}
3472 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3473 %attr(755,root,root) %{php_extensiondir}/spl.so
3477 %defattr(644,root,root,755)
3478 %doc ext/sqlite/{README,TODO,CREDITS}
3479 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
3480 %attr(755,root,root) %{php_extensiondir}/sqlite.so
3485 %defattr(644,root,root,755)
3486 %doc ext/sqlite3/CREDITS
3487 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3488 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3491 %if %{with sybase_ct}
3493 %defattr(644,root,root,755)
3494 %doc ext/sybase_ct/CREDITS
3495 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3496 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
3500 %defattr(644,root,root,755)
3501 %doc ext/sysvmsg/CREDITS
3502 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3503 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3506 %defattr(644,root,root,755)
3507 %doc ext/sysvsem/CREDITS
3508 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3509 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3512 %defattr(644,root,root,755)
3513 %doc ext/sysvshm/CREDITS
3514 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3515 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3518 %defattr(644,root,root,755)
3519 %dir %{php_data_dir}/tests/php
3520 %{php_data_dir}/tests/php/basic
3521 %{php_data_dir}/tests/php/classes
3522 %{php_data_dir}/tests/php/func
3523 %{php_data_dir}/tests/php/lang
3524 %{php_data_dir}/tests/php/output
3525 %{php_data_dir}/tests/php/run-test
3526 %{php_data_dir}/tests/php/security
3527 %{php_data_dir}/tests/php/strings
3528 %{php_data_dir}/tests/php/quicktester.inc
3529 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3533 %defattr(644,root,root,755)
3534 %doc ext/tidy/{CREDITS,README}
3535 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3536 %attr(755,root,root) %{php_extensiondir}/tidy.so
3540 %defattr(644,root,root,755)
3541 %doc ext/tokenizer/CREDITS
3542 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3543 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3547 %defattr(644,root,root,755)
3548 %doc ext/wddx/CREDITS
3549 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3550 %attr(755,root,root) %{php_extensiondir}/wddx.so
3554 %defattr(644,root,root,755)
3555 %doc ext/xml/CREDITS
3556 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3557 %attr(755,root,root) %{php_extensiondir}/xml.so
3560 %defattr(644,root,root,755)
3561 %doc ext/xmlreader/{CREDITS,README,TODO,examples}
3562 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3563 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3567 %defattr(644,root,root,755)
3568 %doc ext/xmlrpc/CREDITS
3569 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3570 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3574 %defattr(644,root,root,755)
3575 %doc ext/xmlwriter/{CREDITS,TODO}
3576 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3577 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3580 %defattr(644,root,root,755)
3581 %doc ext/xsl/CREDITS
3582 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3583 %attr(755,root,root) %{php_extensiondir}/xsl.so
3586 %defattr(644,root,root,755)
3587 %doc ext/zip/{CREDITS,TODO}
3588 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3589 %attr(755,root,root) %{php_extensiondir}/zip.so
3592 %defattr(644,root,root,755)
3593 %doc ext/zlib/CREDITS
3594 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3595 %attr(755,root,root) %{php_extensiondir}/zlib.so