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 # Fixes for security bugs
252 # https://repo.webtatic.com/yum/centos/5/SRPMS/repoview/php.html
253 # also from RHEL6/CentOS7
254 Patch220: php-5.3.3-CVE-2011-4153.patch
256 Patch247: php-5.3.3-CVE-2014-2497.patch
258 Patch249: php-5.3.29-CVE-2014-3597.patch
259 Patch250: php-5.3.3-CVE-2014-4698.patch
260 Patch251: php-5.3.3-CVE-2014-4670.patch
261 Patch252: php-5.3.3-CVE-2014-3668.patch
262 Patch253: php-5.3.3-CVE-2014-3669.patch
263 Patch254: php-5.3.3-CVE-2014-3670.patch
265 Patch256: php-5.3.29-CVE-2014-8142.patch
266 Patch257: php-5.3.29-CVE-2015-0231.patch
267 Patch258: php-5.3.29-CVE-2015-0232.patch
268 URL: http://www.php.net/
269 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
270 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
271 BuildRequires: autoconf >= 2.53
272 BuildRequires: automake >= 1.4d
274 BuildRequires: bzip2-devel
275 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
276 BuildRequires: cyrus-sasl-devel
277 BuildRequires: db-devel >= 4.0
278 BuildRequires: elfutils-devel
279 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
281 %{?with_kerberos5:BuildRequires: heimdal-devel}
282 %{?with_system_libzip:BuildRequires: libzip-devel >= 0.10-3}
283 BuildRequires: mysql-devel
284 BuildRequires: pkgconfig
285 BuildRequires: sed >= 4.0
286 %if %{with mssql} || %{with sybase_ct}
287 BuildRequires: freetds-devel >= 0.82
289 BuildRequires: freetype-devel >= 2.0
290 %if %{with system_gd}
291 BuildRequires: gd-devel >= 2.0.28-4
292 BuildRequires: gd-devel(imagerotate) = 5.2.0
294 BuildRequires: gdbm-devel
295 BuildRequires: gmp-devel
296 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
297 BuildRequires: libicu-devel
298 BuildRequires: libjpeg-devel
299 BuildRequires: libltdl-devel >= 1.4
300 BuildRequires: libmcrypt-devel >= 2.4.4
301 BuildRequires: libpng-devel >= 1.0.8
302 %{?with_intl:BuildRequires: libstdc++-devel}
303 %if "%{pld_release}" != "ac"
304 BuildRequires: libtool >= 2:2.4.6
306 BuildRequires: libtool >= 1.4.3
308 BuildRequires: libxml2-devel >= 1:2.7.6-4
309 BuildRequires: libxslt-devel >= 1.1.0
310 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
311 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
312 %if %{with openssl} || %{with ldap}
313 BuildRequires: openssl-devel >= 0.9.7d
315 %{?with_gcov:BuildRequires: lcov}
316 %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
317 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
318 %{?with_oci:%{?with_instantclient:BuildRequires: oracle-instantclient-devel}}
319 BuildRequires: pam-devel
320 %{?with_pcre:BuildRequires: pcre-devel >= 8.10}
321 BuildRequires: pkgconfig
322 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
323 %{?with_pgsql:BuildRequires: postgresql-devel}
324 BuildRequires: readline-devel
325 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
326 BuildRequires: rpm >= 4.4.9-56
327 BuildRequires: rpm-build >= 4.4.0
328 BuildRequires: rpmbuild(macros) >= 1.566
329 %{?with_sqlite2:BuildRequires: sqlite-devel}
330 %if %{with sqlite3} || %{with pdo_sqlite}
331 BuildRequires: sqlite3-devel >= 3.3.9
333 BuildRequires: t1lib-devel
334 %{?with_tidy:BuildRequires: tidy-devel}
335 %{?with_odbc:BuildRequires: unixODBC-devel}
336 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
337 BuildRequires: zlib-devel >= 1.0.9
339 BuildRequires: apache1-devel
342 BuildRequires: apache-devel >= 2.0.52-2
343 BuildRequires: apr-devel >= 1:1.0.0
344 BuildRequires: apr-util-devel >= 1:1.0.0
346 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
348 %define php_sysconfdir /etc/%{name}
349 %define php_extensiondir %{_libdir}/%{name}
350 %define _sysconfdir %{php_sysconfdir}
352 # must be in sync with source. extra check ensuring that it is so is done in %%build
353 %define php_api_version 20090626
354 %define zend_module_api 20090626
355 %define zend_extension_api 220090626
359 %define enchantver 1.1.0
360 %define fileinfover 1.0.5-dev
362 %define intlver 1.1.0
363 %define jsonver 1.2.1
364 %define pharver 2.0.1
365 %define sqlitever 2.0-dev
366 %define sqlite3ver 0.7-dev
367 %define zipver 1.11.0
369 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
370 %define php_debug %{!?with_debug:0}%{?with_debug:1}
373 %undefine with_ccache
377 # ORACLE_HOME is required for oci8 ext to build
378 %define _preserve_env %_preserve_env_base ORACLE_HOME
382 PHP is an HTML-embedded scripting language. PHP attempts to make it
383 easy for developers to write dynamically generated web pages. PHP also
384 offers built-in database integration for several commercial and
385 non-commercial database management systems, so writing a
386 database-enabled web page with PHP is fairly simple. The most common
387 use of PHP coding is probably as a replacement for CGI scripts. The
388 mod_php module enables the Apache web server to understand and process
389 the embedded PHP language in web pages. This package contains PHP
392 %{?with_suhosin:This version is built with Suhosin-Patch for PHP.}
394 %description -l fr.UTF-8
395 PHP est un langage de script embarque dans le HTM. PHP essaye de
396 rendre simple aux developpeurs d'ecrire des pages web generees
397 dynamiquement. PHP incorpore egalement une integration avec plusieurs
398 systemes de gestion de bases de donnees commerciaux et
399 non-connerciaux, qui rent facile la creation de pages web liees avec
400 des bases de donnees. L'utilisation la plus commune de PHP est
401 probablement en remplacement de scripts CGI. Le module mod_php permet
402 au serveur web Apache de comprendre et de traiter le langage PHP
403 integre dans des pages web. Ce package contient PHP version
406 %description -l pl.UTF-8
407 PHP jest językiem skryptowym, którego polecenia umieszcza się w
408 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
409 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
410 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
411 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
412 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
413 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
414 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
417 %description -l pt_BR.UTF-8
418 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
419 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
420 com algumas características únicas, específicas ao PHP. O objetivo da
421 linguagem é permitir que desenvolvedores web escrevam páginas
422 dinamicamente geradas de forma rápida.
424 %description -l ru.UTF-8
425 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
426 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
427 для работы с базами данных относительно просто. Наиболее популярное
428 использование PHP - замена для CGI скриптов.
430 %description -l uk.UTF-8
431 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
432 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
433 роботи з базами даних є доволі простим. Найбільш популярне
434 використання PHP - заміна для CGI скриптів.
436 %package -n apache1-mod_%{name}
437 Summary: PHP DSO module for Apache 1.3.x
438 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x
439 Group: Development/Languages/PHP
440 Requires: %{name}-common = %{epoch}:%{version}-%{release}
441 Requires: apache1(EAPI) >= 1.3.33-2
442 Requires: apache1-mod_mime
443 Provides: webserver(php) = %{version}
444 Obsoletes: apache-mod_php < 1:4.1.1
445 Obsoletes: apache1-mod_php < 4:5.3.28-7
448 %description -n apache1-mod_%{name}
449 PHP as DSO module for Apache 1.3.x.
451 %description -n apache1-mod_%{name} -l pl.UTF-8
452 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x.
454 %package -n apache-mod_%{name}
455 Summary: PHP support for Apache 2.x
456 Summary(pl.UTF-8): Wsparcie PHP dla Apache 2.x
457 Group: Development/Languages/PHP
458 Requires: apache-mod_%{name}-core = %{epoch}:%{version}-%{release}
459 Requires: %{name}-common = %{epoch}:%{version}-%{release}
460 Provides: webserver(php) = %{version}
461 Obsoletes: apache-mod_php < 4:5.3.28-7
464 %description -n apache-mod_%{name}
465 PHP support for Apache 2.x.
467 %description -n apache-mod_%{name} -l pl.UTF-8
468 Wsparcie PHP dla Apache 2.x.
470 %package -n apache-mod_%{name}-core
471 Summary: PHP DSO module for Apache 2.x
472 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
473 Group: Development/Languages/PHP
474 Requires: %{name}-common = %{epoch}:%{version}-%{release}
475 Requires: apache(modules-api) = %{apache_modules_api}
476 Requires: apache-mod_mime
478 %description -n apache-mod_%{name}-core
479 PHP as DSO module for Apache 2.x.
481 %description -n apache-mod_%{name}-core -l pl.UTF-8
482 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
485 Summary: PHP for litespeed HTTP server
486 Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
487 Group: Development/Languages/PHP
488 Requires: %{name}-common = %{epoch}:%{version}-%{release}
489 Provides: php(litespeed)
490 Provides: webserver(php) = %{version}
491 Obsoletes: php-litespeed < 4:5.3.28-7
493 %description litespeed
494 PHP for litespeed HTTP server.
496 %description litespeed -l pl.UTF-8
497 PHP dla serwera HTTP litespeed.
500 Summary: PHP as CGI/FastCGI program
501 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
502 Group: Development/Languages/PHP
503 Requires: %{name}-common = %{epoch}:%{version}-%{release}
504 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
507 Provides: webserver(php) = %{version}
508 Obsoletes: php-cgi < 4:5.3.28-7
509 Obsoletes: php-fcgi < 4:5.3.0
512 PHP as CGI or FastCGI program.
514 %description cgi -l pl.UTF-8
515 PHP jako program CGI lub FastCGI.
518 Summary: PHP as CLI interpreter
519 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
520 Group: Development/Languages/PHP
521 Requires: %{name}-common = %{epoch}:%{version}-%{release}
522 Obsoletes: php-cli < 4:5.3.28-7
525 PHP as CLI interpreter.
527 %description cli -l pl.UTF-8
528 PHP jako interpreter działający z linii poleceń.
531 Summary: PHP library for embedding in applications
532 Summary(pl.UTF-8): Biblioteka PHP do osadzania w aplikacjach
534 Requires: %{name}-common = %{epoch}:%{version}-%{release}
535 Obsoletes: php-embedded < 4:5.3.28-7
537 %description embedded
538 The php-embedded package contains a library which can be embedded into
539 applications to provide PHP scripting language support.
541 %description embedded -l pl.UTF-8
542 Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
543 celu obsługi PHP jako języka skryptowego.
546 Summary: /usr/bin/php symlink
547 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
548 Group: Development/Languages/PHP
549 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
550 Obsoletes: /usr/bin/php
551 Obsoletes: php-program < 4:5.3.28-7
554 Package providing /usr/bin/php symlink to PHP CLI.
556 %description program -l pl.UTF-8
557 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
560 Summary: PHP FastCGI Process Manager
561 Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
562 Group: Development/Languages/PHP
563 URL: http://www.php-fpm.org/
564 Requires(post,preun): /sbin/chkconfig
565 Requires(postun): /usr/sbin/userdel
566 Requires(pre): /bin/id
567 Requires(pre): /usr/sbin/useradd
568 Requires: %{name}-common = %{epoch}:%{version}-%{release}
569 %{?with_alternatives:Requires: alternatives}
570 Requires: php-dirs >= 1.4-2
575 Provides: webserver(php) = %{version}
576 Obsoletes: php-fpm < 4:5.3.28-7
577 %if "%{pld_release}" != "ac"
578 Conflicts: logrotate < 3.8.0
582 PHP FastCGI Process Manager.
584 %description fpm -l pl.UTF-8
585 PHP FastCGI Process Manager - zarządca procesów FastCGI.
588 Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
589 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
590 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
591 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
593 Requires(post): sed >= 4.0
594 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
595 Requires: glibc >= 6:2.3.5
596 Requires: php-dirs >= 1.4
597 Requires: rpm-whiteout >= 1.28
599 %if "%{pld_release}" == "ac"
600 # postpone tree rebuild in ac
601 Provides: php5(debug) = %{php_debug}
602 Provides: php5(thread-safety) = %{zend_zts}
604 Provides: %{name}(debug) = %{php_debug}
605 Provides: %{name}(modules_api) = %{php_api_version}
606 Provides: %{name}(thread-safety) = %{zend_zts}
607 Provides: %{name}(zend_extension_api) = %{zend_extension_api}
608 Provides: %{name}(zend_module_api) = %{zend_module_api}
609 Provides: %{name}-core
610 Provides: %{name}-date
611 Provides: %{name}-ereg
612 Provides: %{name}-reflection
613 Provides: %{name}-standard
614 Provides: php(core) = %{version}
617 Provides: php(libxml)
618 Provides: php(reflection)
619 Provides: php(standard)
620 %{!?with_mysqlnd:Obsoletes: php-mysqlnd}
621 %{?with_pcre:%requires_ge_to pcre pcre-devel}
623 Obsoletes: php-common < 4:5.3.28-7
624 Obsoletes: php-pecl-domxml
625 Conflicts: php4-common < 3:4.4.4-8
626 Conflicts: rpm < 4.4.2-0.2
629 Common files needed by both Apache modules and CGI/CLI SAPIs.
631 %description common -l pl.UTF-8
632 Wspólne pliki dla modułu Apache'a i programu CGI.
634 %description common -l ru.UTF-8
635 Этот пакет содержит общие файлы для разных вариантов реализации PHP
636 (самодостаточной и в качестве модуля Apache).
638 %description common -l uk.UTF-8
639 Цей пакет містить спільні файли для різних варіантів реалізації PHP
640 (самодостатньої та в якості модуля Apache).
643 Summary: Files for PHP modules development
644 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
645 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
646 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
647 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
648 Group: Development/Languages/PHP
649 Requires: %{name}-common = %{epoch}:%{version}-%{release}
650 Requires: autoconf >= 2.13
652 %if "%{pld_release}" != "ac"
653 Requires: libtool >= 2:2.4.6
657 %{?with_embed:Requires: %{name}-embedded = %{epoch}:%{version}-%{release}}
658 %{?with_pcre:Requires: pcre-devel >= 8.10}
660 Provides: php-devel = %{epoch}:%{version}-%{release}
662 Obsoletes: php-pear-devel
663 Obsoletes: php4-devel
664 Obsoletes: php52-devel
665 Obsoletes: php54-devel
666 Obsoletes: php55-devel
667 Obsoletes: php56-devel
668 Obsoletes: php70-devel
669 Obsoletes: php71-devel
670 Obsoletes: php72-devel
673 The php-devel package lets you compile dynamic extensions to PHP.
674 Included here is the source for the PHP extensions. Instead of
675 recompiling the whole PHP binary to add support for, say, oracle,
676 install this package and use the new self-contained extensions
677 support. For more information, read the file
678 README.SELF-CONTAINED-EXTENSIONS.
680 %description devel -l pl.UTF-8
681 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
682 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
683 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
684 samodzielnych rozszerzeniach można znaleźć w pliku
685 README.SELF-CONTAINED-EXTENSIONS.
687 %description devel -l pt_BR.UTF-8
688 Este pacote contém arquivos usados no desenvolvimento de programas ou
691 %description devel -l ru.UTF-8
692 Пакет php-devel дает возможность компилировать динамические расширения
693 PHP. Пакет включает исходный код этих расширений. Вместо повторной
694 компиляции бинарного файла PHP для добавления, например, поддержки
695 oracle, установите этот пакет для компилирования отдельных расширений.
696 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
698 %description devel -l uk.UTF-8
699 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
700 До пакету включено вихідний код для розширень. Замість повторної
701 компіляції бінарного файлу PHP для додання, наприклад, підтримки
702 oracle, встановіть цей пакет для компіляції окремих розширень.
703 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
706 Summary: bcmath extension module for PHP
707 Summary(pl.UTF-8): Moduł bcmath dla PHP
709 URL: http://www.php.net/manual/en/book.bc.php
710 Requires: %{name}-common = %{epoch}:%{version}-%{release}
711 Provides: php(bcmath)
712 Obsoletes: php-bcmath < 4:5.3.28-7
715 This is a dynamic shared object (DSO) for PHP that will add bc style
716 precision math functions support.
718 %description bcmath -l pl.UTF-8
719 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
720 matematycznych takich jak w programie bc.
723 Summary: Bzip2 extension module for PHP
724 Summary(pl.UTF-8): Moduł bzip2 dla PHP
726 URL: http://www.php.net/manual/en/book.bzip2.php
727 Requires: %{name}-common = %{epoch}:%{version}-%{release}
728 Provides: php(bz2) = %{bz2ver}
730 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
731 Obsoletes: php-bz2 < 4:5.3.28-7
732 Obsoletes: php-bzip2 < 4:5.2.14-3
733 Obsoletes: php-pecl-bz2 < %{bz2ver}
736 This is a dynamic shared object (DSO) for PHP that will add bzip2
737 compression support to PHP.
739 %description bz2 -l pl.UTF-8
740 Moduł PHP umożliwiający używanie kompresji bzip2.
743 Summary: Calendar extension module for PHP
744 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
746 URL: http://www.php.net/manual/en/book.calendar.php
747 Requires: %{name}-common = %{epoch}:%{version}-%{release}
748 Provides: php(calendar)
749 Obsoletes: php-calendar < 4:5.3.28-7
751 %description calendar
752 This is a dynamic shared object (DSO) for PHP that will add calendar
755 %description calendar -l pl.UTF-8
756 Moduł PHP dodający wsparcie dla kalendarza.
759 Summary: ctype extension module for PHP
760 Summary(pl.UTF-8): Moduł ctype dla PHP
762 URL: http://www.php.net/manual/en/book.ctype.php
763 Requires: %{name}-common = %{epoch}:%{version}-%{release}
765 Obsoletes: php-ctype < 4:5.3.28-7
768 This is a dynamic shared object (DSO) for PHP that will add ctype
771 %description ctype -l pl.UTF-8
772 Moduł PHP umożliwiający korzystanie z funkcji ctype.
775 Summary: curl extension module for PHP
776 Summary(pl.UTF-8): Moduł curl dla PHP
778 URL: http://www.php.net/manual/en/book.curl.php
779 Requires: %{name}-common = %{epoch}:%{version}-%{release}
781 Obsoletes: php-curl < 4:5.3.28-7
784 This is a dynamic shared object (DSO) for PHP that will add curl
787 %description curl -l pl.UTF-8
788 Moduł PHP umożliwiający korzystanie z biblioteki curl.
791 Summary: DBA extension module for PHP
792 Summary(pl.UTF-8): Moduł DBA dla PHP
794 URL: http://www.php.net/manual/en/book.dba.php
795 Requires: %{name}-common = %{epoch}:%{version}-%{release}
797 Obsoletes: php-dba < 4:5.3.28-7
800 This is a dynamic shared object (DSO) for PHP that will add flat-file
801 databases (DBA) support.
803 %description dba -l pl.UTF-8
804 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
808 Summary: DOM extension module for PHP
809 Summary(pl.UTF-8): Moduł DOM dla PHP
811 URL: http://www.php.net/manual/en/book.dom.php
812 Requires: %{name}-common = %{epoch}:%{version}-%{release}
814 # it has some compatibility functions
815 Provides: %{name}-domxml = %{epoch}:%{version}-%{release}
816 Provides: php(domxml)
817 Obsoletes: php-dom < 4:5.3.28-7
818 Obsoletes: php-domxml <= 3:4.3.8-1
821 This is a dynamic shared object (DSO) for PHP that will add new DOM
824 %description dom -l pl.UTF-8
825 Moduł PHP dodający nową obsługę DOM.
828 Summary: libenchant binder
829 Summary(pl.UTF-8): dowiązania biblioteki libenchant
831 URL: http://www.php.net/manual/en/book.exif.php
832 Requires: %{name}-common = %{epoch}:%{version}-%{release}
833 Provides: php(enchant) = %{enchantver}
834 Obsoletes: php-enchant < 4:5.3.28-7
835 Obsoletes: php-pecl-enchant < %{enchantver}
838 Enchant is a binder for libenchant. Libenchant provides a common API
839 for many spell libraries:
840 - aspell/pspell (intended to replace ispell)
843 - myspell (OpenOffice.org project, mozilla)
844 - uspell (primarily Yiddish, Hebrew, and Eastern European languages) A
845 plugin system allows to add custom spell support.
847 %description enchant -l pl.UTF-8
848 Enchant jest dowiązaniem do biblioteki libenchant, która udostępnia
849 ujednolicone API dla wielu narzędzi sprawdzających pisownię:
850 - aspell/pspell (w zamierzeniu ma zastąpić ispell)
853 - myspell (projekt OpenOffice.org, mozilla)
854 - uspell (głównie Jidysz, Hebrajski oraz języki wschodnioeuropejskie)
855 System wtyczek pozwala na dodanie wsparcia dla kolejnych narzędzi.
858 Summary: exif extension module for PHP
859 Summary(pl.UTF-8): Moduł exif dla PHP
861 URL: http://www.php.net/manual/en/book.exif.php
862 Requires: %{name}-common = %{epoch}:%{version}-%{release}
864 Obsoletes: php-exif < 4:5.3.28-7
867 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
868 support in image files.
870 %description exif -l pl.UTF-8
871 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
874 Summary: libmagic bindings
875 Summary(pl.UTF-8): Wiązania do libmagic
877 URL: http://www.php.net/manual/en/book.fileinfo.php
878 Requires: %{name}-common = %{epoch}:%{version}-%{release}
879 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
880 Provides: php(fileinfo) = %{fileinfover}
881 Obsoletes: php-fileinfo < 4:5.3.28-7
882 Obsoletes: php-mime_magic
883 Obsoletes: php-pecl-fileinfo < %{fileinfover}
885 %description fileinfo
886 This extension allows retrieval of information regarding vast majority
887 of file. This information may include dimensions, quality, length
890 Additionally it can also be used to retrieve the MIME type for a
891 particular file and for text files proper language encoding.
893 %description fileinfo -l pl.UTF-8
894 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
895 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
897 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
898 pliku oraz kodowania plików tekstowych.
901 Summary: Extension for safely dealing with input parameters
902 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
904 URL: http://www.php.net/manual/en/book.filter.php
905 Requires: %{name}-common = %{epoch}:%{version}-%{release}
906 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
907 Provides: php(filter)
908 Obsoletes: php-filter < 4:5.3.28-7
909 Obsoletes: php-pecl-filter
912 We all know that you should always check input variables, but PHP does
913 not offer really good functionality for doing this in a safe way. The
914 Input Filter extension is meant to address this issue by implementing
915 a set of filters and mechanisms that users can use to safely access
918 %description filter -l pl.UTF-8
919 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
920 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
921 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
922 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
923 mogą bezpiecznie używać do dostępu do danych.
926 Summary: FTP extension module for PHP
927 Summary(pl.UTF-8): Moduł FTP dla PHP
929 URL: http://www.php.net/manual/en/book.ftp.php
930 Requires: %{name}-common = %{epoch}:%{version}-%{release}
932 Obsoletes: php-ftp < 4:5.3.28-7
935 This is a dynamic shared object (DSO) for PHP that will add FTP
938 %description ftp -l pl.UTF-8
939 Moduł PHP dodający obsługę protokołu FTP.
942 Summary: GD extension module for PHP
943 Summary(pl.UTF-8): Moduł GD dla PHP
945 URL: http://www.php.net/manual/en/book.image.php
946 Requires: %{name}-common = %{epoch}:%{version}-%{release}
947 %if %{with system_gd}
948 Requires: gd >= 2.0.28-4
950 Requires: gd(imagerotate) = 5.2.0
953 Obsoletes: php-gd < 4:5.3.28-7
956 This is a dynamic shared object (DSO) for PHP that will add GD
957 support, allowing you to create and manipulate images with PHP.
959 %description gd -l pl.UTF-8
960 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
961 tworzenie i obróbkę obrazków.
964 Summary: gettext extension module for PHP
965 Summary(pl.UTF-8): Moduł gettext dla PHP
967 URL: http://www.php.net/manual/en/book.gettext.php
968 Requires: %{name}-common = %{epoch}:%{version}-%{release}
969 Provides: php(gettext)
970 Obsoletes: php-gettext < 4:5.3.28-7
973 This is a dynamic shared object (DSO) for PHP that will add gettext
976 %description gettext -l pl.UTF-8
977 Moduł PHP dodający obsługę lokalizacji przez gettext.
980 Summary: gmp extension module for PHP
981 Summary(pl.UTF-8): Moduł gmp dla PHP
983 URL: http://www.php.net/manual/en/book.gmp.php
984 Requires: %{name}-common = %{epoch}:%{version}-%{release}
986 Obsoletes: php-gmp < 4:5.3.28-7
989 This is a dynamic shared object (DSO) for PHP that will add arbitrary
990 length number support with GNU MP library.
992 %description gmp -l pl.UTF-8
993 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
994 liczbach o dowolnej długości.
997 Summary: HASH Message Digest Framework
998 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
1000 URL: http://www.php.net/manual/en/book.gmp.php
1001 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1002 Provides: php(hash) = %{hashver}
1004 Provides: php(mhash)
1005 Provides: php-mhash = %{epoch}:%{version}-%{release}
1006 Obsoletes: php-mhash < 4:5.3.0
1008 Obsoletes: php-hash < 4:5.3.28-7
1009 Obsoletes: php-pecl-hash < %{hashver}
1012 Native implementations of common message digest algorithms using a
1013 generic factory method.
1015 %description hash -l pl.UTF-8
1016 Natywne implementacje popularnych algorytmów obliczania skrótów
1017 wiadomości przy użyciu wspólnego interfejsu.
1020 Summary: iconv extension module for PHP
1021 Summary(pl.UTF-8): Moduł iconv dla PHP
1023 URL: http://www.php.net/manual/en/book.iconv.php
1024 Requires: %{_libdir}/gconv
1025 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1027 Provides: php(iconv)
1028 Obsoletes: php-iconv < 4:5.3.28-7
1031 This is a dynamic shared object (DSO) for PHP that will add iconv
1034 %description iconv -l pl.UTF-8
1035 Moduł PHP dodający obsługę iconv.
1038 Summary: IMAP extension module for PHP
1039 Summary(pl.UTF-8): Moduł IMAP dla PHP
1040 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
1042 URL: http://www.php.net/manual/en/book.imap.php
1043 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1044 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1045 Requires: imap-lib >= 1:2007e-2
1047 Obsoletes: php-imap < 4:5.3.28-7
1050 This is a dynamic shared object (DSO) for PHP that will add IMAP
1053 %description imap -l pl.UTF-8
1054 Moduł PHP dodający obsługę skrzynek IMAP.
1056 %description imap -l pt_BR.UTF-8
1057 Um módulo para aplicações PHP que usam IMAP.
1060 Summary: InterBase/Firebird database module for PHP
1061 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
1063 URL: http://www.php.net/manual/en/book.ibase.php
1064 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1065 Provides: php(interbase)
1066 %{?with_interbase_inst:Autoreq: false}
1067 Obsoletes: php-interbase < 4:5.3.28-7
1069 %description interbase
1070 This is a dynamic shared object (DSO) for PHP that will add InterBase
1071 and Firebird database support.
1073 %description interbase -l pl.UTF-8
1074 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
1077 Summary: Internationalization extension (ICU wrapper)
1078 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
1080 URL: http://www.php.net/intl
1081 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1082 Provides: php(intl) = %{intlver}
1083 Obsoletes: php-intl < 4:5.3.28-7
1084 Obsoletes: php-pecl-intl < %{intlver}
1087 Internationalization extension (further is referred as Intl) is a
1088 wrapper for ICU library, enabling PHP programmers to perform
1089 UCA-conformant collation and date/time/number/currency formatting in
1092 %description intl -l pl.UTF-8
1093 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
1094 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
1095 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
1099 Summary: PHP C extension for JSON serialization
1100 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
1102 URL: http://www.php.net/manual/en/book.json.php
1103 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1104 Provides: php(json) = %{jsonver}
1105 Obsoletes: php-json < 4:5.3.28-7
1106 Obsoletes: php-pecl-json < %{jsonver}
1109 php-json is an extremely fast PHP C extension for JSON (JavaScript
1110 Object Notation) serialisation.
1112 %description json -l pl.UTF-8
1113 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
1114 (JavaScript Object Notation).
1117 Summary: LDAP extension module for PHP
1118 Summary(pl.UTF-8): Moduł LDAP dla PHP
1119 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
1121 URL: http://www.php.net/manual/en/book.ldap.php
1122 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1124 Obsoletes: php-ldap < 4:5.3.28-7
1127 This is a dynamic shared object (DSO) for PHP that will add LDAP
1130 %description ldap -l pl.UTF-8
1131 Moduł PHP dodający obsługę LDAP.
1133 %description ldap -l pt_BR.UTF-8
1134 Um módulo para aplicações PHP que usam LDAP.
1137 Summary: mbstring extension module for PHP
1138 Summary(pl.UTF-8): Moduł mbstring dla PHP
1140 URL: http://www.php.net/manual/en/book.mbstring.php
1141 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1142 Provides: php(mbstring)
1143 Obsoletes: php-mbstring < 4:5.3.28-7
1145 %description mbstring
1146 This is a dynamic shared object (DSO) for PHP that will add multibyte
1149 %description mbstring -l pl.UTF-8
1150 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1153 Summary: mcrypt extension module for PHP
1154 Summary(pl.UTF-8): Moduł mcrypt dla PHP
1156 URL: http://www.php.net/manual/en/book.mcrypt.php
1157 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1158 Provides: php(mcrypt)
1159 Obsoletes: php-mcrypt < 4:5.3.28-7
1162 This is a dynamic shared object (DSO) for PHP that will add mcrypt
1165 %description mcrypt -l pl.UTF-8
1166 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
1169 Summary: MS SQL extension module for PHP
1170 Summary(pl.UTF-8): Moduł MS SQL dla PHP
1172 URL: http://www.php.net/manual/en/book.mssql.php
1173 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1174 Provides: php(mssql)
1175 Obsoletes: php-mssql < 4:5.3.28-7
1178 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1179 databases support through FreeTDS library.
1181 %description mssql -l pl.UTF-8
1182 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
1186 Summary: MySQL database module for PHP
1187 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
1188 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
1190 URL: http://www.php.net/manual/en/book.mysql.php
1191 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1192 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1193 Provides: php(mysql)
1194 Obsoletes: php-mysql < 4:5.3.28-7
1197 This is a dynamic shared object (DSO) for PHP that will add MySQL
1200 %description mysql -l pl.UTF-8
1201 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
1203 %description mysql -l pt_BR.UTF-8
1204 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1207 Summary: MySQLi module for PHP
1208 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1210 URL: http://www.php.net/manual/en/book.mysqli.php
1211 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1212 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1213 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1214 Provides: php(mysqli)
1215 Obsoletes: php-mysqli < 4:5.3.28-7
1218 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1219 (Improved MySQL) support. The difference between it and mysql module
1220 is that it provides access to functionality of MySQL 4.1 and above.
1222 %description mysqli -l pl.UTF-8
1223 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1224 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1225 MySQL w wersji 4.1 i nowszych.
1228 Summary: MySQL Native Client Driver for PHP
1229 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1231 URL: http://www.php.net/manual/en/book.mysqlnd.php
1232 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1233 Provides: php(mysqlnd)
1234 Obsoletes: php-mysqlnd < 4:5.3.28-7
1236 %description mysqlnd
1237 MySQL Native Driver is a replacement for the MySQL Client Library
1240 Because MySQL Native Driver is written as a PHP extension, it is
1241 tightly coupled to the workings of PHP. This leads to gains in
1242 efficiency, especially when it comes to memory usage, as the driver
1243 uses the PHP memory management system. It also supports the PHP memory
1244 limit. Using MySQL Native Driver leads to comparable or better
1245 performance than using MySQL Client Library, it always ensures the
1246 most efficient use of memory. One example of the memory efficiency is
1247 the fact that when using the MySQL Client Library, each row is stored
1248 in memory twice, whereas with the MySQL Native Driver each row is only
1249 stored once in memory.
1251 %description mysqlnd -l pl.UTF-8
1252 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1253 klienckiej MySQL (libmysql).
1255 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1256 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1257 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1258 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1259 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1260 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1261 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1262 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1263 tym sterowniku - tylko raz.
1266 Summary: Oracle 8+ database module for PHP
1267 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1269 URL: http://www.php.net/manual/en/book.oci8.php
1270 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1272 Obsoletes: php-oci8 < 4:5.3.28-7
1276 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1277 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1279 %description oci8 -l pl.UTF-8
1280 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1281 poprzez interfejs Oracle8 Call-Interface (OCI8).
1284 Summary: ODBC extension module for PHP
1285 Summary(pl.UTF-8): Moduł ODBC dla PHP
1286 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1288 URL: http://www.php.net/manual/en/book.uodbc.php
1289 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1290 Requires: unixODBC >= 2.1.1-3
1292 Obsoletes: php-odbc < 4:5.3.28-7
1295 This is a dynamic shared object (DSO) for PHP that will add ODBC
1298 %description odbc -l pl.UTF-8
1299 Moduł PHP ze wsparciem dla ODBC.
1301 %description odbc -l pt_BR.UTF-8
1302 Um módulo para aplicações PHP que usam ODBC.
1305 Summary: OpenSSL extension module for PHP
1306 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1308 URL: http://www.php.net/manual/en/book.openssl.php
1309 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1310 Provides: php(openssl)
1311 Obsoletes: php-openssl < 4:5.3.28-7
1313 %description openssl
1314 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1317 %description openssl -l pl.UTF-8
1318 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1321 Summary: Process Control extension module for PHP
1322 Summary(pl.UTF-8): Moduł Process Control dla PHP
1324 URL: http://www.php.net/manual/en/book.pcntl.php
1325 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1326 Provides: php(pcntl)
1327 Obsoletes: php-pcntl < 4:5.3.28-7
1330 This is a dynamic shared object (DSO) for PHP that will add process
1331 spawning and control support. It supports functions like fork(),
1332 waitpid(), signal() etc.
1334 %description pcntl -l pl.UTF-8
1335 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1336 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1339 Summary: PCRE extension module for PHP
1340 Summary(pl.UTF-8): Moduł PCRE dla PHP
1342 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1344 Obsoletes: php-pcre < 4:5.3.28-7
1347 This is a dynamic shared object (DSO) for PHP that will add Perl
1348 Compatible Regular Expression support.
1350 %description pcre -l pl.UTF-8
1351 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1352 (Perl Compatible Regular Expressions)
1355 Summary: PHP Data Objects (PDO)
1356 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1358 URL: http://www.php.net/manual/en/book.pdo.php
1359 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1360 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1362 Obsoletes: php-pdo < 4:5.3.28-7
1363 Obsoletes: php-pecl-PDO
1366 This is a dynamic shared object (DSO) for PHP that will add PDO
1369 %description pdo -l pl.UTF-8
1370 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1373 Summary: PHP Data Objects (PDO) FreeTDS support
1374 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1376 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1377 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1378 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1379 Provides: php(pdo_dblib)
1380 Obsoletes: php-pdo-dblib < 4:5.3.28-7
1382 %description pdo-dblib
1383 This is a dynamic shared object (DSO) for PHP that will add PDO
1386 %description pdo-dblib -l pl.UTF-8
1387 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1390 %package pdo-firebird
1391 Summary: PHP Data Objects (PDO) Firebird support
1392 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1394 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1395 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1396 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1397 Provides: php(pdo-firebird)
1398 Provides: php(pdo_firebird)
1399 Obsoletes: php-pdo-firebird < 4:5.3.28-7
1400 Obsoletes: php-pecl-PDO_FIREBIRD
1402 %description pdo-firebird
1403 This is a dynamic shared object (DSO) for PHP that will add PDO
1406 %description pdo-firebird -l pl.UTF-8
1407 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1411 Summary: PHP Data Objects (PDO) MySQL support
1412 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1414 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1415 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1416 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1417 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1418 Provides: php(pdo-mysql)
1419 Provides: php(pdo_mysql)
1420 Obsoletes: php-pdo-mysql < 4:5.3.28-7
1421 Obsoletes: php-pecl-PDO_MYSQL
1423 %description pdo-mysql
1424 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1427 %description pdo-mysql -l pl.UTF-8
1428 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1432 Summary: PHP Data Objects (PDO) Oracle support
1433 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1435 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1436 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1437 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1438 Provides: php(pdo-oci)
1439 Provides: php(pdo_oci)
1440 Obsoletes: php-pdo-oci < 4:5.3.28-7
1441 Obsoletes: php-pecl-PDO_OCI
1443 %description pdo-oci
1444 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1447 %description pdo-oci -l pl.UTF-8
1448 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1452 Summary: PHP Data Objects (PDO) ODBC support
1453 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1455 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1456 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1457 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1458 Provides: php(pdo-odbc)
1459 Provides: php(pdo_odbc)
1460 Obsoletes: php-pdo-odbc < 4:5.3.28-7
1461 Obsoletes: php-pecl-PDO_ODBC
1463 %description pdo-odbc
1464 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1467 %description pdo-odbc -l pl.UTF-8
1468 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1472 Summary: PHP Data Objects (PDO) PostgreSQL support
1473 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1475 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1476 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1477 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1478 Provides: php(pdo-pgsql)
1479 Provides: php(pdo_pgsql)
1480 Obsoletes: php-pdo-pgsql < 4:5.3.28-7
1481 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1483 %description pdo-pgsql
1484 This is a dynamic shared object (DSO) for PHP that will add PDO
1487 %description pdo-pgsql -l pl.UTF-8
1488 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1492 Summary: PHP Data Objects (PDO) SQLite support
1493 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1495 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1496 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1497 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1498 Provides: php(pdo-sqlite)
1499 Provides: php(pdo_sqlite)
1500 Obsoletes: php-pdo-sqlite < 4:5.3.28-7
1501 Obsoletes: php-pecl-PDO_SQLITE
1503 %description pdo-sqlite
1504 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1507 %description pdo-sqlite -l pl.UTF-8
1508 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1512 Summary: PostgreSQL database module for PHP
1513 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1515 URL: http://www.php.net/manual/en/book.pgsql.php
1516 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1517 Provides: php(pgsql)
1518 Obsoletes: php-pgsql < 4:5.3.28-7
1521 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1524 %description pgsql -l pl.UTF-8
1525 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1527 %description pgsql -l pt_BR.UTF-8
1528 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1531 Summary: Phar archive module for PHP
1532 Summary(pl.UTF-8): Moduł phar dla PHP
1534 URL: http://www.php.net/manual/en/book.phar.php
1535 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1536 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1537 %{?with_alternatives:Requires: alternatives}
1538 Suggests: %{name}-cli
1539 # zlib is required by phar program, but as phar cli is optional should the dep be too
1540 Suggests: %{name}-zlib
1541 Provides: php(phar) = %{pharver}
1542 Obsoletes: php-pecl-phar < %{pharver}
1543 Obsoletes: php-phar < 4:5.3.28-7
1544 Conflicts: php-ioncube < 4.0.9
1547 This is a dynamic shared object (DSO) for PHP that will add phar
1550 %description phar -l pl.UTF-8
1551 Moduł PHP umożliwiający dostęp do achiwów .phar.
1554 Summary: POSIX extension module for PHP
1555 Summary(pl.UTF-8): Moduł POSIX dla PHP
1557 URL: http://www.php.net/manual/en/book.posix.php
1558 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1559 Provides: php(posix)
1560 Obsoletes: php-posix < 4:5.3.28-7
1563 This is a dynamic shared object (DSO) for PHP that will add POSIX
1564 functions support to PHP.
1566 %description posix -l pl.UTF-8
1567 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1570 Summary: pspell extension module for PHP
1571 Summary(pl.UTF-8): Moduł pspell dla PHP
1573 URL: http://www.php.net/manual/en/book.pspell.php
1574 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1575 Provides: php(pspell)
1576 Obsoletes: php-pspell < 4:5.3.28-7
1579 This is a dynamic shared object (DSO) for PHP that will add pspell
1580 support to PHP. It allows to check the spelling of a word and offer
1583 %description pspell -l pl.UTF-8
1584 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1585 sprawdzanie pisowni słowa i sugerowanie poprawek.
1588 Summary: readline extension module for PHP
1589 Summary(pl.UTF-8): Moduł readline dla PHP
1591 URL: http://www.php.net/manual/en/book.readline.php
1592 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1593 Provides: php(readline)
1594 Obsoletes: php-readline < 4:5.3.28-7
1596 %description readline
1597 This PHP module adds support for readline functions (only for cli and
1600 %description readline -l pl.UTF-8
1601 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1604 Summary: recode extension module for PHP
1605 Summary(pl.UTF-8): Moduł recode dla PHP
1607 URL: http://www.php.net/manual/en/book.recode.php
1608 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1609 Requires: recode >= 3.5d-3
1610 Provides: php(recode)
1611 Obsoletes: php-recode < 4:5.3.28-7
1614 This is a dynamic shared object (DSO) for PHP that will add recode
1617 %description recode -l pl.UTF-8
1618 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1622 Summary: session extension module for PHP
1623 Summary(pl.UTF-8): Moduł session dla PHP
1625 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1626 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1627 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1629 Provides: php(session)
1630 Obsoletes: php-session < 4:5.3.28-7
1632 %description session
1633 This is a dynamic shared object (DSO) for PHP that will add session
1636 %description session -l pl.UTF-8
1637 Moduł PHP dodający obsługę sesji.
1640 Summary: Shared Memory Operations extension module for PHP
1641 Summary(pl.UTF-8): Moduł shmop dla PHP
1643 URL: http://www.php.net/manual/en/book.shmop.php
1644 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1645 Provides: php(shmop)
1646 Obsoletes: php-shmop < 4:5.3.28-7
1649 This is a dynamic shared object (DSO) for PHP that will add Shared
1650 Memory Operations support.
1652 %description shmop -l pl.UTF-8
1653 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1656 Summary: Simple XML extension module for PHP
1657 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1659 URL: http://www.php.net/manual/en/book.simplexml.php
1660 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1661 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1662 Provides: php(simplexml)
1663 Obsoletes: php-simplexml < 4:5.3.28-7
1665 %description simplexml
1666 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1669 %description simplexml -l pl.UTF-8
1670 Moduł PHP dodający obsługę prostego XML-a.
1673 Summary: SNMP extension module for PHP
1674 Summary(pl.UTF-8): Moduł SNMP dla PHP
1676 URL: http://www.php.net/manual/en/book.snmp.php
1677 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1678 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1680 Obsoletes: php-snmp < 4:5.3.28-7
1683 This is a dynamic shared object (DSO) for PHP that will add SNMP
1686 %description snmp -l pl.UTF-8
1687 Moduł PHP dodający obsługę SNMP.
1690 Summary: soap extension module for PHP
1691 Summary(pl.UTF-8): Moduł soap dla PHP
1693 URL: http://www.php.net/manual/en/book.soap.php
1694 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1696 Obsoletes: php-soap < 4:5.3.28-7
1699 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1702 %description soap -l pl.UTF-8
1703 Moduł PHP dodający obsługę SOAP/WSDL.
1706 Summary: sockets extension module for PHP
1707 Summary(pl.UTF-8): Moduł socket dla PHP
1709 URL: http://www.php.net/manual/en/book.sockets.php
1710 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1711 Provides: php(sockets)
1712 Obsoletes: php-sockets < 4:5.3.28-7
1714 %description sockets
1715 This is a dynamic shared object (DSO) for PHP that will add sockets
1718 %description sockets -l pl.UTF-8
1719 Moduł PHP dodający obsługę gniazdek.
1722 Summary: Standard PHP Library module for PHP
1723 Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1725 URL: http://php.net/manual/en/book.spl.php
1726 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1727 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1728 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1730 Obsoletes: php-spl < 4:5.3.28-7
1733 This is a dynamic shared object (DSO) for PHP that will add Standard
1734 PHP Library support.
1736 %description spl -l pl.UTF-8
1737 Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1740 Summary: SQLite extension module for PHP
1741 Summary(pl.UTF-8): Moduł SQLite dla PHP
1743 URL: http://www.php.net/manual/en/book.sqlite.php
1744 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1745 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1746 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1747 Provides: php(sqlite) = %{sqlitever}
1748 Obsoletes: php-pecl-SQLite < %{sqlitever}
1749 Obsoletes: php-sqlite < 4:5.3.28-7
1752 SQLite is a C library that implements an embeddable SQL database
1753 engine. Programs that link with the SQLite library can have SQL
1754 database access without running a separate RDBMS process.
1756 SQLite is not a client library used to connect to a big database
1757 server. SQLite is the server. The SQLite library reads and writes
1758 directly to and from the database files on disk.
1760 %description sqlite -l pl.UTF-8
1761 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1762 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1763 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1766 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1767 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1768 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1772 Summary: SQLite3 extension module for PHP
1773 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1775 URL: http://php.net/manual/en/book.sqlite3.php
1776 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1777 Provides: php(sqlite3) = %{sqlite3ver}
1778 Obsoletes: php-sqlite3 < 4:5.3.28-7
1780 %description sqlite3
1781 SQLite is a C library that implements an embeddable SQL database
1782 engine. Programs that link with the SQLite library can have SQL
1783 database access without running a separate RDBMS process.
1785 SQLite is not a client library used to connect to a big database
1786 server. SQLite is the server. The SQLite library reads and writes
1787 directly to and from the database files on disk.
1789 %description sqlite3 -l pl.UTF-8
1790 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1791 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1792 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1795 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1796 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1797 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1801 Summary: Sybase-CT extension module for PHP
1802 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1804 URL: http://www.php.net/manual/en/book.sybase.php
1805 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1806 Provides: php(sybase-ct)
1807 Obsoletes: php-sybase
1808 Obsoletes: php-sybase-ct < 4:5.3.28-7
1810 %description sybase-ct
1811 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1812 MS SQL databases support through CT-lib.
1814 %description sybase-ct -l pl.UTF-8
1815 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1819 Summary: SysV msg extension module for PHP
1820 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1822 URL: http://www.php.net/manual/en/book.sem.php
1823 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1824 Provides: php(sysvmsg)
1825 Obsoletes: php-sysvmsg < 4:5.3.28-7
1827 %description sysvmsg
1828 This is a dynamic shared object (DSO) for PHP that will add SysV
1829 message queues support.
1831 %description sysvmsg -l pl.UTF-8
1832 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1835 Summary: SysV sem extension module for PHP
1836 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1838 URL: http://www.php.net/manual/en/book.sem.php
1839 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1840 Provides: php(sysvsem)
1841 Obsoletes: php-sysvsem < 4:5.3.28-7
1843 %description sysvsem
1844 This is a dynamic shared object (DSO) for PHP that will add SysV
1847 %description sysvsem -l pl.UTF-8
1848 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1851 Summary: SysV shm extension module for PHP
1852 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1854 URL: http://www.php.net/manual/en/book.shmop.php
1855 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1856 Provides: php(sysvshm)
1857 Obsoletes: php-sysvshm < 4:5.3.28-7
1859 %description sysvshm
1860 This is a dynamic shared object (DSO) for PHP that will add SysV
1861 Shared Memory support.
1863 %description sysvshm -l pl.UTF-8
1864 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1867 Summary: Contains unit test files for PHP and extensions
1868 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1870 URL: http://qa.php.net/
1871 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1874 This package contains unit tests for PHP and its extensions.
1876 %description tests -l pl.UTF-8
1877 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1880 Summary: Tidy extension module for PHP
1881 Summary(pl.UTF-8): Moduł Tidy dla PHP
1883 URL: http://www.php.net/manual/en/book.tidy.php
1884 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1887 Obsoletes: php-tidy < 4:5.3.28-7
1890 This is a dynamic shared object (DSO) for PHP that will add Tidy
1893 %description tidy -l pl.UTF-8
1894 Moduł PHP umożliwiający korzystanie z tidy.
1897 Summary: tokenizer extension module for PHP
1898 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1900 URL: http://www.php.net/manual/en/book.tokenizer.php
1901 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1902 Provides: php(tokenizer)
1903 Obsoletes: php-tokenizer < 4:5.3.28-7
1905 %description tokenizer
1906 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1909 %description tokenizer -l pl.UTF-8
1910 Moduł PHP dodający obsługę tokenizera do PHP.
1913 Summary: wddx extension module for PHP
1914 Summary(pl.UTF-8): Moduł wddx dla PHP
1916 URL: http://www.php.net/manual/en/book.wddx.php
1917 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1918 # - wddx doesn't require session as it's disabled at compile time:
1919 # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1920 # see also php.spec#rev1.120.2.22
1921 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1922 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1924 Obsoletes: php-wddx < 4:5.3.28-7
1927 This is a dynamic shared object (DSO) for PHP that will add wddx
1930 %description wddx -l pl.UTF-8
1931 Moduł PHP umożliwiający korzystanie z wddx.
1934 Summary: XML extension module for PHP
1935 Summary(pl.UTF-8): Moduł XML dla PHP
1937 URL: http://www.php.net/manual/en/book.xml.php
1938 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1940 Obsoletes: php-xml < 4:5.3.28-7
1943 This is a dynamic shared object (DSO) for PHP that will add XML
1944 support. This extension lets you create XML parsers and then define
1945 handlers for different XML events.
1947 %description xml -l pl.UTF-8
1948 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1949 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1950 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1953 Summary: XML Reader extension module for PHP
1954 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1956 URL: http://www.php.net/manual/en/book.xmlreader.php
1957 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1958 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1959 Provides: php(xmlreader)
1960 Obsoletes: php-xmlreader < 4:5.3.28-7
1962 %description xmlreader
1963 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1964 support. The XMLReader extension is an XML Pull parser. The reader
1965 acts as a cursor going forward on the document stream and stopping at
1966 each node on the way.
1968 %description xmlreader -l pl.UTF-8
1969 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1970 działa jako kursor przechodzący przez strumień dokumentu i
1971 zatrzymujący się na każdym węźle po drodze.
1974 Summary: xmlrpc extension module for PHP
1975 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1977 URL: http://www.php.net/manual/en/book.xmlrpc.php
1978 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1979 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1980 Provides: php(xmlrpc)
1981 Obsoletes: php-xmlrpc < 4:5.3.28-7
1984 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1987 %description xmlrpc -l pl.UTF-8
1988 Moduł PHP dodający obsługę XMLRPC.
1991 Summary: Fast, non-cached, forward-only means to write XML data
1992 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1994 URL: http://www.php.net/manual/en/book.xmlwriter.php
1995 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1996 Provides: php(xmlwriter)
1997 Obsoletes: php-pecl-xmlwriter
1998 Obsoletes: php-xmlwriter < 4:5.3.28-7
2000 %description xmlwriter
2001 This extension wraps the libxml xmlWriter API. Represents a writer
2002 that provides a non-cached, forward-only means of generating streams
2003 or files containing XML data.
2005 %description xmlwriter -l pl.UTF-8
2006 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
2007 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
2008 plików zawierających dane XML.
2011 Summary: xsl extension module for PHP
2012 Summary(pl.UTF-8): Moduł xsl dla PHP
2014 URL: http://www.php.net/manual/en/book.xsl.php
2015 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2016 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
2017 Requires: libxslt >= 1.0.18
2018 # actually not true, functionality is similar, but API differs
2020 Obsoletes: php-xsl < 4:5.3.28-7
2021 Obsoletes: php-xslt <= 3:4.3.8-1
2024 This is a dynamic shared object (DSO) for PHP that will add new XSL
2025 support (using libxslt).
2027 %description xsl -l pl.UTF-8
2028 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
2031 Summary: Zip management extension
2032 Summary(pl.UTF-8): Zarządzanie archiwami zip
2034 URL: http://www.php.net/manual/en/book.zip.php
2035 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2036 %{?with_system_libzip:Requires: libzip >= 0.10-3}
2037 Provides: php(zip) = %{zipver}
2038 Obsoletes: php-pecl-zip < %{zipver}
2039 Obsoletes: php-zip < 4:5.3.28-7
2042 Zip is an extension to create, modify and read zip files.
2044 %description zip -l pl.UTF-8
2045 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
2046 odczyt archiwów zip.
2049 Summary: Zlib extension module for PHP
2050 Summary(pl.UTF-8): Moduł zlib dla PHP
2052 URL: http://www.php.net/manual/en/book.zlib.php
2053 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2055 Obsoletes: php-zlib < 4:5.3.28-7
2058 This is a dynamic shared object (DSO) for PHP that will add zlib
2059 compression support to PHP.
2061 %description zlib -l pl.UTF-8
2062 Moduł PHP umożliwiający używanie kompresji zlib.
2065 %setup -q -n %{orgname}-%{version}
2076 cp -p php.ini-production php.ini
2079 %if %{with type_hints}
2088 %if %{with system_gd}
2101 %if "%{pld_release}" != "ac"
2129 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
2135 %{?with_system_libzip:%patch65 -p1}
2137 %{__rm} -r sapi/litespeed
2138 gzip -dc %{SOURCE15} | tar xf - -C sapi/
2160 %{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
2162 # cleanup backups after patching
2163 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
2165 # conflict seems to be resolved by recode patches
2166 %{__rm} ext/recode/config9.m4
2168 # remove all bundled libraries not to link with them accidentally
2169 #%{__rm} -r ext/sqlite/libsqlite
2170 %{__rm} -r ext/sqlite3/libsqlite
2171 #%{__rm} -r ext/bcmath/libbcmath
2172 #%{__rm} -r ext/date/lib
2173 #%{__rm} -r ext/fileinfo/libmagic
2174 #%{__rm} -r ext/dba/libcdb
2175 #%{__rm} -r ext/dba/libflatfile
2176 #%{__rm} -r ext/dba/libinifile
2177 #%{__rm} -r ext/gd/libgd
2178 #%{__rm} -r ext/mbstring/libmbfl
2179 #%{__rm} -r ext/mbstring/oniguruma
2180 %{__rm} -r ext/pcre/pcrelib
2181 #%{__rm} -r ext/soap/interop
2182 %{__rm} -r ext/xmlrpc/libxmlrpc
2183 #%{__rm} -r ext/zip/lib
2185 cp -pf Zend/LICENSE{,.Zend}
2186 install -p %{SOURCE13} dep-tests.sh
2189 sed -i -e 's#-fvisibility=hidden##g' configure*
2191 # disable broken tests
2192 # says just "Terminated" twice and fails
2193 %{__mv} sapi/cli/tests/022.phpt{,.broken}
2195 # php-5.3.3/ext/standard/tests/file/statpage.phpt
2196 %{__rm} ext/standard/tests/file/statpage.phpt
2198 # idiotic test, it will fail if somebody else makes space on disk or if disk
2199 # space is not yet allocated (xfs). report upstream to advice bogus test is
2200 # probably pointless.
2201 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
2203 sh -xe %{_sourcedir}/skip-tests.sh
2206 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
2207 if [ $API != %{php_api_version} ]; then
2208 echo "Set %%define php_api_version to $API and re-run."
2212 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
2213 if [ $API != %{zend_module_api} ]; then
2214 echo "Set %%define zend_module_api to $API and re-run."
2218 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
2219 if [ $API != %{zend_extension_api} ]; then
2220 echo "Set %%define zend_extension_api to $API and re-run."
2224 # Check for some extension version
2225 ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
2226 if test "$ver" != "%{fileinfover}"; then
2227 : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
2228 : Update the fileinfover macro and rebuild.
2231 ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
2232 if test "$ver" != "%{pharver}"; then
2233 : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
2234 : Update the pharver macro and rebuild.
2237 ver=$(sed -n '/#define PHP_SQLITE3_VERSION/{s/.* "//;s/".*$//;p}' ext/sqlite3/php_sqlite3.h)
2238 if test "$ver" != "%{sqlite3ver}"; then
2239 : Error: Upstream Sqlite3 version is now ${ver}, expecting %{sqlite3ver}.
2240 : Update the sqlite3ver macro and rebuild.
2243 ver=$(sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
2244 if test "$ver" != "%{zipver}"; then
2245 : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
2246 : Update the zipver macro and rebuild.
2249 ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
2250 if test "$ver" != "%{jsonver}"; then
2251 : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
2252 : Update the jsonver macro and rebuild.
2255 ver=$(sed -rne 's,.*<version>(.+)</version>,\1,p' ext/bz2/package.xml)
2256 if test "$ver" != "%{bz2ver}"; then
2257 : Error: Upstream BZIP2 version is now ${ver}, expecting %{bz2ver}.
2258 : Update the bz2ver macro and rebuild.
2261 ver=$(sed -n '/#define PHP_ENCHANT_VERSION /{s/.* "//;s/".*$//;p}' ext/enchant/php_enchant.h)
2262 if test "$ver" != "%{enchantver}"; then
2263 : Error: Upstream Enchant version is now ${ver}, expecting %{enchantver}.
2264 : Update the enchantver macro and rebuild.
2267 ver=$(awk '/#define PHP_HASH_EXTVER/ {print $3}' ext/hash/php_hash.h | xargs)
2268 if test "$ver" != "%{hashver}"; then
2269 : Error: Upstream HASH version is now ${ver}, expecting %{hashver}.
2270 : Update the hashver macro and rebuild.
2273 ver=$(sed -n '/#define PHP_INTL_VERSION /{s/.* "//;s/".*$//;p}' ext/intl/php_intl.h)
2274 if test "$ver" != "%{intlver}"; then
2275 : Error: Upstream Intl version is now ${ver}, expecting %{intlver}.
2276 : Update the intlver macro and rebuild.
2279 ver=$(awk '/#define PHP_SQLITE_MODULE_VERSION/ {print $3}' ext/sqlite/sqlite.c | xargs)
2280 if test "$ver" != "%{sqlitever}"; then
2281 : Error: Upstream Sqlite version is now ${ver}, expecting %{sqlitever}.
2282 : Update the sqlitever macro and rebuild.
2286 export EXTENSION_DIR="%{php_extensiondir}"
2287 # configure once (for faster debugging purposes)
2288 if [ ! -f _built-conf ]; then
2289 # now remove Makefile copies
2290 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed}
2291 # force regeneration
2292 touch Zend/zend_language_parser.y
2295 cp -f /usr/share/automake/config.* .
2299 export PROG_SENDMAIL="/usr/lib/sendmail"
2300 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} -I%{_includedir}/xmlrpc-epi"
2302 CPPFLAGS="$CPPFLAGS $(getconf LFS_CFLAGS)"
2310 %if %{with litespeed}
2326 for sapi in $sapis; do
2328 # skip if already configured (for faster debugging purposes)
2329 [ -f Makefile.$sapi ] && continue
2334 sapi_args='--disable-cli'
2337 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
2340 sapi_args='--disable-cli --enable-fpm'
2343 sapi_args='--disable-cli --enable-embed'
2346 ver=$(rpm -q --qf '%{V}' apache1-devel)
2347 sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
2350 ver=$(rpm -q --qf '%{V}' apache-devel)
2351 sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
2354 sapi_args='--with-litespeed'
2359 EXTRA_LDFLAGS="%{rpmldflags}" \
2361 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2362 --cache-file=config.cache \
2364 --with-libdir=%{_lib} \
2365 --with-config-file-path=%{_sysconfdir} \
2366 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2367 --with-exec-dir=%{_bindir} \
2368 --with-system-tzdata \
2369 --%{!?with_debug:dis}%{?with_debug:en}able-debug \
2370 %{?with_zts:--enable-maintainer-zts} \
2371 --enable-inline-optimization \
2372 --enable-bcmath=shared \
2373 --enable-calendar=shared \
2374 --enable-ctype=shared \
2375 --enable-dba=shared \
2376 --enable-dom=shared \
2377 --enable-exif=shared \
2378 --enable-fileinfo=shared \
2379 --enable-ftp=shared \
2380 --enable-gd-native-ttf \
2381 --enable-intl=shared \
2383 --enable-magic-quotes \
2384 --enable-mbstring=shared,all \
2386 --enable-pcntl=shared \
2387 --enable-pdo=shared \
2388 --enable-json=shared \
2389 --enable-hash=shared \
2390 --enable-xmlwriter=shared \
2392 --with-fpm-user=http \
2393 --with-fpm-group=http \
2395 %if %{with mssql} || %{with sybase_ct}
2396 --with-pdo-dblib=shared \
2398 %if %{with interbase} && %{without interbase_inst}
2399 --with-pdo-firebird=shared,/usr \
2401 %{?with_mhash:--with-mhash=yes} \
2402 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2403 --with-pdo-mysql=shared%{?with_mysqlnd:,mysqlnd} \
2404 %{?with_oci:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2405 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2406 %{?with_pgsql:--with-pdo-pgsql=shared} \
2407 %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
2408 --without-libexpat-dir \
2409 --enable-posix=shared \
2411 --enable-session=shared \
2412 --enable-shmop=shared \
2413 --enable-simplexml=shared \
2414 --enable-sysvmsg=shared \
2415 --enable-sysvsem=shared \
2416 --enable-sysvshm=shared \
2417 --enable-safe-mode \
2418 --enable-soap=shared \
2419 --enable-sockets=shared \
2420 --enable-tokenizer=shared \
2421 --enable-ucd-snmp-hack \
2422 %{?with_wddx:--enable-wddx=shared} \
2423 --enable-xml=shared \
2424 --enable-xmlreader=shared \
2426 %{__with_without curl curl shared} \
2428 --with-iconv=shared \
2429 %{?with_enchant:--with-enchant=shared,/usr} \
2430 --with-freetype-dir=shared \
2431 --with-gettext=shared \
2432 --with-gd=shared%{?with_system_gd:,/usr} \
2435 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2436 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2437 --with-jpeg-dir=/usr \
2438 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2439 --with-mcrypt=shared \
2440 %{?with_mm:--with-mm} \
2441 %{?with_mssql:--with-mssql=shared} \
2442 %{?with_mysqlnd:--enable-mysqlnd=shared} \
2443 --with-mysql=shared%{?with_mysqlnd:,mysqlnd} \
2444 %{?with_mysqli:--with-mysqli=shared%{?with_mysqlnd:,mysqlnd}} \
2445 %{?with_oci:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2446 %{?with_openssl:--with-openssl=shared} \
2447 %{?with_kerberos5:--with-kerberos} \
2448 %{__with_without pcre pcre-regex /usr} \
2449 %{__enable_disable filter filter shared} \
2450 --with-pear=%{php_pear_dir} \
2451 %{__with_without pgsql pgsql shared,/usr} \
2452 %{__enable_disable phar phar shared} \
2453 --with-png-dir=/usr \
2454 %{?with_pspell:--with-pspell=shared} \
2455 --with-readline=shared \
2456 %{?with_recode:--with-recode=shared} \
2457 --with-regex=system \
2458 %{?with_snmp:--with-snmp=shared} \
2459 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
2460 %{!?with_sqlite2:--without-sqlite}%{?with_sqlite2:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
2461 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2462 %{__with_without sqlite3 sqlite3 shared,/usr} \
2463 --with-t1lib=shared \
2464 %{?with_tidy:--with-tidy=shared} \
2465 %{?with_odbc:--with-unixODBC=shared,/usr} \
2466 %{__with_without xmlrpc xmlrpc shared,/usr} \
2468 --with-zlib=shared \
2469 --with-zlib-dir=shared,/usr \
2470 %{?with_system_libzip:--with-libzip} \
2471 --enable-zip=shared,/usr \
2474 cp -f Makefile Makefile.$sapi
2475 cp -f main/php_config.h php_config.h.$sapi
2476 cp -f config.log config.log.$sapi
2479 # as we build each SAPI in own make, adjust php-config.in forehead
2480 sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | xargs)
2481 sed -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in"
2483 # must make libphp_common first, so modules can link against it.
2484 cp -af php_config.h.cli main/php_config.h
2485 cp -af Makefile.cli Makefile
2486 %{__make} libphp_common.la
2487 %{__make} build-modules
2490 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
2494 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
2497 %if %{with litespeed}
2498 %{__make} -f Makefile.litespeed
2503 cp -pf php_config.h.cgi-fcgi main/php_config.h
2504 %{__make} -f Makefile.cgi-fcgi
2505 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
2510 cp -pf php_config.h.fpm main/php_config.h
2511 %{__make} -f Makefile.fpm
2512 [ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
2516 cp -pf php_config.h.cli main/php_config.h
2517 %{__make} -f Makefile.cli
2518 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
2520 # check for stupid xml parse breakage where < and > just get lost in parse result
2521 ./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"]));'
2523 # Generate stub .ini files for each extension
2526 generate_inifiles() {
2527 for so in modules/*.so; do
2528 mod=$(basename $so .so)
2530 # xml needs to be loaded before wddx
2531 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2532 # pre needs to be loaded before SPL
2533 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2534 # spl needs to be loaded before mysqli
2535 [ "$mod" = "spl" ] && conf="SPL.ini"
2536 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2537 [ "$mod" = "session" ] && conf="Session.ini"
2538 # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli
2539 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2541 cat > conf.d/$conf <<-EOF
2542 ; Enable $mod extension module
2549 # Check that the module inner-dependencies are intact
2550 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2551 if grep -v OK dep-tests.log; then
2552 echo >&2 "The results above were not expected"
2558 cp -pf php_config.h.cli main/php_config.h
2559 cp -pf Makefile.cli Makefile
2561 # you really don't want to package result of gcov build
2565 cat <<'EOF' > run-tests.sh
2567 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2568 unset TZ LANG LC_ALL || :
2570 EXTENSION_DIR=modules \
2571 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2572 RUN_TESTS_SETTINGS="-q $*"
2574 chmod +x run-tests.sh
2577 # Run tests, using the CLI SAPI
2578 cp -pf php_config.h.cli main/php_config.h
2579 cp -pf Makefile.cli Makefile
2581 ./run-tests.sh -w failed.log -s test.log
2583 # collect failed tests into cleanup script used in prep.
2584 sed -ne '/FAILED TEST SUMMARY/,/^===/p' test.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2585 sed -ne '/\[.*\]/{s/\(.*\) \[\(.*\)\]/# \1\nmv \2{,.skip}/p}' tests-failed.log \
2586 >> %{_sourcedir}/skip-tests.sh
2588 failed=$(wc -l < tests-failed.log)
2589 if [ "$failed" != 0 ]; then
2595 rm -rf $RPM_BUILD_ROOT
2596 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2597 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2598 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2599 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2601 cp -pf php_config.h.cli main/php_config.h
2602 cp -pf Makefile.cli Makefile
2604 phpbuilddir=%{_libdir}/%{name}/build \
2605 INSTALL_ROOT=$RPM_BUILD_ROOT
2607 %if %{without default_php}
2608 # version the .phar files
2609 %{__mv} $RPM_BUILD_ROOT%{_bindir}/phar{,%{php_suffix}}.phar
2611 %if %{with alternatives}
2613 %{__rm} $RPM_BUILD_ROOT%{_bindir}/phar
2614 touch $RPM_BUILD_ROOT%{_bindir}/phar
2616 # make link relative
2617 ln -sfn phar%{php_suffix}.phar $RPM_BUILD_ROOT%{_bindir}/phar
2621 v=$(echo %{version} | cut -d. -f1-2)
2623 # install Apache1 DSO module
2625 libtool --mode=install install -p sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2626 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5{,-$v}.so
2627 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache1/mod_php.so
2630 # install Apache2 DSO module
2632 libtool --mode=install install -p sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2633 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp5{,-$v}.so
2634 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache/mod_php.so
2637 # install litespeed sapi
2638 %if %{with litespeed}
2639 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
2642 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2647 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2648 ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
2649 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2654 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir},%{_datadir}/fpm}
2655 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2656 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
2657 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2658 cp -p sapi/fpm/php-fpm.conf-d $RPM_BUILD_ROOT%{_sysconfdir}/fpm.d/www.conf
2659 cp -p sapi/fpm/status.html $RPM_BUILD_ROOT%{_datadir}/fpm
2660 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2661 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2662 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2663 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2664 %if "%{pld_release}" == "ac"
2665 %{__sed} -i -e '/su/d' $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2668 %if %{with alternatives}
2669 # touch for ghost for alternatives
2670 touch $RPM_BUILD_ROOT%{_sbindir}/php-fpm
2674 s#/usr/lib/php#%{php_extensiondir}#
2675 s#/etc/php#%{_sysconfdir}#
2676 s#@processname@#%{name}-fpm#g
2677 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf,%{_sysconfdir}/fpm.d/www.conf}
2680 # install Embedded API
2682 %{__make} -f Makefile.embed install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT
2683 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2684 install -d $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2685 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2689 # versioned suffix is always installed
2690 libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php%{ver_suffix}
2691 cp -p sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php%{ver_suffix}.1
2692 echo ".so php%{ver_suffix}.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.1
2693 ln -sf php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php
2695 # .cli extension is installed only if default php.spec in distro for legacy purposes
2696 %if "%{?php_suffix}" == "" && "%{pld_release}" != "ac"
2697 ln -s php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php.cli
2700 cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2701 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2704 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2705 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2706 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2710 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2711 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2712 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2715 # ensure that paths are correct for current php version and arch
2716 grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
2718 s#/usr/lib/php#%{php_extensiondir}#
2719 s#/etc/php#%{_sysconfdir}#
2722 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2723 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2725 # per SAPI ini directories
2726 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2729 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2731 # use system automake and {lib,sh}tool
2732 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2733 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2734 for fn in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2735 f=%{_aclocaldir}/$fn
2736 test -f $f || continue
2737 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2739 for fn in ltmain.sh config/ltmain.sh build-aux/ltmain.sh; do
2740 f=/usr/share/libtool/$fn
2741 test -f $f || continue
2742 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2745 sed -i -e '/^phpdir/ s,/php/build,/%{name}/build,' $RPM_BUILD_ROOT%{_bindir}/phpize
2747 # for php-pecl-mailparse
2748 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2749 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2752 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2753 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2754 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2756 # fix install paths, avoid evil rpaths
2757 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2759 # libphp5.la contains our buildroot in dependency_libs
2760 sed -i -e "/dependency_libs/ s,/[^ ]*/libs/libphp_common.la,%{_libdir}/libphp_common.la," $RPM_BUILD_ROOT%{_libdir}/libphp5.la
2763 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/%{name}/build/acinclude.m4
2766 rm -rf $RPM_BUILD_ROOT
2768 %post -n apache1-mod_%{name}
2769 if [ "$1" = "1" ]; then
2770 %service -q apache restart
2773 %postun -n apache1-mod_%{name}
2774 if [ "$1" = "0" ]; then
2775 %service -q apache restart
2778 %post -n apache-mod_%{name}
2779 if [ "$1" = "1" ]; then
2780 %service -q httpd restart
2783 %postun -n apache-mod_%{name}
2784 if [ "$1" = "0" ]; then
2785 %service -q httpd restart
2789 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2792 /sbin/chkconfig --add %{name}-fpm
2793 %service %{name}-fpm restart
2794 %if %{with alternatives}
2795 update-alternatives --install %{_sbindir}/php-fpm php-fpm %{_sbindir}/php%{ver_suffix}-fpm %{ver_suffix} || :
2799 if [ "$1" = "0" ]; then
2800 %service %{name}-fpm stop
2801 /sbin/chkconfig --del %{name}-fpm
2802 %if %{with alternatives}
2803 update-alternatives --remove php-fpm %{_sbindir}/php-fpm || :
2808 if [ "$1" = "0" ]; then
2812 %post embedded -p /sbin/ldconfig
2813 %postun embedded -p /sbin/ldconfig
2816 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2817 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2819 . /etc/sysconfig/timezone
2820 if [ "$TIMEZONE" ]; then
2821 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2825 # minimizing apache restarts logics. we restart webserver:
2827 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2828 # 2. first install of extension (post: $1 = 1)
2829 # 2. uninstall of extension (postun: $1 == 0)
2831 # the strict internal deps between extensions (and apache modules) and
2832 # common package are very important for all this to work.
2834 # restart webserver at the end of transaction
2835 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2836 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2838 %triggerpostun common -- php-common < 4:5.3.28-7
2839 # migrate configs /etc/php/conf.d -> /etc/phpXY/conf.d/
2840 # do config migration in php-common trigger, as the trigger is ran after all packages are upgraded
2841 # this way we can stick to one trigger, instead of attaching one for each (sub)package!
2842 for f in /etc/php/*.ini.rpmsave /etc/php/*.d/*.ini.rpmsave; do
2843 test -f "$f" || continue
2847 test "$dn" = "$fn" && dn=
2849 nf=%{_sysconfdir}/$dn/$fn
2850 test -f "$nf" || continue
2851 cp -vfb $nf{,.rpmnew}
2854 s#%{_libdir}/php#%{_libdir}/%{name}#
2855 s#/etc/php#%{_sysconfdir}#
2859 %triggerpostun common -- %{name}-common < 4:5.3.29-7, php-common < 4:5.3.29-7
2860 # switch to browscap package if the ini file has original value
2861 %{__sed} -i -e 's#%{_sysconfdir}/browscap.ini#/usr/share/browscap/php_browscap.ini#' %{_sysconfdir}/php.ini
2862 # disable browscap, if optional package not present
2863 if [ ! -e /usr/share/browscap/php_browscap.ini ]; then
2864 %{__sed} -i -e 's#^browscap = /usr/share/browscap/php_browscap.ini#;&#' %{_sysconfdir}/php.ini
2867 %triggerpostun -n apache1-mod_%{name} -- apache1-mod_%{name} < 4:5.3.29-23
2868 sed -i -e 's#modules/libphp5.so#modules/mod_php.so#g' /etc/apache/conf.d/*_mod_php.conf
2870 %triggerpostun -n apache-mod_%{name} -- apache-mod_%{name} < 4:5.3.29-23
2871 sed -i -e 's#modules/libphp[57].so#modules/mod_php.so#g' /etc/httpd/conf.d/*_mod_php.conf
2873 # common macros called at extension post/postun scriptlet
2875 if [ "$1" = "1" ]; then \
2876 %php_webserver_restart \
2880 %define ext_postun \
2881 if [ "$1" = "0" ]; then \
2882 %php_webserver_restart \
2886 %define extension_scripts() \
2894 # extension scripts defines
2895 %extension_scripts bcmath
2896 %extension_scripts bz2
2897 %extension_scripts calendar
2898 %extension_scripts ctype
2899 %extension_scripts curl
2900 %extension_scripts dba
2901 %extension_scripts dom
2902 %extension_scripts enchant
2903 %extension_scripts exif
2904 %extension_scripts fileinfo
2905 %extension_scripts filter
2906 %extension_scripts ftp
2907 %extension_scripts gd
2908 %extension_scripts gettext
2909 %extension_scripts gmp
2910 %extension_scripts hash
2911 %extension_scripts iconv
2912 %extension_scripts imap
2913 %extension_scripts interbase
2914 %extension_scripts intl
2915 %extension_scripts json
2916 %extension_scripts ldap
2917 %extension_scripts mbstring
2918 %extension_scripts mcrypt
2919 %extension_scripts mssql
2920 %extension_scripts mysql
2921 %extension_scripts mysqli
2922 %extension_scripts mysqlnd
2923 %extension_scripts oci8
2924 %extension_scripts odbc
2925 %extension_scripts openssl
2926 %extension_scripts pcre
2927 %extension_scripts pdo
2928 %extension_scripts pdo-dblib
2929 %extension_scripts pdo-firebird
2930 %extension_scripts pdo-oci
2931 %extension_scripts pdo-mysql
2932 %extension_scripts pdo-odbc
2933 %extension_scripts pdo-pgsql
2934 %extension_scripts pdo-sqlite
2935 %extension_scripts pgsql
2936 %extension_scripts pcntl
2937 %extension_scripts posix
2938 %extension_scripts pspell
2939 %extension_scripts recode
2940 %extension_scripts session
2941 %extension_scripts shmop
2942 %extension_scripts simplexml
2943 %extension_scripts snmp
2944 %extension_scripts soap
2945 %extension_scripts sockets
2946 %extension_scripts spl
2947 %extension_scripts sqlite
2948 %extension_scripts sqlite3
2949 %extension_scripts sybase-ct
2950 %extension_scripts sysvmsg
2951 %extension_scripts sysvsem
2952 %extension_scripts sysvshm
2953 %extension_scripts tidy
2954 %extension_scripts tokenizer
2955 %extension_scripts wddx
2956 %extension_scripts xml
2957 %extension_scripts xmlreader
2958 %extension_scripts xmlrpc
2959 %extension_scripts xmlwriter
2960 %extension_scripts xsl
2961 %extension_scripts zip
2962 %extension_scripts zlib
2966 %if %{with alternatives}
2967 update-alternatives --install %{_bindir}/phar phar %{_bindir}/phar%{ver_suffix}.phar %{ver_suffix} || :
2972 %if %{with alternatives}
2973 if [ $1 -eq 0 ]; then
2974 update-alternatives --remove phar %{_bindir}/phar || :
2979 %files -n apache1-mod_%{name}
2980 %defattr(644,root,root,755)
2981 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2982 %dir %{_sysconfdir}/apache.d
2983 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2984 %attr(755,root,root) %{_libdir}/apache1/mod_php.so
2985 %attr(755,root,root) %{_libdir}/apache1/libphp5-*.*.so
2989 %files -n apache-mod_%{name}
2990 %defattr(644,root,root,755)
2991 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2992 %attr(755,root,root) %{_libdir}/apache/mod_php.so
2994 %files -n apache-mod_%{name}-core
2995 %defattr(644,root,root,755)
2996 %dir %{_sysconfdir}/apache2handler.d
2997 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2998 %attr(755,root,root) %{_libdir}/apache/libphp5-*.*.so
3001 %if %{with litespeed}
3003 %defattr(644,root,root,755)
3004 %attr(755,root,root) %{_sbindir}/%{name}.litespeed
3009 %defattr(644,root,root,755)
3010 %dir %{_sysconfdir}/cgi-fcgi.d
3011 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
3012 %attr(755,root,root) %{_bindir}/%{name}.cgi
3013 %attr(755,root,root) %{_bindir}/%{name}.fcgi
3018 %defattr(644,root,root,755)
3019 %attr(755,root,root) %{_libdir}/libphp5-%{version}.so
3023 %defattr(644,root,root,755)
3024 %dir %{_sysconfdir}/cli.d
3025 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
3026 %attr(755,root,root) %{_bindir}/php%{ver_suffix}
3027 %{_mandir}/man1/php%{ver_suffix}.1*
3029 # legacy. do we really need it?
3030 %if "%{?php_suffix}" == "" && "%{pld_release}" != "ac"
3031 %attr(755,root,root) %{_bindir}/php.cli
3035 %defattr(644,root,root,755)
3036 %attr(755,root,root) %{_bindir}/php
3037 %{_mandir}/man1/php.1*
3041 %defattr(644,root,root,755)
3042 %doc sapi/fpm/{CREDITS,LICENSE}
3043 %dir %{_sysconfdir}/fpm.d
3044 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
3045 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.d/www.conf
3046 %attr(755,root,root) %{_sbindir}/%{name}-fpm
3047 %if %{with alternatives}
3048 %ghost %{_sbindir}/php-fpm
3050 %{_mandir}/man8/%{name}-fpm.8*
3051 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
3052 %attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
3053 %dir %{_datadir}/fpm
3054 %{_datadir}/fpm/status.html
3058 %defattr(644,root,root,755)
3059 %doc CREDITS EXTENSIONS LICENSE NEWS README.{PHP4-TO-PHP5-THIN-CHANGES,namespaces} TODO* UPGRADING* Zend/{LICENSE.Zend,ZEND_CHANGES} php.ini-*
3061 %dir %{_sysconfdir}/conf.d
3062 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
3063 %attr(755,root,root) %{_libdir}/libphp_common-*.so
3064 %dir %{php_extensiondir}
3066 %doc ext/session/mod_files.sh
3069 %defattr(644,root,root,755)
3070 %doc CODING_STANDARDS README.{EXTENSIONS,EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
3071 %attr(755,root,root) %{_bindir}/phpize
3072 %attr(755,root,root) %{_bindir}/php-config
3073 %attr(755,root,root) %{_libdir}/libphp_common.so
3074 %{_libdir}/libphp_common.la
3076 %{_libdir}/%{name}/build
3077 %{_mandir}/man1/php-config.1*
3078 %{_mandir}/man1/phpize.1*
3081 %{_libdir}/libphp5.so
3082 %{_libdir}/libphp5.la
3086 %defattr(644,root,root,755)
3087 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
3088 %attr(755,root,root) %{php_extensiondir}/bcmath.so
3091 %defattr(644,root,root,755)
3092 %doc ext/bz2/CREDITS
3093 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
3094 %attr(755,root,root) %{php_extensiondir}/bz2.so
3097 %defattr(644,root,root,755)
3098 %doc ext/calendar/CREDITS
3099 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
3100 %attr(755,root,root) %{php_extensiondir}/calendar.so
3103 %defattr(644,root,root,755)
3104 %doc ext/calendar/CREDITS
3105 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
3106 %attr(755,root,root) %{php_extensiondir}/ctype.so
3110 %defattr(644,root,root,755)
3111 %doc ext/curl/CREDITS
3112 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
3113 %attr(755,root,root) %{php_extensiondir}/curl.so
3117 %defattr(644,root,root,755)
3118 %doc ext/dba/{CREDITS,README}
3119 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
3120 %attr(755,root,root) %{php_extensiondir}/dba.so
3123 %defattr(644,root,root,755)
3124 %doc ext/dom/{CREDITS,TODO}
3125 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
3126 %attr(755,root,root) %{php_extensiondir}/dom.so
3130 %defattr(644,root,root,755)
3131 %doc ext/enchant/{CREDITS,docs/examples}
3132 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/enchant.ini
3133 %attr(755,root,root) %{php_extensiondir}/enchant.so
3137 %defattr(644,root,root,755)
3138 %doc ext/exif/CREDITS
3139 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
3140 %attr(755,root,root) %{php_extensiondir}/exif.so
3143 %defattr(644,root,root,755)
3144 %doc ext/fileinfo/CREDITS
3145 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
3146 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
3150 %defattr(644,root,root,755)
3151 %doc ext/filter/{CREDITS,docs/*}
3152 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
3153 %attr(755,root,root) %{php_extensiondir}/filter.so
3157 %defattr(644,root,root,755)
3158 %doc ext/ftp/CREDITS
3159 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
3160 %attr(755,root,root) %{php_extensiondir}/ftp.so
3163 %defattr(644,root,root,755)
3165 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
3166 %attr(755,root,root) %{php_extensiondir}/gd.so
3169 %defattr(644,root,root,755)
3170 %doc ext/gettext/CREDITS
3171 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
3172 %attr(755,root,root) %{php_extensiondir}/gettext.so
3175 %defattr(644,root,root,755)
3176 %doc ext/gmp/{CREDITS,README,TODO}
3177 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
3178 %attr(755,root,root) %{php_extensiondir}/gmp.so
3181 %defattr(644,root,root,755)
3182 %doc ext/hash/{CREDITS,README}
3183 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
3184 %attr(755,root,root) %{php_extensiondir}/hash.so
3187 %defattr(644,root,root,755)
3188 %doc ext/iconv/CREDITS
3189 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
3190 %attr(755,root,root) %{php_extensiondir}/iconv.so
3194 %defattr(644,root,root,755)
3195 %doc ext/imap/CREDITS
3196 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
3197 %attr(755,root,root) %{php_extensiondir}/imap.so
3200 %if %{with interbase}
3202 %defattr(644,root,root,755)
3203 %doc ext/interbase/CREDITS
3204 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
3205 %attr(755,root,root) %{php_extensiondir}/interbase.so
3209 %defattr(644,root,root,755)
3210 %doc ext/intl/{CREDITS,TODO}
3211 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
3212 %attr(755,root,root) %{php_extensiondir}/intl.so
3215 %defattr(644,root,root,755)
3216 %doc ext/json/CREDITS
3217 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
3218 %attr(755,root,root) %{php_extensiondir}/json.so
3222 %defattr(644,root,root,755)
3223 %doc ext/ldap/CREDITS
3224 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
3225 %attr(755,root,root) %{php_extensiondir}/ldap.so
3229 %defattr(644,root,root,755)
3230 %doc ext/mbstring/{CREDITS,README*}
3231 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
3232 %attr(755,root,root) %{php_extensiondir}/mbstring.so
3235 %defattr(644,root,root,755)
3236 %doc ext/mcrypt/{CREDITS,TODO}
3237 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
3238 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
3242 %defattr(644,root,root,755)
3243 %doc ext/mssql/CREDITS
3244 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
3245 %attr(755,root,root) %{php_extensiondir}/mssql.so
3249 %defattr(644,root,root,755)
3250 %doc ext/mysql/CREDITS
3251 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
3252 %attr(755,root,root) %{php_extensiondir}/mysql.so
3256 %defattr(644,root,root,755)
3257 %doc ext/mysqli/{CREDITS,TODO}
3258 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
3259 %attr(755,root,root) %{php_extensiondir}/mysqli.so
3264 %defattr(644,root,root,755)
3265 %doc ext/mysqlnd/CREDITS
3266 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
3267 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
3272 %defattr(644,root,root,755)
3273 %doc ext/oci8/{CREDITS,README}
3274 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
3275 %attr(755,root,root) %{php_extensiondir}/oci8.so
3280 %defattr(644,root,root,755)
3281 %doc ext/odbc/CREDITS
3282 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
3283 %attr(755,root,root) %{php_extensiondir}/odbc.so
3288 %defattr(644,root,root,755)
3289 %doc ext/openssl/{CREDITS,README}
3290 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
3291 %attr(755,root,root) %{php_extensiondir}/openssl.so
3295 %defattr(644,root,root,755)
3296 %doc ext/pcntl/{CREDITS,README}
3297 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
3298 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3302 %defattr(644,root,root,755)
3303 %doc ext/pcre/CREDITS
3304 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
3305 %attr(755,root,root) %{php_extensiondir}/pcre.so
3309 %defattr(644,root,root,755)
3310 %doc ext/pdo/{CREDITS,README,TODO}
3311 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
3312 %attr(755,root,root) %{php_extensiondir}/pdo.so
3314 %if %{with mssql} || %{with sybase_ct}
3316 %defattr(644,root,root,755)
3317 %doc ext/pdo_dblib/{CREDITS,README}
3318 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
3319 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3322 %if %{with interbase} && !%{with interbase_inst}
3324 %defattr(644,root,root,755)
3325 %doc ext/pdo_firebird/CREDITS
3326 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
3327 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3331 %defattr(644,root,root,755)
3332 %doc ext/pdo_mysql/CREDITS
3333 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
3334 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3338 %defattr(644,root,root,755)
3339 %doc ext/pdo_oci/CREDITS
3340 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
3341 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3346 %defattr(644,root,root,755)
3347 %doc ext/pdo_odbc/CREDITS
3348 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3349 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3354 %defattr(644,root,root,755)
3355 %doc ext/pdo_pgsql/CREDITS
3356 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3357 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3360 %if %{with pdo_sqlite}
3362 %defattr(644,root,root,755)
3363 %doc ext/pdo_sqlite/CREDITS
3364 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3365 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3370 %defattr(644,root,root,755)
3371 %doc ext/pgsql/{CREDITS,README}
3372 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3373 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3378 %defattr(644,root,root,755)
3379 %doc ext/phar/{CREDITS,TODO}
3380 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
3381 %attr(755,root,root) %{php_extensiondir}/phar.so
3382 %attr(755,root,root) %{_bindir}/phar%{php_suffix}.phar
3383 %if %{with alternatives}
3384 %ghost %{_bindir}/phar
3386 %attr(755,root,root) %{_bindir}/phar
3391 %defattr(644,root,root,755)
3392 %doc ext/posix/CREDITS
3393 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3394 %attr(755,root,root) %{php_extensiondir}/posix.so
3398 %defattr(644,root,root,755)
3399 %doc ext/pspell/{CREDITS,README}
3400 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3401 %attr(755,root,root) %{php_extensiondir}/pspell.so
3405 %defattr(644,root,root,755)
3406 %doc ext/readline/{CREDITS,README*}
3407 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3408 %attr(755,root,root) %{php_extensiondir}/readline.so
3412 %defattr(644,root,root,755)
3413 %doc ext/recode/CREDITS
3414 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3415 %attr(755,root,root) %{php_extensiondir}/recode.so
3419 %defattr(644,root,root,755)
3420 %doc ext/session/CREDITS
3421 %doc ext/session/mod_files.sh
3422 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3423 %attr(755,root,root) %{php_extensiondir}/session.so
3426 %defattr(644,root,root,755)
3427 %doc ext/shmop/{CREDITS,README}
3428 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3429 %attr(755,root,root) %{php_extensiondir}/shmop.so
3432 %defattr(644,root,root,755)
3433 %doc ext/simplexml/{CREDITS,README}
3434 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3435 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3439 %defattr(644,root,root,755)
3440 %doc ext/snmp/CREDITS
3441 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3442 %attr(755,root,root) %{php_extensiondir}/snmp.so
3446 %defattr(644,root,root,755)
3447 %doc ext/soap/{CREDITS,TODO*}
3448 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3449 %attr(755,root,root) %{php_extensiondir}/soap.so
3452 %defattr(644,root,root,755)
3453 %doc ext/sockets/CREDITS
3454 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3455 %attr(755,root,root) %{php_extensiondir}/sockets.so
3458 %defattr(644,root,root,755)
3459 %doc ext/spl/{CREDITS,README,TODO,examples}
3460 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3461 %attr(755,root,root) %{php_extensiondir}/spl.so
3465 %defattr(644,root,root,755)
3466 %doc ext/sqlite/{README,TODO,CREDITS}
3467 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
3468 %attr(755,root,root) %{php_extensiondir}/sqlite.so
3473 %defattr(644,root,root,755)
3474 %doc ext/sqlite3/CREDITS
3475 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3476 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3479 %if %{with sybase_ct}
3481 %defattr(644,root,root,755)
3482 %doc ext/sybase_ct/CREDITS
3483 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3484 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
3488 %defattr(644,root,root,755)
3489 %doc ext/sysvmsg/CREDITS
3490 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3491 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3494 %defattr(644,root,root,755)
3495 %doc ext/sysvsem/CREDITS
3496 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3497 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3500 %defattr(644,root,root,755)
3501 %doc ext/sysvshm/CREDITS
3502 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3503 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3506 %defattr(644,root,root,755)
3507 %dir %{php_data_dir}/tests/php
3508 %{php_data_dir}/tests/php/basic
3509 %{php_data_dir}/tests/php/classes
3510 %{php_data_dir}/tests/php/func
3511 %{php_data_dir}/tests/php/lang
3512 %{php_data_dir}/tests/php/output
3513 %{php_data_dir}/tests/php/run-test
3514 %{php_data_dir}/tests/php/security
3515 %{php_data_dir}/tests/php/strings
3516 %{php_data_dir}/tests/php/quicktester.inc
3517 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3521 %defattr(644,root,root,755)
3522 %doc ext/tidy/{CREDITS,README}
3523 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3524 %attr(755,root,root) %{php_extensiondir}/tidy.so
3528 %defattr(644,root,root,755)
3529 %doc ext/tokenizer/CREDITS
3530 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3531 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3535 %defattr(644,root,root,755)
3536 %doc ext/wddx/CREDITS
3537 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3538 %attr(755,root,root) %{php_extensiondir}/wddx.so
3542 %defattr(644,root,root,755)
3543 %doc ext/xml/CREDITS
3544 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3545 %attr(755,root,root) %{php_extensiondir}/xml.so
3548 %defattr(644,root,root,755)
3549 %doc ext/xmlreader/{CREDITS,README,TODO,examples}
3550 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3551 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3555 %defattr(644,root,root,755)
3556 %doc ext/xmlrpc/CREDITS
3557 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3558 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3562 %defattr(644,root,root,755)
3563 %doc ext/xmlwriter/{CREDITS,TODO}
3564 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3565 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3568 %defattr(644,root,root,755)
3569 %doc ext/xsl/CREDITS
3570 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3571 %attr(755,root,root) %{php_extensiondir}/xsl.so
3574 %defattr(644,root,root,755)
3575 %doc ext/zip/{CREDITS,TODO}
3576 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3577 %attr(755,root,root) %{php_extensiondir}/zip.so
3580 %defattr(644,root,root,755)
3581 %doc ext/zlib/CREDITS
3582 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3583 %attr(755,root,root) %{php_extensiondir}/zlib.so