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
255 # Fixes for security bugs
256 # https://repo.webtatic.com/yum/centos/5/SRPMS/repoview/php.html
257 # also from RHEL6/CentOS7
258 Patch220: php-5.3.3-CVE-2011-4153.patch
259 Patch221: CVE-2019-11043.patch
261 Patch247: php-5.3.3-CVE-2014-2497.patch
263 Patch249: php-5.3.29-CVE-2014-3597.patch
264 Patch250: php-5.3.3-CVE-2014-4698.patch
265 Patch251: php-5.3.3-CVE-2014-4670.patch
266 Patch252: php-5.3.3-CVE-2014-3668.patch
267 Patch253: php-5.3.3-CVE-2014-3669.patch
268 Patch254: php-5.3.3-CVE-2014-3670.patch
270 Patch256: php-5.3.29-CVE-2014-8142.patch
271 Patch257: php-5.3.29-CVE-2015-0231.patch
272 Patch258: php-5.3.29-CVE-2015-0232.patch
273 URL: https://www.php.net/
274 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
275 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
276 BuildRequires: apache-base
277 BuildRequires: autoconf >= 2.53
278 BuildRequires: automake >= 1.4d
280 BuildRequires: bzip2-devel
281 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
282 BuildRequires: cyrus-sasl-devel
283 BuildRequires: db-devel >= 4.0
284 BuildRequires: elfutils-devel
285 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
287 %{?with_kerberos5:BuildRequires: heimdal-devel}
288 BuildRequires: libatomic-devel
289 %{?with_system_libzip:BuildRequires: libzip-devel >= 0.10-3}
290 BuildRequires: mysql-devel
291 BuildRequires: pkgconfig
293 BuildRequires: sed >= 4.0
294 %if %{with mssql} || %{with sybase_ct}
295 BuildRequires: freetds-devel >= 0.82
297 BuildRequires: freetype-devel >= 2.0
298 %if %{with system_gd}
299 BuildRequires: gd-devel >= 2.0.28-4
300 BuildRequires: gd-devel(imagerotate) = 5.2.0
302 BuildRequires: gdbm-devel
303 BuildRequires: gmp-devel
304 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
305 BuildRequires: libicu-devel
306 BuildRequires: libjpeg-devel
307 BuildRequires: libltdl-devel >= 1.4
308 BuildRequires: libmcrypt-devel >= 2.4.4
309 BuildRequires: libpng-devel >= 1.0.8
310 %{?with_intl:BuildRequires: libstdc++-devel}
311 %if "%{pld_release}" != "ac"
312 BuildRequires: libtool >= 2:2.4.6
314 BuildRequires: libtool >= 1.4.3
316 BuildRequires: libxml2-devel >= 1:2.7.6-4
317 BuildRequires: libxslt-devel >= 1.1.0
318 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
319 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
320 %if %{with openssl} || %{with ldap}
321 BuildRequires: openssl-devel >= 0.9.7d
323 %{?with_gcov:BuildRequires: lcov}
324 %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
325 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
326 %{?with_oci:%{?with_instantclient:BuildRequires: oracle-instantclient-devel}}
327 BuildRequires: pam-devel
328 %{?with_pcre:BuildRequires: pcre-devel >= 8.10}
329 BuildRequires: pkgconfig
330 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
331 %{?with_pgsql:BuildRequires: postgresql-devel}
332 BuildRequires: readline-devel
333 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
334 BuildRequires: rpm >= 4.4.9-56
335 BuildRequires: rpm-build >= 4.4.0
336 BuildRequires: rpmbuild(macros) >= 1.566
337 %{?with_sqlite2:BuildRequires: sqlite-devel}
338 %if %{with sqlite3} || %{with pdo_sqlite}
339 BuildRequires: sqlite3-devel >= 3.3.9
341 BuildRequires: t1lib-devel
342 %{?with_tidy:BuildRequires: tidy-devel}
343 %{?with_odbc:BuildRequires: unixODBC-devel}
344 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
345 BuildRequires: zlib-devel >= 1.0.9
347 BuildRequires: apache1-devel
350 BuildRequires: apache-devel >= 2.0.52-2
351 BuildRequires: apr-devel >= 1:1.0.0
352 BuildRequires: apr-util-devel >= 1:1.0.0
354 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
356 %define php_sysconfdir /etc/%{name}
357 %define php_extensiondir %{_libdir}/%{name}
358 %define _sysconfdir %{php_sysconfdir}
360 # must be in sync with source. extra check ensuring that it is so is done in %%build
361 %define php_api_version 20090626
362 %define zend_module_api 20090626
363 %define zend_extension_api 220090626
367 %define enchantver 1.1.0
368 %define fileinfover 1.0.5-dev
370 %define intlver 1.1.0
371 %define jsonver 1.2.1
372 %define pharver 2.0.1
373 %define sqlitever 2.0-dev
374 %define sqlite3ver 0.7-dev
375 %define zipver 1.11.0
377 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
378 %define php_debug %{!?with_debug:0}%{?with_debug:1}
381 %undefine with_ccache
385 # ORACLE_HOME is required for oci8 ext to build
386 %define _preserve_env %_preserve_env_base ORACLE_HOME
390 PHP is an HTML-embedded scripting language. PHP attempts to make it
391 easy for developers to write dynamically generated web pages. PHP also
392 offers built-in database integration for several commercial and
393 non-commercial database management systems, so writing a
394 database-enabled web page with PHP is fairly simple. The most common
395 use of PHP coding is probably as a replacement for CGI scripts. The
396 mod_php module enables the Apache web server to understand and process
397 the embedded PHP language in web pages. This package contains PHP
400 %{?with_suhosin:This version is built with Suhosin-Patch for PHP.}
402 %description -l fr.UTF-8
403 PHP est un langage de script embarque dans le HTM. PHP essaye de
404 rendre simple aux developpeurs d'ecrire des pages web generees
405 dynamiquement. PHP incorpore egalement une integration avec plusieurs
406 systemes de gestion de bases de donnees commerciaux et
407 non-connerciaux, qui rent facile la creation de pages web liees avec
408 des bases de donnees. L'utilisation la plus commune de PHP est
409 probablement en remplacement de scripts CGI. Le module mod_php permet
410 au serveur web Apache de comprendre et de traiter le langage PHP
411 integre dans des pages web. Ce package contient PHP version
414 %description -l pl.UTF-8
415 PHP jest językiem skryptowym, którego polecenia umieszcza się w
416 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
417 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
418 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
419 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
420 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
421 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
422 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
425 %description -l pt_BR.UTF-8
426 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
427 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
428 com algumas características únicas, específicas ao PHP. O objetivo da
429 linguagem é permitir que desenvolvedores web escrevam páginas
430 dinamicamente geradas de forma rápida.
432 %description -l ru.UTF-8
433 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
434 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
435 для работы с базами данных относительно просто. Наиболее популярное
436 использование PHP - замена для CGI скриптов.
438 %description -l uk.UTF-8
439 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
440 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
441 роботи з базами даних є доволі простим. Найбільш популярне
442 використання PHP - заміна для CGI скриптів.
444 %package -n apache1-mod_%{name}
445 Summary: PHP DSO module for Apache 1.3.x
446 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x
447 Group: Development/Languages/PHP
448 Requires: %{name}-common = %{epoch}:%{version}-%{release}
449 Requires: apache1(EAPI) >= 1.3.33-2
450 Requires: apache1-mod_mime
451 Provides: webserver(php) = %{version}
452 Obsoletes: apache-mod_php < 1:4.1.1
453 Obsoletes: apache1-mod_php < 4:5.3.28-7
456 %description -n apache1-mod_%{name}
457 PHP as DSO module for Apache 1.3.x.
459 %description -n apache1-mod_%{name} -l pl.UTF-8
460 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x.
462 %package -n apache-mod_%{name}
463 Summary: PHP support for Apache 2.x
464 Summary(pl.UTF-8): Wsparcie PHP dla Apache 2.x
465 Group: Development/Languages/PHP
466 Requires: apache-mod_%{name}-core = %{epoch}:%{version}-%{release}
467 Requires: %{name}-common = %{epoch}:%{version}-%{release}
468 Provides: webserver(php) = %{version}
469 Obsoletes: apache-mod_php < 4:5.3.28-7
472 %description -n apache-mod_%{name}
473 PHP support for Apache 2.x.
475 %description -n apache-mod_%{name} -l pl.UTF-8
476 Wsparcie PHP dla Apache 2.x.
478 %package -n apache-mod_%{name}-core
479 Summary: PHP DSO module for Apache 2.x
480 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
481 Group: Development/Languages/PHP
482 Requires: %{name}-common = %{epoch}:%{version}-%{release}
483 Requires: apache(modules-api) = %{apache_modules_api}
484 Requires: apache-mod_mime
486 %description -n apache-mod_%{name}-core
487 PHP as DSO module for Apache 2.x.
489 %description -n apache-mod_%{name}-core -l pl.UTF-8
490 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
493 Summary: PHP for litespeed HTTP server
494 Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
495 Group: Development/Languages/PHP
496 Requires: %{name}-common = %{epoch}:%{version}-%{release}
497 Provides: php(litespeed)
498 Provides: webserver(php) = %{version}
499 Obsoletes: php-litespeed < 4:5.3.28-7
501 %description litespeed
502 PHP for litespeed HTTP server.
504 %description litespeed -l pl.UTF-8
505 PHP dla serwera HTTP litespeed.
508 Summary: PHP as CGI/FastCGI program
509 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
510 Group: Development/Languages/PHP
511 Requires: %{name}-common = %{epoch}:%{version}-%{release}
512 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
515 Provides: webserver(php) = %{version}
516 Obsoletes: php-cgi < 4:5.3.28-7
517 Obsoletes: php-fcgi < 4:5.3.0
520 PHP as CGI or FastCGI program.
522 %description cgi -l pl.UTF-8
523 PHP jako program CGI lub FastCGI.
526 Summary: PHP as CLI interpreter
527 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
528 Group: Development/Languages/PHP
529 Requires: %{name}-common = %{epoch}:%{version}-%{release}
530 Obsoletes: php-cli < 4:5.3.28-7
533 PHP as CLI interpreter.
535 %description cli -l pl.UTF-8
536 PHP jako interpreter działający z linii poleceń.
539 Summary: PHP library for embedding in applications
540 Summary(pl.UTF-8): Biblioteka PHP do osadzania w aplikacjach
542 Requires: %{name}-common = %{epoch}:%{version}-%{release}
543 Obsoletes: php-embedded < 4:5.3.28-7
545 %description embedded
546 The php-embedded package contains a library which can be embedded into
547 applications to provide PHP scripting language support.
549 %description embedded -l pl.UTF-8
550 Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
551 celu obsługi PHP jako języka skryptowego.
554 Summary: /usr/bin/php symlink
555 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
556 Group: Development/Languages/PHP
557 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
558 Obsoletes: php-program < 4:5.3.28-7
559 Obsoletes: php4-program < 3:5
560 Obsoletes: php52-program < 4:5.3
561 Obsoletes: php54-program < 4:5.5
562 Obsoletes: php55-program < 4:5.6
563 Obsoletes: php56-program < 4:7
564 Obsoletes: php70-program < 4:7.1
565 Obsoletes: php71-program < 4:7.2
566 Obsoletes: php72-program < 4:7.3
567 Obsoletes: php73-program < 4:7.4
568 Obsoletes: php74-program < 4:8
569 Obsoletes: php80-program < 4:8.1
570 Obsoletes: php81-program < 4:8.2
571 Obsoletes: php82-program < 4:8.3
574 Package providing /usr/bin/php symlink to PHP CLI.
576 %description program -l pl.UTF-8
577 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
580 Summary: PHP FastCGI Process Manager
581 Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
582 Group: Development/Languages/PHP
583 URL: http://www.php-fpm.org/
584 Requires(post,preun): /sbin/chkconfig
585 Requires(postun): /usr/sbin/userdel
586 Requires(pre): /bin/id
587 Requires(pre): /usr/sbin/useradd
588 Requires: %{name}-common = %{epoch}:%{version}-%{release}
589 %{?with_alternatives:Requires: alternatives}
590 Requires: php-dirs >= 1.4-2
595 Provides: webserver(php) = %{version}
596 Obsoletes: php-fpm < 4:5.3.28-7
597 %if "%{pld_release}" != "ac"
598 Conflicts: logrotate < 3.8.0
602 PHP FastCGI Process Manager.
604 %description fpm -l pl.UTF-8
605 PHP FastCGI Process Manager - zarządca procesów FastCGI.
608 Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
609 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
610 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
611 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
613 Requires(post): sed >= 4.0
614 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
615 Requires: glibc >= 6:2.3.5
616 Requires: php-dirs >= 1.4
617 Requires: rpm-whiteout >= 1.28
619 %if "%{pld_release}" == "ac"
620 # postpone tree rebuild in ac
621 Provides: php5(debug) = %{php_debug}
622 Provides: php5(thread-safety) = %{zend_zts}
624 Provides: %{name}(debug) = %{php_debug}
625 Provides: %{name}(modules_api) = %{php_api_version}
626 Provides: %{name}(thread-safety) = %{zend_zts}
627 Provides: %{name}(zend_extension_api) = %{zend_extension_api}
628 Provides: %{name}(zend_module_api) = %{zend_module_api}
629 Provides: %{name}-core
630 Provides: %{name}-date
631 Provides: %{name}-ereg
632 Provides: %{name}-reflection
633 Provides: %{name}-standard
634 Provides: php(core) = %{version}
637 Provides: php(libxml)
638 Provides: php(reflection)
639 Provides: php(standard)
640 %{!?with_mysqlnd:Obsoletes: php-mysqlnd}
641 %{?with_pcre:%requires_ge_to pcre pcre-devel}
643 Obsoletes: php-common < 4:5.3.28-7
644 Obsoletes: php-pecl-domxml
645 Conflicts: php4-common < 3:4.4.4-8
646 Conflicts: rpm < 4.4.2-0.2
649 Common files needed by both Apache modules and CGI/CLI SAPIs.
651 %description common -l pl.UTF-8
652 Wspólne pliki dla modułu Apache'a i programu CGI.
654 %description common -l ru.UTF-8
655 Этот пакет содержит общие файлы для разных вариантов реализации PHP
656 (самодостаточной и в качестве модуля Apache).
658 %description common -l uk.UTF-8
659 Цей пакет містить спільні файли для різних варіантів реалізації PHP
660 (самодостатньої та в якості модуля Apache).
663 Summary: Files for PHP modules development
664 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
665 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
666 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
667 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
668 Group: Development/Languages/PHP
669 Requires: %{name}-common = %{epoch}:%{version}-%{release}
670 Requires: autoconf >= 2.13
672 %if "%{pld_release}" != "ac"
673 Requires: libtool >= 2:2.4.6
677 %{?with_embed:Requires: %{name}-embedded = %{epoch}:%{version}-%{release}}
678 %{?with_pcre:Requires: pcre-devel >= 8.10}
680 Provides: php-devel = %{epoch}:%{version}-%{release}
682 Obsoletes: php-pear-devel < 3:4.3.0-1
683 Obsoletes: php4-devel < 3:5
684 Obsoletes: php52-devel < 4:5.3
685 Obsoletes: php54-devel < 4:5.5
686 Obsoletes: php55-devel < 4:5.6
687 Obsoletes: php56-devel < 4:7
688 Obsoletes: php70-devel < 4:7.1
689 Obsoletes: php71-devel < 4:7.2
690 Obsoletes: php72-devel < 4:7.3
691 Obsoletes: php73-devel < 4:7.4
692 Obsoletes: php74-devel < 4:8
693 Obsoletes: php80-devel < 4:8.1
694 Obsoletes: php81-devel < 4:8.2
695 Obsoletes: php82-devel < 4:8.3
698 The php-devel package lets you compile dynamic extensions to PHP.
699 Included here is the source for the PHP extensions. Instead of
700 recompiling the whole PHP binary to add support for, say, oracle,
701 install this package and use the new self-contained extensions
702 support. For more information, read the file
703 README.SELF-CONTAINED-EXTENSIONS.
705 %description devel -l pl.UTF-8
706 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
707 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
708 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
709 samodzielnych rozszerzeniach można znaleźć w pliku
710 README.SELF-CONTAINED-EXTENSIONS.
712 %description devel -l pt_BR.UTF-8
713 Este pacote contém arquivos usados no desenvolvimento de programas ou
716 %description devel -l ru.UTF-8
717 Пакет php-devel дает возможность компилировать динамические расширения
718 PHP. Пакет включает исходный код этих расширений. Вместо повторной
719 компиляции бинарного файла PHP для добавления, например, поддержки
720 oracle, установите этот пакет для компилирования отдельных расширений.
721 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
723 %description devel -l uk.UTF-8
724 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
725 До пакету включено вихідний код для розширень. Замість повторної
726 компіляції бінарного файлу PHP для додання, наприклад, підтримки
727 oracle, встановіть цей пакет для компіляції окремих розширень.
728 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
731 Summary: bcmath extension module for PHP
732 Summary(pl.UTF-8): Moduł bcmath dla PHP
734 URL: http://www.php.net/manual/en/book.bc.php
735 Requires: %{name}-common = %{epoch}:%{version}-%{release}
736 Provides: php(bcmath)
737 Obsoletes: php-bcmath < 4:5.3.28-7
740 This is a dynamic shared object (DSO) for PHP that will add bc style
741 precision math functions support.
743 %description bcmath -l pl.UTF-8
744 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
745 matematycznych takich jak w programie bc.
748 Summary: Bzip2 extension module for PHP
749 Summary(pl.UTF-8): Moduł bzip2 dla PHP
751 URL: http://www.php.net/manual/en/book.bzip2.php
752 Requires: %{name}-common = %{epoch}:%{version}-%{release}
753 Provides: php(bz2) = %{bz2ver}
755 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
756 Obsoletes: php-bz2 < 4:5.3.28-7
757 Obsoletes: php-bzip2 < 4:5.2.14-3
758 Obsoletes: php-pecl-bz2 < %{bz2ver}
761 This is a dynamic shared object (DSO) for PHP that will add bzip2
762 compression support to PHP.
764 %description bz2 -l pl.UTF-8
765 Moduł PHP umożliwiający używanie kompresji bzip2.
768 Summary: Calendar extension module for PHP
769 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
771 URL: http://www.php.net/manual/en/book.calendar.php
772 Requires: %{name}-common = %{epoch}:%{version}-%{release}
773 Provides: php(calendar)
774 Obsoletes: php-calendar < 4:5.3.28-7
776 %description calendar
777 This is a dynamic shared object (DSO) for PHP that will add calendar
780 %description calendar -l pl.UTF-8
781 Moduł PHP dodający wsparcie dla kalendarza.
784 Summary: ctype extension module for PHP
785 Summary(pl.UTF-8): Moduł ctype dla PHP
787 URL: http://www.php.net/manual/en/book.ctype.php
788 Requires: %{name}-common = %{epoch}:%{version}-%{release}
790 Obsoletes: php-ctype < 4:5.3.28-7
793 This is a dynamic shared object (DSO) for PHP that will add ctype
796 %description ctype -l pl.UTF-8
797 Moduł PHP umożliwiający korzystanie z funkcji ctype.
800 Summary: curl extension module for PHP
801 Summary(pl.UTF-8): Moduł curl dla PHP
803 URL: http://www.php.net/manual/en/book.curl.php
804 Requires: %{name}-common = %{epoch}:%{version}-%{release}
806 Obsoletes: php-curl < 4:5.3.28-7
809 This is a dynamic shared object (DSO) for PHP that will add curl
812 %description curl -l pl.UTF-8
813 Moduł PHP umożliwiający korzystanie z biblioteki curl.
816 Summary: DBA extension module for PHP
817 Summary(pl.UTF-8): Moduł DBA dla PHP
819 URL: http://www.php.net/manual/en/book.dba.php
820 Requires: %{name}-common = %{epoch}:%{version}-%{release}
822 Obsoletes: php-dba < 4:5.3.28-7
825 This is a dynamic shared object (DSO) for PHP that will add flat-file
826 databases (DBA) support.
828 %description dba -l pl.UTF-8
829 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
833 Summary: DOM extension module for PHP
834 Summary(pl.UTF-8): Moduł DOM dla PHP
836 URL: http://www.php.net/manual/en/book.dom.php
837 Requires: %{name}-common = %{epoch}:%{version}-%{release}
839 # it has some compatibility functions
840 Provides: %{name}-domxml = %{epoch}:%{version}-%{release}
841 Provides: php(domxml)
842 Obsoletes: php-dom < 4:5.3.28-7
843 Obsoletes: php-domxml <= 3:4.3.8-1
846 This is a dynamic shared object (DSO) for PHP that will add new DOM
849 %description dom -l pl.UTF-8
850 Moduł PHP dodający nową obsługę DOM.
853 Summary: libenchant binder
854 Summary(pl.UTF-8): dowiązania biblioteki libenchant
856 URL: http://www.php.net/manual/en/book.exif.php
857 Requires: %{name}-common = %{epoch}:%{version}-%{release}
858 Provides: php(enchant) = %{enchantver}
859 Obsoletes: php-enchant < 4:5.3.28-7
860 Obsoletes: php-pecl-enchant < %{enchantver}
863 Enchant is a binder for libenchant. Libenchant provides a common API
864 for many spell libraries:
865 - aspell/pspell (intended to replace ispell)
868 - myspell (OpenOffice.org project, mozilla)
869 - uspell (primarily Yiddish, Hebrew, and Eastern European languages) A
870 plugin system allows to add custom spell support.
872 %description enchant -l pl.UTF-8
873 Enchant jest dowiązaniem do biblioteki libenchant, która udostępnia
874 ujednolicone API dla wielu narzędzi sprawdzających pisownię:
875 - aspell/pspell (w zamierzeniu ma zastąpić ispell)
878 - myspell (projekt OpenOffice.org, mozilla)
879 - uspell (głównie Jidysz, Hebrajski oraz języki wschodnioeuropejskie)
880 System wtyczek pozwala na dodanie wsparcia dla kolejnych narzędzi.
883 Summary: exif extension module for PHP
884 Summary(pl.UTF-8): Moduł exif dla PHP
886 URL: http://www.php.net/manual/en/book.exif.php
887 Requires: %{name}-common = %{epoch}:%{version}-%{release}
889 Obsoletes: php-exif < 4:5.3.28-7
892 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
893 support in image files.
895 %description exif -l pl.UTF-8
896 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
899 Summary: libmagic bindings
900 Summary(pl.UTF-8): Wiązania do libmagic
902 URL: http://www.php.net/manual/en/book.fileinfo.php
903 Requires: %{name}-common = %{epoch}:%{version}-%{release}
904 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
905 Provides: php(fileinfo) = %{fileinfover}
906 Obsoletes: php-fileinfo < 4:5.3.28-7
907 Obsoletes: php-mime_magic
908 Obsoletes: php-pecl-fileinfo < %{fileinfover}
910 %description fileinfo
911 This extension allows retrieval of information regarding vast majority
912 of file. This information may include dimensions, quality, length
915 Additionally it can also be used to retrieve the MIME type for a
916 particular file and for text files proper language encoding.
918 %description fileinfo -l pl.UTF-8
919 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
920 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
922 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
923 pliku oraz kodowania plików tekstowych.
926 Summary: Extension for safely dealing with input parameters
927 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
929 URL: http://www.php.net/manual/en/book.filter.php
930 Requires: %{name}-common = %{epoch}:%{version}-%{release}
931 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
932 Provides: php(filter)
933 Obsoletes: php-filter < 4:5.3.28-7
934 Obsoletes: php-pecl-filter < 0.12
937 We all know that you should always check input variables, but PHP does
938 not offer really good functionality for doing this in a safe way. The
939 Input Filter extension is meant to address this issue by implementing
940 a set of filters and mechanisms that users can use to safely access
943 %description filter -l pl.UTF-8
944 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
945 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
946 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
947 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
948 mogą bezpiecznie używać do dostępu do danych.
951 Summary: FTP extension module for PHP
952 Summary(pl.UTF-8): Moduł FTP dla PHP
954 URL: http://www.php.net/manual/en/book.ftp.php
955 Requires: %{name}-common = %{epoch}:%{version}-%{release}
957 Obsoletes: php-ftp < 4:5.3.28-7
960 This is a dynamic shared object (DSO) for PHP that will add FTP
963 %description ftp -l pl.UTF-8
964 Moduł PHP dodający obsługę protokołu FTP.
967 Summary: GD extension module for PHP
968 Summary(pl.UTF-8): Moduł GD dla PHP
970 URL: http://www.php.net/manual/en/book.image.php
971 Requires: %{name}-common = %{epoch}:%{version}-%{release}
972 %if %{with system_gd}
973 Requires: gd >= 2.0.28-4
975 Requires: gd(imagerotate) = 5.2.0
978 Obsoletes: php-gd < 4:5.3.28-7
981 This is a dynamic shared object (DSO) for PHP that will add GD
982 support, allowing you to create and manipulate images with PHP.
984 %description gd -l pl.UTF-8
985 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
986 tworzenie i obróbkę obrazków.
989 Summary: gettext extension module for PHP
990 Summary(pl.UTF-8): Moduł gettext dla PHP
992 URL: http://www.php.net/manual/en/book.gettext.php
993 Requires: %{name}-common = %{epoch}:%{version}-%{release}
994 Provides: php(gettext)
995 Obsoletes: php-gettext < 4:5.3.28-7
998 This is a dynamic shared object (DSO) for PHP that will add gettext
1001 %description gettext -l pl.UTF-8
1002 Moduł PHP dodający obsługę lokalizacji przez gettext.
1005 Summary: gmp extension module for PHP
1006 Summary(pl.UTF-8): Moduł gmp dla PHP
1008 URL: http://www.php.net/manual/en/book.gmp.php
1009 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1011 Obsoletes: php-gmp < 4:5.3.28-7
1014 This is a dynamic shared object (DSO) for PHP that will add arbitrary
1015 length number support with GNU MP library.
1017 %description gmp -l pl.UTF-8
1018 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
1019 liczbach o dowolnej długości.
1022 Summary: HASH Message Digest Framework
1023 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
1025 URL: http://www.php.net/manual/en/book.gmp.php
1026 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1027 Provides: php(hash) = %{hashver}
1029 Provides: php(mhash)
1030 Provides: php-mhash = %{epoch}:%{version}-%{release}
1031 Obsoletes: php-mhash < 4:5.3.0
1033 Obsoletes: php-hash < 4:5.3.28-7
1034 Obsoletes: php-pecl-hash < %{hashver}
1037 Native implementations of common message digest algorithms using a
1038 generic factory method.
1040 %description hash -l pl.UTF-8
1041 Natywne implementacje popularnych algorytmów obliczania skrótów
1042 wiadomości przy użyciu wspólnego interfejsu.
1045 Summary: iconv extension module for PHP
1046 Summary(pl.UTF-8): Moduł iconv dla PHP
1048 URL: http://www.php.net/manual/en/book.iconv.php
1049 Requires: %{_libdir}/gconv
1050 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1052 Provides: php(iconv)
1053 Obsoletes: php-iconv < 4:5.3.28-7
1056 This is a dynamic shared object (DSO) for PHP that will add iconv
1059 %description iconv -l pl.UTF-8
1060 Moduł PHP dodający obsługę iconv.
1063 Summary: IMAP extension module for PHP
1064 Summary(pl.UTF-8): Moduł IMAP dla PHP
1065 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
1067 URL: http://www.php.net/manual/en/book.imap.php
1068 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1069 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1070 Requires: imap-lib >= 1:2007e-2
1072 Obsoletes: php-imap < 4:5.3.28-7
1075 This is a dynamic shared object (DSO) for PHP that will add IMAP
1078 %description imap -l pl.UTF-8
1079 Moduł PHP dodający obsługę skrzynek IMAP.
1081 %description imap -l pt_BR.UTF-8
1082 Um módulo para aplicações PHP que usam IMAP.
1085 Summary: InterBase/Firebird database module for PHP
1086 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
1088 URL: http://www.php.net/manual/en/book.ibase.php
1089 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1090 Provides: php(interbase)
1091 %{?with_interbase_inst:Autoreq: false}
1092 Obsoletes: php-interbase < 4:5.3.28-7
1094 %description interbase
1095 This is a dynamic shared object (DSO) for PHP that will add InterBase
1096 and Firebird database support.
1098 %description interbase -l pl.UTF-8
1099 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
1102 Summary: Internationalization extension (ICU wrapper)
1103 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
1105 URL: http://www.php.net/intl
1106 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1107 Provides: php(intl) = %{intlver}
1108 Obsoletes: php-intl < 4:5.3.28-7
1109 Obsoletes: php-pecl-intl < %{intlver}
1112 Internationalization extension (further is referred as Intl) is a
1113 wrapper for ICU library, enabling PHP programmers to perform
1114 UCA-conformant collation and date/time/number/currency formatting in
1117 %description intl -l pl.UTF-8
1118 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
1119 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
1120 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
1124 Summary: PHP C extension for JSON serialization
1125 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
1127 URL: http://www.php.net/manual/en/book.json.php
1128 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1129 Provides: php(json) = %{jsonver}
1130 Obsoletes: php-json < 4:5.3.28-7
1131 Obsoletes: php-pecl-json < %{jsonver}
1134 php-json is an extremely fast PHP C extension for JSON (JavaScript
1135 Object Notation) serialisation.
1137 %description json -l pl.UTF-8
1138 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
1139 (JavaScript Object Notation).
1142 Summary: LDAP extension module for PHP
1143 Summary(pl.UTF-8): Moduł LDAP dla PHP
1144 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
1146 URL: http://www.php.net/manual/en/book.ldap.php
1147 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1149 Obsoletes: php-ldap < 4:5.3.28-7
1152 This is a dynamic shared object (DSO) for PHP that will add LDAP
1155 %description ldap -l pl.UTF-8
1156 Moduł PHP dodający obsługę LDAP.
1158 %description ldap -l pt_BR.UTF-8
1159 Um módulo para aplicações PHP que usam LDAP.
1162 Summary: mbstring extension module for PHP
1163 Summary(pl.UTF-8): Moduł mbstring dla PHP
1165 URL: http://www.php.net/manual/en/book.mbstring.php
1166 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1167 Provides: php(mbstring)
1168 Obsoletes: php-mbstring < 4:5.3.28-7
1170 %description mbstring
1171 This is a dynamic shared object (DSO) for PHP that will add multibyte
1174 %description mbstring -l pl.UTF-8
1175 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1178 Summary: mcrypt extension module for PHP
1179 Summary(pl.UTF-8): Moduł mcrypt dla PHP
1181 URL: http://www.php.net/manual/en/book.mcrypt.php
1182 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1183 Provides: php(mcrypt)
1184 Obsoletes: php-mcrypt < 4:5.3.28-7
1187 This is a dynamic shared object (DSO) for PHP that will add mcrypt
1190 %description mcrypt -l pl.UTF-8
1191 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
1194 Summary: MS SQL extension module for PHP
1195 Summary(pl.UTF-8): Moduł MS SQL dla PHP
1197 URL: http://www.php.net/manual/en/book.mssql.php
1198 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1199 Provides: php(mssql)
1200 Obsoletes: php-mssql < 4:5.3.28-7
1203 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1204 databases support through FreeTDS library.
1206 %description mssql -l pl.UTF-8
1207 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
1211 Summary: MySQL database module for PHP
1212 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
1213 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
1215 URL: http://www.php.net/manual/en/book.mysql.php
1216 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1217 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1218 Provides: php(mysql)
1219 Obsoletes: php-mysql < 4:5.3.28-7
1222 This is a dynamic shared object (DSO) for PHP that will add MySQL
1225 %description mysql -l pl.UTF-8
1226 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
1228 %description mysql -l pt_BR.UTF-8
1229 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1232 Summary: MySQLi module for PHP
1233 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1235 URL: http://www.php.net/manual/en/book.mysqli.php
1236 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1237 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1238 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1239 Provides: php(mysqli)
1240 Obsoletes: php-mysqli < 4:5.3.28-7
1243 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1244 (Improved MySQL) support. The difference between it and mysql module
1245 is that it provides access to functionality of MySQL 4.1 and above.
1247 %description mysqli -l pl.UTF-8
1248 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1249 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1250 MySQL w wersji 4.1 i nowszych.
1253 Summary: MySQL Native Client Driver for PHP
1254 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1256 URL: http://www.php.net/manual/en/book.mysqlnd.php
1257 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1258 Provides: php(mysqlnd)
1259 Obsoletes: php-mysqlnd < 4:5.3.28-7
1261 %description mysqlnd
1262 MySQL Native Driver is a replacement for the MySQL Client Library
1265 Because MySQL Native Driver is written as a PHP extension, it is
1266 tightly coupled to the workings of PHP. This leads to gains in
1267 efficiency, especially when it comes to memory usage, as the driver
1268 uses the PHP memory management system. It also supports the PHP memory
1269 limit. Using MySQL Native Driver leads to comparable or better
1270 performance than using MySQL Client Library, it always ensures the
1271 most efficient use of memory. One example of the memory efficiency is
1272 the fact that when using the MySQL Client Library, each row is stored
1273 in memory twice, whereas with the MySQL Native Driver each row is only
1274 stored once in memory.
1276 %description mysqlnd -l pl.UTF-8
1277 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1278 klienckiej MySQL (libmysql).
1280 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1281 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1282 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1283 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1284 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1285 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1286 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1287 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1288 tym sterowniku - tylko raz.
1291 Summary: Oracle 8+ database module for PHP
1292 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1294 URL: http://www.php.net/manual/en/book.oci8.php
1295 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1297 Obsoletes: php-oci8 < 4:5.3.28-7
1301 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1302 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1304 %description oci8 -l pl.UTF-8
1305 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1306 poprzez interfejs Oracle8 Call-Interface (OCI8).
1309 Summary: ODBC extension module for PHP
1310 Summary(pl.UTF-8): Moduł ODBC dla PHP
1311 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1313 URL: http://www.php.net/manual/en/book.uodbc.php
1314 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1315 Requires: unixODBC >= 2.1.1-3
1317 Obsoletes: php-odbc < 4:5.3.28-7
1320 This is a dynamic shared object (DSO) for PHP that will add ODBC
1323 %description odbc -l pl.UTF-8
1324 Moduł PHP ze wsparciem dla ODBC.
1326 %description odbc -l pt_BR.UTF-8
1327 Um módulo para aplicações PHP que usam ODBC.
1330 Summary: OpenSSL extension module for PHP
1331 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1333 URL: http://www.php.net/manual/en/book.openssl.php
1334 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1335 Provides: php(openssl)
1336 Obsoletes: php-openssl < 4:5.3.28-7
1338 %description openssl
1339 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1342 %description openssl -l pl.UTF-8
1343 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1346 Summary: Process Control extension module for PHP
1347 Summary(pl.UTF-8): Moduł Process Control dla PHP
1349 URL: http://www.php.net/manual/en/book.pcntl.php
1350 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1351 Provides: php(pcntl)
1352 Obsoletes: php-pcntl < 4:5.3.28-7
1355 This is a dynamic shared object (DSO) for PHP that will add process
1356 spawning and control support. It supports functions like fork(),
1357 waitpid(), signal() etc.
1359 %description pcntl -l pl.UTF-8
1360 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1361 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1364 Summary: PCRE extension module for PHP
1365 Summary(pl.UTF-8): Moduł PCRE dla PHP
1367 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1369 Obsoletes: php-pcre < 4:5.3.28-7
1372 This is a dynamic shared object (DSO) for PHP that will add Perl
1373 Compatible Regular Expression support.
1375 %description pcre -l pl.UTF-8
1376 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1377 (Perl Compatible Regular Expressions)
1380 Summary: PHP Data Objects (PDO)
1381 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1383 URL: http://www.php.net/manual/en/book.pdo.php
1384 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1385 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1387 Obsoletes: php-pdo < 4:5.3.28-7
1388 Obsoletes: php-pecl-PDO < 1.1
1391 This is a dynamic shared object (DSO) for PHP that will add PDO
1394 %description pdo -l pl.UTF-8
1395 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1398 Summary: PHP Data Objects (PDO) FreeTDS support
1399 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1401 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1402 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1403 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1404 Provides: php(pdo_dblib)
1405 Obsoletes: php-pdo-dblib < 4:5.3.28-7
1407 %description pdo-dblib
1408 This is a dynamic shared object (DSO) for PHP that will add PDO
1411 %description pdo-dblib -l pl.UTF-8
1412 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1415 %package pdo-firebird
1416 Summary: PHP Data Objects (PDO) Firebird support
1417 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1419 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1420 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1421 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1422 Provides: php(pdo-firebird)
1423 Provides: php(pdo_firebird)
1424 Obsoletes: php-pdo-firebird < 4:5.3.28-7
1425 Obsoletes: php-pecl-PDO_FIREBIRD < 0.3
1427 %description pdo-firebird
1428 This is a dynamic shared object (DSO) for PHP that will add PDO
1431 %description pdo-firebird -l pl.UTF-8
1432 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1436 Summary: PHP Data Objects (PDO) MySQL support
1437 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1439 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1440 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1441 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1442 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1443 Provides: php(pdo-mysql)
1444 Provides: php(pdo_mysql)
1445 Obsoletes: php-pdo-mysql < 4:5.3.28-7
1446 Obsoletes: php-pecl-PDO_MYSQL < 1.1
1448 %description pdo-mysql
1449 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1452 %description pdo-mysql -l pl.UTF-8
1453 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1457 Summary: PHP Data Objects (PDO) Oracle support
1458 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1460 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1461 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1462 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1463 Provides: php(pdo-oci)
1464 Provides: php(pdo_oci)
1465 Obsoletes: php-pdo-oci < 4:5.3.28-7
1466 Obsoletes: php-pecl-PDO_OCI < 1.1
1468 %description pdo-oci
1469 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1472 %description pdo-oci -l pl.UTF-8
1473 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1477 Summary: PHP Data Objects (PDO) ODBC support
1478 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1480 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1481 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1482 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1483 Provides: php(pdo-odbc)
1484 Provides: php(pdo_odbc)
1485 Obsoletes: php-pdo-odbc < 4:5.3.28-7
1486 Obsoletes: php-pecl-PDO_ODBC < 1.1
1488 %description pdo-odbc
1489 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1492 %description pdo-odbc -l pl.UTF-8
1493 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1497 Summary: PHP Data Objects (PDO) PostgreSQL support
1498 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1500 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1501 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1502 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1503 Provides: php(pdo-pgsql)
1504 Provides: php(pdo_pgsql)
1505 Obsoletes: php-pdo-pgsql < 4:5.3.28-7
1506 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1508 %description pdo-pgsql
1509 This is a dynamic shared object (DSO) for PHP that will add PDO
1512 %description pdo-pgsql -l pl.UTF-8
1513 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1517 Summary: PHP Data Objects (PDO) SQLite support
1518 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1520 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1521 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1522 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1523 Provides: php(pdo-sqlite)
1524 Provides: php(pdo_sqlite)
1525 Obsoletes: php-pdo-sqlite < 4:5.3.28-7
1526 Obsoletes: php-pecl-PDO_SQLITE < 1.1
1528 %description pdo-sqlite
1529 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1532 %description pdo-sqlite -l pl.UTF-8
1533 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1537 Summary: PostgreSQL database module for PHP
1538 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1540 URL: http://www.php.net/manual/en/book.pgsql.php
1541 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1542 Provides: php(pgsql)
1543 Obsoletes: php-pgsql < 4:5.3.28-7
1546 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1549 %description pgsql -l pl.UTF-8
1550 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1552 %description pgsql -l pt_BR.UTF-8
1553 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1556 Summary: Phar archive module for PHP
1557 Summary(pl.UTF-8): Moduł phar dla PHP
1559 URL: http://www.php.net/manual/en/book.phar.php
1560 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1561 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1562 %{?with_alternatives:Requires: alternatives}
1563 Suggests: %{name}-cli
1564 # zlib is required by phar program, but as phar cli is optional should the dep be too
1565 Suggests: %{name}-zlib
1566 Provides: php(phar) = %{pharver}
1567 Obsoletes: php-pecl-phar < %{pharver}
1568 Obsoletes: php-phar < 4:5.3.28-7
1569 Conflicts: php-ioncube < 4.0.9
1572 This is a dynamic shared object (DSO) for PHP that will add phar
1575 %description phar -l pl.UTF-8
1576 Moduł PHP umożliwiający dostęp do achiwów .phar.
1579 Summary: POSIX extension module for PHP
1580 Summary(pl.UTF-8): Moduł POSIX dla PHP
1582 URL: http://www.php.net/manual/en/book.posix.php
1583 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1584 Provides: php(posix)
1585 Obsoletes: php-posix < 4:5.3.28-7
1588 This is a dynamic shared object (DSO) for PHP that will add POSIX
1589 functions support to PHP.
1591 %description posix -l pl.UTF-8
1592 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1595 Summary: pspell extension module for PHP
1596 Summary(pl.UTF-8): Moduł pspell dla PHP
1598 URL: http://www.php.net/manual/en/book.pspell.php
1599 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1600 Provides: php(pspell)
1601 Obsoletes: php-pspell < 4:5.3.28-7
1604 This is a dynamic shared object (DSO) for PHP that will add pspell
1605 support to PHP. It allows to check the spelling of a word and offer
1608 %description pspell -l pl.UTF-8
1609 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1610 sprawdzanie pisowni słowa i sugerowanie poprawek.
1613 Summary: readline extension module for PHP
1614 Summary(pl.UTF-8): Moduł readline dla PHP
1616 URL: http://www.php.net/manual/en/book.readline.php
1617 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1618 Provides: php(readline)
1619 Obsoletes: php-readline < 4:5.3.28-7
1621 %description readline
1622 This PHP module adds support for readline functions (only for cli and
1625 %description readline -l pl.UTF-8
1626 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1629 Summary: recode extension module for PHP
1630 Summary(pl.UTF-8): Moduł recode dla PHP
1632 URL: http://www.php.net/manual/en/book.recode.php
1633 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1634 Requires: recode >= 3.5d-3
1635 Provides: php(recode)
1636 Obsoletes: php-recode < 4:5.3.28-7
1639 This is a dynamic shared object (DSO) for PHP that will add recode
1642 %description recode -l pl.UTF-8
1643 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1647 Summary: session extension module for PHP
1648 Summary(pl.UTF-8): Moduł session dla PHP
1650 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1651 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1652 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1654 Provides: php(session)
1655 Obsoletes: php-session < 4:5.3.28-7
1657 %description session
1658 This is a dynamic shared object (DSO) for PHP that will add session
1661 %description session -l pl.UTF-8
1662 Moduł PHP dodający obsługę sesji.
1665 Summary: Shared Memory Operations extension module for PHP
1666 Summary(pl.UTF-8): Moduł shmop dla PHP
1668 URL: http://www.php.net/manual/en/book.shmop.php
1669 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1670 Provides: php(shmop)
1671 Obsoletes: php-shmop < 4:5.3.28-7
1674 This is a dynamic shared object (DSO) for PHP that will add Shared
1675 Memory Operations support.
1677 %description shmop -l pl.UTF-8
1678 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1681 Summary: Simple XML extension module for PHP
1682 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1684 URL: http://www.php.net/manual/en/book.simplexml.php
1685 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1686 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1687 Provides: php(simplexml)
1688 Obsoletes: php-simplexml < 4:5.3.28-7
1690 %description simplexml
1691 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1694 %description simplexml -l pl.UTF-8
1695 Moduł PHP dodający obsługę prostego XML-a.
1698 Summary: SNMP extension module for PHP
1699 Summary(pl.UTF-8): Moduł SNMP dla PHP
1701 URL: http://www.php.net/manual/en/book.snmp.php
1702 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1703 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1705 Obsoletes: php-snmp < 4:5.3.28-7
1708 This is a dynamic shared object (DSO) for PHP that will add SNMP
1711 %description snmp -l pl.UTF-8
1712 Moduł PHP dodający obsługę SNMP.
1715 Summary: soap extension module for PHP
1716 Summary(pl.UTF-8): Moduł soap dla PHP
1718 URL: http://www.php.net/manual/en/book.soap.php
1719 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1721 Obsoletes: php-soap < 4:5.3.28-7
1724 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1727 %description soap -l pl.UTF-8
1728 Moduł PHP dodający obsługę SOAP/WSDL.
1731 Summary: sockets extension module for PHP
1732 Summary(pl.UTF-8): Moduł socket dla PHP
1734 URL: http://www.php.net/manual/en/book.sockets.php
1735 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1736 Provides: php(sockets)
1737 Obsoletes: php-sockets < 4:5.3.28-7
1739 %description sockets
1740 This is a dynamic shared object (DSO) for PHP that will add sockets
1743 %description sockets -l pl.UTF-8
1744 Moduł PHP dodający obsługę gniazdek.
1747 Summary: Standard PHP Library module for PHP
1748 Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1750 URL: http://php.net/manual/en/book.spl.php
1751 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1752 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1753 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1755 Obsoletes: php-spl < 4:5.3.28-7
1758 This is a dynamic shared object (DSO) for PHP that will add Standard
1759 PHP Library support.
1761 %description spl -l pl.UTF-8
1762 Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1765 Summary: SQLite extension module for PHP
1766 Summary(pl.UTF-8): Moduł SQLite dla PHP
1768 URL: http://www.php.net/manual/en/book.sqlite.php
1769 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1770 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1771 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1772 Provides: php(sqlite) = %{sqlitever}
1773 Obsoletes: php-pecl-SQLite < %{sqlitever}
1774 Obsoletes: php-sqlite < 4:5.3.28-7
1777 SQLite is a C library that implements an embeddable SQL database
1778 engine. Programs that link with the SQLite library can have SQL
1779 database access without running a separate RDBMS process.
1781 SQLite is not a client library used to connect to a big database
1782 server. SQLite is the server. The SQLite library reads and writes
1783 directly to and from the database files on disk.
1785 %description sqlite -l pl.UTF-8
1786 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1787 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1788 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1791 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1792 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1793 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1797 Summary: SQLite3 extension module for PHP
1798 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1800 URL: http://php.net/manual/en/book.sqlite3.php
1801 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1802 Provides: php(sqlite3) = %{sqlite3ver}
1803 Obsoletes: php-sqlite3 < 4:5.3.28-7
1805 %description sqlite3
1806 SQLite is a C library that implements an embeddable SQL database
1807 engine. Programs that link with the SQLite library can have SQL
1808 database access without running a separate RDBMS process.
1810 SQLite is not a client library used to connect to a big database
1811 server. SQLite is the server. The SQLite library reads and writes
1812 directly to and from the database files on disk.
1814 %description sqlite3 -l pl.UTF-8
1815 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1816 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1817 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1820 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1821 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1822 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1826 Summary: Sybase-CT extension module for PHP
1827 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1829 URL: http://www.php.net/manual/en/book.sybase.php
1830 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1831 Provides: php(sybase-ct)
1832 Obsoletes: php-sybase
1833 Obsoletes: php-sybase-ct < 4:5.3.28-7
1835 %description sybase-ct
1836 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1837 MS SQL databases support through CT-lib.
1839 %description sybase-ct -l pl.UTF-8
1840 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1844 Summary: SysV msg extension module for PHP
1845 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1847 URL: http://www.php.net/manual/en/book.sem.php
1848 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1849 Provides: php(sysvmsg)
1850 Obsoletes: php-sysvmsg < 4:5.3.28-7
1852 %description sysvmsg
1853 This is a dynamic shared object (DSO) for PHP that will add SysV
1854 message queues support.
1856 %description sysvmsg -l pl.UTF-8
1857 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1860 Summary: SysV sem extension module for PHP
1861 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1863 URL: http://www.php.net/manual/en/book.sem.php
1864 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1865 Provides: php(sysvsem)
1866 Obsoletes: php-sysvsem < 4:5.3.28-7
1868 %description sysvsem
1869 This is a dynamic shared object (DSO) for PHP that will add SysV
1872 %description sysvsem -l pl.UTF-8
1873 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1876 Summary: SysV shm extension module for PHP
1877 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1879 URL: http://www.php.net/manual/en/book.shmop.php
1880 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1881 Provides: php(sysvshm)
1882 Obsoletes: php-sysvshm < 4:5.3.28-7
1884 %description sysvshm
1885 This is a dynamic shared object (DSO) for PHP that will add SysV
1886 Shared Memory support.
1888 %description sysvshm -l pl.UTF-8
1889 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1892 Summary: Contains unit test files for PHP and extensions
1893 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1895 URL: http://qa.php.net/
1896 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1899 This package contains unit tests for PHP and its extensions.
1901 %description tests -l pl.UTF-8
1902 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1905 Summary: Tidy extension module for PHP
1906 Summary(pl.UTF-8): Moduł Tidy dla PHP
1908 URL: http://www.php.net/manual/en/book.tidy.php
1909 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1912 Obsoletes: php-tidy < 4:5.3.28-7
1915 This is a dynamic shared object (DSO) for PHP that will add Tidy
1918 %description tidy -l pl.UTF-8
1919 Moduł PHP umożliwiający korzystanie z tidy.
1922 Summary: tokenizer extension module for PHP
1923 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1925 URL: http://www.php.net/manual/en/book.tokenizer.php
1926 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1927 Provides: php(tokenizer)
1928 Obsoletes: php-tokenizer < 4:5.3.28-7
1930 %description tokenizer
1931 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1934 %description tokenizer -l pl.UTF-8
1935 Moduł PHP dodający obsługę tokenizera do PHP.
1938 Summary: wddx extension module for PHP
1939 Summary(pl.UTF-8): Moduł wddx dla PHP
1941 URL: http://www.php.net/manual/en/book.wddx.php
1942 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1943 # - wddx doesn't require session as it's disabled at compile time:
1944 # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1945 # see also php.spec#rev1.120.2.22
1946 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1947 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1949 Obsoletes: php-wddx < 4:5.3.28-7
1952 This is a dynamic shared object (DSO) for PHP that will add wddx
1955 %description wddx -l pl.UTF-8
1956 Moduł PHP umożliwiający korzystanie z wddx.
1959 Summary: XML extension module for PHP
1960 Summary(pl.UTF-8): Moduł XML dla PHP
1962 URL: http://www.php.net/manual/en/book.xml.php
1963 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1965 Obsoletes: php-xml < 4:5.3.28-7
1968 This is a dynamic shared object (DSO) for PHP that will add XML
1969 support. This extension lets you create XML parsers and then define
1970 handlers for different XML events.
1972 %description xml -l pl.UTF-8
1973 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1974 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1975 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1978 Summary: XML Reader extension module for PHP
1979 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1981 URL: http://www.php.net/manual/en/book.xmlreader.php
1982 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1983 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1984 Provides: php(xmlreader)
1985 Obsoletes: php-xmlreader < 4:5.3.28-7
1987 %description xmlreader
1988 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1989 support. The XMLReader extension is an XML Pull parser. The reader
1990 acts as a cursor going forward on the document stream and stopping at
1991 each node on the way.
1993 %description xmlreader -l pl.UTF-8
1994 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1995 działa jako kursor przechodzący przez strumień dokumentu i
1996 zatrzymujący się na każdym węźle po drodze.
1999 Summary: xmlrpc extension module for PHP
2000 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
2002 URL: http://www.php.net/manual/en/book.xmlrpc.php
2003 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2004 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
2005 Provides: php(xmlrpc)
2006 Obsoletes: php-xmlrpc < 4:5.3.28-7
2009 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
2012 %description xmlrpc -l pl.UTF-8
2013 Moduł PHP dodający obsługę XMLRPC.
2016 Summary: Fast, non-cached, forward-only means to write XML data
2017 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
2019 URL: http://www.php.net/manual/en/book.xmlwriter.php
2020 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2021 Provides: php(xmlwriter)
2022 Obsoletes: php-pecl-xmlwriter < 2.1
2023 Obsoletes: php-xmlwriter < 4:5.3.28-7
2025 %description xmlwriter
2026 This extension wraps the libxml xmlWriter API. Represents a writer
2027 that provides a non-cached, forward-only means of generating streams
2028 or files containing XML data.
2030 %description xmlwriter -l pl.UTF-8
2031 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
2032 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
2033 plików zawierających dane XML.
2036 Summary: xsl extension module for PHP
2037 Summary(pl.UTF-8): Moduł xsl dla PHP
2039 URL: http://www.php.net/manual/en/book.xsl.php
2040 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2041 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
2042 Requires: libxslt >= 1.0.18
2043 # actually not true, functionality is similar, but API differs
2045 Obsoletes: php-xsl < 4:5.3.28-7
2046 Obsoletes: php-xslt <= 3:4.3.8-1
2049 This is a dynamic shared object (DSO) for PHP that will add new XSL
2050 support (using libxslt).
2052 %description xsl -l pl.UTF-8
2053 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
2056 Summary: Zip management extension
2057 Summary(pl.UTF-8): Zarządzanie archiwami zip
2059 URL: http://www.php.net/manual/en/book.zip.php
2060 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2061 %{?with_system_libzip:Requires: libzip >= 0.10-3}
2062 Provides: php(zip) = %{zipver}
2063 Obsoletes: php-pecl-zip < %{zipver}
2064 Obsoletes: php-zip < 4:5.3.28-7
2067 Zip is an extension to create, modify and read zip files.
2069 %description zip -l pl.UTF-8
2070 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
2071 odczyt archiwów zip.
2074 Summary: Zlib extension module for PHP
2075 Summary(pl.UTF-8): Moduł zlib dla PHP
2077 URL: http://www.php.net/manual/en/book.zlib.php
2078 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2080 Obsoletes: php-zlib < 4:5.3.28-7
2083 This is a dynamic shared object (DSO) for PHP that will add zlib
2084 compression support to PHP.
2086 %description zlib -l pl.UTF-8
2087 Moduł PHP umożliwiający używanie kompresji zlib.
2090 %setup -q -n %{orgname}-%{version}
2101 cp -p php.ini-production php.ini
2104 %if %{with type_hints}
2113 %if %{with system_gd}
2126 %if "%{pld_release}" != "ac"
2154 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
2160 %{?with_system_libzip:%patch65 -p1}
2162 %{__rm} -r sapi/litespeed
2163 gzip -dc %{SOURCE15} | tar xf - -C sapi/
2190 sed -E -i -e '1s,#!\s*/usr/bin/env\s+(.*),#!%{__bindir}\1,' \
2193 %{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
2195 # cleanup backups after patching
2196 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
2198 # conflict seems to be resolved by recode patches
2199 %{__rm} ext/recode/config9.m4
2201 # remove all bundled libraries not to link with them accidentally
2202 #%{__rm} -r ext/sqlite/libsqlite
2203 %{__rm} -r ext/sqlite3/libsqlite
2204 #%{__rm} -r ext/bcmath/libbcmath
2205 #%{__rm} -r ext/date/lib
2206 #%{__rm} -r ext/fileinfo/libmagic
2207 #%{__rm} -r ext/dba/libcdb
2208 #%{__rm} -r ext/dba/libflatfile
2209 #%{__rm} -r ext/dba/libinifile
2210 #%{__rm} -r ext/gd/libgd
2211 #%{__rm} -r ext/mbstring/libmbfl
2212 #%{__rm} -r ext/mbstring/oniguruma
2213 %{__rm} -r ext/pcre/pcrelib
2214 #%{__rm} -r ext/soap/interop
2215 %{__rm} -r ext/xmlrpc/libxmlrpc
2216 #%{__rm} -r ext/zip/lib
2218 cp -pf Zend/LICENSE{,.Zend}
2219 install -p %{SOURCE13} dep-tests.sh
2222 sed -i -e 's#-fvisibility=hidden##g' configure*
2224 # disable broken tests
2225 # says just "Terminated" twice and fails
2226 %{__mv} sapi/cli/tests/022.phpt{,.broken}
2228 # php-5.3.3/ext/standard/tests/file/statpage.phpt
2229 %{__rm} ext/standard/tests/file/statpage.phpt
2231 # idiotic test, it will fail if somebody else makes space on disk or if disk
2232 # space is not yet allocated (xfs). report upstream to advice bogus test is
2233 # probably pointless.
2234 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
2236 sh -xe %{_sourcedir}/skip-tests.sh
2239 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
2240 if [ $API != %{php_api_version} ]; then
2241 echo "Set %%define php_api_version to $API and re-run."
2245 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
2246 if [ $API != %{zend_module_api} ]; then
2247 echo "Set %%define zend_module_api to $API and re-run."
2251 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
2252 if [ $API != %{zend_extension_api} ]; then
2253 echo "Set %%define zend_extension_api to $API and re-run."
2257 # Check for some extension version
2258 ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
2259 if test "$ver" != "%{fileinfover}"; then
2260 : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
2261 : Update the fileinfover macro and rebuild.
2264 ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
2265 if test "$ver" != "%{pharver}"; then
2266 : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
2267 : Update the pharver macro and rebuild.
2270 ver=$(sed -n '/#define PHP_SQLITE3_VERSION/{s/.* "//;s/".*$//;p}' ext/sqlite3/php_sqlite3.h)
2271 if test "$ver" != "%{sqlite3ver}"; then
2272 : Error: Upstream Sqlite3 version is now ${ver}, expecting %{sqlite3ver}.
2273 : Update the sqlite3ver macro and rebuild.
2276 ver=$(sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
2277 if test "$ver" != "%{zipver}"; then
2278 : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
2279 : Update the zipver macro and rebuild.
2282 ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
2283 if test "$ver" != "%{jsonver}"; then
2284 : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
2285 : Update the jsonver macro and rebuild.
2288 ver=$(sed -rne 's,.*<version>(.+)</version>,\1,p' ext/bz2/package.xml)
2289 if test "$ver" != "%{bz2ver}"; then
2290 : Error: Upstream BZIP2 version is now ${ver}, expecting %{bz2ver}.
2291 : Update the bz2ver macro and rebuild.
2294 ver=$(sed -n '/#define PHP_ENCHANT_VERSION /{s/.* "//;s/".*$//;p}' ext/enchant/php_enchant.h)
2295 if test "$ver" != "%{enchantver}"; then
2296 : Error: Upstream Enchant version is now ${ver}, expecting %{enchantver}.
2297 : Update the enchantver macro and rebuild.
2300 ver=$(awk '/#define PHP_HASH_EXTVER/ {print $3}' ext/hash/php_hash.h | xargs)
2301 if test "$ver" != "%{hashver}"; then
2302 : Error: Upstream HASH version is now ${ver}, expecting %{hashver}.
2303 : Update the hashver macro and rebuild.
2306 ver=$(sed -n '/#define PHP_INTL_VERSION /{s/.* "//;s/".*$//;p}' ext/intl/php_intl.h)
2307 if test "$ver" != "%{intlver}"; then
2308 : Error: Upstream Intl version is now ${ver}, expecting %{intlver}.
2309 : Update the intlver macro and rebuild.
2312 ver=$(awk '/#define PHP_SQLITE_MODULE_VERSION/ {print $3}' ext/sqlite/sqlite.c | xargs)
2313 if test "$ver" != "%{sqlitever}"; then
2314 : Error: Upstream Sqlite version is now ${ver}, expecting %{sqlitever}.
2315 : Update the sqlitever macro and rebuild.
2319 export EXTENSION_DIR="%{php_extensiondir}"
2320 # configure once (for faster debugging purposes)
2321 if [ ! -f _built-conf ]; then
2322 # now remove Makefile copies
2323 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed}
2324 # force regeneration
2325 touch Zend/zend_language_parser.y
2328 cp -f /usr/share/automake/config.* .
2332 export PROG_SENDMAIL="/usr/lib/sendmail"
2333 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP -DOPENSSL_NO_SSL2=1 -DOPENSSL_NO_SSL3=1 %{rpmcppflags} -I%{_includedir}/xmlrpc-epi"
2335 CPPFLAGS="$CPPFLAGS $(getconf LFS_CFLAGS)"
2343 %if %{with litespeed}
2359 for sapi in $sapis; do
2361 # skip if already configured (for faster debugging purposes)
2362 [ -f Makefile.$sapi ] && continue
2367 sapi_args='--disable-cli'
2370 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
2373 sapi_args='--disable-cli --enable-fpm'
2376 sapi_args='--disable-cli --enable-embed'
2379 ver=$(rpm -q --qf '%{V}' apache1-devel)
2380 sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
2383 ver=$(rpm -q --qf '%{V}' apache-devel)
2384 sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
2387 sapi_args='--with-litespeed'
2392 EXTRA_LDFLAGS="%{rpmldflags}" \
2394 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2395 --cache-file=config.cache \
2397 --with-libdir=%{_lib} \
2398 --with-config-file-path=%{_sysconfdir} \
2399 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2400 --with-exec-dir=%{_bindir} \
2401 --with-system-tzdata \
2402 --%{!?with_debug:dis}%{?with_debug:en}able-debug \
2403 %{?with_zts:--enable-maintainer-zts} \
2404 --enable-inline-optimization \
2405 --enable-bcmath=shared \
2406 --enable-calendar=shared \
2407 --enable-ctype=shared \
2408 --enable-dba=shared \
2409 --enable-dom=shared \
2410 --enable-exif=shared \
2411 --enable-fileinfo=shared \
2412 --enable-ftp=shared \
2413 --enable-gd-native-ttf \
2414 --enable-intl=shared \
2416 --enable-magic-quotes \
2417 --enable-mbstring=shared,all \
2419 --enable-pcntl=shared \
2420 --enable-pdo=shared \
2421 --enable-json=shared \
2422 --enable-hash=shared \
2423 --enable-xmlwriter=shared \
2425 --with-fpm-user=http \
2426 --with-fpm-group=http \
2428 %if %{with mssql} || %{with sybase_ct}
2429 --with-pdo-dblib=shared \
2431 %if %{with interbase} && %{without interbase_inst}
2432 --with-pdo-firebird=shared,/usr \
2434 %{?with_mhash:--with-mhash=yes} \
2435 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2436 --with-pdo-mysql=shared%{?with_mysqlnd:,mysqlnd} \
2437 %{?with_oci:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2438 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2439 %{?with_pgsql:--with-pdo-pgsql=shared} \
2440 %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
2441 --without-libexpat-dir \
2442 --enable-posix=shared \
2444 --enable-session=shared \
2445 --enable-shmop=shared \
2446 --enable-simplexml=shared \
2447 --enable-sysvmsg=shared \
2448 --enable-sysvsem=shared \
2449 --enable-sysvshm=shared \
2450 --enable-safe-mode \
2451 --enable-soap=shared \
2452 --enable-sockets=shared \
2453 --enable-tokenizer=shared \
2454 --enable-ucd-snmp-hack \
2455 %{?with_wddx:--enable-wddx=shared} \
2456 --enable-xml=shared \
2457 --enable-xmlreader=shared \
2459 %{__with_without curl curl shared} \
2461 --with-iconv=shared \
2462 %{?with_enchant:--with-enchant=shared,/usr} \
2463 --with-freetype-dir=shared \
2464 --with-gettext=shared \
2465 --with-gd=shared%{?with_system_gd:,/usr} \
2468 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2469 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2470 --with-jpeg-dir=/usr \
2471 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2472 --with-mcrypt=shared \
2473 %{?with_mm:--with-mm} \
2474 %{?with_mssql:--with-mssql=shared} \
2475 %{?with_mysqlnd:--enable-mysqlnd=shared} \
2476 --with-mysql=shared%{?with_mysqlnd:,mysqlnd} \
2477 %{?with_mysqli:--with-mysqli=shared%{?with_mysqlnd:,mysqlnd}} \
2478 %{?with_oci:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2479 %{?with_openssl:--with-openssl=shared} \
2480 %{?with_kerberos5:--with-kerberos} \
2481 %{__with_without pcre pcre-regex /usr} \
2482 %{__enable_disable filter filter shared} \
2483 --with-pear=%{php_pear_dir} \
2484 %{__with_without pgsql pgsql shared,/usr} \
2485 %{__enable_disable phar phar shared} \
2486 --with-png-dir=/usr \
2487 %{?with_pspell:--with-pspell=shared} \
2488 --with-readline=shared \
2489 %{?with_recode:--with-recode=shared} \
2490 --with-regex=system \
2491 %{?with_snmp:--with-snmp=shared} \
2492 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
2493 %{!?with_sqlite2:--without-sqlite}%{?with_sqlite2:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
2494 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2495 %{__with_without sqlite3 sqlite3 shared,/usr} \
2496 --with-t1lib=shared \
2497 %{?with_tidy:--with-tidy=shared} \
2498 %{?with_odbc:--with-unixODBC=shared,/usr} \
2499 %{__with_without xmlrpc xmlrpc shared,/usr} \
2501 --with-zlib=shared \
2502 --with-zlib-dir=shared,/usr \
2503 %{?with_system_libzip:--with-libzip} \
2504 --enable-zip=shared,/usr \
2507 cp -f Makefile Makefile.$sapi
2508 cp -f main/php_config.h php_config.h.$sapi
2509 cp -f config.log config.log.$sapi
2512 # as we build each SAPI in own make, adjust php-config.in forehead
2513 sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | xargs)
2514 sed -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in"
2516 # must make libphp_common first, so modules can link against it.
2517 cp -af php_config.h.cli main/php_config.h
2518 cp -af Makefile.cli Makefile
2519 %{__make} libphp_common.la
2520 %{__make} build-modules
2523 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
2527 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
2530 %if %{with litespeed}
2531 %{__make} -f Makefile.litespeed
2536 cp -pf php_config.h.cgi-fcgi main/php_config.h
2537 %{__make} -f Makefile.cgi-fcgi
2538 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
2543 cp -pf php_config.h.fpm main/php_config.h
2544 %{__make} -f Makefile.fpm
2545 [ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
2549 cp -pf php_config.h.cli main/php_config.h
2550 %{__make} -f Makefile.cli
2551 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
2553 # check for stupid xml parse breakage where < and > just get lost in parse result
2554 ./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"]));'
2556 # Generate stub .ini files for each extension
2559 generate_inifiles() {
2560 for so in modules/*.so; do
2561 mod=$(basename $so .so)
2563 # xml needs to be loaded before wddx
2564 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2565 # pre needs to be loaded before SPL
2566 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2567 # spl needs to be loaded before mysqli
2568 [ "$mod" = "spl" ] && conf="SPL.ini"
2569 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2570 [ "$mod" = "session" ] && conf="Session.ini"
2571 # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli
2572 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2574 cat > conf.d/$conf <<-EOF
2575 ; Enable $mod extension module
2582 # Check that the module inner-dependencies are intact
2583 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2584 if grep -v OK dep-tests.log; then
2585 echo >&2 "The results above were not expected"
2591 cp -pf php_config.h.cli main/php_config.h
2592 cp -pf Makefile.cli Makefile
2594 # you really don't want to package result of gcov build
2598 cat <<'EOF' > run-tests.sh
2600 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2601 unset TZ LANG LC_ALL || :
2603 EXTENSION_DIR=modules \
2604 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2605 RUN_TESTS_SETTINGS="-q $*"
2607 chmod +x run-tests.sh
2610 # Run tests, using the CLI SAPI
2611 cp -pf php_config.h.cli main/php_config.h
2612 cp -pf Makefile.cli Makefile
2614 ./run-tests.sh -w failed.log -s test.log
2616 # collect failed tests into cleanup script used in prep.
2617 sed -ne '/FAILED TEST SUMMARY/,/^===/p' test.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2618 sed -ne '/\[.*\]/{s/\(.*\) \[\(.*\)\]/# \1\nmv \2{,.skip}/p}' tests-failed.log \
2619 >> %{_sourcedir}/skip-tests.sh
2621 failed=$(wc -l < tests-failed.log)
2622 if [ "$failed" != 0 ]; then
2628 rm -rf $RPM_BUILD_ROOT
2629 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2630 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2631 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2632 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2634 cp -pf php_config.h.cli main/php_config.h
2635 cp -pf Makefile.cli Makefile
2637 phpbuilddir=%{_libdir}/%{name}/build \
2638 INSTALL_ROOT=$RPM_BUILD_ROOT
2640 %if %{without default_php}
2641 # version the .phar files
2642 %{__mv} $RPM_BUILD_ROOT%{_bindir}/phar{,%{php_suffix}}.phar
2644 %if %{with alternatives}
2646 %{__rm} $RPM_BUILD_ROOT%{_bindir}/phar
2647 touch $RPM_BUILD_ROOT%{_bindir}/phar
2649 # make link relative
2650 ln -sfn phar%{php_suffix}.phar $RPM_BUILD_ROOT%{_bindir}/phar
2654 v=$(echo %{version} | cut -d. -f1-2)
2656 # install Apache1 DSO module
2658 libtool --mode=install install -p sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2659 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5{,-$v}.so
2660 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache1/mod_php.so
2663 # install Apache2 DSO module
2665 libtool --mode=install install -p sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2666 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp5{,-$v}.so
2667 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache/mod_php.so
2670 # install litespeed sapi
2671 %if %{with litespeed}
2672 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
2675 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2680 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2681 ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
2682 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2687 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir},%{_datadir}/fpm}
2688 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2689 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
2690 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2691 cp -p sapi/fpm/php-fpm.conf-d $RPM_BUILD_ROOT%{_sysconfdir}/fpm.d/www.conf
2692 cp -p sapi/fpm/status.html $RPM_BUILD_ROOT%{_datadir}/fpm
2693 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2694 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2695 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2696 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2697 %if "%{pld_release}" == "ac"
2698 %{__sed} -i -e '/su/d' $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2701 %if %{with alternatives}
2702 # touch for ghost for alternatives
2703 touch $RPM_BUILD_ROOT%{_sbindir}/php-fpm
2707 s#/usr/lib/php#%{php_extensiondir}#
2708 s#/etc/php#%{_sysconfdir}#
2709 s#@processname@#%{name}-fpm#g
2710 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf,%{_sysconfdir}/fpm.d/www.conf}
2713 # install Embedded API
2715 %{__make} -f Makefile.embed install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT
2716 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2717 install -d $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2718 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2722 # versioned suffix is always installed
2723 libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php%{ver_suffix}
2724 cp -p sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php%{ver_suffix}.1
2725 echo ".so php%{ver_suffix}.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.1
2726 ln -sf php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php
2728 # .cli extension is installed only if default php.spec in distro for legacy purposes
2729 %if "%{?php_suffix}" == "" && "%{pld_release}" != "ac"
2730 ln -s php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php.cli
2733 cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2734 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2737 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2738 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2739 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2743 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2744 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2745 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2748 # ensure that paths are correct for current php version and arch
2749 grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
2751 s#/usr/lib/php#%{php_extensiondir}#
2752 s#/etc/php#%{_sysconfdir}#
2755 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2756 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2758 # per SAPI ini directories
2759 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2762 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2764 # use system automake and {lib,sh}tool
2765 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2766 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2767 for fn in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2768 f=%{_aclocaldir}/$fn
2769 test -f $f || continue
2770 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2772 for fn in ltmain.sh config/ltmain.sh build-aux/ltmain.sh; do
2773 f=/usr/share/libtool/$fn
2774 test -f $f || continue
2775 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2778 sed -i -e '/^phpdir/ s,/php/build,/%{name}/build,' $RPM_BUILD_ROOT%{_bindir}/phpize
2780 # for php-pecl-mailparse
2781 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2782 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2785 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2786 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2787 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2789 # fix install paths, avoid evil rpaths
2790 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2792 # libphp5.la contains our buildroot in dependency_libs
2793 sed -i -e "/dependency_libs/ s,/[^ ]*/libs/libphp_common.la,%{_libdir}/libphp_common.la," $RPM_BUILD_ROOT%{_libdir}/libphp5.la
2796 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/%{name}/build/acinclude.m4
2799 rm -rf $RPM_BUILD_ROOT
2801 %post -n apache1-mod_%{name}
2802 if [ "$1" = "1" ]; then
2803 %service -q apache restart
2806 %postun -n apache1-mod_%{name}
2807 if [ "$1" = "0" ]; then
2808 %service -q apache restart
2811 %post -n apache-mod_%{name}
2812 if [ "$1" = "1" ]; then
2813 %service -q httpd restart
2816 %postun -n apache-mod_%{name}
2817 if [ "$1" = "0" ]; then
2818 %service -q httpd restart
2822 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2825 /sbin/chkconfig --add %{name}-fpm
2826 %service %{name}-fpm restart
2827 %if %{with alternatives}
2828 update-alternatives --install %{_sbindir}/php-fpm php-fpm %{_sbindir}/php%{ver_suffix}-fpm %{ver_suffix} || :
2832 if [ "$1" = "0" ]; then
2833 %service %{name}-fpm stop
2834 /sbin/chkconfig --del %{name}-fpm
2835 %if %{with alternatives}
2836 update-alternatives --remove php-fpm %{_sbindir}/php-fpm || :
2841 if [ "$1" = "0" ]; then
2845 %post embedded -p /sbin/ldconfig
2846 %postun embedded -p /sbin/ldconfig
2849 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2850 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2852 . /etc/sysconfig/timezone
2853 if [ "$TIMEZONE" ]; then
2854 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2858 # minimizing apache restarts logics. we restart webserver:
2860 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2861 # 2. first install of extension (post: $1 = 1)
2862 # 2. uninstall of extension (postun: $1 == 0)
2864 # the strict internal deps between extensions (and apache modules) and
2865 # common package are very important for all this to work.
2867 # restart webserver at the end of transaction
2868 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2869 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2871 %triggerpostun common -- php-common < 4:5.3.29-7, %{name}-common < 4:5.3.29-7
2872 # migrate configs /etc/php/conf.d -> /etc/phpXY/conf.d/
2873 # do config migration in php-common trigger, as the trigger is ran after all packages are upgraded
2874 # this way we can stick to one trigger, instead of attaching one for each (sub)package!
2875 for f in /etc/php/*.ini.rpmsave /etc/php/*.d/*.ini.rpmsave; do
2876 test -f "$f" || continue
2880 test "$dn" = "$fn" && dn=
2882 nf=%{_sysconfdir}/$dn/$fn
2883 test -f "$nf" || continue
2884 cp -vfb $nf{,.rpmnew}
2887 s#%{_libdir}/php#%{_libdir}/%{name}#
2888 s#/etc/php#%{_sysconfdir}#
2891 # switch to browscap package if the ini file has original value
2892 %{__sed} -i -e 's#%{_sysconfdir}/browscap.ini#/usr/share/browscap/php_browscap.ini#' %{_sysconfdir}/php.ini
2893 # disable browscap, if optional package not present
2894 if [ ! -e /usr/share/browscap/php_browscap.ini ]; then
2895 %{__sed} -i -e 's#^browscap = /usr/share/browscap/php_browscap.ini#;&#' %{_sysconfdir}/php.ini
2898 %triggerpostun -n apache1-mod_%{name} -- apache1-mod_%{name} < 4:5.3.29-23
2899 sed -i -e 's#modules/libphp5.so#modules/mod_php.so#g' /etc/apache/conf.d/*_mod_php.conf
2901 %triggerpostun -n apache-mod_%{name} -- apache-mod_%{name} < 4:5.3.29-23
2902 sed -i -e 's#modules/libphp[57].so#modules/mod_php.so#g' /etc/httpd/conf.d/*_mod_php.conf
2904 # common macros called at extension post/postun scriptlet
2906 if [ "$1" = "1" ]; then \
2907 %php_webserver_restart \
2911 %define ext_postun \
2912 if [ "$1" = "0" ]; then \
2913 %php_webserver_restart \
2917 %define extension_scripts() \
2925 # extension scripts defines
2926 %extension_scripts bcmath
2927 %extension_scripts bz2
2928 %extension_scripts calendar
2929 %extension_scripts ctype
2930 %extension_scripts curl
2931 %extension_scripts dba
2932 %extension_scripts dom
2933 %extension_scripts enchant
2934 %extension_scripts exif
2935 %extension_scripts fileinfo
2936 %extension_scripts filter
2937 %extension_scripts ftp
2938 %extension_scripts gd
2939 %extension_scripts gettext
2940 %extension_scripts gmp
2941 %extension_scripts hash
2942 %extension_scripts iconv
2943 %extension_scripts imap
2944 %extension_scripts interbase
2945 %extension_scripts intl
2946 %extension_scripts json
2947 %extension_scripts ldap
2948 %extension_scripts mbstring
2949 %extension_scripts mcrypt
2950 %extension_scripts mssql
2951 %extension_scripts mysql
2952 %extension_scripts mysqli
2953 %extension_scripts mysqlnd
2954 %extension_scripts oci8
2955 %extension_scripts odbc
2956 %extension_scripts openssl
2957 %extension_scripts pcre
2958 %extension_scripts pdo
2959 %extension_scripts pdo-dblib
2960 %extension_scripts pdo-firebird
2961 %extension_scripts pdo-oci
2962 %extension_scripts pdo-mysql
2963 %extension_scripts pdo-odbc
2964 %extension_scripts pdo-pgsql
2965 %extension_scripts pdo-sqlite
2966 %extension_scripts pgsql
2967 %extension_scripts pcntl
2968 %extension_scripts posix
2969 %extension_scripts pspell
2970 %extension_scripts recode
2971 %extension_scripts session
2972 %extension_scripts shmop
2973 %extension_scripts simplexml
2974 %extension_scripts snmp
2975 %extension_scripts soap
2976 %extension_scripts sockets
2977 %extension_scripts spl
2978 %extension_scripts sqlite
2979 %extension_scripts sqlite3
2980 %extension_scripts sybase-ct
2981 %extension_scripts sysvmsg
2982 %extension_scripts sysvsem
2983 %extension_scripts sysvshm
2984 %extension_scripts tidy
2985 %extension_scripts tokenizer
2986 %extension_scripts wddx
2987 %extension_scripts xml
2988 %extension_scripts xmlreader
2989 %extension_scripts xmlrpc
2990 %extension_scripts xmlwriter
2991 %extension_scripts xsl
2992 %extension_scripts zip
2993 %extension_scripts zlib
2997 %if %{with alternatives}
2998 update-alternatives --install %{_bindir}/phar phar %{_bindir}/phar%{ver_suffix}.phar %{ver_suffix} || :
3003 %if %{with alternatives}
3004 if [ $1 -eq 0 ]; then
3005 update-alternatives --remove phar %{_bindir}/phar || :
3010 %files -n apache1-mod_%{name}
3011 %defattr(644,root,root,755)
3012 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
3013 %dir %{_sysconfdir}/apache.d
3014 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
3015 %attr(755,root,root) %{_libdir}/apache1/mod_php.so
3016 %attr(755,root,root) %{_libdir}/apache1/libphp5-*.*.so
3020 %files -n apache-mod_%{name}
3021 %defattr(644,root,root,755)
3022 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
3023 %attr(755,root,root) %{_libdir}/apache/mod_php.so
3025 %files -n apache-mod_%{name}-core
3026 %defattr(644,root,root,755)
3027 %dir %{_sysconfdir}/apache2handler.d
3028 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
3029 %attr(755,root,root) %{_libdir}/apache/libphp5-*.*.so
3032 %if %{with litespeed}
3034 %defattr(644,root,root,755)
3035 %attr(755,root,root) %{_sbindir}/%{name}.litespeed
3040 %defattr(644,root,root,755)
3041 %dir %{_sysconfdir}/cgi-fcgi.d
3042 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
3043 %attr(755,root,root) %{_bindir}/%{name}.cgi
3044 %attr(755,root,root) %{_bindir}/%{name}.fcgi
3049 %defattr(644,root,root,755)
3050 %attr(755,root,root) %{_libdir}/libphp5-%{version}.so
3054 %defattr(644,root,root,755)
3055 %dir %{_sysconfdir}/cli.d
3056 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
3057 %attr(755,root,root) %{_bindir}/php%{ver_suffix}
3058 %{_mandir}/man1/php%{ver_suffix}.1*
3060 # legacy. do we really need it?
3061 %if "%{?php_suffix}" == "" && "%{pld_release}" != "ac"
3062 %attr(755,root,root) %{_bindir}/php.cli
3066 %defattr(644,root,root,755)
3067 %attr(755,root,root) %{_bindir}/php
3068 %{_mandir}/man1/php.1*
3072 %defattr(644,root,root,755)
3073 %doc sapi/fpm/{CREDITS,LICENSE}
3074 %dir %{_sysconfdir}/fpm.d
3075 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
3076 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.d/www.conf
3077 %attr(755,root,root) %{_sbindir}/%{name}-fpm
3078 %if %{with alternatives}
3079 %ghost %{_sbindir}/php-fpm
3081 %{_mandir}/man8/%{name}-fpm.8*
3082 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
3083 %attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
3084 %dir %{_datadir}/fpm
3085 %{_datadir}/fpm/status.html
3089 %defattr(644,root,root,755)
3090 %doc CREDITS EXTENSIONS LICENSE NEWS README.{PHP4-TO-PHP5-THIN-CHANGES,namespaces} TODO* UPGRADING* Zend/{LICENSE.Zend,ZEND_CHANGES} php.ini-*
3092 %dir %{_sysconfdir}/conf.d
3093 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
3094 %attr(755,root,root) %{_libdir}/libphp_common-*.so
3095 %dir %{php_extensiondir}
3097 %doc ext/session/mod_files.sh
3100 %defattr(644,root,root,755)
3101 %doc CODING_STANDARDS README.{EXTENSIONS,EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
3102 %attr(755,root,root) %{_bindir}/phpize
3103 %attr(755,root,root) %{_bindir}/php-config
3104 %attr(755,root,root) %{_libdir}/libphp_common.so
3105 %{_libdir}/libphp_common.la
3107 %{_libdir}/%{name}/build
3108 %{_mandir}/man1/php-config.1*
3109 %{_mandir}/man1/phpize.1*
3112 %{_libdir}/libphp5.so
3113 %{_libdir}/libphp5.la
3117 %defattr(644,root,root,755)
3118 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
3119 %attr(755,root,root) %{php_extensiondir}/bcmath.so
3122 %defattr(644,root,root,755)
3123 %doc ext/bz2/CREDITS
3124 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
3125 %attr(755,root,root) %{php_extensiondir}/bz2.so
3128 %defattr(644,root,root,755)
3129 %doc ext/calendar/CREDITS
3130 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
3131 %attr(755,root,root) %{php_extensiondir}/calendar.so
3134 %defattr(644,root,root,755)
3135 %doc ext/calendar/CREDITS
3136 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
3137 %attr(755,root,root) %{php_extensiondir}/ctype.so
3141 %defattr(644,root,root,755)
3142 %doc ext/curl/CREDITS
3143 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
3144 %attr(755,root,root) %{php_extensiondir}/curl.so
3148 %defattr(644,root,root,755)
3149 %doc ext/dba/{CREDITS,README}
3150 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
3151 %attr(755,root,root) %{php_extensiondir}/dba.so
3154 %defattr(644,root,root,755)
3155 %doc ext/dom/{CREDITS,TODO}
3156 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
3157 %attr(755,root,root) %{php_extensiondir}/dom.so
3161 %defattr(644,root,root,755)
3162 %doc ext/enchant/{CREDITS,docs/examples}
3163 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/enchant.ini
3164 %attr(755,root,root) %{php_extensiondir}/enchant.so
3168 %defattr(644,root,root,755)
3169 %doc ext/exif/CREDITS
3170 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
3171 %attr(755,root,root) %{php_extensiondir}/exif.so
3174 %defattr(644,root,root,755)
3175 %doc ext/fileinfo/CREDITS
3176 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
3177 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
3181 %defattr(644,root,root,755)
3182 %doc ext/filter/{CREDITS,docs/*}
3183 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
3184 %attr(755,root,root) %{php_extensiondir}/filter.so
3188 %defattr(644,root,root,755)
3189 %doc ext/ftp/CREDITS
3190 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
3191 %attr(755,root,root) %{php_extensiondir}/ftp.so
3194 %defattr(644,root,root,755)
3196 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
3197 %attr(755,root,root) %{php_extensiondir}/gd.so
3200 %defattr(644,root,root,755)
3201 %doc ext/gettext/CREDITS
3202 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
3203 %attr(755,root,root) %{php_extensiondir}/gettext.so
3206 %defattr(644,root,root,755)
3207 %doc ext/gmp/{CREDITS,README,TODO}
3208 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
3209 %attr(755,root,root) %{php_extensiondir}/gmp.so
3212 %defattr(644,root,root,755)
3213 %doc ext/hash/{CREDITS,README}
3214 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
3215 %attr(755,root,root) %{php_extensiondir}/hash.so
3218 %defattr(644,root,root,755)
3219 %doc ext/iconv/CREDITS
3220 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
3221 %attr(755,root,root) %{php_extensiondir}/iconv.so
3225 %defattr(644,root,root,755)
3226 %doc ext/imap/CREDITS
3227 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
3228 %attr(755,root,root) %{php_extensiondir}/imap.so
3231 %if %{with interbase}
3233 %defattr(644,root,root,755)
3234 %doc ext/interbase/CREDITS
3235 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
3236 %attr(755,root,root) %{php_extensiondir}/interbase.so
3240 %defattr(644,root,root,755)
3241 %doc ext/intl/{CREDITS,TODO}
3242 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
3243 %attr(755,root,root) %{php_extensiondir}/intl.so
3246 %defattr(644,root,root,755)
3247 %doc ext/json/CREDITS
3248 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
3249 %attr(755,root,root) %{php_extensiondir}/json.so
3253 %defattr(644,root,root,755)
3254 %doc ext/ldap/CREDITS
3255 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
3256 %attr(755,root,root) %{php_extensiondir}/ldap.so
3260 %defattr(644,root,root,755)
3261 %doc ext/mbstring/{CREDITS,README*}
3262 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
3263 %attr(755,root,root) %{php_extensiondir}/mbstring.so
3266 %defattr(644,root,root,755)
3267 %doc ext/mcrypt/{CREDITS,TODO}
3268 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
3269 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
3273 %defattr(644,root,root,755)
3274 %doc ext/mssql/CREDITS
3275 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
3276 %attr(755,root,root) %{php_extensiondir}/mssql.so
3280 %defattr(644,root,root,755)
3281 %doc ext/mysql/CREDITS
3282 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
3283 %attr(755,root,root) %{php_extensiondir}/mysql.so
3287 %defattr(644,root,root,755)
3288 %doc ext/mysqli/{CREDITS,TODO}
3289 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
3290 %attr(755,root,root) %{php_extensiondir}/mysqli.so
3295 %defattr(644,root,root,755)
3296 %doc ext/mysqlnd/CREDITS
3297 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
3298 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
3303 %defattr(644,root,root,755)
3304 %doc ext/oci8/{CREDITS,README}
3305 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
3306 %attr(755,root,root) %{php_extensiondir}/oci8.so
3311 %defattr(644,root,root,755)
3312 %doc ext/odbc/CREDITS
3313 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
3314 %attr(755,root,root) %{php_extensiondir}/odbc.so
3319 %defattr(644,root,root,755)
3320 %doc ext/openssl/{CREDITS,README}
3321 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
3322 %attr(755,root,root) %{php_extensiondir}/openssl.so
3326 %defattr(644,root,root,755)
3327 %doc ext/pcntl/{CREDITS,README}
3328 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
3329 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3333 %defattr(644,root,root,755)
3334 %doc ext/pcre/CREDITS
3335 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
3336 %attr(755,root,root) %{php_extensiondir}/pcre.so
3340 %defattr(644,root,root,755)
3341 %doc ext/pdo/{CREDITS,README,TODO}
3342 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
3343 %attr(755,root,root) %{php_extensiondir}/pdo.so
3345 %if %{with mssql} || %{with sybase_ct}
3347 %defattr(644,root,root,755)
3348 %doc ext/pdo_dblib/{CREDITS,README}
3349 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
3350 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3353 %if %{with interbase} && !%{with interbase_inst}
3355 %defattr(644,root,root,755)
3356 %doc ext/pdo_firebird/CREDITS
3357 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
3358 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3362 %defattr(644,root,root,755)
3363 %doc ext/pdo_mysql/CREDITS
3364 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
3365 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3369 %defattr(644,root,root,755)
3370 %doc ext/pdo_oci/CREDITS
3371 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
3372 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3377 %defattr(644,root,root,755)
3378 %doc ext/pdo_odbc/CREDITS
3379 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3380 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3385 %defattr(644,root,root,755)
3386 %doc ext/pdo_pgsql/CREDITS
3387 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3388 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3391 %if %{with pdo_sqlite}
3393 %defattr(644,root,root,755)
3394 %doc ext/pdo_sqlite/CREDITS
3395 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3396 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3401 %defattr(644,root,root,755)
3402 %doc ext/pgsql/{CREDITS,README}
3403 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3404 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3409 %defattr(644,root,root,755)
3410 %doc ext/phar/{CREDITS,TODO}
3411 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
3412 %attr(755,root,root) %{php_extensiondir}/phar.so
3413 %attr(755,root,root) %{_bindir}/phar%{php_suffix}.phar
3414 %if %{with alternatives}
3415 %ghost %{_bindir}/phar
3417 %attr(755,root,root) %{_bindir}/phar
3422 %defattr(644,root,root,755)
3423 %doc ext/posix/CREDITS
3424 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3425 %attr(755,root,root) %{php_extensiondir}/posix.so
3429 %defattr(644,root,root,755)
3430 %doc ext/pspell/{CREDITS,README}
3431 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3432 %attr(755,root,root) %{php_extensiondir}/pspell.so
3436 %defattr(644,root,root,755)
3437 %doc ext/readline/{CREDITS,README*}
3438 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3439 %attr(755,root,root) %{php_extensiondir}/readline.so
3443 %defattr(644,root,root,755)
3444 %doc ext/recode/CREDITS
3445 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3446 %attr(755,root,root) %{php_extensiondir}/recode.so
3450 %defattr(644,root,root,755)
3451 %doc ext/session/CREDITS
3452 %doc ext/session/mod_files.sh
3453 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3454 %attr(755,root,root) %{php_extensiondir}/session.so
3457 %defattr(644,root,root,755)
3458 %doc ext/shmop/{CREDITS,README}
3459 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3460 %attr(755,root,root) %{php_extensiondir}/shmop.so
3463 %defattr(644,root,root,755)
3464 %doc ext/simplexml/{CREDITS,README}
3465 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3466 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3470 %defattr(644,root,root,755)
3471 %doc ext/snmp/CREDITS
3472 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3473 %attr(755,root,root) %{php_extensiondir}/snmp.so
3477 %defattr(644,root,root,755)
3478 %doc ext/soap/{CREDITS,TODO*}
3479 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3480 %attr(755,root,root) %{php_extensiondir}/soap.so
3483 %defattr(644,root,root,755)
3484 %doc ext/sockets/CREDITS
3485 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3486 %attr(755,root,root) %{php_extensiondir}/sockets.so
3489 %defattr(644,root,root,755)
3490 %doc ext/spl/{CREDITS,README,TODO,examples}
3491 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3492 %attr(755,root,root) %{php_extensiondir}/spl.so
3496 %defattr(644,root,root,755)
3497 %doc ext/sqlite/{README,TODO,CREDITS}
3498 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
3499 %attr(755,root,root) %{php_extensiondir}/sqlite.so
3504 %defattr(644,root,root,755)
3505 %doc ext/sqlite3/CREDITS
3506 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3507 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3510 %if %{with sybase_ct}
3512 %defattr(644,root,root,755)
3513 %doc ext/sybase_ct/CREDITS
3514 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3515 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
3519 %defattr(644,root,root,755)
3520 %doc ext/sysvmsg/CREDITS
3521 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3522 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3525 %defattr(644,root,root,755)
3526 %doc ext/sysvsem/CREDITS
3527 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3528 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3531 %defattr(644,root,root,755)
3532 %doc ext/sysvshm/CREDITS
3533 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3534 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3537 %defattr(644,root,root,755)
3538 %dir %{php_data_dir}/tests/php
3539 %{php_data_dir}/tests/php/basic
3540 %{php_data_dir}/tests/php/classes
3541 %{php_data_dir}/tests/php/func
3542 %{php_data_dir}/tests/php/lang
3543 %{php_data_dir}/tests/php/output
3544 %{php_data_dir}/tests/php/run-test
3545 %{php_data_dir}/tests/php/security
3546 %{php_data_dir}/tests/php/strings
3547 %{php_data_dir}/tests/php/quicktester.inc
3548 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3552 %defattr(644,root,root,755)
3553 %doc ext/tidy/{CREDITS,README}
3554 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3555 %attr(755,root,root) %{php_extensiondir}/tidy.so
3559 %defattr(644,root,root,755)
3560 %doc ext/tokenizer/CREDITS
3561 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3562 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3566 %defattr(644,root,root,755)
3567 %doc ext/wddx/CREDITS
3568 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3569 %attr(755,root,root) %{php_extensiondir}/wddx.so
3573 %defattr(644,root,root,755)
3574 %doc ext/xml/CREDITS
3575 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3576 %attr(755,root,root) %{php_extensiondir}/xml.so
3579 %defattr(644,root,root,755)
3580 %doc ext/xmlreader/{CREDITS,README,TODO,examples}
3581 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3582 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3586 %defattr(644,root,root,755)
3587 %doc ext/xmlrpc/CREDITS
3588 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3589 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3593 %defattr(644,root,root,755)
3594 %doc ext/xmlwriter/{CREDITS,TODO}
3595 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3596 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3599 %defattr(644,root,root,755)
3600 %doc ext/xsl/CREDITS
3601 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3602 %attr(755,root,root) %{php_extensiondir}/xsl.so
3605 %defattr(644,root,root,755)
3606 %doc ext/zip/{CREDITS,TODO}
3607 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3608 %attr(755,root,root) %{php_extensiondir}/zip.so
3611 %defattr(644,root,root,755)
3612 %doc ext/zlib/CREDITS
3613 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3614 %attr(755,root,root) %{php_extensiondir}/zlib.so