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 # - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere
20 # - removed from php 5.0 (currently in php4):
21 # db, hyperwave, java, mcal, overload, qtdom
22 # - removed from php 5.1:
24 # - removed from php 5.2:
26 # - removed from php 5.3:
27 # dbase, mime_magic, ming, ncurses, sybase
28 # - make additional headers and checking added by mail patch configurable
29 # - modularize standard (output from pure php -m)?
30 # - lib64 patch obsolete by $PHP_LIBDIR ?
31 # - move mysqlnd out of libphp-common.so, or link again with mysql-devel?
32 # - WARNING: Phar: sha256/sha512 signature support disabled if ext/hash is
33 # built shared, also PHAR_HAVE_OPENSSL is false if openssl is built shared.
34 # make it runtime dep and add Suggests (or php warning messages)
35 # - some mods should be shared:
46 %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary lib)
47 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
48 %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
49 %bcond_with system_gd # with system gd (we prefer internal since it enables few more features)
50 %bcond_without curl # without CURL extension module
51 %bcond_without filter # without filter extension module
52 %bcond_without imap # without IMAP extension module
53 %bcond_without interbase # without InterBase extension module
54 %bcond_without ldap # without LDAP extension module
55 %bcond_without mm # without mm support for session storage
56 %bcond_without mssql # without MS SQL extension module
57 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
58 %bcond_without odbc # without ODBC extension module
59 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
60 %bcond_without pcre # without PCRE extension module
61 %bcond_without pgsql # without PostgreSQL extension module
62 %bcond_without phar # without phar extension module
63 %bcond_without pspell # without pspell extension module
64 %bcond_without recode # without recode extension module
65 %bcond_without snmp # without SNMP extension module
66 %bcond_without sqlite # without SQLite extension module
67 %bcond_without sqlite3 # without SQLite3 extension module
68 %bcond_without sybase_ct # without Sybase-CT extension module
69 %bcond_without tidy # without Tidy extension module
70 %bcond_without wddx # without WDDX extension module
71 %bcond_without xmlrpc # without XML-RPC extension module
72 %bcond_without apache1 # disable building apache 1.3.x module
73 %bcond_without apache2 # disable building apache 2.x module
74 %bcond_without zts # disable Zend Thread Safety
75 %bcond_without fpm # fpm patches from http://www.php-fpm.org/
76 %bcond_without suhosin # with suhosin patch
77 %bcond_with tests # default off; test process very often hangs on builders; perform "make test"
78 %bcond_with type_hints # experimental support for strict typing/casting
80 %define apxs1 /usr/sbin/apxs1
81 %define apxs2 /usr/sbin/apxs
83 # some problems with apache 2.x
88 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha
89 # ppc disabled (broken on th-ppc)
90 %undefine with_interbase
93 %ifnarch %{ix86} %{x8664}
94 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
98 %if %{without apache1} && %{without apache2}
99 ERROR: You need to select at least one Apache SAPI to build shared modules.
102 # filter depends on pcre
104 %undefine with_filter
108 Summary: PHP: Hypertext Preprocessor
109 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
110 Summary(pl.UTF-8): Język skryptowy PHP
111 Summary(pt_BR.UTF-8): A linguagem de script PHP
112 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
113 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
116 Release: %{rel}%{?with_type_hints:th}
120 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
121 # Source0-md5: 63e97ad450f0f7259e785100b634c797
122 Source2: %{name}-mod_%{name}.conf
123 Source3: %{name}-cgi-fcgi.ini
124 Source4: %{name}-apache.ini
125 Source5: %{name}-cli.ini
126 # Taken from: http://browsers.garykeith.com/downloads.asp
127 Source9: %{name}_browscap.ini
128 Source10: %{name}-fpm.init
129 Source11: %{name}-fpm.logrotate
130 Patch0: %{name}-shared.patch
131 Patch1: %{name}-pldlogo.patch
132 Patch2: %{name}-mail.patch
133 Patch3: %{name}-link-libs.patch
134 Patch4: %{name}-libpq_fs_h_path.patch
135 Patch5: %{name}-filter-shared.patch
136 Patch6: %{name}-build_modules.patch
137 Patch7: %{name}-sapi-ini-file.patch
138 Patch8: %{name}-config-file-scan-dir.patch
139 Patch9: %{name}-sh.patch
140 Patch10: %{name}-ini.patch
141 %if %{with type_hints}
142 Patch12: http://ilia.ws/patch/type_hint_53_v2.txt
144 Patch14: %{name}-no_pear_install.patch
145 Patch15: %{name}-zlib.patch
146 Patch17: %{name}-readline.patch
147 Patch18: %{name}-nohttpd.patch
148 Patch19: %{name}-gd_imagerotate_enable.patch
149 Patch20: %{name}-uint32_t.patch
150 Patch21: %{name}-dba-link.patch
151 Patch22: %{name}-both-apxs.patch
152 Patch23: %{name}-builddir.patch
153 Patch24: %{name}-zlib-for-getimagesize.patch
154 Patch25: %{name}-stupidapache_version.patch
155 Patch27: %{name}-config-dir.patch
156 Patch29: %{name}-fcgi-graceful.patch
157 Patch35: %{name}-tds.patch
158 Patch39: %{name}-use-prog_sendmail.patch
159 Patch40: %{name}-fpm.patch
160 Patch41: %{name}-fpm-config.patch
161 Patch42: %{name}-fpm-shared.patch
162 Patch43: %{name}-silent-session-cleanup.patch
163 Patch47: suhosin.patch
164 Patch49: %{name}-m4-divert.patch
165 Patch50: extension-shared-optional-dep.patch
166 Patch51: spl-shared.patch
167 Patch52: pcre-shared.patch
168 URL: http://www.php.net/
169 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
170 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
171 BuildRequires: autoconf >= 2.53
172 BuildRequires: automake >= 1.4d
174 BuildRequires: bzip2-devel
175 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
176 BuildRequires: cyrus-sasl-devel
177 BuildRequires: db-devel >= 4.0
178 BuildRequires: elfutils-devel
179 %{?with_fdf:BuildRequires: fdftk-devel}
182 %if %{with mssql} || %{with sybase_ct}
183 BuildRequires: freetds-devel >= 0.82
185 BuildRequires: freetype-devel >= 2.0
186 %if %{with system_gd}
187 BuildRequires: gd-devel >= 2.0.28-4
188 BuildRequires: gd-devel(imagerotate) = 5.2.0
190 BuildRequires: gdbm-devel
191 BuildRequires: gmp-devel
192 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
193 BuildRequires: libicu-devel
194 BuildRequires: libjpeg-devel
195 BuildRequires: libltdl-devel >= 1.4
196 BuildRequires: libmcrypt-devel >= 2.4.4
197 BuildRequires: libpng-devel >= 1.0.8
198 BuildRequires: libtiff-devel
199 %if "%{pld_release}" != "ac"
200 BuildRequires: libtool >= 2:2.2
202 BuildRequires: libtool >= 1.4.3
204 BuildRequires: libwrap-devel
205 BuildRequires: libxml2-devel >= 2.5.10
206 BuildRequires: libxslt-devel >= 1.1.0
207 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
208 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
209 %if %{with openssl} || %{with ldap}
210 BuildRequires: openssl-devel >= 0.9.7d
212 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
213 BuildRequires: pam-devel
214 %{?with_pcre:BuildRequires: pcre-devel >= 6.6}
215 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
216 %{?with_pgsql:BuildRequires: postgresql-devel}
217 BuildRequires: readline-devel
218 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
219 BuildRequires: rpm >= 4.4.9-56
220 BuildRequires: rpm-build >= 4.4.0
221 BuildRequires: rpmbuild(macros) >= 1.519
222 %{?with_sqlite:BuildRequires: sqlite-devel}
223 %{?with_sqlite3:BuildRequires: sqlite3-devel >= 3.3.9}
224 BuildRequires: t1lib-devel
225 %{?with_tidy:BuildRequires: tidy-devel}
226 %{?with_odbc:BuildRequires: unixODBC-devel}
227 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
228 BuildRequires: zlib-devel >= 1.0.9
230 BuildRequires: apache1-devel
233 BuildRequires: apache-devel >= 2.0.52-2
234 BuildRequires: apr-devel >= 1:1.0.0
235 BuildRequires: apr-util-devel >= 1:1.0.0
238 BuildRequires: judy-devel
239 BuildRequires: libevent-devel >= 1.4.7-3
241 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
243 %define php_sysconfdir /etc/php
244 %define php_extensiondir %{_libdir}/php
245 %define _sysconfdir %{php_sysconfdir}
247 # must be in sync with source. extra check ensuring that it is so is done in %%build
248 %define php_api_version 20090626
249 %define zend_module_api 20090626
250 %define zend_extension_api 220090626
252 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
253 %define php_debug %{!?debug:0}%{?debug:1}
256 # ORACLE_HOME is required for oci8 ext to build
257 %define _preserve_env %_preserve_env_base ORACLE_HOME
261 PHP is an HTML-embedded scripting language. PHP attempts to make it
262 easy for developers to write dynamically generated web pages. PHP also
263 offers built-in database integration for several commercial and
264 non-commercial database management systems, so writing a
265 database-enabled web page with PHP is fairly simple. The most common
266 use of PHP coding is probably as a replacement for CGI scripts. The
267 mod_php module enables the Apache web server to understand and process
268 the embedded PHP language in web pages. This package contains php
271 %description -l fr.UTF-8
272 PHP est un langage de script embarque dans le HTM. PHP essaye de
273 rendre simple aux developpeurs d'ecrire des pages web generees
274 dynamiquement. PHP incorpore egalement une integration avec plusieurs
275 systemes de gestion de bases de donnees commerciaux et
276 non-connerciaux, qui rent facile la creation de pages web liees avec
277 des bases de donnees. L'utilisation la plus commune de PHP est
278 probablement en remplacement de scripts CGI. Le module mod_php permet
279 au serveur web apache de comprendre et de traiter le langage PHP
280 integre dans des pages web. Ce package contient php version
283 %description -l pl.UTF-8
284 PHP jest językiem skryptowym, którego polecenia umieszcza się w
285 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
286 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
287 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
288 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
289 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
290 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
291 język PHP osadzony w stronach. Ten pakiet zawiera php w wersji
294 %description -l pt_BR.UTF-8
295 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
296 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
297 com algumas características únicas, específicas ao PHP. O objetivo da
298 linguagem é permitir que desenvolvedores web escrevam páginas
299 dinamicamente geradas de forma rápida.
301 %description -l ru.UTF-8
302 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
303 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
304 для работы с базами данных относительно просто. Наиболее популярное
305 использование PHP - замена для CGI скриптов.
307 %description -l uk.UTF-8
308 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
309 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
310 роботи з базами даних є доволі простим. Найбільш популярне
311 використання PHP - заміна для CGI скриптів.
313 %package -n apache1-mod_php
314 Summary: PHP DSO module for apache 1.3.x
315 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php dla apache 1.3.x
316 Group: Development/Languages/PHP
317 Requires(triggerpostun): sed >= 4.0
318 Requires: %{name}-common = %{epoch}:%{version}-%{release}
319 Requires: apache1(EAPI) >= 1.3.33-2
320 Requires: apache1-mod_mime
321 Provides: webserver(php) = %{version}
322 Obsoletes: apache-mod_php < 1:4.1.1
325 %description -n apache1-mod_php
326 PHP as DSO module for apache 1.3.x.
328 %description -n apache1-mod_php -l pl.UTF-8
329 php jako moduł DSO (Dynamic Shared Object) dla apache 1.3.x.
331 %package -n apache-mod_php
332 Summary: PHP DSO module for apache 2.x
333 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php dla apache 2.x
334 Group: Development/Languages/PHP
335 Requires: %{name}-common = %{epoch}:%{version}-%{release}
336 Requires: apache(modules-api) = %{apache_modules_api}
337 Requires: apache-mod_mime
338 Provides: webserver(php) = %{version}
341 %description -n apache-mod_php
342 PHP as DSO module for apache 2.x.
344 %description -n apache-mod_php -l pl.UTF-8
345 php jako moduł DSO (Dynamic Shared Object) dla apache 2.x.
348 Summary: PHP as CGI/FastCGI program
349 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
350 Group: Development/Languages/PHP
351 Requires: %{name}-common = %{epoch}:%{version}-%{release}
352 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
355 Provides: webserver(php)
356 Obsoletes: php-fcgi < 4:5.3.0
359 PHP as CGI or FastCGI program.
361 %description cgi -l pl.UTF-8
362 PHP jako program CGI lub FastCGI.
365 Summary: PHP as CLI interpreter
366 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
367 Group: Development/Languages/PHP
368 Requires: %{name}-common = %{epoch}:%{version}-%{release}
371 PHP as CLI interpreter.
373 %description cli -l pl.UTF-8
374 PHP jako interpreter działający z linii poleceń.
377 Summary: /usr/bin/php symlink
378 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
379 Group: Development/Languages/PHP
380 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
381 Obsoletes: /usr/bin/php
384 Package providing /usr/bin/php symlink to PHP CLI.
386 %description program -l pl.UTF-8
387 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
390 Summary: PHP FastCGI Process Manager
391 Group: Development/Languages/PHP
392 URL: http://www.php-fpm.org/
393 Requires(post,preun): /sbin/chkconfig
394 Requires: %{name}-common = %{epoch}:%{version}-%{release}
395 Requires: libevent >= 1.4.7-3
397 Provides: webserver(php) = %{version}
400 PHP FastCGI Process Manager.
403 Summary: Common files needed by both Apache modules and CGI/CLI SAPI-s
404 Summary(pl.UTF-8): Wspólne pliki dla modułu apache'a i programu CGI
405 Summary(ru.UTF-8): Разделяемые библиотеки для php
406 Summary(uk.UTF-8): Бібліотеки спільного використання для php
408 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
409 Requires: glibc >= 6:2.3.5
413 Provides: php(libxml)
414 Provides: php(modules_api) = %{php_api_version}
415 Provides: php(overload)
416 Provides: php(reflection)
417 Provides: php(standard)
418 Provides: php(zend_extension_api) = %{zend_extension_api}
419 Provides: php(zend_module_api) = %{zend_module_api}
420 Provides: php5(debug) = %{php_debug}
421 Provides: php5(thread-safety) = %{zend_zts}
422 Obsoletes: php-pecl-domxml
423 Conflicts: php4-common < 3:4.4.4-8
424 Conflicts: rpm < 4.4.2-0.2
427 Common files needed by both Apache modules and CGI/CLI SAPI-s.
429 %description common -l pl.UTF-8
430 Wspólne pliki dla modułu apacha i programu CGI.
432 %description common -l ru.UTF-8
433 Этот пакет содержит общие файлы для разных вариантов реализации PHP
434 (самодостаточной и в качестве модуля apache).
436 %description common -l uk.UTF-8
437 Цей пакет містить спільні файли для різних варіантів реалізації PHP
438 (самодостатньої та в якості модуля apache).
441 Summary: Files for PHP modules development
442 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
443 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
444 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
445 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
446 Group: Development/Languages/PHP
447 Requires: %{name}-common = %{epoch}:%{version}-%{release}
450 %if "%{pld_release}" != "ac"
451 Requires: libtool >= 2:2.2
455 %{?with_pcre:Requires: pcre-devel >= 6.6}
457 Obsoletes: php-pear-devel
458 Obsoletes: php4-devel
461 The php-devel package lets you compile dynamic extensions to PHP.
462 Included here is the source for the PHP extensions. Instead of
463 recompiling the whole php binary to add support for, say, oracle,
464 install this package and use the new self-contained extensions
465 support. For more information, read the file
466 README.SELF-CONTAINED-EXTENSIONS.
468 %description devel -l pl.UTF-8
469 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
470 rekompilować całe php aby dodać obsługę np. oracle, można przy użyciu
471 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
472 samodzielnych rozszerzeniach można znaleźć w pliku
473 README.SELF-CONTAINED-EXTENSIONS.
475 %description devel -l pt_BR.UTF-8
476 Este pacote contém arquivos usados no desenvolvimento de programas ou
479 %description devel -l ru.UTF-8
480 Пакет php-devel дает возможность компилировать динамические расширения
481 PHP. Пакет включает исходный код этих расширений. Вместо повторной
482 компиляции бинарного файла php для добавления, например, поддержки
483 oracle, установите этот пакет для компилирования отдельных расширений.
484 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
486 %description devel -l uk.UTF-8
487 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
488 До пакету включено вихідний код для розширень. Замість повторної
489 компіляції бінарного файлу php для додання, наприклад, підтримки
490 oracle, встановіть цей пакет для компіляції окремих розширень.
491 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
494 Summary: bcmath extension module for PHP
495 Summary(pl.UTF-8): Moduł bcmath dla PHP
497 URL: http://www.php.net/manual/en/book.bc.php
498 Requires: %{name}-common = %{epoch}:%{version}-%{release}
499 Provides: php(bcmath)
502 This is a dynamic shared object (DSO) for PHP that will add bc style
503 precision math functions support.
505 %description bcmath -l pl.UTF-8
506 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
507 matematycznych takich jak w programie bc.
510 Summary: Bzip2 extension module for PHP
511 Summary(pl.UTF-8): Moduł bzip2 dla PHP
513 URL: http://www.php.net/manual/en/book.bzip2.php
514 Requires: %{name}-common = %{epoch}:%{version}-%{release}
518 This is a dynamic shared object (DSO) for PHP that will add bzip2
519 compression support to PHP.
521 %description bzip2 -l pl.UTF-8
522 Moduł PHP umożliwiający używanie kompresji bzip2.
525 Summary: Calendar extension module for PHP
526 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
528 URL: http://www.php.net/manual/en/book.calendar.php
529 Requires: %{name}-common = %{epoch}:%{version}-%{release}
530 Provides: php(calendar)
532 %description calendar
533 This is a dynamic shared object (DSO) for PHP that will add calendar
536 %description calendar -l pl.UTF-8
537 Moduł PHP dodający wsparcie dla kalendarza.
540 Summary: ctype extension module for PHP
541 Summary(pl.UTF-8): Moduł ctype dla PHP
543 URL: http://www.php.net/manual/en/book.ctype.php
544 Requires: %{name}-common = %{epoch}:%{version}-%{release}
548 This is a dynamic shared object (DSO) for PHP that will add ctype
551 %description ctype -l pl.UTF-8
552 Moduł PHP umożliwiający korzystanie z funkcji ctype.
555 Summary: curl extension module for PHP
556 Summary(pl.UTF-8): Moduł curl dla PHP
558 URL: http://www.php.net/manual/en/book.curl.php
559 Requires: %{name}-common = %{epoch}:%{version}-%{release}
563 This is a dynamic shared object (DSO) for PHP that will add curl
566 %description curl -l pl.UTF-8
567 Moduł PHP umożliwiający korzystanie z biblioteki curl.
570 Summary: DBA extension module for PHP
571 Summary(pl.UTF-8): Moduł DBA dla PHP
573 URL: http://www.php.net/manual/en/book.dba.php
574 Requires: %{name}-common = %{epoch}:%{version}-%{release}
578 This is a dynamic shared object (DSO) for PHP that will add flat-file
579 databases (DBA) support.
581 %description dba -l pl.UTF-8
582 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
586 Summary: DOM extension module for PHP
587 Summary(pl.UTF-8): Moduł DOM dla PHP
589 URL: http://www.php.net/manual/en/book.dom.php
590 Requires: %{name}-common = %{epoch}:%{version}-%{release}
592 # it has some compatibility functions
593 Provides: php(domxml)
594 Obsoletes: php-domxml <= 3:4.3.8-1
597 This is a dynamic shared object (DSO) for PHP that will add new DOM
600 %description dom -l pl.UTF-8
601 Moduł PHP dodający nową obsługę DOM.
604 Summary: exif extension module for PHP
605 Summary(pl.UTF-8): Moduł exif dla PHP
607 URL: http://www.php.net/manual/en/book.exif.php
608 Requires: %{name}-common = %{epoch}:%{version}-%{release}
612 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
613 support in image files.
615 %description exif -l pl.UTF-8
616 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
619 Summary: FDF extension module for PHP
620 Summary(pl.UTF-8): Moduł FDF dla PHP
622 URL: http://www.php.net/manual/en/book.fdf.php
623 Requires: %{name}-common = %{epoch}:%{version}-%{release}
627 This PHP module adds support for PDF Forms through Adobe FDFTK
630 %description fdf -l pl.UTF-8
631 Moduł PHP dodający obsługę formularzy PDF poprzez bibliotekę Adobe
635 Summary: libmagic bindings
637 URL: http://www.php.net/manual/en/book.fileinfo.php
638 Requires: %{name}-common = %{epoch}:%{version}-%{release}
639 Provides: php(fileinfo)
640 Obsoletes: php-pecl-fileinfo
642 %description fileinfo
643 This extension allows retrieval of information regarding vast majority
644 of file. This information may include dimensions, quality, length
647 Additionally it can also be used to retrieve the MIME type for a
648 particular file and for text files proper language encoding.
651 Summary: Extension for safely dealing with input parameters
652 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
654 URL: http://www.php.net/manual/en/book.filter.php
655 Requires: %{name}-common = %{epoch}:%{version}-%{release}
656 Provides: php(filter)
657 Obsoletes: php-pecl-filter
660 We all know that you should always check input variables, but PHP does
661 not offer really good functionality for doing this in a safe way. The
662 Input Filter extension is meant to address this issue by implementing
663 a set of filters and mechanisms that users can use to safely access
666 %description filter -l pl.UTF-8
667 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
668 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
669 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
670 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
671 mogą bezpiecznie używać do dostępu do danych.
674 Summary: FTP extension module for PHP
675 Summary(pl.UTF-8): Moduł FTP dla PHP
677 URL: http://www.php.net/manual/en/book.ftp.php
678 Requires: %{name}-common = %{epoch}:%{version}-%{release}
682 This is a dynamic shared object (DSO) for PHP that will add FTP
685 %description ftp -l pl.UTF-8
686 Moduł PHP dodający obsługę protokołu FTP.
689 Summary: GD extension module for PHP
690 Summary(pl.UTF-8): Moduł GD dla PHP
692 URL: http://www.php.net/manual/en/book.image.php
693 Requires: %{name}-common = %{epoch}:%{version}-%{release}
694 %if %{with system_gd}
695 Requires: gd >= 2.0.28-4
697 Requires: gd(imagerotate) = 5.2.0
702 This is a dynamic shared object (DSO) for PHP that will add GD
703 support, allowing you to create and manipulate images with PHP.
705 %description gd -l pl.UTF-8
706 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
707 tworzenie i obróbkę obrazków.
710 Summary: gettext extension module for PHP
711 Summary(pl.UTF-8): Moduł gettext dla PHP
713 URL: http://www.php.net/manual/en/book.gettext.php
714 Requires: %{name}-common = %{epoch}:%{version}-%{release}
715 Provides: php(gettext)
718 This is a dynamic shared object (DSO) for PHP that will add gettext
721 %description gettext -l pl.UTF-8
722 Moduł PHP dodający obsługę lokalizacji przez gettext.
725 Summary: gmp extension module for PHP
726 Summary(pl.UTF-8): Moduł gmp dla PHP
728 URL: http://www.php.net/manual/en/book.gmp.php
729 Requires: %{name}-common = %{epoch}:%{version}-%{release}
733 This is a dynamic shared object (DSO) for PHP that will add arbitrary
734 length number support with GNU MP library.
736 %description gmp -l pl.UTF-8
737 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
738 liczbach o dowolnej długości.
741 Summary: HASH Message Digest Framework
742 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
744 URL: http://www.php.net/manual/en/book.gmp.php
745 Requires: %{name}-common = %{epoch}:%{version}-%{release}
749 Obsoletes: php-pecl-hash
752 Native implementations of common message digest algorithms using a
753 generic factory method.
755 %description hash -l pl.UTF-8
756 Natywne implementacje popularnych algorytmów obliczania skrótów
757 wiadomości przy użyciu wspólnego interfejsu.
760 Summary: iconv extension module for PHP
761 Summary(pl.UTF-8): Moduł iconv dla PHP
763 URL: http://www.php.net/manual/en/book.iconv.php
764 Requires: %{_libdir}/gconv
765 Requires: %{name}-common = %{epoch}:%{version}-%{release}
770 This is a dynamic shared object (DSO) for PHP that will add iconv
773 %description iconv -l pl.UTF-8
774 Moduł PHP dodający obsługę iconv.
777 Summary: IMAP extension module for PHP
778 Summary(pl.UTF-8): Moduł IMAP dla PHP
779 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
781 URL: http://www.php.net/manual/en/book.imap.php
782 Requires: %{name}-common = %{epoch}:%{version}-%{release}
786 This is a dynamic shared object (DSO) for PHP that will add IMAP
789 %description imap -l pl.UTF-8
790 Moduł PHP dodający obsługę skrzynek IMAP.
792 %description imap -l pt_BR.UTF-8
793 Um módulo para aplicações PHP que usam IMAP.
796 Summary: InterBase/Firebird database module for PHP
797 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
799 URL: http://www.php.net/manual/en/book.ibase.php
800 Requires: %{name}-common = %{epoch}:%{version}-%{release}
801 Provides: php(interbase)
802 %{?with_interbase_inst:Autoreq: false}
804 %description interbase
805 This is a dynamic shared object (DSO) for PHP that will add InterBase
806 and Firebird database support.
808 %description interbase -l pl.UTF-8
809 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
812 Summary: Internationalization extension (ICU wrapper)
813 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (wrapper ICU)
815 URL: http://www.php.net/intl
816 Requires: %{name}-common = %{epoch}:%{version}-%{release}
820 Internationalization extension (further is referred as Intl) is a
821 wrapper for ICU library, enabling PHP programmers to perform
822 UCA-conformant collation and date/time/number/currency formatting in
825 %description intl -l pl.UTF-8
826 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
827 wrapperem biblioteki ICU, pozwalającym programistom PHP na wykonywanie
828 w skryptach porównań zdgodnych z UCA oraz formatowań daty/czasu/walut.
831 Summary: PHP C extension for JSON serialization
832 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
834 URL: http://www.php.net/manual/en/book.json.php
835 Requires: %{name}-common = %{epoch}:%{version}-%{release}
837 Obsoletes: php-pecl-json
840 php-json is an extremely fast PHP C extension for JSON (JavaScript
841 Object Notation) serialisation.
843 %description json -l pl.UTF-8
844 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
845 (JavaScript Object Notation).
848 Summary: LDAP extension module for PHP
849 Summary(pl.UTF-8): Moduł LDAP dla PHP
850 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
852 URL: http://www.php.net/manual/en/book.ldap.php
853 Requires: %{name}-common = %{epoch}:%{version}-%{release}
857 This is a dynamic shared object (DSO) for PHP that will add LDAP
860 %description ldap -l pl.UTF-8
861 Moduł PHP dodający obsługę LDAP.
863 %description ldap -l pt_BR.UTF-8
864 Um módulo para aplicações PHP que usam LDAP.
867 Summary: mbstring extension module for PHP
868 Summary(pl.UTF-8): Moduł mbstring dla PHP
870 URL: http://www.php.net/manual/en/book.mbstring.php
871 Requires: %{name}-common = %{epoch}:%{version}-%{release}
872 Provides: php(mbstring)
874 %description mbstring
875 This is a dynamic shared object (DSO) for PHP that will add multibyte
878 %description mbstring -l pl.UTF-8
879 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
882 Summary: mcrypt extension module for PHP
883 Summary(pl.UTF-8): Moduł mcrypt dla PHP
885 URL: http://www.php.net/manual/en/book.mcrypt.php
886 Requires: %{name}-common = %{epoch}:%{version}-%{release}
887 Provides: php(mcrypt)
890 This is a dynamic shared object (DSO) for PHP that will add mcrypt
893 %description mcrypt -l pl.UTF-8
894 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
897 Summary: MS SQL extension module for PHP
898 Summary(pl.UTF-8): Moduł MS SQL dla PHP
900 URL: http://www.php.net/manual/en/book.mssql.php
901 Requires: %{name}-common = %{epoch}:%{version}-%{release}
905 This is a dynamic shared object (DSO) for PHP that will add MS SQL
906 databases support through FreeTDS library.
908 %description mssql -l pl.UTF-8
909 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
913 Summary: MySQL database module for PHP
914 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
915 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
917 URL: http://www.php.net/manual/en/book.mysql.php
918 Requires: %{name}-common = %{epoch}:%{version}-%{release}
922 This is a dynamic shared object (DSO) for PHP that will add MySQL
925 %description mysql -l pl.UTF-8
926 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
928 %description mysql -l pt_BR.UTF-8
929 Um módulo para aplicações PHP que usam bancos de dados MySQL.
932 Summary: MySQLi module for PHP
933 Summary(pl.UTF-8): Moduł MySQLi dla PHP
935 URL: http://www.php.net/manual/en/book.mysqli.php
936 Requires: %{name}-common = %{epoch}:%{version}-%{release}
937 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
938 Provides: php(mysqli)
941 This is a dynamic shared object (DSO) for PHP that will add MySQLi
942 (Improved MySQL) support. The difference between it and mysql module
943 is that it provides access to functionality of MySQL 4.1 and above.
945 %description mysqli -l pl.UTF-8
946 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
947 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
948 MySQL w wersji 4.1 i nowszych.
951 Summary: Oracle 8+ database module for PHP
952 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
954 URL: http://www.php.net/manual/en/book.oci8.php
955 Requires: %{name}-common = %{epoch}:%{version}-%{release}
960 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
961 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
963 %description oci8 -l pl.UTF-8
964 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
965 poprzez interfejs Oracle8 Call-Interface (OCI8).
968 Summary: ODBC extension module for PHP
969 Summary(pl.UTF-8): Moduł ODBC dla PHP
970 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
972 URL: http://www.php.net/manual/en/book.uodbc.php
973 Requires: %{name}-common = %{epoch}:%{version}-%{release}
974 Requires: unixODBC >= 2.1.1-3
978 This is a dynamic shared object (DSO) for PHP that will add ODBC
981 %description odbc -l pl.UTF-8
982 Moduł PHP ze wsparciem dla ODBC.
984 %description odbc -l pt_BR.UTF-8
985 Um módulo para aplicações PHP que usam ODBC.
988 Summary: OpenSSL extension module for PHP
989 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
991 URL: http://www.php.net/manual/en/book.openssl.php
992 Requires: %{name}-common = %{epoch}:%{version}-%{release}
993 Provides: php(openssl)
996 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
999 %description openssl -l pl.UTF-8
1000 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1003 Summary: Process Control extension module for PHP
1004 Summary(pl.UTF-8): Moduł Process Control dla PHP
1006 URL: http://www.php.net/manual/en/book.pcntl.php
1007 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1008 Provides: php(pcntl)
1011 This is a dynamic shared object (DSO) for PHP that will add process
1012 spawning and control support. It supports functions like fork(),
1013 waitpid(), signal() etc.
1015 %description pcntl -l pl.UTF-8
1016 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1017 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1020 Summary: PCRE extension module for PHP
1021 Summary(pl.UTF-8): Moduł PCRE dla PHP
1023 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1027 This is a dynamic shared object (DSO) for PHP that will add Perl
1028 Compatible Regular Expression support.
1030 %description pcre -l pl.UTF-8
1031 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1032 (Perl Compatible Regular Expressions)
1035 Summary: PHP Data Objects (PDO)
1036 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1038 URL: http://www.php.net/manual/en/book.pdo.php
1039 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1040 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1042 Obsoletes: php-pecl-PDO
1045 This is a dynamic shared object (DSO) for PHP that will add PDO
1048 %description pdo -l pl.UTF-8
1049 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1052 Summary: PHP Data Objects (PDO) FreeTDS support
1053 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1055 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1056 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1057 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1058 Provides: php(dblib)
1060 %description pdo-dblib
1061 This is a dynamic shared object (DSO) for PHP that will add PDO
1064 %description pdo-dblib -l pl.UTF-8
1065 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1068 %package pdo-firebird
1069 Summary: PHP Data Objects (PDO) Firebird support
1070 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1072 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1073 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1074 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1075 Provides: php(pdo-firebird)
1076 Obsoletes: php-pecl-PDO_FIREBIRD
1078 %description pdo-firebird
1079 This is a dynamic shared object (DSO) for PHP that will add PDO
1082 %description pdo-firebird -l pl.UTF-8
1083 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1087 Summary: PHP Data Objects (PDO) MySQL support
1088 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1090 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1091 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1092 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1093 Provides: php(pdo-mysql)
1094 Obsoletes: php-pecl-PDO_MYSQL
1096 %description pdo-mysql
1097 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1100 %description pdo-mysql -l pl.UTF-8
1101 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1105 Summary: PHP Data Objects (PDO) Oracle support
1106 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1108 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1109 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1110 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1111 Provides: php(pdo-oci)
1112 Obsoletes: php-pecl-PDO_OCI
1114 %description pdo-oci
1115 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1118 %description pdo-oci -l pl.UTF-8
1119 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1123 Summary: PHP Data Objects (PDO) ODBC support
1124 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1126 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1127 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1128 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1129 Provides: php(pdo-odbc)
1130 Obsoletes: php-pecl-PDO_ODBC
1132 %description pdo-odbc
1133 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1136 %description pdo-odbc -l pl.UTF-8
1137 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1141 Summary: PHP Data Objects (PDO) PostgreSQL support
1142 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1144 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1145 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1146 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1147 Provides: php(pdo-pgsql)
1148 Provides: php-pecl-PDO_PGSQL
1149 Obsoletes: php-pecl-PDO_PGSQL
1151 %description pdo-pgsql
1152 This is a dynamic shared object (DSO) for PHP that will add PDO
1155 %description pdo-pgsql -l pl.UTF-8
1156 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1160 Summary: PHP Data Objects (PDO) SQLite support
1161 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1163 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1164 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1165 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1166 Provides: php(pdo-sqlite)
1167 Obsoletes: php-pecl-PDO_SQLITE
1169 %description pdo-sqlite
1170 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1173 %description pdo-sqlite -l pl.UTF-8
1174 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1178 Summary: PostgreSQL database module for PHP
1179 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1181 URL: http://www.php.net/manual/en/book.pgsql.php
1182 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1183 Provides: php(pgsql)
1186 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1189 %description pgsql -l pl.UTF-8
1190 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1192 %description pgsql -l pt_BR.UTF-8
1193 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1196 Summary: phar database module for PHP
1197 Summary(pl.UTF-8): Moduł phar dla PHP
1199 URL: http://www.php.net/manual/en/book.phar.php
1200 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1201 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1205 This is a dynamic shared object (DSO) for PHP that will add phar
1208 %description phar -l pl.UTF-8
1209 Moduł PHP umożliwiający dostęp do achiwów .phar.
1212 Summary: POSIX extension module for PHP
1213 Summary(pl.UTF-8): Moduł POSIX dla PHP
1215 URL: http://www.php.net/manual/en/book.posix.php
1216 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1217 Provides: php(posix)
1220 This is a dynamic shared object (DSO) for PHP that will add POSIX
1221 functions support to PHP.
1223 %description posix -l pl.UTF-8
1224 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1227 Summary: pspell extension module for PHP
1228 Summary(pl.UTF-8): Moduł pspell dla PHP
1230 URL: http://www.php.net/manual/en/book.pspell.php
1231 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1232 Provides: php(pspell)
1235 This is a dynamic shared object (DSO) for PHP that will add pspell
1236 support to PHP. It allows to check the spelling of a word and offer
1239 %description pspell -l pl.UTF-8
1240 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1241 sprawdzanie pisowni słowa i sugerowanie poprawek.
1244 Summary: readline extension module for PHP
1245 Summary(pl.UTF-8): Moduł readline dla PHP
1247 URL: http://www.php.net/manual/en/book.readline.php
1248 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1249 Provides: php(readline)
1251 %description readline
1252 This PHP module adds support for readline functions (only for cli and
1255 %description readline -l pl.UTF-8
1256 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1259 Summary: recode extension module for PHP
1260 Summary(pl.UTF-8): Moduł recode dla PHP
1262 URL: http://www.php.net/manual/en/book.recode.php
1263 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1264 Requires: recode >= 3.5d-3
1265 Provides: php(recode)
1268 This is a dynamic shared object (DSO) for PHP that will add recode
1271 %description recode -l pl.UTF-8
1272 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1276 Summary: session extension module for PHP
1277 Summary(pl.UTF-8): Moduł session dla PHP
1279 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1280 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1281 Provides: php(session)
1283 %description session
1284 This is a dynamic shared object (DSO) for PHP that will add session
1287 %description session -l pl.UTF-8
1288 Moduł PHP dodający obsługę sesji.
1291 Summary: Shared Memory Operations extension module for PHP
1292 Summary(pl.UTF-8): Moduł shmop dla PHP
1294 URL: http://www.php.net/manual/en/book.shmop.php
1295 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1296 Provides: php(shmop)
1299 This is a dynamic shared object (DSO) for PHP that will add Shared
1300 Memory Operations support.
1302 %description shmop -l pl.UTF-8
1303 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1306 Summary: Simple XML extension module for PHP
1307 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1309 URL: http://www.php.net/manual/en/book.simplexml.php
1310 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1311 Provides: php(simplexml)
1313 %description simplexml
1314 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1317 %description simplexml -l pl.UTF-8
1318 Moduł PHP dodający obsługę prostego XML-a.
1321 Summary: SNMP extension module for PHP
1322 Summary(pl.UTF-8): Moduł SNMP dla PHP
1324 URL: http://www.php.net/manual/en/book.snmp.php
1325 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1326 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1330 This is a dynamic shared object (DSO) for PHP that will add SNMP
1333 %description snmp -l pl.UTF-8
1334 Moduł PHP dodający obsługę SNMP.
1337 Summary: soap extension module for PHP
1338 Summary(pl.UTF-8): Moduł soap dla PHP
1340 URL: http://www.php.net/manual/en/book.soap.php
1341 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1345 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1348 %description soap -l pl.UTF-8
1349 Moduł PHP dodający obsługę SOAP/WSDL.
1352 Summary: sockets extension module for PHP
1353 Summary(pl.UTF-8): Moduł socket dla PHP
1355 URL: http://www.php.net/manual/en/book.sockets.php
1356 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1357 Provides: php(sockets)
1359 %description sockets
1360 This is a dynamic shared object (DSO) for PHP that will add sockets
1363 %description sockets -l pl.UTF-8
1364 Moduł PHP dodający obsługę gniazdek.
1367 Summary: Standard PHP Library module for PHP
1368 Summary(pl.UTF-8): Moduł SPL dla PHP
1370 URL: http://php.net/manual/en/book.spl.php
1371 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1372 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1373 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1377 This is a dynamic shared object (DSO) for PHP that will add Standard
1378 PHP Library support.
1380 %description spl -l pl.UTF-8
1381 Moduł PHP dodający obsługę gniazdek.
1384 Summary: SQLite extension module for PHP
1385 Summary(pl.UTF-8): Moduł SQLite dla PHP
1387 URL: http://www.php.net/manual/en/book.sqlite.php
1388 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1389 Suggests: %{name}-pdo = %{epoch}:%{version}-%{release}
1390 Suggests: %{name}-spl = %{epoch}:%{version}-%{release}
1391 Provides: php(sqlite)
1394 SQLite is a C library that implements an embeddable SQL database
1395 engine. Programs that link with the SQLite library can have SQL
1396 database access without running a separate RDBMS process.
1398 SQLite is not a client library used to connect to a big database
1399 server. SQLite is the server. The SQLite library reads and writes
1400 directly to and from the database files on disk.
1402 %description sqlite -l pl.UTF-8
1403 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1404 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1405 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1408 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1409 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1410 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1414 Summary: SQLite3 extension module for PHP
1415 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1417 URL: http://php.net/manual/en/book.sqlite3.php
1418 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1419 Provides: php(sqlite3)
1421 %description sqlite3
1422 SQLite is a C library that implements an embeddable SQL database
1423 engine. Programs that link with the SQLite library can have SQL
1424 database access without running a separate RDBMS process.
1426 SQLite is not a client library used to connect to a big database
1427 server. SQLite is the server. The SQLite library reads and writes
1428 directly to and from the database files on disk.
1430 %description sqlite3 -l pl.UTF-8
1431 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1432 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1433 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1436 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1437 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1438 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1442 Summary: Sybase-CT extension module for PHP
1443 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1445 URL: http://www.php.net/manual/en/book.sybase.php
1446 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1447 Provides: php(sybase-ct)
1448 Obsoletes: php-sybase
1449 Conflicts: php-sybase
1451 %description sybase-ct
1452 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1453 MS SQL databases support through CT-lib.
1455 %description sybase-ct -l pl.UTF-8
1456 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1460 Summary: SysV msg extension module for PHP
1461 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1463 URL: http://www.php.net/manual/en/book.sem.php
1464 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1465 Provides: php(sysvmsg)
1467 %description sysvmsg
1468 This is a dynamic shared object (DSO) for PHP that will add SysV
1469 message queues support.
1471 %description sysvmsg -l pl.UTF-8
1472 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1475 Summary: SysV sem extension module for PHP
1476 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1478 URL: http://www.php.net/manual/en/book.sem.php
1479 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1480 Provides: php(sysvsem)
1482 %description sysvsem
1483 This is a dynamic shared object (DSO) for PHP that will add SysV
1486 %description sysvsem -l pl.UTF-8
1487 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1490 Summary: SysV shm extension module for PHP
1491 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1493 URL: http://www.php.net/manual/en/book.shmop.php
1494 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1495 Provides: php(sysvshm)
1497 %description sysvshm
1498 This is a dynamic shared object (DSO) for PHP that will add SysV
1499 Shared Memory support.
1501 %description sysvshm -l pl.UTF-8
1502 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1505 Summary: Contains unit test files for PHP and extensions
1506 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1508 URL: http://qa.php.net/
1509 Requires: %{name}-cli
1512 This package contains unit tests for PHP and it's extensions.
1514 %description tests -l pl.UTF-8
1515 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1518 Summary: Tidy extension module for PHP
1519 Summary(pl.UTF-8): Moduł Tidy dla PHP
1521 URL: http://www.php.net/manual/en/book.tidy.php
1522 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1527 This is a dynamic shared object (DSO) for PHP that will add Tidy
1530 %description tidy -l pl.UTF-8
1531 Moduł PHP umożliwiający korzystanie z tidy.
1534 Summary: tokenizer extension module for PHP
1535 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1537 URL: http://www.php.net/manual/en/book.tokenizer.php
1538 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1539 Provides: php(tokenizer)
1541 %description tokenizer
1542 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1545 %description tokenizer -l pl.UTF-8
1546 Moduł PHP dodający obsługę tokenizera do PHP.
1549 Summary: wddx extension module for PHP
1550 Summary(pl.UTF-8): Moduł wddx dla PHP
1552 URL: http://www.php.net/manual/en/book.wddx.php
1553 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1554 Requires: %{name}-session = %{epoch}:%{version}-%{release}
1555 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1559 This is a dynamic shared object (DSO) for PHP that will add wddx
1562 %description wddx -l pl.UTF-8
1563 Moduł PHP umożliwiający korzystanie z wddx.
1566 Summary: XML extension module for PHP
1567 Summary(pl.UTF-8): Moduł XML dla PHP
1569 URL: http://www.php.net/manual/en/book.xml.php
1570 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1574 This is a dynamic shared object (DSO) for PHP that will add XML
1575 support. This extension lets you create XML parsers and then define
1576 handlers for different XML events.
1578 %description xml -l pl.UTF-8
1579 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1580 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1581 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1584 Summary: XML Reader extension module for PHP
1585 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1587 URL: http://www.php.net/manual/en/book.xmlreader.php
1588 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1589 Suggests: %{name}-dom = %{epoch}:%{version}-%{release}
1590 Provides: php(xmlreader)
1592 %description xmlreader
1593 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1594 support. The XMLReader extension is an XML Pull parser. The reader
1595 acts as a cursor going forward on the document stream and stopping at
1596 each node on the way.
1598 %description xmlreader -l pl.UTF-8
1599 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1600 działa jako kursor przechodzący przez strumień dokumentu i
1601 zatrzymujący się na każdym węźle po drodze.
1604 Summary: xmlrpc extension module for PHP
1605 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1607 URL: http://www.php.net/manual/en/book.xmlrpc.php
1608 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1609 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1610 Provides: php(xmlrpc)
1613 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1616 %description xmlrpc -l pl.UTF-8
1617 Moduł PHP dodający obsługę XMLRPC.
1620 Summary: Fast, non-cached, forward-only means to write XML data
1621 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1623 URL: http://www.php.net/manual/en/book.xmlwriter.php
1624 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1625 Provides: php(xmlwriter)
1626 Obsoletes: php-pecl-xmlwriter
1628 %description xmlwriter
1629 This extension wraps the libxml xmlWriter API. Represents a writer
1630 that provides a non-cached, forward-only means of generating streams
1631 or files containing XML data.
1633 %description xmlwriter -l pl.UTF-8
1634 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1635 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1636 plików zawierających dane XML.
1639 Summary: xsl extension module for PHP
1640 Summary(pl.UTF-8): Moduł xsl dla PHP
1642 URL: http://www.php.net/manual/en/book.xsl.php
1643 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1644 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1645 Requires: libxslt >= 1.0.18
1646 # actually not true, functionality is similar, but API differs
1648 Obsoletes: php-xslt <= 3:4.3.8-1
1651 This is a dynamic shared object (DSO) for PHP that will add new XSL
1652 support (using libxslt).
1654 %description xsl -l pl.UTF-8
1655 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1658 Summary: Zip management extension
1659 Summary(pl.UTF-8): Zarządzanie archiwami zip
1661 URL: http://www.php.net/manual/en/book.zip.php
1662 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1664 Obsoletes: php-pecl-zip
1667 Zip is an extension to create, modify and read zip files.
1669 %description zip -l pl.UTF-8
1670 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1671 odczyt archiwów zip.
1674 Summary: Zlib extension module for PHP
1675 Summary(pl.UTF-8): Moduł zlib dla PHP
1677 URL: http://www.php.net/manual/en/book.zlib.php
1678 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1682 This is a dynamic shared object (DSO) for PHP that will add zlib
1683 compression support to PHP.
1685 %description zlib -l pl.UTF-8
1686 Moduł PHP umożliwiający używanie kompresji zlib.
1690 # prep for suhosin patch
1691 %{__sed} -i -e 's,\r$,,' Zend/Zend.dsp Zend/ZendTS.dsp
1702 cp php.ini-production php.ini
1704 %if %{with type_hints}
1711 %if %{with system_gd}
1738 # cleanup backups after patching
1739 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
1741 # conflict seems to be resolved by recode patches
1742 rm -f ext/recode/config9.m4
1744 # remove all bundled libraries not to link with them accidentally
1745 #rm -rf ext/sqlite/libsqlite
1746 rm -rf ext/sqlite3/libsqlite
1747 #rm -rf ext/bcmath/libbcmath
1748 #rm -rf ext/date/lib
1749 #rm -rf ext/dba/libcdb
1750 #rm -rf ext/dba/libflatfile
1751 #rm -rf ext/dba/libinifile
1752 #rm -rf ext/gd/libgd
1753 #rm -rf ext/mbstring/libmbfl
1754 #rm -rf ext/mbstring/oniguruma
1755 rm -rf ext/pcre/pcrelib
1756 rm -rf ext/pdo_sqlite/sqlite
1757 #rm -rf ext/soap/interop
1758 rm -rf ext/xmlrpc/libxmlrpc
1760 cp -af Zend/LICENSE{,.Zend}
1763 sed -i -e 's#-fvisibility=hidden##g' configure*
1766 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
1767 if [ $API != %{php_api_version} ]; then
1768 echo "Set %%define php_api_version to $API and re-run."
1772 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
1773 if [ $API != %{zend_module_api} ]; then
1774 echo "Set %%define zend_module_api to $API and re-run."
1778 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
1779 if [ $API != %{zend_extension_api} ]; then
1780 echo "Set %%define zend_extension_api to $API and re-run."
1784 export EXTENSION_DIR="%{php_extensiondir}"
1785 # configure once (for faster debugging purposes)
1786 if [ ! -f _built-conf ]; then
1787 # now remove Makefile copies
1788 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs{1,2}}
1791 cp -f /usr/share/automake/config.* .
1795 export PROG_SENDMAIL="/usr/lib/sendmail"
1796 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP"
1810 for sapi in $sapis; do
1812 # skip if already configured (for faster debugging purposes)
1813 [ -f Makefile.$sapi ] && continue
1818 sapi_args='--disable-cli'
1821 sapi_args='--disable-cgi'
1824 sapi_args='--disable-cli --with-fpm'
1827 ver=$(rpm -q --qf '%{V}' apache1-devel)
1828 sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
1831 ver=$(rpm -q --qf '%{V}' apache-devel)
1832 sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
1838 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1839 --cache-file=config.cache \
1841 --with-libdir=%{_lib} \
1842 --with-config-file-path=%{_sysconfdir} \
1843 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1844 --with-exec-dir=%{_bindir} \
1845 --%{!?debug:dis}%{?debug:en}able-debug \
1846 %{?with_zts:--enable-maintainer-zts} \
1847 --enable-inline-optimization \
1848 --enable-bcmath=shared \
1849 --enable-calendar=shared \
1850 --enable-ctype=shared \
1851 --enable-dba=shared \
1852 --enable-dom=shared \
1853 --enable-exif=shared \
1854 --enable-fileinfo=shared \
1855 --enable-ftp=shared \
1856 --enable-gd-native-ttf \
1857 --enable-intl=shared \
1859 --enable-magic-quotes \
1860 --enable-mbstring=shared,all \
1862 --enable-pcntl=shared \
1863 --enable-pdo=shared \
1864 --enable-json=shared \
1865 --enable-hash=shared \
1866 --enable-xmlwriter=shared \
1868 --with-libevent=shared \
1869 --with-fpm-conf=%{_sysconfdir}/fpm.conf \
1870 --with-fpm-log=/var/log/fpm.log \
1871 --with-fpm-pid=/var/run/php/fpm.pid \
1872 --with-fpm-port=9000 \
1873 --with-fpm-user=http \
1874 --with-fpm-group=http \
1876 %if %{with mssql} || %{with sybase_ct}
1877 --with-pdo-dblib=shared \
1879 %if %{with interbase} && %{without interbase_inst}
1880 --with-pdo-firebird=shared,/usr \
1882 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1883 --with-pdo-mysql=shared,mysqlnd \
1884 %{?with_oci8:--with-pdo-oci=shared} \
1885 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1886 %{?with_pgsql:--with-pdo-pgsql=shared} \
1887 %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
1888 --without-libexpat-dir \
1889 --enable-mysqlnd-threading \
1890 --enable-posix=shared \
1892 --enable-session=shared \
1893 --enable-shmop=shared \
1894 --enable-simplexml=shared \
1895 --enable-spl=shared \
1896 --enable-sysvmsg=shared \
1897 --enable-sysvsem=shared \
1898 --enable-sysvshm=shared \
1899 --enable-safe-mode \
1900 --enable-soap=shared \
1901 --enable-sockets=shared \
1902 --enable-tokenizer=shared \
1903 --enable-ucd-snmp-hack \
1904 %{?with_wddx:--enable-wddx=shared} \
1905 --enable-xml=shared \
1906 --enable-xmlreader=shared \
1908 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1910 %{?with_fdf:--with-fdftk=shared} \
1911 --with-iconv=shared \
1912 --with-freetype-dir=shared \
1913 --with-gettext=shared \
1914 --with-gd=shared%{?with_system_gd:,/usr} \
1917 %{?with_imap:--with-imap=shared --with-imap-ssl} \
1918 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1919 --with-jpeg-dir=/usr \
1920 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1921 --with-mcrypt=shared \
1922 %{?with_mm:--with-mm} \
1923 %{?with_mssql:--with-mssql=shared} \
1924 --with-mysql=shared,mysqlnd \
1925 %{?with_mysqli:--with-mysqli=shared,mysqlnd} \
1926 %{?with_oci8:--with-oci8=shared} \
1927 %{?with_openssl:--with-openssl=shared} \
1929 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=/usr} \
1930 %{!?with_filter:--disable-filter}%{?with_filter:--enable-filter=shared} \
1931 --with-pear=%{php_pear_dir} \
1932 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1933 %{!?with_phar:--disable-phar}%{?with_phar:--enable-phar=shared} \
1934 --with-png-dir=/usr \
1935 %{?with_pspell:--with-pspell=shared} \
1936 --with-readline=shared \
1937 %{?with_recode:--with-recode=shared} \
1938 --with-regex=system \
1939 %{?with_snmp:--with-snmp=shared} \
1940 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1941 %{!?with_sqlite:--without-sqlite --without-pdo-sqlite}%{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1942 %{!?with_sqlite3:--without-sqlite3}%{?with_sqlite3:--with-sqlite3=shared,/usr} \
1943 --with-t1lib=shared \
1944 %{?with_tidy:--with-tidy=shared} \
1945 %{?with_odbc:--with-unixODBC=shared,/usr} \
1946 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1948 --with-zlib=shared \
1949 --with-zlib-dir=shared,/usr \
1950 --enable-zip=shared,/usr \
1953 cp -f Makefile Makefile.$sapi
1954 cp -f main/php_config.h php_config.h.$sapi
1955 cp -f config.log config.log.$sapi
1958 # as we build each SAPI in own make, adjust php-config.in forehead
1959 sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | xargs)
1960 sed -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in"
1962 # must make libphp_common first, so modules can link against it.
1963 %{__make} libphp_common.la
1964 %{__make} build-modules
1967 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1971 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1975 cp -af php_config.h.cgi-fcgi main/php_config.h
1976 %{__make} -f Makefile.cgi-fcgi
1977 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = cgi-fcgi ] || exit 1
1980 cp -af php_config.h.cli main/php_config.h
1981 %{__make} -f Makefile.cli
1982 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = cli ] || exit 1
1985 cp -af php_config.h.fpm main/php_config.h
1986 %{__make} -f Makefile.fpm
1987 ./sapi/fpm/php-fpm -qn -m > /dev/null
1991 # Run tests, using the CLI SAPI
1992 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
1993 unset TZ LANG LC_ALL || :
1995 unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
1999 rm -rf $RPM_BUILD_ROOT
2000 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2001 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2002 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2003 $RPM_BUILD_ROOT%{_mandir}/man1 \
2005 # install the apache modules' files
2006 %{__make} install-headers install-build install-modules install-programs \
2007 INSTALL_ROOT=$RPM_BUILD_ROOT
2009 # install apache1 DSO module
2011 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2014 # install apache2 DSO module
2016 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2019 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2020 # fix install paths, avoid evil rpaths
2021 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2023 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
2026 libtool --silent --mode=install install sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.cgi
2027 ln -sf php.cgi $RPM_BUILD_ROOT%{_bindir}/php.fcgi
2031 libtool --silent --mode=install install sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_bindir}/php.fpm
2032 cp -a sapi/fpm/php-fpm.1 $RPM_BUILD_ROOT%{_mandir}/man1/php-fpm.1
2033 cp -a sapi/fpm/php_fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}/fpm.conf
2034 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2035 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/php-fpm
2036 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2037 cp -a %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/php-fpm
2041 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
2042 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
2043 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
2044 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
2046 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2048 install -d $RPM_BUILD_ROOT%{_sysconfdir}
2049 cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2050 cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2051 cp -a %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini
2054 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2055 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2056 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2060 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2061 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2062 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2065 # Generate stub .ini files for each subpackage
2066 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2067 generate_inifiles() {
2068 for so in modules/*.so; do
2069 mod=$(basename $so .so)
2070 conf="%{_sysconfdir}/conf.d/$mod.ini"
2071 # xml needs to be loaded before wddx
2072 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_$mod.ini"
2073 # pre needs to be loaded before SPL
2074 [ "$mod" = "pcre" ] && conf="%{_sysconfdir}/conf.d/PCRE.ini"
2075 # spl needs to be loaded before mysqli
2076 [ "$mod" = "spl" ] && conf="%{_sysconfdir}/conf.d/SPL.ini"
2078 cat > $RPM_BUILD_ROOT$conf <<-EOF
2079 ; Enable $mod extension module
2086 # per SAPI ini directories
2087 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2090 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{pcntl,readline}.ini,cli.d}
2092 # use system automake and {lib,sh}tool
2093 %if "%{pld_release}" != "ac"
2094 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
2095 for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2096 ln -snf %{_aclocaldir}/${i} $RPM_BUILD_ROOT%{_libdir}/php/build
2098 ln -snf %{_datadir}/libtool/config/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2100 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
2101 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2103 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
2105 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
2106 # isn't installed by install-headers make target, we do it manually here.
2107 # this header file is required by e.g. filter PECL extension
2108 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
2109 # for php-pecl-mailparse
2110 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2111 cp -a ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2114 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2115 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2116 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2119 rm -rf $RPM_BUILD_ROOT
2121 %post -n apache1-mod_php
2122 if [ "$1" = "1" ]; then
2123 %service -q apache restart
2126 %postun -n apache1-mod_php
2127 if [ "$1" = "0" ]; then
2128 %service -q apache restart
2131 %post -n apache-mod_php
2132 if [ "$1" = "1" ]; then
2133 %service -q httpd restart
2136 %postun -n apache-mod_php
2137 if [ "$1" = "0" ]; then
2138 %service -q httpd restart
2142 /sbin/chkconfig --add php-fpm
2143 %service php-fpm restart
2146 if [ "$1" = 0 ]; then
2147 %service php-fpm stop
2148 /sbin/chkconfig --del php-fpm
2151 %post common -p /sbin/ldconfig
2152 %postun common -p /sbin/ldconfig
2155 # minimizing apache restarts logics. we restart webserver:
2157 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2158 # 2. first install of extension (post: $1 = 1)
2159 # 2. uninstall of extension (postun: $1 == 0)
2161 # the strict internal deps between extensions (and apache modules) and
2162 # common package are very important for all this to work.
2164 # restart webserver at the end of transaction
2165 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2166 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2169 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
2171 /^AddType application\/x-httpd-php \.php/s,^,#,
2172 /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
2173 ' /etc/apache/apache.conf
2174 %service -q apache restart
2178 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
2179 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
2180 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
2181 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
2182 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2186 # common macros called at extension post/postun scriptlet
2187 %define extension_scripts() \
2189 if [ "$1" = "1" ]; then \
2190 %php_webserver_restart \
2194 if [ "$1" = "0" ]; then \
2195 %php_webserver_restart \
2199 # extension scripts defines
2200 %extension_scripts bcmath
2201 %extension_scripts bzip2
2202 %extension_scripts calendar
2203 %extension_scripts ctype
2204 %extension_scripts curl
2205 %extension_scripts dba
2206 %extension_scripts dom
2207 %extension_scripts exif
2208 %extension_scripts fdf
2209 %extension_scripts fileinfo
2210 %extension_scripts filter
2211 %extension_scripts ftp
2212 %extension_scripts gd
2213 %extension_scripts gettext
2214 %extension_scripts gmp
2215 %extension_scripts hash
2216 %extension_scripts iconv
2217 %extension_scripts imap
2218 %extension_scripts interbase
2219 %extension_scripts intl
2220 %extension_scripts json
2221 %extension_scripts ldap
2222 %extension_scripts mbstring
2223 %extension_scripts mcrypt
2224 %extension_scripts mssql
2225 %extension_scripts mysql
2226 %extension_scripts mysqli
2227 %extension_scripts oci8
2228 %extension_scripts odbc
2229 %extension_scripts openssl
2230 %extension_scripts pcre
2231 %extension_scripts pdo-dblib
2232 %extension_scripts pdo-firebird
2233 %extension_scripts pdo-mysql
2234 %extension_scripts pdo-odbc
2235 %extension_scripts pdo-pgsql
2236 %extension_scripts pdo-sqlite
2237 %extension_scripts pgsql
2238 %extension_scripts phar
2239 %extension_scripts posix
2240 %extension_scripts pspell
2241 %extension_scripts recode
2242 %extension_scripts session
2243 %extension_scripts shmop
2244 %extension_scripts snmp
2245 %extension_scripts soap
2246 %extension_scripts sockets
2247 %extension_scripts spl
2248 %extension_scripts sqlite
2249 %extension_scripts sqlite3
2250 %extension_scripts sybase-ct
2251 %extension_scripts sysvmsg
2252 %extension_scripts sysvsem
2253 %extension_scripts sysvshm
2254 %extension_scripts tidy
2255 %extension_scripts tokenizer
2256 %extension_scripts wddx
2257 %extension_scripts xml
2258 %extension_scripts xmlreader
2259 %extension_scripts xmlrpc
2260 %extension_scripts xmlwriter
2261 %extension_scripts xsl
2262 %extension_scripts zip
2263 %extension_scripts zlib
2265 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2266 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2268 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2269 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bzip2\.so/d' %{_sysconfdir}/php.ini
2271 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2272 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2274 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2275 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2277 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2278 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2280 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2281 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2283 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2284 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini
2286 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2287 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2289 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2290 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2292 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2293 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2295 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2296 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2298 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2299 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2301 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2302 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2304 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2305 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2307 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2308 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2310 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2311 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2313 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2314 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2316 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2317 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2319 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2320 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2322 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2323 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2325 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2326 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2328 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2329 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini
2331 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2332 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2334 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2335 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2337 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2338 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2340 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2341 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2342 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2344 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2345 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2348 %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1
2349 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcre\.so/d' %{_sysconfdir}/php.ini
2351 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2352 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2354 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2355 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2357 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2358 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2360 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2361 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2362 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2364 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2365 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2368 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2369 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2371 %triggerun session -- %{name}-session < 4:5.0.4-9.1
2372 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*session\.so/d' %{_sysconfdir}/php.ini
2374 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2375 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2377 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2378 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2380 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2381 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini
2383 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2384 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2386 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2387 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini
2389 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2390 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini
2392 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2393 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2395 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2396 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2398 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2399 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2401 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2402 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini
2404 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2405 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2407 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2408 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2410 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2411 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2413 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2414 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini
2416 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2417 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2420 %files -n apache1-mod_php
2421 %defattr(644,root,root,755)
2422 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2423 %dir %{_sysconfdir}/apache.d
2424 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2425 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2429 %files -n apache-mod_php
2430 %defattr(644,root,root,755)
2431 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2432 %dir %{_sysconfdir}/apache2handler.d
2433 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2434 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2438 %defattr(644,root,root,755)
2439 %dir %{_sysconfdir}/cgi-fcgi.d
2440 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2441 %attr(755,root,root) %{_bindir}/php.cgi
2442 %attr(755,root,root) %{_bindir}/php.fcgi
2445 %defattr(644,root,root,755)
2446 %dir %{_sysconfdir}/cli.d
2447 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2448 %attr(755,root,root) %{_bindir}/php.cli
2449 %{_mandir}/man1/php.1*
2450 %{_mandir}/man1/php.cli.1*
2453 %defattr(644,root,root,755)
2454 %attr(755,root,root) %{_bindir}/php
2458 %defattr(644,root,root,755)
2459 %doc %lang(ru) sapi/fpm/readme-ru.markdown
2460 %doc sapi/fpm/nginx-site-conf.sample
2461 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.conf
2462 %attr(755,root,root) %{_bindir}/php.fpm
2463 %{_mandir}/man1/php-fpm.1*
2464 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/php-fpm
2465 %attr(754,root,root) /etc/rc.d/init.d/php-fpm
2469 %defattr(644,root,root,755)
2471 %doc CREDITS Zend/ZEND_CHANGES
2472 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2473 %doc README.PHP4-TO-PHP5-THIN-CHANGES
2474 %doc README.namespaces
2477 %dir %{_sysconfdir}/conf.d
2478 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2479 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2480 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2481 %dir %{php_extensiondir}
2483 %doc ext/session/mod_files.sh
2486 %defattr(644,root,root,755)
2487 %doc README.UNIX-BUILD-SYSTEM
2488 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2489 %doc CODING_STANDARDS README.EXTENSIONS README.PARAMETER_PARSING_API README.STREAMS
2490 %doc README.SUBMITTING_PATCH README.TESTING README.TESTING2
2491 %attr(755,root,root) %{_bindir}/phpize
2492 %attr(755,root,root) %{_bindir}/php-config
2493 %attr(755,root,root) %{_libdir}/libphp_common.so
2494 %{_libdir}/libphp_common.la
2496 %{_libdir}/php/build
2497 %{_mandir}/man1/php-config.1*
2498 %{_mandir}/man1/phpize.1*
2501 %defattr(644,root,root,755)
2502 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2503 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2506 %defattr(644,root,root,755)
2507 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2508 %attr(755,root,root) %{php_extensiondir}/bz2.so
2511 %defattr(644,root,root,755)
2512 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2513 %attr(755,root,root) %{php_extensiondir}/calendar.so
2516 %defattr(644,root,root,755)
2517 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2518 %attr(755,root,root) %{php_extensiondir}/ctype.so
2522 %defattr(644,root,root,755)
2523 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2524 %attr(755,root,root) %{php_extensiondir}/curl.so
2528 %defattr(644,root,root,755)
2529 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2530 %attr(755,root,root) %{php_extensiondir}/dba.so
2533 %defattr(644,root,root,755)
2534 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2535 %attr(755,root,root) %{php_extensiondir}/dom.so
2539 %defattr(644,root,root,755)
2540 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2541 %attr(755,root,root) %{php_extensiondir}/fdf.so
2545 %defattr(644,root,root,755)
2546 %doc README.input_filter
2547 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
2548 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
2552 %defattr(644,root,root,755)
2553 %doc README.input_filter
2554 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2555 %attr(755,root,root) %{php_extensiondir}/filter.so
2559 %defattr(644,root,root,755)
2560 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2561 %attr(755,root,root) %{php_extensiondir}/exif.so
2564 %defattr(644,root,root,755)
2565 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2566 %attr(755,root,root) %{php_extensiondir}/ftp.so
2569 %defattr(644,root,root,755)
2570 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2571 %attr(755,root,root) %{php_extensiondir}/gd.so
2574 %defattr(644,root,root,755)
2575 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2576 %attr(755,root,root) %{php_extensiondir}/gettext.so
2579 %defattr(644,root,root,755)
2580 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2581 %attr(755,root,root) %{php_extensiondir}/gmp.so
2584 %defattr(644,root,root,755)
2585 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2586 %attr(755,root,root) %{php_extensiondir}/hash.so
2589 %defattr(644,root,root,755)
2590 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2591 %attr(755,root,root) %{php_extensiondir}/iconv.so
2595 %defattr(644,root,root,755)
2596 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2597 %attr(755,root,root) %{php_extensiondir}/imap.so
2600 %if %{with interbase}
2602 %defattr(644,root,root,755)
2603 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2604 %attr(755,root,root) %{php_extensiondir}/interbase.so
2608 %defattr(644,root,root,755)
2609 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
2610 %attr(755,root,root) %{php_extensiondir}/intl.so
2613 %defattr(644,root,root,755)
2614 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
2615 %attr(755,root,root) %{php_extensiondir}/json.so
2619 %defattr(644,root,root,755)
2620 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2621 %attr(755,root,root) %{php_extensiondir}/ldap.so
2625 %defattr(644,root,root,755)
2626 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2627 %attr(755,root,root) %{php_extensiondir}/mbstring.so
2630 %defattr(644,root,root,755)
2631 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2632 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
2636 %defattr(644,root,root,755)
2637 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2638 %attr(755,root,root) %{php_extensiondir}/mssql.so
2642 %defattr(644,root,root,755)
2643 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2644 %attr(755,root,root) %{php_extensiondir}/mysql.so
2648 %defattr(644,root,root,755)
2649 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2650 %attr(755,root,root) %{php_extensiondir}/mysqli.so
2655 %defattr(644,root,root,755)
2656 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2657 %attr(755,root,root) %{php_extensiondir}/oci8.so
2662 %defattr(644,root,root,755)
2663 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2664 %attr(755,root,root) %{php_extensiondir}/odbc.so
2669 %defattr(644,root,root,755)
2670 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2671 %attr(755,root,root) %{php_extensiondir}/openssl.so
2675 %defattr(644,root,root,755)
2676 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2677 %attr(755,root,root) %{php_extensiondir}/pcntl.so
2681 %defattr(644,root,root,755)
2682 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
2683 %attr(755,root,root) %{php_extensiondir}/pcre.so
2687 %defattr(644,root,root,755)
2688 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2689 %attr(755,root,root) %{php_extensiondir}/pdo.so
2691 %if %{with mssql} || %{with sybase_ct}
2693 %defattr(644,root,root,755)
2694 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2695 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
2698 %if %{with interbase} && !%{with interbase_inst}
2700 %defattr(644,root,root,755)
2701 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2702 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
2706 %defattr(644,root,root,755)
2707 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2708 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
2712 %defattr(644,root,root,755)
2713 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2714 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
2719 %defattr(644,root,root,755)
2720 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2721 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
2726 %defattr(644,root,root,755)
2727 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2728 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
2733 %defattr(644,root,root,755)
2734 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2735 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
2740 %defattr(644,root,root,755)
2741 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2742 %attr(755,root,root) %{php_extensiondir}/pgsql.so
2747 %defattr(644,root,root,755)
2748 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
2749 %attr(755,root,root) %{php_extensiondir}/phar.so
2753 %defattr(644,root,root,755)
2754 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2755 %attr(755,root,root) %{php_extensiondir}/posix.so
2759 %defattr(644,root,root,755)
2760 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2761 %attr(755,root,root) %{php_extensiondir}/pspell.so
2765 %defattr(644,root,root,755)
2766 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2767 %attr(755,root,root) %{php_extensiondir}/readline.so
2771 %defattr(644,root,root,755)
2772 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2773 %attr(755,root,root) %{php_extensiondir}/recode.so
2777 %defattr(644,root,root,755)
2778 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2779 %attr(755,root,root) %{php_extensiondir}/simplexml.so
2782 %defattr(644,root,root,755)
2783 %doc ext/session/mod_files.sh
2784 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/session.ini
2785 %attr(755,root,root) %{php_extensiondir}/session.so
2788 %defattr(644,root,root,755)
2789 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2790 %attr(755,root,root) %{php_extensiondir}/shmop.so
2794 %defattr(644,root,root,755)
2795 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2796 %attr(755,root,root) %{php_extensiondir}/snmp.so
2800 %defattr(644,root,root,755)
2801 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2802 %attr(755,root,root) %{php_extensiondir}/soap.so
2805 %defattr(644,root,root,755)
2806 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2807 %attr(755,root,root) %{php_extensiondir}/sockets.so
2810 %defattr(644,root,root,755)
2811 %doc ext/spl/{CREDITS,README,TODO}
2812 %doc ext/spl/examples
2813 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
2814 %attr(755,root,root) %{php_extensiondir}/spl.so
2818 %defattr(644,root,root,755)
2819 %doc ext/sqlite/{README,TODO,CREDITS}
2820 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2821 %attr(755,root,root) %{php_extensiondir}/sqlite.so
2826 %defattr(644,root,root,755)
2827 %doc ext/sqlite3/CREDITS
2828 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
2829 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
2832 %if %{with sybase_ct}
2834 %defattr(644,root,root,755)
2835 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2836 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
2840 %defattr(644,root,root,755)
2841 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2842 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
2845 %defattr(644,root,root,755)
2846 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2847 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
2850 %defattr(644,root,root,755)
2851 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2852 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
2855 %defattr(644,root,root,755)
2856 %dir %{php_data_dir}/tests/php
2857 %{php_data_dir}/tests/php/basic
2858 %{php_data_dir}/tests/php/classes
2859 %{php_data_dir}/tests/php/func
2860 %{php_data_dir}/tests/php/lang
2861 %{php_data_dir}/tests/php/output
2862 %{php_data_dir}/tests/php/run-test
2863 %{php_data_dir}/tests/php/security
2864 %{php_data_dir}/tests/php/strings
2865 %{php_data_dir}/tests/php/quicktester.inc
2866 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
2870 %defattr(644,root,root,755)
2871 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2872 %attr(755,root,root) %{php_extensiondir}/tidy.so
2876 %defattr(644,root,root,755)
2877 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2878 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
2882 %defattr(644,root,root,755)
2883 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2884 %attr(755,root,root) %{php_extensiondir}/wddx.so
2888 %defattr(644,root,root,755)
2889 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
2890 %attr(755,root,root) %{php_extensiondir}/xml.so
2893 %defattr(644,root,root,755)
2894 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
2895 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
2899 %defattr(644,root,root,755)
2900 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
2901 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
2905 %defattr(644,root,root,755)
2906 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
2907 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
2910 %defattr(644,root,root,755)
2911 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
2912 %attr(755,root,root) %{php_extensiondir}/xsl.so
2915 %defattr(644,root,root,755)
2916 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
2917 %attr(755,root,root) %{php_extensiondir}/zip.so
2920 %defattr(644,root,root,755)
2921 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
2922 %attr(755,root,root) %{php_extensiondir}/zlib.so