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
42 %bcond_without apache1 # disable building Apache 1.3.x SAPI
43 %bcond_without apache2 # disable building Apache 2.x SAPI
44 %bcond_without cgi # disable CGI/FCGI SAPI
45 %bcond_without fpm # disable FPM SAPI
46 %bcond_without litespeed # build litespeed SAPI
48 %bcond_without bcmath # without bcmath extension module
49 %bcond_without bz2 # without bz2 extension module
50 %bcond_without calendar # without calendar extension module
51 %bcond_without ctype # without ctype extension module
52 %bcond_without curl # without CURL extension module
53 %bcond_without filter # without filter extension module
54 %bcond_without enchant # without Enchant extension module
55 %bcond_without imap # without IMAP extension module
56 %bcond_without interbase # without InterBase extension module
57 %bcond_without intl # without Intl extension module
58 %bcond_without ldap # without LDAP extension module
59 %bcond_without mhash # without mhash extension (supported by hash extension)
60 %bcond_without mssql # without MS SQL extension module
61 %bcond_with mysqlnd # with mysqlnd support in mysql related extensions
62 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
63 %bcond_with oci # with Oracle oci8 extension module (BR: proprietary libs)
64 %bcond_without odbc # without ODBC extension module
65 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
66 %bcond_without pcre # without PCRE extension module
67 %bcond_without pdo_sqlite # without PDO SQLite extension module
68 %bcond_without pgsql # without PostgreSQL extension module
69 %bcond_without phar # without phar extension module
70 %bcond_without pspell # without pspell extension module
71 %bcond_without recode # without recode extension module
72 %bcond_without snmp # without SNMP extension module
73 %bcond_without sqlite2 # without SQLite extension module
74 %bcond_without sqlite3 # without SQLite3 extension module
75 %bcond_without sybase_ct # without Sybase-CT extension module
76 %bcond_without tidy # without Tidy extension module
77 %bcond_without wddx # without WDDX extension module
78 %bcond_without xmlrpc # without XML-RPC extension module
80 %bcond_without instantclient # build Oracle oci8 extension module against oracle-instantclient package
81 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
82 %bcond_with mm # without mm support for session storage
83 %bcond_with system_gd # with system gd (imageantialias function is missing then)
84 %bcond_with system_libzip # with system libzip (reported broken currently)
86 %define apxs1 /usr/sbin/apxs1
87 %define apxs2 /usr/sbin/apxs
88 %define litespeed_version 5.5
92 %undefine with_apache1
93 %undefine with_apache2
95 %undefine with_litespeed
99 # has no effect on 64bit systems
103 %if %{with default_php}
104 %undefine with_alternatives
107 # mm is not thread safe
112 %ifnarch %{ix86} %{x8664} x32 sparc sparcv9 alpha
113 # ppc disabled (broken on th-ppc)
114 %undefine with_interbase
117 %ifnarch %{ix86} %{x8664} x32
118 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
123 %if %{without apache1} && %{without apache2}
124 ERROR: You need to select at least one Apache SAPI to build shared modules.
128 # filter depends on pcre
130 %undefine with_filter
133 %if "%{pld_release}" == "ac"
134 %define _noautoreqdep libphp_common.*
135 # if commandline --without was given. respect that
136 %if 0%{!?_without_default_php:1}
137 %define with_default_php 1
141 %if %{with default_php}
142 %undefine with_alternatives
147 %define ver_suffix 53
148 %define php_suffix %{!?with_default_php:%{ver_suffix}}
149 Summary: PHP: Hypertext Preprocessor
150 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
151 Summary(pl.UTF-8): Język skryptowy PHP
152 Summary(pt_BR.UTF-8): A linguagem de script PHP
153 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
154 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
155 Name: %{orgname}%{php_suffix}
157 Release: %{rel}%{?with_type_hints:.th}%{?with_oci8:.oci}
159 # All files licensed under PHP version 3.01, except
160 # Zend is licensed under Zend
161 # TSRM is licensed under BSD
162 License: PHP 3.01 and Zend and BSD
164 Source0: http://www.php.net/distributions/%{orgname}-%{version}.tar.bz2
165 # Source0-md5: 9469e240cbe6ac865aeaec89b253dd30
166 Source2: %{orgname}-mod_%{orgname}.conf
167 Source3: %{orgname}-cgi-fcgi.ini
168 Source4: %{orgname}-apache.ini
169 Source5: %{orgname}-cli.ini
170 Source10: %{orgname}-fpm.init
171 Source11: %{orgname}-fpm.logrotate
172 Source12: %{orgname}-branch.sh
173 Source13: dep-tests.sh
174 Source14: skip-tests.sh
175 Source15: http://litespeedtech.com/packages/lsapi/%{orgname}-litespeed-%{litespeed_version}.tgz
176 # Source15-md5: 9d58485d5fd6b5f5fefcec41b9ce283e
177 Patch0: %{orgname}-shared.patch
178 Patch1: %{orgname}-pldlogo.patch
179 Patch2: %{orgname}-mail.patch
180 Patch3: %{orgname}-link-libs.patch
181 Patch4: %{orgname}-libpq_fs_h_path.patch
182 Patch5: %{orgname}-filter-shared.patch
183 Patch6: %{orgname}-build_modules.patch
184 Patch7: %{orgname}-sapi-ini-file.patch
185 Patch8: %{orgname}-config-file-scan-dir.patch
186 Patch9: %{orgname}-sh.patch
187 Patch10: %{orgname}-ini.patch
189 %if %{with type_hints}
190 Patch12: http://ilia.ws/patch/type_hint_53_v2.txt
192 Patch13: bug-test-pcntl-55479.patch
193 Patch14: %{orgname}-no_pear_install.patch
194 Patch15: %{orgname}-zlib.patch
195 Patch16: php-bug-71475.patch
196 Patch17: %{orgname}-readline.patch
197 Patch18: %{orgname}-nohttpd.patch
198 Patch19: %{orgname}-gd_imagerotate_enable.patch
199 Patch20: %{orgname}-uint32_t.patch
200 Patch21: %{orgname}-dba-link.patch
201 Patch22: %{orgname}-both-apxs.patch
202 Patch23: %{orgname}-builddir.patch
203 Patch24: %{orgname}-zlib-for-getimagesize.patch
204 Patch25: %{orgname}-stupidapache_version.patch
205 Patch26: %{orgname}-pear.patch
206 Patch27: %{orgname}-config-dir.patch
207 Patch29: %{orgname}-fcgi-graceful.patch
208 Patch31: %{orgname}-fcgi-error_log-no-newlines.patch
209 Patch34: %{orgname}-libtool.patch
210 Patch35: %{orgname}-tds.patch
211 Patch36: %{orgname}-mysql-charsetphpini.patch
212 Patch37: %{orgname}-mysqli-charsetphpini.patch
213 Patch38: %{orgname}-pdo_mysql-charsetphpini.patch
214 Patch39: %{orgname}-use-prog_sendmail.patch
215 Patch41: %{orgname}-fpm-config.patch
216 Patch42: %{orgname}-fpm-shared.patch
217 Patch43: %{orgname}-silent-session-cleanup.patch
218 Patch44: %{orgname}-include_path.patch
219 Patch45: %{orgname}-imap-annotations.patch
220 Patch46: %{orgname}-imap-myrights.patch
221 Patch47: suhosin.patch
222 Patch48: php-bug-60598.patch
223 Patch49: %{orgname}-m4-divert.patch
224 Patch50: extension-shared-optional-dep.patch
225 Patch51: spl-shared.patch
226 Patch52: pcre-shared.patch
227 Patch53: fix-test-run.patch
228 Patch59: %{orgname}-systzdata.patch
229 Patch60: %{orgname}-oracle-instantclient.patch
230 Patch62: mcrypt-libs.patch
231 Patch63: %{orgname}-mysql-nowarning.patch
232 Patch64: %{orgname}-m4.patch
233 # http://spot.fedorapeople.org/php-5.3.6-libzip.patch
234 Patch65: system-libzip.patch
235 Patch66: %{orgname}-db.patch
236 Patch67: php-litespeed.patch
238 Patch69: fpm-conf-split.patch
239 Patch70: mysql-lib-ver-mismatch.patch
240 # git clone git://github.com/php/php-src.git && git checkout PHP_5_6
241 # git diff php-5.3.29..PHP-5.6 ./ext/fileinfo/libmagic > ~/rpm/packages/php/php-fileinfo.patch
242 # git diff php-5.3.29..PHP-5.6 ./ext/fileinfo/config.m4 >> ~/rpm/packages/php/php-fileinfo.patch
243 # git diff php-5.3.29..PHP-5.6 ./ext/fileinfo/Makefile.frag >> ~/rpm/packages/php/php-fileinfo.patch
244 # git diff php-5.3.29..PHP-5.6 ./ext/fileinfo/data_file.c >> ~/rpm/packages/php/php-fileinfo.patch
245 Patch71: php-fileinfo.patch
246 # Patch71-md5: 771e4934132c5f5c968248c954d1ef6e
247 Patch72: x32-suhosin.patch
248 Patch73: php-bug-68486.patch
249 # Fixes for security bugs
250 # https://repo.webtatic.com/yum/centos/5/SRPMS/repoview/php.html
251 # also from RHEL6/CentOS7
252 Patch220: php-5.3.3-CVE-2011-4153.patch
254 Patch247: php-5.3.3-CVE-2014-2497.patch
256 Patch249: php-5.3.29-CVE-2014-3597.patch
257 Patch250: php-5.3.3-CVE-2014-4698.patch
258 Patch251: php-5.3.3-CVE-2014-4670.patch
259 Patch252: php-5.3.3-CVE-2014-3668.patch
260 Patch253: php-5.3.3-CVE-2014-3669.patch
261 Patch254: php-5.3.3-CVE-2014-3670.patch
263 Patch256: php-5.3.29-CVE-2014-8142.patch
264 Patch257: php-5.3.29-CVE-2015-0231.patch
265 Patch258: php-5.3.29-CVE-2015-0232.patch
266 URL: http://www.php.net/
267 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
268 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
269 BuildRequires: autoconf >= 2.53
270 BuildRequires: automake >= 1.4d
272 BuildRequires: bzip2-devel
273 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
274 BuildRequires: cyrus-sasl-devel
275 BuildRequires: db-devel >= 4.0
276 BuildRequires: elfutils-devel
277 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
279 %{?with_kerberos5:BuildRequires: heimdal-devel}
280 %{?with_system_libzip:BuildRequires: libzip-devel >= 0.10-3}
281 BuildRequires: mysql-devel
282 BuildRequires: pkgconfig
283 BuildRequires: sed >= 4.0
284 %if %{with mssql} || %{with sybase_ct}
285 BuildRequires: freetds-devel >= 0.82
287 BuildRequires: freetype-devel >= 2.0
288 %if %{with system_gd}
289 BuildRequires: gd-devel >= 2.0.28-4
290 BuildRequires: gd-devel(imagerotate) = 5.2.0
292 BuildRequires: gdbm-devel
293 BuildRequires: gmp-devel
294 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
295 BuildRequires: libicu-devel
296 BuildRequires: libjpeg-devel
297 BuildRequires: libltdl-devel >= 1.4
298 BuildRequires: libmcrypt-devel >= 2.4.4
299 BuildRequires: libpng-devel >= 1.0.8
300 %{?with_intl:BuildRequires: libstdc++-devel}
301 %if "%{pld_release}" != "ac"
302 BuildRequires: libtool >= 2:2.4.6
304 BuildRequires: libtool >= 1.4.3
306 BuildRequires: libxml2-devel >= 1:2.7.6-4
307 BuildRequires: libxslt-devel >= 1.1.0
308 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
309 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
310 %if %{with openssl} || %{with ldap}
311 BuildRequires: openssl-devel >= 0.9.7d
313 %{?with_gcov:BuildRequires: lcov}
314 %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
315 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
316 %{?with_oci:%{?with_instantclient:BuildRequires: oracle-instantclient-devel}}
317 BuildRequires: pam-devel
318 %{?with_pcre:BuildRequires: pcre-devel >= 8.10}
319 BuildRequires: pkgconfig
320 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
321 %{?with_pgsql:BuildRequires: postgresql-devel}
322 BuildRequires: readline-devel
323 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
324 BuildRequires: rpm >= 4.4.9-56
325 BuildRequires: rpm-build >= 4.4.0
326 BuildRequires: rpmbuild(macros) >= 1.566
327 %{?with_sqlite2:BuildRequires: sqlite-devel}
328 %if %{with sqlite3} || %{with pdo_sqlite}
329 BuildRequires: sqlite3-devel >= 3.3.9
331 BuildRequires: t1lib-devel
332 %{?with_tidy:BuildRequires: tidy-devel}
333 %{?with_odbc:BuildRequires: unixODBC-devel}
334 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
335 BuildRequires: zlib-devel >= 1.0.9
337 BuildRequires: apache1-devel
340 BuildRequires: apache-devel >= 2.0.52-2
341 BuildRequires: apr-devel >= 1:1.0.0
342 BuildRequires: apr-util-devel >= 1:1.0.0
344 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
346 %define php_sysconfdir /etc/%{name}
347 %define php_extensiondir %{_libdir}/%{name}
348 %define _sysconfdir %{php_sysconfdir}
350 # must be in sync with source. extra check ensuring that it is so is done in %%build
351 %define php_api_version 20090626
352 %define zend_module_api 20090626
353 %define zend_extension_api 220090626
357 %define enchantver 1.1.0
358 %define fileinfover 1.0.5-dev
360 %define intlver 1.1.0
361 %define jsonver 1.2.1
362 %define pharver 2.0.1
363 %define sqlitever 2.0-dev
364 %define sqlite3ver 0.7-dev
365 %define zipver 1.11.0
367 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
368 %define php_debug %{!?debug:0}%{?debug:1}
371 %undefine with_ccache
375 # ORACLE_HOME is required for oci8 ext to build
376 %define _preserve_env %_preserve_env_base ORACLE_HOME
380 PHP is an HTML-embedded scripting language. PHP attempts to make it
381 easy for developers to write dynamically generated web pages. PHP also
382 offers built-in database integration for several commercial and
383 non-commercial database management systems, so writing a
384 database-enabled web page with PHP is fairly simple. The most common
385 use of PHP coding is probably as a replacement for CGI scripts. The
386 mod_php module enables the Apache web server to understand and process
387 the embedded PHP language in web pages. This package contains PHP
390 %{?with_suhosin:This version is built with Suhosin-Patch for PHP.}
392 %description -l fr.UTF-8
393 PHP est un langage de script embarque dans le HTM. PHP essaye de
394 rendre simple aux developpeurs d'ecrire des pages web generees
395 dynamiquement. PHP incorpore egalement une integration avec plusieurs
396 systemes de gestion de bases de donnees commerciaux et
397 non-connerciaux, qui rent facile la creation de pages web liees avec
398 des bases de donnees. L'utilisation la plus commune de PHP est
399 probablement en remplacement de scripts CGI. Le module mod_php permet
400 au serveur web Apache de comprendre et de traiter le langage PHP
401 integre dans des pages web. Ce package contient PHP version
404 %description -l pl.UTF-8
405 PHP jest językiem skryptowym, którego polecenia umieszcza się w
406 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
407 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
408 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
409 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
410 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
411 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
412 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
415 %description -l pt_BR.UTF-8
416 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
417 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
418 com algumas características únicas, específicas ao PHP. O objetivo da
419 linguagem é permitir que desenvolvedores web escrevam páginas
420 dinamicamente geradas de forma rápida.
422 %description -l ru.UTF-8
423 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
424 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
425 для работы с базами данных относительно просто. Наиболее популярное
426 использование PHP - замена для CGI скриптов.
428 %description -l uk.UTF-8
429 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
430 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
431 роботи з базами даних є доволі простим. Найбільш популярне
432 використання PHP - заміна для CGI скриптів.
434 %package -n apache1-mod_%{name}
435 Summary: PHP DSO module for Apache 1.3.x
436 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x
437 Group: Development/Languages/PHP
438 Requires: %{name}-common = %{epoch}:%{version}-%{release}
439 Requires: apache1(EAPI) >= 1.3.33-2
440 Requires: apache1-mod_mime
441 Provides: webserver(php) = %{version}
442 Obsoletes: apache-mod_php < 1:4.1.1
443 Obsoletes: apache1-mod_php < 4:5.3.28-7
446 %description -n apache1-mod_%{name}
447 PHP as DSO module for Apache 1.3.x.
449 %description -n apache1-mod_%{name} -l pl.UTF-8
450 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x.
452 %package -n apache-mod_%{name}
453 Summary: PHP support for Apache 2.x
454 Summary(pl.UTF-8): Wsparcie PHP dla Apache 2.x
455 Group: Development/Languages/PHP
456 Requires: apache-mod_%{name}-core = %{epoch}:%{version}-%{release}
457 Requires: %{name}-common = %{epoch}:%{version}-%{release}
458 Provides: webserver(php) = %{version}
459 Obsoletes: apache-mod_php < 4:5.3.28-7
462 %description -n apache-mod_%{name}
463 PHP support for Apache 2.x.
465 %description -n apache-mod_%{name} -l pl.UTF-8
466 Wsparcie PHP dla Apache 2.x.
468 %package -n apache-mod_%{name}-core
469 Summary: PHP DSO module for Apache 2.x
470 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
471 Group: Development/Languages/PHP
472 Requires: %{name}-common = %{epoch}:%{version}-%{release}
473 Requires: apache(modules-api) = %{apache_modules_api}
474 Requires: apache-mod_mime
476 %description -n apache-mod_%{name}-core
477 PHP as DSO module for Apache 2.x.
479 %description -n apache-mod_%{name}-core -l pl.UTF-8
480 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
483 Summary: PHP for litespeed HTTP server
484 Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
485 Group: Development/Languages/PHP
486 Requires: %{name}-common = %{epoch}:%{version}-%{release}
487 Provides: php(litespeed)
488 Provides: webserver(php) = %{version}
489 Obsoletes: php-litespeed < 4:5.3.28-7
491 %description litespeed
492 PHP for litespeed HTTP server.
494 %description litespeed -l pl.UTF-8
495 PHP dla serwera HTTP litespeed.
498 Summary: PHP as CGI/FastCGI program
499 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
500 Group: Development/Languages/PHP
501 Requires: %{name}-common = %{epoch}:%{version}-%{release}
502 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
505 Provides: webserver(php) = %{version}
506 Obsoletes: php-cgi < 4:5.3.28-7
507 Obsoletes: php-fcgi < 4:5.3.0
510 PHP as CGI or FastCGI program.
512 %description cgi -l pl.UTF-8
513 PHP jako program CGI lub FastCGI.
516 Summary: PHP as CLI interpreter
517 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
518 Group: Development/Languages/PHP
519 Requires: %{name}-common = %{epoch}:%{version}-%{release}
520 Obsoletes: php-cli < 4:5.3.28-7
523 PHP as CLI interpreter.
525 %description cli -l pl.UTF-8
526 PHP jako interpreter działający z linii poleceń.
529 Summary: PHP library for embedding in applications
530 Summary(pl.UTF-8): Biblioteka PHP do osadzania w aplikacjach
532 Requires: %{name}-common = %{epoch}:%{version}-%{release}
533 Obsoletes: php-embedded < 4:5.3.28-7
535 %description embedded
536 The php-embedded package contains a library which can be embedded into
537 applications to provide PHP scripting language support.
539 %description embedded -l pl.UTF-8
540 Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
541 celu obsługi PHP jako języka skryptowego.
544 Summary: /usr/bin/php symlink
545 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
546 Group: Development/Languages/PHP
547 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
548 Obsoletes: /usr/bin/php
549 Obsoletes: php-program < 4:5.3.28-7
552 Package providing /usr/bin/php symlink to PHP CLI.
554 %description program -l pl.UTF-8
555 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
558 Summary: PHP FastCGI Process Manager
559 Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
560 Group: Development/Languages/PHP
561 URL: http://www.php-fpm.org/
562 Requires(post,preun): /sbin/chkconfig
563 Requires(postun): /usr/sbin/userdel
564 Requires(pre): /bin/id
565 Requires(pre): /usr/sbin/useradd
566 Requires: %{name}-common = %{epoch}:%{version}-%{release}
567 %{?with_alternatives:Requires: alternatives}
568 Requires: php-dirs >= 1.4-2
573 Provides: webserver(php) = %{version}
574 Obsoletes: php-fpm < 4:5.3.28-7
575 %if "%{pld_release}" != "ac"
576 Conflicts: logrotate < 3.8.0
580 PHP FastCGI Process Manager.
582 %description fpm -l pl.UTF-8
583 PHP FastCGI Process Manager - zarządca procesów FastCGI.
586 Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
587 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
588 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
589 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
591 Requires(post): sed >= 4.0
592 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
593 Requires: glibc >= 6:2.3.5
594 Requires: php-dirs >= 1.4
595 Requires: rpm-whiteout >= 1.28
597 %if "%{pld_release}" == "ac"
598 # postpone tree rebuild in ac
599 Provides: php5(debug) = %{php_debug}
600 Provides: php5(thread-safety) = %{zend_zts}
602 Provides: %{name}(debug) = %{php_debug}
603 Provides: %{name}(modules_api) = %{php_api_version}
604 Provides: %{name}(thread-safety) = %{zend_zts}
605 Provides: %{name}(zend_extension_api) = %{zend_extension_api}
606 Provides: %{name}(zend_module_api) = %{zend_module_api}
607 Provides: %{name}-core
608 Provides: %{name}-date
609 Provides: %{name}-ereg
610 Provides: %{name}-reflection
611 Provides: %{name}-standard
612 Provides: php(core) = %{version}
615 Provides: php(libxml)
616 Provides: php(reflection)
617 Provides: php(standard)
618 %{!?with_mysqlnd:Obsoletes: php-mysqlnd}
619 %{?with_pcre:%requires_ge_to pcre pcre-devel}
621 Obsoletes: php-common < 4:5.3.28-7
622 Obsoletes: php-pecl-domxml
623 Conflicts: php4-common < 3:4.4.4-8
624 Conflicts: rpm < 4.4.2-0.2
627 Common files needed by both Apache modules and CGI/CLI SAPIs.
629 %description common -l pl.UTF-8
630 Wspólne pliki dla modułu Apache'a i programu CGI.
632 %description common -l ru.UTF-8
633 Этот пакет содержит общие файлы для разных вариантов реализации PHP
634 (самодостаточной и в качестве модуля Apache).
636 %description common -l uk.UTF-8
637 Цей пакет містить спільні файли для різних варіантів реалізації PHP
638 (самодостатньої та в якості модуля Apache).
641 Summary: Files for PHP modules development
642 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
643 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
644 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
645 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
646 Group: Development/Languages/PHP
647 Requires: %{name}-common = %{epoch}:%{version}-%{release}
648 Requires: autoconf >= 2.13
650 %if "%{pld_release}" != "ac"
651 Requires: libtool >= 2:2.4.6
655 %{?with_embed:Requires: %{name}-embedded = %{epoch}:%{version}-%{release}}
656 %{?with_pcre:Requires: pcre-devel >= 8.10}
658 Provides: php-devel = %{epoch}:%{version}-%{release}
660 Obsoletes: php-pear-devel
661 Obsoletes: php4-devel
662 Obsoletes: php52-devel
663 Obsoletes: php54-devel
664 Obsoletes: php55-devel
665 Obsoletes: php56-devel
666 Obsoletes: php70-devel
667 Obsoletes: php71-devel
668 Obsoletes: php72-devel
671 The php-devel package lets you compile dynamic extensions to PHP.
672 Included here is the source for the PHP extensions. Instead of
673 recompiling the whole PHP binary to add support for, say, oracle,
674 install this package and use the new self-contained extensions
675 support. For more information, read the file
676 README.SELF-CONTAINED-EXTENSIONS.
678 %description devel -l pl.UTF-8
679 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
680 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
681 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
682 samodzielnych rozszerzeniach można znaleźć w pliku
683 README.SELF-CONTAINED-EXTENSIONS.
685 %description devel -l pt_BR.UTF-8
686 Este pacote contém arquivos usados no desenvolvimento de programas ou
689 %description devel -l ru.UTF-8
690 Пакет php-devel дает возможность компилировать динамические расширения
691 PHP. Пакет включает исходный код этих расширений. Вместо повторной
692 компиляции бинарного файла PHP для добавления, например, поддержки
693 oracle, установите этот пакет для компилирования отдельных расширений.
694 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
696 %description devel -l uk.UTF-8
697 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
698 До пакету включено вихідний код для розширень. Замість повторної
699 компіляції бінарного файлу PHP для додання, наприклад, підтримки
700 oracle, встановіть цей пакет для компіляції окремих розширень.
701 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
704 Summary: bcmath extension module for PHP
705 Summary(pl.UTF-8): Moduł bcmath dla PHP
707 URL: http://www.php.net/manual/en/book.bc.php
708 Requires: %{name}-common = %{epoch}:%{version}-%{release}
709 Provides: php(bcmath)
710 Obsoletes: php-bcmath < 4:5.3.28-7
713 This is a dynamic shared object (DSO) for PHP that will add bc style
714 precision math functions support.
716 %description bcmath -l pl.UTF-8
717 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
718 matematycznych takich jak w programie bc.
721 Summary: Bzip2 extension module for PHP
722 Summary(pl.UTF-8): Moduł bzip2 dla PHP
724 URL: http://www.php.net/manual/en/book.bzip2.php
725 Requires: %{name}-common = %{epoch}:%{version}-%{release}
726 Provides: php(bz2) = %{bz2ver}
728 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
729 Obsoletes: php-bz2 < 4:5.3.28-7
730 Obsoletes: php-bzip2 < 4:5.2.14-3
731 Obsoletes: php-pecl-bz2 < %{bz2ver}
734 This is a dynamic shared object (DSO) for PHP that will add bzip2
735 compression support to PHP.
737 %description bz2 -l pl.UTF-8
738 Moduł PHP umożliwiający używanie kompresji bzip2.
741 Summary: Calendar extension module for PHP
742 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
744 URL: http://www.php.net/manual/en/book.calendar.php
745 Requires: %{name}-common = %{epoch}:%{version}-%{release}
746 Provides: php(calendar)
747 Obsoletes: php-calendar < 4:5.3.28-7
749 %description calendar
750 This is a dynamic shared object (DSO) for PHP that will add calendar
753 %description calendar -l pl.UTF-8
754 Moduł PHP dodający wsparcie dla kalendarza.
757 Summary: ctype extension module for PHP
758 Summary(pl.UTF-8): Moduł ctype dla PHP
760 URL: http://www.php.net/manual/en/book.ctype.php
761 Requires: %{name}-common = %{epoch}:%{version}-%{release}
763 Obsoletes: php-ctype < 4:5.3.28-7
766 This is a dynamic shared object (DSO) for PHP that will add ctype
769 %description ctype -l pl.UTF-8
770 Moduł PHP umożliwiający korzystanie z funkcji ctype.
773 Summary: curl extension module for PHP
774 Summary(pl.UTF-8): Moduł curl dla PHP
776 URL: http://www.php.net/manual/en/book.curl.php
777 Requires: %{name}-common = %{epoch}:%{version}-%{release}
779 Obsoletes: php-curl < 4:5.3.28-7
782 This is a dynamic shared object (DSO) for PHP that will add curl
785 %description curl -l pl.UTF-8
786 Moduł PHP umożliwiający korzystanie z biblioteki curl.
789 Summary: DBA extension module for PHP
790 Summary(pl.UTF-8): Moduł DBA dla PHP
792 URL: http://www.php.net/manual/en/book.dba.php
793 Requires: %{name}-common = %{epoch}:%{version}-%{release}
795 Obsoletes: php-dba < 4:5.3.28-7
798 This is a dynamic shared object (DSO) for PHP that will add flat-file
799 databases (DBA) support.
801 %description dba -l pl.UTF-8
802 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
806 Summary: DOM extension module for PHP
807 Summary(pl.UTF-8): Moduł DOM dla PHP
809 URL: http://www.php.net/manual/en/book.dom.php
810 Requires: %{name}-common = %{epoch}:%{version}-%{release}
812 # it has some compatibility functions
813 Provides: %{name}-domxml = %{epoch}:%{version}-%{release}
814 Provides: php(domxml)
815 Obsoletes: php-dom < 4:5.3.28-7
816 Obsoletes: php-domxml <= 3:4.3.8-1
819 This is a dynamic shared object (DSO) for PHP that will add new DOM
822 %description dom -l pl.UTF-8
823 Moduł PHP dodający nową obsługę DOM.
826 Summary: libenchant binder
827 Summary(pl.UTF-8): dowiązania biblioteki libenchant
829 URL: http://www.php.net/manual/en/book.exif.php
830 Requires: %{name}-common = %{epoch}:%{version}-%{release}
831 Provides: php(enchant) = %{enchantver}
832 Obsoletes: php-enchant < 4:5.3.28-7
833 Obsoletes: php-pecl-enchant < %{enchantver}
836 Enchant is a binder for libenchant. Libenchant provides a common API
837 for many spell libraries:
838 - aspell/pspell (intended to replace ispell)
841 - myspell (OpenOffice.org project, mozilla)
842 - uspell (primarily Yiddish, Hebrew, and Eastern European languages) A
843 plugin system allows to add custom spell support.
845 %description enchant -l pl.UTF-8
846 Enchant jest dowiązaniem do biblioteki libenchant, która udostępnia
847 ujednolicone API dla wielu narzędzi sprawdzających pisownię:
848 - aspell/pspell (w zamierzeniu ma zastąpić ispell)
851 - myspell (projekt OpenOffice.org, mozilla)
852 - uspell (głównie Jidysz, Hebrajski oraz języki wschodnioeuropejskie)
853 System wtyczek pozwala na dodanie wsparcia dla kolejnych narzędzi.
856 Summary: exif extension module for PHP
857 Summary(pl.UTF-8): Moduł exif dla PHP
859 URL: http://www.php.net/manual/en/book.exif.php
860 Requires: %{name}-common = %{epoch}:%{version}-%{release}
862 Obsoletes: php-exif < 4:5.3.28-7
865 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
866 support in image files.
868 %description exif -l pl.UTF-8
869 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
872 Summary: libmagic bindings
873 Summary(pl.UTF-8): Wiązania do libmagic
875 URL: http://www.php.net/manual/en/book.fileinfo.php
876 Requires: %{name}-common = %{epoch}:%{version}-%{release}
877 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
878 Provides: php(fileinfo) = %{fileinfover}
879 Obsoletes: php-fileinfo < 4:5.3.28-7
880 Obsoletes: php-mime_magic
881 Obsoletes: php-pecl-fileinfo < %{fileinfover}
883 %description fileinfo
884 This extension allows retrieval of information regarding vast majority
885 of file. This information may include dimensions, quality, length
888 Additionally it can also be used to retrieve the MIME type for a
889 particular file and for text files proper language encoding.
891 %description fileinfo -l pl.UTF-8
892 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
893 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
895 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
896 pliku oraz kodowania plików tekstowych.
899 Summary: Extension for safely dealing with input parameters
900 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
902 URL: http://www.php.net/manual/en/book.filter.php
903 Requires: %{name}-common = %{epoch}:%{version}-%{release}
904 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
905 Provides: php(filter)
906 Obsoletes: php-filter < 4:5.3.28-7
907 Obsoletes: php-pecl-filter
910 We all know that you should always check input variables, but PHP does
911 not offer really good functionality for doing this in a safe way. The
912 Input Filter extension is meant to address this issue by implementing
913 a set of filters and mechanisms that users can use to safely access
916 %description filter -l pl.UTF-8
917 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
918 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
919 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
920 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
921 mogą bezpiecznie używać do dostępu do danych.
924 Summary: FTP extension module for PHP
925 Summary(pl.UTF-8): Moduł FTP dla PHP
927 URL: http://www.php.net/manual/en/book.ftp.php
928 Requires: %{name}-common = %{epoch}:%{version}-%{release}
930 Obsoletes: php-ftp < 4:5.3.28-7
933 This is a dynamic shared object (DSO) for PHP that will add FTP
936 %description ftp -l pl.UTF-8
937 Moduł PHP dodający obsługę protokołu FTP.
940 Summary: GD extension module for PHP
941 Summary(pl.UTF-8): Moduł GD dla PHP
943 URL: http://www.php.net/manual/en/book.image.php
944 Requires: %{name}-common = %{epoch}:%{version}-%{release}
945 %if %{with system_gd}
946 Requires: gd >= 2.0.28-4
948 Requires: gd(imagerotate) = 5.2.0
951 Obsoletes: php-gd < 4:5.3.28-7
954 This is a dynamic shared object (DSO) for PHP that will add GD
955 support, allowing you to create and manipulate images with PHP.
957 %description gd -l pl.UTF-8
958 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
959 tworzenie i obróbkę obrazków.
962 Summary: gettext extension module for PHP
963 Summary(pl.UTF-8): Moduł gettext dla PHP
965 URL: http://www.php.net/manual/en/book.gettext.php
966 Requires: %{name}-common = %{epoch}:%{version}-%{release}
967 Provides: php(gettext)
968 Obsoletes: php-gettext < 4:5.3.28-7
971 This is a dynamic shared object (DSO) for PHP that will add gettext
974 %description gettext -l pl.UTF-8
975 Moduł PHP dodający obsługę lokalizacji przez gettext.
978 Summary: gmp extension module for PHP
979 Summary(pl.UTF-8): Moduł gmp dla PHP
981 URL: http://www.php.net/manual/en/book.gmp.php
982 Requires: %{name}-common = %{epoch}:%{version}-%{release}
984 Obsoletes: php-gmp < 4:5.3.28-7
987 This is a dynamic shared object (DSO) for PHP that will add arbitrary
988 length number support with GNU MP library.
990 %description gmp -l pl.UTF-8
991 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
992 liczbach o dowolnej długości.
995 Summary: HASH Message Digest Framework
996 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
998 URL: http://www.php.net/manual/en/book.gmp.php
999 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1000 Provides: php(hash) = %{hashver}
1002 Provides: php(mhash)
1003 Provides: php-mhash = %{epoch}:%{version}-%{release}
1004 Obsoletes: php-mhash < 4:5.3.0
1006 Obsoletes: php-hash < 4:5.3.28-7
1007 Obsoletes: php-pecl-hash < %{hashver}
1010 Native implementations of common message digest algorithms using a
1011 generic factory method.
1013 %description hash -l pl.UTF-8
1014 Natywne implementacje popularnych algorytmów obliczania skrótów
1015 wiadomości przy użyciu wspólnego interfejsu.
1018 Summary: iconv extension module for PHP
1019 Summary(pl.UTF-8): Moduł iconv dla PHP
1021 URL: http://www.php.net/manual/en/book.iconv.php
1022 Requires: %{_libdir}/gconv
1023 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1025 Provides: php(iconv)
1026 Obsoletes: php-iconv < 4:5.3.28-7
1029 This is a dynamic shared object (DSO) for PHP that will add iconv
1032 %description iconv -l pl.UTF-8
1033 Moduł PHP dodający obsługę iconv.
1036 Summary: IMAP extension module for PHP
1037 Summary(pl.UTF-8): Moduł IMAP dla PHP
1038 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
1040 URL: http://www.php.net/manual/en/book.imap.php
1041 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1042 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1043 Requires: imap-lib >= 1:2007e-2
1045 Obsoletes: php-imap < 4:5.3.28-7
1048 This is a dynamic shared object (DSO) for PHP that will add IMAP
1051 %description imap -l pl.UTF-8
1052 Moduł PHP dodający obsługę skrzynek IMAP.
1054 %description imap -l pt_BR.UTF-8
1055 Um módulo para aplicações PHP que usam IMAP.
1058 Summary: InterBase/Firebird database module for PHP
1059 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
1061 URL: http://www.php.net/manual/en/book.ibase.php
1062 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1063 Provides: php(interbase)
1064 %{?with_interbase_inst:Autoreq: false}
1065 Obsoletes: php-interbase < 4:5.3.28-7
1067 %description interbase
1068 This is a dynamic shared object (DSO) for PHP that will add InterBase
1069 and Firebird database support.
1071 %description interbase -l pl.UTF-8
1072 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
1075 Summary: Internationalization extension (ICU wrapper)
1076 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
1078 URL: http://www.php.net/intl
1079 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1080 Provides: php(intl) = %{intlver}
1081 Obsoletes: php-intl < 4:5.3.28-7
1082 Obsoletes: php-pecl-intl < %{intlver}
1085 Internationalization extension (further is referred as Intl) is a
1086 wrapper for ICU library, enabling PHP programmers to perform
1087 UCA-conformant collation and date/time/number/currency formatting in
1090 %description intl -l pl.UTF-8
1091 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
1092 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
1093 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
1097 Summary: PHP C extension for JSON serialization
1098 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
1100 URL: http://www.php.net/manual/en/book.json.php
1101 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1102 Provides: php(json) = %{jsonver}
1103 Obsoletes: php-json < 4:5.3.28-7
1104 Obsoletes: php-pecl-json < %{jsonver}
1107 php-json is an extremely fast PHP C extension for JSON (JavaScript
1108 Object Notation) serialisation.
1110 %description json -l pl.UTF-8
1111 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
1112 (JavaScript Object Notation).
1115 Summary: LDAP extension module for PHP
1116 Summary(pl.UTF-8): Moduł LDAP dla PHP
1117 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
1119 URL: http://www.php.net/manual/en/book.ldap.php
1120 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1122 Obsoletes: php-ldap < 4:5.3.28-7
1125 This is a dynamic shared object (DSO) for PHP that will add LDAP
1128 %description ldap -l pl.UTF-8
1129 Moduł PHP dodający obsługę LDAP.
1131 %description ldap -l pt_BR.UTF-8
1132 Um módulo para aplicações PHP que usam LDAP.
1135 Summary: mbstring extension module for PHP
1136 Summary(pl.UTF-8): Moduł mbstring dla PHP
1138 URL: http://www.php.net/manual/en/book.mbstring.php
1139 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1140 Provides: php(mbstring)
1141 Obsoletes: php-mbstring < 4:5.3.28-7
1143 %description mbstring
1144 This is a dynamic shared object (DSO) for PHP that will add multibyte
1147 %description mbstring -l pl.UTF-8
1148 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1151 Summary: mcrypt extension module for PHP
1152 Summary(pl.UTF-8): Moduł mcrypt dla PHP
1154 URL: http://www.php.net/manual/en/book.mcrypt.php
1155 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1156 Provides: php(mcrypt)
1157 Obsoletes: php-mcrypt < 4:5.3.28-7
1160 This is a dynamic shared object (DSO) for PHP that will add mcrypt
1163 %description mcrypt -l pl.UTF-8
1164 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
1167 Summary: MS SQL extension module for PHP
1168 Summary(pl.UTF-8): Moduł MS SQL dla PHP
1170 URL: http://www.php.net/manual/en/book.mssql.php
1171 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1172 Provides: php(mssql)
1173 Obsoletes: php-mssql < 4:5.3.28-7
1176 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1177 databases support through FreeTDS library.
1179 %description mssql -l pl.UTF-8
1180 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
1184 Summary: MySQL database module for PHP
1185 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
1186 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
1188 URL: http://www.php.net/manual/en/book.mysql.php
1189 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1190 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1191 Provides: php(mysql)
1192 Obsoletes: php-mysql < 4:5.3.28-7
1195 This is a dynamic shared object (DSO) for PHP that will add MySQL
1198 %description mysql -l pl.UTF-8
1199 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
1201 %description mysql -l pt_BR.UTF-8
1202 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1205 Summary: MySQLi module for PHP
1206 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1208 URL: http://www.php.net/manual/en/book.mysqli.php
1209 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1210 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1211 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1212 Provides: php(mysqli)
1213 Obsoletes: php-mysqli < 4:5.3.28-7
1216 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1217 (Improved MySQL) support. The difference between it and mysql module
1218 is that it provides access to functionality of MySQL 4.1 and above.
1220 %description mysqli -l pl.UTF-8
1221 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1222 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1223 MySQL w wersji 4.1 i nowszych.
1226 Summary: MySQL Native Client Driver for PHP
1227 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1229 URL: http://www.php.net/manual/en/book.mysqlnd.php
1230 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1231 Provides: php(mysqlnd)
1232 Obsoletes: php-mysqlnd < 4:5.3.28-7
1234 %description mysqlnd
1235 MySQL Native Driver is a replacement for the MySQL Client Library
1238 Because MySQL Native Driver is written as a PHP extension, it is
1239 tightly coupled to the workings of PHP. This leads to gains in
1240 efficiency, especially when it comes to memory usage, as the driver
1241 uses the PHP memory management system. It also supports the PHP memory
1242 limit. Using MySQL Native Driver leads to comparable or better
1243 performance than using MySQL Client Library, it always ensures the
1244 most efficient use of memory. One example of the memory efficiency is
1245 the fact that when using the MySQL Client Library, each row is stored
1246 in memory twice, whereas with the MySQL Native Driver each row is only
1247 stored once in memory.
1249 %description mysqlnd -l pl.UTF-8
1250 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1251 klienckiej MySQL (libmysql).
1253 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1254 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1255 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1256 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1257 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1258 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1259 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1260 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1261 tym sterowniku - tylko raz.
1264 Summary: Oracle 8+ database module for PHP
1265 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1267 URL: http://www.php.net/manual/en/book.oci8.php
1268 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1270 Obsoletes: php-oci8 < 4:5.3.28-7
1274 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1275 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1277 %description oci8 -l pl.UTF-8
1278 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1279 poprzez interfejs Oracle8 Call-Interface (OCI8).
1282 Summary: ODBC extension module for PHP
1283 Summary(pl.UTF-8): Moduł ODBC dla PHP
1284 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1286 URL: http://www.php.net/manual/en/book.uodbc.php
1287 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1288 Requires: unixODBC >= 2.1.1-3
1290 Obsoletes: php-odbc < 4:5.3.28-7
1293 This is a dynamic shared object (DSO) for PHP that will add ODBC
1296 %description odbc -l pl.UTF-8
1297 Moduł PHP ze wsparciem dla ODBC.
1299 %description odbc -l pt_BR.UTF-8
1300 Um módulo para aplicações PHP que usam ODBC.
1303 Summary: OpenSSL extension module for PHP
1304 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1306 URL: http://www.php.net/manual/en/book.openssl.php
1307 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1308 Provides: php(openssl)
1309 Obsoletes: php-openssl < 4:5.3.28-7
1311 %description openssl
1312 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1315 %description openssl -l pl.UTF-8
1316 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1319 Summary: Process Control extension module for PHP
1320 Summary(pl.UTF-8): Moduł Process Control dla PHP
1322 URL: http://www.php.net/manual/en/book.pcntl.php
1323 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1324 Provides: php(pcntl)
1325 Obsoletes: php-pcntl < 4:5.3.28-7
1328 This is a dynamic shared object (DSO) for PHP that will add process
1329 spawning and control support. It supports functions like fork(),
1330 waitpid(), signal() etc.
1332 %description pcntl -l pl.UTF-8
1333 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1334 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1337 Summary: PCRE extension module for PHP
1338 Summary(pl.UTF-8): Moduł PCRE dla PHP
1340 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1342 Obsoletes: php-pcre < 4:5.3.28-7
1345 This is a dynamic shared object (DSO) for PHP that will add Perl
1346 Compatible Regular Expression support.
1348 %description pcre -l pl.UTF-8
1349 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1350 (Perl Compatible Regular Expressions)
1353 Summary: PHP Data Objects (PDO)
1354 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1356 URL: http://www.php.net/manual/en/book.pdo.php
1357 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1358 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1360 Obsoletes: php-pdo < 4:5.3.28-7
1361 Obsoletes: php-pecl-PDO
1364 This is a dynamic shared object (DSO) for PHP that will add PDO
1367 %description pdo -l pl.UTF-8
1368 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1371 Summary: PHP Data Objects (PDO) FreeTDS support
1372 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1374 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1375 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1376 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1377 Provides: php(pdo_dblib)
1378 Obsoletes: php-pdo-dblib < 4:5.3.28-7
1380 %description pdo-dblib
1381 This is a dynamic shared object (DSO) for PHP that will add PDO
1384 %description pdo-dblib -l pl.UTF-8
1385 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1388 %package pdo-firebird
1389 Summary: PHP Data Objects (PDO) Firebird support
1390 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1392 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1393 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1394 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1395 Provides: php(pdo-firebird)
1396 Provides: php(pdo_firebird)
1397 Obsoletes: php-pdo-firebird < 4:5.3.28-7
1398 Obsoletes: php-pecl-PDO_FIREBIRD
1400 %description pdo-firebird
1401 This is a dynamic shared object (DSO) for PHP that will add PDO
1404 %description pdo-firebird -l pl.UTF-8
1405 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1409 Summary: PHP Data Objects (PDO) MySQL support
1410 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1412 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1413 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1414 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1415 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1416 Provides: php(pdo-mysql)
1417 Provides: php(pdo_mysql)
1418 Obsoletes: php-pdo-mysql < 4:5.3.28-7
1419 Obsoletes: php-pecl-PDO_MYSQL
1421 %description pdo-mysql
1422 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1425 %description pdo-mysql -l pl.UTF-8
1426 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1430 Summary: PHP Data Objects (PDO) Oracle support
1431 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1433 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1434 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1435 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1436 Provides: php(pdo-oci)
1437 Provides: php(pdo_oci)
1438 Obsoletes: php-pdo-oci < 4:5.3.28-7
1439 Obsoletes: php-pecl-PDO_OCI
1441 %description pdo-oci
1442 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1445 %description pdo-oci -l pl.UTF-8
1446 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1450 Summary: PHP Data Objects (PDO) ODBC support
1451 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1453 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1454 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1455 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1456 Provides: php(pdo-odbc)
1457 Provides: php(pdo_odbc)
1458 Obsoletes: php-pdo-odbc < 4:5.3.28-7
1459 Obsoletes: php-pecl-PDO_ODBC
1461 %description pdo-odbc
1462 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1465 %description pdo-odbc -l pl.UTF-8
1466 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1470 Summary: PHP Data Objects (PDO) PostgreSQL support
1471 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1473 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1474 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1475 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1476 Provides: php(pdo-pgsql)
1477 Provides: php(pdo_pgsql)
1478 Obsoletes: php-pdo-pgsql < 4:5.3.28-7
1479 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1481 %description pdo-pgsql
1482 This is a dynamic shared object (DSO) for PHP that will add PDO
1485 %description pdo-pgsql -l pl.UTF-8
1486 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1490 Summary: PHP Data Objects (PDO) SQLite support
1491 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1493 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1494 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1495 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1496 Provides: php(pdo-sqlite)
1497 Provides: php(pdo_sqlite)
1498 Obsoletes: php-pdo-sqlite < 4:5.3.28-7
1499 Obsoletes: php-pecl-PDO_SQLITE
1501 %description pdo-sqlite
1502 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1505 %description pdo-sqlite -l pl.UTF-8
1506 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1510 Summary: PostgreSQL database module for PHP
1511 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1513 URL: http://www.php.net/manual/en/book.pgsql.php
1514 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1515 Provides: php(pgsql)
1516 Obsoletes: php-pgsql < 4:5.3.28-7
1519 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1522 %description pgsql -l pl.UTF-8
1523 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1525 %description pgsql -l pt_BR.UTF-8
1526 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1529 Summary: Phar archive module for PHP
1530 Summary(pl.UTF-8): Moduł phar dla PHP
1532 URL: http://www.php.net/manual/en/book.phar.php
1533 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1534 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1535 %{?with_alternatives:Requires: alternatives}
1536 Suggests: %{name}-cli
1537 # zlib is required by phar program, but as phar cli is optional should the dep be too
1538 Suggests: %{name}-zlib
1539 Provides: php(phar) = %{pharver}
1540 Obsoletes: php-pecl-phar < %{pharver}
1541 Obsoletes: php-phar < 4:5.3.28-7
1542 Conflicts: php-ioncube < 4.0.9
1545 This is a dynamic shared object (DSO) for PHP that will add phar
1548 %description phar -l pl.UTF-8
1549 Moduł PHP umożliwiający dostęp do achiwów .phar.
1552 Summary: POSIX extension module for PHP
1553 Summary(pl.UTF-8): Moduł POSIX dla PHP
1555 URL: http://www.php.net/manual/en/book.posix.php
1556 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1557 Provides: php(posix)
1558 Obsoletes: php-posix < 4:5.3.28-7
1561 This is a dynamic shared object (DSO) for PHP that will add POSIX
1562 functions support to PHP.
1564 %description posix -l pl.UTF-8
1565 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1568 Summary: pspell extension module for PHP
1569 Summary(pl.UTF-8): Moduł pspell dla PHP
1571 URL: http://www.php.net/manual/en/book.pspell.php
1572 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1573 Provides: php(pspell)
1574 Obsoletes: php-pspell < 4:5.3.28-7
1577 This is a dynamic shared object (DSO) for PHP that will add pspell
1578 support to PHP. It allows to check the spelling of a word and offer
1581 %description pspell -l pl.UTF-8
1582 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1583 sprawdzanie pisowni słowa i sugerowanie poprawek.
1586 Summary: readline extension module for PHP
1587 Summary(pl.UTF-8): Moduł readline dla PHP
1589 URL: http://www.php.net/manual/en/book.readline.php
1590 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1591 Provides: php(readline)
1592 Obsoletes: php-readline < 4:5.3.28-7
1594 %description readline
1595 This PHP module adds support for readline functions (only for cli and
1598 %description readline -l pl.UTF-8
1599 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1602 Summary: recode extension module for PHP
1603 Summary(pl.UTF-8): Moduł recode dla PHP
1605 URL: http://www.php.net/manual/en/book.recode.php
1606 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1607 Requires: recode >= 3.5d-3
1608 Provides: php(recode)
1609 Obsoletes: php-recode < 4:5.3.28-7
1612 This is a dynamic shared object (DSO) for PHP that will add recode
1615 %description recode -l pl.UTF-8
1616 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1620 Summary: session extension module for PHP
1621 Summary(pl.UTF-8): Moduł session dla PHP
1623 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1624 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1625 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1627 Provides: php(session)
1628 Obsoletes: php-session < 4:5.3.28-7
1630 %description session
1631 This is a dynamic shared object (DSO) for PHP that will add session
1634 %description session -l pl.UTF-8
1635 Moduł PHP dodający obsługę sesji.
1638 Summary: Shared Memory Operations extension module for PHP
1639 Summary(pl.UTF-8): Moduł shmop dla PHP
1641 URL: http://www.php.net/manual/en/book.shmop.php
1642 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1643 Provides: php(shmop)
1644 Obsoletes: php-shmop < 4:5.3.28-7
1647 This is a dynamic shared object (DSO) for PHP that will add Shared
1648 Memory Operations support.
1650 %description shmop -l pl.UTF-8
1651 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1654 Summary: Simple XML extension module for PHP
1655 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1657 URL: http://www.php.net/manual/en/book.simplexml.php
1658 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1659 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1660 Provides: php(simplexml)
1661 Obsoletes: php-simplexml < 4:5.3.28-7
1663 %description simplexml
1664 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1667 %description simplexml -l pl.UTF-8
1668 Moduł PHP dodający obsługę prostego XML-a.
1671 Summary: SNMP extension module for PHP
1672 Summary(pl.UTF-8): Moduł SNMP dla PHP
1674 URL: http://www.php.net/manual/en/book.snmp.php
1675 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1676 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1678 Obsoletes: php-snmp < 4:5.3.28-7
1681 This is a dynamic shared object (DSO) for PHP that will add SNMP
1684 %description snmp -l pl.UTF-8
1685 Moduł PHP dodający obsługę SNMP.
1688 Summary: soap extension module for PHP
1689 Summary(pl.UTF-8): Moduł soap dla PHP
1691 URL: http://www.php.net/manual/en/book.soap.php
1692 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1694 Obsoletes: php-soap < 4:5.3.28-7
1697 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1700 %description soap -l pl.UTF-8
1701 Moduł PHP dodający obsługę SOAP/WSDL.
1704 Summary: sockets extension module for PHP
1705 Summary(pl.UTF-8): Moduł socket dla PHP
1707 URL: http://www.php.net/manual/en/book.sockets.php
1708 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1709 Provides: php(sockets)
1710 Obsoletes: php-sockets < 4:5.3.28-7
1712 %description sockets
1713 This is a dynamic shared object (DSO) for PHP that will add sockets
1716 %description sockets -l pl.UTF-8
1717 Moduł PHP dodający obsługę gniazdek.
1720 Summary: Standard PHP Library module for PHP
1721 Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1723 URL: http://php.net/manual/en/book.spl.php
1724 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1725 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1726 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1728 Obsoletes: php-spl < 4:5.3.28-7
1731 This is a dynamic shared object (DSO) for PHP that will add Standard
1732 PHP Library support.
1734 %description spl -l pl.UTF-8
1735 Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1738 Summary: SQLite extension module for PHP
1739 Summary(pl.UTF-8): Moduł SQLite dla PHP
1741 URL: http://www.php.net/manual/en/book.sqlite.php
1742 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1743 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1744 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1745 Provides: php(sqlite) = %{sqlitever}
1746 Obsoletes: php-pecl-SQLite < %{sqlitever}
1747 Obsoletes: php-sqlite < 4:5.3.28-7
1750 SQLite is a C library that implements an embeddable SQL database
1751 engine. Programs that link with the SQLite library can have SQL
1752 database access without running a separate RDBMS process.
1754 SQLite is not a client library used to connect to a big database
1755 server. SQLite is the server. The SQLite library reads and writes
1756 directly to and from the database files on disk.
1758 %description sqlite -l pl.UTF-8
1759 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1760 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1761 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1764 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1765 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1766 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1770 Summary: SQLite3 extension module for PHP
1771 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1773 URL: http://php.net/manual/en/book.sqlite3.php
1774 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1775 Provides: php(sqlite3) = %{sqlite3ver}
1776 Obsoletes: php-sqlite3 < 4:5.3.28-7
1778 %description sqlite3
1779 SQLite is a C library that implements an embeddable SQL database
1780 engine. Programs that link with the SQLite library can have SQL
1781 database access without running a separate RDBMS process.
1783 SQLite is not a client library used to connect to a big database
1784 server. SQLite is the server. The SQLite library reads and writes
1785 directly to and from the database files on disk.
1787 %description sqlite3 -l pl.UTF-8
1788 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1789 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1790 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1793 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1794 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1795 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1799 Summary: Sybase-CT extension module for PHP
1800 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1802 URL: http://www.php.net/manual/en/book.sybase.php
1803 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1804 Provides: php(sybase-ct)
1805 Obsoletes: php-sybase
1806 Obsoletes: php-sybase-ct < 4:5.3.28-7
1808 %description sybase-ct
1809 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1810 MS SQL databases support through CT-lib.
1812 %description sybase-ct -l pl.UTF-8
1813 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1817 Summary: SysV msg extension module for PHP
1818 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1820 URL: http://www.php.net/manual/en/book.sem.php
1821 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1822 Provides: php(sysvmsg)
1823 Obsoletes: php-sysvmsg < 4:5.3.28-7
1825 %description sysvmsg
1826 This is a dynamic shared object (DSO) for PHP that will add SysV
1827 message queues support.
1829 %description sysvmsg -l pl.UTF-8
1830 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1833 Summary: SysV sem extension module for PHP
1834 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1836 URL: http://www.php.net/manual/en/book.sem.php
1837 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1838 Provides: php(sysvsem)
1839 Obsoletes: php-sysvsem < 4:5.3.28-7
1841 %description sysvsem
1842 This is a dynamic shared object (DSO) for PHP that will add SysV
1845 %description sysvsem -l pl.UTF-8
1846 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1849 Summary: SysV shm extension module for PHP
1850 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1852 URL: http://www.php.net/manual/en/book.shmop.php
1853 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1854 Provides: php(sysvshm)
1855 Obsoletes: php-sysvshm < 4:5.3.28-7
1857 %description sysvshm
1858 This is a dynamic shared object (DSO) for PHP that will add SysV
1859 Shared Memory support.
1861 %description sysvshm -l pl.UTF-8
1862 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1865 Summary: Contains unit test files for PHP and extensions
1866 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1868 URL: http://qa.php.net/
1869 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1872 This package contains unit tests for PHP and its extensions.
1874 %description tests -l pl.UTF-8
1875 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1878 Summary: Tidy extension module for PHP
1879 Summary(pl.UTF-8): Moduł Tidy dla PHP
1881 URL: http://www.php.net/manual/en/book.tidy.php
1882 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1885 Obsoletes: php-tidy < 4:5.3.28-7
1888 This is a dynamic shared object (DSO) for PHP that will add Tidy
1891 %description tidy -l pl.UTF-8
1892 Moduł PHP umożliwiający korzystanie z tidy.
1895 Summary: tokenizer extension module for PHP
1896 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1898 URL: http://www.php.net/manual/en/book.tokenizer.php
1899 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1900 Provides: php(tokenizer)
1901 Obsoletes: php-tokenizer < 4:5.3.28-7
1903 %description tokenizer
1904 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1907 %description tokenizer -l pl.UTF-8
1908 Moduł PHP dodający obsługę tokenizera do PHP.
1911 Summary: wddx extension module for PHP
1912 Summary(pl.UTF-8): Moduł wddx dla PHP
1914 URL: http://www.php.net/manual/en/book.wddx.php
1915 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1916 # - wddx doesn't require session as it's disabled at compile time:
1917 # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1918 # see also php.spec#rev1.120.2.22
1919 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1920 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1922 Obsoletes: php-wddx < 4:5.3.28-7
1925 This is a dynamic shared object (DSO) for PHP that will add wddx
1928 %description wddx -l pl.UTF-8
1929 Moduł PHP umożliwiający korzystanie z wddx.
1932 Summary: XML extension module for PHP
1933 Summary(pl.UTF-8): Moduł XML dla PHP
1935 URL: http://www.php.net/manual/en/book.xml.php
1936 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1938 Obsoletes: php-xml < 4:5.3.28-7
1941 This is a dynamic shared object (DSO) for PHP that will add XML
1942 support. This extension lets you create XML parsers and then define
1943 handlers for different XML events.
1945 %description xml -l pl.UTF-8
1946 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1947 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1948 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1951 Summary: XML Reader extension module for PHP
1952 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1954 URL: http://www.php.net/manual/en/book.xmlreader.php
1955 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1956 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1957 Provides: php(xmlreader)
1958 Obsoletes: php-xmlreader < 4:5.3.28-7
1960 %description xmlreader
1961 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1962 support. The XMLReader extension is an XML Pull parser. The reader
1963 acts as a cursor going forward on the document stream and stopping at
1964 each node on the way.
1966 %description xmlreader -l pl.UTF-8
1967 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1968 działa jako kursor przechodzący przez strumień dokumentu i
1969 zatrzymujący się na każdym węźle po drodze.
1972 Summary: xmlrpc extension module for PHP
1973 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1975 URL: http://www.php.net/manual/en/book.xmlrpc.php
1976 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1977 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1978 Provides: php(xmlrpc)
1979 Obsoletes: php-xmlrpc < 4:5.3.28-7
1982 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1985 %description xmlrpc -l pl.UTF-8
1986 Moduł PHP dodający obsługę XMLRPC.
1989 Summary: Fast, non-cached, forward-only means to write XML data
1990 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1992 URL: http://www.php.net/manual/en/book.xmlwriter.php
1993 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1994 Provides: php(xmlwriter)
1995 Obsoletes: php-pecl-xmlwriter
1996 Obsoletes: php-xmlwriter < 4:5.3.28-7
1998 %description xmlwriter
1999 This extension wraps the libxml xmlWriter API. Represents a writer
2000 that provides a non-cached, forward-only means of generating streams
2001 or files containing XML data.
2003 %description xmlwriter -l pl.UTF-8
2004 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
2005 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
2006 plików zawierających dane XML.
2009 Summary: xsl extension module for PHP
2010 Summary(pl.UTF-8): Moduł xsl dla PHP
2012 URL: http://www.php.net/manual/en/book.xsl.php
2013 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2014 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
2015 Requires: libxslt >= 1.0.18
2016 # actually not true, functionality is similar, but API differs
2018 Obsoletes: php-xsl < 4:5.3.28-7
2019 Obsoletes: php-xslt <= 3:4.3.8-1
2022 This is a dynamic shared object (DSO) for PHP that will add new XSL
2023 support (using libxslt).
2025 %description xsl -l pl.UTF-8
2026 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
2029 Summary: Zip management extension
2030 Summary(pl.UTF-8): Zarządzanie archiwami zip
2032 URL: http://www.php.net/manual/en/book.zip.php
2033 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2034 %{?with_system_libzip:Requires: libzip >= 0.10-3}
2035 Provides: php(zip) = %{zipver}
2036 Obsoletes: php-pecl-zip < %{zipver}
2037 Obsoletes: php-zip < 4:5.3.28-7
2040 Zip is an extension to create, modify and read zip files.
2042 %description zip -l pl.UTF-8
2043 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
2044 odczyt archiwów zip.
2047 Summary: Zlib extension module for PHP
2048 Summary(pl.UTF-8): Moduł zlib dla PHP
2050 URL: http://www.php.net/manual/en/book.zlib.php
2051 Requires: %{name}-common = %{epoch}:%{version}-%{release}
2053 Obsoletes: php-zlib < 4:5.3.28-7
2056 This is a dynamic shared object (DSO) for PHP that will add zlib
2057 compression support to PHP.
2059 %description zlib -l pl.UTF-8
2060 Moduł PHP umożliwiający używanie kompresji zlib.
2063 %setup -q -n %{orgname}-%{version}
2074 cp -p php.ini-production php.ini
2077 %if %{with type_hints}
2086 %if %{with system_gd}
2099 %if "%{pld_release}" != "ac"
2127 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
2133 %{?with_system_libzip:%patch65 -p1}
2135 %{__rm} -r sapi/litespeed
2136 gzip -dc %{SOURCE15} | tar xf - -C sapi/
2157 %{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
2159 # cleanup backups after patching
2160 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
2162 # conflict seems to be resolved by recode patches
2163 %{__rm} ext/recode/config9.m4
2165 # remove all bundled libraries not to link with them accidentally
2166 #%{__rm} -r ext/sqlite/libsqlite
2167 %{__rm} -r ext/sqlite3/libsqlite
2168 #%{__rm} -r ext/bcmath/libbcmath
2169 #%{__rm} -r ext/date/lib
2170 #%{__rm} -r ext/fileinfo/libmagic
2171 #%{__rm} -r ext/dba/libcdb
2172 #%{__rm} -r ext/dba/libflatfile
2173 #%{__rm} -r ext/dba/libinifile
2174 #%{__rm} -r ext/gd/libgd
2175 #%{__rm} -r ext/mbstring/libmbfl
2176 #%{__rm} -r ext/mbstring/oniguruma
2177 %{__rm} -r ext/pcre/pcrelib
2178 #%{__rm} -r ext/soap/interop
2179 %{__rm} -r ext/xmlrpc/libxmlrpc
2180 #%{__rm} -r ext/zip/lib
2182 cp -pf Zend/LICENSE{,.Zend}
2183 install -p %{SOURCE13} dep-tests.sh
2186 sed -i -e 's#-fvisibility=hidden##g' configure*
2188 # disable broken tests
2189 # says just "Terminated" twice and fails
2190 %{__mv} sapi/cli/tests/022.phpt{,.broken}
2192 # php-5.3.3/ext/standard/tests/file/statpage.phpt
2193 %{__rm} ext/standard/tests/file/statpage.phpt
2195 # idiotic test, it will fail if somebody else makes space on disk or if disk
2196 # space is not yet allocated (xfs). report upstream to advice bogus test is
2197 # probably pointless.
2198 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
2200 sh -xe %{_sourcedir}/skip-tests.sh
2203 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
2204 if [ $API != %{php_api_version} ]; then
2205 echo "Set %%define php_api_version to $API and re-run."
2209 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
2210 if [ $API != %{zend_module_api} ]; then
2211 echo "Set %%define zend_module_api to $API and re-run."
2215 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
2216 if [ $API != %{zend_extension_api} ]; then
2217 echo "Set %%define zend_extension_api to $API and re-run."
2221 # Check for some extension version
2222 ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
2223 if test "$ver" != "%{fileinfover}"; then
2224 : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
2225 : Update the fileinfover macro and rebuild.
2228 ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
2229 if test "$ver" != "%{pharver}"; then
2230 : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
2231 : Update the pharver macro and rebuild.
2234 ver=$(sed -n '/#define PHP_SQLITE3_VERSION/{s/.* "//;s/".*$//;p}' ext/sqlite3/php_sqlite3.h)
2235 if test "$ver" != "%{sqlite3ver}"; then
2236 : Error: Upstream Sqlite3 version is now ${ver}, expecting %{sqlite3ver}.
2237 : Update the sqlite3ver macro and rebuild.
2240 ver=$(sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
2241 if test "$ver" != "%{zipver}"; then
2242 : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
2243 : Update the zipver macro and rebuild.
2246 ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
2247 if test "$ver" != "%{jsonver}"; then
2248 : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
2249 : Update the jsonver macro and rebuild.
2252 ver=$(sed -rne 's,.*<version>(.+)</version>,\1,p' ext/bz2/package.xml)
2253 if test "$ver" != "%{bz2ver}"; then
2254 : Error: Upstream BZIP2 version is now ${ver}, expecting %{bz2ver}.
2255 : Update the bz2ver macro and rebuild.
2258 ver=$(sed -n '/#define PHP_ENCHANT_VERSION /{s/.* "//;s/".*$//;p}' ext/enchant/php_enchant.h)
2259 if test "$ver" != "%{enchantver}"; then
2260 : Error: Upstream Enchant version is now ${ver}, expecting %{enchantver}.
2261 : Update the enchantver macro and rebuild.
2264 ver=$(awk '/#define PHP_HASH_EXTVER/ {print $3}' ext/hash/php_hash.h | xargs)
2265 if test "$ver" != "%{hashver}"; then
2266 : Error: Upstream HASH version is now ${ver}, expecting %{hashver}.
2267 : Update the hashver macro and rebuild.
2270 ver=$(sed -n '/#define PHP_INTL_VERSION /{s/.* "//;s/".*$//;p}' ext/intl/php_intl.h)
2271 if test "$ver" != "%{intlver}"; then
2272 : Error: Upstream Intl version is now ${ver}, expecting %{intlver}.
2273 : Update the intlver macro and rebuild.
2276 ver=$(awk '/#define PHP_SQLITE_MODULE_VERSION/ {print $3}' ext/sqlite/sqlite.c | xargs)
2277 if test "$ver" != "%{sqlitever}"; then
2278 : Error: Upstream Sqlite version is now ${ver}, expecting %{sqlitever}.
2279 : Update the sqlitever macro and rebuild.
2283 export EXTENSION_DIR="%{php_extensiondir}"
2284 # configure once (for faster debugging purposes)
2285 if [ ! -f _built-conf ]; then
2286 # now remove Makefile copies
2287 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed}
2288 # force regeneration
2289 touch Zend/zend_language_parser.y
2292 cp -f /usr/share/automake/config.* .
2296 export PROG_SENDMAIL="/usr/lib/sendmail"
2297 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} -I%{_includedir}/xmlrpc-epi"
2299 CPPFLAGS="$CPPFLAGS $(getconf LFS_CFLAGS)"
2307 %if %{with litespeed}
2323 for sapi in $sapis; do
2325 # skip if already configured (for faster debugging purposes)
2326 [ -f Makefile.$sapi ] && continue
2331 sapi_args='--disable-cli'
2334 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
2337 sapi_args='--disable-cli --enable-fpm'
2340 sapi_args='--disable-cli --enable-embed'
2343 ver=$(rpm -q --qf '%{V}' apache1-devel)
2344 sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
2347 ver=$(rpm -q --qf '%{V}' apache-devel)
2348 sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
2351 sapi_args='--with-litespeed'
2356 EXTRA_LDFLAGS="%{rpmldflags}" \
2358 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2359 --cache-file=config.cache \
2361 --with-libdir=%{_lib} \
2362 --with-config-file-path=%{_sysconfdir} \
2363 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2364 --with-exec-dir=%{_bindir} \
2365 --with-system-tzdata \
2366 --%{!?debug:dis}%{?debug:en}able-debug \
2367 %{?with_zts:--enable-maintainer-zts} \
2368 --enable-inline-optimization \
2369 --enable-bcmath=shared \
2370 --enable-calendar=shared \
2371 --enable-ctype=shared \
2372 --enable-dba=shared \
2373 --enable-dom=shared \
2374 --enable-exif=shared \
2375 --enable-fileinfo=shared \
2376 --enable-ftp=shared \
2377 --enable-gd-native-ttf \
2378 --enable-intl=shared \
2380 --enable-magic-quotes \
2381 --enable-mbstring=shared,all \
2383 --enable-pcntl=shared \
2384 --enable-pdo=shared \
2385 --enable-json=shared \
2386 --enable-hash=shared \
2387 --enable-xmlwriter=shared \
2389 --with-fpm-user=http \
2390 --with-fpm-group=http \
2392 %if %{with mssql} || %{with sybase_ct}
2393 --with-pdo-dblib=shared \
2395 %if %{with interbase} && %{without interbase_inst}
2396 --with-pdo-firebird=shared,/usr \
2398 %{?with_mhash:--with-mhash=yes} \
2399 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2400 --with-pdo-mysql=shared%{?with_mysqlnd:,mysqlnd} \
2401 %{?with_oci:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2402 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2403 %{?with_pgsql:--with-pdo-pgsql=shared} \
2404 %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
2405 --without-libexpat-dir \
2406 --enable-posix=shared \
2408 --enable-session=shared \
2409 --enable-shmop=shared \
2410 --enable-simplexml=shared \
2411 --enable-sysvmsg=shared \
2412 --enable-sysvsem=shared \
2413 --enable-sysvshm=shared \
2414 --enable-safe-mode \
2415 --enable-soap=shared \
2416 --enable-sockets=shared \
2417 --enable-tokenizer=shared \
2418 --enable-ucd-snmp-hack \
2419 %{?with_wddx:--enable-wddx=shared} \
2420 --enable-xml=shared \
2421 --enable-xmlreader=shared \
2423 %{__with_without curl curl shared} \
2425 --with-iconv=shared \
2426 %{?with_enchant:--with-enchant=shared,/usr} \
2427 --with-freetype-dir=shared \
2428 --with-gettext=shared \
2429 --with-gd=shared%{?with_system_gd:,/usr} \
2432 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2433 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2434 --with-jpeg-dir=/usr \
2435 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2436 --with-mcrypt=shared \
2437 %{?with_mm:--with-mm} \
2438 %{?with_mssql:--with-mssql=shared} \
2439 %{?with_mysqlnd:--enable-mysqlnd=shared} \
2440 --with-mysql=shared%{?with_mysqlnd:,mysqlnd} \
2441 %{?with_mysqli:--with-mysqli=shared%{?with_mysqlnd:,mysqlnd}} \
2442 %{?with_oci:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2443 %{?with_openssl:--with-openssl=shared} \
2444 %{?with_kerberos5:--with-kerberos} \
2445 %{__with_without pcre pcre-regex /usr} \
2446 %{__enable_disable filter filter shared} \
2447 --with-pear=%{php_pear_dir} \
2448 %{__with_without pgsql pgsql shared,/usr} \
2449 %{__enable_disable phar phar shared} \
2450 --with-png-dir=/usr \
2451 %{?with_pspell:--with-pspell=shared} \
2452 --with-readline=shared \
2453 %{?with_recode:--with-recode=shared} \
2454 --with-regex=system \
2455 %{?with_snmp:--with-snmp=shared} \
2456 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
2457 %{!?with_sqlite2:--without-sqlite}%{?with_sqlite2:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
2458 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2459 %{__with_without sqlite3 sqlite3 shared,/usr} \
2460 --with-t1lib=shared \
2461 %{?with_tidy:--with-tidy=shared} \
2462 %{?with_odbc:--with-unixODBC=shared,/usr} \
2463 %{__with_without xmlrpc xmlrpc shared,/usr} \
2465 --with-zlib=shared \
2466 --with-zlib-dir=shared,/usr \
2467 %{?with_system_libzip:--with-libzip} \
2468 --enable-zip=shared,/usr \
2471 cp -f Makefile Makefile.$sapi
2472 cp -f main/php_config.h php_config.h.$sapi
2473 cp -f config.log config.log.$sapi
2476 # as we build each SAPI in own make, adjust php-config.in forehead
2477 sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | xargs)
2478 sed -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in"
2480 # must make libphp_common first, so modules can link against it.
2481 cp -af php_config.h.cli main/php_config.h
2482 cp -af Makefile.cli Makefile
2483 %{__make} libphp_common.la
2484 %{__make} build-modules
2487 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
2491 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
2494 %if %{with litespeed}
2495 %{__make} -f Makefile.litespeed
2500 cp -pf php_config.h.cgi-fcgi main/php_config.h
2501 %{__make} -f Makefile.cgi-fcgi
2502 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
2507 cp -pf php_config.h.fpm main/php_config.h
2508 %{__make} -f Makefile.fpm
2509 [ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
2513 cp -pf php_config.h.cli main/php_config.h
2514 %{__make} -f Makefile.cli
2515 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
2517 # check for stupid xml parse breakage where < and > just get lost in parse result
2518 ./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"]));'
2520 # Generate stub .ini files for each extension
2523 generate_inifiles() {
2524 for so in modules/*.so; do
2525 mod=$(basename $so .so)
2527 # xml needs to be loaded before wddx
2528 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2529 # pre needs to be loaded before SPL
2530 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2531 # spl needs to be loaded before mysqli
2532 [ "$mod" = "spl" ] && conf="SPL.ini"
2533 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2534 [ "$mod" = "session" ] && conf="Session.ini"
2535 # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli
2536 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2538 cat > conf.d/$conf <<-EOF
2539 ; Enable $mod extension module
2546 # Check that the module inner-dependencies are intact
2547 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2548 if grep -v OK dep-tests.log; then
2549 echo >&2 "The results above were not expected"
2555 cp -pf php_config.h.cli main/php_config.h
2556 cp -pf Makefile.cli Makefile
2558 # you really don't want to package result of gcov build
2562 cat <<'EOF' > run-tests.sh
2564 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2565 unset TZ LANG LC_ALL || :
2567 EXTENSION_DIR=modules \
2568 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2569 RUN_TESTS_SETTINGS="-q $*"
2571 chmod +x run-tests.sh
2574 # Run tests, using the CLI SAPI
2575 cp -pf php_config.h.cli main/php_config.h
2576 cp -pf Makefile.cli Makefile
2578 ./run-tests.sh -w failed.log -s test.log
2580 # collect failed tests into cleanup script used in prep.
2581 sed -ne '/FAILED TEST SUMMARY/,/^===/p' test.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2582 sed -ne '/\[.*\]/{s/\(.*\) \[\(.*\)\]/# \1\nmv \2{,.skip}/p}' tests-failed.log \
2583 >> %{_sourcedir}/skip-tests.sh
2585 failed=$(wc -l < tests-failed.log)
2586 if [ "$failed" != 0 ]; then
2592 rm -rf $RPM_BUILD_ROOT
2593 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2594 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2595 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2596 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2598 cp -pf php_config.h.cli main/php_config.h
2599 cp -pf Makefile.cli Makefile
2601 phpbuilddir=%{_libdir}/%{name}/build \
2602 INSTALL_ROOT=$RPM_BUILD_ROOT
2604 %if %{without default_php}
2605 # version the .phar files
2606 %{__mv} $RPM_BUILD_ROOT%{_bindir}/phar{,%{php_suffix}}.phar
2608 %if %{with alternatives}
2610 %{__rm} $RPM_BUILD_ROOT%{_bindir}/phar
2611 touch $RPM_BUILD_ROOT%{_bindir}/phar
2613 # make link relative
2614 ln -sfn phar%{php_suffix}.phar $RPM_BUILD_ROOT%{_bindir}/phar
2618 v=$(echo %{version} | cut -d. -f1-2)
2620 # install Apache1 DSO module
2622 libtool --mode=install install -p sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2623 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5{,-$v}.so
2624 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache1/mod_php.so
2627 # install Apache2 DSO module
2629 libtool --mode=install install -p sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2630 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp5{,-$v}.so
2631 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache/mod_php.so
2634 # install litespeed sapi
2635 %if %{with litespeed}
2636 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
2639 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2644 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2645 ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
2646 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2651 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir},%{_datadir}/fpm}
2652 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2653 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
2654 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2655 cp -p sapi/fpm/php-fpm.conf-d $RPM_BUILD_ROOT%{_sysconfdir}/fpm.d/www.conf
2656 cp -p sapi/fpm/status.html $RPM_BUILD_ROOT%{_datadir}/fpm
2657 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2658 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2659 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2660 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2661 %if "%{pld_release}" == "ac"
2662 %{__sed} -i -e '/su/d' $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2665 %if %{with alternatives}
2666 # touch for ghost for alternatives
2667 touch $RPM_BUILD_ROOT%{_sbindir}/php-fpm
2671 s#/usr/lib/php#%{php_extensiondir}#
2672 s#/etc/php#%{_sysconfdir}#
2673 s#@processname@#%{name}-fpm#g
2674 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf,%{_sysconfdir}/fpm.d/www.conf}
2677 # install Embedded API
2679 %{__make} -f Makefile.embed install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT
2680 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2681 install -d $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2682 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2686 # versioned suffix is always installed
2687 libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php%{ver_suffix}
2688 cp -p sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php%{ver_suffix}.1
2689 echo ".so php%{ver_suffix}.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.1
2690 ln -sf php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php
2692 # .cli extension is installed only if default php.spec in distro for legacy purposes
2693 %if "%{?php_suffix}" == "" && "%{pld_release}" != "ac"
2694 ln -s php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php.cli
2697 cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2698 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2701 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2702 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2703 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2707 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2708 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2709 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2712 # ensure that paths are correct for current php version and arch
2713 grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
2715 s#/usr/lib/php#%{php_extensiondir}#
2716 s#/etc/php#%{_sysconfdir}#
2719 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2720 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2722 # per SAPI ini directories
2723 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2726 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2728 # use system automake and {lib,sh}tool
2729 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2730 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2731 for fn in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2732 f=%{_aclocaldir}/$fn
2733 test -f $f || continue
2734 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2736 for fn in ltmain.sh config/ltmain.sh build-aux/ltmain.sh; do
2737 f=/usr/share/libtool/$fn
2738 test -f $f || continue
2739 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2742 sed -i -e '/^phpdir/ s,/php/build,/%{name}/build,' $RPM_BUILD_ROOT%{_bindir}/phpize
2744 # for php-pecl-mailparse
2745 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2746 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2749 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2750 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2751 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2753 # fix install paths, avoid evil rpaths
2754 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2756 # libphp5.la contains our buildroot in dependency_libs
2757 sed -i -e "/dependency_libs/ s,/[^ ]*/libs/libphp_common.la,%{_libdir}/libphp_common.la," $RPM_BUILD_ROOT%{_libdir}/libphp5.la
2760 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/%{name}/build/acinclude.m4
2763 rm -rf $RPM_BUILD_ROOT
2765 %post -n apache1-mod_%{name}
2766 if [ "$1" = "1" ]; then
2767 %service -q apache restart
2770 %postun -n apache1-mod_%{name}
2771 if [ "$1" = "0" ]; then
2772 %service -q apache restart
2775 %post -n apache-mod_%{name}
2776 if [ "$1" = "1" ]; then
2777 %service -q httpd restart
2780 %postun -n apache-mod_%{name}
2781 if [ "$1" = "0" ]; then
2782 %service -q httpd restart
2786 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2789 /sbin/chkconfig --add %{name}-fpm
2790 %service %{name}-fpm restart
2791 %if %{with alternatives}
2792 update-alternatives --install %{_sbindir}/php-fpm php-fpm %{_sbindir}/php%{ver_suffix}-fpm %{ver_suffix} || :
2796 if [ "$1" = "0" ]; then
2797 %service %{name}-fpm stop
2798 /sbin/chkconfig --del %{name}-fpm
2799 %if %{with alternatives}
2800 update-alternatives --remove php-fpm %{_sbindir}/php-fpm || :
2805 if [ "$1" = "0" ]; then
2809 %post embedded -p /sbin/ldconfig
2810 %postun embedded -p /sbin/ldconfig
2813 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2814 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2816 . /etc/sysconfig/timezone
2817 if [ "$TIMEZONE" ]; then
2818 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2822 # minimizing apache restarts logics. we restart webserver:
2824 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2825 # 2. first install of extension (post: $1 = 1)
2826 # 2. uninstall of extension (postun: $1 == 0)
2828 # the strict internal deps between extensions (and apache modules) and
2829 # common package are very important for all this to work.
2831 # restart webserver at the end of transaction
2832 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2833 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2835 %triggerpostun common -- php-common < 4:5.3.28-7
2836 # migrate configs /etc/php/conf.d -> /etc/phpXY/conf.d/
2837 # do config migration in php-common trigger, as the trigger is ran after all packages are upgraded
2838 # this way we can stick to one trigger, instead of attaching one for each (sub)package!
2839 for f in /etc/php/*.ini.rpmsave /etc/php/*.d/*.ini.rpmsave; do
2840 test -f "$f" || continue
2844 test "$dn" = "$fn" && dn=
2846 nf=%{_sysconfdir}/$dn/$fn
2847 test -f "$nf" || continue
2848 cp -vfb $nf{,.rpmnew}
2851 s#%{_libdir}/php#%{_libdir}/%{name}#
2852 s#/etc/php#%{_sysconfdir}#
2856 %triggerpostun common -- %{name}-common < 4:5.3.29-7, php-common < 4:5.3.29-7
2857 # switch to browscap package if the ini file has original value
2858 %{__sed} -i -e 's#%{_sysconfdir}/browscap.ini#/usr/share/browscap/php_browscap.ini#' %{_sysconfdir}/php.ini
2859 # disable browscap, if optional package not present
2860 if [ ! -e /usr/share/browscap/php_browscap.ini ]; then
2861 %{__sed} -i -e 's#^browscap = /usr/share/browscap/php_browscap.ini#;&#' %{_sysconfdir}/php.ini
2864 %triggerpostun -n apache1-mod_%{name} -- apache1-mod_%{name} < 4:5.3.29-23
2865 sed -i -e 's#modules/libphp5.so#modules/mod_php.so#g' /etc/apache/conf.d/*_mod_php.conf
2867 %triggerpostun -n apache-mod_%{name} -- apache-mod_%{name} < 4:5.3.29-23
2868 sed -i -e 's#modules/libphp[57].so#modules/mod_php.so#g' /etc/httpd/conf.d/*_mod_php.conf
2870 # common macros called at extension post/postun scriptlet
2872 if [ "$1" = "1" ]; then \
2873 %php_webserver_restart \
2877 %define ext_postun \
2878 if [ "$1" = "0" ]; then \
2879 %php_webserver_restart \
2883 %define extension_scripts() \
2891 # extension scripts defines
2892 %extension_scripts bcmath
2893 %extension_scripts bz2
2894 %extension_scripts calendar
2895 %extension_scripts ctype
2896 %extension_scripts curl
2897 %extension_scripts dba
2898 %extension_scripts dom
2899 %extension_scripts enchant
2900 %extension_scripts exif
2901 %extension_scripts fileinfo
2902 %extension_scripts filter
2903 %extension_scripts ftp
2904 %extension_scripts gd
2905 %extension_scripts gettext
2906 %extension_scripts gmp
2907 %extension_scripts hash
2908 %extension_scripts iconv
2909 %extension_scripts imap
2910 %extension_scripts interbase
2911 %extension_scripts intl
2912 %extension_scripts json
2913 %extension_scripts ldap
2914 %extension_scripts mbstring
2915 %extension_scripts mcrypt
2916 %extension_scripts mssql
2917 %extension_scripts mysql
2918 %extension_scripts mysqli
2919 %extension_scripts mysqlnd
2920 %extension_scripts oci8
2921 %extension_scripts odbc
2922 %extension_scripts openssl
2923 %extension_scripts pcre
2924 %extension_scripts pdo
2925 %extension_scripts pdo-dblib
2926 %extension_scripts pdo-firebird
2927 %extension_scripts pdo-oci
2928 %extension_scripts pdo-mysql
2929 %extension_scripts pdo-odbc
2930 %extension_scripts pdo-pgsql
2931 %extension_scripts pdo-sqlite
2932 %extension_scripts pgsql
2933 %extension_scripts pcntl
2934 %extension_scripts posix
2935 %extension_scripts pspell
2936 %extension_scripts recode
2937 %extension_scripts session
2938 %extension_scripts shmop
2939 %extension_scripts simplexml
2940 %extension_scripts snmp
2941 %extension_scripts soap
2942 %extension_scripts sockets
2943 %extension_scripts spl
2944 %extension_scripts sqlite
2945 %extension_scripts sqlite3
2946 %extension_scripts sybase-ct
2947 %extension_scripts sysvmsg
2948 %extension_scripts sysvsem
2949 %extension_scripts sysvshm
2950 %extension_scripts tidy
2951 %extension_scripts tokenizer
2952 %extension_scripts wddx
2953 %extension_scripts xml
2954 %extension_scripts xmlreader
2955 %extension_scripts xmlrpc
2956 %extension_scripts xmlwriter
2957 %extension_scripts xsl
2958 %extension_scripts zip
2959 %extension_scripts zlib
2963 %if %{with alternatives}
2964 update-alternatives --install %{_bindir}/phar phar %{_bindir}/phar%{ver_suffix}.phar %{ver_suffix} || :
2969 %if %{with alternatives}
2970 if [ $1 -eq 0 ]; then
2971 update-alternatives --remove phar %{_bindir}/phar || :
2976 %files -n apache1-mod_%{name}
2977 %defattr(644,root,root,755)
2978 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2979 %dir %{_sysconfdir}/apache.d
2980 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2981 %attr(755,root,root) %{_libdir}/apache1/mod_php.so
2982 %attr(755,root,root) %{_libdir}/apache1/libphp5-*.*.so
2986 %files -n apache-mod_%{name}
2987 %defattr(644,root,root,755)
2988 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2989 %attr(755,root,root) %{_libdir}/apache/mod_php.so
2991 %files -n apache-mod_%{name}-core
2992 %defattr(644,root,root,755)
2993 %dir %{_sysconfdir}/apache2handler.d
2994 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2995 %attr(755,root,root) %{_libdir}/apache/libphp5-*.*.so
2998 %if %{with litespeed}
3000 %defattr(644,root,root,755)
3001 %attr(755,root,root) %{_sbindir}/%{name}.litespeed
3006 %defattr(644,root,root,755)
3007 %dir %{_sysconfdir}/cgi-fcgi.d
3008 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
3009 %attr(755,root,root) %{_bindir}/%{name}.cgi
3010 %attr(755,root,root) %{_bindir}/%{name}.fcgi
3015 %defattr(644,root,root,755)
3016 %attr(755,root,root) %{_libdir}/libphp5-%{version}.so
3020 %defattr(644,root,root,755)
3021 %dir %{_sysconfdir}/cli.d
3022 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
3023 %attr(755,root,root) %{_bindir}/php%{ver_suffix}
3024 %{_mandir}/man1/php%{ver_suffix}.1*
3026 # legacy. do we really need it?
3027 %if "%{?php_suffix}" == "" && "%{pld_release}" != "ac"
3028 %attr(755,root,root) %{_bindir}/php.cli
3032 %defattr(644,root,root,755)
3033 %attr(755,root,root) %{_bindir}/php
3034 %{_mandir}/man1/php.1*
3038 %defattr(644,root,root,755)
3039 %doc sapi/fpm/{CREDITS,LICENSE}
3040 %dir %{_sysconfdir}/fpm.d
3041 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
3042 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.d/www.conf
3043 %attr(755,root,root) %{_sbindir}/%{name}-fpm
3044 %if %{with alternatives}
3045 %ghost %{_sbindir}/php-fpm
3047 %{_mandir}/man8/%{name}-fpm.8*
3048 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
3049 %attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
3050 %dir %{_datadir}/fpm
3051 %{_datadir}/fpm/status.html
3055 %defattr(644,root,root,755)
3056 %doc CREDITS EXTENSIONS LICENSE NEWS README.{PHP4-TO-PHP5-THIN-CHANGES,namespaces} TODO* UPGRADING* Zend/{LICENSE.Zend,ZEND_CHANGES} php.ini-*
3058 %dir %{_sysconfdir}/conf.d
3059 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
3060 %attr(755,root,root) %{_libdir}/libphp_common-*.so
3061 %dir %{php_extensiondir}
3063 %doc ext/session/mod_files.sh
3066 %defattr(644,root,root,755)
3067 %doc CODING_STANDARDS README.{EXTENSIONS,EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
3068 %attr(755,root,root) %{_bindir}/phpize
3069 %attr(755,root,root) %{_bindir}/php-config
3070 %attr(755,root,root) %{_libdir}/libphp_common.so
3071 %{_libdir}/libphp_common.la
3073 %{_libdir}/%{name}/build
3074 %{_mandir}/man1/php-config.1*
3075 %{_mandir}/man1/phpize.1*
3078 %{_libdir}/libphp5.so
3079 %{_libdir}/libphp5.la
3083 %defattr(644,root,root,755)
3084 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
3085 %attr(755,root,root) %{php_extensiondir}/bcmath.so
3088 %defattr(644,root,root,755)
3089 %doc ext/bz2/CREDITS
3090 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
3091 %attr(755,root,root) %{php_extensiondir}/bz2.so
3094 %defattr(644,root,root,755)
3095 %doc ext/calendar/CREDITS
3096 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
3097 %attr(755,root,root) %{php_extensiondir}/calendar.so
3100 %defattr(644,root,root,755)
3101 %doc ext/calendar/CREDITS
3102 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
3103 %attr(755,root,root) %{php_extensiondir}/ctype.so
3107 %defattr(644,root,root,755)
3108 %doc ext/curl/CREDITS
3109 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
3110 %attr(755,root,root) %{php_extensiondir}/curl.so
3114 %defattr(644,root,root,755)
3115 %doc ext/dba/{CREDITS,README}
3116 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
3117 %attr(755,root,root) %{php_extensiondir}/dba.so
3120 %defattr(644,root,root,755)
3121 %doc ext/dom/{CREDITS,TODO}
3122 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
3123 %attr(755,root,root) %{php_extensiondir}/dom.so
3127 %defattr(644,root,root,755)
3128 %doc ext/enchant/{CREDITS,docs/examples}
3129 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/enchant.ini
3130 %attr(755,root,root) %{php_extensiondir}/enchant.so
3134 %defattr(644,root,root,755)
3135 %doc ext/exif/CREDITS
3136 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
3137 %attr(755,root,root) %{php_extensiondir}/exif.so
3140 %defattr(644,root,root,755)
3141 %doc ext/fileinfo/CREDITS
3142 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
3143 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
3147 %defattr(644,root,root,755)
3148 %doc ext/filter/{CREDITS,docs/*}
3149 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
3150 %attr(755,root,root) %{php_extensiondir}/filter.so
3154 %defattr(644,root,root,755)
3155 %doc ext/ftp/CREDITS
3156 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
3157 %attr(755,root,root) %{php_extensiondir}/ftp.so
3160 %defattr(644,root,root,755)
3162 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
3163 %attr(755,root,root) %{php_extensiondir}/gd.so
3166 %defattr(644,root,root,755)
3167 %doc ext/gettext/CREDITS
3168 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
3169 %attr(755,root,root) %{php_extensiondir}/gettext.so
3172 %defattr(644,root,root,755)
3173 %doc ext/gmp/{CREDITS,README,TODO}
3174 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
3175 %attr(755,root,root) %{php_extensiondir}/gmp.so
3178 %defattr(644,root,root,755)
3179 %doc ext/hash/{CREDITS,README}
3180 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
3181 %attr(755,root,root) %{php_extensiondir}/hash.so
3184 %defattr(644,root,root,755)
3185 %doc ext/iconv/CREDITS
3186 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
3187 %attr(755,root,root) %{php_extensiondir}/iconv.so
3191 %defattr(644,root,root,755)
3192 %doc ext/imap/CREDITS
3193 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
3194 %attr(755,root,root) %{php_extensiondir}/imap.so
3197 %if %{with interbase}
3199 %defattr(644,root,root,755)
3200 %doc ext/interbase/CREDITS
3201 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
3202 %attr(755,root,root) %{php_extensiondir}/interbase.so
3206 %defattr(644,root,root,755)
3207 %doc ext/intl/{CREDITS,TODO}
3208 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
3209 %attr(755,root,root) %{php_extensiondir}/intl.so
3212 %defattr(644,root,root,755)
3213 %doc ext/json/CREDITS
3214 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
3215 %attr(755,root,root) %{php_extensiondir}/json.so
3219 %defattr(644,root,root,755)
3220 %doc ext/ldap/CREDITS
3221 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
3222 %attr(755,root,root) %{php_extensiondir}/ldap.so
3226 %defattr(644,root,root,755)
3227 %doc ext/mbstring/{CREDITS,README*}
3228 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
3229 %attr(755,root,root) %{php_extensiondir}/mbstring.so
3232 %defattr(644,root,root,755)
3233 %doc ext/mcrypt/{CREDITS,TODO}
3234 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
3235 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
3239 %defattr(644,root,root,755)
3240 %doc ext/mssql/CREDITS
3241 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
3242 %attr(755,root,root) %{php_extensiondir}/mssql.so
3246 %defattr(644,root,root,755)
3247 %doc ext/mysql/CREDITS
3248 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
3249 %attr(755,root,root) %{php_extensiondir}/mysql.so
3253 %defattr(644,root,root,755)
3254 %doc ext/mysqli/{CREDITS,TODO}
3255 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
3256 %attr(755,root,root) %{php_extensiondir}/mysqli.so
3261 %defattr(644,root,root,755)
3262 %doc ext/mysqlnd/CREDITS
3263 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
3264 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
3269 %defattr(644,root,root,755)
3270 %doc ext/oci8/{CREDITS,README}
3271 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
3272 %attr(755,root,root) %{php_extensiondir}/oci8.so
3277 %defattr(644,root,root,755)
3278 %doc ext/odbc/CREDITS
3279 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
3280 %attr(755,root,root) %{php_extensiondir}/odbc.so
3285 %defattr(644,root,root,755)
3286 %doc ext/openssl/{CREDITS,README}
3287 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
3288 %attr(755,root,root) %{php_extensiondir}/openssl.so
3292 %defattr(644,root,root,755)
3293 %doc ext/pcntl/{CREDITS,README}
3294 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
3295 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3299 %defattr(644,root,root,755)
3300 %doc ext/pcre/CREDITS
3301 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
3302 %attr(755,root,root) %{php_extensiondir}/pcre.so
3306 %defattr(644,root,root,755)
3307 %doc ext/pdo/{CREDITS,README,TODO}
3308 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
3309 %attr(755,root,root) %{php_extensiondir}/pdo.so
3311 %if %{with mssql} || %{with sybase_ct}
3313 %defattr(644,root,root,755)
3314 %doc ext/pdo_dblib/{CREDITS,README}
3315 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
3316 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3319 %if %{with interbase} && !%{with interbase_inst}
3321 %defattr(644,root,root,755)
3322 %doc ext/pdo_firebird/CREDITS
3323 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
3324 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3328 %defattr(644,root,root,755)
3329 %doc ext/pdo_mysql/CREDITS
3330 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
3331 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3335 %defattr(644,root,root,755)
3336 %doc ext/pdo_oci/CREDITS
3337 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
3338 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3343 %defattr(644,root,root,755)
3344 %doc ext/pdo_odbc/CREDITS
3345 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3346 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3351 %defattr(644,root,root,755)
3352 %doc ext/pdo_pgsql/CREDITS
3353 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3354 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3357 %if %{with pdo_sqlite}
3359 %defattr(644,root,root,755)
3360 %doc ext/pdo_sqlite/CREDITS
3361 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3362 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3367 %defattr(644,root,root,755)
3368 %doc ext/pgsql/{CREDITS,README}
3369 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3370 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3375 %defattr(644,root,root,755)
3376 %doc ext/phar/{CREDITS,TODO}
3377 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
3378 %attr(755,root,root) %{php_extensiondir}/phar.so
3379 %attr(755,root,root) %{_bindir}/phar%{php_suffix}.phar
3380 %if %{with alternatives}
3381 %ghost %{_bindir}/phar
3383 %attr(755,root,root) %{_bindir}/phar
3388 %defattr(644,root,root,755)
3389 %doc ext/posix/CREDITS
3390 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3391 %attr(755,root,root) %{php_extensiondir}/posix.so
3395 %defattr(644,root,root,755)
3396 %doc ext/pspell/{CREDITS,README}
3397 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3398 %attr(755,root,root) %{php_extensiondir}/pspell.so
3402 %defattr(644,root,root,755)
3403 %doc ext/readline/{CREDITS,README*}
3404 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3405 %attr(755,root,root) %{php_extensiondir}/readline.so
3409 %defattr(644,root,root,755)
3410 %doc ext/recode/CREDITS
3411 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3412 %attr(755,root,root) %{php_extensiondir}/recode.so
3416 %defattr(644,root,root,755)
3417 %doc ext/session/CREDITS
3418 %doc ext/session/mod_files.sh
3419 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3420 %attr(755,root,root) %{php_extensiondir}/session.so
3423 %defattr(644,root,root,755)
3424 %doc ext/shmop/{CREDITS,README}
3425 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3426 %attr(755,root,root) %{php_extensiondir}/shmop.so
3429 %defattr(644,root,root,755)
3430 %doc ext/simplexml/{CREDITS,README}
3431 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3432 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3436 %defattr(644,root,root,755)
3437 %doc ext/snmp/CREDITS
3438 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3439 %attr(755,root,root) %{php_extensiondir}/snmp.so
3443 %defattr(644,root,root,755)
3444 %doc ext/soap/{CREDITS,TODO*}
3445 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3446 %attr(755,root,root) %{php_extensiondir}/soap.so
3449 %defattr(644,root,root,755)
3450 %doc ext/sockets/CREDITS
3451 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3452 %attr(755,root,root) %{php_extensiondir}/sockets.so
3455 %defattr(644,root,root,755)
3456 %doc ext/spl/{CREDITS,README,TODO,examples}
3457 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3458 %attr(755,root,root) %{php_extensiondir}/spl.so
3462 %defattr(644,root,root,755)
3463 %doc ext/sqlite/{README,TODO,CREDITS}
3464 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
3465 %attr(755,root,root) %{php_extensiondir}/sqlite.so
3470 %defattr(644,root,root,755)
3471 %doc ext/sqlite3/CREDITS
3472 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3473 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3476 %if %{with sybase_ct}
3478 %defattr(644,root,root,755)
3479 %doc ext/sybase_ct/CREDITS
3480 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3481 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
3485 %defattr(644,root,root,755)
3486 %doc ext/sysvmsg/CREDITS
3487 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3488 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3491 %defattr(644,root,root,755)
3492 %doc ext/sysvsem/CREDITS
3493 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3494 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3497 %defattr(644,root,root,755)
3498 %doc ext/sysvshm/CREDITS
3499 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3500 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3503 %defattr(644,root,root,755)
3504 %dir %{php_data_dir}/tests/php
3505 %{php_data_dir}/tests/php/basic
3506 %{php_data_dir}/tests/php/classes
3507 %{php_data_dir}/tests/php/func
3508 %{php_data_dir}/tests/php/lang
3509 %{php_data_dir}/tests/php/output
3510 %{php_data_dir}/tests/php/run-test
3511 %{php_data_dir}/tests/php/security
3512 %{php_data_dir}/tests/php/strings
3513 %{php_data_dir}/tests/php/quicktester.inc
3514 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3518 %defattr(644,root,root,755)
3519 %doc ext/tidy/{CREDITS,README}
3520 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3521 %attr(755,root,root) %{php_extensiondir}/tidy.so
3525 %defattr(644,root,root,755)
3526 %doc ext/tokenizer/CREDITS
3527 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3528 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3532 %defattr(644,root,root,755)
3533 %doc ext/wddx/CREDITS
3534 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3535 %attr(755,root,root) %{php_extensiondir}/wddx.so
3539 %defattr(644,root,root,755)
3540 %doc ext/xml/CREDITS
3541 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3542 %attr(755,root,root) %{php_extensiondir}/xml.so
3545 %defattr(644,root,root,755)
3546 %doc ext/xmlreader/{CREDITS,README,TODO,examples}
3547 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3548 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3552 %defattr(644,root,root,755)
3553 %doc ext/xmlrpc/CREDITS
3554 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3555 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3559 %defattr(644,root,root,755)
3560 %doc ext/xmlwriter/{CREDITS,TODO}
3561 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3562 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3565 %defattr(644,root,root,755)
3566 %doc ext/xsl/CREDITS
3567 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3568 %attr(755,root,root) %{php_extensiondir}/xsl.so
3571 %defattr(644,root,root,755)
3572 %doc ext/zip/{CREDITS,TODO}
3573 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3574 %attr(755,root,root) %{php_extensiondir}/zip.so
3577 %defattr(644,root,root,755)
3578 %doc ext/zlib/CREDITS
3579 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3580 %attr(755,root,root) %{php_extensiondir}/zlib.so