3 # +Patch11: %{name}-acam.patch
4 # +Patch13: %{name}-tsrmlsfetchgcc2.patch
5 # +Patch16: %{name}-sybase-fix.patch
6 # +Patch26: %{name}-pear.patch
7 # +Patch28: %{name}-bug-42952.patch
8 # +Patch30: %{name}-apr-apu.patch
9 # +Patch31: %{name}-fcgi-error_log-no-newlines.patch
10 # +Patch32: %{name}-curl-limit-speed.patch
11 # +Patch33: %{name}-mime_magic.patch
12 # +Patch34: %{name}-libtool.patch
13 # +Patch36: %{name}-mysql-charsetphpini.patch
14 # +Patch37: %{name}-mysqli-charsetphpini.patch
15 # +Patch38: %{name}-pdo_mysql-charsetphpini.patch
16 # +Patch44: %{name}-include_path.patch
17 # +Patch45: %{name}-imap-annotations.patch
18 # +Patch46: %{name}-imap-myrights.patch
19 # - php CLI has safe mode enabled off the box
20 # - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere
21 # - removed from php 5.0 (currently in php4):
22 # db, hyperwave, java, mcal, overload, qtdom
23 # - removed from php 5.1:
25 # - removed from php 5.2:
27 # - removed from php 5.3:
28 # dbase, mime_magic, ming, ncurses, sybase
29 # - make additional headers and checking added by mail patch configurable
30 # - modularize standard (output from pure php -m)?
31 # - lib64 patch obsolete by $PHP_LIBDIR ?
32 # - move mysqlnd out of libphp-common.so, or link again with mysql-devel?
33 # - WARNING: Phar: sha256/sha512 signature support disabled if ext/hash is
34 # built shared, also PHAR_HAVE_OPENSSL is false if openssl is built shared.
35 # make it runtime dep and add Suggests (or php warning messages)
36 # - some mods should be shared:
47 %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary lib)
48 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
49 %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
50 %bcond_with system_gd # with system gd (we prefer internal since it enables few more features)
51 %bcond_without curl # without CURL extension module
52 %bcond_without filter # without filter extension module
53 %bcond_without imap # without IMAP extension module
54 %bcond_without interbase # without InterBase extension module
55 %bcond_without ldap # without LDAP extension module
56 %bcond_without mm # without mm support for session storage
57 %bcond_without mssql # without MS SQL extension module
58 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
59 %bcond_without odbc # without ODBC extension module
60 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
61 %bcond_without pcre # without PCRE extension module
62 %bcond_without pgsql # without PostgreSQL extension module
63 %bcond_without phar # without phar extension module
64 %bcond_without pspell # without pspell extension module
65 %bcond_without recode # without recode extension module
66 %bcond_without snmp # without SNMP extension module
67 %bcond_without sqlite # without SQLite extension module
68 %bcond_without sqlite3 # without SQLite3 extension module
69 %bcond_without sybase_ct # without Sybase-CT extension module
70 %bcond_without tidy # without Tidy extension module
71 %bcond_without wddx # without WDDX extension module
72 %bcond_without xmlrpc # without XML-RPC extension module
73 %bcond_without apache1 # disable building apache 1.3.x module
74 %bcond_without apache2 # disable building apache 2.x module
75 %bcond_without zts # disable Zend Thread Safety
76 %bcond_without fpm # fpm patches from http://www.php-fpm.org/
77 %bcond_without suhosin # with suhosin patch
78 %bcond_with tests # default off; test process very often hangs on builders; perform "make test"
79 %bcond_with type_hints # experimental support for strict typing/casting
81 %define apxs1 /usr/sbin/apxs1
82 %define apxs2 /usr/sbin/apxs
84 # some problems with apache 2.x
89 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha
90 # ppc disabled (broken on th-ppc)
91 %undefine with_interbase
94 %ifnarch %{ix86} %{x8664}
95 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
99 %if %{without apache1} && %{without apache2}
100 ERROR: You need to select at least one Apache SAPI to build shared modules.
103 # filter depends on pcre
105 %undefine with_filter
109 Summary: PHP: Hypertext Preprocessor
110 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
111 Summary(pl.UTF-8): Język skryptowy PHP
112 Summary(pt_BR.UTF-8): A linguagem de script PHP
113 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
114 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
117 Release: %{rel}%{?with_type_hints:th}
121 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
122 # Source0-md5: 63e97ad450f0f7259e785100b634c797
123 Source2: %{name}-mod_%{name}.conf
124 Source3: %{name}-cgi-fcgi.ini
125 Source4: %{name}-apache.ini
126 Source5: %{name}-cli.ini
127 # Taken from: http://browsers.garykeith.com/downloads.asp
128 Source9: %{name}_browscap.ini
129 Source10: %{name}-fpm.init
130 Source11: %{name}-fpm.logrotate
131 Patch0: %{name}-shared.patch
132 Patch1: %{name}-pldlogo.patch
133 Patch2: %{name}-mail.patch
134 Patch3: %{name}-link-libs.patch
135 Patch4: %{name}-libpq_fs_h_path.patch
136 Patch5: %{name}-filter-shared.patch
137 Patch6: %{name}-build_modules.patch
138 Patch7: %{name}-sapi-ini-file.patch
139 Patch8: %{name}-config-file-scan-dir.patch
140 Patch9: %{name}-sh.patch
141 Patch10: %{name}-ini.patch
142 # untill 5.3.2 when this gets released
143 Patch11: %{name}-bug-50458.patch
144 %if %{with type_hints}
145 Patch12: http://ilia.ws/patch/type_hint_53_v2.txt
147 Patch14: %{name}-no_pear_install.patch
148 Patch15: %{name}-zlib.patch
149 Patch17: %{name}-readline.patch
150 Patch18: %{name}-nohttpd.patch
151 Patch19: %{name}-gd_imagerotate_enable.patch
152 Patch20: %{name}-uint32_t.patch
153 Patch21: %{name}-dba-link.patch
154 Patch22: %{name}-both-apxs.patch
155 Patch23: %{name}-builddir.patch
156 Patch24: %{name}-zlib-for-getimagesize.patch
157 Patch25: %{name}-stupidapache_version.patch
158 Patch27: %{name}-config-dir.patch
159 Patch29: %{name}-fcgi-graceful.patch
160 Patch35: %{name}-tds.patch
161 Patch39: %{name}-use-prog_sendmail.patch
162 Patch40: %{name}-fpm.patch
163 Patch41: %{name}-fpm-config.patch
164 Patch42: %{name}-fpm-shared.patch
165 Patch43: %{name}-silent-session-cleanup.patch
166 Patch47: suhosin.patch
167 Patch49: %{name}-m4-divert.patch
168 Patch50: extension-shared-optional-dep.patch
169 Patch51: spl-shared.patch
170 Patch52: pcre-shared.patch
171 URL: http://www.php.net/
172 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
173 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
174 BuildRequires: autoconf >= 2.53
175 BuildRequires: automake >= 1.4d
177 BuildRequires: bzip2-devel
178 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
179 BuildRequires: cyrus-sasl-devel
180 BuildRequires: db-devel >= 4.0
181 BuildRequires: elfutils-devel
182 BuildRequires: fcgi-devel
183 %{?with_fdf:BuildRequires: fdftk-devel}
185 BuildRequires: pkgconfig
186 %if %{with mssql} || %{with sybase_ct}
187 BuildRequires: freetds-devel >= 0.82
189 BuildRequires: freetype-devel >= 2.0
190 %if %{with system_gd}
191 BuildRequires: gd-devel >= 2.0.28-4
192 BuildRequires: gd-devel(imagerotate) = 5.2.0
194 BuildRequires: gdbm-devel
195 BuildRequires: gmp-devel
196 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
197 BuildRequires: libicu-devel
198 BuildRequires: libjpeg-devel
199 BuildRequires: libltdl-devel >= 1.4
200 BuildRequires: libmcrypt-devel >= 2.4.4
201 BuildRequires: libpng-devel >= 1.0.8
202 BuildRequires: libtiff-devel
203 %if "%{pld_release}" != "ac"
204 BuildRequires: libtool >= 2:2.2
206 BuildRequires: libtool >= 1.4.3
208 BuildRequires: libwrap-devel
209 BuildRequires: libxml2-devel >= 2.5.10
210 BuildRequires: libxslt-devel >= 1.1.0
211 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
212 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
213 %if %{with openssl} || %{with ldap}
214 BuildRequires: openssl-devel >= 0.9.7d
216 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
217 BuildRequires: pam-devel
218 %{?with_pcre:BuildRequires: pcre-devel >= 6.6}
219 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
220 %{?with_pgsql:BuildRequires: postgresql-devel}
221 BuildRequires: readline-devel
222 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
223 BuildRequires: rpm >= 4.4.9-56
224 BuildRequires: rpm-build >= 4.4.0
225 BuildRequires: rpmbuild(macros) >= 1.519
226 %{?with_sqlite:BuildRequires: sqlite-devel}
227 %{?with_sqlite3:BuildRequires: sqlite3-devel >= 3.3.9}
228 BuildRequires: t1lib-devel
229 %{?with_tidy:BuildRequires: tidy-devel}
230 %{?with_odbc:BuildRequires: unixODBC-devel}
231 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
232 BuildRequires: zlib-devel >= 1.0.9
234 BuildRequires: apache1-devel
237 BuildRequires: apache-devel >= 2.0.52-2
238 BuildRequires: apr-devel >= 1:1.0.0
239 BuildRequires: apr-util-devel >= 1:1.0.0
242 BuildRequires: judy-devel
243 BuildRequires: libevent-devel >= 1.4.7-3
245 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
247 %define php_sysconfdir /etc/php
248 %define php_extensiondir %{_libdir}/php
249 %define _sysconfdir %{php_sysconfdir}
251 # must be in sync with source. extra check ensuring that it is so is done in %%build
252 %define php_api_version 20090626
253 %define zend_module_api 20090626
254 %define zend_extension_api 220090626
256 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
257 %define php_debug %{!?debug:0}%{?debug:1}
260 # ORACLE_HOME is required for oci8 ext to build
261 %define _preserve_env %_preserve_env_base ORACLE_HOME
265 PHP is an HTML-embedded scripting language. PHP attempts to make it
266 easy for developers to write dynamically generated web pages. PHP also
267 offers built-in database integration for several commercial and
268 non-commercial database management systems, so writing a
269 database-enabled web page with PHP is fairly simple. The most common
270 use of PHP coding is probably as a replacement for CGI scripts. The
271 mod_php module enables the Apache web server to understand and process
272 the embedded PHP language in web pages. This package contains php
275 %description -l fr.UTF-8
276 PHP est un langage de script embarque dans le HTM. PHP essaye de
277 rendre simple aux developpeurs d'ecrire des pages web generees
278 dynamiquement. PHP incorpore egalement une integration avec plusieurs
279 systemes de gestion de bases de donnees commerciaux et
280 non-connerciaux, qui rent facile la creation de pages web liees avec
281 des bases de donnees. L'utilisation la plus commune de PHP est
282 probablement en remplacement de scripts CGI. Le module mod_php permet
283 au serveur web apache de comprendre et de traiter le langage PHP
284 integre dans des pages web. Ce package contient php version
287 %description -l pl.UTF-8
288 PHP jest językiem skryptowym, którego polecenia umieszcza się w
289 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
290 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
291 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
292 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
293 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
294 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
295 język PHP osadzony w stronach. Ten pakiet zawiera php w wersji
298 %description -l pt_BR.UTF-8
299 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
300 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
301 com algumas características únicas, específicas ao PHP. O objetivo da
302 linguagem é permitir que desenvolvedores web escrevam páginas
303 dinamicamente geradas de forma rápida.
305 %description -l ru.UTF-8
306 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
307 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
308 для работы с базами данных относительно просто. Наиболее популярное
309 использование PHP - замена для CGI скриптов.
311 %description -l uk.UTF-8
312 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
313 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
314 роботи з базами даних є доволі простим. Найбільш популярне
315 використання PHP - заміна для CGI скриптів.
317 %package -n apache1-mod_php
318 Summary: PHP DSO module for apache 1.3.x
319 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php dla apache 1.3.x
320 Group: Development/Languages/PHP
321 Requires(triggerpostun): sed >= 4.0
322 Requires: %{name}-common = %{epoch}:%{version}-%{release}
323 Requires: apache1(EAPI) >= 1.3.33-2
324 Requires: apache1-mod_mime
325 Provides: webserver(php) = %{version}
326 Obsoletes: apache-mod_php < 1:4.1.1
329 %description -n apache1-mod_php
330 PHP as DSO module for apache 1.3.x.
332 %description -n apache1-mod_php -l pl.UTF-8
333 php jako moduł DSO (Dynamic Shared Object) dla apache 1.3.x.
335 %package -n apache-mod_php
336 Summary: PHP DSO module for apache 2.x
337 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php dla apache 2.x
338 Group: Development/Languages/PHP
339 Requires: %{name}-common = %{epoch}:%{version}-%{release}
340 Requires: apache(modules-api) = %{apache_modules_api}
341 Requires: apache-mod_mime
342 Provides: webserver(php) = %{version}
345 %description -n apache-mod_php
346 PHP as DSO module for apache 2.x.
348 %description -n apache-mod_php -l pl.UTF-8
349 php jako moduł DSO (Dynamic Shared Object) dla apache 2.x.
352 Summary: PHP as CGI/FastCGI program
353 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
354 Group: Development/Languages/PHP
355 Requires: %{name}-common = %{epoch}:%{version}-%{release}
356 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
359 Provides: webserver(php)
360 Obsoletes: php-fcgi < 4:5.3.0
363 PHP as CGI or FastCGI program.
365 %description cgi -l pl.UTF-8
366 PHP jako program CGI lub FastCGI.
369 Summary: PHP as CLI interpreter
370 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
371 Group: Development/Languages/PHP
372 Requires: %{name}-common = %{epoch}:%{version}-%{release}
375 PHP as CLI interpreter.
377 %description cli -l pl.UTF-8
378 PHP jako interpreter działający z linii poleceń.
381 Summary: /usr/bin/php symlink
382 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
383 Group: Development/Languages/PHP
384 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
385 Obsoletes: /usr/bin/php
388 Package providing /usr/bin/php symlink to PHP CLI.
390 %description program -l pl.UTF-8
391 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
394 Summary: PHP FastCGI Process Manager
395 Group: Development/Languages/PHP
396 URL: http://www.php-fpm.org/
397 Requires(post,preun): /sbin/chkconfig
398 Requires: %{name}-common = %{epoch}:%{version}-%{release}
399 Requires: libevent >= 1.4.7-3
401 Provides: webserver(php) = %{version}
404 PHP FastCGI Process Manager.
407 Summary: Common files needed by both Apache modules and CGI/CLI SAPI-s
408 Summary(pl.UTF-8): Wspólne pliki dla modułu apache'a i programu CGI
409 Summary(ru.UTF-8): Разделяемые библиотеки для php
410 Summary(uk.UTF-8): Бібліотеки спільного використання для php
412 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
413 Requires: glibc >= 6:2.3.5
417 Provides: php(libxml)
418 Provides: php(modules_api) = %{php_api_version}
419 Provides: php(overload)
420 Provides: php(reflection)
421 Provides: php(standard)
422 Provides: php(zend_extension_api) = %{zend_extension_api}
423 Provides: php(zend_module_api) = %{zend_module_api}
424 Provides: php5(debug) = %{php_debug}
425 Provides: php5(thread-safety) = %{zend_zts}
426 Obsoletes: php-pecl-domxml
427 Conflicts: php4-common < 3:4.4.4-8
428 Conflicts: rpm < 4.4.2-0.2
431 Common files needed by both Apache modules and CGI/CLI SAPI-s.
433 %description common -l pl.UTF-8
434 Wspólne pliki dla modułu apacha i programu CGI.
436 %description common -l ru.UTF-8
437 Этот пакет содержит общие файлы для разных вариантов реализации PHP
438 (самодостаточной и в качестве модуля apache).
440 %description common -l uk.UTF-8
441 Цей пакет містить спільні файли для різних варіантів реалізації PHP
442 (самодостатньої та в якості модуля apache).
445 Summary: Files for PHP modules development
446 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
447 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
448 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
449 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
450 Group: Development/Languages/PHP
451 Requires: %{name}-common = %{epoch}:%{version}-%{release}
454 %if "%{pld_release}" != "ac"
455 Requires: libtool >= 2:2.2
459 %{?with_pcre:Requires: pcre-devel >= 6.6}
461 Obsoletes: php-pear-devel
462 Obsoletes: php4-devel
465 The php-devel package lets you compile dynamic extensions to PHP.
466 Included here is the source for the PHP extensions. Instead of
467 recompiling the whole php binary to add support for, say, oracle,
468 install this package and use the new self-contained extensions
469 support. For more information, read the file
470 README.SELF-CONTAINED-EXTENSIONS.
472 %description devel -l pl.UTF-8
473 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
474 rekompilować całe php aby dodać obsługę np. oracle, można przy użyciu
475 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
476 samodzielnych rozszerzeniach można znaleźć w pliku
477 README.SELF-CONTAINED-EXTENSIONS.
479 %description devel -l pt_BR.UTF-8
480 Este pacote contém arquivos usados no desenvolvimento de programas ou
483 %description devel -l ru.UTF-8
484 Пакет php-devel дает возможность компилировать динамические расширения
485 PHP. Пакет включает исходный код этих расширений. Вместо повторной
486 компиляции бинарного файла php для добавления, например, поддержки
487 oracle, установите этот пакет для компилирования отдельных расширений.
488 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
490 %description devel -l uk.UTF-8
491 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
492 До пакету включено вихідний код для розширень. Замість повторної
493 компіляції бінарного файлу php для додання, наприклад, підтримки
494 oracle, встановіть цей пакет для компіляції окремих розширень.
495 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
498 Summary: bcmath extension module for PHP
499 Summary(pl.UTF-8): Moduł bcmath dla PHP
501 URL: http://www.php.net/manual/en/book.bc.php
502 Requires: %{name}-common = %{epoch}:%{version}-%{release}
503 Provides: php(bcmath)
506 This is a dynamic shared object (DSO) for PHP that will add bc style
507 precision math functions support.
509 %description bcmath -l pl.UTF-8
510 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
511 matematycznych takich jak w programie bc.
514 Summary: Bzip2 extension module for PHP
515 Summary(pl.UTF-8): Moduł bzip2 dla PHP
517 URL: http://www.php.net/manual/en/book.bzip2.php
518 Requires: %{name}-common = %{epoch}:%{version}-%{release}
522 This is a dynamic shared object (DSO) for PHP that will add bzip2
523 compression support to PHP.
525 %description bzip2 -l pl.UTF-8
526 Moduł PHP umożliwiający używanie kompresji bzip2.
529 Summary: Calendar extension module for PHP
530 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
532 URL: http://www.php.net/manual/en/book.calendar.php
533 Requires: %{name}-common = %{epoch}:%{version}-%{release}
534 Provides: php(calendar)
536 %description calendar
537 This is a dynamic shared object (DSO) for PHP that will add calendar
540 %description calendar -l pl.UTF-8
541 Moduł PHP dodający wsparcie dla kalendarza.
544 Summary: ctype extension module for PHP
545 Summary(pl.UTF-8): Moduł ctype dla PHP
547 URL: http://www.php.net/manual/en/book.ctype.php
548 Requires: %{name}-common = %{epoch}:%{version}-%{release}
552 This is a dynamic shared object (DSO) for PHP that will add ctype
555 %description ctype -l pl.UTF-8
556 Moduł PHP umożliwiający korzystanie z funkcji ctype.
559 Summary: curl extension module for PHP
560 Summary(pl.UTF-8): Moduł curl dla PHP
562 URL: http://www.php.net/manual/en/book.curl.php
563 Requires: %{name}-common = %{epoch}:%{version}-%{release}
567 This is a dynamic shared object (DSO) for PHP that will add curl
570 %description curl -l pl.UTF-8
571 Moduł PHP umożliwiający korzystanie z biblioteki curl.
574 Summary: DBA extension module for PHP
575 Summary(pl.UTF-8): Moduł DBA dla PHP
577 URL: http://www.php.net/manual/en/book.dba.php
578 Requires: %{name}-common = %{epoch}:%{version}-%{release}
582 This is a dynamic shared object (DSO) for PHP that will add flat-file
583 databases (DBA) support.
585 %description dba -l pl.UTF-8
586 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
590 Summary: DOM extension module for PHP
591 Summary(pl.UTF-8): Moduł DOM dla PHP
593 URL: http://www.php.net/manual/en/book.dom.php
594 Requires: %{name}-common = %{epoch}:%{version}-%{release}
596 # it has some compatibility functions
597 Provides: php(domxml)
598 Obsoletes: php-domxml <= 3:4.3.8-1
601 This is a dynamic shared object (DSO) for PHP that will add new DOM
604 %description dom -l pl.UTF-8
605 Moduł PHP dodający nową obsługę DOM.
608 Summary: exif extension module for PHP
609 Summary(pl.UTF-8): Moduł exif dla PHP
611 URL: http://www.php.net/manual/en/book.exif.php
612 Requires: %{name}-common = %{epoch}:%{version}-%{release}
616 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
617 support in image files.
619 %description exif -l pl.UTF-8
620 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
623 Summary: FDF extension module for PHP
624 Summary(pl.UTF-8): Moduł FDF dla PHP
626 URL: http://www.php.net/manual/en/book.fdf.php
627 Requires: %{name}-common = %{epoch}:%{version}-%{release}
631 This PHP module adds support for PDF Forms through Adobe FDFTK
634 %description fdf -l pl.UTF-8
635 Moduł PHP dodający obsługę formularzy PDF poprzez bibliotekę Adobe
639 Summary: libmagic bindings
641 URL: http://www.php.net/manual/en/book.fileinfo.php
642 Requires: %{name}-common = %{epoch}:%{version}-%{release}
643 Provides: php(fileinfo)
644 Obsoletes: php-pecl-fileinfo
646 %description fileinfo
647 This extension allows retrieval of information regarding vast majority
648 of file. This information may include dimensions, quality, length
651 Additionally it can also be used to retrieve the MIME type for a
652 particular file and for text files proper language encoding.
655 Summary: Extension for safely dealing with input parameters
656 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
658 URL: http://www.php.net/manual/en/book.filter.php
659 Requires: %{name}-common = %{epoch}:%{version}-%{release}
660 Provides: php(filter)
661 Obsoletes: php-pecl-filter
664 We all know that you should always check input variables, but PHP does
665 not offer really good functionality for doing this in a safe way. The
666 Input Filter extension is meant to address this issue by implementing
667 a set of filters and mechanisms that users can use to safely access
670 %description filter -l pl.UTF-8
671 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
672 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
673 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
674 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
675 mogą bezpiecznie używać do dostępu do danych.
678 Summary: FTP extension module for PHP
679 Summary(pl.UTF-8): Moduł FTP dla PHP
681 URL: http://www.php.net/manual/en/book.ftp.php
682 Requires: %{name}-common = %{epoch}:%{version}-%{release}
686 This is a dynamic shared object (DSO) for PHP that will add FTP
689 %description ftp -l pl.UTF-8
690 Moduł PHP dodający obsługę protokołu FTP.
693 Summary: GD extension module for PHP
694 Summary(pl.UTF-8): Moduł GD dla PHP
696 URL: http://www.php.net/manual/en/book.image.php
697 Requires: %{name}-common = %{epoch}:%{version}-%{release}
698 %if %{with system_gd}
699 Requires: gd >= 2.0.28-4
701 Requires: gd(imagerotate) = 5.2.0
706 This is a dynamic shared object (DSO) for PHP that will add GD
707 support, allowing you to create and manipulate images with PHP.
709 %description gd -l pl.UTF-8
710 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
711 tworzenie i obróbkę obrazków.
714 Summary: gettext extension module for PHP
715 Summary(pl.UTF-8): Moduł gettext dla PHP
717 URL: http://www.php.net/manual/en/book.gettext.php
718 Requires: %{name}-common = %{epoch}:%{version}-%{release}
719 Provides: php(gettext)
722 This is a dynamic shared object (DSO) for PHP that will add gettext
725 %description gettext -l pl.UTF-8
726 Moduł PHP dodający obsługę lokalizacji przez gettext.
729 Summary: gmp extension module for PHP
730 Summary(pl.UTF-8): Moduł gmp dla PHP
732 URL: http://www.php.net/manual/en/book.gmp.php
733 Requires: %{name}-common = %{epoch}:%{version}-%{release}
737 This is a dynamic shared object (DSO) for PHP that will add arbitrary
738 length number support with GNU MP library.
740 %description gmp -l pl.UTF-8
741 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
742 liczbach o dowolnej długości.
745 Summary: HASH Message Digest Framework
746 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
748 URL: http://www.php.net/manual/en/book.gmp.php
749 Requires: %{name}-common = %{epoch}:%{version}-%{release}
753 Obsoletes: php-pecl-hash
756 Native implementations of common message digest algorithms using a
757 generic factory method.
759 %description hash -l pl.UTF-8
760 Natywne implementacje popularnych algorytmów obliczania skrótów
761 wiadomości przy użyciu wspólnego interfejsu.
764 Summary: iconv extension module for PHP
765 Summary(pl.UTF-8): Moduł iconv dla PHP
767 URL: http://www.php.net/manual/en/book.iconv.php
768 Requires: %{_libdir}/gconv
769 Requires: %{name}-common = %{epoch}:%{version}-%{release}
774 This is a dynamic shared object (DSO) for PHP that will add iconv
777 %description iconv -l pl.UTF-8
778 Moduł PHP dodający obsługę iconv.
781 Summary: IMAP extension module for PHP
782 Summary(pl.UTF-8): Moduł IMAP dla PHP
783 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
785 URL: http://www.php.net/manual/en/book.imap.php
786 Requires: %{name}-common = %{epoch}:%{version}-%{release}
790 This is a dynamic shared object (DSO) for PHP that will add IMAP
793 %description imap -l pl.UTF-8
794 Moduł PHP dodający obsługę skrzynek IMAP.
796 %description imap -l pt_BR.UTF-8
797 Um módulo para aplicações PHP que usam IMAP.
800 Summary: InterBase/Firebird database module for PHP
801 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
803 URL: http://www.php.net/manual/en/book.ibase.php
804 Requires: %{name}-common = %{epoch}:%{version}-%{release}
805 Provides: php(interbase)
806 %{?with_interbase_inst:Autoreq: false}
808 %description interbase
809 This is a dynamic shared object (DSO) for PHP that will add InterBase
810 and Firebird database support.
812 %description interbase -l pl.UTF-8
813 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
816 Summary: Internationalization extension (ICU wrapper)
817 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (wrapper ICU)
819 URL: http://www.php.net/intl
820 Requires: %{name}-common = %{epoch}:%{version}-%{release}
824 Internationalization extension (further is referred as Intl) is a
825 wrapper for ICU library, enabling PHP programmers to perform
826 UCA-conformant collation and date/time/number/currency formatting in
829 %description intl -l pl.UTF-8
830 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
831 wrapperem biblioteki ICU, pozwalającym programistom PHP na wykonywanie
832 w skryptach porównań zdgodnych z UCA oraz formatowań daty/czasu/walut.
835 Summary: PHP C extension for JSON serialization
836 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
838 URL: http://www.php.net/manual/en/book.json.php
839 Requires: %{name}-common = %{epoch}:%{version}-%{release}
841 Obsoletes: php-pecl-json
844 php-json is an extremely fast PHP C extension for JSON (JavaScript
845 Object Notation) serialisation.
847 %description json -l pl.UTF-8
848 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
849 (JavaScript Object Notation).
852 Summary: LDAP extension module for PHP
853 Summary(pl.UTF-8): Moduł LDAP dla PHP
854 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
856 URL: http://www.php.net/manual/en/book.ldap.php
857 Requires: %{name}-common = %{epoch}:%{version}-%{release}
861 This is a dynamic shared object (DSO) for PHP that will add LDAP
864 %description ldap -l pl.UTF-8
865 Moduł PHP dodający obsługę LDAP.
867 %description ldap -l pt_BR.UTF-8
868 Um módulo para aplicações PHP que usam LDAP.
871 Summary: mbstring extension module for PHP
872 Summary(pl.UTF-8): Moduł mbstring dla PHP
874 URL: http://www.php.net/manual/en/book.mbstring.php
875 Requires: %{name}-common = %{epoch}:%{version}-%{release}
876 Provides: php(mbstring)
878 %description mbstring
879 This is a dynamic shared object (DSO) for PHP that will add multibyte
882 %description mbstring -l pl.UTF-8
883 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
886 Summary: mcrypt extension module for PHP
887 Summary(pl.UTF-8): Moduł mcrypt dla PHP
889 URL: http://www.php.net/manual/en/book.mcrypt.php
890 Requires: %{name}-common = %{epoch}:%{version}-%{release}
891 Provides: php(mcrypt)
894 This is a dynamic shared object (DSO) for PHP that will add mcrypt
897 %description mcrypt -l pl.UTF-8
898 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
901 Summary: MS SQL extension module for PHP
902 Summary(pl.UTF-8): Moduł MS SQL dla PHP
904 URL: http://www.php.net/manual/en/book.mssql.php
905 Requires: %{name}-common = %{epoch}:%{version}-%{release}
909 This is a dynamic shared object (DSO) for PHP that will add MS SQL
910 databases support through FreeTDS library.
912 %description mssql -l pl.UTF-8
913 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
917 Summary: MySQL database module for PHP
918 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
919 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
921 URL: http://www.php.net/manual/en/book.mysql.php
922 Requires: %{name}-common = %{epoch}:%{version}-%{release}
926 This is a dynamic shared object (DSO) for PHP that will add MySQL
929 %description mysql -l pl.UTF-8
930 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
932 %description mysql -l pt_BR.UTF-8
933 Um módulo para aplicações PHP que usam bancos de dados MySQL.
936 Summary: MySQLi module for PHP
937 Summary(pl.UTF-8): Moduł MySQLi dla PHP
939 URL: http://www.php.net/manual/en/book.mysqli.php
940 Requires: %{name}-common = %{epoch}:%{version}-%{release}
941 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
942 Provides: php(mysqli)
945 This is a dynamic shared object (DSO) for PHP that will add MySQLi
946 (Improved MySQL) support. The difference between it and mysql module
947 is that it provides access to functionality of MySQL 4.1 and above.
949 %description mysqli -l pl.UTF-8
950 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
951 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
952 MySQL w wersji 4.1 i nowszych.
955 Summary: Oracle 8+ database module for PHP
956 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
958 URL: http://www.php.net/manual/en/book.oci8.php
959 Requires: %{name}-common = %{epoch}:%{version}-%{release}
964 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
965 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
967 %description oci8 -l pl.UTF-8
968 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
969 poprzez interfejs Oracle8 Call-Interface (OCI8).
972 Summary: ODBC extension module for PHP
973 Summary(pl.UTF-8): Moduł ODBC dla PHP
974 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
976 URL: http://www.php.net/manual/en/book.uodbc.php
977 Requires: %{name}-common = %{epoch}:%{version}-%{release}
978 Requires: unixODBC >= 2.1.1-3
982 This is a dynamic shared object (DSO) for PHP that will add ODBC
985 %description odbc -l pl.UTF-8
986 Moduł PHP ze wsparciem dla ODBC.
988 %description odbc -l pt_BR.UTF-8
989 Um módulo para aplicações PHP que usam ODBC.
992 Summary: OpenSSL extension module for PHP
993 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
995 URL: http://www.php.net/manual/en/book.openssl.php
996 Requires: %{name}-common = %{epoch}:%{version}-%{release}
997 Provides: php(openssl)
1000 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1003 %description openssl -l pl.UTF-8
1004 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1007 Summary: Process Control extension module for PHP
1008 Summary(pl.UTF-8): Moduł Process Control dla PHP
1010 URL: http://www.php.net/manual/en/book.pcntl.php
1011 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1012 Provides: php(pcntl)
1015 This is a dynamic shared object (DSO) for PHP that will add process
1016 spawning and control support. It supports functions like fork(),
1017 waitpid(), signal() etc.
1019 %description pcntl -l pl.UTF-8
1020 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1021 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1024 Summary: PCRE extension module for PHP
1025 Summary(pl.UTF-8): Moduł PCRE dla PHP
1027 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1031 This is a dynamic shared object (DSO) for PHP that will add Perl
1032 Compatible Regular Expression support.
1034 %description pcre -l pl.UTF-8
1035 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1036 (Perl Compatible Regular Expressions)
1039 Summary: PHP Data Objects (PDO)
1040 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1042 URL: http://www.php.net/manual/en/book.pdo.php
1043 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1044 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1046 Obsoletes: php-pecl-PDO
1049 This is a dynamic shared object (DSO) for PHP that will add PDO
1052 %description pdo -l pl.UTF-8
1053 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1056 Summary: PHP Data Objects (PDO) FreeTDS support
1057 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1059 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1060 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1061 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1062 Provides: php(dblib)
1064 %description pdo-dblib
1065 This is a dynamic shared object (DSO) for PHP that will add PDO
1068 %description pdo-dblib -l pl.UTF-8
1069 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1072 %package pdo-firebird
1073 Summary: PHP Data Objects (PDO) Firebird support
1074 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1076 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1077 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1078 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1079 Provides: php(pdo-firebird)
1080 Obsoletes: php-pecl-PDO_FIREBIRD
1082 %description pdo-firebird
1083 This is a dynamic shared object (DSO) for PHP that will add PDO
1086 %description pdo-firebird -l pl.UTF-8
1087 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1091 Summary: PHP Data Objects (PDO) MySQL support
1092 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1094 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1095 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1096 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1097 Provides: php(pdo-mysql)
1098 Obsoletes: php-pecl-PDO_MYSQL
1100 %description pdo-mysql
1101 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1104 %description pdo-mysql -l pl.UTF-8
1105 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1109 Summary: PHP Data Objects (PDO) Oracle support
1110 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1112 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1113 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1114 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1115 Provides: php(pdo-oci)
1116 Obsoletes: php-pecl-PDO_OCI
1118 %description pdo-oci
1119 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1122 %description pdo-oci -l pl.UTF-8
1123 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1127 Summary: PHP Data Objects (PDO) ODBC support
1128 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1130 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1131 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1132 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1133 Provides: php(pdo-odbc)
1134 Obsoletes: php-pecl-PDO_ODBC
1136 %description pdo-odbc
1137 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1140 %description pdo-odbc -l pl.UTF-8
1141 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1145 Summary: PHP Data Objects (PDO) PostgreSQL support
1146 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1148 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1149 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1150 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1151 Provides: php(pdo-pgsql)
1152 Provides: php-pecl-PDO_PGSQL
1153 Obsoletes: php-pecl-PDO_PGSQL
1155 %description pdo-pgsql
1156 This is a dynamic shared object (DSO) for PHP that will add PDO
1159 %description pdo-pgsql -l pl.UTF-8
1160 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1164 Summary: PHP Data Objects (PDO) SQLite support
1165 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1167 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1168 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1169 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1170 Provides: php(pdo-sqlite)
1171 Obsoletes: php-pecl-PDO_SQLITE
1173 %description pdo-sqlite
1174 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1177 %description pdo-sqlite -l pl.UTF-8
1178 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1182 Summary: PostgreSQL database module for PHP
1183 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1185 URL: http://www.php.net/manual/en/book.pgsql.php
1186 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1187 Provides: php(pgsql)
1190 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1193 %description pgsql -l pl.UTF-8
1194 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1196 %description pgsql -l pt_BR.UTF-8
1197 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1200 Summary: phar database module for PHP
1201 Summary(pl.UTF-8): Moduł phar dla PHP
1203 URL: http://www.php.net/manual/en/book.phar.php
1204 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1205 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1209 This is a dynamic shared object (DSO) for PHP that will add phar
1212 %description phar -l pl.UTF-8
1213 Moduł PHP umożliwiający dostęp do achiwów .phar.
1216 Summary: POSIX extension module for PHP
1217 Summary(pl.UTF-8): Moduł POSIX dla PHP
1219 URL: http://www.php.net/manual/en/book.posix.php
1220 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1221 Provides: php(posix)
1224 This is a dynamic shared object (DSO) for PHP that will add POSIX
1225 functions support to PHP.
1227 %description posix -l pl.UTF-8
1228 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1231 Summary: pspell extension module for PHP
1232 Summary(pl.UTF-8): Moduł pspell dla PHP
1234 URL: http://www.php.net/manual/en/book.pspell.php
1235 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1236 Provides: php(pspell)
1239 This is a dynamic shared object (DSO) for PHP that will add pspell
1240 support to PHP. It allows to check the spelling of a word and offer
1243 %description pspell -l pl.UTF-8
1244 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1245 sprawdzanie pisowni słowa i sugerowanie poprawek.
1248 Summary: readline extension module for PHP
1249 Summary(pl.UTF-8): Moduł readline dla PHP
1251 URL: http://www.php.net/manual/en/book.readline.php
1252 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1253 Provides: php(readline)
1255 %description readline
1256 This PHP module adds support for readline functions (only for cli and
1259 %description readline -l pl.UTF-8
1260 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1263 Summary: recode extension module for PHP
1264 Summary(pl.UTF-8): Moduł recode dla PHP
1266 URL: http://www.php.net/manual/en/book.recode.php
1267 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1268 Requires: recode >= 3.5d-3
1269 Provides: php(recode)
1272 This is a dynamic shared object (DSO) for PHP that will add recode
1275 %description recode -l pl.UTF-8
1276 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1280 Summary: session extension module for PHP
1281 Summary(pl.UTF-8): Moduł session dla PHP
1283 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1284 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1285 Provides: php(session)
1287 %description session
1288 This is a dynamic shared object (DSO) for PHP that will add session
1291 %description session -l pl.UTF-8
1292 Moduł PHP dodający obsługę sesji.
1295 Summary: Shared Memory Operations extension module for PHP
1296 Summary(pl.UTF-8): Moduł shmop dla PHP
1298 URL: http://www.php.net/manual/en/book.shmop.php
1299 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1300 Provides: php(shmop)
1303 This is a dynamic shared object (DSO) for PHP that will add Shared
1304 Memory Operations support.
1306 %description shmop -l pl.UTF-8
1307 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1310 Summary: Simple XML extension module for PHP
1311 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1313 URL: http://www.php.net/manual/en/book.simplexml.php
1314 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1315 Provides: php(simplexml)
1317 %description simplexml
1318 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1321 %description simplexml -l pl.UTF-8
1322 Moduł PHP dodający obsługę prostego XML-a.
1325 Summary: SNMP extension module for PHP
1326 Summary(pl.UTF-8): Moduł SNMP dla PHP
1328 URL: http://www.php.net/manual/en/book.snmp.php
1329 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1330 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1334 This is a dynamic shared object (DSO) for PHP that will add SNMP
1337 %description snmp -l pl.UTF-8
1338 Moduł PHP dodający obsługę SNMP.
1341 Summary: soap extension module for PHP
1342 Summary(pl.UTF-8): Moduł soap dla PHP
1344 URL: http://www.php.net/manual/en/book.soap.php
1345 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1349 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1352 %description soap -l pl.UTF-8
1353 Moduł PHP dodający obsługę SOAP/WSDL.
1356 Summary: sockets extension module for PHP
1357 Summary(pl.UTF-8): Moduł socket dla PHP
1359 URL: http://www.php.net/manual/en/book.sockets.php
1360 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1361 Provides: php(sockets)
1363 %description sockets
1364 This is a dynamic shared object (DSO) for PHP that will add sockets
1367 %description sockets -l pl.UTF-8
1368 Moduł PHP dodający obsługę gniazdek.
1371 Summary: Standard PHP Library module for PHP
1372 Summary(pl.UTF-8): Moduł SPL dla PHP
1374 URL: http://php.net/manual/en/book.spl.php
1375 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1376 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1377 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1381 This is a dynamic shared object (DSO) for PHP that will add Standard
1382 PHP Library support.
1384 %description spl -l pl.UTF-8
1385 Moduł PHP dodający obsługę gniazdek.
1388 Summary: SQLite extension module for PHP
1389 Summary(pl.UTF-8): Moduł SQLite dla PHP
1391 URL: http://www.php.net/manual/en/book.sqlite.php
1392 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1393 Suggests: %{name}-pdo = %{epoch}:%{version}-%{release}
1394 Suggests: %{name}-spl = %{epoch}:%{version}-%{release}
1395 Provides: php(sqlite)
1398 SQLite is a C library that implements an embeddable SQL database
1399 engine. Programs that link with the SQLite library can have SQL
1400 database access without running a separate RDBMS process.
1402 SQLite is not a client library used to connect to a big database
1403 server. SQLite is the server. The SQLite library reads and writes
1404 directly to and from the database files on disk.
1406 %description sqlite -l pl.UTF-8
1407 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1408 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1409 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1412 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1413 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1414 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1418 Summary: SQLite3 extension module for PHP
1419 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1421 URL: http://php.net/manual/en/book.sqlite3.php
1422 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1423 Provides: php(sqlite3)
1425 %description sqlite3
1426 SQLite is a C library that implements an embeddable SQL database
1427 engine. Programs that link with the SQLite library can have SQL
1428 database access without running a separate RDBMS process.
1430 SQLite is not a client library used to connect to a big database
1431 server. SQLite is the server. The SQLite library reads and writes
1432 directly to and from the database files on disk.
1434 %description sqlite3 -l pl.UTF-8
1435 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1436 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1437 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1440 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1441 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1442 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1446 Summary: Sybase-CT extension module for PHP
1447 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1449 URL: http://www.php.net/manual/en/book.sybase.php
1450 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1451 Provides: php(sybase-ct)
1452 Obsoletes: php-sybase
1453 Conflicts: php-sybase
1455 %description sybase-ct
1456 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1457 MS SQL databases support through CT-lib.
1459 %description sybase-ct -l pl.UTF-8
1460 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1464 Summary: SysV msg extension module for PHP
1465 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1467 URL: http://www.php.net/manual/en/book.sem.php
1468 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1469 Provides: php(sysvmsg)
1471 %description sysvmsg
1472 This is a dynamic shared object (DSO) for PHP that will add SysV
1473 message queues support.
1475 %description sysvmsg -l pl.UTF-8
1476 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1479 Summary: SysV sem extension module for PHP
1480 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1482 URL: http://www.php.net/manual/en/book.sem.php
1483 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1484 Provides: php(sysvsem)
1486 %description sysvsem
1487 This is a dynamic shared object (DSO) for PHP that will add SysV
1490 %description sysvsem -l pl.UTF-8
1491 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1494 Summary: SysV shm extension module for PHP
1495 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1497 URL: http://www.php.net/manual/en/book.shmop.php
1498 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1499 Provides: php(sysvshm)
1501 %description sysvshm
1502 This is a dynamic shared object (DSO) for PHP that will add SysV
1503 Shared Memory support.
1505 %description sysvshm -l pl.UTF-8
1506 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1509 Summary: Contains unit test files for PHP and extensions
1510 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1512 URL: http://qa.php.net/
1513 Requires: %{name}-cli
1516 This package contains unit tests for PHP and it's extensions.
1518 %description tests -l pl.UTF-8
1519 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1522 Summary: Tidy extension module for PHP
1523 Summary(pl.UTF-8): Moduł Tidy dla PHP
1525 URL: http://www.php.net/manual/en/book.tidy.php
1526 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1531 This is a dynamic shared object (DSO) for PHP that will add Tidy
1534 %description tidy -l pl.UTF-8
1535 Moduł PHP umożliwiający korzystanie z tidy.
1538 Summary: tokenizer extension module for PHP
1539 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1541 URL: http://www.php.net/manual/en/book.tokenizer.php
1542 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1543 Provides: php(tokenizer)
1545 %description tokenizer
1546 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1549 %description tokenizer -l pl.UTF-8
1550 Moduł PHP dodający obsługę tokenizera do PHP.
1553 Summary: wddx extension module for PHP
1554 Summary(pl.UTF-8): Moduł wddx dla PHP
1556 URL: http://www.php.net/manual/en/book.wddx.php
1557 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1558 Requires: %{name}-session = %{epoch}:%{version}-%{release}
1559 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1563 This is a dynamic shared object (DSO) for PHP that will add wddx
1566 %description wddx -l pl.UTF-8
1567 Moduł PHP umożliwiający korzystanie z wddx.
1570 Summary: XML extension module for PHP
1571 Summary(pl.UTF-8): Moduł XML dla PHP
1573 URL: http://www.php.net/manual/en/book.xml.php
1574 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1578 This is a dynamic shared object (DSO) for PHP that will add XML
1579 support. This extension lets you create XML parsers and then define
1580 handlers for different XML events.
1582 %description xml -l pl.UTF-8
1583 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1584 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1585 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1588 Summary: XML Reader extension module for PHP
1589 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1591 URL: http://www.php.net/manual/en/book.xmlreader.php
1592 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1593 Suggests: %{name}-dom = %{epoch}:%{version}-%{release}
1594 Provides: php(xmlreader)
1596 %description xmlreader
1597 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1598 support. The XMLReader extension is an XML Pull parser. The reader
1599 acts as a cursor going forward on the document stream and stopping at
1600 each node on the way.
1602 %description xmlreader -l pl.UTF-8
1603 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1604 działa jako kursor przechodzący przez strumień dokumentu i
1605 zatrzymujący się na każdym węźle po drodze.
1608 Summary: xmlrpc extension module for PHP
1609 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1611 URL: http://www.php.net/manual/en/book.xmlrpc.php
1612 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1613 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1614 Provides: php(xmlrpc)
1617 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1620 %description xmlrpc -l pl.UTF-8
1621 Moduł PHP dodający obsługę XMLRPC.
1624 Summary: Fast, non-cached, forward-only means to write XML data
1625 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1627 URL: http://www.php.net/manual/en/book.xmlwriter.php
1628 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1629 Provides: php(xmlwriter)
1630 Obsoletes: php-pecl-xmlwriter
1632 %description xmlwriter
1633 This extension wraps the libxml xmlWriter API. Represents a writer
1634 that provides a non-cached, forward-only means of generating streams
1635 or files containing XML data.
1637 %description xmlwriter -l pl.UTF-8
1638 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1639 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1640 plików zawierających dane XML.
1643 Summary: xsl extension module for PHP
1644 Summary(pl.UTF-8): Moduł xsl dla PHP
1646 URL: http://www.php.net/manual/en/book.xsl.php
1647 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1648 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1649 Requires: libxslt >= 1.0.18
1650 # actually not true, functionality is similar, but API differs
1652 Obsoletes: php-xslt <= 3:4.3.8-1
1655 This is a dynamic shared object (DSO) for PHP that will add new XSL
1656 support (using libxslt).
1658 %description xsl -l pl.UTF-8
1659 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1662 Summary: Zip management extension
1663 Summary(pl.UTF-8): Zarządzanie archiwami zip
1665 URL: http://www.php.net/manual/en/book.zip.php
1666 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1668 Obsoletes: php-pecl-zip
1671 Zip is an extension to create, modify and read zip files.
1673 %description zip -l pl.UTF-8
1674 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1675 odczyt archiwów zip.
1678 Summary: Zlib extension module for PHP
1679 Summary(pl.UTF-8): Moduł zlib dla PHP
1681 URL: http://www.php.net/manual/en/book.zlib.php
1682 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1686 This is a dynamic shared object (DSO) for PHP that will add zlib
1687 compression support to PHP.
1689 %description zlib -l pl.UTF-8
1690 Moduł PHP umożliwiający używanie kompresji zlib.
1694 # prep for suhosin patch
1695 %{__sed} -i -e 's,\r$,,' Zend/Zend.dsp Zend/ZendTS.dsp
1706 cp php.ini-production php.ini
1708 %if %{with type_hints}
1715 %if %{with system_gd}
1744 # cleanup backups after patching
1745 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
1747 # conflict seems to be resolved by recode patches
1748 rm -f ext/recode/config9.m4
1750 # remove all bundled libraries not to link with them accidentally
1751 #rm -rf ext/sqlite/libsqlite
1752 rm -rf ext/sqlite3/libsqlite
1753 #rm -rf ext/bcmath/libbcmath
1754 #rm -rf ext/date/lib
1755 #rm -rf ext/dba/libcdb
1756 #rm -rf ext/dba/libflatfile
1757 #rm -rf ext/dba/libinifile
1758 #rm -rf ext/gd/libgd
1759 #rm -rf ext/mbstring/libmbfl
1760 #rm -rf ext/mbstring/oniguruma
1761 rm -rf ext/pcre/pcrelib
1762 rm -rf ext/pdo_sqlite/sqlite
1763 #rm -rf ext/soap/interop
1764 rm -rf ext/xmlrpc/libxmlrpc
1766 cp -af Zend/LICENSE{,.Zend}
1769 sed -i -e 's#-fvisibility=hidden##g' configure*
1772 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
1773 if [ $API != %{php_api_version} ]; then
1774 echo "Set %%define php_api_version to $API and re-run."
1778 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
1779 if [ $API != %{zend_module_api} ]; then
1780 echo "Set %%define zend_module_api to $API and re-run."
1784 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
1785 if [ $API != %{zend_extension_api} ]; then
1786 echo "Set %%define zend_extension_api to $API and re-run."
1790 export EXTENSION_DIR="%{php_extensiondir}"
1791 # configure once (for faster debugging purposes)
1792 if [ ! -f _built-conf ]; then
1793 # now remove Makefile copies
1794 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs{1,2}}
1797 cp -f /usr/share/automake/config.* .
1801 export PROG_SENDMAIL="/usr/lib/sendmail"
1802 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP"
1816 for sapi in $sapis; do
1818 # skip if already configured (for faster debugging purposes)
1819 [ -f Makefile.$sapi ] && continue
1824 sapi_args='--disable-cli'
1827 sapi_args='--disable-cgi'
1830 sapi_args='--disable-cli --with-fpm'
1833 ver=$(rpm -q --qf '%{V}' apache1-devel)
1834 sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
1837 ver=$(rpm -q --qf '%{V}' apache-devel)
1838 sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
1844 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1845 --cache-file=config.cache \
1847 --with-libdir=%{_lib} \
1848 --with-config-file-path=%{_sysconfdir} \
1849 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1850 --with-exec-dir=%{_bindir} \
1851 --%{!?debug:dis}%{?debug:en}able-debug \
1852 %{?with_zts:--enable-maintainer-zts} \
1853 --enable-inline-optimization \
1854 --enable-bcmath=shared \
1855 --enable-calendar=shared \
1856 --enable-ctype=shared \
1857 --enable-dba=shared \
1858 --enable-dom=shared \
1859 --enable-exif=shared \
1860 --enable-fileinfo=shared \
1861 --enable-ftp=shared \
1862 --enable-gd-native-ttf \
1863 --enable-intl=shared \
1865 --enable-magic-quotes \
1866 --enable-mbstring=shared,all \
1868 --enable-pcntl=shared \
1869 --enable-pdo=shared \
1870 --enable-json=shared \
1871 --enable-hash=shared \
1872 --enable-xmlwriter=shared \
1874 --with-libevent=shared \
1875 --with-fpm-conf=%{_sysconfdir}/fpm.conf \
1876 --with-fpm-log=/var/log/fpm.log \
1877 --with-fpm-pid=/var/run/php/fpm.pid \
1878 --with-fpm-port=9000 \
1879 --with-fpm-user=http \
1880 --with-fpm-group=http \
1882 %if %{with mssql} || %{with sybase_ct}
1883 --with-pdo-dblib=shared \
1885 %if %{with interbase} && %{without interbase_inst}
1886 --with-pdo-firebird=shared,/usr \
1888 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1889 --with-pdo-mysql=shared,mysqlnd \
1890 %{?with_oci8:--with-pdo-oci=shared} \
1891 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1892 %{?with_pgsql:--with-pdo-pgsql=shared} \
1893 %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
1894 --without-libexpat-dir \
1895 --enable-mysqlnd-threading \
1896 --enable-posix=shared \
1898 --enable-session=shared \
1899 --enable-shmop=shared \
1900 --enable-simplexml=shared \
1901 --enable-spl=shared \
1902 --enable-sysvmsg=shared \
1903 --enable-sysvsem=shared \
1904 --enable-sysvshm=shared \
1905 --enable-safe-mode \
1906 --enable-soap=shared \
1907 --enable-sockets=shared \
1908 --enable-tokenizer=shared \
1909 --enable-ucd-snmp-hack \
1910 %{?with_wddx:--enable-wddx=shared} \
1911 --enable-xml=shared \
1912 --enable-xmlreader=shared \
1914 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1916 %{?with_fdf:--with-fdftk=shared} \
1917 --with-iconv=shared \
1918 --with-freetype-dir=shared \
1919 --with-gettext=shared \
1920 --with-gd=shared%{?with_system_gd:,/usr} \
1923 %{?with_imap:--with-imap=shared --with-imap-ssl} \
1924 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1925 --with-jpeg-dir=/usr \
1926 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1927 --with-mcrypt=shared \
1928 %{?with_mm:--with-mm} \
1929 %{?with_mssql:--with-mssql=shared} \
1930 --with-mysql=shared,mysqlnd \
1931 %{?with_mysqli:--with-mysqli=shared,mysqlnd} \
1932 %{?with_oci8:--with-oci8=shared} \
1933 %{?with_openssl:--with-openssl=shared} \
1935 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=/usr} \
1936 %{!?with_filter:--disable-filter}%{?with_filter:--enable-filter=shared} \
1937 --with-pear=%{php_pear_dir} \
1938 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1939 %{!?with_phar:--disable-phar}%{?with_phar:--enable-phar=shared} \
1940 --with-png-dir=/usr \
1941 %{?with_pspell:--with-pspell=shared} \
1942 --with-readline=shared \
1943 %{?with_recode:--with-recode=shared} \
1944 --with-regex=system \
1945 %{?with_snmp:--with-snmp=shared} \
1946 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1947 %{!?with_sqlite:--without-sqlite --without-pdo-sqlite}%{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1948 %{!?with_sqlite3:--without-sqlite3}%{?with_sqlite3:--with-sqlite3=shared,/usr} \
1949 --with-t1lib=shared \
1950 %{?with_tidy:--with-tidy=shared} \
1951 %{?with_odbc:--with-unixODBC=shared,/usr} \
1952 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1954 --with-zlib=shared \
1955 --with-zlib-dir=shared,/usr \
1956 --enable-zip=shared,/usr \
1959 cp -f Makefile Makefile.$sapi
1960 cp -f main/php_config.h php_config.h.$sapi
1961 cp -f config.log config.log.$sapi
1964 # as we build each SAPI in own make, adjust php-config.in forehead
1965 sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | xargs)
1966 sed -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in"
1968 # must make libphp_common first, so modules can link against it.
1969 %{__make} libphp_common.la
1970 %{__make} build-modules
1973 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1977 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1981 cp -af php_config.h.cgi-fcgi main/php_config.h
1982 %{__make} -f Makefile.cgi-fcgi
1983 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = cgi-fcgi ] || exit 1
1986 cp -af php_config.h.cli main/php_config.h
1987 %{__make} -f Makefile.cli
1988 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = cli ] || exit 1
1991 cp -af php_config.h.fpm main/php_config.h
1992 %{__make} -f Makefile.fpm
1993 ./sapi/fpm/php-fpm -qn -m > /dev/null
1997 # Run tests, using the CLI SAPI
1998 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
1999 unset TZ LANG LC_ALL || :
2001 unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
2005 rm -rf $RPM_BUILD_ROOT
2006 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2007 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2008 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2009 $RPM_BUILD_ROOT%{_mandir}/man1 \
2011 # install the apache modules' files
2012 %{__make} install-headers install-build install-modules install-programs \
2013 INSTALL_ROOT=$RPM_BUILD_ROOT
2015 # install apache1 DSO module
2017 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2020 # install apache2 DSO module
2022 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2025 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2026 # fix install paths, avoid evil rpaths
2027 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2029 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
2032 libtool --silent --mode=install install sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.cgi
2033 ln -sf php.cgi $RPM_BUILD_ROOT%{_bindir}/php.fcgi
2037 libtool --silent --mode=install install sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_bindir}/php.fpm
2038 cp -a sapi/fpm/php-fpm.1 $RPM_BUILD_ROOT%{_mandir}/man1/php-fpm.1
2039 cp -a sapi/fpm/php_fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}/fpm.conf
2040 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2041 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/php-fpm
2042 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2043 cp -a %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/php-fpm
2047 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
2048 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
2049 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
2050 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
2052 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2054 install -d $RPM_BUILD_ROOT%{_sysconfdir}
2055 cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2056 cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2057 cp -a %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini
2060 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2061 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2062 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2066 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2067 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2068 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2071 # Generate stub .ini files for each subpackage
2072 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2073 generate_inifiles() {
2074 for so in modules/*.so; do
2075 mod=$(basename $so .so)
2076 conf="%{_sysconfdir}/conf.d/$mod.ini"
2077 # xml needs to be loaded before wddx
2078 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_$mod.ini"
2079 # pre needs to be loaded before SPL
2080 [ "$mod" = "pcre" ] && conf="%{_sysconfdir}/conf.d/PCRE.ini"
2081 # spl needs to be loaded before mysqli
2082 [ "$mod" = "spl" ] && conf="%{_sysconfdir}/conf.d/SPL.ini"
2084 cat > $RPM_BUILD_ROOT$conf <<-EOF
2085 ; Enable $mod extension module
2092 # per SAPI ini directories
2093 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2096 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{pcntl,readline}.ini,cli.d}
2098 # use system automake and {lib,sh}tool
2099 %if "%{pld_release}" != "ac"
2100 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
2101 for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2102 ln -snf %{_aclocaldir}/${i} $RPM_BUILD_ROOT%{_libdir}/php/build
2104 ln -snf %{_datadir}/libtool/config/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2106 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
2107 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2109 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
2111 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
2112 # isn't installed by install-headers make target, we do it manually here.
2113 # this header file is required by e.g. filter PECL extension
2114 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
2115 # for php-pecl-mailparse
2116 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2117 cp -a ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2120 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2121 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2122 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2125 rm -rf $RPM_BUILD_ROOT
2127 %post -n apache1-mod_php
2128 if [ "$1" = "1" ]; then
2129 %service -q apache restart
2132 %postun -n apache1-mod_php
2133 if [ "$1" = "0" ]; then
2134 %service -q apache restart
2137 %post -n apache-mod_php
2138 if [ "$1" = "1" ]; then
2139 %service -q httpd restart
2142 %postun -n apache-mod_php
2143 if [ "$1" = "0" ]; then
2144 %service -q httpd restart
2148 /sbin/chkconfig --add php-fpm
2149 %service php-fpm restart
2152 if [ "$1" = 0 ]; then
2153 %service php-fpm stop
2154 /sbin/chkconfig --del php-fpm
2157 %post common -p /sbin/ldconfig
2158 %postun common -p /sbin/ldconfig
2161 # minimizing apache restarts logics. we restart webserver:
2163 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2164 # 2. first install of extension (post: $1 = 1)
2165 # 2. uninstall of extension (postun: $1 == 0)
2167 # the strict internal deps between extensions (and apache modules) and
2168 # common package are very important for all this to work.
2170 # restart webserver at the end of transaction
2171 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2172 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2175 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
2177 /^AddType application\/x-httpd-php \.php/s,^,#,
2178 /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
2179 ' /etc/apache/apache.conf
2180 %service -q apache restart
2184 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
2185 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
2186 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
2187 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
2188 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2192 # common macros called at extension post/postun scriptlet
2193 %define extension_scripts() \
2195 if [ "$1" = "1" ]; then \
2196 %php_webserver_restart \
2200 if [ "$1" = "0" ]; then \
2201 %php_webserver_restart \
2205 # extension scripts defines
2206 %extension_scripts bcmath
2207 %extension_scripts bzip2
2208 %extension_scripts calendar
2209 %extension_scripts ctype
2210 %extension_scripts curl
2211 %extension_scripts dba
2212 %extension_scripts dom
2213 %extension_scripts exif
2214 %extension_scripts fdf
2215 %extension_scripts fileinfo
2216 %extension_scripts filter
2217 %extension_scripts ftp
2218 %extension_scripts gd
2219 %extension_scripts gettext
2220 %extension_scripts gmp
2221 %extension_scripts hash
2222 %extension_scripts iconv
2223 %extension_scripts imap
2224 %extension_scripts interbase
2225 %extension_scripts intl
2226 %extension_scripts json
2227 %extension_scripts ldap
2228 %extension_scripts mbstring
2229 %extension_scripts mcrypt
2230 %extension_scripts mssql
2231 %extension_scripts mysql
2232 %extension_scripts mysqli
2233 %extension_scripts oci8
2234 %extension_scripts odbc
2235 %extension_scripts openssl
2236 %extension_scripts pcre
2237 %extension_scripts pdo-dblib
2238 %extension_scripts pdo-firebird
2239 %extension_scripts pdo-mysql
2240 %extension_scripts pdo-odbc
2241 %extension_scripts pdo-pgsql
2242 %extension_scripts pdo-sqlite
2243 %extension_scripts pgsql
2244 %extension_scripts phar
2245 %extension_scripts posix
2246 %extension_scripts pspell
2247 %extension_scripts recode
2248 %extension_scripts session
2249 %extension_scripts shmop
2250 %extension_scripts snmp
2251 %extension_scripts soap
2252 %extension_scripts sockets
2253 %extension_scripts spl
2254 %extension_scripts sqlite
2255 %extension_scripts sqlite3
2256 %extension_scripts sybase-ct
2257 %extension_scripts sysvmsg
2258 %extension_scripts sysvsem
2259 %extension_scripts sysvshm
2260 %extension_scripts tidy
2261 %extension_scripts tokenizer
2262 %extension_scripts wddx
2263 %extension_scripts xml
2264 %extension_scripts xmlreader
2265 %extension_scripts xmlrpc
2266 %extension_scripts xmlwriter
2267 %extension_scripts xsl
2268 %extension_scripts zip
2269 %extension_scripts zlib
2271 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2272 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2274 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2275 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bzip2\.so/d' %{_sysconfdir}/php.ini
2277 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2278 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2280 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2281 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2283 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2284 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2286 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2287 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2289 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2290 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini
2292 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2293 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2295 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2296 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2298 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2299 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2301 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2302 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2304 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2305 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2307 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2308 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2310 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2311 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2313 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2314 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2316 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2317 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2319 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2320 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2322 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2323 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2325 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2326 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2328 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2329 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2331 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2332 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2334 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2335 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini
2337 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2338 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2340 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2341 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2343 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2344 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2346 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2347 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2348 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2350 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2351 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2354 %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1
2355 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcre\.so/d' %{_sysconfdir}/php.ini
2357 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2358 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2360 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2361 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2363 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2364 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2366 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2367 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2368 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2370 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2371 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2374 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2375 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2377 %triggerun session -- %{name}-session < 4:5.0.4-9.1
2378 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*session\.so/d' %{_sysconfdir}/php.ini
2380 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2381 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2383 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2384 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2386 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2387 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini
2389 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2390 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2392 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2393 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini
2395 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2396 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini
2398 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2399 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2401 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2402 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2404 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2405 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2407 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2408 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini
2410 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2411 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2413 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2414 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2416 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2417 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2419 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2420 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini
2422 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2423 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2426 %files -n apache1-mod_php
2427 %defattr(644,root,root,755)
2428 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2429 %dir %{_sysconfdir}/apache.d
2430 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2431 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2435 %files -n apache-mod_php
2436 %defattr(644,root,root,755)
2437 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2438 %dir %{_sysconfdir}/apache2handler.d
2439 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2440 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2444 %defattr(644,root,root,755)
2445 %dir %{_sysconfdir}/cgi-fcgi.d
2446 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2447 %attr(755,root,root) %{_bindir}/php.cgi
2448 %attr(755,root,root) %{_bindir}/php.fcgi
2451 %defattr(644,root,root,755)
2452 %dir %{_sysconfdir}/cli.d
2453 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2454 %attr(755,root,root) %{_bindir}/php.cli
2455 %{_mandir}/man1/php.1*
2456 %{_mandir}/man1/php.cli.1*
2459 %defattr(644,root,root,755)
2460 %attr(755,root,root) %{_bindir}/php
2464 %defattr(644,root,root,755)
2465 %doc %lang(ru) sapi/fpm/readme-ru.markdown
2466 %doc sapi/fpm/nginx-site-conf.sample
2467 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.conf
2468 %attr(755,root,root) %{_bindir}/php.fpm
2469 %{_mandir}/man1/php-fpm.1*
2470 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/php-fpm
2471 %attr(754,root,root) /etc/rc.d/init.d/php-fpm
2475 %defattr(644,root,root,755)
2477 %doc CREDITS Zend/ZEND_CHANGES
2478 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2479 %doc README.PHP4-TO-PHP5-THIN-CHANGES
2480 %doc README.namespaces
2483 %dir %{_sysconfdir}/conf.d
2484 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2485 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2486 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2487 %dir %{php_extensiondir}
2489 %doc ext/session/mod_files.sh
2492 %defattr(644,root,root,755)
2493 %doc README.UNIX-BUILD-SYSTEM
2494 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2495 %doc CODING_STANDARDS README.EXTENSIONS README.PARAMETER_PARSING_API README.STREAMS
2496 %doc README.SUBMITTING_PATCH README.TESTING README.TESTING2
2497 %attr(755,root,root) %{_bindir}/phpize
2498 %attr(755,root,root) %{_bindir}/php-config
2499 %attr(755,root,root) %{_libdir}/libphp_common.so
2500 %{_libdir}/libphp_common.la
2502 %{_libdir}/php/build
2503 %{_mandir}/man1/php-config.1*
2504 %{_mandir}/man1/phpize.1*
2507 %defattr(644,root,root,755)
2508 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2509 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2512 %defattr(644,root,root,755)
2513 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2514 %attr(755,root,root) %{php_extensiondir}/bz2.so
2517 %defattr(644,root,root,755)
2518 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2519 %attr(755,root,root) %{php_extensiondir}/calendar.so
2522 %defattr(644,root,root,755)
2523 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2524 %attr(755,root,root) %{php_extensiondir}/ctype.so
2528 %defattr(644,root,root,755)
2529 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2530 %attr(755,root,root) %{php_extensiondir}/curl.so
2534 %defattr(644,root,root,755)
2535 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2536 %attr(755,root,root) %{php_extensiondir}/dba.so
2539 %defattr(644,root,root,755)
2540 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2541 %attr(755,root,root) %{php_extensiondir}/dom.so
2545 %defattr(644,root,root,755)
2546 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2547 %attr(755,root,root) %{php_extensiondir}/fdf.so
2551 %defattr(644,root,root,755)
2552 %doc README.input_filter
2553 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
2554 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
2558 %defattr(644,root,root,755)
2559 %doc README.input_filter
2560 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2561 %attr(755,root,root) %{php_extensiondir}/filter.so
2565 %defattr(644,root,root,755)
2566 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2567 %attr(755,root,root) %{php_extensiondir}/exif.so
2570 %defattr(644,root,root,755)
2571 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2572 %attr(755,root,root) %{php_extensiondir}/ftp.so
2575 %defattr(644,root,root,755)
2576 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2577 %attr(755,root,root) %{php_extensiondir}/gd.so
2580 %defattr(644,root,root,755)
2581 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2582 %attr(755,root,root) %{php_extensiondir}/gettext.so
2585 %defattr(644,root,root,755)
2586 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2587 %attr(755,root,root) %{php_extensiondir}/gmp.so
2590 %defattr(644,root,root,755)
2591 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2592 %attr(755,root,root) %{php_extensiondir}/hash.so
2595 %defattr(644,root,root,755)
2596 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2597 %attr(755,root,root) %{php_extensiondir}/iconv.so
2601 %defattr(644,root,root,755)
2602 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2603 %attr(755,root,root) %{php_extensiondir}/imap.so
2606 %if %{with interbase}
2608 %defattr(644,root,root,755)
2609 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2610 %attr(755,root,root) %{php_extensiondir}/interbase.so
2614 %defattr(644,root,root,755)
2615 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
2616 %attr(755,root,root) %{php_extensiondir}/intl.so
2619 %defattr(644,root,root,755)
2620 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
2621 %attr(755,root,root) %{php_extensiondir}/json.so
2625 %defattr(644,root,root,755)
2626 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2627 %attr(755,root,root) %{php_extensiondir}/ldap.so
2631 %defattr(644,root,root,755)
2632 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2633 %attr(755,root,root) %{php_extensiondir}/mbstring.so
2636 %defattr(644,root,root,755)
2637 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2638 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
2642 %defattr(644,root,root,755)
2643 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2644 %attr(755,root,root) %{php_extensiondir}/mssql.so
2648 %defattr(644,root,root,755)
2649 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2650 %attr(755,root,root) %{php_extensiondir}/mysql.so
2654 %defattr(644,root,root,755)
2655 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2656 %attr(755,root,root) %{php_extensiondir}/mysqli.so
2661 %defattr(644,root,root,755)
2662 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2663 %attr(755,root,root) %{php_extensiondir}/oci8.so
2668 %defattr(644,root,root,755)
2669 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2670 %attr(755,root,root) %{php_extensiondir}/odbc.so
2675 %defattr(644,root,root,755)
2676 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2677 %attr(755,root,root) %{php_extensiondir}/openssl.so
2681 %defattr(644,root,root,755)
2682 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2683 %attr(755,root,root) %{php_extensiondir}/pcntl.so
2687 %defattr(644,root,root,755)
2688 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
2689 %attr(755,root,root) %{php_extensiondir}/pcre.so
2693 %defattr(644,root,root,755)
2694 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2695 %attr(755,root,root) %{php_extensiondir}/pdo.so
2697 %if %{with mssql} || %{with sybase_ct}
2699 %defattr(644,root,root,755)
2700 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2701 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
2704 %if %{with interbase} && !%{with interbase_inst}
2706 %defattr(644,root,root,755)
2707 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2708 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
2712 %defattr(644,root,root,755)
2713 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2714 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
2718 %defattr(644,root,root,755)
2719 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2720 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
2725 %defattr(644,root,root,755)
2726 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2727 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
2732 %defattr(644,root,root,755)
2733 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2734 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
2739 %defattr(644,root,root,755)
2740 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2741 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
2746 %defattr(644,root,root,755)
2747 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2748 %attr(755,root,root) %{php_extensiondir}/pgsql.so
2753 %defattr(644,root,root,755)
2754 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
2755 %attr(755,root,root) %{php_extensiondir}/phar.so
2759 %defattr(644,root,root,755)
2760 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2761 %attr(755,root,root) %{php_extensiondir}/posix.so
2765 %defattr(644,root,root,755)
2766 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2767 %attr(755,root,root) %{php_extensiondir}/pspell.so
2771 %defattr(644,root,root,755)
2772 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2773 %attr(755,root,root) %{php_extensiondir}/readline.so
2777 %defattr(644,root,root,755)
2778 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2779 %attr(755,root,root) %{php_extensiondir}/recode.so
2783 %defattr(644,root,root,755)
2784 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2785 %attr(755,root,root) %{php_extensiondir}/simplexml.so
2788 %defattr(644,root,root,755)
2789 %doc ext/session/mod_files.sh
2790 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/session.ini
2791 %attr(755,root,root) %{php_extensiondir}/session.so
2794 %defattr(644,root,root,755)
2795 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2796 %attr(755,root,root) %{php_extensiondir}/shmop.so
2800 %defattr(644,root,root,755)
2801 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2802 %attr(755,root,root) %{php_extensiondir}/snmp.so
2806 %defattr(644,root,root,755)
2807 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2808 %attr(755,root,root) %{php_extensiondir}/soap.so
2811 %defattr(644,root,root,755)
2812 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2813 %attr(755,root,root) %{php_extensiondir}/sockets.so
2816 %defattr(644,root,root,755)
2817 %doc ext/spl/{CREDITS,README,TODO}
2818 %doc ext/spl/examples
2819 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
2820 %attr(755,root,root) %{php_extensiondir}/spl.so
2824 %defattr(644,root,root,755)
2825 %doc ext/sqlite/{README,TODO,CREDITS}
2826 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2827 %attr(755,root,root) %{php_extensiondir}/sqlite.so
2832 %defattr(644,root,root,755)
2833 %doc ext/sqlite3/CREDITS
2834 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
2835 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
2838 %if %{with sybase_ct}
2840 %defattr(644,root,root,755)
2841 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2842 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
2846 %defattr(644,root,root,755)
2847 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2848 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
2851 %defattr(644,root,root,755)
2852 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2853 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
2856 %defattr(644,root,root,755)
2857 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2858 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
2861 %defattr(644,root,root,755)
2862 %dir %{php_data_dir}/tests/php
2863 %{php_data_dir}/tests/php/basic
2864 %{php_data_dir}/tests/php/classes
2865 %{php_data_dir}/tests/php/func
2866 %{php_data_dir}/tests/php/lang
2867 %{php_data_dir}/tests/php/output
2868 %{php_data_dir}/tests/php/run-test
2869 %{php_data_dir}/tests/php/security
2870 %{php_data_dir}/tests/php/strings
2871 %{php_data_dir}/tests/php/quicktester.inc
2872 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
2876 %defattr(644,root,root,755)
2877 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2878 %attr(755,root,root) %{php_extensiondir}/tidy.so
2882 %defattr(644,root,root,755)
2883 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2884 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
2888 %defattr(644,root,root,755)
2889 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2890 %attr(755,root,root) %{php_extensiondir}/wddx.so
2894 %defattr(644,root,root,755)
2895 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
2896 %attr(755,root,root) %{php_extensiondir}/xml.so
2899 %defattr(644,root,root,755)
2900 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
2901 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
2905 %defattr(644,root,root,755)
2906 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
2907 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
2911 %defattr(644,root,root,755)
2912 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
2913 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
2916 %defattr(644,root,root,755)
2917 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
2918 %attr(755,root,root) %{php_extensiondir}/xsl.so
2921 %defattr(644,root,root,755)
2922 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
2923 %attr(755,root,root) %{php_extensiondir}/zip.so
2926 %defattr(644,root,root,755)
2927 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
2928 %attr(755,root,root) %{php_extensiondir}/zlib.so