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 # Fixes for security bugs
253 # https://repo.webtatic.com/yum/centos/5/SRPMS/repoview/php.html
254 # also from RHEL6/CentOS7
255 Patch220: php-5.3.3-CVE-2011-4153.patch
257 Patch247: php-5.3.3-CVE-2014-2497.patch
259 Patch249: php-5.3.29-CVE-2014-3597.patch
260 Patch250: php-5.3.3-CVE-2014-4698.patch
261 Patch251: php-5.3.3-CVE-2014-4670.patch
262 Patch252: php-5.3.3-CVE-2014-3668.patch
263 Patch253: php-5.3.3-CVE-2014-3669.patch
264 Patch254: php-5.3.3-CVE-2014-3670.patch
266 Patch256: php-5.3.29-CVE-2014-8142.patch
267 Patch257: php-5.3.29-CVE-2015-0231.patch
268 Patch258: php-5.3.29-CVE-2015-0232.patch
269 URL: http://www.php.net/
270 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
271 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
272 BuildRequires: apache-base
273 BuildRequires: autoconf >= 2.53
274 BuildRequires: automake >= 1.4d
276 BuildRequires: bzip2-devel
277 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
278 BuildRequires: cyrus-sasl-devel
279 BuildRequires: db-devel >= 4.0
280 BuildRequires: elfutils-devel
281 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
283 %{?with_kerberos5:BuildRequires: heimdal-devel}
284 BuildRequires: libatomic-devel
285 %{?with_system_libzip:BuildRequires: libzip-devel >= 0.10-3}
286 BuildRequires: mysql-devel
287 BuildRequires: pkgconfig
289 BuildRequires: sed >= 4.0
290 %if %{with mssql} || %{with sybase_ct}
291 BuildRequires: freetds-devel >= 0.82
293 BuildRequires: freetype-devel >= 2.0
294 %if %{with system_gd}
295 BuildRequires: gd-devel >= 2.0.28-4
296 BuildRequires: gd-devel(imagerotate) = 5.2.0
298 BuildRequires: gdbm-devel
299 BuildRequires: gmp-devel
300 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
301 BuildRequires: libicu-devel
302 BuildRequires: libjpeg-devel
303 BuildRequires: libltdl-devel >= 1.4
304 BuildRequires: libmcrypt-devel >= 2.4.4
305 BuildRequires: libpng-devel >= 1.0.8
306 %{?with_intl:BuildRequires: libstdc++-devel}
307 %if "%{pld_release}" != "ac"
308 BuildRequires: libtool >= 2:2.4.6
310 BuildRequires: libtool >= 1.4.3
312 BuildRequires: libxml2-devel >= 1:2.7.6-4
313 BuildRequires: libxslt-devel >= 1.1.0
314 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
315 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
316 %if %{with openssl} || %{with ldap}
317 BuildRequires: openssl-devel >= 0.9.7d
319 %{?with_gcov:BuildRequires: lcov}
320 %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
321 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
322 %{?with_oci:%{?with_instantclient:BuildRequires: oracle-instantclient-devel}}
323 BuildRequires: pam-devel
324 %{?with_pcre:BuildRequires: pcre-devel >= 8.10}
325 BuildRequires: pkgconfig
326 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
327 %{?with_pgsql:BuildRequires: postgresql-devel}
328 BuildRequires: readline-devel
329 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
330 BuildRequires: rpm >= 4.4.9-56
331 BuildRequires: rpm-build >= 4.4.0
332 BuildRequires: rpmbuild(macros) >= 1.566
333 %{?with_sqlite2:BuildRequires: sqlite-devel}
334 %if %{with sqlite3} || %{with pdo_sqlite}
335 BuildRequires: sqlite3-devel >= 3.3.9
337 BuildRequires: t1lib-devel
338 %{?with_tidy:BuildRequires: tidy-devel}
339 %{?with_odbc:BuildRequires: unixODBC-devel}
340 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
341 BuildRequires: zlib-devel >= 1.0.9
343 BuildRequires: apache1-devel
346 BuildRequires: apache-devel >= 2.0.52-2
347 BuildRequires: apr-devel >= 1:1.0.0
348 BuildRequires: apr-util-devel >= 1:1.0.0
350 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
352 %define php_sysconfdir /etc/%{name}
353 %define php_extensiondir %{_libdir}/%{name}
354 %define _sysconfdir %{php_sysconfdir}
356 # must be in sync with source. extra check ensuring that it is so is done in %%build
357 %define php_api_version 20090626
358 %define zend_module_api 20090626
359 %define zend_extension_api 220090626
363 %define enchantver 1.1.0
364 %define fileinfover 1.0.5-dev
366 %define intlver 1.1.0
367 %define jsonver 1.2.1
368 %define pharver 2.0.1
369 %define sqlitever 2.0-dev
370 %define sqlite3ver 0.7-dev
371 %define zipver 1.11.0
373 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
374 %define php_debug %{!?with_debug:0}%{?with_debug:1}
377 %undefine with_ccache
381 # ORACLE_HOME is required for oci8 ext to build
382 %define _preserve_env %_preserve_env_base ORACLE_HOME
386 PHP is an HTML-embedded scripting language. PHP attempts to make it
387 easy for developers to write dynamically generated web pages. PHP also
388 offers built-in database integration for several commercial and
389 non-commercial database management systems, so writing a
390 database-enabled web page with PHP is fairly simple. The most common
391 use of PHP coding is probably as a replacement for CGI scripts. The
392 mod_php module enables the Apache web server to understand and process
393 the embedded PHP language in web pages. This package contains PHP
396 %{?with_suhosin:This version is built with Suhosin-Patch for PHP.}
398 %description -l fr.UTF-8
399 PHP est un langage de script embarque dans le HTM. PHP essaye de
400 rendre simple aux developpeurs d'ecrire des pages web generees
401 dynamiquement. PHP incorpore egalement une integration avec plusieurs
402 systemes de gestion de bases de donnees commerciaux et
403 non-connerciaux, qui rent facile la creation de pages web liees avec
404 des bases de donnees. L'utilisation la plus commune de PHP est
405 probablement en remplacement de scripts CGI. Le module mod_php permet
406 au serveur web Apache de comprendre et de traiter le langage PHP
407 integre dans des pages web. Ce package contient PHP version
410 %description -l pl.UTF-8
411 PHP jest językiem skryptowym, którego polecenia umieszcza się w
412 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
413 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
414 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
415 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
416 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
417 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
418 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
421 %description -l pt_BR.UTF-8
422 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
423 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
424 com algumas características únicas, específicas ao PHP. O objetivo da
425 linguagem é permitir que desenvolvedores web escrevam páginas
426 dinamicamente geradas de forma rápida.
428 %description -l ru.UTF-8
429 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
430 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
431 для работы с базами данных относительно просто. Наиболее популярное
432 использование PHP - замена для CGI скриптов.
434 %description -l uk.UTF-8
435 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
436 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
437 роботи з базами даних є доволі простим. Найбільш популярне
438 використання PHP - заміна для CGI скриптів.
440 %package -n apache1-mod_%{name}
441 Summary: PHP DSO module for Apache 1.3.x
442 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x
443 Group: Development/Languages/PHP
444 Requires: %{name}-common = %{epoch}:%{version}-%{release}
445 Requires: apache1(EAPI) >= 1.3.33-2
446 Requires: apache1-mod_mime
447 Provides: webserver(php) = %{version}
448 Obsoletes: apache-mod_php < 1:4.1.1
449 Obsoletes: apache1-mod_php < 4:5.3.28-7
452 %description -n apache1-mod_%{name}
453 PHP as DSO module for Apache 1.3.x.
455 %description -n apache1-mod_%{name} -l pl.UTF-8
456 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x.
458 %package -n apache-mod_%{name}
459 Summary: PHP support for Apache 2.x
460 Summary(pl.UTF-8): Wsparcie PHP dla Apache 2.x
461 Group: Development/Languages/PHP
462 Requires: apache-mod_%{name}-core = %{epoch}:%{version}-%{release}
463 Requires: %{name}-common = %{epoch}:%{version}-%{release}
464 Provides: webserver(php) = %{version}
465 Obsoletes: apache-mod_php < 4:5.3.28-7
468 %description -n apache-mod_%{name}
469 PHP support for Apache 2.x.
471 %description -n apache-mod_%{name} -l pl.UTF-8
472 Wsparcie PHP dla Apache 2.x.
474 %package -n apache-mod_%{name}-core
475 Summary: PHP DSO module for Apache 2.x
476 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
477 Group: Development/Languages/PHP
478 Requires: %{name}-common = %{epoch}:%{version}-%{release}
479 Requires: apache(modules-api) = %{apache_modules_api}
480 Requires: apache-mod_mime
482 %description -n apache-mod_%{name}-core
483 PHP as DSO module for Apache 2.x.
485 %description -n apache-mod_%{name}-core -l pl.UTF-8
486 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
489 Summary: PHP for litespeed HTTP server
490 Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
491 Group: Development/Languages/PHP
492 Requires: %{name}-common = %{epoch}:%{version}-%{release}
493 Provides: php(litespeed)
494 Provides: webserver(php) = %{version}
495 Obsoletes: php-litespeed < 4:5.3.28-7
497 %description litespeed
498 PHP for litespeed HTTP server.
500 %description litespeed -l pl.UTF-8
501 PHP dla serwera HTTP litespeed.
504 Summary: PHP as CGI/FastCGI program
505 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
506 Group: Development/Languages/PHP
507 Requires: %{name}-common = %{epoch}:%{version}-%{release}
508 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
511 Provides: webserver(php) = %{version}
512 Obsoletes: php-cgi < 4:5.3.28-7
513 Obsoletes: php-fcgi < 4:5.3.0
516 PHP as CGI or FastCGI program.
518 %description cgi -l pl.UTF-8
519 PHP jako program CGI lub FastCGI.
522 Summary: PHP as CLI interpreter
523 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
524 Group: Development/Languages/PHP
525 Requires: %{name}-common = %{epoch}:%{version}-%{release}
526 Obsoletes: php-cli < 4:5.3.28-7
529 PHP as CLI interpreter.
531 %description cli -l pl.UTF-8
532 PHP jako interpreter działający z linii poleceń.
535 Summary: PHP library for embedding in applications
536 Summary(pl.UTF-8): Biblioteka PHP do osadzania w aplikacjach
538 Requires: %{name}-common = %{epoch}:%{version}-%{release}
539 Obsoletes: php-embedded < 4:5.3.28-7
541 %description embedded
542 The php-embedded package contains a library which can be embedded into
543 applications to provide PHP scripting language support.
545 %description embedded -l pl.UTF-8
546 Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
547 celu obsługi PHP jako języka skryptowego.
550 Summary: /usr/bin/php symlink
551 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
552 Group: Development/Languages/PHP
553 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
554 Obsoletes: /usr/bin/php
555 Obsoletes: php-program < 4:5.3.28-7
558 Package providing /usr/bin/php symlink to PHP CLI.
560 %description program -l pl.UTF-8
561 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
564 Summary: PHP FastCGI Process Manager
565 Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
566 Group: Development/Languages/PHP
567 URL: http://www.php-fpm.org/
568 Requires(post,preun): /sbin/chkconfig
569 Requires(postun): /usr/sbin/userdel
570 Requires(pre): /bin/id
571 Requires(pre): /usr/sbin/useradd
572 Requires: %{name}-common = %{epoch}:%{version}-%{release}
573 %{?with_alternatives:Requires: alternatives}
574 Requires: php-dirs >= 1.4-2
579 Provides: webserver(php) = %{version}
580 Obsoletes: php-fpm < 4:5.3.28-7
581 %if "%{pld_release}" != "ac"
582 Conflicts: logrotate < 3.8.0
586 PHP FastCGI Process Manager.
588 %description fpm -l pl.UTF-8
589 PHP FastCGI Process Manager - zarządca procesów FastCGI.
592 Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
593 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
594 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
595 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
597 Requires(post): sed >= 4.0
598 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
599 Requires: glibc >= 6:2.3.5
600 Requires: php-dirs >= 1.4
601 Requires: rpm-whiteout >= 1.28
603 %if "%{pld_release}" == "ac"
604 # postpone tree rebuild in ac
605 Provides: php5(debug) = %{php_debug}
606 Provides: php5(thread-safety) = %{zend_zts}
608 Provides: %{name}(debug) = %{php_debug}
609 Provides: %{name}(modules_api) = %{php_api_version}
610 Provides: %{name}(thread-safety) = %{zend_zts}
611 Provides: %{name}(zend_extension_api) = %{zend_extension_api}
612 Provides: %{name}(zend_module_api) = %{zend_module_api}
613 Provides: %{name}-core
614 Provides: %{name}-date
615 Provides: %{name}-ereg
616 Provides: %{name}-reflection
617 Provides: %{name}-standard
618 Provides: php(core) = %{version}
621 Provides: php(libxml)
622 Provides: php(reflection)
623 Provides: php(standard)
624 %{!?with_mysqlnd:Obsoletes: php-mysqlnd}
625 %{?with_pcre:%requires_ge_to pcre pcre-devel}
627 Obsoletes: php-common < 4:5.3.28-7
628 Obsoletes: php-pecl-domxml
629 Conflicts: php4-common < 3:4.4.4-8
630 Conflicts: rpm < 4.4.2-0.2
633 Common files needed by both Apache modules and CGI/CLI SAPIs.
635 %description common -l pl.UTF-8
636 Wspólne pliki dla modułu Apache'a i programu CGI.
638 %description common -l ru.UTF-8
639 Этот пакет содержит общие файлы для разных вариантов реализации PHP
640 (самодостаточной и в качестве модуля Apache).
642 %description common -l uk.UTF-8
643 Цей пакет містить спільні файли для різних варіантів реалізації PHP
644 (самодостатньої та в якості модуля Apache).
647 Summary: Files for PHP modules development
648 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
649 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
650 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
651 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
652 Group: Development/Languages/PHP
653 Requires: %{name}-common = %{epoch}:%{version}-%{release}
654 Requires: autoconf >= 2.13
656 %if "%{pld_release}" != "ac"
657 Requires: libtool >= 2:2.4.6
661 %{?with_embed:Requires: %{name}-embedded = %{epoch}:%{version}-%{release}}
662 %{?with_pcre:Requires: pcre-devel >= 8.10}
664 Provides: php-devel = %{epoch}:%{version}-%{release}
666 Obsoletes: php-pear-devel
667 Obsoletes: php4-devel
668 Obsoletes: php52-devel
669 Obsoletes: php54-devel
670 Obsoletes: php55-devel
671 Obsoletes: php56-devel
672 Obsoletes: php70-devel
673 Obsoletes: php71-devel
674 Obsoletes: php72-devel
675 Obsoletes: php73-devel
678 The php-devel package lets you compile dynamic extensions to PHP.
679 Included here is the source for the PHP extensions. Instead of
680 recompiling the whole PHP binary to add support for, say, oracle,
681 install this package and use the new self-contained extensions
682 support. For more information, read the file
683 README.SELF-CONTAINED-EXTENSIONS.
685 %description devel -l pl.UTF-8
686 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
687 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
688 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
689 samodzielnych rozszerzeniach można znaleźć w pliku
690 README.SELF-CONTAINED-EXTENSIONS.
692 %description devel -l pt_BR.UTF-8
693 Este pacote contém arquivos usados no desenvolvimento de programas ou
696 %description devel -l ru.UTF-8
697 Пакет php-devel дает возможность компилировать динамические расширения
698 PHP. Пакет включает исходный код этих расширений. Вместо повторной
699 компиляции бинарного файла PHP для добавления, например, поддержки
700 oracle, установите этот пакет для компилирования отдельных расширений.
701 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
703 %description devel -l uk.UTF-8
704 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
705 До пакету включено вихідний код для розширень. Замість повторної
706 компіляції бінарного файлу PHP для додання, наприклад, підтримки
707 oracle, встановіть цей пакет для компіляції окремих розширень.
708 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
711 Summary: bcmath extension module for PHP
712 Summary(pl.UTF-8): Moduł bcmath dla PHP
714 URL: http://www.php.net/manual/en/book.bc.php
715 Requires: %{name}-common = %{epoch}:%{version}-%{release}
716 Provides: php(bcmath)
717 Obsoletes: php-bcmath < 4:5.3.28-7
720 This is a dynamic shared object (DSO) for PHP that will add bc style
721 precision math functions support.
723 %description bcmath -l pl.UTF-8
724 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
725 matematycznych takich jak w programie bc.
728 Summary: Bzip2 extension module for PHP
729 Summary(pl.UTF-8): Moduł bzip2 dla PHP
731 URL: http://www.php.net/manual/en/book.bzip2.php
732 Requires: %{name}-common = %{epoch}:%{version}-%{release}
733 Provides: php(bz2) = %{bz2ver}
735 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
736 Obsoletes: php-bz2 < 4:5.3.28-7
737 Obsoletes: php-bzip2 < 4:5.2.14-3
738 Obsoletes: php-pecl-bz2 < %{bz2ver}
741 This is a dynamic shared object (DSO) for PHP that will add bzip2
742 compression support to PHP.
744 %description bz2 -l pl.UTF-8
745 Moduł PHP umożliwiający używanie kompresji bzip2.
748 Summary: Calendar extension module for PHP
749 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
751 URL: http://www.php.net/manual/en/book.calendar.php
752 Requires: %{name}-common = %{epoch}:%{version}-%{release}
753 Provides: php(calendar)
754 Obsoletes: php-calendar < 4:5.3.28-7
756 %description calendar
757 This is a dynamic shared object (DSO) for PHP that will add calendar
760 %description calendar -l pl.UTF-8
761 Moduł PHP dodający wsparcie dla kalendarza.
764 Summary: ctype extension module for PHP
765 Summary(pl.UTF-8): Moduł ctype dla PHP
767 URL: http://www.php.net/manual/en/book.ctype.php
768 Requires: %{name}-common = %{epoch}:%{version}-%{release}
770 Obsoletes: php-ctype < 4:5.3.28-7
773 This is a dynamic shared object (DSO) for PHP that will add ctype
776 %description ctype -l pl.UTF-8
777 Moduł PHP umożliwiający korzystanie z funkcji ctype.
780 Summary: curl extension module for PHP
781 Summary(pl.UTF-8): Moduł curl dla PHP
783 URL: http://www.php.net/manual/en/book.curl.php
784 Requires: %{name}-common = %{epoch}:%{version}-%{release}
786 Obsoletes: php-curl < 4:5.3.28-7
789 This is a dynamic shared object (DSO) for PHP that will add curl
792 %description curl -l pl.UTF-8
793 Moduł PHP umożliwiający korzystanie z biblioteki curl.
796 Summary: DBA extension module for PHP
797 Summary(pl.UTF-8): Moduł DBA dla PHP
799 URL: http://www.php.net/manual/en/book.dba.php
800 Requires: %{name}-common = %{epoch}:%{version}-%{release}
802 Obsoletes: php-dba < 4:5.3.28-7
805 This is a dynamic shared object (DSO) for PHP that will add flat-file
806 databases (DBA) support.
808 %description dba -l pl.UTF-8
809 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
813 Summary: DOM extension module for PHP
814 Summary(pl.UTF-8): Moduł DOM dla PHP
816 URL: http://www.php.net/manual/en/book.dom.php
817 Requires: %{name}-common = %{epoch}:%{version}-%{release}
819 # it has some compatibility functions
820 Provides: %{name}-domxml = %{epoch}:%{version}-%{release}
821 Provides: php(domxml)
822 Obsoletes: php-dom < 4:5.3.28-7
823 Obsoletes: php-domxml <= 3:4.3.8-1
826 This is a dynamic shared object (DSO) for PHP that will add new DOM
829 %description dom -l pl.UTF-8
830 Moduł PHP dodający nową obsługę DOM.
833 Summary: libenchant binder
834 Summary(pl.UTF-8): dowiązania biblioteki libenchant
836 URL: http://www.php.net/manual/en/book.exif.php
837 Requires: %{name}-common = %{epoch}:%{version}-%{release}
838 Provides: php(enchant) = %{enchantver}
839 Obsoletes: php-enchant < 4:5.3.28-7
840 Obsoletes: php-pecl-enchant < %{enchantver}
843 Enchant is a binder for libenchant. Libenchant provides a common API
844 for many spell libraries:
845 - aspell/pspell (intended to replace ispell)
848 - myspell (OpenOffice.org project, mozilla)
849 - uspell (primarily Yiddish, Hebrew, and Eastern European languages) A
850 plugin system allows to add custom spell support.
852 %description enchant -l pl.UTF-8
853 Enchant jest dowiązaniem do biblioteki libenchant, która udostępnia
854 ujednolicone API dla wielu narzędzi sprawdzających pisownię:
855 - aspell/pspell (w zamierzeniu ma zastąpić ispell)
858 - myspell (projekt OpenOffice.org, mozilla)
859 - uspell (głównie Jidysz, Hebrajski oraz języki wschodnioeuropejskie)
860 System wtyczek pozwala na dodanie wsparcia dla kolejnych narzędzi.
863 Summary: exif extension module for PHP
864 Summary(pl.UTF-8): Moduł exif dla PHP
866 URL: http://www.php.net/manual/en/book.exif.php
867 Requires: %{name}-common = %{epoch}:%{version}-%{release}
869 Obsoletes: php-exif < 4:5.3.28-7
872 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
873 support in image files.
875 %description exif -l pl.UTF-8
876 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
879 Summary: libmagic bindings
880 Summary(pl.UTF-8): Wiązania do libmagic
882 URL: http://www.php.net/manual/en/book.fileinfo.php
883 Requires: %{name}-common = %{epoch}:%{version}-%{release}
884 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
885 Provides: php(fileinfo) = %{fileinfover}
886 Obsoletes: php-fileinfo < 4:5.3.28-7
887 Obsoletes: php-mime_magic
888 Obsoletes: php-pecl-fileinfo < %{fileinfover}
890 %description fileinfo
891 This extension allows retrieval of information regarding vast majority
892 of file. This information may include dimensions, quality, length
895 Additionally it can also be used to retrieve the MIME type for a
896 particular file and for text files proper language encoding.
898 %description fileinfo -l pl.UTF-8
899 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
900 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
902 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
903 pliku oraz kodowania plików tekstowych.
906 Summary: Extension for safely dealing with input parameters
907 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
909 URL: http://www.php.net/manual/en/book.filter.php
910 Requires: %{name}-common = %{epoch}:%{version}-%{release}
911 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
912 Provides: php(filter)
913 Obsoletes: php-filter < 4:5.3.28-7
914 Obsoletes: php-pecl-filter
917 We all know that you should always check input variables, but PHP does
918 not offer really good functionality for doing this in a safe way. The
919 Input Filter extension is meant to address this issue by implementing
920 a set of filters and mechanisms that users can use to safely access
923 %description filter -l pl.UTF-8
924 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
925 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
926 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
927 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
928 mogą bezpiecznie używać do dostępu do danych.
931 Summary: FTP extension module for PHP
932 Summary(pl.UTF-8): Moduł FTP dla PHP
934 URL: http://www.php.net/manual/en/book.ftp.php
935 Requires: %{name}-common = %{epoch}:%{version}-%{release}
937 Obsoletes: php-ftp < 4:5.3.28-7
940 This is a dynamic shared object (DSO) for PHP that will add FTP
943 %description ftp -l pl.UTF-8
944 Moduł PHP dodający obsługę protokołu FTP.
947 Summary: GD extension module for PHP
948 Summary(pl.UTF-8): Moduł GD dla PHP
950 URL: http://www.php.net/manual/en/book.image.php
951 Requires: %{name}-common = %{epoch}:%{version}-%{release}
952 %if %{with system_gd}
953 Requires: gd >= 2.0.28-4
955 Requires: gd(imagerotate) = 5.2.0
958 Obsoletes: php-gd < 4:5.3.28-7
961 This is a dynamic shared object (DSO) for PHP that will add GD
962 support, allowing you to create and manipulate images with PHP.
964 %description gd -l pl.UTF-8
965 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
966 tworzenie i obróbkę obrazków.
969 Summary: gettext extension module for PHP
970 Summary(pl.UTF-8): Moduł gettext dla PHP
972 URL: http://www.php.net/manual/en/book.gettext.php
973 Requires: %{name}-common = %{epoch}:%{version}-%{release}
974 Provides: php(gettext)
975 Obsoletes: php-gettext < 4:5.3.28-7
978 This is a dynamic shared object (DSO) for PHP that will add gettext
981 %description gettext -l pl.UTF-8
982 Moduł PHP dodający obsługę lokalizacji przez gettext.
985 Summary: gmp extension module for PHP
986 Summary(pl.UTF-8): Moduł gmp dla PHP
988 URL: http://www.php.net/manual/en/book.gmp.php
989 Requires: %{name}-common = %{epoch}:%{version}-%{release}
991 Obsoletes: php-gmp < 4:5.3.28-7
994 This is a dynamic shared object (DSO) for PHP that will add arbitrary
995 length number support with GNU MP library.
997 %description gmp -l pl.UTF-8
998 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
999 liczbach o dowolnej długości.
1002 Summary: HASH Message Digest Framework
1003 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
1005 URL: http://www.php.net/manual/en/book.gmp.php
1006 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1007 Provides: php(hash) = %{hashver}
1009 Provides: php(mhash)
1010 Provides: php-mhash = %{epoch}:%{version}-%{release}
1011 Obsoletes: php-mhash < 4:5.3.0
1013 Obsoletes: php-hash < 4:5.3.28-7
1014 Obsoletes: php-pecl-hash < %{hashver}
1017 Native implementations of common message digest algorithms using a
1018 generic factory method.
1020 %description hash -l pl.UTF-8
1021 Natywne implementacje popularnych algorytmów obliczania skrótów
1022 wiadomości przy użyciu wspólnego interfejsu.
1025 Summary: iconv extension module for PHP
1026 Summary(pl.UTF-8): Moduł iconv dla PHP
1028 URL: http://www.php.net/manual/en/book.iconv.php
1029 Requires: %{_libdir}/gconv
1030 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1032 Provides: php(iconv)
1033 Obsoletes: php-iconv < 4:5.3.28-7
1036 This is a dynamic shared object (DSO) for PHP that will add iconv
1039 %description iconv -l pl.UTF-8
1040 Moduł PHP dodający obsługę iconv.
1043 Summary: IMAP extension module for PHP
1044 Summary(pl.UTF-8): Moduł IMAP dla PHP
1045 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
1047 URL: http://www.php.net/manual/en/book.imap.php
1048 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1049 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1050 Requires: imap-lib >= 1:2007e-2
1052 Obsoletes: php-imap < 4:5.3.28-7
1055 This is a dynamic shared object (DSO) for PHP that will add IMAP
1058 %description imap -l pl.UTF-8
1059 Moduł PHP dodający obsługę skrzynek IMAP.
1061 %description imap -l pt_BR.UTF-8
1062 Um módulo para aplicações PHP que usam IMAP.
1065 Summary: InterBase/Firebird database module for PHP
1066 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
1068 URL: http://www.php.net/manual/en/book.ibase.php
1069 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1070 Provides: php(interbase)
1071 %{?with_interbase_inst:Autoreq: false}
1072 Obsoletes: php-interbase < 4:5.3.28-7
1074 %description interbase
1075 This is a dynamic shared object (DSO) for PHP that will add InterBase
1076 and Firebird database support.
1078 %description interbase -l pl.UTF-8
1079 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
1082 Summary: Internationalization extension (ICU wrapper)
1083 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
1085 URL: http://www.php.net/intl
1086 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1087 Provides: php(intl) = %{intlver}
1088 Obsoletes: php-intl < 4:5.3.28-7
1089 Obsoletes: php-pecl-intl < %{intlver}
1092 Internationalization extension (further is referred as Intl) is a
1093 wrapper for ICU library, enabling PHP programmers to perform
1094 UCA-conformant collation and date/time/number/currency formatting in
1097 %description intl -l pl.UTF-8
1098 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
1099 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
1100 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
1104 Summary: PHP C extension for JSON serialization
1105 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
1107 URL: http://www.php.net/manual/en/book.json.php
1108 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1109 Provides: php(json) = %{jsonver}
1110 Obsoletes: php-json < 4:5.3.28-7
1111 Obsoletes: php-pecl-json < %{jsonver}
1114 php-json is an extremely fast PHP C extension for JSON (JavaScript
1115 Object Notation) serialisation.
1117 %description json -l pl.UTF-8
1118 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
1119 (JavaScript Object Notation).
1122 Summary: LDAP extension module for PHP
1123 Summary(pl.UTF-8): Moduł LDAP dla PHP
1124 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
1126 URL: http://www.php.net/manual/en/book.ldap.php
1127 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1129 Obsoletes: php-ldap < 4:5.3.28-7
1132 This is a dynamic shared object (DSO) for PHP that will add LDAP
1135 %description ldap -l pl.UTF-8
1136 Moduł PHP dodający obsługę LDAP.
1138 %description ldap -l pt_BR.UTF-8
1139 Um módulo para aplicações PHP que usam LDAP.
1142 Summary: mbstring extension module for PHP
1143 Summary(pl.UTF-8): Moduł mbstring dla PHP
1145 URL: http://www.php.net/manual/en/book.mbstring.php
1146 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1147 Provides: php(mbstring)
1148 Obsoletes: php-mbstring < 4:5.3.28-7
1150 %description mbstring
1151 This is a dynamic shared object (DSO) for PHP that will add multibyte
1154 %description mbstring -l pl.UTF-8
1155 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1158 Summary: mcrypt extension module for PHP
1159 Summary(pl.UTF-8): Moduł mcrypt dla PHP
1161 URL: http://www.php.net/manual/en/book.mcrypt.php
1162 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1163 Provides: php(mcrypt)
1164 Obsoletes: php-mcrypt < 4:5.3.28-7
1167 This is a dynamic shared object (DSO) for PHP that will add mcrypt
1170 %description mcrypt -l pl.UTF-8
1171 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
1174 Summary: MS SQL extension module for PHP
1175 Summary(pl.UTF-8): Moduł MS SQL dla PHP
1177 URL: http://www.php.net/manual/en/book.mssql.php
1178 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1179 Provides: php(mssql)
1180 Obsoletes: php-mssql < 4:5.3.28-7
1183 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1184 databases support through FreeTDS library.
1186 %description mssql -l pl.UTF-8
1187 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
1191 Summary: MySQL database module for PHP
1192 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
1193 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
1195 URL: http://www.php.net/manual/en/book.mysql.php
1196 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1197 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1198 Provides: php(mysql)
1199 Obsoletes: php-mysql < 4:5.3.28-7
1202 This is a dynamic shared object (DSO) for PHP that will add MySQL
1205 %description mysql -l pl.UTF-8
1206 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
1208 %description mysql -l pt_BR.UTF-8
1209 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1212 Summary: MySQLi module for PHP
1213 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1215 URL: http://www.php.net/manual/en/book.mysqli.php
1216 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1217 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1218 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1219 Provides: php(mysqli)
1220 Obsoletes: php-mysqli < 4:5.3.28-7
1223 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1224 (Improved MySQL) support. The difference between it and mysql module
1225 is that it provides access to functionality of MySQL 4.1 and above.
1227 %description mysqli -l pl.UTF-8
1228 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1229 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1230 MySQL w wersji 4.1 i nowszych.
1233 Summary: MySQL Native Client Driver for PHP
1234 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1236 URL: http://www.php.net/manual/en/book.mysqlnd.php
1237 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1238 Provides: php(mysqlnd)
1239 Obsoletes: php-mysqlnd < 4:5.3.28-7
1241 %description mysqlnd
1242 MySQL Native Driver is a replacement for the MySQL Client Library
1245 Because MySQL Native Driver is written as a PHP extension, it is
1246 tightly coupled to the workings of PHP. This leads to gains in
1247 efficiency, especially when it comes to memory usage, as the driver
1248 uses the PHP memory management system. It also supports the PHP memory
1249 limit. Using MySQL Native Driver leads to comparable or better
1250 performance than using MySQL Client Library, it always ensures the
1251 most efficient use of memory. One example of the memory efficiency is
1252 the fact that when using the MySQL Client Library, each row is stored
1253 in memory twice, whereas with the MySQL Native Driver each row is only
1254 stored once in memory.
1256 %description mysqlnd -l pl.UTF-8
1257 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1258 klienckiej MySQL (libmysql).
1260 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1261 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1262 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1263 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1264 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1265 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1266 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1267 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1268 tym sterowniku - tylko raz.
1271 Summary: Oracle 8+ database module for PHP
1272 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1274 URL: http://www.php.net/manual/en/book.oci8.php
1275 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1277 Obsoletes: php-oci8 < 4:5.3.28-7
1281 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1282 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1284 %description oci8 -l pl.UTF-8
1285 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1286 poprzez interfejs Oracle8 Call-Interface (OCI8).
1289 Summary: ODBC extension module for PHP
1290 Summary(pl.UTF-8): Moduł ODBC dla PHP
1291 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1293 URL: http://www.php.net/manual/en/book.uodbc.php
1294 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1295 Requires: unixODBC >= 2.1.1-3
1297 Obsoletes: php-odbc < 4:5.3.28-7
1300 This is a dynamic shared object (DSO) for PHP that will add ODBC
1303 %description odbc -l pl.UTF-8
1304 Moduł PHP ze wsparciem dla ODBC.
1306 %description odbc -l pt_BR.UTF-8
1307 Um módulo para aplicações PHP que usam ODBC.
1310 Summary: OpenSSL extension module for PHP
1311 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1313 URL: http://www.php.net/manual/en/book.openssl.php
1314 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1315 Provides: php(openssl)
1316 Obsoletes: php-openssl < 4:5.3.28-7
1318 %description openssl
1319 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1322 %description openssl -l pl.UTF-8
1323 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1326 Summary: Process Control extension module for PHP
1327 Summary(pl.UTF-8): Moduł Process Control dla PHP
1329 URL: http://www.php.net/manual/en/book.pcntl.php
1330 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1331 Provides: php(pcntl)
1332 Obsoletes: php-pcntl < 4:5.3.28-7
1335 This is a dynamic shared object (DSO) for PHP that will add process
1336 spawning and control support. It supports functions like fork(),
1337 waitpid(), signal() etc.
1339 %description pcntl -l pl.UTF-8
1340 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1341 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1344 Summary: PCRE extension module for PHP
1345 Summary(pl.UTF-8): Moduł PCRE dla PHP
1347 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1349 Obsoletes: php-pcre < 4:5.3.28-7
1352 This is a dynamic shared object (DSO) for PHP that will add Perl
1353 Compatible Regular Expression support.
1355 %description pcre -l pl.UTF-8
1356 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1357 (Perl Compatible Regular Expressions)
1360 Summary: PHP Data Objects (PDO)
1361 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1363 URL: http://www.php.net/manual/en/book.pdo.php
1364 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1365 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1367 Obsoletes: php-pdo < 4:5.3.28-7
1368 Obsoletes: php-pecl-PDO
1371 This is a dynamic shared object (DSO) for PHP that will add PDO
1374 %description pdo -l pl.UTF-8
1375 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1378 Summary: PHP Data Objects (PDO) FreeTDS support
1379 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1381 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1382 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1383 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1384 Provides: php(pdo_dblib)
1385 Obsoletes: php-pdo-dblib < 4:5.3.28-7
1387 %description pdo-dblib
1388 This is a dynamic shared object (DSO) for PHP that will add PDO
1391 %description pdo-dblib -l pl.UTF-8
1392 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1395 %package pdo-firebird
1396 Summary: PHP Data Objects (PDO) Firebird support
1397 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1399 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1400 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1401 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1402 Provides: php(pdo-firebird)
1403 Provides: php(pdo_firebird)
1404 Obsoletes: php-pdo-firebird < 4:5.3.28-7
1405 Obsoletes: php-pecl-PDO_FIREBIRD
1407 %description pdo-firebird
1408 This is a dynamic shared object (DSO) for PHP that will add PDO
1411 %description pdo-firebird -l pl.UTF-8
1412 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1416 Summary: PHP Data Objects (PDO) MySQL support
1417 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1419 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1420 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1421 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1422 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1423 Provides: php(pdo-mysql)
1424 Provides: php(pdo_mysql)
1425 Obsoletes: php-pdo-mysql < 4:5.3.28-7
1426 Obsoletes: php-pecl-PDO_MYSQL
1428 %description pdo-mysql
1429 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1432 %description pdo-mysql -l pl.UTF-8
1433 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1437 Summary: PHP Data Objects (PDO) Oracle support
1438 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1440 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1441 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1442 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1443 Provides: php(pdo-oci)
1444 Provides: php(pdo_oci)
1445 Obsoletes: php-pdo-oci < 4:5.3.28-7
1446 Obsoletes: php-pecl-PDO_OCI
1448 %description pdo-oci
1449 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1452 %description pdo-oci -l pl.UTF-8
1453 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1457 Summary: PHP Data Objects (PDO) ODBC support
1458 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1460 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1461 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1462 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1463 Provides: php(pdo-odbc)
1464 Provides: php(pdo_odbc)
1465 Obsoletes: php-pdo-odbc < 4:5.3.28-7
1466 Obsoletes: php-pecl-PDO_ODBC
1468 %description pdo-odbc
1469 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1472 %description pdo-odbc -l pl.UTF-8
1473 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1477 Summary: PHP Data Objects (PDO) PostgreSQL support
1478 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1480 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1481 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1482 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1483 Provides: php(pdo-pgsql)
1484 Provides: php(pdo_pgsql)
1485 Obsoletes: php-pdo-pgsql < 4:5.3.28-7
1486 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1488 %description pdo-pgsql
1489 This is a dynamic shared object (DSO) for PHP that will add PDO
1492 %description pdo-pgsql -l pl.UTF-8
1493 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1497 Summary: PHP Data Objects (PDO) SQLite support
1498 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1500 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1501 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1502 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1503 Provides: php(pdo-sqlite)
1504 Provides: php(pdo_sqlite)
1505 Obsoletes: php-pdo-sqlite < 4:5.3.28-7
1506 Obsoletes: php-pecl-PDO_SQLITE
1508 %description pdo-sqlite
1509 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1512 %description pdo-sqlite -l pl.UTF-8
1513 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1517 Summary: PostgreSQL database module for PHP
1518 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1520 URL: http://www.php.net/manual/en/book.pgsql.php
1521 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1522 Provides: php(pgsql)
1523 Obsoletes: php-pgsql < 4:5.3.28-7
1526 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1529 %description pgsql -l pl.UTF-8
1530 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1532 %description pgsql -l pt_BR.UTF-8
1533 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1536 Summary: Phar archive module for PHP
1537 Summary(pl.UTF-8): Moduł phar dla PHP
1539 URL: http://www.php.net/manual/en/book.phar.php
1540 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1541 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1542 %{?with_alternatives:Requires: alternatives}
1543 Suggests: %{name}-cli
1544 # zlib is required by phar program, but as phar cli is optional should the dep be too
1545 Suggests: %{name}-zlib
1546 Provides: php(phar) = %{pharver}
1547 Obsoletes: php-pecl-phar < %{pharver}
1548 Obsoletes: php-phar < 4:5.3.28-7
1549 Conflicts: php-ioncube < 4.0.9
1552 This is a dynamic shared object (DSO) for PHP that will add phar
1555 %description phar -l pl.UTF-8
1556 Moduł PHP umożliwiający dostęp do achiwów .phar.
1559 Summary: POSIX extension module for PHP
1560 Summary(pl.UTF-8): Moduł POSIX dla PHP
1562 URL: http://www.php.net/manual/en/book.posix.php
1563 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1564 Provides: php(posix)
1565 Obsoletes: php-posix < 4:5.3.28-7
1568 This is a dynamic shared object (DSO) for PHP that will add POSIX
1569 functions support to PHP.
1571 %description posix -l pl.UTF-8
1572 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1575 Summary: pspell extension module for PHP
1576 Summary(pl.UTF-8): Moduł pspell dla PHP
1578 URL: http://www.php.net/manual/en/book.pspell.php
1579 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1580 Provides: php(pspell)
1581 Obsoletes: php-pspell < 4:5.3.28-7
1584 This is a dynamic shared object (DSO) for PHP that will add pspell
1585 support to PHP. It allows to check the spelling of a word and offer
1588 %description pspell -l pl.UTF-8
1589 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1590 sprawdzanie pisowni słowa i sugerowanie poprawek.
1593 Summary: readline extension module for PHP
1594 Summary(pl.UTF-8): Moduł readline dla PHP
1596 URL: http://www.php.net/manual/en/book.readline.php
1597 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1598 Provides: php(readline)
1599 Obsoletes: php-readline < 4:5.3.28-7
1601 %description readline
1602 This PHP module adds support for readline functions (only for cli and
1605 %description readline -l pl.UTF-8
1606 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1609 Summary: recode extension module for PHP
1610 Summary(pl.UTF-8): Moduł recode dla PHP
1612 URL: http://www.php.net/manual/en/book.recode.php
1613 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1614 Requires: recode >= 3.5d-3
1615 Provides: php(recode)
1616 Obsoletes: php-recode < 4:5.3.28-7
1619 This is a dynamic shared object (DSO) for PHP that will add recode
1622 %description recode -l pl.UTF-8
1623 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1627 Summary: session extension module for PHP
1628 Summary(pl.UTF-8): Moduł session dla PHP
1630 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1631 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1632 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1634 Provides: php(session)
1635 Obsoletes: php-session < 4:5.3.28-7
1637 %description session
1638 This is a dynamic shared object (DSO) for PHP that will add session
1641 %description session -l pl.UTF-8
1642 Moduł PHP dodający obsługę sesji.
1645 Summary: Shared Memory Operations extension module for PHP
1646 Summary(pl.UTF-8): Moduł shmop dla PHP
1648 URL: http://www.php.net/manual/en/book.shmop.php
1649 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1650 Provides: php(shmop)
1651 Obsoletes: php-shmop < 4:5.3.28-7
1654 This is a dynamic shared object (DSO) for PHP that will add Shared
1655 Memory Operations support.
1657 %description shmop -l pl.UTF-8
1658 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1661 Summary: Simple XML extension module for PHP
1662 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1664 URL: http://www.php.net/manual/en/book.simplexml.php
1665 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1666 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1667 Provides: php(simplexml)
1668 Obsoletes: php-simplexml < 4:5.3.28-7
1670 %description simplexml
1671 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1674 %description simplexml -l pl.UTF-8
1675 Moduł PHP dodający obsługę prostego XML-a.
1678 Summary: SNMP extension module for PHP
1679 Summary(pl.UTF-8): Moduł SNMP dla PHP
1681 URL: http://www.php.net/manual/en/book.snmp.php
1682 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1683 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1685 Obsoletes: php-snmp < 4:5.3.28-7
1688 This is a dynamic shared object (DSO) for PHP that will add SNMP
1691 %description snmp -l pl.UTF-8
1692 Moduł PHP dodający obsługę SNMP.
1695 Summary: soap extension module for PHP
1696 Summary(pl.UTF-8): Moduł soap dla PHP
1698 URL: http://www.php.net/manual/en/book.soap.php
1699 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1701 Obsoletes: php-soap < 4:5.3.28-7
1704 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1707 %description soap -l pl.UTF-8
1708 Moduł PHP dodający obsługę SOAP/WSDL.
1711 Summary: sockets extension module for PHP
1712 Summary(pl.UTF-8): Moduł socket dla PHP
1714 URL: http://www.php.net/manual/en/book.sockets.php
1715 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1716 Provides: php(sockets)
1717 Obsoletes: php-sockets < 4:5.3.28-7
1719 %description sockets
1720 This is a dynamic shared object (DSO) for PHP that will add sockets
1723 %description sockets -l pl.UTF-8
1724 Moduł PHP dodający obsługę gniazdek.
1727 Summary: Standard PHP Library module for PHP
1728 Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1730 URL: http://php.net/manual/en/book.spl.php
1731 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1732 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1733 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1735 Obsoletes: php-spl < 4:5.3.28-7
1738 This is a dynamic shared object (DSO) for PHP that will add Standard
1739 PHP Library support.
1741 %description spl -l pl.UTF-8
1742 Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1745 Summary: SQLite extension module for PHP
1746 Summary(pl.UTF-8): Moduł SQLite dla PHP
1748 URL: http://www.php.net/manual/en/book.sqlite.php
1749 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1750 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1751 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1752 Provides: php(sqlite) = %{sqlitever}
1753 Obsoletes: php-pecl-SQLite < %{sqlitever}
1754 Obsoletes: php-sqlite < 4:5.3.28-7
1757 SQLite is a C library that implements an embeddable SQL database
1758 engine. Programs that link with the SQLite library can have SQL
1759 database access without running a separate RDBMS process.
1761 SQLite is not a client library used to connect to a big database
1762 server. SQLite is the server. The SQLite library reads and writes
1763 directly to and from the database files on disk.
1765 %description sqlite -l pl.UTF-8
1766 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1767 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1768 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1771 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1772 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1773 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1777 Summary: SQLite3 extension module for PHP
1778 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1780 URL: http://php.net/manual/en/book.sqlite3.php
1781 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1782 Provides: php(sqlite3) = %{sqlite3ver}
1783 Obsoletes: php-sqlite3 < 4:5.3.28-7
1785 %description sqlite3
1786 SQLite is a C library that implements an embeddable SQL database
1787 engine. Programs that link with the SQLite library can have SQL
1788 database access without running a separate RDBMS process.
1790 SQLite is not a client library used to connect to a big database
1791 server. SQLite is the server. The SQLite library reads and writes
1792 directly to and from the database files on disk.
1794 %description sqlite3 -l pl.UTF-8
1795 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1796 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1797 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1800 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1801 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1802 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1806 Summary: Sybase-CT extension module for PHP
1807 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1809 URL: http://www.php.net/manual/en/book.sybase.php
1810 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1811 Provides: php(sybase-ct)
1812 Obsoletes: php-sybase
1813 Obsoletes: php-sybase-ct < 4:5.3.28-7
1815 %description sybase-ct
1816 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1817 MS SQL databases support through CT-lib.
1819 %description sybase-ct -l pl.UTF-8
1820 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1824 Summary: SysV msg extension module for PHP
1825 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1827 URL: http://www.php.net/manual/en/book.sem.php
1828 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1829 Provides: php(sysvmsg)
1830 Obsoletes: php-sysvmsg < 4:5.3.28-7
1832 %description sysvmsg
1833 This is a dynamic shared object (DSO) for PHP that will add SysV
1834 message queues support.
1836 %description sysvmsg -l pl.UTF-8
1837 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1840 Summary: SysV sem extension module for PHP
1841 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1843 URL: http://www.php.net/manual/en/book.sem.php
1844 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1845 Provides: php(sysvsem)
1846 Obsoletes: php-sysvsem < 4:5.3.28-7
1848 %description sysvsem
1849 This is a dynamic shared object (DSO) for PHP that will add SysV
1852 %description sysvsem -l pl.UTF-8
1853 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1856 Summary: SysV shm extension module for PHP
1857 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1859 URL: http://www.php.net/manual/en/book.shmop.php
1860 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1861 Provides: php(sysvshm)
1862 Obsoletes: php-sysvshm < 4:5.3.28-7
1864 %description sysvshm
1865 This is a dynamic shared object (DSO) for PHP that will add SysV
1866 Shared Memory support.
1868 %description sysvshm -l pl.UTF-8
1869 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1872 Summary: Contains unit test files for PHP and extensions
1873 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1875 URL: http://qa.php.net/
1876 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1879 This package contains unit tests for PHP and its extensions.
1881 %description tests -l pl.UTF-8
1882 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1885 Summary: Tidy extension module for PHP
1886 Summary(pl.UTF-8): Moduł Tidy dla PHP
1888 URL: http://www.php.net/manual/en/book.tidy.php
1889 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1892 Obsoletes: php-tidy < 4:5.3.28-7
1895 This is a dynamic shared object (DSO) for PHP that will add Tidy
1898 %description tidy -l pl.UTF-8
1899 Moduł PHP umożliwiający korzystanie z tidy.
1902 Summary: tokenizer extension module for PHP
1903 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1905 URL: http://www.php.net/manual/en/book.tokenizer.php
1906 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1907 Provides: php(tokenizer)
1908 Obsoletes: php-tokenizer < 4:5.3.28-7
1910 %description tokenizer
1911 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1914 %description tokenizer -l pl.UTF-8
1915 Moduł PHP dodający obsługę tokenizera do PHP.
1918 Summary: wddx extension module for PHP
1919 Summary(pl.UTF-8): Moduł wddx dla PHP
1921 URL: http://www.php.net/manual/en/book.wddx.php
1922 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1923 # - wddx doesn't require session as it's disabled at compile time:
1924 # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1925 # see also php.spec#rev1.120.2.22
1926 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1927 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1929 Obsoletes: php-wddx < 4:5.3.28-7
1932 This is a dynamic shared object (DSO) for PHP that will add wddx
1935 %description wddx -l pl.UTF-8
1936 Moduł PHP umożliwiający korzystanie z wddx.
1939 Summary: XML extension module for PHP
1940 Summary(pl.UTF-8): Moduł XML dla PHP
1942 URL: http://www.php.net/manual/en/book.xml.php
1943 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1945 Obsoletes: php-xml < 4:5.3.28-7
1948 This is a dynamic shared object (DSO) for PHP that will add XML
1949 support. This extension lets you create XML parsers and then define
1950 handlers for different XML events.
1952 %description xml -l pl.UTF-8
1953 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1954 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1955 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1958 Summary: XML Reader extension module for PHP
1959 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1961 URL: http://www.php.net/manual/en/book.xmlreader.php
1962 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1963 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1964 Provides: php(xmlreader)
1965 Obsoletes: php-xmlreader < 4:5.3.28-7
1967 %description xmlreader
1968 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1969 support. The XMLReader extension is an XML Pull parser. The reader
1970 acts as a cursor going forward on the document stream and stopping at
1971 each node on the way.
1973 %description xmlreader -l pl.UTF-8
1974 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1975 działa jako kursor przechodzący przez strumień dokumentu i
1976 zatrzymujący się na każdym węźle po drodze.
1979 Summary: xmlrpc extension module for PHP
1980 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1982 URL: http://www.php.net/manual/en/book.xmlrpc.php
1983 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1984 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1985 Provides: php(xmlrpc)
1986 Obsoletes: php-xmlrpc < 4:5.3.28-7
1989 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1992 %description xmlrpc -l pl.UTF-8
1993 Moduł PHP dodający obsługę XMLRPC.
1996 Summary: Fast, non-cached, forward-only means to write XML data
1997 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1999 URL: http://www.php.net/manual/en/book.xmlwriter.php
2000 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2001 Provides: php(xmlwriter)
2002 Obsoletes: php-pecl-xmlwriter
2003 Obsoletes: php-xmlwriter < 4:5.3.28-7
2005 %description xmlwriter
2006 This extension wraps the libxml xmlWriter API. Represents a writer
2007 that provides a non-cached, forward-only means of generating streams
2008 or files containing XML data.
2010 %description xmlwriter -l pl.UTF-8
2011 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
2012 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
2013 plików zawierających dane XML.
2016 Summary: xsl extension module for PHP
2017 Summary(pl.UTF-8): Moduł xsl dla PHP
2019 URL: http://www.php.net/manual/en/book.xsl.php
2020 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2021 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
2022 Requires: libxslt >= 1.0.18
2023 # actually not true, functionality is similar, but API differs
2025 Obsoletes: php-xsl < 4:5.3.28-7
2026 Obsoletes: php-xslt <= 3:4.3.8-1
2029 This is a dynamic shared object (DSO) for PHP that will add new XSL
2030 support (using libxslt).
2032 %description xsl -l pl.UTF-8
2033 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
2036 Summary: Zip management extension
2037 Summary(pl.UTF-8): Zarządzanie archiwami zip
2039 URL: http://www.php.net/manual/en/book.zip.php
2040 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2041 %{?with_system_libzip:Requires: libzip >= 0.10-3}
2042 Provides: php(zip) = %{zipver}
2043 Obsoletes: php-pecl-zip < %{zipver}
2044 Obsoletes: php-zip < 4:5.3.28-7
2047 Zip is an extension to create, modify and read zip files.
2049 %description zip -l pl.UTF-8
2050 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
2051 odczyt archiwów zip.
2054 Summary: Zlib extension module for PHP
2055 Summary(pl.UTF-8): Moduł zlib dla PHP
2057 URL: http://www.php.net/manual/en/book.zlib.php
2058 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2060 Obsoletes: php-zlib < 4:5.3.28-7
2063 This is a dynamic shared object (DSO) for PHP that will add zlib
2064 compression support to PHP.
2066 %description zlib -l pl.UTF-8
2067 Moduł PHP umożliwiający używanie kompresji zlib.
2070 %setup -q -n %{orgname}-%{version}
2081 cp -p php.ini-production php.ini
2084 %if %{with type_hints}
2093 %if %{with system_gd}
2106 %if "%{pld_release}" != "ac"
2134 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
2140 %{?with_system_libzip:%patch65 -p1}
2142 %{__rm} -r sapi/litespeed
2143 gzip -dc %{SOURCE15} | tar xf - -C sapi/
2166 %{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
2168 # cleanup backups after patching
2169 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
2171 # conflict seems to be resolved by recode patches
2172 %{__rm} ext/recode/config9.m4
2174 # remove all bundled libraries not to link with them accidentally
2175 #%{__rm} -r ext/sqlite/libsqlite
2176 %{__rm} -r ext/sqlite3/libsqlite
2177 #%{__rm} -r ext/bcmath/libbcmath
2178 #%{__rm} -r ext/date/lib
2179 #%{__rm} -r ext/fileinfo/libmagic
2180 #%{__rm} -r ext/dba/libcdb
2181 #%{__rm} -r ext/dba/libflatfile
2182 #%{__rm} -r ext/dba/libinifile
2183 #%{__rm} -r ext/gd/libgd
2184 #%{__rm} -r ext/mbstring/libmbfl
2185 #%{__rm} -r ext/mbstring/oniguruma
2186 %{__rm} -r ext/pcre/pcrelib
2187 #%{__rm} -r ext/soap/interop
2188 %{__rm} -r ext/xmlrpc/libxmlrpc
2189 #%{__rm} -r ext/zip/lib
2191 cp -pf Zend/LICENSE{,.Zend}
2192 install -p %{SOURCE13} dep-tests.sh
2195 sed -i -e 's#-fvisibility=hidden##g' configure*
2197 # disable broken tests
2198 # says just "Terminated" twice and fails
2199 %{__mv} sapi/cli/tests/022.phpt{,.broken}
2201 # php-5.3.3/ext/standard/tests/file/statpage.phpt
2202 %{__rm} ext/standard/tests/file/statpage.phpt
2204 # idiotic test, it will fail if somebody else makes space on disk or if disk
2205 # space is not yet allocated (xfs). report upstream to advice bogus test is
2206 # probably pointless.
2207 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
2209 sh -xe %{_sourcedir}/skip-tests.sh
2212 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
2213 if [ $API != %{php_api_version} ]; then
2214 echo "Set %%define php_api_version to $API and re-run."
2218 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
2219 if [ $API != %{zend_module_api} ]; then
2220 echo "Set %%define zend_module_api to $API and re-run."
2224 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
2225 if [ $API != %{zend_extension_api} ]; then
2226 echo "Set %%define zend_extension_api to $API and re-run."
2230 # Check for some extension version
2231 ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
2232 if test "$ver" != "%{fileinfover}"; then
2233 : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
2234 : Update the fileinfover macro and rebuild.
2237 ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
2238 if test "$ver" != "%{pharver}"; then
2239 : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
2240 : Update the pharver macro and rebuild.
2243 ver=$(sed -n '/#define PHP_SQLITE3_VERSION/{s/.* "//;s/".*$//;p}' ext/sqlite3/php_sqlite3.h)
2244 if test "$ver" != "%{sqlite3ver}"; then
2245 : Error: Upstream Sqlite3 version is now ${ver}, expecting %{sqlite3ver}.
2246 : Update the sqlite3ver macro and rebuild.
2249 ver=$(sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
2250 if test "$ver" != "%{zipver}"; then
2251 : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
2252 : Update the zipver macro and rebuild.
2255 ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
2256 if test "$ver" != "%{jsonver}"; then
2257 : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
2258 : Update the jsonver macro and rebuild.
2261 ver=$(sed -rne 's,.*<version>(.+)</version>,\1,p' ext/bz2/package.xml)
2262 if test "$ver" != "%{bz2ver}"; then
2263 : Error: Upstream BZIP2 version is now ${ver}, expecting %{bz2ver}.
2264 : Update the bz2ver macro and rebuild.
2267 ver=$(sed -n '/#define PHP_ENCHANT_VERSION /{s/.* "//;s/".*$//;p}' ext/enchant/php_enchant.h)
2268 if test "$ver" != "%{enchantver}"; then
2269 : Error: Upstream Enchant version is now ${ver}, expecting %{enchantver}.
2270 : Update the enchantver macro and rebuild.
2273 ver=$(awk '/#define PHP_HASH_EXTVER/ {print $3}' ext/hash/php_hash.h | xargs)
2274 if test "$ver" != "%{hashver}"; then
2275 : Error: Upstream HASH version is now ${ver}, expecting %{hashver}.
2276 : Update the hashver macro and rebuild.
2279 ver=$(sed -n '/#define PHP_INTL_VERSION /{s/.* "//;s/".*$//;p}' ext/intl/php_intl.h)
2280 if test "$ver" != "%{intlver}"; then
2281 : Error: Upstream Intl version is now ${ver}, expecting %{intlver}.
2282 : Update the intlver macro and rebuild.
2285 ver=$(awk '/#define PHP_SQLITE_MODULE_VERSION/ {print $3}' ext/sqlite/sqlite.c | xargs)
2286 if test "$ver" != "%{sqlitever}"; then
2287 : Error: Upstream Sqlite version is now ${ver}, expecting %{sqlitever}.
2288 : Update the sqlitever macro and rebuild.
2292 export EXTENSION_DIR="%{php_extensiondir}"
2293 # configure once (for faster debugging purposes)
2294 if [ ! -f _built-conf ]; then
2295 # now remove Makefile copies
2296 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed}
2297 # force regeneration
2298 touch Zend/zend_language_parser.y
2301 cp -f /usr/share/automake/config.* .
2305 export PROG_SENDMAIL="/usr/lib/sendmail"
2306 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP -DOPENSSL_NO_SSL2=1 -DOPENSSL_NO_SSL3=1 %{rpmcppflags} -I%{_includedir}/xmlrpc-epi"
2308 CPPFLAGS="$CPPFLAGS $(getconf LFS_CFLAGS)"
2316 %if %{with litespeed}
2332 for sapi in $sapis; do
2334 # skip if already configured (for faster debugging purposes)
2335 [ -f Makefile.$sapi ] && continue
2340 sapi_args='--disable-cli'
2343 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
2346 sapi_args='--disable-cli --enable-fpm'
2349 sapi_args='--disable-cli --enable-embed'
2352 ver=$(rpm -q --qf '%{V}' apache1-devel)
2353 sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
2356 ver=$(rpm -q --qf '%{V}' apache-devel)
2357 sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
2360 sapi_args='--with-litespeed'
2365 EXTRA_LDFLAGS="%{rpmldflags}" \
2367 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2368 --cache-file=config.cache \
2370 --with-libdir=%{_lib} \
2371 --with-config-file-path=%{_sysconfdir} \
2372 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2373 --with-exec-dir=%{_bindir} \
2374 --with-system-tzdata \
2375 --%{!?with_debug:dis}%{?with_debug:en}able-debug \
2376 %{?with_zts:--enable-maintainer-zts} \
2377 --enable-inline-optimization \
2378 --enable-bcmath=shared \
2379 --enable-calendar=shared \
2380 --enable-ctype=shared \
2381 --enable-dba=shared \
2382 --enable-dom=shared \
2383 --enable-exif=shared \
2384 --enable-fileinfo=shared \
2385 --enable-ftp=shared \
2386 --enable-gd-native-ttf \
2387 --enable-intl=shared \
2389 --enable-magic-quotes \
2390 --enable-mbstring=shared,all \
2392 --enable-pcntl=shared \
2393 --enable-pdo=shared \
2394 --enable-json=shared \
2395 --enable-hash=shared \
2396 --enable-xmlwriter=shared \
2398 --with-fpm-user=http \
2399 --with-fpm-group=http \
2401 %if %{with mssql} || %{with sybase_ct}
2402 --with-pdo-dblib=shared \
2404 %if %{with interbase} && %{without interbase_inst}
2405 --with-pdo-firebird=shared,/usr \
2407 %{?with_mhash:--with-mhash=yes} \
2408 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2409 --with-pdo-mysql=shared%{?with_mysqlnd:,mysqlnd} \
2410 %{?with_oci:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2411 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2412 %{?with_pgsql:--with-pdo-pgsql=shared} \
2413 %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
2414 --without-libexpat-dir \
2415 --enable-posix=shared \
2417 --enable-session=shared \
2418 --enable-shmop=shared \
2419 --enable-simplexml=shared \
2420 --enable-sysvmsg=shared \
2421 --enable-sysvsem=shared \
2422 --enable-sysvshm=shared \
2423 --enable-safe-mode \
2424 --enable-soap=shared \
2425 --enable-sockets=shared \
2426 --enable-tokenizer=shared \
2427 --enable-ucd-snmp-hack \
2428 %{?with_wddx:--enable-wddx=shared} \
2429 --enable-xml=shared \
2430 --enable-xmlreader=shared \
2432 %{__with_without curl curl shared} \
2434 --with-iconv=shared \
2435 %{?with_enchant:--with-enchant=shared,/usr} \
2436 --with-freetype-dir=shared \
2437 --with-gettext=shared \
2438 --with-gd=shared%{?with_system_gd:,/usr} \
2441 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2442 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2443 --with-jpeg-dir=/usr \
2444 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2445 --with-mcrypt=shared \
2446 %{?with_mm:--with-mm} \
2447 %{?with_mssql:--with-mssql=shared} \
2448 %{?with_mysqlnd:--enable-mysqlnd=shared} \
2449 --with-mysql=shared%{?with_mysqlnd:,mysqlnd} \
2450 %{?with_mysqli:--with-mysqli=shared%{?with_mysqlnd:,mysqlnd}} \
2451 %{?with_oci:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2452 %{?with_openssl:--with-openssl=shared} \
2453 %{?with_kerberos5:--with-kerberos} \
2454 %{__with_without pcre pcre-regex /usr} \
2455 %{__enable_disable filter filter shared} \
2456 --with-pear=%{php_pear_dir} \
2457 %{__with_without pgsql pgsql shared,/usr} \
2458 %{__enable_disable phar phar shared} \
2459 --with-png-dir=/usr \
2460 %{?with_pspell:--with-pspell=shared} \
2461 --with-readline=shared \
2462 %{?with_recode:--with-recode=shared} \
2463 --with-regex=system \
2464 %{?with_snmp:--with-snmp=shared} \
2465 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
2466 %{!?with_sqlite2:--without-sqlite}%{?with_sqlite2:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
2467 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2468 %{__with_without sqlite3 sqlite3 shared,/usr} \
2469 --with-t1lib=shared \
2470 %{?with_tidy:--with-tidy=shared} \
2471 %{?with_odbc:--with-unixODBC=shared,/usr} \
2472 %{__with_without xmlrpc xmlrpc shared,/usr} \
2474 --with-zlib=shared \
2475 --with-zlib-dir=shared,/usr \
2476 %{?with_system_libzip:--with-libzip} \
2477 --enable-zip=shared,/usr \
2480 cp -f Makefile Makefile.$sapi
2481 cp -f main/php_config.h php_config.h.$sapi
2482 cp -f config.log config.log.$sapi
2485 # as we build each SAPI in own make, adjust php-config.in forehead
2486 sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | xargs)
2487 sed -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in"
2489 # must make libphp_common first, so modules can link against it.
2490 cp -af php_config.h.cli main/php_config.h
2491 cp -af Makefile.cli Makefile
2492 %{__make} libphp_common.la
2493 %{__make} build-modules
2496 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
2500 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
2503 %if %{with litespeed}
2504 %{__make} -f Makefile.litespeed
2509 cp -pf php_config.h.cgi-fcgi main/php_config.h
2510 %{__make} -f Makefile.cgi-fcgi
2511 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
2516 cp -pf php_config.h.fpm main/php_config.h
2517 %{__make} -f Makefile.fpm
2518 [ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
2522 cp -pf php_config.h.cli main/php_config.h
2523 %{__make} -f Makefile.cli
2524 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
2526 # check for stupid xml parse breakage where < and > just get lost in parse result
2527 ./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"]));'
2529 # Generate stub .ini files for each extension
2532 generate_inifiles() {
2533 for so in modules/*.so; do
2534 mod=$(basename $so .so)
2536 # xml needs to be loaded before wddx
2537 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2538 # pre needs to be loaded before SPL
2539 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2540 # spl needs to be loaded before mysqli
2541 [ "$mod" = "spl" ] && conf="SPL.ini"
2542 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2543 [ "$mod" = "session" ] && conf="Session.ini"
2544 # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli
2545 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2547 cat > conf.d/$conf <<-EOF
2548 ; Enable $mod extension module
2555 # Check that the module inner-dependencies are intact
2556 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2557 if grep -v OK dep-tests.log; then
2558 echo >&2 "The results above were not expected"
2564 cp -pf php_config.h.cli main/php_config.h
2565 cp -pf Makefile.cli Makefile
2567 # you really don't want to package result of gcov build
2571 cat <<'EOF' > run-tests.sh
2573 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2574 unset TZ LANG LC_ALL || :
2576 EXTENSION_DIR=modules \
2577 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2578 RUN_TESTS_SETTINGS="-q $*"
2580 chmod +x run-tests.sh
2583 # Run tests, using the CLI SAPI
2584 cp -pf php_config.h.cli main/php_config.h
2585 cp -pf Makefile.cli Makefile
2587 ./run-tests.sh -w failed.log -s test.log
2589 # collect failed tests into cleanup script used in prep.
2590 sed -ne '/FAILED TEST SUMMARY/,/^===/p' test.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2591 sed -ne '/\[.*\]/{s/\(.*\) \[\(.*\)\]/# \1\nmv \2{,.skip}/p}' tests-failed.log \
2592 >> %{_sourcedir}/skip-tests.sh
2594 failed=$(wc -l < tests-failed.log)
2595 if [ "$failed" != 0 ]; then
2601 rm -rf $RPM_BUILD_ROOT
2602 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2603 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2604 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2605 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2607 cp -pf php_config.h.cli main/php_config.h
2608 cp -pf Makefile.cli Makefile
2610 phpbuilddir=%{_libdir}/%{name}/build \
2611 INSTALL_ROOT=$RPM_BUILD_ROOT
2613 %if %{without default_php}
2614 # version the .phar files
2615 %{__mv} $RPM_BUILD_ROOT%{_bindir}/phar{,%{php_suffix}}.phar
2617 %if %{with alternatives}
2619 %{__rm} $RPM_BUILD_ROOT%{_bindir}/phar
2620 touch $RPM_BUILD_ROOT%{_bindir}/phar
2622 # make link relative
2623 ln -sfn phar%{php_suffix}.phar $RPM_BUILD_ROOT%{_bindir}/phar
2627 v=$(echo %{version} | cut -d. -f1-2)
2629 # install Apache1 DSO module
2631 libtool --mode=install install -p sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2632 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5{,-$v}.so
2633 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache1/mod_php.so
2636 # install Apache2 DSO module
2638 libtool --mode=install install -p sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2639 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp5{,-$v}.so
2640 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache/mod_php.so
2643 # install litespeed sapi
2644 %if %{with litespeed}
2645 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
2648 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2653 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2654 ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
2655 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2660 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir},%{_datadir}/fpm}
2661 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2662 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
2663 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2664 cp -p sapi/fpm/php-fpm.conf-d $RPM_BUILD_ROOT%{_sysconfdir}/fpm.d/www.conf
2665 cp -p sapi/fpm/status.html $RPM_BUILD_ROOT%{_datadir}/fpm
2666 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2667 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2668 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2669 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2670 %if "%{pld_release}" == "ac"
2671 %{__sed} -i -e '/su/d' $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2674 %if %{with alternatives}
2675 # touch for ghost for alternatives
2676 touch $RPM_BUILD_ROOT%{_sbindir}/php-fpm
2680 s#/usr/lib/php#%{php_extensiondir}#
2681 s#/etc/php#%{_sysconfdir}#
2682 s#@processname@#%{name}-fpm#g
2683 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf,%{_sysconfdir}/fpm.d/www.conf}
2686 # install Embedded API
2688 %{__make} -f Makefile.embed install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT
2689 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2690 install -d $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2691 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2695 # versioned suffix is always installed
2696 libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php%{ver_suffix}
2697 cp -p sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php%{ver_suffix}.1
2698 echo ".so php%{ver_suffix}.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.1
2699 ln -sf php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php
2701 # .cli extension is installed only if default php.spec in distro for legacy purposes
2702 %if "%{?php_suffix}" == "" && "%{pld_release}" != "ac"
2703 ln -s php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php.cli
2706 cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2707 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2710 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2711 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2712 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2716 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2717 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2718 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2721 # ensure that paths are correct for current php version and arch
2722 grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
2724 s#/usr/lib/php#%{php_extensiondir}#
2725 s#/etc/php#%{_sysconfdir}#
2728 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2729 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2731 # per SAPI ini directories
2732 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2735 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2737 # use system automake and {lib,sh}tool
2738 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2739 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2740 for fn in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2741 f=%{_aclocaldir}/$fn
2742 test -f $f || continue
2743 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2745 for fn in ltmain.sh config/ltmain.sh build-aux/ltmain.sh; do
2746 f=/usr/share/libtool/$fn
2747 test -f $f || continue
2748 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2751 sed -i -e '/^phpdir/ s,/php/build,/%{name}/build,' $RPM_BUILD_ROOT%{_bindir}/phpize
2753 # for php-pecl-mailparse
2754 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2755 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2758 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2759 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2760 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2762 # fix install paths, avoid evil rpaths
2763 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2765 # libphp5.la contains our buildroot in dependency_libs
2766 sed -i -e "/dependency_libs/ s,/[^ ]*/libs/libphp_common.la,%{_libdir}/libphp_common.la," $RPM_BUILD_ROOT%{_libdir}/libphp5.la
2769 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/%{name}/build/acinclude.m4
2772 rm -rf $RPM_BUILD_ROOT
2774 %post -n apache1-mod_%{name}
2775 if [ "$1" = "1" ]; then
2776 %service -q apache restart
2779 %postun -n apache1-mod_%{name}
2780 if [ "$1" = "0" ]; then
2781 %service -q apache restart
2784 %post -n apache-mod_%{name}
2785 if [ "$1" = "1" ]; then
2786 %service -q httpd restart
2789 %postun -n apache-mod_%{name}
2790 if [ "$1" = "0" ]; then
2791 %service -q httpd restart
2795 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2798 /sbin/chkconfig --add %{name}-fpm
2799 %service %{name}-fpm restart
2800 %if %{with alternatives}
2801 update-alternatives --install %{_sbindir}/php-fpm php-fpm %{_sbindir}/php%{ver_suffix}-fpm %{ver_suffix} || :
2805 if [ "$1" = "0" ]; then
2806 %service %{name}-fpm stop
2807 /sbin/chkconfig --del %{name}-fpm
2808 %if %{with alternatives}
2809 update-alternatives --remove php-fpm %{_sbindir}/php-fpm || :
2814 if [ "$1" = "0" ]; then
2818 %post embedded -p /sbin/ldconfig
2819 %postun embedded -p /sbin/ldconfig
2822 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2823 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2825 . /etc/sysconfig/timezone
2826 if [ "$TIMEZONE" ]; then
2827 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2831 # minimizing apache restarts logics. we restart webserver:
2833 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2834 # 2. first install of extension (post: $1 = 1)
2835 # 2. uninstall of extension (postun: $1 == 0)
2837 # the strict internal deps between extensions (and apache modules) and
2838 # common package are very important for all this to work.
2840 # restart webserver at the end of transaction
2841 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2842 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2844 %triggerpostun common -- php-common < 4:5.3.28-7
2845 # migrate configs /etc/php/conf.d -> /etc/phpXY/conf.d/
2846 # do config migration in php-common trigger, as the trigger is ran after all packages are upgraded
2847 # this way we can stick to one trigger, instead of attaching one for each (sub)package!
2848 for f in /etc/php/*.ini.rpmsave /etc/php/*.d/*.ini.rpmsave; do
2849 test -f "$f" || continue
2853 test "$dn" = "$fn" && dn=
2855 nf=%{_sysconfdir}/$dn/$fn
2856 test -f "$nf" || continue
2857 cp -vfb $nf{,.rpmnew}
2860 s#%{_libdir}/php#%{_libdir}/%{name}#
2861 s#/etc/php#%{_sysconfdir}#
2865 %triggerpostun common -- %{name}-common < 4:5.3.29-7, php-common < 4:5.3.29-7
2866 # switch to browscap package if the ini file has original value
2867 %{__sed} -i -e 's#%{_sysconfdir}/browscap.ini#/usr/share/browscap/php_browscap.ini#' %{_sysconfdir}/php.ini
2868 # disable browscap, if optional package not present
2869 if [ ! -e /usr/share/browscap/php_browscap.ini ]; then
2870 %{__sed} -i -e 's#^browscap = /usr/share/browscap/php_browscap.ini#;&#' %{_sysconfdir}/php.ini
2873 %triggerpostun -n apache1-mod_%{name} -- apache1-mod_%{name} < 4:5.3.29-23
2874 sed -i -e 's#modules/libphp5.so#modules/mod_php.so#g' /etc/apache/conf.d/*_mod_php.conf
2876 %triggerpostun -n apache-mod_%{name} -- apache-mod_%{name} < 4:5.3.29-23
2877 sed -i -e 's#modules/libphp[57].so#modules/mod_php.so#g' /etc/httpd/conf.d/*_mod_php.conf
2879 # common macros called at extension post/postun scriptlet
2881 if [ "$1" = "1" ]; then \
2882 %php_webserver_restart \
2886 %define ext_postun \
2887 if [ "$1" = "0" ]; then \
2888 %php_webserver_restart \
2892 %define extension_scripts() \
2900 # extension scripts defines
2901 %extension_scripts bcmath
2902 %extension_scripts bz2
2903 %extension_scripts calendar
2904 %extension_scripts ctype
2905 %extension_scripts curl
2906 %extension_scripts dba
2907 %extension_scripts dom
2908 %extension_scripts enchant
2909 %extension_scripts exif
2910 %extension_scripts fileinfo
2911 %extension_scripts filter
2912 %extension_scripts ftp
2913 %extension_scripts gd
2914 %extension_scripts gettext
2915 %extension_scripts gmp
2916 %extension_scripts hash
2917 %extension_scripts iconv
2918 %extension_scripts imap
2919 %extension_scripts interbase
2920 %extension_scripts intl
2921 %extension_scripts json
2922 %extension_scripts ldap
2923 %extension_scripts mbstring
2924 %extension_scripts mcrypt
2925 %extension_scripts mssql
2926 %extension_scripts mysql
2927 %extension_scripts mysqli
2928 %extension_scripts mysqlnd
2929 %extension_scripts oci8
2930 %extension_scripts odbc
2931 %extension_scripts openssl
2932 %extension_scripts pcre
2933 %extension_scripts pdo
2934 %extension_scripts pdo-dblib
2935 %extension_scripts pdo-firebird
2936 %extension_scripts pdo-oci
2937 %extension_scripts pdo-mysql
2938 %extension_scripts pdo-odbc
2939 %extension_scripts pdo-pgsql
2940 %extension_scripts pdo-sqlite
2941 %extension_scripts pgsql
2942 %extension_scripts pcntl
2943 %extension_scripts posix
2944 %extension_scripts pspell
2945 %extension_scripts recode
2946 %extension_scripts session
2947 %extension_scripts shmop
2948 %extension_scripts simplexml
2949 %extension_scripts snmp
2950 %extension_scripts soap
2951 %extension_scripts sockets
2952 %extension_scripts spl
2953 %extension_scripts sqlite
2954 %extension_scripts sqlite3
2955 %extension_scripts sybase-ct
2956 %extension_scripts sysvmsg
2957 %extension_scripts sysvsem
2958 %extension_scripts sysvshm
2959 %extension_scripts tidy
2960 %extension_scripts tokenizer
2961 %extension_scripts wddx
2962 %extension_scripts xml
2963 %extension_scripts xmlreader
2964 %extension_scripts xmlrpc
2965 %extension_scripts xmlwriter
2966 %extension_scripts xsl
2967 %extension_scripts zip
2968 %extension_scripts zlib
2972 %if %{with alternatives}
2973 update-alternatives --install %{_bindir}/phar phar %{_bindir}/phar%{ver_suffix}.phar %{ver_suffix} || :
2978 %if %{with alternatives}
2979 if [ $1 -eq 0 ]; then
2980 update-alternatives --remove phar %{_bindir}/phar || :
2985 %files -n apache1-mod_%{name}
2986 %defattr(644,root,root,755)
2987 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2988 %dir %{_sysconfdir}/apache.d
2989 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2990 %attr(755,root,root) %{_libdir}/apache1/mod_php.so
2991 %attr(755,root,root) %{_libdir}/apache1/libphp5-*.*.so
2995 %files -n apache-mod_%{name}
2996 %defattr(644,root,root,755)
2997 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2998 %attr(755,root,root) %{_libdir}/apache/mod_php.so
3000 %files -n apache-mod_%{name}-core
3001 %defattr(644,root,root,755)
3002 %dir %{_sysconfdir}/apache2handler.d
3003 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
3004 %attr(755,root,root) %{_libdir}/apache/libphp5-*.*.so
3007 %if %{with litespeed}
3009 %defattr(644,root,root,755)
3010 %attr(755,root,root) %{_sbindir}/%{name}.litespeed
3015 %defattr(644,root,root,755)
3016 %dir %{_sysconfdir}/cgi-fcgi.d
3017 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
3018 %attr(755,root,root) %{_bindir}/%{name}.cgi
3019 %attr(755,root,root) %{_bindir}/%{name}.fcgi
3024 %defattr(644,root,root,755)
3025 %attr(755,root,root) %{_libdir}/libphp5-%{version}.so
3029 %defattr(644,root,root,755)
3030 %dir %{_sysconfdir}/cli.d
3031 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
3032 %attr(755,root,root) %{_bindir}/php%{ver_suffix}
3033 %{_mandir}/man1/php%{ver_suffix}.1*
3035 # legacy. do we really need it?
3036 %if "%{?php_suffix}" == "" && "%{pld_release}" != "ac"
3037 %attr(755,root,root) %{_bindir}/php.cli
3041 %defattr(644,root,root,755)
3042 %attr(755,root,root) %{_bindir}/php
3043 %{_mandir}/man1/php.1*
3047 %defattr(644,root,root,755)
3048 %doc sapi/fpm/{CREDITS,LICENSE}
3049 %dir %{_sysconfdir}/fpm.d
3050 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
3051 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.d/www.conf
3052 %attr(755,root,root) %{_sbindir}/%{name}-fpm
3053 %if %{with alternatives}
3054 %ghost %{_sbindir}/php-fpm
3056 %{_mandir}/man8/%{name}-fpm.8*
3057 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
3058 %attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
3059 %dir %{_datadir}/fpm
3060 %{_datadir}/fpm/status.html
3064 %defattr(644,root,root,755)
3065 %doc CREDITS EXTENSIONS LICENSE NEWS README.{PHP4-TO-PHP5-THIN-CHANGES,namespaces} TODO* UPGRADING* Zend/{LICENSE.Zend,ZEND_CHANGES} php.ini-*
3067 %dir %{_sysconfdir}/conf.d
3068 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
3069 %attr(755,root,root) %{_libdir}/libphp_common-*.so
3070 %dir %{php_extensiondir}
3072 %doc ext/session/mod_files.sh
3075 %defattr(644,root,root,755)
3076 %doc CODING_STANDARDS README.{EXTENSIONS,EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
3077 %attr(755,root,root) %{_bindir}/phpize
3078 %attr(755,root,root) %{_bindir}/php-config
3079 %attr(755,root,root) %{_libdir}/libphp_common.so
3080 %{_libdir}/libphp_common.la
3082 %{_libdir}/%{name}/build
3083 %{_mandir}/man1/php-config.1*
3084 %{_mandir}/man1/phpize.1*
3087 %{_libdir}/libphp5.so
3088 %{_libdir}/libphp5.la
3092 %defattr(644,root,root,755)
3093 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
3094 %attr(755,root,root) %{php_extensiondir}/bcmath.so
3097 %defattr(644,root,root,755)
3098 %doc ext/bz2/CREDITS
3099 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
3100 %attr(755,root,root) %{php_extensiondir}/bz2.so
3103 %defattr(644,root,root,755)
3104 %doc ext/calendar/CREDITS
3105 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
3106 %attr(755,root,root) %{php_extensiondir}/calendar.so
3109 %defattr(644,root,root,755)
3110 %doc ext/calendar/CREDITS
3111 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
3112 %attr(755,root,root) %{php_extensiondir}/ctype.so
3116 %defattr(644,root,root,755)
3117 %doc ext/curl/CREDITS
3118 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
3119 %attr(755,root,root) %{php_extensiondir}/curl.so
3123 %defattr(644,root,root,755)
3124 %doc ext/dba/{CREDITS,README}
3125 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
3126 %attr(755,root,root) %{php_extensiondir}/dba.so
3129 %defattr(644,root,root,755)
3130 %doc ext/dom/{CREDITS,TODO}
3131 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
3132 %attr(755,root,root) %{php_extensiondir}/dom.so
3136 %defattr(644,root,root,755)
3137 %doc ext/enchant/{CREDITS,docs/examples}
3138 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/enchant.ini
3139 %attr(755,root,root) %{php_extensiondir}/enchant.so
3143 %defattr(644,root,root,755)
3144 %doc ext/exif/CREDITS
3145 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
3146 %attr(755,root,root) %{php_extensiondir}/exif.so
3149 %defattr(644,root,root,755)
3150 %doc ext/fileinfo/CREDITS
3151 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
3152 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
3156 %defattr(644,root,root,755)
3157 %doc ext/filter/{CREDITS,docs/*}
3158 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
3159 %attr(755,root,root) %{php_extensiondir}/filter.so
3163 %defattr(644,root,root,755)
3164 %doc ext/ftp/CREDITS
3165 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
3166 %attr(755,root,root) %{php_extensiondir}/ftp.so
3169 %defattr(644,root,root,755)
3171 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
3172 %attr(755,root,root) %{php_extensiondir}/gd.so
3175 %defattr(644,root,root,755)
3176 %doc ext/gettext/CREDITS
3177 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
3178 %attr(755,root,root) %{php_extensiondir}/gettext.so
3181 %defattr(644,root,root,755)
3182 %doc ext/gmp/{CREDITS,README,TODO}
3183 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
3184 %attr(755,root,root) %{php_extensiondir}/gmp.so
3187 %defattr(644,root,root,755)
3188 %doc ext/hash/{CREDITS,README}
3189 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
3190 %attr(755,root,root) %{php_extensiondir}/hash.so
3193 %defattr(644,root,root,755)
3194 %doc ext/iconv/CREDITS
3195 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
3196 %attr(755,root,root) %{php_extensiondir}/iconv.so
3200 %defattr(644,root,root,755)
3201 %doc ext/imap/CREDITS
3202 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
3203 %attr(755,root,root) %{php_extensiondir}/imap.so
3206 %if %{with interbase}
3208 %defattr(644,root,root,755)
3209 %doc ext/interbase/CREDITS
3210 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
3211 %attr(755,root,root) %{php_extensiondir}/interbase.so
3215 %defattr(644,root,root,755)
3216 %doc ext/intl/{CREDITS,TODO}
3217 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
3218 %attr(755,root,root) %{php_extensiondir}/intl.so
3221 %defattr(644,root,root,755)
3222 %doc ext/json/CREDITS
3223 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
3224 %attr(755,root,root) %{php_extensiondir}/json.so
3228 %defattr(644,root,root,755)
3229 %doc ext/ldap/CREDITS
3230 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
3231 %attr(755,root,root) %{php_extensiondir}/ldap.so
3235 %defattr(644,root,root,755)
3236 %doc ext/mbstring/{CREDITS,README*}
3237 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
3238 %attr(755,root,root) %{php_extensiondir}/mbstring.so
3241 %defattr(644,root,root,755)
3242 %doc ext/mcrypt/{CREDITS,TODO}
3243 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
3244 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
3248 %defattr(644,root,root,755)
3249 %doc ext/mssql/CREDITS
3250 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
3251 %attr(755,root,root) %{php_extensiondir}/mssql.so
3255 %defattr(644,root,root,755)
3256 %doc ext/mysql/CREDITS
3257 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
3258 %attr(755,root,root) %{php_extensiondir}/mysql.so
3262 %defattr(644,root,root,755)
3263 %doc ext/mysqli/{CREDITS,TODO}
3264 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
3265 %attr(755,root,root) %{php_extensiondir}/mysqli.so
3270 %defattr(644,root,root,755)
3271 %doc ext/mysqlnd/CREDITS
3272 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
3273 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
3278 %defattr(644,root,root,755)
3279 %doc ext/oci8/{CREDITS,README}
3280 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
3281 %attr(755,root,root) %{php_extensiondir}/oci8.so
3286 %defattr(644,root,root,755)
3287 %doc ext/odbc/CREDITS
3288 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
3289 %attr(755,root,root) %{php_extensiondir}/odbc.so
3294 %defattr(644,root,root,755)
3295 %doc ext/openssl/{CREDITS,README}
3296 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
3297 %attr(755,root,root) %{php_extensiondir}/openssl.so
3301 %defattr(644,root,root,755)
3302 %doc ext/pcntl/{CREDITS,README}
3303 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
3304 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3308 %defattr(644,root,root,755)
3309 %doc ext/pcre/CREDITS
3310 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
3311 %attr(755,root,root) %{php_extensiondir}/pcre.so
3315 %defattr(644,root,root,755)
3316 %doc ext/pdo/{CREDITS,README,TODO}
3317 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
3318 %attr(755,root,root) %{php_extensiondir}/pdo.so
3320 %if %{with mssql} || %{with sybase_ct}
3322 %defattr(644,root,root,755)
3323 %doc ext/pdo_dblib/{CREDITS,README}
3324 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
3325 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3328 %if %{with interbase} && !%{with interbase_inst}
3330 %defattr(644,root,root,755)
3331 %doc ext/pdo_firebird/CREDITS
3332 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
3333 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3337 %defattr(644,root,root,755)
3338 %doc ext/pdo_mysql/CREDITS
3339 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
3340 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3344 %defattr(644,root,root,755)
3345 %doc ext/pdo_oci/CREDITS
3346 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
3347 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3352 %defattr(644,root,root,755)
3353 %doc ext/pdo_odbc/CREDITS
3354 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3355 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3360 %defattr(644,root,root,755)
3361 %doc ext/pdo_pgsql/CREDITS
3362 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3363 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3366 %if %{with pdo_sqlite}
3368 %defattr(644,root,root,755)
3369 %doc ext/pdo_sqlite/CREDITS
3370 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3371 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3376 %defattr(644,root,root,755)
3377 %doc ext/pgsql/{CREDITS,README}
3378 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3379 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3384 %defattr(644,root,root,755)
3385 %doc ext/phar/{CREDITS,TODO}
3386 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
3387 %attr(755,root,root) %{php_extensiondir}/phar.so
3388 %attr(755,root,root) %{_bindir}/phar%{php_suffix}.phar
3389 %if %{with alternatives}
3390 %ghost %{_bindir}/phar
3392 %attr(755,root,root) %{_bindir}/phar
3397 %defattr(644,root,root,755)
3398 %doc ext/posix/CREDITS
3399 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3400 %attr(755,root,root) %{php_extensiondir}/posix.so
3404 %defattr(644,root,root,755)
3405 %doc ext/pspell/{CREDITS,README}
3406 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3407 %attr(755,root,root) %{php_extensiondir}/pspell.so
3411 %defattr(644,root,root,755)
3412 %doc ext/readline/{CREDITS,README*}
3413 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3414 %attr(755,root,root) %{php_extensiondir}/readline.so
3418 %defattr(644,root,root,755)
3419 %doc ext/recode/CREDITS
3420 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3421 %attr(755,root,root) %{php_extensiondir}/recode.so
3425 %defattr(644,root,root,755)
3426 %doc ext/session/CREDITS
3427 %doc ext/session/mod_files.sh
3428 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3429 %attr(755,root,root) %{php_extensiondir}/session.so
3432 %defattr(644,root,root,755)
3433 %doc ext/shmop/{CREDITS,README}
3434 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3435 %attr(755,root,root) %{php_extensiondir}/shmop.so
3438 %defattr(644,root,root,755)
3439 %doc ext/simplexml/{CREDITS,README}
3440 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3441 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3445 %defattr(644,root,root,755)
3446 %doc ext/snmp/CREDITS
3447 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3448 %attr(755,root,root) %{php_extensiondir}/snmp.so
3452 %defattr(644,root,root,755)
3453 %doc ext/soap/{CREDITS,TODO*}
3454 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3455 %attr(755,root,root) %{php_extensiondir}/soap.so
3458 %defattr(644,root,root,755)
3459 %doc ext/sockets/CREDITS
3460 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3461 %attr(755,root,root) %{php_extensiondir}/sockets.so
3464 %defattr(644,root,root,755)
3465 %doc ext/spl/{CREDITS,README,TODO,examples}
3466 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3467 %attr(755,root,root) %{php_extensiondir}/spl.so
3471 %defattr(644,root,root,755)
3472 %doc ext/sqlite/{README,TODO,CREDITS}
3473 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
3474 %attr(755,root,root) %{php_extensiondir}/sqlite.so
3479 %defattr(644,root,root,755)
3480 %doc ext/sqlite3/CREDITS
3481 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3482 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3485 %if %{with sybase_ct}
3487 %defattr(644,root,root,755)
3488 %doc ext/sybase_ct/CREDITS
3489 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3490 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
3494 %defattr(644,root,root,755)
3495 %doc ext/sysvmsg/CREDITS
3496 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3497 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3500 %defattr(644,root,root,755)
3501 %doc ext/sysvsem/CREDITS
3502 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3503 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3506 %defattr(644,root,root,755)
3507 %doc ext/sysvshm/CREDITS
3508 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3509 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3512 %defattr(644,root,root,755)
3513 %dir %{php_data_dir}/tests/php
3514 %{php_data_dir}/tests/php/basic
3515 %{php_data_dir}/tests/php/classes
3516 %{php_data_dir}/tests/php/func
3517 %{php_data_dir}/tests/php/lang
3518 %{php_data_dir}/tests/php/output
3519 %{php_data_dir}/tests/php/run-test
3520 %{php_data_dir}/tests/php/security
3521 %{php_data_dir}/tests/php/strings
3522 %{php_data_dir}/tests/php/quicktester.inc
3523 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3527 %defattr(644,root,root,755)
3528 %doc ext/tidy/{CREDITS,README}
3529 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3530 %attr(755,root,root) %{php_extensiondir}/tidy.so
3534 %defattr(644,root,root,755)
3535 %doc ext/tokenizer/CREDITS
3536 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3537 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3541 %defattr(644,root,root,755)
3542 %doc ext/wddx/CREDITS
3543 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3544 %attr(755,root,root) %{php_extensiondir}/wddx.so
3548 %defattr(644,root,root,755)
3549 %doc ext/xml/CREDITS
3550 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3551 %attr(755,root,root) %{php_extensiondir}/xml.so
3554 %defattr(644,root,root,755)
3555 %doc ext/xmlreader/{CREDITS,README,TODO,examples}
3556 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3557 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3561 %defattr(644,root,root,755)
3562 %doc ext/xmlrpc/CREDITS
3563 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3564 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3568 %defattr(644,root,root,755)
3569 %doc ext/xmlwriter/{CREDITS,TODO}
3570 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3571 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3574 %defattr(644,root,root,755)
3575 %doc ext/xsl/CREDITS
3576 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3577 %attr(755,root,root) %{php_extensiondir}/xsl.so
3580 %defattr(644,root,root,755)
3581 %doc ext/zip/{CREDITS,TODO}
3582 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3583 %attr(755,root,root) %{php_extensiondir}/zip.so
3586 %defattr(644,root,root,755)
3587 %doc ext/zlib/CREDITS
3588 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3589 %attr(755,root,root) %{php_extensiondir}/zlib.so