1 # NOTE: mysqlnd does not support ssl or compression (see FAQ at http://dev.mysql.com/downloads/connector/php-mysqlnd/)
2 # UNPACKAGED EXTENSION NOTES:
3 # - com_dotnet is Win32-only
4 # - enchant is packaged separately (php-pecl-enchant)
6 # - ttyname_r() misdetected http://bugs.php.net/bug.php?id=48820
7 # - wddx: restore session support (not compiled in due DL extension check)
8 # - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere
9 # - removed from php 5.0 (currently in php4):
10 # db [pecl-svn], hyperwave [pecl-svn], java [pecl-svn], mcal [pecl-svn], qtdom [pecl-svn]
11 # - removed from php 5.1:
13 # - removed from php 5.2:
14 # filepro [pecl-svn], hwapi [pecl-svn]
15 # - make additional headers and checking added by mail patch configurable
16 # - modularize standard (output from pure php -m)?
17 # - lib64 patch obsolete by $PHP_LIBDIR ?
18 # - WARNING: Phar: sha256/sha512 signature support disabled if ext/hash is
19 # built shared, also PHAR_HAVE_OPENSSL is false if openssl is built shared.
20 # make it runtime dep and add Suggests (or php warning messages)
21 # - some mods should be shared:
31 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
32 %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
33 %bcond_with instantclient # build Oracle oci8 extension module against oracle-instantclient package
34 %bcond_with system_gd # with system gd (we prefer internal since it enables few more features)
35 %bcond_without curl # without CURL extension module
36 %bcond_without filter # without filter extension module
37 %bcond_without imap # without IMAP extension module
38 %bcond_without interbase # without InterBase extension module
39 %bcond_without kerberos5 # without Kerberos5 support
40 %bcond_without litespeed # build litespeed module
41 %bcond_without ldap # without LDAP extension module
42 %bcond_without mhash # without mhash extension (supported by hash extension)
43 %bcond_without mm # without mm support for session storage
44 %bcond_without mssql # without MS SQL extension module
45 # don't turn it on by default; see TODO item for mysqlnd in this spec
46 %bcond_with mysqlnd # with mysqlnd support in mysql related extensions
47 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
48 %bcond_without odbc # without ODBC extension module
49 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
50 %bcond_without pcre # without PCRE extension module
51 %bcond_without pdo_sqlite # without PDO SQLite extension module
52 %bcond_without pgsql # without PostgreSQL extension module
53 %bcond_without phar # without phar extension module
54 %bcond_without pspell # without pspell extension module
55 %bcond_without recode # without recode extension module
56 %bcond_without snmp # without SNMP extension module
57 %bcond_without sqlite2 # without SQLite extension module
58 %bcond_without sqlite3 # without SQLite3 extension module
59 %bcond_without sybase_ct # without Sybase-CT extension module
60 %bcond_without tidy # without Tidy extension module
61 %bcond_without wddx # without WDDX extension module
62 %bcond_without xmlrpc # without XML-RPC extension module
63 %bcond_without apache1 # disable building Apache 1.3.x SAPI
64 %bcond_without apache2 # disable building Apache 2.x SAPI
65 %bcond_with zts # Zend Thread Safety
66 %bcond_without cgi # disable CGI/FCGI SAPI
67 %bcond_without fpm # disable FPM
68 %bcond_without embed # disable Embedded API
69 %bcond_without suhosin # with suhosin patch
70 %bcond_with tests # default off; test process very often hangs on builders, approx run time 45m; perform "make test"
71 %bcond_with gcov # Enable Code coverage reporting
72 %bcond_with type_hints # experimental support for strict typing/casting
74 %define apxs1 /usr/sbin/apxs1
75 %define apxs2 /usr/sbin/apxs
76 %define litespeed_version 5.5
80 %undefine with_apache1
81 %undefine with_apache2
83 %undefine with_litespeed
86 # mm is not thread safe
91 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha
92 # ppc disabled (broken on th-ppc)
93 %undefine with_interbase
96 %ifnarch %{ix86} %{x8664}
97 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
102 %if %{without apache1} && %{without apache2}
103 ERROR: You need to select at least one Apache SAPI to build shared modules.
107 # filter depends on pcre
109 %undefine with_filter
113 Summary: PHP: Hypertext Preprocessor
114 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
115 Summary(pl.UTF-8): Język skryptowy PHP
116 Summary(pt_BR.UTF-8): A linguagem de script PHP
117 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
118 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
121 Release: %{rel}%{?with_type_hints:.th}%{?with_oci8:.oci}
125 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
126 # Source0-md5: 704cd414a0565d905e1074ffdc1fadfb
127 Source2: %{name}-mod_%{name}.conf
128 Source3: %{name}-cgi-fcgi.ini
129 Source4: %{name}-apache.ini
130 Source5: %{name}-cli.ini
131 # Taken from: http://browsers.garykeith.com/downloads.asp
132 Source9: %{name}_browscap.ini
133 Source10: %{name}-fpm.init
134 Source11: %{name}-fpm.logrotate
135 Source12: %{name}-branch.sh
136 Source13: dep-tests.sh
137 Source14: skip-tests.sh
138 Source15: http://litespeedtech.com/packages/lsapi/%{name}-litespeed-%{litespeed_version}.tgz
139 # Source15-md5: 9d58485d5fd6b5f5fefcec41b9ce283e
140 Patch0: %{name}-shared.patch
141 Patch1: %{name}-pldlogo.patch
142 Patch2: %{name}-mail.patch
143 Patch3: %{name}-link-libs.patch
144 Patch4: %{name}-libpq_fs_h_path.patch
145 Patch5: %{name}-filter-shared.patch
146 Patch6: %{name}-build_modules.patch
147 Patch7: %{name}-sapi-ini-file.patch
148 Patch8: %{name}-config-file-scan-dir.patch
149 Patch9: %{name}-sh.patch
150 Patch10: %{name}-ini.patch
152 %if %{with type_hints}
153 Patch12: http://ilia.ws/patch/type_hint_53_v2.txt
155 Patch14: %{name}-no_pear_install.patch
156 Patch15: %{name}-zlib.patch
157 Patch17: %{name}-readline.patch
158 Patch18: %{name}-nohttpd.patch
159 Patch19: %{name}-gd_imagerotate_enable.patch
160 Patch20: %{name}-uint32_t.patch
161 Patch21: %{name}-dba-link.patch
162 Patch22: %{name}-both-apxs.patch
163 Patch23: %{name}-builddir.patch
164 Patch24: %{name}-zlib-for-getimagesize.patch
165 Patch25: %{name}-stupidapache_version.patch
166 Patch26: %{name}-pear.patch
167 Patch27: %{name}-config-dir.patch
168 Patch29: %{name}-fcgi-graceful.patch
169 Patch31: %{name}-fcgi-error_log-no-newlines.patch
170 Patch34: %{name}-libtool.patch
171 Patch35: %{name}-tds.patch
172 Patch36: %{name}-mysql-charsetphpini.patch
173 Patch37: %{name}-mysqli-charsetphpini.patch
174 Patch38: %{name}-pdo_mysql-charsetphpini.patch
175 Patch39: %{name}-use-prog_sendmail.patch
176 Patch41: %{name}-fpm-config.patch
177 Patch42: %{name}-fpm-shared.patch
178 Patch43: %{name}-silent-session-cleanup.patch
179 Patch44: %{name}-include_path.patch
180 Patch45: %{name}-imap-annotations.patch
181 Patch46: %{name}-imap-myrights.patch
182 Patch47: suhosin.patch
183 Patch49: %{name}-m4-divert.patch
184 Patch50: extension-shared-optional-dep.patch
185 Patch51: spl-shared.patch
186 Patch52: pcre-shared.patch
187 Patch53: fix-test-run.patch
188 Patch54: mysqlnd-shared.patch
189 Patch55: bug-52078-fileinode.patch
190 Patch57: bug-52448.patch
191 Patch59: %{name}-systzdata.patch
192 Patch60: %{name}-oracle-instantclient.patch
193 Patch61: %{name}-krb5-ac.patch
194 Patch62: mcrypt-libs.patch
195 Patch63: %{name}-mysql-nowarning.patch
196 Patch64: %{name}-m4.patch
197 URL: http://www.php.net/
198 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
199 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
200 BuildRequires: autoconf >= 2.53
201 BuildRequires: automake >= 1.4d
203 BuildRequires: bzip2-devel
204 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
205 BuildRequires: cyrus-sasl-devel
206 BuildRequires: db-devel >= 4.0
207 BuildRequires: elfutils-devel
208 #BuildRequires: fcgi-devel
210 %{?with_kerberos5:BuildRequires: heimdal-devel}
211 BuildRequires: mysql-devel
212 BuildRequires: pkgconfig
213 BuildRequires: sed >= 4.0
214 %if %{with mssql} || %{with sybase_ct}
215 BuildRequires: freetds-devel >= 0.82
217 BuildRequires: freetype-devel >= 2.0
218 %if %{with system_gd}
219 BuildRequires: gd-devel >= 2.0.28-4
220 BuildRequires: gd-devel(imagerotate) = 5.2.0
222 BuildRequires: gdbm-devel
223 BuildRequires: gmp-devel
224 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
225 BuildRequires: libicu-devel
226 BuildRequires: libjpeg-devel
227 BuildRequires: libltdl-devel >= 1.4
228 BuildRequires: libmcrypt-devel >= 2.4.4
229 BuildRequires: libpng-devel >= 1.0.8
230 #BuildRequires: libtiff-devel
231 %if "%{pld_release}" != "ac"
232 BuildRequires: libtool >= 2:2.2
234 BuildRequires: libtool >= 1.4.3
236 #BuildRequires: libwrap-devel
237 BuildRequires: libxml2-devel >= 1:2.7.6-4
238 BuildRequires: libxslt-devel >= 1.1.0
239 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
240 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
241 %if %{with openssl} || %{with ldap}
242 BuildRequires: openssl-devel >= 0.9.7d
244 %{?with_gcov:BuildRequires: lcov}
245 %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
246 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
247 %{?with_instantclient:BuildRequires: oracle-instantclient-devel}
248 BuildRequires: pam-devel
249 %{?with_pcre:BuildRequires: pcre-devel >= 8.10}
250 BuildRequires: pkgconfig
251 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
252 %{?with_pgsql:BuildRequires: postgresql-devel}
253 BuildRequires: readline-devel
254 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
255 BuildRequires: rpm >= 4.4.9-56
256 BuildRequires: rpm-build >= 4.4.0
257 BuildRequires: rpmbuild(macros) >= 1.566
258 %{?with_sqlite2:BuildRequires: sqlite-devel}
259 %if %{with sqlite3} || %{with pdo_sqlite}
260 BuildRequires: sqlite3-devel >= 3.3.9
262 BuildRequires: t1lib-devel
263 %{?with_tidy:BuildRequires: tidy-devel}
264 %{?with_odbc:BuildRequires: unixODBC-devel}
265 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
266 BuildRequires: zlib-devel >= 1.0.9
268 BuildRequires: apache1-devel
271 BuildRequires: apache-devel >= 2.0.52-2
272 BuildRequires: apr-devel >= 1:1.0.0
273 BuildRequires: apr-util-devel >= 1:1.0.0
276 #BuildRequires: judy-devel
277 BuildRequires: libevent-devel >= 1.4.7-3
279 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
281 %define php_sysconfdir /etc/php
282 %define php_extensiondir %{_libdir}/php
283 %define _sysconfdir %{php_sysconfdir}
285 # must be in sync with source. extra check ensuring that it is so is done in %%build
286 %define php_api_version 20090626
287 %define zend_module_api 20090626
288 %define zend_extension_api 220090626
290 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
291 %define php_debug %{!?debug:0}%{?debug:1}
294 %undefine with_ccache
298 # ORACLE_HOME is required for oci8 ext to build
299 %define _preserve_env %_preserve_env_base ORACLE_HOME
303 PHP is an HTML-embedded scripting language. PHP attempts to make it
304 easy for developers to write dynamically generated web pages. PHP also
305 offers built-in database integration for several commercial and
306 non-commercial database management systems, so writing a
307 database-enabled web page with PHP is fairly simple. The most common
308 use of PHP coding is probably as a replacement for CGI scripts. The
309 mod_php module enables the Apache web server to understand and process
310 the embedded PHP language in web pages. This package contains PHP
313 %description -l fr.UTF-8
314 PHP est un langage de script embarque dans le HTM. PHP essaye de
315 rendre simple aux developpeurs d'ecrire des pages web generees
316 dynamiquement. PHP incorpore egalement une integration avec plusieurs
317 systemes de gestion de bases de donnees commerciaux et
318 non-connerciaux, qui rent facile la creation de pages web liees avec
319 des bases de donnees. L'utilisation la plus commune de PHP est
320 probablement en remplacement de scripts CGI. Le module mod_php permet
321 au serveur web Apache de comprendre et de traiter le langage PHP
322 integre dans des pages web. Ce package contient PHP version
325 %description -l pl.UTF-8
326 PHP jest językiem skryptowym, którego polecenia umieszcza się w
327 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
328 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
329 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
330 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
331 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
332 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
333 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
336 %description -l pt_BR.UTF-8
337 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
338 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
339 com algumas características únicas, específicas ao PHP. O objetivo da
340 linguagem é permitir que desenvolvedores web escrevam páginas
341 dinamicamente geradas de forma rápida.
343 %description -l ru.UTF-8
344 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
345 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
346 для работы с базами данных относительно просто. Наиболее популярное
347 использование PHP - замена для CGI скриптов.
349 %description -l uk.UTF-8
350 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
351 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
352 роботи з базами даних є доволі простим. Найбільш популярне
353 використання PHP - заміна для CGI скриптів.
355 %package -n apache1-mod_php
356 Summary: PHP DSO module for Apache 1.3.x
357 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x
358 Group: Development/Languages/PHP
359 Requires(triggerpostun): sed >= 4.0
360 Requires: %{name}-common = %{epoch}:%{version}-%{release}
361 Requires: apache1(EAPI) >= 1.3.33-2
362 Requires: apache1-mod_mime
363 Provides: webserver(php) = %{version}
364 Obsoletes: apache-mod_php < 1:4.1.1
367 %description -n apache1-mod_php
368 PHP as DSO module for Apache 1.3.x.
370 %description -n apache1-mod_php -l pl.UTF-8
371 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x.
373 %package -n apache-mod_php
374 Summary: PHP DSO module for Apache 2.x
375 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
376 Group: Development/Languages/PHP
377 Requires: %{name}-common = %{epoch}:%{version}-%{release}
378 Requires: apache(modules-api) = %{apache_modules_api}
379 Requires: apache-mod_mime
380 Provides: webserver(php) = %{version}
383 %description -n apache-mod_php
384 PHP as DSO module for Apache 2.x.
386 %description -n apache-mod_php -l pl.UTF-8
387 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
390 Summary: PHP for litespeed HTTP server
391 Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
392 Group: Development/Languages/PHP
393 Requires: %{name}-common = %{epoch}:%{version}-%{release}
394 Provides: webserver(php) = %{version}
396 %description litespeed
397 PHP for litespeed HTTP server.
399 %description litespeed -l pl.UTF-8
400 PHP dla serwera HTTP litespeed.
403 Summary: PHP as CGI/FastCGI program
404 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
405 Group: Development/Languages/PHP
406 Requires: %{name}-common = %{epoch}:%{version}-%{release}
407 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
410 Provides: webserver(php)
411 Obsoletes: php-fcgi < 4:5.3.0
414 PHP as CGI or FastCGI program.
416 %description cgi -l pl.UTF-8
417 PHP jako program CGI lub FastCGI.
420 Summary: PHP as CLI interpreter
421 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
422 Group: Development/Languages/PHP
423 Requires: %{name}-common = %{epoch}:%{version}-%{release}
426 PHP as CLI interpreter.
428 %description cli -l pl.UTF-8
429 PHP jako interpreter działający z linii poleceń.
432 Summary: PHP library for embedding in applications
434 Requires: %{name}-common = %{epoch}:%{version}-%{release}
436 %description embedded
437 The php-embedded package contains a library which can be embedded into
438 applications to provide PHP scripting language support.
441 Summary: /usr/bin/php symlink
442 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
443 Group: Development/Languages/PHP
444 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
445 Obsoletes: /usr/bin/php
448 Package providing /usr/bin/php symlink to PHP CLI.
450 %description program -l pl.UTF-8
451 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
454 Summary: PHP FastCGI Process Manager
455 Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
456 Group: Development/Languages/PHP
457 URL: http://www.php-fpm.org/
458 Requires(post,preun): /sbin/chkconfig
459 Requires(postun): /usr/sbin/userdel
460 Requires(pre): /bin/id
461 Requires(pre): /usr/sbin/useradd
462 Requires: %{name}-common = %{epoch}:%{version}-%{release}
463 Requires: libevent >= 1.4.7-3
466 Provides: webserver(php) = %{version}
469 PHP FastCGI Process Manager.
471 %description fpm -l pl.UTF-8
472 PHP FastCGI Process Manager - zarządca procesów FastCGI.
475 Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
476 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
477 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
478 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
480 Requires(post): sed >= 4.0
481 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
482 Requires: glibc >= 6:2.3.5
484 Requires: rpm-whiteout >= 1.28
489 Provides: php(libxml)
490 Provides: php(modules_api) = %{php_api_version}
491 Provides: php(reflection)
492 Provides: php(standard)
493 Provides: php(zend_extension_api) = %{zend_extension_api}
494 Provides: php(zend_module_api) = %{zend_module_api}
497 Provides: php-reflection
498 Provides: php-standard
499 Provides: php5(debug) = %{php_debug}
500 Provides: php5(thread-safety) = %{zend_zts}
501 %{!?with_mysqlnd:Obsoletes: php-mysqlnd}
502 %{?with_pcre:%requires_ge_to pcre pcre-devel}
503 Obsoletes: php-pecl-domxml
504 Conflicts: php4-common < 3:4.4.4-8
505 Conflicts: rpm < 4.4.2-0.2
508 Common files needed by both Apache modules and CGI/CLI SAPIs.
510 %description common -l pl.UTF-8
511 Wspólne pliki dla modułu Apache'a i programu CGI.
513 %description common -l ru.UTF-8
514 Этот пакет содержит общие файлы для разных вариантов реализации PHP
515 (самодостаточной и в качестве модуля Apache).
517 %description common -l uk.UTF-8
518 Цей пакет містить спільні файли для різних варіантів реалізації PHP
519 (самодостатньої та в якості модуля Apache).
522 Summary: Files for PHP modules development
523 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
524 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
525 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
526 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
527 Group: Development/Languages/PHP
528 Requires: %{name}-common = %{epoch}:%{version}-%{release}
529 Requires: autoconf >= 2.13
531 %if "%{pld_release}" != "ac"
532 Requires: libtool >= 2:2.2
536 %{?with_pcre:Requires: pcre-devel >= 8.10}
538 Obsoletes: php-pear-devel
539 Obsoletes: php4-devel
542 The php-devel package lets you compile dynamic extensions to PHP.
543 Included here is the source for the PHP extensions. Instead of
544 recompiling the whole PHP binary to add support for, say, oracle,
545 install this package and use the new self-contained extensions
546 support. For more information, read the file
547 README.SELF-CONTAINED-EXTENSIONS.
549 %description devel -l pl.UTF-8
550 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
551 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
552 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
553 samodzielnych rozszerzeniach można znaleźć w pliku
554 README.SELF-CONTAINED-EXTENSIONS.
556 %description devel -l pt_BR.UTF-8
557 Este pacote contém arquivos usados no desenvolvimento de programas ou
560 %description devel -l ru.UTF-8
561 Пакет php-devel дает возможность компилировать динамические расширения
562 PHP. Пакет включает исходный код этих расширений. Вместо повторной
563 компиляции бинарного файла PHP для добавления, например, поддержки
564 oracle, установите этот пакет для компилирования отдельных расширений.
565 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
567 %description devel -l uk.UTF-8
568 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
569 До пакету включено вихідний код для розширень. Замість повторної
570 компіляції бінарного файлу PHP для додання, наприклад, підтримки
571 oracle, встановіть цей пакет для компіляції окремих розширень.
572 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
575 Summary: bcmath extension module for PHP
576 Summary(pl.UTF-8): Moduł bcmath dla PHP
578 URL: http://www.php.net/manual/en/book.bc.php
579 Requires: %{name}-common = %{epoch}:%{version}-%{release}
580 Provides: php(bcmath)
583 This is a dynamic shared object (DSO) for PHP that will add bc style
584 precision math functions support.
586 %description bcmath -l pl.UTF-8
587 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
588 matematycznych takich jak w programie bc.
591 Summary: Bzip2 extension module for PHP
592 Summary(pl.UTF-8): Moduł bzip2 dla PHP
594 URL: http://www.php.net/manual/en/book.bzip2.php
595 Requires: %{name}-common = %{epoch}:%{version}-%{release}
598 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
599 Obsoletes: php-bzip2 < 4:5.2.14-3
602 This is a dynamic shared object (DSO) for PHP that will add bzip2
603 compression support to PHP.
605 %description bz2 -l pl.UTF-8
606 Moduł PHP umożliwiający używanie kompresji bzip2.
609 Summary: Calendar extension module for PHP
610 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
612 URL: http://www.php.net/manual/en/book.calendar.php
613 Requires: %{name}-common = %{epoch}:%{version}-%{release}
614 Provides: php(calendar)
616 %description calendar
617 This is a dynamic shared object (DSO) for PHP that will add calendar
620 %description calendar -l pl.UTF-8
621 Moduł PHP dodający wsparcie dla kalendarza.
624 Summary: ctype extension module for PHP
625 Summary(pl.UTF-8): Moduł ctype dla PHP
627 URL: http://www.php.net/manual/en/book.ctype.php
628 Requires: %{name}-common = %{epoch}:%{version}-%{release}
632 This is a dynamic shared object (DSO) for PHP that will add ctype
635 %description ctype -l pl.UTF-8
636 Moduł PHP umożliwiający korzystanie z funkcji ctype.
639 Summary: curl extension module for PHP
640 Summary(pl.UTF-8): Moduł curl dla PHP
642 URL: http://www.php.net/manual/en/book.curl.php
643 Requires: %{name}-common = %{epoch}:%{version}-%{release}
647 This is a dynamic shared object (DSO) for PHP that will add curl
650 %description curl -l pl.UTF-8
651 Moduł PHP umożliwiający korzystanie z biblioteki curl.
654 Summary: DBA extension module for PHP
655 Summary(pl.UTF-8): Moduł DBA dla PHP
657 URL: http://www.php.net/manual/en/book.dba.php
658 Requires: %{name}-common = %{epoch}:%{version}-%{release}
662 This is a dynamic shared object (DSO) for PHP that will add flat-file
663 databases (DBA) support.
665 %description dba -l pl.UTF-8
666 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
670 Summary: DOM extension module for PHP
671 Summary(pl.UTF-8): Moduł DOM dla PHP
673 URL: http://www.php.net/manual/en/book.dom.php
674 Requires: %{name}-common = %{epoch}:%{version}-%{release}
676 # it has some compatibility functions
677 Provides: php(domxml)
678 Provides: php-domxml = %{epoch}:%{version}-%{release}
679 Obsoletes: php-domxml <= 3:4.3.8-1
682 This is a dynamic shared object (DSO) for PHP that will add new DOM
685 %description dom -l pl.UTF-8
686 Moduł PHP dodający nową obsługę DOM.
689 Summary: exif extension module for PHP
690 Summary(pl.UTF-8): Moduł exif dla PHP
692 URL: http://www.php.net/manual/en/book.exif.php
693 Requires: %{name}-common = %{epoch}:%{version}-%{release}
697 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
698 support in image files.
700 %description exif -l pl.UTF-8
701 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
704 Summary: libmagic bindings
705 Summary(pl.UTF-8): Wiązania do libmagic
707 URL: http://www.php.net/manual/en/book.fileinfo.php
708 Requires: %{name}-common = %{epoch}:%{version}-%{release}
709 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
710 Provides: php(fileinfo)
711 Obsoletes: php-mime_magic
712 Obsoletes: php-pecl-fileinfo
714 %description fileinfo
715 This extension allows retrieval of information regarding vast majority
716 of file. This information may include dimensions, quality, length
719 Additionally it can also be used to retrieve the MIME type for a
720 particular file and for text files proper language encoding.
722 %description fileinfo -l pl.UTF-8
723 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
724 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
726 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
727 pliku oraz kodowania plików tekstowych.
730 Summary: Extension for safely dealing with input parameters
731 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
733 URL: http://www.php.net/manual/en/book.filter.php
734 Requires: %{name}-common = %{epoch}:%{version}-%{release}
735 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
736 Provides: php(filter)
737 Obsoletes: php-pecl-filter
740 We all know that you should always check input variables, but PHP does
741 not offer really good functionality for doing this in a safe way. The
742 Input Filter extension is meant to address this issue by implementing
743 a set of filters and mechanisms that users can use to safely access
746 %description filter -l pl.UTF-8
747 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
748 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
749 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
750 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
751 mogą bezpiecznie używać do dostępu do danych.
754 Summary: FTP extension module for PHP
755 Summary(pl.UTF-8): Moduł FTP dla PHP
757 URL: http://www.php.net/manual/en/book.ftp.php
758 Requires: %{name}-common = %{epoch}:%{version}-%{release}
762 This is a dynamic shared object (DSO) for PHP that will add FTP
765 %description ftp -l pl.UTF-8
766 Moduł PHP dodający obsługę protokołu FTP.
769 Summary: GD extension module for PHP
770 Summary(pl.UTF-8): Moduł GD dla PHP
772 URL: http://www.php.net/manual/en/book.image.php
773 Requires: %{name}-common = %{epoch}:%{version}-%{release}
774 %if %{with system_gd}
775 Requires: gd >= 2.0.28-4
777 Requires: gd(imagerotate) = 5.2.0
782 This is a dynamic shared object (DSO) for PHP that will add GD
783 support, allowing you to create and manipulate images with PHP.
785 %description gd -l pl.UTF-8
786 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
787 tworzenie i obróbkę obrazków.
790 Summary: gettext extension module for PHP
791 Summary(pl.UTF-8): Moduł gettext dla PHP
793 URL: http://www.php.net/manual/en/book.gettext.php
794 Requires: %{name}-common = %{epoch}:%{version}-%{release}
795 Provides: php(gettext)
798 This is a dynamic shared object (DSO) for PHP that will add gettext
801 %description gettext -l pl.UTF-8
802 Moduł PHP dodający obsługę lokalizacji przez gettext.
805 Summary: gmp extension module for PHP
806 Summary(pl.UTF-8): Moduł gmp dla PHP
808 URL: http://www.php.net/manual/en/book.gmp.php
809 Requires: %{name}-common = %{epoch}:%{version}-%{release}
813 This is a dynamic shared object (DSO) for PHP that will add arbitrary
814 length number support with GNU MP library.
816 %description gmp -l pl.UTF-8
817 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
818 liczbach o dowolnej długości.
821 Summary: HASH Message Digest Framework
822 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
824 URL: http://www.php.net/manual/en/book.gmp.php
825 Requires: %{name}-common = %{epoch}:%{version}-%{release}
829 Provides: php-mhash = %{epoch}:%{version}-%{release}
830 Obsoletes: php-mhash < 4:5.3.0
832 Obsoletes: php-pecl-hash
835 Native implementations of common message digest algorithms using a
836 generic factory method.
838 %description hash -l pl.UTF-8
839 Natywne implementacje popularnych algorytmów obliczania skrótów
840 wiadomości przy użyciu wspólnego interfejsu.
843 Summary: iconv extension module for PHP
844 Summary(pl.UTF-8): Moduł iconv dla PHP
846 URL: http://www.php.net/manual/en/book.iconv.php
847 Requires: %{_libdir}/gconv
848 Requires: %{name}-common = %{epoch}:%{version}-%{release}
853 This is a dynamic shared object (DSO) for PHP that will add iconv
856 %description iconv -l pl.UTF-8
857 Moduł PHP dodający obsługę iconv.
860 Summary: IMAP extension module for PHP
861 Summary(pl.UTF-8): Moduł IMAP dla PHP
862 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
864 URL: http://www.php.net/manual/en/book.imap.php
865 Requires: %{name}-common = %{epoch}:%{version}-%{release}
866 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
867 Requires: imap-lib >= 1:2007e-2
871 This is a dynamic shared object (DSO) for PHP that will add IMAP
874 %description imap -l pl.UTF-8
875 Moduł PHP dodający obsługę skrzynek IMAP.
877 %description imap -l pt_BR.UTF-8
878 Um módulo para aplicações PHP que usam IMAP.
881 Summary: InterBase/Firebird database module for PHP
882 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
884 URL: http://www.php.net/manual/en/book.ibase.php
885 Requires: %{name}-common = %{epoch}:%{version}-%{release}
886 Provides: php(interbase)
887 %{?with_interbase_inst:Autoreq: false}
889 %description interbase
890 This is a dynamic shared object (DSO) for PHP that will add InterBase
891 and Firebird database support.
893 %description interbase -l pl.UTF-8
894 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
897 Summary: Internationalization extension (ICU wrapper)
898 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
900 URL: http://www.php.net/intl
901 Requires: %{name}-common = %{epoch}:%{version}-%{release}
905 Internationalization extension (further is referred as Intl) is a
906 wrapper for ICU library, enabling PHP programmers to perform
907 UCA-conformant collation and date/time/number/currency formatting in
910 %description intl -l pl.UTF-8
911 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
912 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
913 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
917 Summary: PHP C extension for JSON serialization
918 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
920 URL: http://www.php.net/manual/en/book.json.php
921 Requires: %{name}-common = %{epoch}:%{version}-%{release}
923 Obsoletes: php-pecl-json
926 php-json is an extremely fast PHP C extension for JSON (JavaScript
927 Object Notation) serialisation.
929 %description json -l pl.UTF-8
930 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
931 (JavaScript Object Notation).
934 Summary: LDAP extension module for PHP
935 Summary(pl.UTF-8): Moduł LDAP dla PHP
936 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
938 URL: http://www.php.net/manual/en/book.ldap.php
939 Requires: %{name}-common = %{epoch}:%{version}-%{release}
943 This is a dynamic shared object (DSO) for PHP that will add LDAP
946 %description ldap -l pl.UTF-8
947 Moduł PHP dodający obsługę LDAP.
949 %description ldap -l pt_BR.UTF-8
950 Um módulo para aplicações PHP que usam LDAP.
953 Summary: mbstring extension module for PHP
954 Summary(pl.UTF-8): Moduł mbstring dla PHP
956 URL: http://www.php.net/manual/en/book.mbstring.php
957 Requires: %{name}-common = %{epoch}:%{version}-%{release}
958 Provides: php(mbstring)
960 %description mbstring
961 This is a dynamic shared object (DSO) for PHP that will add multibyte
964 %description mbstring -l pl.UTF-8
965 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
968 Summary: mcrypt extension module for PHP
969 Summary(pl.UTF-8): Moduł mcrypt dla PHP
971 URL: http://www.php.net/manual/en/book.mcrypt.php
972 Requires: %{name}-common = %{epoch}:%{version}-%{release}
973 Provides: php(mcrypt)
976 This is a dynamic shared object (DSO) for PHP that will add mcrypt
979 %description mcrypt -l pl.UTF-8
980 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
983 Summary: MS SQL extension module for PHP
984 Summary(pl.UTF-8): Moduł MS SQL dla PHP
986 URL: http://www.php.net/manual/en/book.mssql.php
987 Requires: %{name}-common = %{epoch}:%{version}-%{release}
991 This is a dynamic shared object (DSO) for PHP that will add MS SQL
992 databases support through FreeTDS library.
994 %description mssql -l pl.UTF-8
995 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
999 Summary: MySQL database module for PHP
1000 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
1001 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
1003 URL: http://www.php.net/manual/en/book.mysql.php
1004 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1005 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1006 Provides: php(mysql)
1009 This is a dynamic shared object (DSO) for PHP that will add MySQL
1012 %description mysql -l pl.UTF-8
1013 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
1015 %description mysql -l pt_BR.UTF-8
1016 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1019 Summary: MySQLi module for PHP
1020 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1022 URL: http://www.php.net/manual/en/book.mysqli.php
1023 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1024 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1025 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1026 Provides: php(mysqli)
1029 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1030 (Improved MySQL) support. The difference between it and mysql module
1031 is that it provides access to functionality of MySQL 4.1 and above.
1033 %description mysqli -l pl.UTF-8
1034 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1035 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1036 MySQL w wersji 4.1 i nowszych.
1039 Summary: MySQL Native Client Driver for PHP
1040 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1042 URL: http://www.php.net/manual/en/book.mysqlnd.php
1043 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1044 Provides: php(mysqlnd)
1046 %description mysqlnd
1047 MySQL Native Driver is a replacement for the MySQL Client Library
1050 Because MySQL Native Driver is written as a PHP extension, it is
1051 tightly coupled to the workings of PHP. This leads to gains in
1052 efficiency, especially when it comes to memory usage, as the driver
1053 uses the PHP memory management system. It also supports the PHP memory
1054 limit. Using MySQL Native Driver leads to comparable or better
1055 performance than using MySQL Client Library, it always ensures the
1056 most efficient use of memory. One example of the memory efficiency is
1057 the fact that when using the MySQL Client Library, each row is stored
1058 in memory twice, whereas with the MySQL Native Driver each row is only
1059 stored once in memory.
1061 %description mysqlnd -l pl.UTF-8
1062 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1063 klienckiej MySQL (libmysql).
1065 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1066 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1067 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1068 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1069 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1070 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1071 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1072 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1073 tym sterowniku - tylko raz.
1076 Summary: Oracle 8+ database module for PHP
1077 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1079 URL: http://www.php.net/manual/en/book.oci8.php
1080 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1085 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1086 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1088 %description oci8 -l pl.UTF-8
1089 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1090 poprzez interfejs Oracle8 Call-Interface (OCI8).
1093 Summary: ODBC extension module for PHP
1094 Summary(pl.UTF-8): Moduł ODBC dla PHP
1095 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1097 URL: http://www.php.net/manual/en/book.uodbc.php
1098 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1099 Requires: unixODBC >= 2.1.1-3
1103 This is a dynamic shared object (DSO) for PHP that will add ODBC
1106 %description odbc -l pl.UTF-8
1107 Moduł PHP ze wsparciem dla ODBC.
1109 %description odbc -l pt_BR.UTF-8
1110 Um módulo para aplicações PHP que usam ODBC.
1113 Summary: OpenSSL extension module for PHP
1114 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1116 URL: http://www.php.net/manual/en/book.openssl.php
1117 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1118 Provides: php(openssl)
1120 %description openssl
1121 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1124 %description openssl -l pl.UTF-8
1125 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1128 Summary: Process Control extension module for PHP
1129 Summary(pl.UTF-8): Moduł Process Control dla PHP
1131 URL: http://www.php.net/manual/en/book.pcntl.php
1132 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1133 Provides: php(pcntl)
1136 This is a dynamic shared object (DSO) for PHP that will add process
1137 spawning and control support. It supports functions like fork(),
1138 waitpid(), signal() etc.
1140 %description pcntl -l pl.UTF-8
1141 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1142 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1145 Summary: PCRE extension module for PHP
1146 Summary(pl.UTF-8): Moduł PCRE dla PHP
1148 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1152 This is a dynamic shared object (DSO) for PHP that will add Perl
1153 Compatible Regular Expression support.
1155 %description pcre -l pl.UTF-8
1156 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1157 (Perl Compatible Regular Expressions)
1160 Summary: PHP Data Objects (PDO)
1161 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1163 URL: http://www.php.net/manual/en/book.pdo.php
1164 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1165 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1167 Obsoletes: php-pecl-PDO
1170 This is a dynamic shared object (DSO) for PHP that will add PDO
1173 %description pdo -l pl.UTF-8
1174 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1177 Summary: PHP Data Objects (PDO) FreeTDS support
1178 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1180 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1181 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1182 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1183 Provides: php(dblib)
1185 %description pdo-dblib
1186 This is a dynamic shared object (DSO) for PHP that will add PDO
1189 %description pdo-dblib -l pl.UTF-8
1190 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1193 %package pdo-firebird
1194 Summary: PHP Data Objects (PDO) Firebird support
1195 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1197 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1198 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1199 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1200 Provides: php(pdo-firebird)
1201 Obsoletes: php-pecl-PDO_FIREBIRD
1203 %description pdo-firebird
1204 This is a dynamic shared object (DSO) for PHP that will add PDO
1207 %description pdo-firebird -l pl.UTF-8
1208 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1212 Summary: PHP Data Objects (PDO) MySQL support
1213 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1215 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1216 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1217 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1218 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1219 Provides: php(pdo-mysql)
1220 Obsoletes: php-pecl-PDO_MYSQL
1222 %description pdo-mysql
1223 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1226 %description pdo-mysql -l pl.UTF-8
1227 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1231 Summary: PHP Data Objects (PDO) Oracle support
1232 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1234 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1235 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1236 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1237 Provides: php(pdo-oci)
1238 Obsoletes: php-pecl-PDO_OCI
1240 %description pdo-oci
1241 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1244 %description pdo-oci -l pl.UTF-8
1245 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1249 Summary: PHP Data Objects (PDO) ODBC support
1250 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1252 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1253 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1254 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1255 Provides: php(pdo-odbc)
1256 Obsoletes: php-pecl-PDO_ODBC
1258 %description pdo-odbc
1259 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1262 %description pdo-odbc -l pl.UTF-8
1263 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1267 Summary: PHP Data Objects (PDO) PostgreSQL support
1268 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1270 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1271 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1272 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1273 Provides: php(pdo-pgsql)
1274 Provides: php-pecl-PDO_PGSQL
1275 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1277 %description pdo-pgsql
1278 This is a dynamic shared object (DSO) for PHP that will add PDO
1281 %description pdo-pgsql -l pl.UTF-8
1282 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1286 Summary: PHP Data Objects (PDO) SQLite support
1287 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1289 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1290 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1291 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1292 Provides: php(pdo-sqlite)
1293 Obsoletes: php-pecl-PDO_SQLITE
1295 %description pdo-sqlite
1296 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1299 %description pdo-sqlite -l pl.UTF-8
1300 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1304 Summary: PostgreSQL database module for PHP
1305 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1307 URL: http://www.php.net/manual/en/book.pgsql.php
1308 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1309 Provides: php(pgsql)
1312 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1315 %description pgsql -l pl.UTF-8
1316 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1318 %description pgsql -l pt_BR.UTF-8
1319 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1322 Summary: phar database module for PHP
1323 Summary(pl.UTF-8): Moduł phar dla PHP
1325 URL: http://www.php.net/manual/en/book.phar.php
1326 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1327 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1331 This is a dynamic shared object (DSO) for PHP that will add phar
1334 %description phar -l pl.UTF-8
1335 Moduł PHP umożliwiający dostęp do achiwów .phar.
1338 Summary: POSIX extension module for PHP
1339 Summary(pl.UTF-8): Moduł POSIX dla PHP
1341 URL: http://www.php.net/manual/en/book.posix.php
1342 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1343 Provides: php(posix)
1346 This is a dynamic shared object (DSO) for PHP that will add POSIX
1347 functions support to PHP.
1349 %description posix -l pl.UTF-8
1350 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1353 Summary: pspell extension module for PHP
1354 Summary(pl.UTF-8): Moduł pspell dla PHP
1356 URL: http://www.php.net/manual/en/book.pspell.php
1357 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1358 Provides: php(pspell)
1361 This is a dynamic shared object (DSO) for PHP that will add pspell
1362 support to PHP. It allows to check the spelling of a word and offer
1365 %description pspell -l pl.UTF-8
1366 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1367 sprawdzanie pisowni słowa i sugerowanie poprawek.
1370 Summary: readline extension module for PHP
1371 Summary(pl.UTF-8): Moduł readline dla PHP
1373 URL: http://www.php.net/manual/en/book.readline.php
1374 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1375 Provides: php(readline)
1377 %description readline
1378 This PHP module adds support for readline functions (only for cli and
1381 %description readline -l pl.UTF-8
1382 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1385 Summary: recode extension module for PHP
1386 Summary(pl.UTF-8): Moduł recode dla PHP
1388 URL: http://www.php.net/manual/en/book.recode.php
1389 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1390 Requires: recode >= 3.5d-3
1391 Provides: php(recode)
1394 This is a dynamic shared object (DSO) for PHP that will add recode
1397 %description recode -l pl.UTF-8
1398 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1402 Summary: session extension module for PHP
1403 Summary(pl.UTF-8): Moduł session dla PHP
1405 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1406 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1407 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1408 Provides: php(session)
1410 %description session
1411 This is a dynamic shared object (DSO) for PHP that will add session
1414 %description session -l pl.UTF-8
1415 Moduł PHP dodający obsługę sesji.
1418 Summary: Shared Memory Operations extension module for PHP
1419 Summary(pl.UTF-8): Moduł shmop dla PHP
1421 URL: http://www.php.net/manual/en/book.shmop.php
1422 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1423 Provides: php(shmop)
1426 This is a dynamic shared object (DSO) for PHP that will add Shared
1427 Memory Operations support.
1429 %description shmop -l pl.UTF-8
1430 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1433 Summary: Simple XML extension module for PHP
1434 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1436 URL: http://www.php.net/manual/en/book.simplexml.php
1437 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1438 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1439 Provides: php(simplexml)
1441 %description simplexml
1442 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1445 %description simplexml -l pl.UTF-8
1446 Moduł PHP dodający obsługę prostego XML-a.
1449 Summary: SNMP extension module for PHP
1450 Summary(pl.UTF-8): Moduł SNMP dla PHP
1452 URL: http://www.php.net/manual/en/book.snmp.php
1453 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1454 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1458 This is a dynamic shared object (DSO) for PHP that will add SNMP
1461 %description snmp -l pl.UTF-8
1462 Moduł PHP dodający obsługę SNMP.
1465 Summary: soap extension module for PHP
1466 Summary(pl.UTF-8): Moduł soap dla PHP
1468 URL: http://www.php.net/manual/en/book.soap.php
1469 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1473 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1476 %description soap -l pl.UTF-8
1477 Moduł PHP dodający obsługę SOAP/WSDL.
1480 Summary: sockets extension module for PHP
1481 Summary(pl.UTF-8): Moduł socket dla PHP
1483 URL: http://www.php.net/manual/en/book.sockets.php
1484 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1485 Provides: php(sockets)
1487 %description sockets
1488 This is a dynamic shared object (DSO) for PHP that will add sockets
1491 %description sockets -l pl.UTF-8
1492 Moduł PHP dodający obsługę gniazdek.
1495 Summary: Standard PHP Library module for PHP
1496 Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1498 URL: http://php.net/manual/en/book.spl.php
1499 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1500 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1501 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1505 This is a dynamic shared object (DSO) for PHP that will add Standard
1506 PHP Library support.
1508 %description spl -l pl.UTF-8
1509 Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1512 Summary: SQLite extension module for PHP
1513 Summary(pl.UTF-8): Moduł SQLite dla PHP
1515 URL: http://www.php.net/manual/en/book.sqlite.php
1516 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1517 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1518 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1519 Provides: php(sqlite)
1522 SQLite is a C library that implements an embeddable SQL database
1523 engine. Programs that link with the SQLite library can have SQL
1524 database access without running a separate RDBMS process.
1526 SQLite is not a client library used to connect to a big database
1527 server. SQLite is the server. The SQLite library reads and writes
1528 directly to and from the database files on disk.
1530 %description sqlite -l pl.UTF-8
1531 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1532 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1533 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1536 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1537 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1538 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1542 Summary: SQLite3 extension module for PHP
1543 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1545 URL: http://php.net/manual/en/book.sqlite3.php
1546 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1547 Provides: php(sqlite3)
1549 %description sqlite3
1550 SQLite is a C library that implements an embeddable SQL database
1551 engine. Programs that link with the SQLite library can have SQL
1552 database access without running a separate RDBMS process.
1554 SQLite is not a client library used to connect to a big database
1555 server. SQLite is the server. The SQLite library reads and writes
1556 directly to and from the database files on disk.
1558 %description sqlite3 -l pl.UTF-8
1559 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1560 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1561 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1564 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1565 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1566 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1570 Summary: Sybase-CT extension module for PHP
1571 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1573 URL: http://www.php.net/manual/en/book.sybase.php
1574 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1575 Provides: php(sybase-ct)
1576 Obsoletes: php-sybase
1578 %description sybase-ct
1579 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1580 MS SQL databases support through CT-lib.
1582 %description sybase-ct -l pl.UTF-8
1583 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1587 Summary: SysV msg extension module for PHP
1588 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1590 URL: http://www.php.net/manual/en/book.sem.php
1591 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1592 Provides: php(sysvmsg)
1594 %description sysvmsg
1595 This is a dynamic shared object (DSO) for PHP that will add SysV
1596 message queues support.
1598 %description sysvmsg -l pl.UTF-8
1599 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1602 Summary: SysV sem extension module for PHP
1603 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1605 URL: http://www.php.net/manual/en/book.sem.php
1606 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1607 Provides: php(sysvsem)
1609 %description sysvsem
1610 This is a dynamic shared object (DSO) for PHP that will add SysV
1613 %description sysvsem -l pl.UTF-8
1614 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1617 Summary: SysV shm extension module for PHP
1618 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1620 URL: http://www.php.net/manual/en/book.shmop.php
1621 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1622 Provides: php(sysvshm)
1624 %description sysvshm
1625 This is a dynamic shared object (DSO) for PHP that will add SysV
1626 Shared Memory support.
1628 %description sysvshm -l pl.UTF-8
1629 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1632 Summary: Contains unit test files for PHP and extensions
1633 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1635 URL: http://qa.php.net/
1636 Requires: %{name}-cli
1639 This package contains unit tests for PHP and its extensions.
1641 %description tests -l pl.UTF-8
1642 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1645 Summary: Tidy extension module for PHP
1646 Summary(pl.UTF-8): Moduł Tidy dla PHP
1648 URL: http://www.php.net/manual/en/book.tidy.php
1649 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1654 This is a dynamic shared object (DSO) for PHP that will add Tidy
1657 %description tidy -l pl.UTF-8
1658 Moduł PHP umożliwiający korzystanie z tidy.
1661 Summary: tokenizer extension module for PHP
1662 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1664 URL: http://www.php.net/manual/en/book.tokenizer.php
1665 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1666 Provides: php(tokenizer)
1668 %description tokenizer
1669 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1672 %description tokenizer -l pl.UTF-8
1673 Moduł PHP dodający obsługę tokenizera do PHP.
1676 Summary: wddx extension module for PHP
1677 Summary(pl.UTF-8): Moduł wddx dla PHP
1679 URL: http://www.php.net/manual/en/book.wddx.php
1680 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1681 # - wddx doesn't require session as it's disabled at compile time:
1682 # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1683 # see also php.spec#rev1.120.2.22
1684 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1685 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1689 This is a dynamic shared object (DSO) for PHP that will add wddx
1692 %description wddx -l pl.UTF-8
1693 Moduł PHP umożliwiający korzystanie z wddx.
1696 Summary: XML extension module for PHP
1697 Summary(pl.UTF-8): Moduł XML dla PHP
1699 URL: http://www.php.net/manual/en/book.xml.php
1700 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1704 This is a dynamic shared object (DSO) for PHP that will add XML
1705 support. This extension lets you create XML parsers and then define
1706 handlers for different XML events.
1708 %description xml -l pl.UTF-8
1709 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1710 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1711 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1714 Summary: XML Reader extension module for PHP
1715 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1717 URL: http://www.php.net/manual/en/book.xmlreader.php
1718 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1719 Suggests: %{name}-dom = %{epoch}:%{version}-%{release}
1720 Provides: php(xmlreader)
1722 %description xmlreader
1723 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1724 support. The XMLReader extension is an XML Pull parser. The reader
1725 acts as a cursor going forward on the document stream and stopping at
1726 each node on the way.
1728 %description xmlreader -l pl.UTF-8
1729 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1730 działa jako kursor przechodzący przez strumień dokumentu i
1731 zatrzymujący się na każdym węźle po drodze.
1734 Summary: xmlrpc extension module for PHP
1735 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1737 URL: http://www.php.net/manual/en/book.xmlrpc.php
1738 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1739 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1740 Provides: php(xmlrpc)
1743 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1746 %description xmlrpc -l pl.UTF-8
1747 Moduł PHP dodający obsługę XMLRPC.
1750 Summary: Fast, non-cached, forward-only means to write XML data
1751 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1753 URL: http://www.php.net/manual/en/book.xmlwriter.php
1754 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1755 Provides: php(xmlwriter)
1756 Obsoletes: php-pecl-xmlwriter
1758 %description xmlwriter
1759 This extension wraps the libxml xmlWriter API. Represents a writer
1760 that provides a non-cached, forward-only means of generating streams
1761 or files containing XML data.
1763 %description xmlwriter -l pl.UTF-8
1764 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1765 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1766 plików zawierających dane XML.
1769 Summary: xsl extension module for PHP
1770 Summary(pl.UTF-8): Moduł xsl dla PHP
1772 URL: http://www.php.net/manual/en/book.xsl.php
1773 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1774 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1775 Requires: libxslt >= 1.0.18
1776 # actually not true, functionality is similar, but API differs
1778 Obsoletes: php-xslt <= 3:4.3.8-1
1781 This is a dynamic shared object (DSO) for PHP that will add new XSL
1782 support (using libxslt).
1784 %description xsl -l pl.UTF-8
1785 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1788 Summary: Zip management extension
1789 Summary(pl.UTF-8): Zarządzanie archiwami zip
1791 URL: http://www.php.net/manual/en/book.zip.php
1792 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1794 Obsoletes: php-pecl-zip
1797 Zip is an extension to create, modify and read zip files.
1799 %description zip -l pl.UTF-8
1800 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1801 odczyt archiwów zip.
1804 Summary: Zlib extension module for PHP
1805 Summary(pl.UTF-8): Moduł zlib dla PHP
1807 URL: http://www.php.net/manual/en/book.zlib.php
1808 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1812 This is a dynamic shared object (DSO) for PHP that will add zlib
1813 compression support to PHP.
1815 %description zlib -l pl.UTF-8
1816 Moduł PHP umożliwiający używanie kompresji zlib.
1820 # prep for suhosin patch
1821 %{__sed} -i -e 's,\r$,,' Zend/Zend.dsp Zend/ZendTS.dsp
1832 cp -p php.ini-production php.ini
1835 %if %{with type_hints}
1842 %if %{with system_gd}
1855 %if "%{pld_release}" != "ac"
1880 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
1889 %{__rm} -r sapi/litespeed
1890 gzip -dc %{SOURCE15} | tar xf - -C sapi/
1892 %if "%{pld_release}" != "ac"
1893 sed -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
1896 # cleanup backups after patching
1897 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
1899 # conflict seems to be resolved by recode patches
1900 %{__rm} ext/recode/config9.m4
1902 # remove all bundled libraries not to link with them accidentally
1903 #%{__rm} -r ext/sqlite/libsqlite
1904 %{__rm} -r ext/sqlite3/libsqlite
1905 #%{__rm} -r ext/bcmath/libbcmath
1906 #%{__rm} -r ext/date/lib
1907 #%{__rm} -r ext/fileinfo/libmagic
1908 #%{__rm} -r ext/dba/libcdb
1909 #%{__rm} -r ext/dba/libflatfile
1910 #%{__rm} -r ext/dba/libinifile
1911 #%{__rm} -r ext/gd/libgd
1912 #%{__rm} -r ext/mbstring/libmbfl
1913 #%{__rm} -r ext/mbstring/oniguruma
1914 %{__rm} -r ext/pcre/pcrelib
1915 #%{__rm} -r ext/soap/interop
1916 %{__rm} -r ext/xmlrpc/libxmlrpc
1917 #%{__rm} -r ext/zip/lib
1919 cp -pf Zend/LICENSE{,.Zend}
1920 install -p %{SOURCE13} dep-tests.sh
1923 sed -i -e 's#-fvisibility=hidden##g' configure*
1925 # disable broken tests
1926 # says just "Terminated" twice and fails
1927 mv sapi/cli/tests/022.phpt{,.broken}
1929 # php-5.3.3/ext/standard/tests/file/statpage.phpt
1930 %{__rm} ext/standard/tests/file/statpage.phpt
1932 # idiotic test, it will fail if somebody else makes space on disk or if disk
1933 # space is not yet allocated (xfs). report upstream to advice bogus test is
1934 # probably pointless.
1935 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
1937 sh -xe %{_sourcedir}/skip-tests.sh
1940 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
1941 if [ $API != %{php_api_version} ]; then
1942 echo "Set %%define php_api_version to $API and re-run."
1946 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
1947 if [ $API != %{zend_module_api} ]; then
1948 echo "Set %%define zend_module_api to $API and re-run."
1952 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
1953 if [ $API != %{zend_extension_api} ]; then
1954 echo "Set %%define zend_extension_api to $API and re-run."
1958 export EXTENSION_DIR="%{php_extensiondir}"
1959 # configure once (for faster debugging purposes)
1960 if [ ! -f _built-conf ]; then
1961 # now remove Makefile copies
1962 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed}
1965 cp -f /usr/share/automake/config.* .
1969 export PROG_SENDMAIL="/usr/lib/sendmail"
1970 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \
1971 -I%{_includedir}/xmlrpc-epi"
1978 %if %{with litespeed}
1994 for sapi in $sapis; do
1996 # skip if already configured (for faster debugging purposes)
1997 [ -f Makefile.$sapi ] && continue
2002 sapi_args='--disable-cli'
2005 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
2008 sapi_args='--disable-cli --enable-fpm'
2011 sapi_args='--disable-cli --enable-embed'
2014 ver=$(rpm -q --qf '%{V}' apache1-devel)
2015 sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
2018 ver=$(rpm -q --qf '%{V}' apache-devel)
2019 sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
2022 sapi_args='--with-litespeed'
2028 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2029 --cache-file=config.cache \
2031 --with-libdir=%{_lib} \
2032 --with-config-file-path=%{_sysconfdir} \
2033 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2034 --with-exec-dir=%{_bindir} \
2035 --with-system-tzdata \
2036 --%{!?debug:dis}%{?debug:en}able-debug \
2037 %{?with_zts:--enable-maintainer-zts} \
2038 --enable-inline-optimization \
2039 --enable-bcmath=shared \
2040 --enable-calendar=shared \
2041 --enable-ctype=shared \
2042 --enable-dba=shared \
2043 --enable-dom=shared \
2044 --enable-exif=shared \
2045 --enable-fileinfo=shared \
2046 --enable-ftp=shared \
2047 --enable-gd-native-ttf \
2048 --enable-intl=shared \
2050 --enable-magic-quotes \
2051 --enable-mbstring=shared,all \
2053 --enable-pcntl=shared \
2054 --enable-pdo=shared \
2055 --enable-json=shared \
2056 --enable-hash=shared \
2057 --enable-xmlwriter=shared \
2059 --with-fpm-user=http \
2060 --with-fpm-group=http \
2062 %if %{with mssql} || %{with sybase_ct}
2063 --with-pdo-dblib=shared \
2065 %if %{with interbase} && %{without interbase_inst}
2066 --with-pdo-firebird=shared,/usr \
2068 %{?with_mhash:--with-mhash=yes} \
2069 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2070 --with-pdo-mysql=shared%{?with_mysqlnd:,mysqlnd} \
2071 %{?with_oci8:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2072 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2073 %{?with_pgsql:--with-pdo-pgsql=shared} \
2074 %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
2075 --without-libexpat-dir \
2076 --enable-posix=shared \
2078 --enable-session=shared \
2079 --enable-shmop=shared \
2080 --enable-simplexml=shared \
2081 --enable-sysvmsg=shared \
2082 --enable-sysvsem=shared \
2083 --enable-sysvshm=shared \
2084 --enable-safe-mode \
2085 --enable-soap=shared \
2086 --enable-sockets=shared \
2087 --enable-tokenizer=shared \
2088 --enable-ucd-snmp-hack \
2089 %{?with_wddx:--enable-wddx=shared} \
2090 --enable-xml=shared \
2091 --enable-xmlreader=shared \
2093 %{__with_without curl curl shared} \
2095 --with-iconv=shared \
2096 --with-freetype-dir=shared \
2097 --with-gettext=shared \
2098 --with-gd=shared%{?with_system_gd:,/usr} \
2101 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2102 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2103 --with-jpeg-dir=/usr \
2104 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2105 --with-mcrypt=shared \
2106 %{?with_mm:--with-mm} \
2107 %{?with_mssql:--with-mssql=shared} \
2108 %{?with_mysqlnd:--with-mysqlnd=shared} \
2109 --with-mysql=shared%{?with_mysqlnd:,mysqlnd} \
2110 %{?with_mysqli:--with-mysqli=shared%{?with_mysqlnd:,mysqlnd}} \
2111 %{?with_oci8:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2112 %{?with_openssl:--with-openssl=shared} \
2113 %{?with_kerberos5:--with-kerberos} \
2114 %{__with_without pcre pcre-regex /usr} \
2115 %{__enable_disable filter filter shared} \
2116 --with-pear=%{php_pear_dir} \
2117 %{__with_without pgsql pgsql shared,/usr} \
2118 %{__enable_disable phar phar shared} \
2119 --with-png-dir=/usr \
2120 %{?with_pspell:--with-pspell=shared} \
2121 --with-readline=shared \
2122 %{?with_recode:--with-recode=shared} \
2123 --with-regex=system \
2124 %{?with_snmp:--with-snmp=shared} \
2125 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
2126 %{!?with_sqlite2:--without-sqlite}%{?with_sqlite2:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
2127 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2128 %{__with_without sqlite3 sqlite3 shared,/usr} \
2129 --with-t1lib=shared \
2130 %{?with_tidy:--with-tidy=shared} \
2131 %{?with_odbc:--with-unixODBC=shared,/usr} \
2132 %{__with_without xmlrpc xmlrpc shared,/usr} \
2134 --with-zlib=shared \
2135 --with-zlib-dir=shared,/usr \
2136 --enable-zip=shared,/usr \
2139 cp -f Makefile Makefile.$sapi
2140 cp -f main/php_config.h php_config.h.$sapi
2141 cp -f config.log config.log.$sapi
2144 # as we build each SAPI in own make, adjust php-config.in forehead
2145 sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | xargs)
2146 sed -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in"
2148 # must make libphp_common first, so modules can link against it.
2149 cp -af php_config.h.cli main/php_config.h
2150 cp -af Makefile.cli Makefile
2151 %{__make} libphp_common.la
2152 %{__make} build-modules
2155 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
2159 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
2162 %if %{with litespeed}
2163 %{__make} -f Makefile.litespeed
2168 cp -pf php_config.h.cgi-fcgi main/php_config.h
2169 %{__make} -f Makefile.cgi-fcgi
2170 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = cgi-fcgi ] || exit 1
2175 cp -pf php_config.h.fpm main/php_config.h
2176 %{__make} -f Makefile.fpm
2177 ./sapi/fpm/php-fpm -qn -m > /dev/null
2181 cp -pf php_config.h.cli main/php_config.h
2182 %{__make} -f Makefile.cli
2183 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = cli ] || exit 1
2185 # check for stupid xml parse breakage where < and > just get lost in parse result
2186 ./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"]));'
2188 # Generate stub .ini files for each extension
2191 generate_inifiles() {
2192 for so in modules/*.so; do
2193 mod=$(basename $so .so)
2195 # xml needs to be loaded before wddx
2196 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2197 # pre needs to be loaded before SPL
2198 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2199 # spl needs to be loaded before mysqli
2200 [ "$mod" = "spl" ] && conf="SPL.ini"
2201 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2202 [ "$mod" = "session" ] && conf="Session.ini"
2203 # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli
2204 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2206 cat > conf.d/$conf <<-EOF
2207 ; Enable $mod extension module
2214 # Check that the module inner-dependencies are intact
2215 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2216 if grep -v OK dep-tests.log; then
2217 echo >&2 "The results above were not expected"
2223 cp -pf php_config.h.cli main/php_config.h
2224 cp -pf Makefile.cli Makefile
2226 # you really don't want to package result of gcov build
2231 # Run tests, using the CLI SAPI
2232 cp -pf php_config.h.cli main/php_config.h
2233 cp -pf Makefile.cli Makefile
2235 cat <<'EOF' > run-tests.sh
2237 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2238 unset TZ LANG LC_ALL || :
2240 EXTENSION_DIR=modules \
2241 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2242 RUN_TESTS_SETTINGS="-q $*"
2244 chmod +x run-tests.sh
2245 ./run-tests.sh -w failed.log -s test.log
2247 # collect failed tests into cleanup script used in prep.
2248 sed -ne '/FAILED TEST SUMMARY/,/^===/p' test.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2249 sed -ne '/\[.*\]/{s/\(.*\) \[\(.*\)\]/# \1\nmv \2{,.skip}/p}' tests-failed.log \
2250 >> %{_sourcedir}/skip-tests.sh
2252 failed=$(wc -l < tests-failed.log)
2253 if [ "$failed" != 0 ]; then
2259 rm -rf $RPM_BUILD_ROOT
2260 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2261 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2262 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2263 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2265 cp -pf php_config.h.cli main/php_config.h
2266 cp -pf Makefile.cli Makefile
2268 INSTALL_ROOT=$RPM_BUILD_ROOT
2270 # make link relative
2271 ln -sfn phar.phar $RPM_BUILD_ROOT%{_bindir}/phar
2273 # install Apache1 DSO module
2275 libtool --mode=install install -p sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2278 # install Apache2 DSO module
2280 libtool --mode=install install -p sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2283 # install litespeed sapi
2284 %if %{with litespeed}
2285 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/php.litespeed
2288 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2289 # fix install paths, avoid evil rpaths
2290 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2292 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
2297 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.cgi
2298 ln -sf php.cgi $RPM_BUILD_ROOT%{_bindir}/php.fcgi
2299 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2304 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir}}
2305 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}
2306 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8
2307 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2308 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2309 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/php-fpm
2310 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2311 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/php-fpm
2314 # install Embedded API
2316 %{__make} -f Makefile.embed install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT
2317 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2318 install -d $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2319 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2323 libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
2324 cp -p sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
2325 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
2326 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
2328 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2330 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2331 cp -p %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini
2334 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2335 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2336 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2340 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2341 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2342 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2345 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2346 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2348 # per SAPI ini directories
2349 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2352 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2354 # use system automake and {lib,sh}tool
2355 %if "%{pld_release}" != "ac"
2356 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
2357 for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2358 ln -snf %{_aclocaldir}/${i} $RPM_BUILD_ROOT%{_libdir}/php/build
2360 ln -snf %{_datadir}/libtool/config/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2362 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
2363 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2365 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
2367 # for php-pecl-mailparse
2368 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2369 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2372 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2373 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2374 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2377 rm -rf $RPM_BUILD_ROOT
2379 %post -n apache1-mod_php
2380 if [ "$1" = "1" ]; then
2381 %service -q apache restart
2384 %postun -n apache1-mod_php
2385 if [ "$1" = "0" ]; then
2386 %service -q apache restart
2389 %post -n apache-mod_php
2390 if [ "$1" = "1" ]; then
2391 %service -q httpd restart
2394 %postun -n apache-mod_php
2395 if [ "$1" = "0" ]; then
2396 %service -q httpd restart
2400 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2403 /sbin/chkconfig --add php-fpm
2404 %service php-fpm restart
2407 if [ "$1" = 0 ]; then
2408 %service php-fpm stop
2409 /sbin/chkconfig --del php-fpm
2413 if [ "$1" = "0" ]; then
2417 %post embedded -p /sbin/ldconfig
2418 %postun embedded -p /sbin/ldconfig
2421 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2422 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2424 . /etc/sysconfig/timezone
2425 if [ "$TIMEZONE" ]; then
2426 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2431 # minimizing apache restarts logics. we restart webserver:
2433 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2434 # 2. first install of extension (post: $1 = 1)
2435 # 2. uninstall of extension (postun: $1 == 0)
2437 # the strict internal deps between extensions (and apache modules) and
2438 # common package are very important for all this to work.
2440 # restart webserver at the end of transaction
2441 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2442 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2445 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
2447 /^AddType application\/x-httpd-php \.php/s,^,#,
2448 /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
2449 ' /etc/apache/apache.conf
2450 %service -q apache restart
2454 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1
2455 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
2456 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
2457 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
2458 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2462 # common macros called at extension post/postun scriptlet
2463 %define extension_scripts() \
2465 if [ "$1" = "1" ]; then \
2466 %php_webserver_restart \
2470 if [ "$1" = "0" ]; then \
2471 %php_webserver_restart \
2475 # extension scripts defines
2476 %extension_scripts bcmath
2477 %extension_scripts bz2
2478 %extension_scripts calendar
2479 %extension_scripts ctype
2480 %extension_scripts curl
2481 %extension_scripts dba
2482 %extension_scripts dom
2483 %extension_scripts exif
2484 %extension_scripts fileinfo
2485 %extension_scripts filter
2486 %extension_scripts ftp
2487 %extension_scripts gd
2488 %extension_scripts gettext
2489 %extension_scripts gmp
2490 %extension_scripts hash
2491 %extension_scripts iconv
2492 %extension_scripts imap
2493 %extension_scripts interbase
2494 %extension_scripts intl
2495 %extension_scripts json
2496 %extension_scripts ldap
2497 %extension_scripts mbstring
2498 %extension_scripts mcrypt
2499 %extension_scripts mssql
2500 %extension_scripts mysql
2501 %extension_scripts mysqli
2502 %extension_scripts mysqlnd
2503 %extension_scripts oci8
2504 %extension_scripts odbc
2505 %extension_scripts openssl
2506 %extension_scripts pcre
2507 %extension_scripts pdo-dblib
2508 %extension_scripts pdo-firebird
2509 %extension_scripts pdo-mysql
2510 %extension_scripts pdo-odbc
2511 %extension_scripts pdo-pgsql
2512 %extension_scripts pdo-sqlite
2513 %extension_scripts pgsql
2514 %extension_scripts phar
2515 %extension_scripts posix
2516 %extension_scripts pspell
2517 %extension_scripts recode
2518 %extension_scripts session
2519 %extension_scripts shmop
2520 %extension_scripts snmp
2521 %extension_scripts soap
2522 %extension_scripts sockets
2523 %extension_scripts spl
2524 %extension_scripts sqlite
2525 %extension_scripts sqlite3
2526 %extension_scripts sybase-ct
2527 %extension_scripts sysvmsg
2528 %extension_scripts sysvsem
2529 %extension_scripts sysvshm
2530 %extension_scripts tidy
2531 %extension_scripts tokenizer
2532 %extension_scripts wddx
2533 %extension_scripts xml
2534 %extension_scripts xmlreader
2535 %extension_scripts xmlrpc
2536 %extension_scripts xmlwriter
2537 %extension_scripts xsl
2538 %extension_scripts zip
2539 %extension_scripts zlib
2541 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2542 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2544 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2545 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2547 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2548 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2550 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2551 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2553 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2554 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2556 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2557 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini
2559 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2560 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2562 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2563 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2565 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2566 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2568 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2569 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2571 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2572 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2574 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2575 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2577 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2578 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2580 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2581 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2583 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2584 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2586 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2587 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2589 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2590 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2592 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2593 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2595 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2596 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2598 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2599 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini
2601 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2602 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2604 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2605 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2607 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2608 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2610 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2611 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2612 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2614 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2615 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2618 %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1
2619 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcre\.so/d' %{_sysconfdir}/php.ini
2621 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2622 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2624 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2625 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2627 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2628 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2630 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2631 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2632 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2634 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2635 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2638 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2639 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2641 %triggerun session -- %{name}-session < 4:5.0.4-9.1
2642 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*session\.so/d' %{_sysconfdir}/php.ini
2644 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2645 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2647 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2648 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2650 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2651 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini
2653 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2654 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2656 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2657 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini
2659 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2660 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini
2662 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2663 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2665 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2666 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2668 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2669 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2671 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2672 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini
2674 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2675 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2677 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2678 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2680 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2681 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2683 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2684 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini
2686 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2687 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2690 %files -n apache1-mod_php
2691 %defattr(644,root,root,755)
2692 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2693 %dir %{_sysconfdir}/apache.d
2694 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2695 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2699 %files -n apache-mod_php
2700 %defattr(644,root,root,755)
2701 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2702 %dir %{_sysconfdir}/apache2handler.d
2703 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2704 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2707 %if %{with litespeed}
2709 %defattr(644,root,root,755)
2710 %attr(755,root,root) %{_sbindir}/php.litespeed
2715 %defattr(644,root,root,755)
2716 %dir %{_sysconfdir}/cgi-fcgi.d
2717 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2718 %attr(755,root,root) %{_bindir}/php.cgi
2719 %attr(755,root,root) %{_bindir}/php.fcgi
2724 %defattr(644,root,root,755)
2725 %attr(755,root,root) %{_libdir}/libphp5-%{version}.so
2729 %defattr(644,root,root,755)
2730 %dir %{_sysconfdir}/cli.d
2731 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2732 %attr(755,root,root) %{_bindir}/php.cli
2733 %{_mandir}/man1/php.1*
2734 %{_mandir}/man1/php.cli.1*
2737 %defattr(644,root,root,755)
2738 %attr(755,root,root) %{_bindir}/php
2742 %defattr(644,root,root,755)
2743 %doc sapi/fpm/{CREDITS,LICENSE}
2744 %dir %{_sysconfdir}/fpm.d
2745 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
2746 %attr(755,root,root) %{_sbindir}/php-fpm
2747 %{_mandir}/man8/php-fpm.8*
2748 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/php-fpm
2749 %attr(754,root,root) /etc/rc.d/init.d/php-fpm
2753 %defattr(644,root,root,755)
2754 %doc CREDITS EXTENSIONS LICENSE NEWS README.{PHP4-TO-PHP5-THIN-CHANGES,namespaces} TODO* UPGRADING* Zend/{LICENSE.Zend,ZEND_CHANGES} php.ini-*
2756 %dir %{_sysconfdir}/conf.d
2757 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2758 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2759 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2760 %dir %{php_extensiondir}
2762 %doc ext/session/mod_files.sh
2765 %defattr(644,root,root,755)
2766 %doc CODING_STANDARDS README.{EXTENSIONS,EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
2767 %attr(755,root,root) %{_bindir}/phpize
2768 %attr(755,root,root) %{_bindir}/php-config
2769 %attr(755,root,root) %{_libdir}/libphp_common.so
2770 %{_libdir}/libphp_common.la
2772 %{_libdir}/php/build
2773 %{_mandir}/man1/php-config.1*
2774 %{_mandir}/man1/phpize.1*
2777 %{_libdir}/libphp5.so
2778 %{_libdir}/libphp5.la
2779 %dir %{_includedir}/php/sapi/embed
2780 %{_includedir}/php/sapi/embed/php_embed.h
2784 %defattr(644,root,root,755)
2785 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2786 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2789 %defattr(644,root,root,755)
2790 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2791 %attr(755,root,root) %{php_extensiondir}/bz2.so
2794 %defattr(644,root,root,755)
2795 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2796 %attr(755,root,root) %{php_extensiondir}/calendar.so
2799 %defattr(644,root,root,755)
2800 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2801 %attr(755,root,root) %{php_extensiondir}/ctype.so
2805 %defattr(644,root,root,755)
2806 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2807 %attr(755,root,root) %{php_extensiondir}/curl.so
2811 %defattr(644,root,root,755)
2812 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2813 %attr(755,root,root) %{php_extensiondir}/dba.so
2816 %defattr(644,root,root,755)
2817 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2818 %attr(755,root,root) %{php_extensiondir}/dom.so
2821 %defattr(644,root,root,755)
2822 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2823 %attr(755,root,root) %{php_extensiondir}/exif.so
2826 %defattr(644,root,root,755)
2827 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
2828 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
2832 %defattr(644,root,root,755)
2833 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2834 %attr(755,root,root) %{php_extensiondir}/filter.so
2838 %defattr(644,root,root,755)
2839 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2840 %attr(755,root,root) %{php_extensiondir}/ftp.so
2843 %defattr(644,root,root,755)
2844 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2845 %attr(755,root,root) %{php_extensiondir}/gd.so
2848 %defattr(644,root,root,755)
2849 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2850 %attr(755,root,root) %{php_extensiondir}/gettext.so
2853 %defattr(644,root,root,755)
2854 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2855 %attr(755,root,root) %{php_extensiondir}/gmp.so
2858 %defattr(644,root,root,755)
2859 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2860 %attr(755,root,root) %{php_extensiondir}/hash.so
2863 %defattr(644,root,root,755)
2864 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2865 %attr(755,root,root) %{php_extensiondir}/iconv.so
2869 %defattr(644,root,root,755)
2870 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2871 %attr(755,root,root) %{php_extensiondir}/imap.so
2874 %if %{with interbase}
2876 %defattr(644,root,root,755)
2877 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2878 %attr(755,root,root) %{php_extensiondir}/interbase.so
2882 %defattr(644,root,root,755)
2883 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
2884 %attr(755,root,root) %{php_extensiondir}/intl.so
2887 %defattr(644,root,root,755)
2888 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
2889 %attr(755,root,root) %{php_extensiondir}/json.so
2893 %defattr(644,root,root,755)
2894 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2895 %attr(755,root,root) %{php_extensiondir}/ldap.so
2899 %defattr(644,root,root,755)
2900 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2901 %attr(755,root,root) %{php_extensiondir}/mbstring.so
2904 %defattr(644,root,root,755)
2905 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2906 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
2910 %defattr(644,root,root,755)
2911 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2912 %attr(755,root,root) %{php_extensiondir}/mssql.so
2916 %defattr(644,root,root,755)
2917 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2918 %attr(755,root,root) %{php_extensiondir}/mysql.so
2922 %defattr(644,root,root,755)
2923 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2924 %attr(755,root,root) %{php_extensiondir}/mysqli.so
2929 %defattr(644,root,root,755)
2930 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
2931 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
2936 %defattr(644,root,root,755)
2937 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2938 %attr(755,root,root) %{php_extensiondir}/oci8.so
2943 %defattr(644,root,root,755)
2944 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2945 %attr(755,root,root) %{php_extensiondir}/odbc.so
2950 %defattr(644,root,root,755)
2951 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2952 %attr(755,root,root) %{php_extensiondir}/openssl.so
2956 %defattr(644,root,root,755)
2957 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
2958 %attr(755,root,root) %{php_extensiondir}/pcntl.so
2962 %defattr(644,root,root,755)
2963 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
2964 %attr(755,root,root) %{php_extensiondir}/pcre.so
2968 %defattr(644,root,root,755)
2969 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2970 %attr(755,root,root) %{php_extensiondir}/pdo.so
2972 %if %{with mssql} || %{with sybase_ct}
2974 %defattr(644,root,root,755)
2975 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2976 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
2979 %if %{with interbase} && !%{with interbase_inst}
2981 %defattr(644,root,root,755)
2982 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2983 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
2987 %defattr(644,root,root,755)
2988 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2989 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
2993 %defattr(644,root,root,755)
2994 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2995 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3000 %defattr(644,root,root,755)
3001 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3002 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3007 %defattr(644,root,root,755)
3008 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3009 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3012 %if %{with pdo_sqlite}
3014 %defattr(644,root,root,755)
3015 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3016 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3021 %defattr(644,root,root,755)
3022 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3023 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3028 %defattr(644,root,root,755)
3029 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
3030 %attr(755,root,root) %{php_extensiondir}/phar.so
3031 %attr(755,root,root) %{_bindir}/phar
3032 %attr(755,root,root) %{_bindir}/phar.phar
3036 %defattr(644,root,root,755)
3037 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3038 %attr(755,root,root) %{php_extensiondir}/posix.so
3042 %defattr(644,root,root,755)
3043 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3044 %attr(755,root,root) %{php_extensiondir}/pspell.so
3048 %defattr(644,root,root,755)
3049 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3050 %attr(755,root,root) %{php_extensiondir}/readline.so
3054 %defattr(644,root,root,755)
3055 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3056 %attr(755,root,root) %{php_extensiondir}/recode.so
3060 %defattr(644,root,root,755)
3061 %doc ext/session/mod_files.sh
3062 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3063 %attr(755,root,root) %{php_extensiondir}/session.so
3066 %defattr(644,root,root,755)
3067 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3068 %attr(755,root,root) %{php_extensiondir}/shmop.so
3071 %defattr(644,root,root,755)
3072 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3073 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3077 %defattr(644,root,root,755)
3078 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3079 %attr(755,root,root) %{php_extensiondir}/snmp.so
3083 %defattr(644,root,root,755)
3084 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3085 %attr(755,root,root) %{php_extensiondir}/soap.so
3088 %defattr(644,root,root,755)
3089 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3090 %attr(755,root,root) %{php_extensiondir}/sockets.so
3093 %defattr(644,root,root,755)
3094 %doc ext/spl/{CREDITS,README,TODO,examples}
3095 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3096 %attr(755,root,root) %{php_extensiondir}/spl.so
3100 %defattr(644,root,root,755)
3101 %doc ext/sqlite/{README,TODO,CREDITS}
3102 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
3103 %attr(755,root,root) %{php_extensiondir}/sqlite.so
3108 %defattr(644,root,root,755)
3109 %doc ext/sqlite3/CREDITS
3110 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3111 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3114 %if %{with sybase_ct}
3116 %defattr(644,root,root,755)
3117 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3118 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
3122 %defattr(644,root,root,755)
3123 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3124 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3127 %defattr(644,root,root,755)
3128 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3129 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3132 %defattr(644,root,root,755)
3133 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3134 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3137 %defattr(644,root,root,755)
3138 %dir %{php_data_dir}/tests/php
3139 %{php_data_dir}/tests/php/basic
3140 %{php_data_dir}/tests/php/classes
3141 %{php_data_dir}/tests/php/func
3142 %{php_data_dir}/tests/php/lang
3143 %{php_data_dir}/tests/php/output
3144 %{php_data_dir}/tests/php/run-test
3145 %{php_data_dir}/tests/php/security
3146 %{php_data_dir}/tests/php/strings
3147 %{php_data_dir}/tests/php/quicktester.inc
3148 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3152 %defattr(644,root,root,755)
3153 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3154 %attr(755,root,root) %{php_extensiondir}/tidy.so
3158 %defattr(644,root,root,755)
3159 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3160 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3164 %defattr(644,root,root,755)
3165 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3166 %attr(755,root,root) %{php_extensiondir}/wddx.so
3170 %defattr(644,root,root,755)
3171 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3172 %attr(755,root,root) %{php_extensiondir}/xml.so
3175 %defattr(644,root,root,755)
3176 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3177 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3181 %defattr(644,root,root,755)
3182 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3183 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3187 %defattr(644,root,root,755)
3188 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3189 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3192 %defattr(644,root,root,755)
3193 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3194 %attr(755,root,root) %{php_extensiondir}/xsl.so
3197 %defattr(644,root,root,755)
3198 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3199 %attr(755,root,root) %{php_extensiondir}/zip.so
3202 %defattr(644,root,root,755)
3203 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3204 %attr(755,root,root) %{php_extensiondir}/zlib.so