3 # +Patch11: %{name}-acam.patch
4 # +Patch13: %{name}-tsrmlsfetchgcc2.patch
5 # +Patch16: %{name}-sybase-fix.patch
6 # +Patch26: %{name}-pear.patch
7 # +Patch28: %{name}-bug-42952.patch
8 # +Patch30: %{name}-apr-apu.patch
9 # +Patch31: %{name}-fcgi-error_log-no-newlines.patch
10 # +Patch32: %{name}-curl-limit-speed.patch
11 # +Patch33: %{name}-mime_magic.patch
12 # +Patch34: %{name}-libtool.patch
13 # +Patch36: %{name}-mysql-charsetphpini.patch
14 # +Patch37: %{name}-mysqli-charsetphpini.patch
15 # +Patch38: %{name}-pdo_mysql-charsetphpini.patch
16 # +Patch44: %{name}-include_path.patch
17 # +Patch45: %{name}-imap-annotations.patch
18 # +Patch46: %{name}-imap-myrights.patch
19 # - php CLI has safe mode enabled off the box
20 # - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere
21 # - removed from php 5.0 (currently in php4):
22 # db, hyperwave, java, mcal, overload, qtdom
23 # - removed from php 5.1:
25 # - removed from php 5.2:
27 # - removed from php 5.3:
28 # dbase, mime_magic, ming, ncurses, sybase
29 # - make additional headers and checking added by mail patch configurable
30 # - modularize standard (output from pure php -m)?
31 # - lib64 patch obsolete by $PHP_LIBDIR ?
32 # - move mysqlnd out of libphp-common.so, or link again with mysql-devel?
33 # - WARNING: Phar: sha256/sha512 signature support disabled if ext/hash is
34 # built shared, also PHAR_HAVE_OPENSSL is false if openssl is built shared.
35 # make it runtime dep and add Suggests (or php warning messages)
36 # - some mods should be shared:
47 %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary lib)
48 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
49 %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
50 %bcond_with system_gd # with system gd (we prefer internal since it enables few more features)
51 %bcond_without curl # without CURL extension module
52 %bcond_without filter # without filter extension module
53 %bcond_without imap # without IMAP extension module
54 %bcond_without interbase # without InterBase extension module
55 %bcond_without ldap # without LDAP extension module
56 %bcond_without mm # without mm support for session storage
57 %bcond_without mssql # without MS SQL extension module
58 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
59 %bcond_without odbc # without ODBC extension module
60 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
61 %bcond_without pcre # without PCRE extension module
62 %bcond_without pgsql # without PostgreSQL extension module
63 %bcond_without phar # without phar extension module
64 %bcond_without pspell # without pspell extension module
65 %bcond_without recode # without recode extension module
66 %bcond_without snmp # without SNMP extension module
67 %bcond_without sqlite # without SQLite extension module
68 %bcond_without sqlite3 # without SQLite3 extension module
69 %bcond_without sybase_ct # without Sybase-CT extension module
70 %bcond_without tidy # without Tidy extension module
71 %bcond_without wddx # without WDDX extension module
72 %bcond_without xmlrpc # without XML-RPC extension module
73 %bcond_without apache1 # disable building apache 1.3.x module
74 %bcond_without apache2 # disable building apache 2.x module
75 %bcond_without zts # disable Zend Thread Safety
76 %bcond_without fpm # fpm patches from http://www.php-fpm.org/
77 %bcond_without suhosin # with suhosin patch
78 %bcond_with tests # default off; test process very often hangs on builders; perform "make test"
79 %bcond_with type_hints # experimental support for strict typing/casting
81 %define apxs1 /usr/sbin/apxs1
82 %define apxs2 /usr/sbin/apxs
84 # some problems with apache 2.x
89 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha
90 # ppc disabled (broken on th-ppc)
91 %undefine with_interbase
94 %ifnarch %{ix86} %{x8664}
95 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
99 %if %{without apache1} && %{without apache2}
100 ERROR: You need to select at least one Apache SAPI to build shared modules.
103 # filter depends on pcre
105 %undefine with_filter
109 Summary: PHP: Hypertext Preprocessor
110 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
111 Summary(pl.UTF-8): Język skryptowy PHP
112 Summary(pt_BR.UTF-8): A linguagem de script PHP
113 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
114 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
117 Release: %{rel}%{?with_type_hints:th}
121 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
122 # Source0-md5: 63e97ad450f0f7259e785100b634c797
123 Source2: %{name}-mod_%{name}.conf
124 Source3: %{name}-cgi-fcgi.ini
125 Source4: %{name}-apache.ini
126 Source5: %{name}-cli.ini
127 # Taken from: http://browsers.garykeith.com/downloads.asp
128 Source9: %{name}_browscap.ini
129 Source10: %{name}-fpm.init
130 Source11: %{name}-fpm.logrotate
131 Patch0: %{name}-shared.patch
132 Patch1: %{name}-pldlogo.patch
133 Patch2: %{name}-mail.patch
134 Patch3: %{name}-link-libs.patch
135 Patch4: %{name}-libpq_fs_h_path.patch
136 Patch5: %{name}-filter-shared.patch
137 Patch6: %{name}-build_modules.patch
138 Patch7: %{name}-sapi-ini-file.patch
139 Patch8: %{name}-config-file-scan-dir.patch
140 Patch9: %{name}-sh.patch
141 Patch10: %{name}-ini.patch
142 %if %{with type_hints}
143 Patch12: http://ilia.ws/patch/type_hint_53_v2.txt
145 Patch14: %{name}-no_pear_install.patch
146 Patch15: %{name}-zlib.patch
147 Patch17: %{name}-readline.patch
148 Patch18: %{name}-nohttpd.patch
149 Patch19: %{name}-gd_imagerotate_enable.patch
150 Patch20: %{name}-uint32_t.patch
151 Patch21: %{name}-dba-link.patch
152 Patch22: %{name}-both-apxs.patch
153 Patch23: %{name}-builddir.patch
154 Patch24: %{name}-zlib-for-getimagesize.patch
155 Patch25: %{name}-stupidapache_version.patch
156 Patch27: %{name}-config-dir.patch
157 Patch29: %{name}-fcgi-graceful.patch
158 Patch35: %{name}-tds.patch
159 Patch39: %{name}-use-prog_sendmail.patch
160 Patch40: %{name}-fpm.patch
161 Patch41: %{name}-fpm-config.patch
162 Patch42: %{name}-fpm-shared.patch
163 Patch43: %{name}-silent-session-cleanup.patch
164 Patch47: suhosin.patch
165 Patch49: %{name}-m4-divert.patch
166 Patch50: extension-shared-optional-dep.patch
167 Patch51: spl-shared.patch
168 Patch52: pcre-shared.patch
169 URL: http://www.php.net/
170 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
171 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
172 BuildRequires: autoconf >= 2.53
173 BuildRequires: automake >= 1.4d
175 BuildRequires: bzip2-devel
176 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
177 BuildRequires: cyrus-sasl-devel
178 BuildRequires: db-devel >= 4.0
179 BuildRequires: elfutils-devel
180 %{?with_fdf:BuildRequires: fdftk-devel}
183 %if %{with mssql} || %{with sybase_ct}
184 BuildRequires: freetds-devel >= 0.82
186 BuildRequires: freetype-devel >= 2.0
187 %if %{with system_gd}
188 BuildRequires: gd-devel >= 2.0.28-4
189 BuildRequires: gd-devel(imagerotate) = 5.2.0
191 BuildRequires: gdbm-devel
192 BuildRequires: gmp-devel
193 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
194 BuildRequires: libicu-devel
195 BuildRequires: libjpeg-devel
196 BuildRequires: libltdl-devel >= 1.4
197 BuildRequires: libmcrypt-devel >= 2.4.4
198 BuildRequires: libpng-devel >= 1.0.8
199 BuildRequires: libtiff-devel
200 %if "%{pld_release}" != "ac"
201 BuildRequires: libtool >= 2:2.2
203 BuildRequires: libtool >= 1.4.3
205 BuildRequires: libwrap-devel
206 BuildRequires: libxml2-devel >= 2.5.10
207 BuildRequires: libxslt-devel >= 1.1.0
208 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
209 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
210 %if %{with openssl} || %{with ldap}
211 BuildRequires: openssl-devel >= 0.9.7d
213 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
214 BuildRequires: pam-devel
215 %{?with_pcre:BuildRequires: pcre-devel >= 6.6}
216 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
217 %{?with_pgsql:BuildRequires: postgresql-devel}
218 BuildRequires: readline-devel
219 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
220 BuildRequires: rpm >= 4.4.9-56
221 BuildRequires: rpm-build >= 4.4.0
222 BuildRequires: rpmbuild(macros) >= 1.519
223 %{?with_sqlite:BuildRequires: sqlite-devel}
224 %{?with_sqlite3:BuildRequires: sqlite3-devel >= 3.3.9}
225 BuildRequires: t1lib-devel
226 %{?with_tidy:BuildRequires: tidy-devel}
227 %{?with_odbc:BuildRequires: unixODBC-devel}
228 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
229 BuildRequires: zlib-devel >= 1.0.9
231 BuildRequires: apache1-devel
234 BuildRequires: apache-devel >= 2.0.52-2
235 BuildRequires: apr-devel >= 1:1.0.0
236 BuildRequires: apr-util-devel >= 1:1.0.0
239 BuildRequires: judy-devel
240 BuildRequires: libevent-devel >= 1.4.7-3
242 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
244 %define php_sysconfdir /etc/php
245 %define php_extensiondir %{_libdir}/php
246 %define _sysconfdir %{php_sysconfdir}
248 # must be in sync with source. extra check ensuring that it is so is done in %%build
249 %define php_api_version 20090626
250 %define zend_module_api 20090626
251 %define zend_extension_api 220090626
253 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
254 %define php_debug %{!?debug:0}%{?debug:1}
257 # ORACLE_HOME is required for oci8 ext to build
258 %define _preserve_env %_preserve_env_base ORACLE_HOME
262 PHP is an HTML-embedded scripting language. PHP attempts to make it
263 easy for developers to write dynamically generated web pages. PHP also
264 offers built-in database integration for several commercial and
265 non-commercial database management systems, so writing a
266 database-enabled web page with PHP is fairly simple. The most common
267 use of PHP coding is probably as a replacement for CGI scripts. The
268 mod_php module enables the Apache web server to understand and process
269 the embedded PHP language in web pages. This package contains php
272 %description -l fr.UTF-8
273 PHP est un langage de script embarque dans le HTM. PHP essaye de
274 rendre simple aux developpeurs d'ecrire des pages web generees
275 dynamiquement. PHP incorpore egalement une integration avec plusieurs
276 systemes de gestion de bases de donnees commerciaux et
277 non-connerciaux, qui rent facile la creation de pages web liees avec
278 des bases de donnees. L'utilisation la plus commune de PHP est
279 probablement en remplacement de scripts CGI. Le module mod_php permet
280 au serveur web apache de comprendre et de traiter le langage PHP
281 integre dans des pages web. Ce package contient php version
284 %description -l pl.UTF-8
285 PHP jest językiem skryptowym, którego polecenia umieszcza się w
286 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
287 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
288 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
289 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
290 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
291 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
292 język PHP osadzony w stronach. Ten pakiet zawiera php w wersji
295 %description -l pt_BR.UTF-8
296 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
297 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
298 com algumas características únicas, específicas ao PHP. O objetivo da
299 linguagem é permitir que desenvolvedores web escrevam páginas
300 dinamicamente geradas de forma rápida.
302 %description -l ru.UTF-8
303 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
304 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
305 для работы с базами данных относительно просто. Наиболее популярное
306 использование PHP - замена для CGI скриптов.
308 %description -l uk.UTF-8
309 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
310 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
311 роботи з базами даних є доволі простим. Найбільш популярне
312 використання PHP - заміна для CGI скриптів.
314 %package -n apache1-mod_php
315 Summary: PHP DSO module for apache 1.3.x
316 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php dla apache 1.3.x
317 Group: Development/Languages/PHP
318 Requires(triggerpostun): sed >= 4.0
319 Requires: %{name}-common = %{epoch}:%{version}-%{release}
320 Requires: apache1(EAPI) >= 1.3.33-2
321 Requires: apache1-mod_mime
322 Provides: webserver(php) = %{version}
323 Obsoletes: apache-mod_php < 1:4.1.1
326 %description -n apache1-mod_php
327 PHP as DSO module for apache 1.3.x.
329 %description -n apache1-mod_php -l pl.UTF-8
330 php jako moduł DSO (Dynamic Shared Object) dla apache 1.3.x.
332 %package -n apache-mod_php
333 Summary: PHP DSO module for apache 2.x
334 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php dla apache 2.x
335 Group: Development/Languages/PHP
336 Requires: %{name}-common = %{epoch}:%{version}-%{release}
337 Requires: apache(modules-api) = %{apache_modules_api}
338 Requires: apache-mod_mime
339 Provides: webserver(php) = %{version}
342 %description -n apache-mod_php
343 PHP as DSO module for apache 2.x.
345 %description -n apache-mod_php -l pl.UTF-8
346 php jako moduł DSO (Dynamic Shared Object) dla apache 2.x.
349 Summary: PHP as CGI/FastCGI program
350 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
351 Group: Development/Languages/PHP
352 Requires: %{name}-common = %{epoch}:%{version}-%{release}
353 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
356 Provides: webserver(php)
357 Obsoletes: php-fcgi < 4:5.3.0
360 PHP as CGI or FastCGI program.
362 %description cgi -l pl.UTF-8
363 PHP jako program CGI lub FastCGI.
366 Summary: PHP as CLI interpreter
367 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
368 Group: Development/Languages/PHP
369 Requires: %{name}-common = %{epoch}:%{version}-%{release}
372 PHP as CLI interpreter.
374 %description cli -l pl.UTF-8
375 PHP jako interpreter działający z linii poleceń.
378 Summary: /usr/bin/php symlink
379 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
380 Group: Development/Languages/PHP
381 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
382 Obsoletes: /usr/bin/php
385 Package providing /usr/bin/php symlink to PHP CLI.
387 %description program -l pl.UTF-8
388 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
391 Summary: PHP FastCGI Process Manager
392 Group: Development/Languages/PHP
393 URL: http://www.php-fpm.org/
394 Requires(post,preun): /sbin/chkconfig
395 Requires: %{name}-common = %{epoch}:%{version}-%{release}
396 Requires: libevent >= 1.4.7-3
398 Provides: webserver(php) = %{version}
401 PHP FastCGI Process Manager.
404 Summary: Common files needed by both Apache modules and CGI/CLI SAPI-s
405 Summary(pl.UTF-8): Wspólne pliki dla modułu apache'a i programu CGI
406 Summary(ru.UTF-8): Разделяемые библиотеки для php
407 Summary(uk.UTF-8): Бібліотеки спільного використання для php
409 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
410 Requires: glibc >= 6:2.3.5
414 Provides: php(libxml)
415 Provides: php(modules_api) = %{php_api_version}
416 Provides: php(overload)
417 Provides: php(reflection)
418 Provides: php(standard)
419 Provides: php(zend_extension_api) = %{zend_extension_api}
420 Provides: php(zend_module_api) = %{zend_module_api}
421 Provides: php5(debug) = %{php_debug}
422 Provides: php5(thread-safety) = %{zend_zts}
423 Obsoletes: php-pecl-domxml
424 Conflicts: php4-common < 3:4.4.4-8
425 Conflicts: rpm < 4.4.2-0.2
428 Common files needed by both Apache modules and CGI/CLI SAPI-s.
430 %description common -l pl.UTF-8
431 Wspólne pliki dla modułu apacha i programu CGI.
433 %description common -l ru.UTF-8
434 Этот пакет содержит общие файлы для разных вариантов реализации PHP
435 (самодостаточной и в качестве модуля apache).
437 %description common -l uk.UTF-8
438 Цей пакет містить спільні файли для різних варіантів реалізації PHP
439 (самодостатньої та в якості модуля apache).
442 Summary: Files for PHP modules development
443 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
444 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
445 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
446 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
447 Group: Development/Languages/PHP
448 Requires: %{name}-common = %{epoch}:%{version}-%{release}
451 %if "%{pld_release}" != "ac"
452 Requires: libtool >= 2:2.2
456 %{?with_pcre:Requires: pcre-devel >= 6.6}
458 Obsoletes: php-pear-devel
459 Obsoletes: php4-devel
462 The php-devel package lets you compile dynamic extensions to PHP.
463 Included here is the source for the PHP extensions. Instead of
464 recompiling the whole php binary to add support for, say, oracle,
465 install this package and use the new self-contained extensions
466 support. For more information, read the file
467 README.SELF-CONTAINED-EXTENSIONS.
469 %description devel -l pl.UTF-8
470 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
471 rekompilować całe php aby dodać obsługę np. oracle, można przy użyciu
472 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
473 samodzielnych rozszerzeniach można znaleźć w pliku
474 README.SELF-CONTAINED-EXTENSIONS.
476 %description devel -l pt_BR.UTF-8
477 Este pacote contém arquivos usados no desenvolvimento de programas ou
480 %description devel -l ru.UTF-8
481 Пакет php-devel дает возможность компилировать динамические расширения
482 PHP. Пакет включает исходный код этих расширений. Вместо повторной
483 компиляции бинарного файла php для добавления, например, поддержки
484 oracle, установите этот пакет для компилирования отдельных расширений.
485 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
487 %description devel -l uk.UTF-8
488 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
489 До пакету включено вихідний код для розширень. Замість повторної
490 компіляції бінарного файлу php для додання, наприклад, підтримки
491 oracle, встановіть цей пакет для компіляції окремих розширень.
492 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
495 Summary: bcmath extension module for PHP
496 Summary(pl.UTF-8): Moduł bcmath dla PHP
498 URL: http://www.php.net/manual/en/book.bc.php
499 Requires: %{name}-common = %{epoch}:%{version}-%{release}
500 Provides: php(bcmath)
503 This is a dynamic shared object (DSO) for PHP that will add bc style
504 precision math functions support.
506 %description bcmath -l pl.UTF-8
507 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
508 matematycznych takich jak w programie bc.
511 Summary: Bzip2 extension module for PHP
512 Summary(pl.UTF-8): Moduł bzip2 dla PHP
514 URL: http://www.php.net/manual/en/book.bzip2.php
515 Requires: %{name}-common = %{epoch}:%{version}-%{release}
519 This is a dynamic shared object (DSO) for PHP that will add bzip2
520 compression support to PHP.
522 %description bzip2 -l pl.UTF-8
523 Moduł PHP umożliwiający używanie kompresji bzip2.
526 Summary: Calendar extension module for PHP
527 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
529 URL: http://www.php.net/manual/en/book.calendar.php
530 Requires: %{name}-common = %{epoch}:%{version}-%{release}
531 Provides: php(calendar)
533 %description calendar
534 This is a dynamic shared object (DSO) for PHP that will add calendar
537 %description calendar -l pl.UTF-8
538 Moduł PHP dodający wsparcie dla kalendarza.
541 Summary: ctype extension module for PHP
542 Summary(pl.UTF-8): Moduł ctype dla PHP
544 URL: http://www.php.net/manual/en/book.ctype.php
545 Requires: %{name}-common = %{epoch}:%{version}-%{release}
549 This is a dynamic shared object (DSO) for PHP that will add ctype
552 %description ctype -l pl.UTF-8
553 Moduł PHP umożliwiający korzystanie z funkcji ctype.
556 Summary: curl extension module for PHP
557 Summary(pl.UTF-8): Moduł curl dla PHP
559 URL: http://www.php.net/manual/en/book.curl.php
560 Requires: %{name}-common = %{epoch}:%{version}-%{release}
564 This is a dynamic shared object (DSO) for PHP that will add curl
567 %description curl -l pl.UTF-8
568 Moduł PHP umożliwiający korzystanie z biblioteki curl.
571 Summary: DBA extension module for PHP
572 Summary(pl.UTF-8): Moduł DBA dla PHP
574 URL: http://www.php.net/manual/en/book.dba.php
575 Requires: %{name}-common = %{epoch}:%{version}-%{release}
579 This is a dynamic shared object (DSO) for PHP that will add flat-file
580 databases (DBA) support.
582 %description dba -l pl.UTF-8
583 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
587 Summary: DOM extension module for PHP
588 Summary(pl.UTF-8): Moduł DOM dla PHP
590 URL: http://www.php.net/manual/en/book.dom.php
591 Requires: %{name}-common = %{epoch}:%{version}-%{release}
593 # it has some compatibility functions
594 Provides: php(domxml)
595 Obsoletes: php-domxml <= 3:4.3.8-1
598 This is a dynamic shared object (DSO) for PHP that will add new DOM
601 %description dom -l pl.UTF-8
602 Moduł PHP dodający nową obsługę DOM.
605 Summary: exif extension module for PHP
606 Summary(pl.UTF-8): Moduł exif dla PHP
608 URL: http://www.php.net/manual/en/book.exif.php
609 Requires: %{name}-common = %{epoch}:%{version}-%{release}
613 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
614 support in image files.
616 %description exif -l pl.UTF-8
617 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
620 Summary: FDF extension module for PHP
621 Summary(pl.UTF-8): Moduł FDF dla PHP
623 URL: http://www.php.net/manual/en/book.fdf.php
624 Requires: %{name}-common = %{epoch}:%{version}-%{release}
628 This PHP module adds support for PDF Forms through Adobe FDFTK
631 %description fdf -l pl.UTF-8
632 Moduł PHP dodający obsługę formularzy PDF poprzez bibliotekę Adobe
636 Summary: libmagic bindings
638 URL: http://www.php.net/manual/en/book.fileinfo.php
639 Requires: %{name}-common = %{epoch}:%{version}-%{release}
640 Provides: php(fileinfo)
641 Obsoletes: php-pecl-fileinfo
643 %description fileinfo
644 This extension allows retrieval of information regarding vast majority
645 of file. This information may include dimensions, quality, length
648 Additionally it can also be used to retrieve the MIME type for a
649 particular file and for text files proper language encoding.
652 Summary: Extension for safely dealing with input parameters
653 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
655 URL: http://www.php.net/manual/en/book.filter.php
656 Requires: %{name}-common = %{epoch}:%{version}-%{release}
657 Provides: php(filter)
658 Obsoletes: php-pecl-filter
661 We all know that you should always check input variables, but PHP does
662 not offer really good functionality for doing this in a safe way. The
663 Input Filter extension is meant to address this issue by implementing
664 a set of filters and mechanisms that users can use to safely access
667 %description filter -l pl.UTF-8
668 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
669 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
670 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
671 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
672 mogą bezpiecznie używać do dostępu do danych.
675 Summary: FTP extension module for PHP
676 Summary(pl.UTF-8): Moduł FTP dla PHP
678 URL: http://www.php.net/manual/en/book.ftp.php
679 Requires: %{name}-common = %{epoch}:%{version}-%{release}
683 This is a dynamic shared object (DSO) for PHP that will add FTP
686 %description ftp -l pl.UTF-8
687 Moduł PHP dodający obsługę protokołu FTP.
690 Summary: GD extension module for PHP
691 Summary(pl.UTF-8): Moduł GD dla PHP
693 URL: http://www.php.net/manual/en/book.image.php
694 Requires: %{name}-common = %{epoch}:%{version}-%{release}
695 %if %{with system_gd}
696 Requires: gd >= 2.0.28-4
698 Requires: gd(imagerotate) = 5.2.0
703 This is a dynamic shared object (DSO) for PHP that will add GD
704 support, allowing you to create and manipulate images with PHP.
706 %description gd -l pl.UTF-8
707 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
708 tworzenie i obróbkę obrazków.
711 Summary: gettext extension module for PHP
712 Summary(pl.UTF-8): Moduł gettext dla PHP
714 URL: http://www.php.net/manual/en/book.gettext.php
715 Requires: %{name}-common = %{epoch}:%{version}-%{release}
716 Provides: php(gettext)
719 This is a dynamic shared object (DSO) for PHP that will add gettext
722 %description gettext -l pl.UTF-8
723 Moduł PHP dodający obsługę lokalizacji przez gettext.
726 Summary: gmp extension module for PHP
727 Summary(pl.UTF-8): Moduł gmp dla PHP
729 URL: http://www.php.net/manual/en/book.gmp.php
730 Requires: %{name}-common = %{epoch}:%{version}-%{release}
734 This is a dynamic shared object (DSO) for PHP that will add arbitrary
735 length number support with GNU MP library.
737 %description gmp -l pl.UTF-8
738 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
739 liczbach o dowolnej długości.
742 Summary: HASH Message Digest Framework
743 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
745 URL: http://www.php.net/manual/en/book.gmp.php
746 Requires: %{name}-common = %{epoch}:%{version}-%{release}
750 Obsoletes: php-pecl-hash
753 Native implementations of common message digest algorithms using a
754 generic factory method.
756 %description hash -l pl.UTF-8
757 Natywne implementacje popularnych algorytmów obliczania skrótów
758 wiadomości przy użyciu wspólnego interfejsu.
761 Summary: iconv extension module for PHP
762 Summary(pl.UTF-8): Moduł iconv dla PHP
764 URL: http://www.php.net/manual/en/book.iconv.php
765 Requires: %{_libdir}/gconv
766 Requires: %{name}-common = %{epoch}:%{version}-%{release}
771 This is a dynamic shared object (DSO) for PHP that will add iconv
774 %description iconv -l pl.UTF-8
775 Moduł PHP dodający obsługę iconv.
778 Summary: IMAP extension module for PHP
779 Summary(pl.UTF-8): Moduł IMAP dla PHP
780 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
782 URL: http://www.php.net/manual/en/book.imap.php
783 Requires: %{name}-common = %{epoch}:%{version}-%{release}
787 This is a dynamic shared object (DSO) for PHP that will add IMAP
790 %description imap -l pl.UTF-8
791 Moduł PHP dodający obsługę skrzynek IMAP.
793 %description imap -l pt_BR.UTF-8
794 Um módulo para aplicações PHP que usam IMAP.
797 Summary: InterBase/Firebird database module for PHP
798 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
800 URL: http://www.php.net/manual/en/book.ibase.php
801 Requires: %{name}-common = %{epoch}:%{version}-%{release}
802 Provides: php(interbase)
803 %{?with_interbase_inst:Autoreq: false}
805 %description interbase
806 This is a dynamic shared object (DSO) for PHP that will add InterBase
807 and Firebird database support.
809 %description interbase -l pl.UTF-8
810 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
813 Summary: Internationalization extension (ICU wrapper)
814 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (wrapper ICU)
816 URL: http://www.php.net/intl
817 Requires: %{name}-common = %{epoch}:%{version}-%{release}
821 Internationalization extension (further is referred as Intl) is a
822 wrapper for ICU library, enabling PHP programmers to perform
823 UCA-conformant collation and date/time/number/currency formatting in
826 %description intl -l pl.UTF-8
827 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
828 wrapperem biblioteki ICU, pozwalającym programistom PHP na wykonywanie
829 w skryptach porównań zdgodnych z UCA oraz formatowań daty/czasu/walut.
832 Summary: PHP C extension for JSON serialization
833 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
835 URL: http://www.php.net/manual/en/book.json.php
836 Requires: %{name}-common = %{epoch}:%{version}-%{release}
838 Obsoletes: php-pecl-json
841 php-json is an extremely fast PHP C extension for JSON (JavaScript
842 Object Notation) serialisation.
844 %description json -l pl.UTF-8
845 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
846 (JavaScript Object Notation).
849 Summary: LDAP extension module for PHP
850 Summary(pl.UTF-8): Moduł LDAP dla PHP
851 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
853 URL: http://www.php.net/manual/en/book.ldap.php
854 Requires: %{name}-common = %{epoch}:%{version}-%{release}
858 This is a dynamic shared object (DSO) for PHP that will add LDAP
861 %description ldap -l pl.UTF-8
862 Moduł PHP dodający obsługę LDAP.
864 %description ldap -l pt_BR.UTF-8
865 Um módulo para aplicações PHP que usam LDAP.
868 Summary: mbstring extension module for PHP
869 Summary(pl.UTF-8): Moduł mbstring dla PHP
871 URL: http://www.php.net/manual/en/book.mbstring.php
872 Requires: %{name}-common = %{epoch}:%{version}-%{release}
873 Provides: php(mbstring)
875 %description mbstring
876 This is a dynamic shared object (DSO) for PHP that will add multibyte
879 %description mbstring -l pl.UTF-8
880 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
883 Summary: mcrypt extension module for PHP
884 Summary(pl.UTF-8): Moduł mcrypt dla PHP
886 URL: http://www.php.net/manual/en/book.mcrypt.php
887 Requires: %{name}-common = %{epoch}:%{version}-%{release}
888 Provides: php(mcrypt)
891 This is a dynamic shared object (DSO) for PHP that will add mcrypt
894 %description mcrypt -l pl.UTF-8
895 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
898 Summary: MS SQL extension module for PHP
899 Summary(pl.UTF-8): Moduł MS SQL dla PHP
901 URL: http://www.php.net/manual/en/book.mssql.php
902 Requires: %{name}-common = %{epoch}:%{version}-%{release}
906 This is a dynamic shared object (DSO) for PHP that will add MS SQL
907 databases support through FreeTDS library.
909 %description mssql -l pl.UTF-8
910 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
914 Summary: MySQL database module for PHP
915 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
916 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
918 URL: http://www.php.net/manual/en/book.mysql.php
919 Requires: %{name}-common = %{epoch}:%{version}-%{release}
923 This is a dynamic shared object (DSO) for PHP that will add MySQL
926 %description mysql -l pl.UTF-8
927 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
929 %description mysql -l pt_BR.UTF-8
930 Um módulo para aplicações PHP que usam bancos de dados MySQL.
933 Summary: MySQLi module for PHP
934 Summary(pl.UTF-8): Moduł MySQLi dla PHP
936 URL: http://www.php.net/manual/en/book.mysqli.php
937 Requires: %{name}-common = %{epoch}:%{version}-%{release}
938 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
939 Provides: php(mysqli)
942 This is a dynamic shared object (DSO) for PHP that will add MySQLi
943 (Improved MySQL) support. The difference between it and mysql module
944 is that it provides access to functionality of MySQL 4.1 and above.
946 %description mysqli -l pl.UTF-8
947 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
948 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
949 MySQL w wersji 4.1 i nowszych.
952 Summary: Oracle 8+ database module for PHP
953 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
955 URL: http://www.php.net/manual/en/book.oci8.php
956 Requires: %{name}-common = %{epoch}:%{version}-%{release}
961 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
962 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
964 %description oci8 -l pl.UTF-8
965 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
966 poprzez interfejs Oracle8 Call-Interface (OCI8).
969 Summary: ODBC extension module for PHP
970 Summary(pl.UTF-8): Moduł ODBC dla PHP
971 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
973 URL: http://www.php.net/manual/en/book.uodbc.php
974 Requires: %{name}-common = %{epoch}:%{version}-%{release}
975 Requires: unixODBC >= 2.1.1-3
979 This is a dynamic shared object (DSO) for PHP that will add ODBC
982 %description odbc -l pl.UTF-8
983 Moduł PHP ze wsparciem dla ODBC.
985 %description odbc -l pt_BR.UTF-8
986 Um módulo para aplicações PHP que usam ODBC.
989 Summary: OpenSSL extension module for PHP
990 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
992 URL: http://www.php.net/manual/en/book.openssl.php
993 Requires: %{name}-common = %{epoch}:%{version}-%{release}
994 Provides: php(openssl)
997 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1000 %description openssl -l pl.UTF-8
1001 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1004 Summary: Process Control extension module for PHP
1005 Summary(pl.UTF-8): Moduł Process Control dla PHP
1007 URL: http://www.php.net/manual/en/book.pcntl.php
1008 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1009 Provides: php(pcntl)
1012 This is a dynamic shared object (DSO) for PHP that will add process
1013 spawning and control support. It supports functions like fork(),
1014 waitpid(), signal() etc.
1016 %description pcntl -l pl.UTF-8
1017 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1018 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1021 Summary: PCRE extension module for PHP
1022 Summary(pl.UTF-8): Moduł PCRE dla PHP
1024 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1028 This is a dynamic shared object (DSO) for PHP that will add Perl
1029 Compatible Regular Expression support.
1031 %description pcre -l pl.UTF-8
1032 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1033 (Perl Compatible Regular Expressions)
1036 Summary: PHP Data Objects (PDO)
1037 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1039 URL: http://www.php.net/manual/en/book.pdo.php
1040 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1041 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1043 Obsoletes: php-pecl-PDO
1046 This is a dynamic shared object (DSO) for PHP that will add PDO
1049 %description pdo -l pl.UTF-8
1050 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1053 Summary: PHP Data Objects (PDO) FreeTDS support
1054 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1056 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1057 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1058 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1059 Provides: php(dblib)
1061 %description pdo-dblib
1062 This is a dynamic shared object (DSO) for PHP that will add PDO
1065 %description pdo-dblib -l pl.UTF-8
1066 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1069 %package pdo-firebird
1070 Summary: PHP Data Objects (PDO) Firebird support
1071 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1073 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1074 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1075 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1076 Provides: php(pdo-firebird)
1077 Obsoletes: php-pecl-PDO_FIREBIRD
1079 %description pdo-firebird
1080 This is a dynamic shared object (DSO) for PHP that will add PDO
1083 %description pdo-firebird -l pl.UTF-8
1084 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1088 Summary: PHP Data Objects (PDO) MySQL support
1089 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1091 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1092 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1093 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1094 Provides: php(pdo-mysql)
1095 Obsoletes: php-pecl-PDO_MYSQL
1097 %description pdo-mysql
1098 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1101 %description pdo-mysql -l pl.UTF-8
1102 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1106 Summary: PHP Data Objects (PDO) Oracle support
1107 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1109 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1110 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1111 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1112 Provides: php(pdo-oci)
1113 Obsoletes: php-pecl-PDO_OCI
1115 %description pdo-oci
1116 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1119 %description pdo-oci -l pl.UTF-8
1120 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1124 Summary: PHP Data Objects (PDO) ODBC support
1125 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1127 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1128 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1129 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1130 Provides: php(pdo-odbc)
1131 Obsoletes: php-pecl-PDO_ODBC
1133 %description pdo-odbc
1134 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1137 %description pdo-odbc -l pl.UTF-8
1138 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1142 Summary: PHP Data Objects (PDO) PostgreSQL support
1143 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1145 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1146 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1147 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1148 Provides: php(pdo-pgsql)
1149 Provides: php-pecl-PDO_PGSQL
1150 Obsoletes: php-pecl-PDO_PGSQL
1152 %description pdo-pgsql
1153 This is a dynamic shared object (DSO) for PHP that will add PDO
1156 %description pdo-pgsql -l pl.UTF-8
1157 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1161 Summary: PHP Data Objects (PDO) SQLite support
1162 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1164 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1165 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1166 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1167 Provides: php(pdo-sqlite)
1168 Obsoletes: php-pecl-PDO_SQLITE
1170 %description pdo-sqlite
1171 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1174 %description pdo-sqlite -l pl.UTF-8
1175 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1179 Summary: PostgreSQL database module for PHP
1180 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1182 URL: http://www.php.net/manual/en/book.pgsql.php
1183 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1184 Provides: php(pgsql)
1187 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1190 %description pgsql -l pl.UTF-8
1191 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1193 %description pgsql -l pt_BR.UTF-8
1194 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1197 Summary: phar database module for PHP
1198 Summary(pl.UTF-8): Moduł phar dla PHP
1200 URL: http://www.php.net/manual/en/book.phar.php
1201 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1202 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1206 This is a dynamic shared object (DSO) for PHP that will add phar
1209 %description phar -l pl.UTF-8
1210 Moduł PHP umożliwiający dostęp do achiwów .phar.
1213 Summary: POSIX extension module for PHP
1214 Summary(pl.UTF-8): Moduł POSIX dla PHP
1216 URL: http://www.php.net/manual/en/book.posix.php
1217 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1218 Provides: php(posix)
1221 This is a dynamic shared object (DSO) for PHP that will add POSIX
1222 functions support to PHP.
1224 %description posix -l pl.UTF-8
1225 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1228 Summary: pspell extension module for PHP
1229 Summary(pl.UTF-8): Moduł pspell dla PHP
1231 URL: http://www.php.net/manual/en/book.pspell.php
1232 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1233 Provides: php(pspell)
1236 This is a dynamic shared object (DSO) for PHP that will add pspell
1237 support to PHP. It allows to check the spelling of a word and offer
1240 %description pspell -l pl.UTF-8
1241 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1242 sprawdzanie pisowni słowa i sugerowanie poprawek.
1245 Summary: readline extension module for PHP
1246 Summary(pl.UTF-8): Moduł readline dla PHP
1248 URL: http://www.php.net/manual/en/book.readline.php
1249 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1250 Provides: php(readline)
1252 %description readline
1253 This PHP module adds support for readline functions (only for cli and
1256 %description readline -l pl.UTF-8
1257 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1260 Summary: recode extension module for PHP
1261 Summary(pl.UTF-8): Moduł recode dla PHP
1263 URL: http://www.php.net/manual/en/book.recode.php
1264 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1265 Requires: recode >= 3.5d-3
1266 Provides: php(recode)
1269 This is a dynamic shared object (DSO) for PHP that will add recode
1272 %description recode -l pl.UTF-8
1273 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1277 Summary: session extension module for PHP
1278 Summary(pl.UTF-8): Moduł session dla PHP
1280 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1281 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1282 Provides: php(session)
1284 %description session
1285 This is a dynamic shared object (DSO) for PHP that will add session
1288 %description session -l pl.UTF-8
1289 Moduł PHP dodający obsługę sesji.
1292 Summary: Shared Memory Operations extension module for PHP
1293 Summary(pl.UTF-8): Moduł shmop dla PHP
1295 URL: http://www.php.net/manual/en/book.shmop.php
1296 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1297 Provides: php(shmop)
1300 This is a dynamic shared object (DSO) for PHP that will add Shared
1301 Memory Operations support.
1303 %description shmop -l pl.UTF-8
1304 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1307 Summary: Simple XML extension module for PHP
1308 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1310 URL: http://www.php.net/manual/en/book.simplexml.php
1311 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1312 Provides: php(simplexml)
1314 %description simplexml
1315 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1318 %description simplexml -l pl.UTF-8
1319 Moduł PHP dodający obsługę prostego XML-a.
1322 Summary: SNMP extension module for PHP
1323 Summary(pl.UTF-8): Moduł SNMP dla PHP
1325 URL: http://www.php.net/manual/en/book.snmp.php
1326 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1327 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1331 This is a dynamic shared object (DSO) for PHP that will add SNMP
1334 %description snmp -l pl.UTF-8
1335 Moduł PHP dodający obsługę SNMP.
1338 Summary: soap extension module for PHP
1339 Summary(pl.UTF-8): Moduł soap dla PHP
1341 URL: http://www.php.net/manual/en/book.soap.php
1342 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1346 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1349 %description soap -l pl.UTF-8
1350 Moduł PHP dodający obsługę SOAP/WSDL.
1353 Summary: sockets extension module for PHP
1354 Summary(pl.UTF-8): Moduł socket dla PHP
1356 URL: http://www.php.net/manual/en/book.sockets.php
1357 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1358 Provides: php(sockets)
1360 %description sockets
1361 This is a dynamic shared object (DSO) for PHP that will add sockets
1364 %description sockets -l pl.UTF-8
1365 Moduł PHP dodający obsługę gniazdek.
1368 Summary: Standard PHP Library module for PHP
1369 Summary(pl.UTF-8): Moduł SPL dla PHP
1371 URL: http://php.net/manual/en/book.spl.php
1372 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1373 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1374 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1378 This is a dynamic shared object (DSO) for PHP that will add Standard
1379 PHP Library support.
1381 %description spl -l pl.UTF-8
1382 Moduł PHP dodający obsługę gniazdek.
1385 Summary: SQLite extension module for PHP
1386 Summary(pl.UTF-8): Moduł SQLite dla PHP
1388 URL: http://www.php.net/manual/en/book.sqlite.php
1389 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1390 Suggests: %{name}-pdo = %{epoch}:%{version}-%{release}
1391 Suggests: %{name}-spl = %{epoch}:%{version}-%{release}
1392 Provides: php(sqlite)
1395 SQLite is a C library that implements an embeddable SQL database
1396 engine. Programs that link with the SQLite library can have SQL
1397 database access without running a separate RDBMS process.
1399 SQLite is not a client library used to connect to a big database
1400 server. SQLite is the server. The SQLite library reads and writes
1401 directly to and from the database files on disk.
1403 %description sqlite -l pl.UTF-8
1404 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1405 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1406 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1409 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1410 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1411 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1415 Summary: SQLite3 extension module for PHP
1416 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1418 URL: http://php.net/manual/en/book.sqlite3.php
1419 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1420 Provides: php(sqlite3)
1422 %description sqlite3
1423 SQLite is a C library that implements an embeddable SQL database
1424 engine. Programs that link with the SQLite library can have SQL
1425 database access without running a separate RDBMS process.
1427 SQLite is not a client library used to connect to a big database
1428 server. SQLite is the server. The SQLite library reads and writes
1429 directly to and from the database files on disk.
1431 %description sqlite3 -l pl.UTF-8
1432 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1433 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1434 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1437 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1438 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1439 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1443 Summary: Sybase-CT extension module for PHP
1444 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1446 URL: http://www.php.net/manual/en/book.sybase.php
1447 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1448 Provides: php(sybase-ct)
1449 Obsoletes: php-sybase
1450 Conflicts: php-sybase
1452 %description sybase-ct
1453 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1454 MS SQL databases support through CT-lib.
1456 %description sybase-ct -l pl.UTF-8
1457 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1461 Summary: SysV msg extension module for PHP
1462 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1464 URL: http://www.php.net/manual/en/book.sem.php
1465 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1466 Provides: php(sysvmsg)
1468 %description sysvmsg
1469 This is a dynamic shared object (DSO) for PHP that will add SysV
1470 message queues support.
1472 %description sysvmsg -l pl.UTF-8
1473 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1476 Summary: SysV sem extension module for PHP
1477 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1479 URL: http://www.php.net/manual/en/book.sem.php
1480 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1481 Provides: php(sysvsem)
1483 %description sysvsem
1484 This is a dynamic shared object (DSO) for PHP that will add SysV
1487 %description sysvsem -l pl.UTF-8
1488 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1491 Summary: SysV shm extension module for PHP
1492 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1494 URL: http://www.php.net/manual/en/book.shmop.php
1495 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1496 Provides: php(sysvshm)
1498 %description sysvshm
1499 This is a dynamic shared object (DSO) for PHP that will add SysV
1500 Shared Memory support.
1502 %description sysvshm -l pl.UTF-8
1503 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1506 Summary: Contains unit test files for PHP and extensions
1507 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1509 URL: http://qa.php.net/
1510 Requires: %{name}-cli
1513 This package contains unit tests for PHP and it's extensions.
1515 %description tests -l pl.UTF-8
1516 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1519 Summary: Tidy extension module for PHP
1520 Summary(pl.UTF-8): Moduł Tidy dla PHP
1522 URL: http://www.php.net/manual/en/book.tidy.php
1523 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1528 This is a dynamic shared object (DSO) for PHP that will add Tidy
1531 %description tidy -l pl.UTF-8
1532 Moduł PHP umożliwiający korzystanie z tidy.
1535 Summary: tokenizer extension module for PHP
1536 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1538 URL: http://www.php.net/manual/en/book.tokenizer.php
1539 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1540 Provides: php(tokenizer)
1542 %description tokenizer
1543 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1546 %description tokenizer -l pl.UTF-8
1547 Moduł PHP dodający obsługę tokenizera do PHP.
1550 Summary: wddx extension module for PHP
1551 Summary(pl.UTF-8): Moduł wddx dla PHP
1553 URL: http://www.php.net/manual/en/book.wddx.php
1554 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1555 Requires: %{name}-session = %{epoch}:%{version}-%{release}
1556 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1560 This is a dynamic shared object (DSO) for PHP that will add wddx
1563 %description wddx -l pl.UTF-8
1564 Moduł PHP umożliwiający korzystanie z wddx.
1567 Summary: XML extension module for PHP
1568 Summary(pl.UTF-8): Moduł XML dla PHP
1570 URL: http://www.php.net/manual/en/book.xml.php
1571 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1575 This is a dynamic shared object (DSO) for PHP that will add XML
1576 support. This extension lets you create XML parsers and then define
1577 handlers for different XML events.
1579 %description xml -l pl.UTF-8
1580 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1581 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1582 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1585 Summary: XML Reader extension module for PHP
1586 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1588 URL: http://www.php.net/manual/en/book.xmlreader.php
1589 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1590 Suggests: %{name}-dom = %{epoch}:%{version}-%{release}
1591 Provides: php(xmlreader)
1593 %description xmlreader
1594 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1595 support. The XMLReader extension is an XML Pull parser. The reader
1596 acts as a cursor going forward on the document stream and stopping at
1597 each node on the way.
1599 %description xmlreader -l pl.UTF-8
1600 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1601 działa jako kursor przechodzący przez strumień dokumentu i
1602 zatrzymujący się na każdym węźle po drodze.
1605 Summary: xmlrpc extension module for PHP
1606 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1608 URL: http://www.php.net/manual/en/book.xmlrpc.php
1609 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1610 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1611 Provides: php(xmlrpc)
1614 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1617 %description xmlrpc -l pl.UTF-8
1618 Moduł PHP dodający obsługę XMLRPC.
1621 Summary: Fast, non-cached, forward-only means to write XML data
1622 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1624 URL: http://www.php.net/manual/en/book.xmlwriter.php
1625 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1626 Provides: php(xmlwriter)
1627 Obsoletes: php-pecl-xmlwriter
1629 %description xmlwriter
1630 This extension wraps the libxml xmlWriter API. Represents a writer
1631 that provides a non-cached, forward-only means of generating streams
1632 or files containing XML data.
1634 %description xmlwriter -l pl.UTF-8
1635 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1636 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1637 plików zawierających dane XML.
1640 Summary: xsl extension module for PHP
1641 Summary(pl.UTF-8): Moduł xsl dla PHP
1643 URL: http://www.php.net/manual/en/book.xsl.php
1644 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1645 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1646 Requires: libxslt >= 1.0.18
1647 # actually not true, functionality is similar, but API differs
1649 Obsoletes: php-xslt <= 3:4.3.8-1
1652 This is a dynamic shared object (DSO) for PHP that will add new XSL
1653 support (using libxslt).
1655 %description xsl -l pl.UTF-8
1656 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1659 Summary: Zip management extension
1660 Summary(pl.UTF-8): Zarządzanie archiwami zip
1662 URL: http://www.php.net/manual/en/book.zip.php
1663 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1665 Obsoletes: php-pecl-zip
1668 Zip is an extension to create, modify and read zip files.
1670 %description zip -l pl.UTF-8
1671 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1672 odczyt archiwów zip.
1675 Summary: Zlib extension module for PHP
1676 Summary(pl.UTF-8): Moduł zlib dla PHP
1678 URL: http://www.php.net/manual/en/book.zlib.php
1679 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1683 This is a dynamic shared object (DSO) for PHP that will add zlib
1684 compression support to PHP.
1686 %description zlib -l pl.UTF-8
1687 Moduł PHP umożliwiający używanie kompresji zlib.
1691 # prep for suhosin patch
1692 %{__sed} -i -e 's,\r$,,' Zend/Zend.dsp Zend/ZendTS.dsp
1703 cp php.ini-production php.ini
1705 %if %{with type_hints}
1712 %if %{with system_gd}
1739 # cleanup backups after patching
1740 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
1742 # conflict seems to be resolved by recode patches
1743 rm -f ext/recode/config9.m4
1745 # remove all bundled libraries not to link with them accidentally
1746 #rm -rf ext/sqlite/libsqlite
1747 rm -rf ext/sqlite3/libsqlite
1748 #rm -rf ext/bcmath/libbcmath
1749 #rm -rf ext/date/lib
1750 #rm -rf ext/dba/libcdb
1751 #rm -rf ext/dba/libflatfile
1752 #rm -rf ext/dba/libinifile
1753 #rm -rf ext/gd/libgd
1754 #rm -rf ext/mbstring/libmbfl
1755 #rm -rf ext/mbstring/oniguruma
1756 rm -rf ext/pcre/pcrelib
1757 rm -rf ext/pdo_sqlite/sqlite
1758 #rm -rf ext/soap/interop
1759 rm -rf ext/xmlrpc/libxmlrpc
1761 cp -af Zend/LICENSE{,.Zend}
1764 sed -i -e 's#-fvisibility=hidden##g' configure*
1767 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
1768 if [ $API != %{php_api_version} ]; then
1769 echo "Set %%define php_api_version to $API and re-run."
1773 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
1774 if [ $API != %{zend_module_api} ]; then
1775 echo "Set %%define zend_module_api to $API and re-run."
1779 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
1780 if [ $API != %{zend_extension_api} ]; then
1781 echo "Set %%define zend_extension_api to $API and re-run."
1785 export EXTENSION_DIR="%{php_extensiondir}"
1786 # configure once (for faster debugging purposes)
1787 if [ ! -f _built-conf ]; then
1788 # now remove Makefile copies
1789 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs{1,2}}
1792 cp -f /usr/share/automake/config.* .
1796 export PROG_SENDMAIL="/usr/lib/sendmail"
1797 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP"
1811 for sapi in $sapis; do
1813 # skip if already configured (for faster debugging purposes)
1814 [ -f Makefile.$sapi ] && continue
1819 sapi_args='--disable-cli'
1822 sapi_args='--disable-cgi'
1825 sapi_args='--disable-cli --with-fpm'
1828 ver=$(rpm -q --qf '%{V}' apache1-devel)
1829 sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
1832 ver=$(rpm -q --qf '%{V}' apache-devel)
1833 sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
1839 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1840 --cache-file=config.cache \
1842 --with-libdir=%{_lib} \
1843 --with-config-file-path=%{_sysconfdir} \
1844 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1845 --with-exec-dir=%{_bindir} \
1846 --%{!?debug:dis}%{?debug:en}able-debug \
1847 %{?with_zts:--enable-maintainer-zts} \
1848 --enable-inline-optimization \
1849 --enable-bcmath=shared \
1850 --enable-calendar=shared \
1851 --enable-ctype=shared \
1852 --enable-dba=shared \
1853 --enable-dom=shared \
1854 --enable-exif=shared \
1855 --enable-fileinfo=shared \
1856 --enable-ftp=shared \
1857 --enable-gd-native-ttf \
1858 --enable-intl=shared \
1860 --enable-magic-quotes \
1861 --enable-mbstring=shared,all \
1863 --enable-pcntl=shared \
1864 --enable-pdo=shared \
1865 --enable-json=shared \
1866 --enable-hash=shared \
1867 --enable-xmlwriter=shared \
1869 --with-libevent=shared \
1870 --with-fpm-conf=%{_sysconfdir}/fpm.conf \
1871 --with-fpm-log=/var/log/fpm.log \
1872 --with-fpm-pid=/var/run/php/fpm.pid \
1873 --with-fpm-port=9000 \
1874 --with-fpm-user=http \
1875 --with-fpm-group=http \
1877 %if %{with mssql} || %{with sybase_ct}
1878 --with-pdo-dblib=shared \
1880 %if %{with interbase} && %{without interbase_inst}
1881 --with-pdo-firebird=shared,/usr \
1883 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1884 --with-pdo-mysql=shared,mysqlnd \
1885 %{?with_oci8:--with-pdo-oci=shared} \
1886 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1887 %{?with_pgsql:--with-pdo-pgsql=shared} \
1888 %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
1889 --without-libexpat-dir \
1890 --enable-mysqlnd-threading \
1891 --enable-posix=shared \
1893 --enable-session=shared \
1894 --enable-shmop=shared \
1895 --enable-simplexml=shared \
1896 --enable-spl=shared \
1897 --enable-sysvmsg=shared \
1898 --enable-sysvsem=shared \
1899 --enable-sysvshm=shared \
1900 --enable-safe-mode \
1901 --enable-soap=shared \
1902 --enable-sockets=shared \
1903 --enable-tokenizer=shared \
1904 --enable-ucd-snmp-hack \
1905 %{?with_wddx:--enable-wddx=shared} \
1906 --enable-xml=shared \
1907 --enable-xmlreader=shared \
1909 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1911 %{?with_fdf:--with-fdftk=shared} \
1912 --with-iconv=shared \
1913 --with-freetype-dir=shared \
1914 --with-gettext=shared \
1915 --with-gd=shared%{?with_system_gd:,/usr} \
1918 %{?with_imap:--with-imap=shared --with-imap-ssl} \
1919 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1920 --with-jpeg-dir=/usr \
1921 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1922 --with-mcrypt=shared \
1923 %{?with_mm:--with-mm} \
1924 %{?with_mssql:--with-mssql=shared} \
1925 --with-mysql=shared,mysqlnd \
1926 %{?with_mysqli:--with-mysqli=shared,mysqlnd} \
1927 %{?with_oci8:--with-oci8=shared} \
1928 %{?with_openssl:--with-openssl=shared} \
1930 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=/usr} \
1931 %{!?with_filter:--disable-filter}%{?with_filter:--enable-filter=shared} \
1932 --with-pear=%{php_pear_dir} \
1933 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1934 %{!?with_phar:--disable-phar}%{?with_phar:--enable-phar=shared} \
1935 --with-png-dir=/usr \
1936 %{?with_pspell:--with-pspell=shared} \
1937 --with-readline=shared \
1938 %{?with_recode:--with-recode=shared} \
1939 --with-regex=system \
1940 %{?with_snmp:--with-snmp=shared} \
1941 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1942 %{!?with_sqlite:--without-sqlite --without-pdo-sqlite}%{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1943 %{!?with_sqlite3:--without-sqlite3}%{?with_sqlite3:--with-sqlite3=shared,/usr} \
1944 --with-t1lib=shared \
1945 %{?with_tidy:--with-tidy=shared} \
1946 %{?with_odbc:--with-unixODBC=shared,/usr} \
1947 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1949 --with-zlib=shared \
1950 --with-zlib-dir=shared,/usr \
1951 --enable-zip=shared,/usr \
1954 cp -f Makefile Makefile.$sapi
1955 cp -f main/php_config.h php_config.h.$sapi
1956 cp -f config.log config.log.$sapi
1959 # as we build each SAPI in own make, adjust php-config.in forehead
1960 sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | xargs)
1961 sed -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in"
1963 # must make libphp_common first, so modules can link against it.
1964 %{__make} libphp_common.la
1965 %{__make} build-modules
1968 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1972 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1976 cp -af php_config.h.cgi-fcgi main/php_config.h
1977 %{__make} -f Makefile.cgi-fcgi
1978 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = cgi-fcgi ] || exit 1
1981 cp -af php_config.h.cli main/php_config.h
1982 %{__make} -f Makefile.cli
1983 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = cli ] || exit 1
1986 cp -af php_config.h.fpm main/php_config.h
1987 %{__make} -f Makefile.fpm
1988 ./sapi/fpm/php-fpm -qn -m > /dev/null
1992 # Run tests, using the CLI SAPI
1993 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
1994 unset TZ LANG LC_ALL || :
1996 unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
2000 rm -rf $RPM_BUILD_ROOT
2001 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2002 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2003 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2004 $RPM_BUILD_ROOT%{_mandir}/man1 \
2006 # install the apache modules' files
2007 %{__make} install-headers install-build install-modules install-programs \
2008 INSTALL_ROOT=$RPM_BUILD_ROOT
2010 # install apache1 DSO module
2012 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2015 # install apache2 DSO module
2017 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2020 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2021 # fix install paths, avoid evil rpaths
2022 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2024 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
2027 libtool --silent --mode=install install sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.cgi
2028 ln -sf php.cgi $RPM_BUILD_ROOT%{_bindir}/php.fcgi
2032 libtool --silent --mode=install install sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_bindir}/php.fpm
2033 cp -a sapi/fpm/php-fpm.1 $RPM_BUILD_ROOT%{_mandir}/man1/php-fpm.1
2034 cp -a sapi/fpm/php_fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}/fpm.conf
2035 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2036 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/php-fpm
2037 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2038 cp -a %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/php-fpm
2042 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
2043 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
2044 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
2045 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
2047 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2049 install -d $RPM_BUILD_ROOT%{_sysconfdir}
2050 cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2051 cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2052 cp -a %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini
2055 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2056 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2057 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2061 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2062 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2063 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2066 # Generate stub .ini files for each subpackage
2067 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2068 generate_inifiles() {
2069 for so in modules/*.so; do
2070 mod=$(basename $so .so)
2071 conf="%{_sysconfdir}/conf.d/$mod.ini"
2072 # xml needs to be loaded before wddx
2073 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_$mod.ini"
2074 # pre needs to be loaded before SPL
2075 [ "$mod" = "pcre" ] && conf="%{_sysconfdir}/conf.d/PCRE.ini"
2076 # spl needs to be loaded before mysqli
2077 [ "$mod" = "spl" ] && conf="%{_sysconfdir}/conf.d/SPL.ini"
2079 cat > $RPM_BUILD_ROOT$conf <<-EOF
2080 ; Enable $mod extension module
2087 # per SAPI ini directories
2088 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2091 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{pcntl,readline}.ini,cli.d}
2093 # use system automake and {lib,sh}tool
2094 %if "%{pld_release}" != "ac"
2095 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
2096 for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2097 ln -snf %{_aclocaldir}/${i} $RPM_BUILD_ROOT%{_libdir}/php/build
2099 ln -snf %{_datadir}/libtool/config/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2101 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
2102 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2104 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
2106 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
2107 # isn't installed by install-headers make target, we do it manually here.
2108 # this header file is required by e.g. filter PECL extension
2109 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
2110 # for php-pecl-mailparse
2111 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2112 cp -a ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2115 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2116 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2117 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2120 rm -rf $RPM_BUILD_ROOT
2122 %post -n apache1-mod_php
2123 if [ "$1" = "1" ]; then
2124 %service -q apache restart
2127 %postun -n apache1-mod_php
2128 if [ "$1" = "0" ]; then
2129 %service -q apache restart
2132 %post -n apache-mod_php
2133 if [ "$1" = "1" ]; then
2134 %service -q httpd restart
2137 %postun -n apache-mod_php
2138 if [ "$1" = "0" ]; then
2139 %service -q httpd restart
2143 /sbin/chkconfig --add php-fpm
2144 %service php-fpm restart
2147 if [ "$1" = 0 ]; then
2148 %service php-fpm stop
2149 /sbin/chkconfig --del php-fpm
2152 %post common -p /sbin/ldconfig
2153 %postun common -p /sbin/ldconfig
2156 # minimizing apache restarts logics. we restart webserver:
2158 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2159 # 2. first install of extension (post: $1 = 1)
2160 # 2. uninstall of extension (postun: $1 == 0)
2162 # the strict internal deps between extensions (and apache modules) and
2163 # common package are very important for all this to work.
2165 # restart webserver at the end of transaction
2166 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2167 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2170 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
2172 /^AddType application\/x-httpd-php \.php/s,^,#,
2173 /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
2174 ' /etc/apache/apache.conf
2175 %service -q apache restart
2179 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
2180 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
2181 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
2182 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
2183 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2187 # common macros called at extension post/postun scriptlet
2188 %define extension_scripts() \
2190 if [ "$1" = "1" ]; then \
2191 %php_webserver_restart \
2195 if [ "$1" = "0" ]; then \
2196 %php_webserver_restart \
2200 # extension scripts defines
2201 %extension_scripts bcmath
2202 %extension_scripts bzip2
2203 %extension_scripts calendar
2204 %extension_scripts ctype
2205 %extension_scripts curl
2206 %extension_scripts dba
2207 %extension_scripts dom
2208 %extension_scripts exif
2209 %extension_scripts fdf
2210 %extension_scripts fileinfo
2211 %extension_scripts filter
2212 %extension_scripts ftp
2213 %extension_scripts gd
2214 %extension_scripts gettext
2215 %extension_scripts gmp
2216 %extension_scripts hash
2217 %extension_scripts iconv
2218 %extension_scripts imap
2219 %extension_scripts interbase
2220 %extension_scripts intl
2221 %extension_scripts json
2222 %extension_scripts ldap
2223 %extension_scripts mbstring
2224 %extension_scripts mcrypt
2225 %extension_scripts mssql
2226 %extension_scripts mysql
2227 %extension_scripts mysqli
2228 %extension_scripts oci8
2229 %extension_scripts odbc
2230 %extension_scripts openssl
2231 %extension_scripts pcre
2232 %extension_scripts pdo-dblib
2233 %extension_scripts pdo-firebird
2234 %extension_scripts pdo-mysql
2235 %extension_scripts pdo-odbc
2236 %extension_scripts pdo-pgsql
2237 %extension_scripts pdo-sqlite
2238 %extension_scripts pgsql
2239 %extension_scripts phar
2240 %extension_scripts posix
2241 %extension_scripts pspell
2242 %extension_scripts recode
2243 %extension_scripts session
2244 %extension_scripts shmop
2245 %extension_scripts snmp
2246 %extension_scripts soap
2247 %extension_scripts sockets
2248 %extension_scripts spl
2249 %extension_scripts sqlite
2250 %extension_scripts sqlite3
2251 %extension_scripts sybase-ct
2252 %extension_scripts sysvmsg
2253 %extension_scripts sysvsem
2254 %extension_scripts sysvshm
2255 %extension_scripts tidy
2256 %extension_scripts tokenizer
2257 %extension_scripts wddx
2258 %extension_scripts xml
2259 %extension_scripts xmlreader
2260 %extension_scripts xmlrpc
2261 %extension_scripts xmlwriter
2262 %extension_scripts xsl
2263 %extension_scripts zip
2264 %extension_scripts zlib
2266 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2267 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2269 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2270 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bzip2\.so/d' %{_sysconfdir}/php.ini
2272 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2273 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2275 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2276 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2278 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2279 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2281 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2282 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2284 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2285 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini
2287 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2288 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2290 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2291 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2293 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2294 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2296 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2297 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2299 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2300 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2302 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2303 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2305 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2306 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2308 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2309 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2311 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2312 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2314 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2315 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2317 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2318 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2320 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2321 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2323 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2324 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2326 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2327 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2329 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2330 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini
2332 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2333 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2335 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2336 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2338 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2339 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2341 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2342 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2343 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2345 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2346 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2349 %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1
2350 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcre\.so/d' %{_sysconfdir}/php.ini
2352 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2353 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2355 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2356 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2358 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2359 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2361 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2362 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2363 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2365 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2366 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2369 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2370 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2372 %triggerun session -- %{name}-session < 4:5.0.4-9.1
2373 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*session\.so/d' %{_sysconfdir}/php.ini
2375 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2376 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2378 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2379 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2381 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2382 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini
2384 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2385 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2387 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2388 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini
2390 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2391 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini
2393 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2394 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2396 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2397 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2399 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2400 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2402 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2403 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini
2405 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2406 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2408 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2409 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2411 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2412 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2414 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2415 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini
2417 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2418 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2421 %files -n apache1-mod_php
2422 %defattr(644,root,root,755)
2423 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2424 %dir %{_sysconfdir}/apache.d
2425 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2426 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2430 %files -n apache-mod_php
2431 %defattr(644,root,root,755)
2432 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2433 %dir %{_sysconfdir}/apache2handler.d
2434 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2435 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2439 %defattr(644,root,root,755)
2440 %dir %{_sysconfdir}/cgi-fcgi.d
2441 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2442 %attr(755,root,root) %{_bindir}/php.cgi
2443 %attr(755,root,root) %{_bindir}/php.fcgi
2446 %defattr(644,root,root,755)
2447 %dir %{_sysconfdir}/cli.d
2448 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2449 %attr(755,root,root) %{_bindir}/php.cli
2450 %{_mandir}/man1/php.1*
2451 %{_mandir}/man1/php.cli.1*
2454 %defattr(644,root,root,755)
2455 %attr(755,root,root) %{_bindir}/php
2459 %defattr(644,root,root,755)
2460 %doc %lang(ru) sapi/fpm/readme-ru.markdown
2461 %doc sapi/fpm/nginx-site-conf.sample
2462 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.conf
2463 %attr(755,root,root) %{_bindir}/php.fpm
2464 %{_mandir}/man1/php-fpm.1*
2465 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/php-fpm
2466 %attr(754,root,root) /etc/rc.d/init.d/php-fpm
2470 %defattr(644,root,root,755)
2472 %doc CREDITS Zend/ZEND_CHANGES
2473 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2474 %doc README.PHP4-TO-PHP5-THIN-CHANGES
2475 %doc README.namespaces
2478 %dir %{_sysconfdir}/conf.d
2479 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2480 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2481 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2482 %dir %{php_extensiondir}
2484 %doc ext/session/mod_files.sh
2487 %defattr(644,root,root,755)
2488 %doc README.UNIX-BUILD-SYSTEM
2489 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2490 %doc CODING_STANDARDS README.EXTENSIONS README.PARAMETER_PARSING_API README.STREAMS
2491 %doc README.SUBMITTING_PATCH README.TESTING README.TESTING2
2492 %attr(755,root,root) %{_bindir}/phpize
2493 %attr(755,root,root) %{_bindir}/php-config
2494 %attr(755,root,root) %{_libdir}/libphp_common.so
2495 %{_libdir}/libphp_common.la
2497 %{_libdir}/php/build
2498 %{_mandir}/man1/php-config.1*
2499 %{_mandir}/man1/phpize.1*
2502 %defattr(644,root,root,755)
2503 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2504 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2507 %defattr(644,root,root,755)
2508 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2509 %attr(755,root,root) %{php_extensiondir}/bz2.so
2512 %defattr(644,root,root,755)
2513 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2514 %attr(755,root,root) %{php_extensiondir}/calendar.so
2517 %defattr(644,root,root,755)
2518 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2519 %attr(755,root,root) %{php_extensiondir}/ctype.so
2523 %defattr(644,root,root,755)
2524 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2525 %attr(755,root,root) %{php_extensiondir}/curl.so
2529 %defattr(644,root,root,755)
2530 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2531 %attr(755,root,root) %{php_extensiondir}/dba.so
2534 %defattr(644,root,root,755)
2535 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2536 %attr(755,root,root) %{php_extensiondir}/dom.so
2540 %defattr(644,root,root,755)
2541 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2542 %attr(755,root,root) %{php_extensiondir}/fdf.so
2546 %defattr(644,root,root,755)
2547 %doc README.input_filter
2548 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
2549 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
2553 %defattr(644,root,root,755)
2554 %doc README.input_filter
2555 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2556 %attr(755,root,root) %{php_extensiondir}/filter.so
2560 %defattr(644,root,root,755)
2561 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2562 %attr(755,root,root) %{php_extensiondir}/exif.so
2565 %defattr(644,root,root,755)
2566 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2567 %attr(755,root,root) %{php_extensiondir}/ftp.so
2570 %defattr(644,root,root,755)
2571 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2572 %attr(755,root,root) %{php_extensiondir}/gd.so
2575 %defattr(644,root,root,755)
2576 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2577 %attr(755,root,root) %{php_extensiondir}/gettext.so
2580 %defattr(644,root,root,755)
2581 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2582 %attr(755,root,root) %{php_extensiondir}/gmp.so
2585 %defattr(644,root,root,755)
2586 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2587 %attr(755,root,root) %{php_extensiondir}/hash.so
2590 %defattr(644,root,root,755)
2591 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2592 %attr(755,root,root) %{php_extensiondir}/iconv.so
2596 %defattr(644,root,root,755)
2597 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2598 %attr(755,root,root) %{php_extensiondir}/imap.so
2601 %if %{with interbase}
2603 %defattr(644,root,root,755)
2604 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2605 %attr(755,root,root) %{php_extensiondir}/interbase.so
2609 %defattr(644,root,root,755)
2610 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
2611 %attr(755,root,root) %{php_extensiondir}/intl.so
2614 %defattr(644,root,root,755)
2615 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
2616 %attr(755,root,root) %{php_extensiondir}/json.so
2620 %defattr(644,root,root,755)
2621 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2622 %attr(755,root,root) %{php_extensiondir}/ldap.so
2626 %defattr(644,root,root,755)
2627 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2628 %attr(755,root,root) %{php_extensiondir}/mbstring.so
2631 %defattr(644,root,root,755)
2632 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2633 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
2637 %defattr(644,root,root,755)
2638 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2639 %attr(755,root,root) %{php_extensiondir}/mssql.so
2643 %defattr(644,root,root,755)
2644 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2645 %attr(755,root,root) %{php_extensiondir}/mysql.so
2649 %defattr(644,root,root,755)
2650 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2651 %attr(755,root,root) %{php_extensiondir}/mysqli.so
2656 %defattr(644,root,root,755)
2657 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2658 %attr(755,root,root) %{php_extensiondir}/oci8.so
2663 %defattr(644,root,root,755)
2664 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2665 %attr(755,root,root) %{php_extensiondir}/odbc.so
2670 %defattr(644,root,root,755)
2671 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2672 %attr(755,root,root) %{php_extensiondir}/openssl.so
2676 %defattr(644,root,root,755)
2677 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2678 %attr(755,root,root) %{php_extensiondir}/pcntl.so
2682 %defattr(644,root,root,755)
2683 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
2684 %attr(755,root,root) %{php_extensiondir}/pcre.so
2688 %defattr(644,root,root,755)
2689 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2690 %attr(755,root,root) %{php_extensiondir}/pdo.so
2692 %if %{with mssql} || %{with sybase_ct}
2694 %defattr(644,root,root,755)
2695 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2696 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
2699 %if %{with interbase} && !%{with interbase_inst}
2701 %defattr(644,root,root,755)
2702 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2703 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
2707 %defattr(644,root,root,755)
2708 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2709 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
2713 %defattr(644,root,root,755)
2714 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2715 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
2720 %defattr(644,root,root,755)
2721 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2722 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
2727 %defattr(644,root,root,755)
2728 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2729 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
2734 %defattr(644,root,root,755)
2735 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2736 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
2741 %defattr(644,root,root,755)
2742 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2743 %attr(755,root,root) %{php_extensiondir}/pgsql.so
2748 %defattr(644,root,root,755)
2749 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
2750 %attr(755,root,root) %{php_extensiondir}/phar.so
2754 %defattr(644,root,root,755)
2755 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2756 %attr(755,root,root) %{php_extensiondir}/posix.so
2760 %defattr(644,root,root,755)
2761 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2762 %attr(755,root,root) %{php_extensiondir}/pspell.so
2766 %defattr(644,root,root,755)
2767 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2768 %attr(755,root,root) %{php_extensiondir}/readline.so
2772 %defattr(644,root,root,755)
2773 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2774 %attr(755,root,root) %{php_extensiondir}/recode.so
2778 %defattr(644,root,root,755)
2779 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2780 %attr(755,root,root) %{php_extensiondir}/simplexml.so
2783 %defattr(644,root,root,755)
2784 %doc ext/session/mod_files.sh
2785 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/session.ini
2786 %attr(755,root,root) %{php_extensiondir}/session.so
2789 %defattr(644,root,root,755)
2790 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2791 %attr(755,root,root) %{php_extensiondir}/shmop.so
2795 %defattr(644,root,root,755)
2796 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2797 %attr(755,root,root) %{php_extensiondir}/snmp.so
2801 %defattr(644,root,root,755)
2802 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2803 %attr(755,root,root) %{php_extensiondir}/soap.so
2806 %defattr(644,root,root,755)
2807 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2808 %attr(755,root,root) %{php_extensiondir}/sockets.so
2811 %defattr(644,root,root,755)
2812 %doc ext/spl/{CREDITS,README,TODO}
2813 %doc ext/spl/examples
2814 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
2815 %attr(755,root,root) %{php_extensiondir}/spl.so
2819 %defattr(644,root,root,755)
2820 %doc ext/sqlite/{README,TODO,CREDITS}
2821 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2822 %attr(755,root,root) %{php_extensiondir}/sqlite.so
2827 %defattr(644,root,root,755)
2828 %doc ext/sqlite3/CREDITS
2829 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
2830 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
2833 %if %{with sybase_ct}
2835 %defattr(644,root,root,755)
2836 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2837 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
2841 %defattr(644,root,root,755)
2842 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2843 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
2846 %defattr(644,root,root,755)
2847 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2848 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
2851 %defattr(644,root,root,755)
2852 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2853 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
2856 %defattr(644,root,root,755)
2857 %dir %{php_data_dir}/tests/php
2858 %{php_data_dir}/tests/php/basic
2859 %{php_data_dir}/tests/php/classes
2860 %{php_data_dir}/tests/php/func
2861 %{php_data_dir}/tests/php/lang
2862 %{php_data_dir}/tests/php/output
2863 %{php_data_dir}/tests/php/run-test
2864 %{php_data_dir}/tests/php/security
2865 %{php_data_dir}/tests/php/strings
2866 %{php_data_dir}/tests/php/quicktester.inc
2867 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
2871 %defattr(644,root,root,755)
2872 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2873 %attr(755,root,root) %{php_extensiondir}/tidy.so
2877 %defattr(644,root,root,755)
2878 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2879 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
2883 %defattr(644,root,root,755)
2884 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2885 %attr(755,root,root) %{php_extensiondir}/wddx.so
2889 %defattr(644,root,root,755)
2890 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
2891 %attr(755,root,root) %{php_extensiondir}/xml.so
2894 %defattr(644,root,root,755)
2895 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
2896 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
2900 %defattr(644,root,root,755)
2901 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
2902 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
2906 %defattr(644,root,root,755)
2907 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
2908 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
2911 %defattr(644,root,root,755)
2912 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
2913 %attr(755,root,root) %{php_extensiondir}/xsl.so
2916 %defattr(644,root,root,755)
2917 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
2918 %attr(755,root,root) %{php_extensiondir}/zip.so
2921 %defattr(644,root,root,755)
2922 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
2923 %attr(755,root,root) %{php_extensiondir}/zlib.so