1 # NOTE: mysqlnd does not support ssl or compression (see FAQ at http://dev.mysql.com/downloads/connector/php-mysqlnd/)
3 # - ttyname_r() misdetected http://bugs.php.net/bug.php?id=48820
4 # - wddx: restore session support (not compiled in due DL extension check)
5 # - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere
6 # - removed from php 5.0 (currently in php4):
7 # db [pecl-svn], hyperwave [pecl-svn], java [pecl-svn], mcal [pecl-svn], overload [???], qtdom [pecl-svn]
8 # - removed from php 5.1:
10 # - removed from php 5.2:
11 # filepro [pecl-svn], hwapi [pecl-svn]
12 # - make additional headers and checking added by mail patch configurable
13 # - modularize standard (output from pure php -m)?
14 # - lib64 patch obsolete by $PHP_LIBDIR ?
15 # - WARNING: Phar: sha256/sha512 signature support disabled if ext/hash is
16 # built shared, also PHAR_HAVE_OPENSSL is false if openssl is built shared.
17 # make it runtime dep and add Suggests (or php warning messages)
18 # - some mods should be shared:
28 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
29 %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
30 %bcond_with instantclient # build Oracle oci8 extension module against oracle-instantclient package
31 %bcond_with system_gd # with system gd (we prefer internal since it enables few more features)
32 %bcond_without curl # without CURL extension module
33 %bcond_without filter # without filter extension module
34 %bcond_without imap # without IMAP extension module
35 %bcond_without interbase # without InterBase extension module
36 %bcond_without kerberos5 # without Kerberos5 support
37 %bcond_without litespeed # build litespeed module
38 %bcond_without ldap # without LDAP extension module
39 %bcond_without mm # without mm support for session storage
40 %bcond_without mssql # without MS SQL extension module
41 # don't turn it on by default; see TODO item for mysqlnd in this spec
42 %bcond_with mysqlnd # with mysqlnd support in mysql related extensions
43 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
44 %bcond_without odbc # without ODBC extension module
45 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
46 %bcond_without pcre # without PCRE extension module
47 %bcond_without pgsql # without PostgreSQL extension module
48 %bcond_without phar # without phar extension module
49 %bcond_without pspell # without pspell extension module
50 %bcond_without recode # without recode extension module
51 %bcond_without snmp # without SNMP extension module
52 %bcond_without sqlite # without SQLite extension module
53 %bcond_without sqlite3 # without SQLite3 extension module
54 %bcond_without sybase_ct # without Sybase-CT extension module
55 %bcond_without tidy # without Tidy extension module
56 %bcond_without wddx # without WDDX extension module
57 %bcond_without xmlrpc # without XML-RPC extension module
58 %bcond_without apache1 # disable building Apache 1.3.x SAPI
59 %bcond_without apache2 # disable building Apache 2.x SAPI
60 %bcond_with zts # Zend Thread Safety
61 %bcond_without cgi # disable CGI/FCGI SAPI
62 %bcond_without fpm # disable FPM
63 %bcond_without suhosin # with suhosin patch
64 %bcond_with tests # default off; test process very often hangs on builders, approx run time 45m; perform "make test"
65 %bcond_with gcov # Enable Code coverage reporting
66 %bcond_with type_hints # experimental support for strict typing/casting
68 %define apxs1 /usr/sbin/apxs1
69 %define apxs2 /usr/sbin/apxs
70 %define litespeed_version 5.5
74 %undefine with_apache1
75 %undefine with_apache2
77 %undefine with_litespeed
80 # mm is not thread safe
85 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha
86 # ppc disabled (broken on th-ppc)
87 %undefine with_interbase
90 %ifnarch %{ix86} %{x8664}
91 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
96 %if %{without apache1} && %{without apache2}
97 ERROR: You need to select at least one Apache SAPI to build shared modules.
101 # filter depends on pcre
103 %undefine with_filter
107 Summary: PHP: Hypertext Preprocessor
108 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
109 Summary(pl.UTF-8): Język skryptowy PHP
110 Summary(pt_BR.UTF-8): A linguagem de script PHP
111 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
112 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
115 Release: %{rel}%{?with_type_hints:.th}%{?with_oci8:.oci}
119 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
120 # Source0-md5: 2286f5a82a6e8397955a0025c1c2ad98
121 Source2: %{name}-mod_%{name}.conf
122 Source3: %{name}-cgi-fcgi.ini
123 Source4: %{name}-apache.ini
124 Source5: %{name}-cli.ini
125 # Taken from: http://browsers.garykeith.com/downloads.asp
126 Source9: %{name}_browscap.ini
127 Source10: %{name}-fpm.init
128 Source11: %{name}-fpm.logrotate
129 Source12: %{name}-branch.sh
130 Source13: dep-tests.sh
131 Source14: skip-tests.sh
132 Source15: http://litespeedtech.com/packages/lsapi/%{name}-litespeed-%{litespeed_version}.tgz
133 # Source15-md5: 9d58485d5fd6b5f5fefcec41b9ce283e
134 Patch0: %{name}-shared.patch
135 Patch1: %{name}-pldlogo.patch
136 Patch2: %{name}-mail.patch
137 Patch3: %{name}-link-libs.patch
138 Patch4: %{name}-libpq_fs_h_path.patch
139 Patch5: %{name}-filter-shared.patch
140 Patch6: %{name}-build_modules.patch
141 Patch7: %{name}-sapi-ini-file.patch
142 Patch8: %{name}-config-file-scan-dir.patch
143 Patch9: %{name}-sh.patch
144 Patch10: %{name}-ini.patch
145 %if %{with type_hints}
146 Patch12: http://ilia.ws/patch/type_hint_53_v2.txt
148 Patch14: %{name}-no_pear_install.patch
149 Patch15: %{name}-zlib.patch
150 Patch17: %{name}-readline.patch
151 Patch18: %{name}-nohttpd.patch
152 Patch19: %{name}-gd_imagerotate_enable.patch
153 Patch20: %{name}-uint32_t.patch
154 Patch21: %{name}-dba-link.patch
155 Patch22: %{name}-both-apxs.patch
156 Patch23: %{name}-builddir.patch
157 Patch24: %{name}-zlib-for-getimagesize.patch
158 Patch25: %{name}-stupidapache_version.patch
159 Patch26: %{name}-pear.patch
160 Patch27: %{name}-config-dir.patch
161 Patch29: %{name}-fcgi-graceful.patch
162 Patch31: %{name}-fcgi-error_log-no-newlines.patch
163 Patch32: %{name}-curl-limit-speed.patch
164 Patch34: %{name}-libtool.patch
165 Patch35: %{name}-tds.patch
166 Patch36: %{name}-mysql-charsetphpini.patch
167 Patch37: %{name}-mysqli-charsetphpini.patch
168 Patch38: %{name}-pdo_mysql-charsetphpini.patch
169 Patch39: %{name}-use-prog_sendmail.patch
170 Patch41: %{name}-fpm-config.patch
171 Patch42: %{name}-fpm-shared.patch
172 Patch43: %{name}-silent-session-cleanup.patch
173 Patch44: %{name}-include_path.patch
174 Patch45: %{name}-imap-annotations.patch
175 Patch46: %{name}-imap-myrights.patch
176 Patch47: suhosin.patch
177 Patch49: %{name}-m4-divert.patch
178 Patch50: extension-shared-optional-dep.patch
179 Patch51: spl-shared.patch
180 Patch52: pcre-shared.patch
181 Patch53: fix-test-run.patch
182 Patch54: mysqlnd-shared.patch
183 Patch55: bug-52078-fileinode.patch
184 Patch57: bug-52448.patch
185 Patch59: %{name}-systzdata.patch
186 Patch60: %{name}-oracle-instantclient.patch
187 Patch61: %{name}-krb5-ac.patch
188 Patch62: mcrypt-libs.patch
189 Patch63: %{name}-mysql-nowarning.patch
190 Patch64: %{name}-buff_ovf.patch
191 URL: http://www.php.net/
192 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
193 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
194 BuildRequires: autoconf >= 2.53
195 BuildRequires: automake >= 1.4d
197 BuildRequires: bzip2-devel
198 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
199 BuildRequires: cyrus-sasl-devel
200 BuildRequires: db-devel >= 4.0
201 BuildRequires: elfutils-devel
202 #BuildRequires: fcgi-devel
204 %{?with_kerberos5:BuildRequires: heimdal-devel}
205 BuildRequires: mysql-devel
206 BuildRequires: pkgconfig
207 BuildRequires: sed >= 4.0
208 %if %{with mssql} || %{with sybase_ct}
209 BuildRequires: freetds-devel >= 0.82
211 BuildRequires: freetype-devel >= 2.0
212 %if %{with system_gd}
213 BuildRequires: gd-devel >= 2.0.28-4
214 BuildRequires: gd-devel(imagerotate) = 5.2.0
216 BuildRequires: gdbm-devel
217 BuildRequires: gmp-devel
218 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
219 BuildRequires: libicu-devel
220 BuildRequires: libjpeg-devel
221 BuildRequires: libltdl-devel >= 1.4
222 BuildRequires: libmcrypt-devel >= 2.4.4
223 BuildRequires: libpng-devel >= 1.0.8
224 #BuildRequires: libtiff-devel
225 %if "%{pld_release}" != "ac"
226 BuildRequires: libtool >= 2:2.2
228 BuildRequires: libtool >= 1.4.3
230 #BuildRequires: libwrap-devel
231 BuildRequires: libxml2-devel >= 1:2.7.6-4
232 BuildRequires: libxslt-devel >= 1.1.0
233 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
234 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
235 %if %{with openssl} || %{with ldap}
236 BuildRequires: openssl-devel >= 0.9.7d
238 %{?with_gcov:BuildRequires: lcov}
239 %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
240 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
241 %{?with_instantclient:BuildRequires: oracle-instantclient-devel}
242 BuildRequires: pam-devel
243 %{?with_pcre:BuildRequires: pcre-devel >= 8.10}
244 BuildRequires: pkgconfig
245 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
246 %{?with_pgsql:BuildRequires: postgresql-devel}
247 BuildRequires: readline-devel
248 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
249 BuildRequires: rpm >= 4.4.9-56
250 BuildRequires: rpm-build >= 4.4.0
251 BuildRequires: rpmbuild(macros) >= 1.566
252 %{?with_sqlite:BuildRequires: sqlite-devel}
253 %{?with_sqlite3:BuildRequires: sqlite3-devel >= 3.3.9}
254 BuildRequires: t1lib-devel
255 %{?with_tidy:BuildRequires: tidy-devel}
256 %{?with_odbc:BuildRequires: unixODBC-devel}
257 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
258 BuildRequires: zlib-devel >= 1.0.9
260 BuildRequires: apache1-devel
263 BuildRequires: apache-devel >= 2.0.52-2
264 BuildRequires: apr-devel >= 1:1.0.0
265 BuildRequires: apr-util-devel >= 1:1.0.0
268 #BuildRequires: judy-devel
269 BuildRequires: libevent-devel >= 1.4.7-3
271 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
273 %define php_sysconfdir /etc/php
274 %define php_extensiondir %{_libdir}/php
275 %define _sysconfdir %{php_sysconfdir}
277 # must be in sync with source. extra check ensuring that it is so is done in %%build
278 %define php_api_version 20090626
279 %define zend_module_api 20090626
280 %define zend_extension_api 220090626
282 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
283 %define php_debug %{!?debug:0}%{?debug:1}
286 %undefine with_ccache
290 # ORACLE_HOME is required for oci8 ext to build
291 %define _preserve_env %_preserve_env_base ORACLE_HOME
295 PHP is an HTML-embedded scripting language. PHP attempts to make it
296 easy for developers to write dynamically generated web pages. PHP also
297 offers built-in database integration for several commercial and
298 non-commercial database management systems, so writing a
299 database-enabled web page with PHP is fairly simple. The most common
300 use of PHP coding is probably as a replacement for CGI scripts. The
301 mod_php module enables the Apache web server to understand and process
302 the embedded PHP language in web pages. This package contains PHP
305 %description -l fr.UTF-8
306 PHP est un langage de script embarque dans le HTM. PHP essaye de
307 rendre simple aux developpeurs d'ecrire des pages web generees
308 dynamiquement. PHP incorpore egalement une integration avec plusieurs
309 systemes de gestion de bases de donnees commerciaux et
310 non-connerciaux, qui rent facile la creation de pages web liees avec
311 des bases de donnees. L'utilisation la plus commune de PHP est
312 probablement en remplacement de scripts CGI. Le module mod_php permet
313 au serveur web Apache de comprendre et de traiter le langage PHP
314 integre dans des pages web. Ce package contient PHP version
317 %description -l pl.UTF-8
318 PHP jest językiem skryptowym, którego polecenia umieszcza się w
319 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
320 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
321 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
322 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
323 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
324 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
325 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
328 %description -l pt_BR.UTF-8
329 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
330 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
331 com algumas características únicas, específicas ao PHP. O objetivo da
332 linguagem é permitir que desenvolvedores web escrevam páginas
333 dinamicamente geradas de forma rápida.
335 %description -l ru.UTF-8
336 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
337 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
338 для работы с базами данных относительно просто. Наиболее популярное
339 использование PHP - замена для CGI скриптов.
341 %description -l uk.UTF-8
342 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
343 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
344 роботи з базами даних є доволі простим. Найбільш популярне
345 використання PHP - заміна для CGI скриптів.
347 %package -n apache1-mod_php
348 Summary: PHP DSO module for Apache 1.3.x
349 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x
350 Group: Development/Languages/PHP
351 Requires(triggerpostun): sed >= 4.0
352 Requires: %{name}-common = %{epoch}:%{version}-%{release}
353 Requires: apache1(EAPI) >= 1.3.33-2
354 Requires: apache1-mod_mime
355 Provides: webserver(php) = %{version}
356 Obsoletes: apache-mod_php < 1:4.1.1
359 %description -n apache1-mod_php
360 PHP as DSO module for Apache 1.3.x.
362 %description -n apache1-mod_php -l pl.UTF-8
363 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x.
365 %package -n apache-mod_php
366 Summary: PHP DSO module for Apache 2.x
367 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
368 Group: Development/Languages/PHP
369 Requires: %{name}-common = %{epoch}:%{version}-%{release}
370 Requires: apache(modules-api) = %{apache_modules_api}
371 Requires: apache-mod_mime
372 Provides: webserver(php) = %{version}
375 %description -n apache-mod_php
376 PHP as DSO module for Apache 2.x.
378 %description -n apache-mod_php -l pl.UTF-8
379 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
382 Summary: PHP for litespeed HTTP server
383 Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
384 Group: Development/Languages/PHP
385 Requires: %{name}-common = %{epoch}:%{version}-%{release}
386 Provides: webserver(php) = %{version}
388 %description litespeed
389 PHP for litespeed HTTP server.
391 %description litespeed -l pl.UTF-8
392 PHP dla serwera HTTP litespeed.
395 Summary: PHP as CGI/FastCGI program
396 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
397 Group: Development/Languages/PHP
398 Requires: %{name}-common = %{epoch}:%{version}-%{release}
399 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
402 Provides: webserver(php)
403 Obsoletes: php-fcgi < 4:5.3.0
406 PHP as CGI or FastCGI program.
408 %description cgi -l pl.UTF-8
409 PHP jako program CGI lub FastCGI.
412 Summary: PHP as CLI interpreter
413 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
414 Group: Development/Languages/PHP
415 Requires: %{name}-common = %{epoch}:%{version}-%{release}
418 PHP as CLI interpreter.
420 %description cli -l pl.UTF-8
421 PHP jako interpreter działający z linii poleceń.
424 Summary: /usr/bin/php symlink
425 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
426 Group: Development/Languages/PHP
427 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
428 Obsoletes: /usr/bin/php
431 Package providing /usr/bin/php symlink to PHP CLI.
433 %description program -l pl.UTF-8
434 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
437 Summary: PHP FastCGI Process Manager
438 Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
439 Group: Development/Languages/PHP
440 URL: http://www.php-fpm.org/
441 Requires(post,preun): /sbin/chkconfig
442 Requires(postun): /usr/sbin/userdel
443 Requires(pre): /bin/id
444 Requires(pre): /usr/sbin/useradd
445 Requires: %{name}-common = %{epoch}:%{version}-%{release}
446 Requires: libevent >= 1.4.7-3
449 Provides: webserver(php) = %{version}
452 PHP FastCGI Process Manager.
454 %description fpm -l pl.UTF-8
455 PHP FastCGI Process Manager - zarządca procesów FastCGI.
458 Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
459 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
460 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
461 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
463 Requires(post): sed >= 4.0
464 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
465 Requires: glibc >= 6:2.3.5
467 Requires: rpm-whiteout >= 1.28
472 Provides: php(libxml)
473 Provides: php(modules_api) = %{php_api_version}
474 Provides: php(overload)
475 Provides: php(reflection)
476 Provides: php(standard)
477 Provides: php(zend_extension_api) = %{zend_extension_api}
478 Provides: php(zend_module_api) = %{zend_module_api}
481 Provides: php-overload
482 Provides: php-reflection
483 Provides: php-standard
484 Provides: php5(debug) = %{php_debug}
485 Provides: php5(thread-safety) = %{zend_zts}
486 %{!?with_mysqlnd:Obsoletes: php-mysqlnd}
487 %{?with_pcre:%requires_ge_to pcre pcre-devel}
488 Obsoletes: php-pecl-domxml
489 Conflicts: php4-common < 3:4.4.4-8
490 Conflicts: rpm < 4.4.2-0.2
493 Common files needed by both Apache modules and CGI/CLI SAPIs.
495 %description common -l pl.UTF-8
496 Wspólne pliki dla modułu Apache'a i programu CGI.
498 %description common -l ru.UTF-8
499 Этот пакет содержит общие файлы для разных вариантов реализации PHP
500 (самодостаточной и в качестве модуля Apache).
502 %description common -l uk.UTF-8
503 Цей пакет містить спільні файли для різних варіантів реалізації PHP
504 (самодостатньої та в якості модуля Apache).
507 Summary: Files for PHP modules development
508 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
509 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
510 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
511 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
512 Group: Development/Languages/PHP
513 Requires: %{name}-common = %{epoch}:%{version}-%{release}
516 %if "%{pld_release}" != "ac"
517 Requires: libtool >= 2:2.2
521 %{?with_pcre:Requires: pcre-devel >= 8.10}
523 Obsoletes: php-pear-devel
524 Obsoletes: php4-devel
527 The php-devel package lets you compile dynamic extensions to PHP.
528 Included here is the source for the PHP extensions. Instead of
529 recompiling the whole PHP binary to add support for, say, oracle,
530 install this package and use the new self-contained extensions
531 support. For more information, read the file
532 README.SELF-CONTAINED-EXTENSIONS.
534 %description devel -l pl.UTF-8
535 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
536 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
537 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
538 samodzielnych rozszerzeniach można znaleźć w pliku
539 README.SELF-CONTAINED-EXTENSIONS.
541 %description devel -l pt_BR.UTF-8
542 Este pacote contém arquivos usados no desenvolvimento de programas ou
545 %description devel -l ru.UTF-8
546 Пакет php-devel дает возможность компилировать динамические расширения
547 PHP. Пакет включает исходный код этих расширений. Вместо повторной
548 компиляции бинарного файла PHP для добавления, например, поддержки
549 oracle, установите этот пакет для компилирования отдельных расширений.
550 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
552 %description devel -l uk.UTF-8
553 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
554 До пакету включено вихідний код для розширень. Замість повторної
555 компіляції бінарного файлу PHP для додання, наприклад, підтримки
556 oracle, встановіть цей пакет для компіляції окремих розширень.
557 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
560 Summary: bcmath extension module for PHP
561 Summary(pl.UTF-8): Moduł bcmath dla PHP
563 URL: http://www.php.net/manual/en/book.bc.php
564 Requires: %{name}-common = %{epoch}:%{version}-%{release}
565 Provides: php(bcmath)
568 This is a dynamic shared object (DSO) for PHP that will add bc style
569 precision math functions support.
571 %description bcmath -l pl.UTF-8
572 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
573 matematycznych takich jak w programie bc.
576 Summary: Bzip2 extension module for PHP
577 Summary(pl.UTF-8): Moduł bzip2 dla PHP
579 URL: http://www.php.net/manual/en/book.bzip2.php
580 Requires: %{name}-common = %{epoch}:%{version}-%{release}
583 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
584 Obsoletes: php-bzip2 < 4:5.2.14-3
587 This is a dynamic shared object (DSO) for PHP that will add bzip2
588 compression support to PHP.
590 %description bz2 -l pl.UTF-8
591 Moduł PHP umożliwiający używanie kompresji bzip2.
594 Summary: Calendar extension module for PHP
595 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
597 URL: http://www.php.net/manual/en/book.calendar.php
598 Requires: %{name}-common = %{epoch}:%{version}-%{release}
599 Provides: php(calendar)
601 %description calendar
602 This is a dynamic shared object (DSO) for PHP that will add calendar
605 %description calendar -l pl.UTF-8
606 Moduł PHP dodający wsparcie dla kalendarza.
609 Summary: ctype extension module for PHP
610 Summary(pl.UTF-8): Moduł ctype dla PHP
612 URL: http://www.php.net/manual/en/book.ctype.php
613 Requires: %{name}-common = %{epoch}:%{version}-%{release}
617 This is a dynamic shared object (DSO) for PHP that will add ctype
620 %description ctype -l pl.UTF-8
621 Moduł PHP umożliwiający korzystanie z funkcji ctype.
624 Summary: curl extension module for PHP
625 Summary(pl.UTF-8): Moduł curl dla PHP
627 URL: http://www.php.net/manual/en/book.curl.php
628 Requires: %{name}-common = %{epoch}:%{version}-%{release}
632 This is a dynamic shared object (DSO) for PHP that will add curl
635 %description curl -l pl.UTF-8
636 Moduł PHP umożliwiający korzystanie z biblioteki curl.
639 Summary: DBA extension module for PHP
640 Summary(pl.UTF-8): Moduł DBA dla PHP
642 URL: http://www.php.net/manual/en/book.dba.php
643 Requires: %{name}-common = %{epoch}:%{version}-%{release}
647 This is a dynamic shared object (DSO) for PHP that will add flat-file
648 databases (DBA) support.
650 %description dba -l pl.UTF-8
651 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
655 Summary: DOM extension module for PHP
656 Summary(pl.UTF-8): Moduł DOM dla PHP
658 URL: http://www.php.net/manual/en/book.dom.php
659 Requires: %{name}-common = %{epoch}:%{version}-%{release}
661 # it has some compatibility functions
662 Provides: php(domxml)
663 Provides: php-domxml = %{epoch}:%{version}-%{release}
664 Obsoletes: php-domxml <= 3:4.3.8-1
667 This is a dynamic shared object (DSO) for PHP that will add new DOM
670 %description dom -l pl.UTF-8
671 Moduł PHP dodający nową obsługę DOM.
674 Summary: exif extension module for PHP
675 Summary(pl.UTF-8): Moduł exif dla PHP
677 URL: http://www.php.net/manual/en/book.exif.php
678 Requires: %{name}-common = %{epoch}:%{version}-%{release}
682 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
683 support in image files.
685 %description exif -l pl.UTF-8
686 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
689 Summary: libmagic bindings
690 Summary(pl.UTF-8): Wiązania do libmagic
692 URL: http://www.php.net/manual/en/book.fileinfo.php
693 Requires: %{name}-common = %{epoch}:%{version}-%{release}
694 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
695 Provides: php(fileinfo)
696 Obsoletes: php-mime_magic
697 Obsoletes: php-pecl-fileinfo
699 %description fileinfo
700 This extension allows retrieval of information regarding vast majority
701 of file. This information may include dimensions, quality, length
704 Additionally it can also be used to retrieve the MIME type for a
705 particular file and for text files proper language encoding.
707 %description fileinfo -l pl.UTF-8
708 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
709 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
711 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
712 pliku oraz kodowania plików tekstowych.
715 Summary: Extension for safely dealing with input parameters
716 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
718 URL: http://www.php.net/manual/en/book.filter.php
719 Requires: %{name}-common = %{epoch}:%{version}-%{release}
720 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
721 Provides: php(filter)
722 Obsoletes: php-pecl-filter
725 We all know that you should always check input variables, but PHP does
726 not offer really good functionality for doing this in a safe way. The
727 Input Filter extension is meant to address this issue by implementing
728 a set of filters and mechanisms that users can use to safely access
731 %description filter -l pl.UTF-8
732 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
733 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
734 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
735 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
736 mogą bezpiecznie używać do dostępu do danych.
739 Summary: FTP extension module for PHP
740 Summary(pl.UTF-8): Moduł FTP dla PHP
742 URL: http://www.php.net/manual/en/book.ftp.php
743 Requires: %{name}-common = %{epoch}:%{version}-%{release}
747 This is a dynamic shared object (DSO) for PHP that will add FTP
750 %description ftp -l pl.UTF-8
751 Moduł PHP dodający obsługę protokołu FTP.
754 Summary: GD extension module for PHP
755 Summary(pl.UTF-8): Moduł GD dla PHP
757 URL: http://www.php.net/manual/en/book.image.php
758 Requires: %{name}-common = %{epoch}:%{version}-%{release}
759 %if %{with system_gd}
760 Requires: gd >= 2.0.28-4
762 Requires: gd(imagerotate) = 5.2.0
767 This is a dynamic shared object (DSO) for PHP that will add GD
768 support, allowing you to create and manipulate images with PHP.
770 %description gd -l pl.UTF-8
771 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
772 tworzenie i obróbkę obrazków.
775 Summary: gettext extension module for PHP
776 Summary(pl.UTF-8): Moduł gettext dla PHP
778 URL: http://www.php.net/manual/en/book.gettext.php
779 Requires: %{name}-common = %{epoch}:%{version}-%{release}
780 Provides: php(gettext)
783 This is a dynamic shared object (DSO) for PHP that will add gettext
786 %description gettext -l pl.UTF-8
787 Moduł PHP dodający obsługę lokalizacji przez gettext.
790 Summary: gmp extension module for PHP
791 Summary(pl.UTF-8): Moduł gmp dla PHP
793 URL: http://www.php.net/manual/en/book.gmp.php
794 Requires: %{name}-common = %{epoch}:%{version}-%{release}
798 This is a dynamic shared object (DSO) for PHP that will add arbitrary
799 length number support with GNU MP library.
801 %description gmp -l pl.UTF-8
802 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
803 liczbach o dowolnej długości.
806 Summary: HASH Message Digest Framework
807 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
809 URL: http://www.php.net/manual/en/book.gmp.php
810 Requires: %{name}-common = %{epoch}:%{version}-%{release}
813 Provides: php-mhash = %{epoch}:%{version}-%{release}
814 Obsoletes: php-mhash < 4:5.3.0
815 Obsoletes: php-pecl-hash
818 Native implementations of common message digest algorithms using a
819 generic factory method.
821 %description hash -l pl.UTF-8
822 Natywne implementacje popularnych algorytmów obliczania skrótów
823 wiadomości przy użyciu wspólnego interfejsu.
826 Summary: iconv extension module for PHP
827 Summary(pl.UTF-8): Moduł iconv dla PHP
829 URL: http://www.php.net/manual/en/book.iconv.php
830 Requires: %{_libdir}/gconv
831 Requires: %{name}-common = %{epoch}:%{version}-%{release}
836 This is a dynamic shared object (DSO) for PHP that will add iconv
839 %description iconv -l pl.UTF-8
840 Moduł PHP dodający obsługę iconv.
843 Summary: IMAP extension module for PHP
844 Summary(pl.UTF-8): Moduł IMAP dla PHP
845 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
847 URL: http://www.php.net/manual/en/book.imap.php
848 Requires: %{name}-common = %{epoch}:%{version}-%{release}
849 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
850 Requires: imap-lib >= 1:2007e-2
854 This is a dynamic shared object (DSO) for PHP that will add IMAP
857 %description imap -l pl.UTF-8
858 Moduł PHP dodający obsługę skrzynek IMAP.
860 %description imap -l pt_BR.UTF-8
861 Um módulo para aplicações PHP que usam IMAP.
864 Summary: InterBase/Firebird database module for PHP
865 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
867 URL: http://www.php.net/manual/en/book.ibase.php
868 Requires: %{name}-common = %{epoch}:%{version}-%{release}
869 Provides: php(interbase)
870 %{?with_interbase_inst:Autoreq: false}
872 %description interbase
873 This is a dynamic shared object (DSO) for PHP that will add InterBase
874 and Firebird database support.
876 %description interbase -l pl.UTF-8
877 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
880 Summary: Internationalization extension (ICU wrapper)
881 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
883 URL: http://www.php.net/intl
884 Requires: %{name}-common = %{epoch}:%{version}-%{release}
888 Internationalization extension (further is referred as Intl) is a
889 wrapper for ICU library, enabling PHP programmers to perform
890 UCA-conformant collation and date/time/number/currency formatting in
893 %description intl -l pl.UTF-8
894 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
895 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
896 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
900 Summary: PHP C extension for JSON serialization
901 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
903 URL: http://www.php.net/manual/en/book.json.php
904 Requires: %{name}-common = %{epoch}:%{version}-%{release}
906 Obsoletes: php-pecl-json
909 php-json is an extremely fast PHP C extension for JSON (JavaScript
910 Object Notation) serialisation.
912 %description json -l pl.UTF-8
913 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
914 (JavaScript Object Notation).
917 Summary: LDAP extension module for PHP
918 Summary(pl.UTF-8): Moduł LDAP dla PHP
919 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
921 URL: http://www.php.net/manual/en/book.ldap.php
922 Requires: %{name}-common = %{epoch}:%{version}-%{release}
926 This is a dynamic shared object (DSO) for PHP that will add LDAP
929 %description ldap -l pl.UTF-8
930 Moduł PHP dodający obsługę LDAP.
932 %description ldap -l pt_BR.UTF-8
933 Um módulo para aplicações PHP que usam LDAP.
936 Summary: mbstring extension module for PHP
937 Summary(pl.UTF-8): Moduł mbstring dla PHP
939 URL: http://www.php.net/manual/en/book.mbstring.php
940 Requires: %{name}-common = %{epoch}:%{version}-%{release}
941 Provides: php(mbstring)
943 %description mbstring
944 This is a dynamic shared object (DSO) for PHP that will add multibyte
947 %description mbstring -l pl.UTF-8
948 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
951 Summary: mcrypt extension module for PHP
952 Summary(pl.UTF-8): Moduł mcrypt dla PHP
954 URL: http://www.php.net/manual/en/book.mcrypt.php
955 Requires: %{name}-common = %{epoch}:%{version}-%{release}
956 Provides: php(mcrypt)
959 This is a dynamic shared object (DSO) for PHP that will add mcrypt
962 %description mcrypt -l pl.UTF-8
963 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
966 Summary: MS SQL extension module for PHP
967 Summary(pl.UTF-8): Moduł MS SQL dla PHP
969 URL: http://www.php.net/manual/en/book.mssql.php
970 Requires: %{name}-common = %{epoch}:%{version}-%{release}
974 This is a dynamic shared object (DSO) for PHP that will add MS SQL
975 databases support through FreeTDS library.
977 %description mssql -l pl.UTF-8
978 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
982 Summary: MySQL database module for PHP
983 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
984 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
986 URL: http://www.php.net/manual/en/book.mysql.php
987 Requires: %{name}-common = %{epoch}:%{version}-%{release}
988 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
992 This is a dynamic shared object (DSO) for PHP that will add MySQL
995 %description mysql -l pl.UTF-8
996 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
998 %description mysql -l pt_BR.UTF-8
999 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1002 Summary: MySQLi module for PHP
1003 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1005 URL: http://www.php.net/manual/en/book.mysqli.php
1006 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1007 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1008 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1009 Provides: php(mysqli)
1012 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1013 (Improved MySQL) support. The difference between it and mysql module
1014 is that it provides access to functionality of MySQL 4.1 and above.
1016 %description mysqli -l pl.UTF-8
1017 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1018 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1019 MySQL w wersji 4.1 i nowszych.
1022 Summary: MySQL Native Client Driver for PHP
1023 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1025 URL: http://www.php.net/manual/en/book.mysqlnd.php
1026 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1027 Provides: php(mysqlnd)
1029 %description mysqlnd
1030 MySQL Native Driver is a replacement for the MySQL Client Library
1033 Because MySQL Native Driver is written as a PHP extension, it is
1034 tightly coupled to the workings of PHP. This leads to gains in
1035 efficiency, especially when it comes to memory usage, as the driver
1036 uses the PHP memory management system. It also supports the PHP memory
1037 limit. Using MySQL Native Driver leads to comparable or better
1038 performance than using MySQL Client Library, it always ensures the
1039 most efficient use of memory. One example of the memory efficiency is
1040 the fact that when using the MySQL Client Library, each row is stored
1041 in memory twice, whereas with the MySQL Native Driver each row is only
1042 stored once in memory.
1044 %description mysqlnd -l pl.UTF-8
1045 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1046 klienckiej MySQL (libmysql).
1048 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1049 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1050 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1051 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1052 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1053 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1054 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1055 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1056 tym sterowniku - tylko raz.
1059 Summary: Oracle 8+ database module for PHP
1060 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1062 URL: http://www.php.net/manual/en/book.oci8.php
1063 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1068 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1069 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1071 %description oci8 -l pl.UTF-8
1072 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1073 poprzez interfejs Oracle8 Call-Interface (OCI8).
1076 Summary: ODBC extension module for PHP
1077 Summary(pl.UTF-8): Moduł ODBC dla PHP
1078 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1080 URL: http://www.php.net/manual/en/book.uodbc.php
1081 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1082 Requires: unixODBC >= 2.1.1-3
1086 This is a dynamic shared object (DSO) for PHP that will add ODBC
1089 %description odbc -l pl.UTF-8
1090 Moduł PHP ze wsparciem dla ODBC.
1092 %description odbc -l pt_BR.UTF-8
1093 Um módulo para aplicações PHP que usam ODBC.
1096 Summary: OpenSSL extension module for PHP
1097 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1099 URL: http://www.php.net/manual/en/book.openssl.php
1100 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1101 Provides: php(openssl)
1103 %description openssl
1104 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1107 %description openssl -l pl.UTF-8
1108 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1111 Summary: Process Control extension module for PHP
1112 Summary(pl.UTF-8): Moduł Process Control dla PHP
1114 URL: http://www.php.net/manual/en/book.pcntl.php
1115 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1116 Provides: php(pcntl)
1119 This is a dynamic shared object (DSO) for PHP that will add process
1120 spawning and control support. It supports functions like fork(),
1121 waitpid(), signal() etc.
1123 %description pcntl -l pl.UTF-8
1124 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1125 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1128 Summary: PCRE extension module for PHP
1129 Summary(pl.UTF-8): Moduł PCRE dla PHP
1131 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1135 This is a dynamic shared object (DSO) for PHP that will add Perl
1136 Compatible Regular Expression support.
1138 %description pcre -l pl.UTF-8
1139 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1140 (Perl Compatible Regular Expressions)
1143 Summary: PHP Data Objects (PDO)
1144 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1146 URL: http://www.php.net/manual/en/book.pdo.php
1147 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1148 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1150 Obsoletes: php-pecl-PDO
1153 This is a dynamic shared object (DSO) for PHP that will add PDO
1156 %description pdo -l pl.UTF-8
1157 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1160 Summary: PHP Data Objects (PDO) FreeTDS support
1161 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1163 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1164 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1165 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1166 Provides: php(dblib)
1168 %description pdo-dblib
1169 This is a dynamic shared object (DSO) for PHP that will add PDO
1172 %description pdo-dblib -l pl.UTF-8
1173 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1176 %package pdo-firebird
1177 Summary: PHP Data Objects (PDO) Firebird support
1178 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1180 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1181 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1182 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1183 Provides: php(pdo-firebird)
1184 Obsoletes: php-pecl-PDO_FIREBIRD
1186 %description pdo-firebird
1187 This is a dynamic shared object (DSO) for PHP that will add PDO
1190 %description pdo-firebird -l pl.UTF-8
1191 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1195 Summary: PHP Data Objects (PDO) MySQL support
1196 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1198 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1199 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1200 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1201 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1202 Provides: php(pdo-mysql)
1203 Obsoletes: php-pecl-PDO_MYSQL
1205 %description pdo-mysql
1206 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1209 %description pdo-mysql -l pl.UTF-8
1210 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1214 Summary: PHP Data Objects (PDO) Oracle support
1215 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1217 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1218 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1219 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1220 Provides: php(pdo-oci)
1221 Obsoletes: php-pecl-PDO_OCI
1223 %description pdo-oci
1224 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1227 %description pdo-oci -l pl.UTF-8
1228 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1232 Summary: PHP Data Objects (PDO) ODBC support
1233 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1235 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1236 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1237 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1238 Provides: php(pdo-odbc)
1239 Obsoletes: php-pecl-PDO_ODBC
1241 %description pdo-odbc
1242 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1245 %description pdo-odbc -l pl.UTF-8
1246 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1250 Summary: PHP Data Objects (PDO) PostgreSQL support
1251 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1253 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1254 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1255 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1256 Provides: php(pdo-pgsql)
1257 Provides: php-pecl-PDO_PGSQL
1258 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1260 %description pdo-pgsql
1261 This is a dynamic shared object (DSO) for PHP that will add PDO
1264 %description pdo-pgsql -l pl.UTF-8
1265 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1269 Summary: PHP Data Objects (PDO) SQLite support
1270 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1272 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1273 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1274 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1275 Provides: php(pdo-sqlite)
1276 Obsoletes: php-pecl-PDO_SQLITE
1278 %description pdo-sqlite
1279 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1282 %description pdo-sqlite -l pl.UTF-8
1283 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1287 Summary: PostgreSQL database module for PHP
1288 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1290 URL: http://www.php.net/manual/en/book.pgsql.php
1291 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1292 Provides: php(pgsql)
1295 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1298 %description pgsql -l pl.UTF-8
1299 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1301 %description pgsql -l pt_BR.UTF-8
1302 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1305 Summary: phar database module for PHP
1306 Summary(pl.UTF-8): Moduł phar dla PHP
1308 URL: http://www.php.net/manual/en/book.phar.php
1309 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1310 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1314 This is a dynamic shared object (DSO) for PHP that will add phar
1317 %description phar -l pl.UTF-8
1318 Moduł PHP umożliwiający dostęp do achiwów .phar.
1321 Summary: POSIX extension module for PHP
1322 Summary(pl.UTF-8): Moduł POSIX dla PHP
1324 URL: http://www.php.net/manual/en/book.posix.php
1325 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1326 Provides: php(posix)
1329 This is a dynamic shared object (DSO) for PHP that will add POSIX
1330 functions support to PHP.
1332 %description posix -l pl.UTF-8
1333 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1336 Summary: pspell extension module for PHP
1337 Summary(pl.UTF-8): Moduł pspell dla PHP
1339 URL: http://www.php.net/manual/en/book.pspell.php
1340 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1341 Provides: php(pspell)
1344 This is a dynamic shared object (DSO) for PHP that will add pspell
1345 support to PHP. It allows to check the spelling of a word and offer
1348 %description pspell -l pl.UTF-8
1349 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1350 sprawdzanie pisowni słowa i sugerowanie poprawek.
1353 Summary: readline extension module for PHP
1354 Summary(pl.UTF-8): Moduł readline dla PHP
1356 URL: http://www.php.net/manual/en/book.readline.php
1357 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1358 Provides: php(readline)
1360 %description readline
1361 This PHP module adds support for readline functions (only for cli and
1364 %description readline -l pl.UTF-8
1365 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1368 Summary: recode extension module for PHP
1369 Summary(pl.UTF-8): Moduł recode dla PHP
1371 URL: http://www.php.net/manual/en/book.recode.php
1372 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1373 Requires: recode >= 3.5d-3
1374 Provides: php(recode)
1377 This is a dynamic shared object (DSO) for PHP that will add recode
1380 %description recode -l pl.UTF-8
1381 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1385 Summary: session extension module for PHP
1386 Summary(pl.UTF-8): Moduł session dla PHP
1388 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1389 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1390 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1391 Provides: php(session)
1393 %description session
1394 This is a dynamic shared object (DSO) for PHP that will add session
1397 %description session -l pl.UTF-8
1398 Moduł PHP dodający obsługę sesji.
1401 Summary: Shared Memory Operations extension module for PHP
1402 Summary(pl.UTF-8): Moduł shmop dla PHP
1404 URL: http://www.php.net/manual/en/book.shmop.php
1405 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1406 Provides: php(shmop)
1409 This is a dynamic shared object (DSO) for PHP that will add Shared
1410 Memory Operations support.
1412 %description shmop -l pl.UTF-8
1413 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1416 Summary: Simple XML extension module for PHP
1417 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1419 URL: http://www.php.net/manual/en/book.simplexml.php
1420 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1421 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1422 Provides: php(simplexml)
1424 %description simplexml
1425 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1428 %description simplexml -l pl.UTF-8
1429 Moduł PHP dodający obsługę prostego XML-a.
1432 Summary: SNMP extension module for PHP
1433 Summary(pl.UTF-8): Moduł SNMP dla PHP
1435 URL: http://www.php.net/manual/en/book.snmp.php
1436 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1437 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1441 This is a dynamic shared object (DSO) for PHP that will add SNMP
1444 %description snmp -l pl.UTF-8
1445 Moduł PHP dodający obsługę SNMP.
1448 Summary: soap extension module for PHP
1449 Summary(pl.UTF-8): Moduł soap dla PHP
1451 URL: http://www.php.net/manual/en/book.soap.php
1452 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1456 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1459 %description soap -l pl.UTF-8
1460 Moduł PHP dodający obsługę SOAP/WSDL.
1463 Summary: sockets extension module for PHP
1464 Summary(pl.UTF-8): Moduł socket dla PHP
1466 URL: http://www.php.net/manual/en/book.sockets.php
1467 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1468 Provides: php(sockets)
1470 %description sockets
1471 This is a dynamic shared object (DSO) for PHP that will add sockets
1474 %description sockets -l pl.UTF-8
1475 Moduł PHP dodający obsługę gniazdek.
1478 Summary: Standard PHP Library module for PHP
1479 Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1481 URL: http://php.net/manual/en/book.spl.php
1482 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1483 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1484 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1488 This is a dynamic shared object (DSO) for PHP that will add Standard
1489 PHP Library support.
1491 %description spl -l pl.UTF-8
1492 Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1495 Summary: SQLite extension module for PHP
1496 Summary(pl.UTF-8): Moduł SQLite dla PHP
1498 URL: http://www.php.net/manual/en/book.sqlite.php
1499 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1500 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1501 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1502 Provides: php(sqlite)
1505 SQLite is a C library that implements an embeddable SQL database
1506 engine. Programs that link with the SQLite library can have SQL
1507 database access without running a separate RDBMS process.
1509 SQLite is not a client library used to connect to a big database
1510 server. SQLite is the server. The SQLite library reads and writes
1511 directly to and from the database files on disk.
1513 %description sqlite -l pl.UTF-8
1514 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1515 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1516 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1519 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1520 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1521 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1525 Summary: SQLite3 extension module for PHP
1526 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1528 URL: http://php.net/manual/en/book.sqlite3.php
1529 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1530 Provides: php(sqlite3)
1532 %description sqlite3
1533 SQLite is a C library that implements an embeddable SQL database
1534 engine. Programs that link with the SQLite library can have SQL
1535 database access without running a separate RDBMS process.
1537 SQLite is not a client library used to connect to a big database
1538 server. SQLite is the server. The SQLite library reads and writes
1539 directly to and from the database files on disk.
1541 %description sqlite3 -l pl.UTF-8
1542 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1543 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1544 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1547 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1548 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1549 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1553 Summary: Sybase-CT extension module for PHP
1554 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1556 URL: http://www.php.net/manual/en/book.sybase.php
1557 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1558 Provides: php(sybase-ct)
1559 Obsoletes: php-sybase
1561 %description sybase-ct
1562 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1563 MS SQL databases support through CT-lib.
1565 %description sybase-ct -l pl.UTF-8
1566 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1570 Summary: SysV msg extension module for PHP
1571 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1573 URL: http://www.php.net/manual/en/book.sem.php
1574 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1575 Provides: php(sysvmsg)
1577 %description sysvmsg
1578 This is a dynamic shared object (DSO) for PHP that will add SysV
1579 message queues support.
1581 %description sysvmsg -l pl.UTF-8
1582 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1585 Summary: SysV sem extension module for PHP
1586 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1588 URL: http://www.php.net/manual/en/book.sem.php
1589 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1590 Provides: php(sysvsem)
1592 %description sysvsem
1593 This is a dynamic shared object (DSO) for PHP that will add SysV
1596 %description sysvsem -l pl.UTF-8
1597 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1600 Summary: SysV shm extension module for PHP
1601 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1603 URL: http://www.php.net/manual/en/book.shmop.php
1604 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1605 Provides: php(sysvshm)
1607 %description sysvshm
1608 This is a dynamic shared object (DSO) for PHP that will add SysV
1609 Shared Memory support.
1611 %description sysvshm -l pl.UTF-8
1612 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1615 Summary: Contains unit test files for PHP and extensions
1616 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1618 URL: http://qa.php.net/
1619 Requires: %{name}-cli
1622 This package contains unit tests for PHP and it's extensions.
1624 %description tests -l pl.UTF-8
1625 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1628 Summary: Tidy extension module for PHP
1629 Summary(pl.UTF-8): Moduł Tidy dla PHP
1631 URL: http://www.php.net/manual/en/book.tidy.php
1632 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1637 This is a dynamic shared object (DSO) for PHP that will add Tidy
1640 %description tidy -l pl.UTF-8
1641 Moduł PHP umożliwiający korzystanie z tidy.
1644 Summary: tokenizer extension module for PHP
1645 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1647 URL: http://www.php.net/manual/en/book.tokenizer.php
1648 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1649 Provides: php(tokenizer)
1651 %description tokenizer
1652 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1655 %description tokenizer -l pl.UTF-8
1656 Moduł PHP dodający obsługę tokenizera do PHP.
1659 Summary: wddx extension module for PHP
1660 Summary(pl.UTF-8): Moduł wddx dla PHP
1662 URL: http://www.php.net/manual/en/book.wddx.php
1663 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1664 # - wddx doesn't require session as it's disabled at compile time:
1665 # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1666 # see also php.spec#rev1.120.2.22
1667 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1668 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1672 This is a dynamic shared object (DSO) for PHP that will add wddx
1675 %description wddx -l pl.UTF-8
1676 Moduł PHP umożliwiający korzystanie z wddx.
1679 Summary: XML extension module for PHP
1680 Summary(pl.UTF-8): Moduł XML dla PHP
1682 URL: http://www.php.net/manual/en/book.xml.php
1683 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1687 This is a dynamic shared object (DSO) for PHP that will add XML
1688 support. This extension lets you create XML parsers and then define
1689 handlers for different XML events.
1691 %description xml -l pl.UTF-8
1692 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1693 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1694 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1697 Summary: XML Reader extension module for PHP
1698 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1700 URL: http://www.php.net/manual/en/book.xmlreader.php
1701 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1702 Suggests: %{name}-dom = %{epoch}:%{version}-%{release}
1703 Provides: php(xmlreader)
1705 %description xmlreader
1706 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1707 support. The XMLReader extension is an XML Pull parser. The reader
1708 acts as a cursor going forward on the document stream and stopping at
1709 each node on the way.
1711 %description xmlreader -l pl.UTF-8
1712 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1713 działa jako kursor przechodzący przez strumień dokumentu i
1714 zatrzymujący się na każdym węźle po drodze.
1717 Summary: xmlrpc extension module for PHP
1718 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1720 URL: http://www.php.net/manual/en/book.xmlrpc.php
1721 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1722 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1723 Provides: php(xmlrpc)
1726 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1729 %description xmlrpc -l pl.UTF-8
1730 Moduł PHP dodający obsługę XMLRPC.
1733 Summary: Fast, non-cached, forward-only means to write XML data
1734 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1736 URL: http://www.php.net/manual/en/book.xmlwriter.php
1737 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1738 Provides: php(xmlwriter)
1739 Obsoletes: php-pecl-xmlwriter
1741 %description xmlwriter
1742 This extension wraps the libxml xmlWriter API. Represents a writer
1743 that provides a non-cached, forward-only means of generating streams
1744 or files containing XML data.
1746 %description xmlwriter -l pl.UTF-8
1747 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1748 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1749 plików zawierających dane XML.
1752 Summary: xsl extension module for PHP
1753 Summary(pl.UTF-8): Moduł xsl dla PHP
1755 URL: http://www.php.net/manual/en/book.xsl.php
1756 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1757 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1758 Requires: libxslt >= 1.0.18
1759 # actually not true, functionality is similar, but API differs
1761 Obsoletes: php-xslt <= 3:4.3.8-1
1764 This is a dynamic shared object (DSO) for PHP that will add new XSL
1765 support (using libxslt).
1767 %description xsl -l pl.UTF-8
1768 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1771 Summary: Zip management extension
1772 Summary(pl.UTF-8): Zarządzanie archiwami zip
1774 URL: http://www.php.net/manual/en/book.zip.php
1775 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1777 Obsoletes: php-pecl-zip
1780 Zip is an extension to create, modify and read zip files.
1782 %description zip -l pl.UTF-8
1783 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1784 odczyt archiwów zip.
1787 Summary: Zlib extension module for PHP
1788 Summary(pl.UTF-8): Moduł zlib dla PHP
1790 URL: http://www.php.net/manual/en/book.zlib.php
1791 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1795 This is a dynamic shared object (DSO) for PHP that will add zlib
1796 compression support to PHP.
1798 %description zlib -l pl.UTF-8
1799 Moduł PHP umożliwiający używanie kompresji zlib.
1803 # prep for suhosin patch
1804 %{__sed} -i -e 's,\r$,,' Zend/Zend.dsp Zend/ZendTS.dsp
1815 cp php.ini-production php.ini
1817 %if %{with type_hints}
1824 %if %{with system_gd}
1838 %if "%{pld_release}" != "ac"
1863 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
1872 %{__rm} -r sapi/litespeed
1873 gzip -dc %{SOURCE15} | tar xf - -C sapi/
1875 %if "%{pld_release}" != "ac"
1876 sed -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
1879 # cleanup backups after patching
1880 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
1882 # conflict seems to be resolved by recode patches
1883 %{__rm} ext/recode/config9.m4
1885 # remove all bundled libraries not to link with them accidentally
1886 #%{__rm} -r ext/sqlite/libsqlite
1887 %{__rm} -r ext/sqlite3/libsqlite
1888 #%{__rm} -r ext/bcmath/libbcmath
1889 #%{__rm} -r ext/date/lib
1890 #%{__rm} -r ext/fileinfo/libmagic
1891 #%{__rm} -r ext/dba/libcdb
1892 #%{__rm} -r ext/dba/libflatfile
1893 #%{__rm} -r ext/dba/libinifile
1894 #%{__rm} -r ext/gd/libgd
1895 #%{__rm} -r ext/mbstring/libmbfl
1896 #%{__rm} -r ext/mbstring/oniguruma
1897 %{__rm} -r ext/pcre/pcrelib
1898 #%{__rm} -r ext/soap/interop
1899 %{__rm} -r ext/xmlrpc/libxmlrpc
1900 #%{__rm} -r ext/zip/lib
1902 cp -af Zend/LICENSE{,.Zend}
1903 install -p %{SOURCE13} dep-tests.sh
1906 sed -i -e 's#-fvisibility=hidden##g' configure*
1908 # disable broken tests
1909 # says just "Terminated" twice and fails
1910 mv sapi/cli/tests/022.phpt{,.broken}
1912 # php-5.3.3/ext/standard/tests/file/statpage.phpt
1913 %{__rm} ext/standard/tests/file/statpage.phpt
1915 # idiotic test, it will fail if somebody else makes space on disk or if disk
1916 # space is not yet allocated (xfs). report upstream to advice bogus test is
1917 # probably pointless.
1918 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
1920 sh -xe %{_sourcedir}/skip-tests.sh
1923 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
1924 if [ $API != %{php_api_version} ]; then
1925 echo "Set %%define php_api_version to $API and re-run."
1929 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
1930 if [ $API != %{zend_module_api} ]; then
1931 echo "Set %%define zend_module_api to $API and re-run."
1935 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
1936 if [ $API != %{zend_extension_api} ]; then
1937 echo "Set %%define zend_extension_api to $API and re-run."
1941 export EXTENSION_DIR="%{php_extensiondir}"
1942 # configure once (for faster debugging purposes)
1943 if [ ! -f _built-conf ]; then
1944 # now remove Makefile copies
1945 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed}
1948 cp -f /usr/share/automake/config.* .
1952 export PROG_SENDMAIL="/usr/lib/sendmail"
1953 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \
1954 -I%{_includedir}/xmlrpc-epi"
1961 %if %{with litespeed}
1974 for sapi in $sapis; do
1976 # skip if already configured (for faster debugging purposes)
1977 [ -f Makefile.$sapi ] && continue
1982 sapi_args='--disable-cli'
1985 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
1988 sapi_args='--disable-cli --enable-fpm'
1991 ver=$(rpm -q --qf '%{V}' apache1-devel)
1992 sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
1995 ver=$(rpm -q --qf '%{V}' apache-devel)
1996 sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
1999 sapi_args='--with-litespeed'
2005 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2006 --cache-file=config.cache \
2008 --with-libdir=%{_lib} \
2009 --with-config-file-path=%{_sysconfdir} \
2010 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2011 --with-exec-dir=%{_bindir} \
2012 --with-system-tzdata \
2013 --%{!?debug:dis}%{?debug:en}able-debug \
2014 %{?with_zts:--enable-maintainer-zts} \
2015 --enable-inline-optimization \
2016 --enable-bcmath=shared \
2017 --enable-calendar=shared \
2018 --enable-ctype=shared \
2019 --enable-dba=shared \
2020 --enable-dom=shared \
2021 --enable-exif=shared \
2022 --enable-fileinfo=shared \
2023 --enable-ftp=shared \
2024 --enable-gd-native-ttf \
2025 --enable-intl=shared \
2027 --enable-magic-quotes \
2028 --enable-mbstring=shared,all \
2030 --enable-pcntl=shared \
2031 --enable-pdo=shared \
2032 --enable-json=shared \
2033 --enable-hash=shared \
2034 --enable-xmlwriter=shared \
2036 --with-fpm-user=http \
2037 --with-fpm-group=http \
2039 %if %{with mssql} || %{with sybase_ct}
2040 --with-pdo-dblib=shared \
2042 %if %{with interbase} && %{without interbase_inst}
2043 --with-pdo-firebird=shared,/usr \
2045 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2046 --with-pdo-mysql=shared%{?with_mysqlnd:,mysqlnd} \
2047 %{?with_oci8:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2048 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2049 %{?with_pgsql:--with-pdo-pgsql=shared} \
2050 %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
2051 --without-libexpat-dir \
2052 --enable-overload=shared \
2053 --enable-posix=shared \
2055 --enable-session=shared \
2056 --enable-shmop=shared \
2057 --enable-simplexml=shared \
2058 --enable-spl=shared \
2059 --enable-sysvmsg=shared \
2060 --enable-sysvsem=shared \
2061 --enable-sysvshm=shared \
2062 --enable-safe-mode \
2063 --enable-soap=shared \
2064 --enable-sockets=shared \
2065 --enable-tokenizer=shared \
2066 --enable-ucd-snmp-hack \
2067 %{?with_wddx:--enable-wddx=shared} \
2068 --enable-xml=shared \
2069 --enable-xmlreader=shared \
2071 %{__with_without curl curl shared} \
2073 --with-iconv=shared \
2074 --with-freetype-dir=shared \
2075 --with-gettext=shared \
2076 --with-gd=shared%{?with_system_gd:,/usr} \
2079 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2080 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2081 --with-jpeg-dir=/usr \
2082 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2083 --with-mcrypt=shared \
2084 %{?with_mm:--with-mm} \
2085 %{?with_mssql:--with-mssql=shared} \
2086 %{?with_mysqlnd:--with-mysqlnd=shared} \
2087 --with-mysql=shared%{?with_mysqlnd:,mysqlnd} \
2088 %{?with_mysqli:--with-mysqli=shared%{?with_mysqlnd:,mysqlnd}} \
2089 %{?with_oci8:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2090 %{?with_openssl:--with-openssl=shared} \
2091 %{?with_kerberos5:--with-kerberos} \
2092 %{__with_without pcre pcre-regex /usr} \
2093 %{__enable_disable filter filter shared} \
2094 --with-pear=%{php_pear_dir} \
2095 %{__with_without pgsql pgsql shared,/usr} \
2096 %{__enable_disable phar phar shared} \
2097 --with-png-dir=/usr \
2098 %{?with_pspell:--with-pspell=shared} \
2099 --with-readline=shared \
2100 %{?with_recode:--with-recode=shared} \
2101 --with-regex=system \
2102 %{?with_snmp:--with-snmp=shared} \
2103 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
2104 %{!?with_sqlite:--without-sqlite --without-pdo-sqlite}%{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
2105 %{__with_without sqlite3 sqlite3 shared,/usr} \
2106 --with-t1lib=shared \
2107 %{?with_tidy:--with-tidy=shared} \
2108 %{?with_odbc:--with-unixODBC=shared,/usr} \
2109 %{__with_without xmlrpc xmlrpc shared,/usr} \
2111 --with-zlib=shared \
2112 --with-zlib-dir=shared,/usr \
2113 --enable-zip=shared,/usr \
2116 cp -f Makefile Makefile.$sapi
2117 cp -f main/php_config.h php_config.h.$sapi
2118 cp -f config.log config.log.$sapi
2121 # as we build each SAPI in own make, adjust php-config.in forehead
2122 sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | xargs)
2123 sed -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in"
2125 # must make libphp_common first, so modules can link against it.
2126 cp -af php_config.h.cli main/php_config.h
2127 cp -af Makefile.cli Makefile
2128 %{__make} libphp_common.la
2129 %{__make} build-modules
2132 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
2136 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
2139 %if %{with litespeed}
2140 %{__make} -f Makefile.litespeed
2145 cp -af php_config.h.cgi-fcgi main/php_config.h
2146 %{__make} -f Makefile.cgi-fcgi
2147 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = cgi-fcgi ] || exit 1
2152 cp -af php_config.h.fpm main/php_config.h
2153 %{__make} -f Makefile.fpm
2154 ./sapi/fpm/php-fpm -qn -m > /dev/null
2158 cp -af php_config.h.cli main/php_config.h
2159 %{__make} -f Makefile.cli
2160 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = cli ] || exit 1
2162 # check for stupid xml parse breakage where < and > just get lost in parse result
2163 ./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"]));'
2165 # Generate stub .ini files for each extension
2168 generate_inifiles() {
2169 for so in modules/*.so; do
2170 mod=$(basename $so .so)
2172 # xml needs to be loaded before wddx
2173 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2174 # pre needs to be loaded before SPL
2175 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2176 # spl needs to be loaded before mysqli
2177 [ "$mod" = "spl" ] && conf="SPL.ini"
2178 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2179 [ "$mod" = "session" ] && conf="Session.ini"
2180 # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli
2181 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2183 cat > conf.d/$conf <<-EOF
2184 ; Enable $mod extension module
2191 # Check that the module inner-dependencies are intact
2192 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2193 if grep -v OK dep-tests.log; then
2194 echo >&2 "The results above were not expected"
2200 cp -af php_config.h.cli main/php_config.h
2201 cp -af Makefile.cli Makefile
2203 # you really don't want to package result of gcov build
2208 # Run tests, using the CLI SAPI
2209 cp -af php_config.h.cli main/php_config.h
2210 cp -af Makefile.cli Makefile
2212 cat <<'EOF' > run-tests.sh
2214 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2215 unset TZ LANG LC_ALL || :
2217 EXTENSION_DIR=modules \
2218 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2219 RUN_TESTS_SETTINGS="-q $*"
2221 chmod +x run-tests.sh
2222 ./run-tests.sh -w failed.log -s test.log
2224 # collect failed tests into cleanup script used in prep.
2225 sed -ne '/FAILED TEST SUMMARY/,/^===/p' test.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2226 sed -ne '/\[.*\]/{s/\(.*\) \[\(.*\)\]/# \1\nmv \2{,.skip}/p}' tests-failed.log \
2227 >> %{_sourcedir}/skip-tests.sh
2229 failed=$(wc -l < tests-failed.log)
2230 if [ "$failed" != 0 ]; then
2236 rm -rf $RPM_BUILD_ROOT
2237 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2238 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2239 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2240 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2242 cp -af php_config.h.cli main/php_config.h
2243 cp -af Makefile.cli Makefile
2245 INSTALL_ROOT=$RPM_BUILD_ROOT
2247 # make link relative
2248 ln -sfn phar.phar $RPM_BUILD_ROOT%{_bindir}/phar
2250 # install Apache1 DSO module
2252 libtool --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2255 # install Apache2 DSO module
2257 libtool --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2260 # install litespeed sapi
2261 %if %{with litespeed}
2262 libtool --mode=install install sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/php.litespeed
2265 libtool --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2266 # fix install paths, avoid evil rpaths
2267 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2269 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
2273 libtool --mode=install install sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.cgi
2274 ln -sf php.cgi $RPM_BUILD_ROOT%{_bindir}/php.fcgi
2275 cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2280 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir}}
2281 libtool --mode=install install sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}
2282 cp -a sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8
2283 cp -a sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2284 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2285 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/php-fpm
2286 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2287 cp -a %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/php-fpm
2291 libtool --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
2292 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
2293 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
2294 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
2296 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2298 cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2299 cp -a %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini
2302 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2303 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2304 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2308 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2309 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2310 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2313 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2314 cp -a conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2316 # per SAPI ini directories
2317 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2320 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2322 # use system automake and {lib,sh}tool
2323 %if "%{pld_release}" != "ac"
2324 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
2325 for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2326 ln -snf %{_aclocaldir}/${i} $RPM_BUILD_ROOT%{_libdir}/php/build
2328 ln -snf %{_datadir}/libtool/config/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2330 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
2331 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2333 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
2335 # for php-pecl-mailparse
2336 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2337 cp -a ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2340 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2341 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2342 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2345 rm -rf $RPM_BUILD_ROOT
2347 %post -n apache1-mod_php
2348 if [ "$1" = "1" ]; then
2349 %service -q apache restart
2352 %postun -n apache1-mod_php
2353 if [ "$1" = "0" ]; then
2354 %service -q apache restart
2357 %post -n apache-mod_php
2358 if [ "$1" = "1" ]; then
2359 %service -q httpd restart
2362 %postun -n apache-mod_php
2363 if [ "$1" = "0" ]; then
2364 %service -q httpd restart
2368 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2371 /sbin/chkconfig --add php-fpm
2372 %service php-fpm restart
2375 if [ "$1" = 0 ]; then
2376 %service php-fpm stop
2377 /sbin/chkconfig --del php-fpm
2381 if [ "$1" = "0" ]; then
2386 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2387 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2389 . /etc/sysconfig/timezone
2390 if [ "$TIMEZONE" ]; then
2391 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2396 # minimizing apache restarts logics. we restart webserver:
2398 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2399 # 2. first install of extension (post: $1 = 1)
2400 # 2. uninstall of extension (postun: $1 == 0)
2402 # the strict internal deps between extensions (and apache modules) and
2403 # common package are very important for all this to work.
2405 # restart webserver at the end of transaction
2406 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2407 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2410 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
2412 /^AddType application\/x-httpd-php \.php/s,^,#,
2413 /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
2414 ' /etc/apache/apache.conf
2415 %service -q apache restart
2419 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1
2420 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
2421 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
2422 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
2423 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2427 # common macros called at extension post/postun scriptlet
2428 %define extension_scripts() \
2430 if [ "$1" = "1" ]; then \
2431 %php_webserver_restart \
2435 if [ "$1" = "0" ]; then \
2436 %php_webserver_restart \
2440 # extension scripts defines
2441 %extension_scripts bcmath
2442 %extension_scripts bz2
2443 %extension_scripts calendar
2444 %extension_scripts ctype
2445 %extension_scripts curl
2446 %extension_scripts dba
2447 %extension_scripts dom
2448 %extension_scripts exif
2449 %extension_scripts fileinfo
2450 %extension_scripts filter
2451 %extension_scripts ftp
2452 %extension_scripts gd
2453 %extension_scripts gettext
2454 %extension_scripts gmp
2455 %extension_scripts hash
2456 %extension_scripts iconv
2457 %extension_scripts imap
2458 %extension_scripts interbase
2459 %extension_scripts intl
2460 %extension_scripts json
2461 %extension_scripts ldap
2462 %extension_scripts mbstring
2463 %extension_scripts mcrypt
2464 %extension_scripts mssql
2465 %extension_scripts mysql
2466 %extension_scripts mysqli
2467 %extension_scripts mysqlnd
2468 %extension_scripts oci8
2469 %extension_scripts odbc
2470 %extension_scripts openssl
2471 %extension_scripts pcre
2472 %extension_scripts pdo-dblib
2473 %extension_scripts pdo-firebird
2474 %extension_scripts pdo-mysql
2475 %extension_scripts pdo-odbc
2476 %extension_scripts pdo-pgsql
2477 %extension_scripts pdo-sqlite
2478 %extension_scripts pgsql
2479 %extension_scripts phar
2480 %extension_scripts posix
2481 %extension_scripts pspell
2482 %extension_scripts recode
2483 %extension_scripts session
2484 %extension_scripts shmop
2485 %extension_scripts snmp
2486 %extension_scripts soap
2487 %extension_scripts sockets
2488 %extension_scripts spl
2489 %extension_scripts sqlite
2490 %extension_scripts sqlite3
2491 %extension_scripts sybase-ct
2492 %extension_scripts sysvmsg
2493 %extension_scripts sysvsem
2494 %extension_scripts sysvshm
2495 %extension_scripts tidy
2496 %extension_scripts tokenizer
2497 %extension_scripts wddx
2498 %extension_scripts xml
2499 %extension_scripts xmlreader
2500 %extension_scripts xmlrpc
2501 %extension_scripts xmlwriter
2502 %extension_scripts xsl
2503 %extension_scripts zip
2504 %extension_scripts zlib
2506 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2507 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2509 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2510 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2512 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2513 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2515 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2516 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2518 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2519 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2521 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2522 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini
2524 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2525 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2527 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2528 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2530 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2531 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2533 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2534 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2536 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2537 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2539 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2540 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2542 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2543 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2545 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2546 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2548 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2549 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2551 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2552 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2554 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2555 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2557 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2558 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2560 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2561 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2563 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2564 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini
2566 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2567 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2569 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2570 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2572 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2573 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2575 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2576 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2577 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2579 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2580 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2583 %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1
2584 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcre\.so/d' %{_sysconfdir}/php.ini
2586 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2587 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2589 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2590 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2592 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2593 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2595 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2596 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2597 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2599 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2600 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2603 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2604 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2606 %triggerun session -- %{name}-session < 4:5.0.4-9.1
2607 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*session\.so/d' %{_sysconfdir}/php.ini
2609 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2610 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2612 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2613 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2615 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2616 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini
2618 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2619 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2621 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2622 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini
2624 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2625 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini
2627 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2628 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2630 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2631 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2633 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2634 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2636 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2637 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini
2639 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2640 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2642 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2643 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2645 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2646 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2648 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2649 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini
2651 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2652 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2655 %files -n apache1-mod_php
2656 %defattr(644,root,root,755)
2657 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2658 %dir %{_sysconfdir}/apache.d
2659 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2660 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2664 %files -n apache-mod_php
2665 %defattr(644,root,root,755)
2666 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2667 %dir %{_sysconfdir}/apache2handler.d
2668 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2669 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2672 %if %{with litespeed}
2674 %defattr(644,root,root,755)
2675 %attr(755,root,root) %{_sbindir}/php.litespeed
2680 %defattr(644,root,root,755)
2681 %dir %{_sysconfdir}/cgi-fcgi.d
2682 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2683 %attr(755,root,root) %{_bindir}/php.cgi
2684 %attr(755,root,root) %{_bindir}/php.fcgi
2688 %defattr(644,root,root,755)
2689 %dir %{_sysconfdir}/cli.d
2690 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2691 %attr(755,root,root) %{_bindir}/php.cli
2692 %{_mandir}/man1/php.1*
2693 %{_mandir}/man1/php.cli.1*
2696 %defattr(644,root,root,755)
2697 %attr(755,root,root) %{_bindir}/php
2701 %defattr(644,root,root,755)
2702 %doc sapi/fpm/CREDITS
2703 %doc sapi/fpm/LICENSE
2704 %dir %{_sysconfdir}/fpm.d
2705 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
2706 %attr(755,root,root) %{_sbindir}/php-fpm
2707 %{_mandir}/man8/php-fpm.8*
2708 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/php-fpm
2709 %attr(754,root,root) /etc/rc.d/init.d/php-fpm
2713 %defattr(644,root,root,755)
2715 %doc CREDITS Zend/ZEND_CHANGES
2716 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2717 %doc README.PHP4-TO-PHP5-THIN-CHANGES
2718 %doc README.namespaces
2721 %dir %{_sysconfdir}/conf.d
2722 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2723 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2724 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2725 %dir %{php_extensiondir}
2727 %doc ext/session/mod_files.sh
2730 %defattr(644,root,root,755)
2731 %doc README.UNIX-BUILD-SYSTEM
2732 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2733 %doc CODING_STANDARDS README.EXTENSIONS README.PARAMETER_PARSING_API README.STREAMS
2734 %doc README.SUBMITTING_PATCH README.TESTING README.TESTING2
2735 %attr(755,root,root) %{_bindir}/phpize
2736 %attr(755,root,root) %{_bindir}/php-config
2737 %attr(755,root,root) %{_libdir}/libphp_common.so
2738 %{_libdir}/libphp_common.la
2740 %{_libdir}/php/build
2741 %{_mandir}/man1/php-config.1*
2742 %{_mandir}/man1/phpize.1*
2745 %defattr(644,root,root,755)
2746 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2747 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2750 %defattr(644,root,root,755)
2751 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2752 %attr(755,root,root) %{php_extensiondir}/bz2.so
2755 %defattr(644,root,root,755)
2756 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2757 %attr(755,root,root) %{php_extensiondir}/calendar.so
2760 %defattr(644,root,root,755)
2761 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2762 %attr(755,root,root) %{php_extensiondir}/ctype.so
2766 %defattr(644,root,root,755)
2767 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2768 %attr(755,root,root) %{php_extensiondir}/curl.so
2772 %defattr(644,root,root,755)
2773 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2774 %attr(755,root,root) %{php_extensiondir}/dba.so
2777 %defattr(644,root,root,755)
2778 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2779 %attr(755,root,root) %{php_extensiondir}/dom.so
2782 %defattr(644,root,root,755)
2783 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2784 %attr(755,root,root) %{php_extensiondir}/exif.so
2787 %defattr(644,root,root,755)
2788 %doc README.input_filter
2789 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
2790 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
2794 %defattr(644,root,root,755)
2795 %doc README.input_filter
2796 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2797 %attr(755,root,root) %{php_extensiondir}/filter.so
2801 %defattr(644,root,root,755)
2802 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2803 %attr(755,root,root) %{php_extensiondir}/ftp.so
2806 %defattr(644,root,root,755)
2807 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2808 %attr(755,root,root) %{php_extensiondir}/gd.so
2811 %defattr(644,root,root,755)
2812 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2813 %attr(755,root,root) %{php_extensiondir}/gettext.so
2816 %defattr(644,root,root,755)
2817 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2818 %attr(755,root,root) %{php_extensiondir}/gmp.so
2821 %defattr(644,root,root,755)
2822 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2823 %attr(755,root,root) %{php_extensiondir}/hash.so
2826 %defattr(644,root,root,755)
2827 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2828 %attr(755,root,root) %{php_extensiondir}/iconv.so
2832 %defattr(644,root,root,755)
2833 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2834 %attr(755,root,root) %{php_extensiondir}/imap.so
2837 %if %{with interbase}
2839 %defattr(644,root,root,755)
2840 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2841 %attr(755,root,root) %{php_extensiondir}/interbase.so
2845 %defattr(644,root,root,755)
2846 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
2847 %attr(755,root,root) %{php_extensiondir}/intl.so
2850 %defattr(644,root,root,755)
2851 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
2852 %attr(755,root,root) %{php_extensiondir}/json.so
2856 %defattr(644,root,root,755)
2857 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2858 %attr(755,root,root) %{php_extensiondir}/ldap.so
2862 %defattr(644,root,root,755)
2863 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2864 %attr(755,root,root) %{php_extensiondir}/mbstring.so
2867 %defattr(644,root,root,755)
2868 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2869 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
2873 %defattr(644,root,root,755)
2874 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2875 %attr(755,root,root) %{php_extensiondir}/mssql.so
2879 %defattr(644,root,root,755)
2880 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2881 %attr(755,root,root) %{php_extensiondir}/mysql.so
2885 %defattr(644,root,root,755)
2886 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2887 %attr(755,root,root) %{php_extensiondir}/mysqli.so
2892 %defattr(644,root,root,755)
2893 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
2894 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
2899 %defattr(644,root,root,755)
2900 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2901 %attr(755,root,root) %{php_extensiondir}/oci8.so
2906 %defattr(644,root,root,755)
2907 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2908 %attr(755,root,root) %{php_extensiondir}/odbc.so
2913 %defattr(644,root,root,755)
2914 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2915 %attr(755,root,root) %{php_extensiondir}/openssl.so
2919 %defattr(644,root,root,755)
2920 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
2921 %attr(755,root,root) %{php_extensiondir}/pcntl.so
2925 %defattr(644,root,root,755)
2926 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
2927 %attr(755,root,root) %{php_extensiondir}/pcre.so
2931 %defattr(644,root,root,755)
2932 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2933 %attr(755,root,root) %{php_extensiondir}/pdo.so
2935 %if %{with mssql} || %{with sybase_ct}
2937 %defattr(644,root,root,755)
2938 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2939 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
2942 %if %{with interbase} && !%{with interbase_inst}
2944 %defattr(644,root,root,755)
2945 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2946 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
2950 %defattr(644,root,root,755)
2951 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2952 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
2956 %defattr(644,root,root,755)
2957 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2958 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
2963 %defattr(644,root,root,755)
2964 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2965 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
2970 %defattr(644,root,root,755)
2971 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2972 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
2977 %defattr(644,root,root,755)
2978 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2979 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
2984 %defattr(644,root,root,755)
2985 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2986 %attr(755,root,root) %{php_extensiondir}/pgsql.so
2991 %defattr(644,root,root,755)
2992 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
2993 %attr(755,root,root) %{php_extensiondir}/phar.so
2994 %attr(755,root,root) %{_bindir}/phar
2995 %attr(755,root,root) %{_bindir}/phar.phar
2999 %defattr(644,root,root,755)
3000 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3001 %attr(755,root,root) %{php_extensiondir}/posix.so
3005 %defattr(644,root,root,755)
3006 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3007 %attr(755,root,root) %{php_extensiondir}/pspell.so
3011 %defattr(644,root,root,755)
3012 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3013 %attr(755,root,root) %{php_extensiondir}/readline.so
3017 %defattr(644,root,root,755)
3018 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3019 %attr(755,root,root) %{php_extensiondir}/recode.so
3023 %defattr(644,root,root,755)
3024 %doc ext/session/mod_files.sh
3025 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3026 %attr(755,root,root) %{php_extensiondir}/session.so
3029 %defattr(644,root,root,755)
3030 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3031 %attr(755,root,root) %{php_extensiondir}/shmop.so
3034 %defattr(644,root,root,755)
3035 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3036 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3040 %defattr(644,root,root,755)
3041 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3042 %attr(755,root,root) %{php_extensiondir}/snmp.so
3046 %defattr(644,root,root,755)
3047 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3048 %attr(755,root,root) %{php_extensiondir}/soap.so
3051 %defattr(644,root,root,755)
3052 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3053 %attr(755,root,root) %{php_extensiondir}/sockets.so
3056 %defattr(644,root,root,755)
3057 %doc ext/spl/{CREDITS,README,TODO}
3058 %doc ext/spl/examples
3059 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3060 %attr(755,root,root) %{php_extensiondir}/spl.so
3064 %defattr(644,root,root,755)
3065 %doc ext/sqlite/{README,TODO,CREDITS}
3066 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
3067 %attr(755,root,root) %{php_extensiondir}/sqlite.so
3072 %defattr(644,root,root,755)
3073 %doc ext/sqlite3/CREDITS
3074 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3075 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3078 %if %{with sybase_ct}
3080 %defattr(644,root,root,755)
3081 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3082 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
3086 %defattr(644,root,root,755)
3087 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3088 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3091 %defattr(644,root,root,755)
3092 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3093 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3096 %defattr(644,root,root,755)
3097 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3098 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3101 %defattr(644,root,root,755)
3102 %dir %{php_data_dir}/tests/php
3103 %{php_data_dir}/tests/php/basic
3104 %{php_data_dir}/tests/php/classes
3105 %{php_data_dir}/tests/php/func
3106 %{php_data_dir}/tests/php/lang
3107 %{php_data_dir}/tests/php/output
3108 %{php_data_dir}/tests/php/run-test
3109 %{php_data_dir}/tests/php/security
3110 %{php_data_dir}/tests/php/strings
3111 %{php_data_dir}/tests/php/quicktester.inc
3112 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3116 %defattr(644,root,root,755)
3117 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3118 %attr(755,root,root) %{php_extensiondir}/tidy.so
3122 %defattr(644,root,root,755)
3123 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3124 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3128 %defattr(644,root,root,755)
3129 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3130 %attr(755,root,root) %{php_extensiondir}/wddx.so
3134 %defattr(644,root,root,755)
3135 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3136 %attr(755,root,root) %{php_extensiondir}/xml.so
3139 %defattr(644,root,root,755)
3140 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3141 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3145 %defattr(644,root,root,755)
3146 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3147 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3151 %defattr(644,root,root,755)
3152 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3153 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3156 %defattr(644,root,root,755)
3157 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3158 %attr(755,root,root) %{php_extensiondir}/xsl.so
3161 %defattr(644,root,root,755)
3162 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3163 %attr(755,root,root) %{php_extensiondir}/zip.so
3166 %defattr(644,root,root,755)
3167 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3168 %attr(755,root,root) %{php_extensiondir}/zlib.so