3 # +Patch11: %{name}-acam.patch
4 # +Patch13: %{name}-tsrmlsfetchgcc2.patch
5 # +Patch16: %{name}-sybase-fix.patch
6 # +Patch26: %{name}-pear.patch
7 # +Patch28: %{name}-bug-42952.patch
8 # +Patch30: %{name}-apr-apu.patch
9 # +Patch31: %{name}-fcgi-error_log-no-newlines.patch
10 # +Patch32: %{name}-curl-limit-speed.patch
11 # +Patch33: %{name}-mime_magic.patch
12 # +Patch34: %{name}-libtool.patch
13 # +Patch36: %{name}-mysql-charsetphpini.patch
14 # +Patch37: %{name}-mysqli-charsetphpini.patch
15 # +Patch38: %{name}-pdo_mysql-charsetphpini.patch
16 # +Patch44: %{name}-include_path.patch
17 # +Patch45: %{name}-imap-annotations.patch
18 # +Patch46: %{name}-imap-myrights.patch
19 # - php CLI has safe mode enabled off the box
20 # - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere
21 # - removed from php 5.0 (currently in php4):
22 # db, hyperwave, java, mcal, overload, qtdom
23 # - removed from php 5.1:
25 # - removed from php 5.2:
27 # - removed from php 5.3:
28 # dbase, mime_magic, ming, ncurses, sybase
29 # - make additional headers and checking added by mail patch configurable
30 # - modularize standard (output from pure php -m)?
31 # - lib64 patch obsolete by $PHP_LIBDIR ?
32 # - move mysqlnd out of libphp-common.so, or link again with mysql-devel?
33 # - WARNING: Phar: sha256/sha512 signature support disabled if ext/hash is
34 # built shared, also PHAR_HAVE_OPENSSL is false if openssl is built shared.
35 # make it runtime dep and add Suggests (or php warning messages)
36 # - some mods should be shared:
47 %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary lib)
48 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
49 %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
50 %bcond_with system_gd # with system gd (we prefer internal since it enables few more features)
51 %bcond_without curl # without CURL extension module
52 %bcond_without filter # without filter extension module
53 %bcond_without imap # without IMAP extension module
54 %bcond_without interbase # without InterBase extension module
55 %bcond_without ldap # without LDAP extension module
56 %bcond_without mm # without mm support for session storage
57 %bcond_without mssql # without MS SQL extension module
58 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
59 %bcond_without odbc # without ODBC extension module
60 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
61 %bcond_without pcre # without PCRE extension module
62 %bcond_without pgsql # without PostgreSQL extension module
63 %bcond_without phar # without phar extension module
64 %bcond_without pspell # without pspell extension module
65 %bcond_without recode # without recode extension module
66 %bcond_without snmp # without SNMP extension module
67 %bcond_without sqlite # without SQLite extension module
68 %bcond_without sqlite3 # without SQLite3 extension module
69 %bcond_without sybase_ct # without Sybase-CT extension module
70 %bcond_without tidy # without Tidy extension module
71 %bcond_without wddx # without WDDX extension module
72 %bcond_without xmlrpc # without XML-RPC extension module
73 %bcond_without apache1 # disable building apache 1.3.x module
74 %bcond_without apache2 # disable building apache 2.x module
75 %bcond_without zts # disable Zend Thread Safety
76 %bcond_without fpm # fpm patches from http://www.php-fpm.org/
77 %bcond_without suhosin # with suhosin patch
78 %bcond_with tests # default off; test process very often hangs on builders; perform "make test"
79 %bcond_with type_hints # experimental support for strict typing/casting
81 %define apxs1 /usr/sbin/apxs1
82 %define apxs2 /usr/sbin/apxs
84 # some problems with apache 2.x
89 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha
90 # ppc disabled (broken on th-ppc)
91 %undefine with_interbase
94 %ifnarch %{ix86} %{x8664}
95 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
99 %if %{without apache1} && %{without apache2}
100 ERROR: You need to select at least one Apache SAPI to build shared modules.
103 # filter depends on pcre
105 %undefine with_filter
109 Summary: PHP: Hypertext Preprocessor
110 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
111 Summary(pl.UTF-8): Język skryptowy PHP
112 Summary(pt_BR.UTF-8): A linguagem de script PHP
113 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
114 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
117 Release: %{rel}%{?with_type_hints:th}
121 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
122 # Source0-md5: 63e97ad450f0f7259e785100b634c797
123 Source2: %{name}-mod_%{name}.conf
124 Source3: %{name}-cgi-fcgi.ini
125 Source4: %{name}-apache.ini
126 Source5: %{name}-cli.ini
127 # Taken from: http://browsers.garykeith.com/downloads.asp
128 Source9: %{name}_browscap.ini
129 Source10: %{name}-fpm.init
130 Source11: %{name}-fpm.logrotate
131 Patch0: %{name}-shared.patch
132 Patch1: %{name}-pldlogo.patch
133 Patch2: %{name}-mail.patch
134 Patch3: %{name}-link-libs.patch
135 Patch4: %{name}-libpq_fs_h_path.patch
136 Patch5: %{name}-filter-shared.patch
137 Patch6: %{name}-build_modules.patch
138 Patch7: %{name}-sapi-ini-file.patch
139 Patch8: %{name}-config-file-scan-dir.patch
140 Patch9: %{name}-sh.patch
141 Patch10: %{name}-ini.patch
142 # untill 5.3.2 when this gets released
143 Patch11: %{name}-bug-50458.patch
144 %if %{with type_hints}
145 Patch12: http://ilia.ws/patch/type_hint_53_v2.txt
147 Patch14: %{name}-no_pear_install.patch
148 Patch15: %{name}-zlib.patch
149 Patch17: %{name}-readline.patch
150 Patch18: %{name}-nohttpd.patch
151 Patch19: %{name}-gd_imagerotate_enable.patch
152 Patch20: %{name}-uint32_t.patch
153 Patch21: %{name}-dba-link.patch
154 Patch22: %{name}-both-apxs.patch
155 Patch23: %{name}-builddir.patch
156 Patch24: %{name}-zlib-for-getimagesize.patch
157 Patch25: %{name}-stupidapache_version.patch
158 Patch27: %{name}-config-dir.patch
159 Patch29: %{name}-fcgi-graceful.patch
160 Patch35: %{name}-tds.patch
161 Patch39: %{name}-use-prog_sendmail.patch
162 Patch40: %{name}-fpm.patch
163 Patch41: %{name}-fpm-config.patch
164 Patch42: %{name}-fpm-shared.patch
165 Patch43: %{name}-silent-session-cleanup.patch
166 Patch47: suhosin.patch
167 Patch49: %{name}-m4-divert.patch
168 Patch50: extension-shared-optional-dep.patch
169 Patch51: spl-shared.patch
170 Patch52: pcre-shared.patch
171 URL: http://www.php.net/
172 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
173 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
174 BuildRequires: autoconf >= 2.53
175 BuildRequires: automake >= 1.4d
177 BuildRequires: bzip2-devel
178 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
179 BuildRequires: cyrus-sasl-devel
180 BuildRequires: db-devel >= 4.0
181 BuildRequires: elfutils-devel
182 %{?with_fdf:BuildRequires: fdftk-devel}
185 %if %{with mssql} || %{with sybase_ct}
186 BuildRequires: freetds-devel >= 0.82
188 BuildRequires: freetype-devel >= 2.0
189 %if %{with system_gd}
190 BuildRequires: gd-devel >= 2.0.28-4
191 BuildRequires: gd-devel(imagerotate) = 5.2.0
193 BuildRequires: gdbm-devel
194 BuildRequires: gmp-devel
195 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
196 BuildRequires: libicu-devel
197 BuildRequires: libjpeg-devel
198 BuildRequires: libltdl-devel >= 1.4
199 BuildRequires: libmcrypt-devel >= 2.4.4
200 BuildRequires: libpng-devel >= 1.0.8
201 BuildRequires: libtiff-devel
202 %if "%{pld_release}" != "ac"
203 BuildRequires: libtool >= 2:2.2
205 BuildRequires: libtool >= 1.4.3
207 BuildRequires: libwrap-devel
208 BuildRequires: libxml2-devel >= 2.5.10
209 BuildRequires: libxslt-devel >= 1.1.0
210 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
211 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
212 %if %{with openssl} || %{with ldap}
213 BuildRequires: openssl-devel >= 0.9.7d
215 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
216 BuildRequires: pam-devel
217 %{?with_pcre:BuildRequires: pcre-devel >= 6.6}
218 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
219 %{?with_pgsql:BuildRequires: postgresql-devel}
220 BuildRequires: readline-devel
221 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
222 BuildRequires: rpm >= 4.4.9-56
223 BuildRequires: rpm-build >= 4.4.0
224 BuildRequires: rpmbuild(macros) >= 1.519
225 %{?with_sqlite:BuildRequires: sqlite-devel}
226 %{?with_sqlite3:BuildRequires: sqlite3-devel >= 3.3.9}
227 BuildRequires: t1lib-devel
228 %{?with_tidy:BuildRequires: tidy-devel}
229 %{?with_odbc:BuildRequires: unixODBC-devel}
230 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
231 BuildRequires: zlib-devel >= 1.0.9
233 BuildRequires: apache1-devel
236 BuildRequires: apache-devel >= 2.0.52-2
237 BuildRequires: apr-devel >= 1:1.0.0
238 BuildRequires: apr-util-devel >= 1:1.0.0
241 BuildRequires: judy-devel
242 BuildRequires: libevent-devel >= 1.4.7-3
244 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
246 %define php_sysconfdir /etc/php
247 %define php_extensiondir %{_libdir}/php
248 %define _sysconfdir %{php_sysconfdir}
250 # must be in sync with source. extra check ensuring that it is so is done in %%build
251 %define php_api_version 20090626
252 %define zend_module_api 20090626
253 %define zend_extension_api 220090626
255 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
256 %define php_debug %{!?debug:0}%{?debug:1}
259 # ORACLE_HOME is required for oci8 ext to build
260 %define _preserve_env %_preserve_env_base ORACLE_HOME
264 PHP is an HTML-embedded scripting language. PHP attempts to make it
265 easy for developers to write dynamically generated web pages. PHP also
266 offers built-in database integration for several commercial and
267 non-commercial database management systems, so writing a
268 database-enabled web page with PHP is fairly simple. The most common
269 use of PHP coding is probably as a replacement for CGI scripts. The
270 mod_php module enables the Apache web server to understand and process
271 the embedded PHP language in web pages. This package contains php
274 %description -l fr.UTF-8
275 PHP est un langage de script embarque dans le HTM. PHP essaye de
276 rendre simple aux developpeurs d'ecrire des pages web generees
277 dynamiquement. PHP incorpore egalement une integration avec plusieurs
278 systemes de gestion de bases de donnees commerciaux et
279 non-connerciaux, qui rent facile la creation de pages web liees avec
280 des bases de donnees. L'utilisation la plus commune de PHP est
281 probablement en remplacement de scripts CGI. Le module mod_php permet
282 au serveur web apache de comprendre et de traiter le langage PHP
283 integre dans des pages web. Ce package contient php version
286 %description -l pl.UTF-8
287 PHP jest językiem skryptowym, którego polecenia umieszcza się w
288 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
289 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
290 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
291 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
292 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
293 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
294 język PHP osadzony w stronach. Ten pakiet zawiera php w wersji
297 %description -l pt_BR.UTF-8
298 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
299 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
300 com algumas características únicas, específicas ao PHP. O objetivo da
301 linguagem é permitir que desenvolvedores web escrevam páginas
302 dinamicamente geradas de forma rápida.
304 %description -l ru.UTF-8
305 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
306 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
307 для работы с базами данных относительно просто. Наиболее популярное
308 использование PHP - замена для CGI скриптов.
310 %description -l uk.UTF-8
311 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
312 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
313 роботи з базами даних є доволі простим. Найбільш популярне
314 використання PHP - заміна для CGI скриптів.
316 %package -n apache1-mod_php
317 Summary: PHP DSO module for apache 1.3.x
318 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php dla apache 1.3.x
319 Group: Development/Languages/PHP
320 Requires(triggerpostun): sed >= 4.0
321 Requires: %{name}-common = %{epoch}:%{version}-%{release}
322 Requires: apache1(EAPI) >= 1.3.33-2
323 Requires: apache1-mod_mime
324 Provides: webserver(php) = %{version}
325 Obsoletes: apache-mod_php < 1:4.1.1
328 %description -n apache1-mod_php
329 PHP as DSO module for apache 1.3.x.
331 %description -n apache1-mod_php -l pl.UTF-8
332 php jako moduł DSO (Dynamic Shared Object) dla apache 1.3.x.
334 %package -n apache-mod_php
335 Summary: PHP DSO module for apache 2.x
336 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php dla apache 2.x
337 Group: Development/Languages/PHP
338 Requires: %{name}-common = %{epoch}:%{version}-%{release}
339 Requires: apache(modules-api) = %{apache_modules_api}
340 Requires: apache-mod_mime
341 Provides: webserver(php) = %{version}
344 %description -n apache-mod_php
345 PHP as DSO module for apache 2.x.
347 %description -n apache-mod_php -l pl.UTF-8
348 php jako moduł DSO (Dynamic Shared Object) dla apache 2.x.
351 Summary: PHP as CGI/FastCGI program
352 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
353 Group: Development/Languages/PHP
354 Requires: %{name}-common = %{epoch}:%{version}-%{release}
355 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
358 Provides: webserver(php)
359 Obsoletes: php-fcgi < 4:5.3.0
362 PHP as CGI or FastCGI program.
364 %description cgi -l pl.UTF-8
365 PHP jako program CGI lub FastCGI.
368 Summary: PHP as CLI interpreter
369 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
370 Group: Development/Languages/PHP
371 Requires: %{name}-common = %{epoch}:%{version}-%{release}
374 PHP as CLI interpreter.
376 %description cli -l pl.UTF-8
377 PHP jako interpreter działający z linii poleceń.
380 Summary: /usr/bin/php symlink
381 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
382 Group: Development/Languages/PHP
383 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
384 Obsoletes: /usr/bin/php
387 Package providing /usr/bin/php symlink to PHP CLI.
389 %description program -l pl.UTF-8
390 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
393 Summary: PHP FastCGI Process Manager
394 Group: Development/Languages/PHP
395 URL: http://www.php-fpm.org/
396 Requires(post,preun): /sbin/chkconfig
397 Requires: %{name}-common = %{epoch}:%{version}-%{release}
398 Requires: libevent >= 1.4.7-3
400 Provides: webserver(php) = %{version}
403 PHP FastCGI Process Manager.
406 Summary: Common files needed by both Apache modules and CGI/CLI SAPI-s
407 Summary(pl.UTF-8): Wspólne pliki dla modułu apache'a i programu CGI
408 Summary(ru.UTF-8): Разделяемые библиотеки для php
409 Summary(uk.UTF-8): Бібліотеки спільного використання для php
411 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
412 Requires: glibc >= 6:2.3.5
416 Provides: php(libxml)
417 Provides: php(modules_api) = %{php_api_version}
418 Provides: php(overload)
419 Provides: php(reflection)
420 Provides: php(standard)
421 Provides: php(zend_extension_api) = %{zend_extension_api}
422 Provides: php(zend_module_api) = %{zend_module_api}
423 Provides: php5(debug) = %{php_debug}
424 Provides: php5(thread-safety) = %{zend_zts}
425 Obsoletes: php-pecl-domxml
426 Conflicts: php4-common < 3:4.4.4-8
427 Conflicts: rpm < 4.4.2-0.2
430 Common files needed by both Apache modules and CGI/CLI SAPI-s.
432 %description common -l pl.UTF-8
433 Wspólne pliki dla modułu apacha i programu CGI.
435 %description common -l ru.UTF-8
436 Этот пакет содержит общие файлы для разных вариантов реализации PHP
437 (самодостаточной и в качестве модуля apache).
439 %description common -l uk.UTF-8
440 Цей пакет містить спільні файли для різних варіантів реалізації PHP
441 (самодостатньої та в якості модуля apache).
444 Summary: Files for PHP modules development
445 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
446 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
447 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
448 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
449 Group: Development/Languages/PHP
450 Requires: %{name}-common = %{epoch}:%{version}-%{release}
453 %if "%{pld_release}" != "ac"
454 Requires: libtool >= 2:2.2
458 %{?with_pcre:Requires: pcre-devel >= 6.6}
460 Obsoletes: php-pear-devel
461 Obsoletes: php4-devel
464 The php-devel package lets you compile dynamic extensions to PHP.
465 Included here is the source for the PHP extensions. Instead of
466 recompiling the whole php binary to add support for, say, oracle,
467 install this package and use the new self-contained extensions
468 support. For more information, read the file
469 README.SELF-CONTAINED-EXTENSIONS.
471 %description devel -l pl.UTF-8
472 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
473 rekompilować całe php aby dodać obsługę np. oracle, można przy użyciu
474 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
475 samodzielnych rozszerzeniach można znaleźć w pliku
476 README.SELF-CONTAINED-EXTENSIONS.
478 %description devel -l pt_BR.UTF-8
479 Este pacote contém arquivos usados no desenvolvimento de programas ou
482 %description devel -l ru.UTF-8
483 Пакет php-devel дает возможность компилировать динамические расширения
484 PHP. Пакет включает исходный код этих расширений. Вместо повторной
485 компиляции бинарного файла php для добавления, например, поддержки
486 oracle, установите этот пакет для компилирования отдельных расширений.
487 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
489 %description devel -l uk.UTF-8
490 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
491 До пакету включено вихідний код для розширень. Замість повторної
492 компіляції бінарного файлу php для додання, наприклад, підтримки
493 oracle, встановіть цей пакет для компіляції окремих розширень.
494 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
497 Summary: bcmath extension module for PHP
498 Summary(pl.UTF-8): Moduł bcmath dla PHP
500 URL: http://www.php.net/manual/en/book.bc.php
501 Requires: %{name}-common = %{epoch}:%{version}-%{release}
502 Provides: php(bcmath)
505 This is a dynamic shared object (DSO) for PHP that will add bc style
506 precision math functions support.
508 %description bcmath -l pl.UTF-8
509 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
510 matematycznych takich jak w programie bc.
513 Summary: Bzip2 extension module for PHP
514 Summary(pl.UTF-8): Moduł bzip2 dla PHP
516 URL: http://www.php.net/manual/en/book.bzip2.php
517 Requires: %{name}-common = %{epoch}:%{version}-%{release}
521 This is a dynamic shared object (DSO) for PHP that will add bzip2
522 compression support to PHP.
524 %description bzip2 -l pl.UTF-8
525 Moduł PHP umożliwiający używanie kompresji bzip2.
528 Summary: Calendar extension module for PHP
529 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
531 URL: http://www.php.net/manual/en/book.calendar.php
532 Requires: %{name}-common = %{epoch}:%{version}-%{release}
533 Provides: php(calendar)
535 %description calendar
536 This is a dynamic shared object (DSO) for PHP that will add calendar
539 %description calendar -l pl.UTF-8
540 Moduł PHP dodający wsparcie dla kalendarza.
543 Summary: ctype extension module for PHP
544 Summary(pl.UTF-8): Moduł ctype dla PHP
546 URL: http://www.php.net/manual/en/book.ctype.php
547 Requires: %{name}-common = %{epoch}:%{version}-%{release}
551 This is a dynamic shared object (DSO) for PHP that will add ctype
554 %description ctype -l pl.UTF-8
555 Moduł PHP umożliwiający korzystanie z funkcji ctype.
558 Summary: curl extension module for PHP
559 Summary(pl.UTF-8): Moduł curl dla PHP
561 URL: http://www.php.net/manual/en/book.curl.php
562 Requires: %{name}-common = %{epoch}:%{version}-%{release}
566 This is a dynamic shared object (DSO) for PHP that will add curl
569 %description curl -l pl.UTF-8
570 Moduł PHP umożliwiający korzystanie z biblioteki curl.
573 Summary: DBA extension module for PHP
574 Summary(pl.UTF-8): Moduł DBA dla PHP
576 URL: http://www.php.net/manual/en/book.dba.php
577 Requires: %{name}-common = %{epoch}:%{version}-%{release}
581 This is a dynamic shared object (DSO) for PHP that will add flat-file
582 databases (DBA) support.
584 %description dba -l pl.UTF-8
585 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
589 Summary: DOM extension module for PHP
590 Summary(pl.UTF-8): Moduł DOM dla PHP
592 URL: http://www.php.net/manual/en/book.dom.php
593 Requires: %{name}-common = %{epoch}:%{version}-%{release}
595 # it has some compatibility functions
596 Provides: php(domxml)
597 Obsoletes: php-domxml <= 3:4.3.8-1
600 This is a dynamic shared object (DSO) for PHP that will add new DOM
603 %description dom -l pl.UTF-8
604 Moduł PHP dodający nową obsługę DOM.
607 Summary: exif extension module for PHP
608 Summary(pl.UTF-8): Moduł exif dla PHP
610 URL: http://www.php.net/manual/en/book.exif.php
611 Requires: %{name}-common = %{epoch}:%{version}-%{release}
615 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
616 support in image files.
618 %description exif -l pl.UTF-8
619 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
622 Summary: FDF extension module for PHP
623 Summary(pl.UTF-8): Moduł FDF dla PHP
625 URL: http://www.php.net/manual/en/book.fdf.php
626 Requires: %{name}-common = %{epoch}:%{version}-%{release}
630 This PHP module adds support for PDF Forms through Adobe FDFTK
633 %description fdf -l pl.UTF-8
634 Moduł PHP dodający obsługę formularzy PDF poprzez bibliotekę Adobe
638 Summary: libmagic bindings
640 URL: http://www.php.net/manual/en/book.fileinfo.php
641 Requires: %{name}-common = %{epoch}:%{version}-%{release}
642 Provides: php(fileinfo)
643 Obsoletes: php-pecl-fileinfo
645 %description fileinfo
646 This extension allows retrieval of information regarding vast majority
647 of file. This information may include dimensions, quality, length
650 Additionally it can also be used to retrieve the MIME type for a
651 particular file and for text files proper language encoding.
654 Summary: Extension for safely dealing with input parameters
655 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
657 URL: http://www.php.net/manual/en/book.filter.php
658 Requires: %{name}-common = %{epoch}:%{version}-%{release}
659 Provides: php(filter)
660 Obsoletes: php-pecl-filter
663 We all know that you should always check input variables, but PHP does
664 not offer really good functionality for doing this in a safe way. The
665 Input Filter extension is meant to address this issue by implementing
666 a set of filters and mechanisms that users can use to safely access
669 %description filter -l pl.UTF-8
670 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
671 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
672 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
673 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
674 mogą bezpiecznie używać do dostępu do danych.
677 Summary: FTP extension module for PHP
678 Summary(pl.UTF-8): Moduł FTP dla PHP
680 URL: http://www.php.net/manual/en/book.ftp.php
681 Requires: %{name}-common = %{epoch}:%{version}-%{release}
685 This is a dynamic shared object (DSO) for PHP that will add FTP
688 %description ftp -l pl.UTF-8
689 Moduł PHP dodający obsługę protokołu FTP.
692 Summary: GD extension module for PHP
693 Summary(pl.UTF-8): Moduł GD dla PHP
695 URL: http://www.php.net/manual/en/book.image.php
696 Requires: %{name}-common = %{epoch}:%{version}-%{release}
697 %if %{with system_gd}
698 Requires: gd >= 2.0.28-4
700 Requires: gd(imagerotate) = 5.2.0
705 This is a dynamic shared object (DSO) for PHP that will add GD
706 support, allowing you to create and manipulate images with PHP.
708 %description gd -l pl.UTF-8
709 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
710 tworzenie i obróbkę obrazków.
713 Summary: gettext extension module for PHP
714 Summary(pl.UTF-8): Moduł gettext dla PHP
716 URL: http://www.php.net/manual/en/book.gettext.php
717 Requires: %{name}-common = %{epoch}:%{version}-%{release}
718 Provides: php(gettext)
721 This is a dynamic shared object (DSO) for PHP that will add gettext
724 %description gettext -l pl.UTF-8
725 Moduł PHP dodający obsługę lokalizacji przez gettext.
728 Summary: gmp extension module for PHP
729 Summary(pl.UTF-8): Moduł gmp dla PHP
731 URL: http://www.php.net/manual/en/book.gmp.php
732 Requires: %{name}-common = %{epoch}:%{version}-%{release}
736 This is a dynamic shared object (DSO) for PHP that will add arbitrary
737 length number support with GNU MP library.
739 %description gmp -l pl.UTF-8
740 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
741 liczbach o dowolnej długości.
744 Summary: HASH Message Digest Framework
745 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
747 URL: http://www.php.net/manual/en/book.gmp.php
748 Requires: %{name}-common = %{epoch}:%{version}-%{release}
752 Obsoletes: php-pecl-hash
755 Native implementations of common message digest algorithms using a
756 generic factory method.
758 %description hash -l pl.UTF-8
759 Natywne implementacje popularnych algorytmów obliczania skrótów
760 wiadomości przy użyciu wspólnego interfejsu.
763 Summary: iconv extension module for PHP
764 Summary(pl.UTF-8): Moduł iconv dla PHP
766 URL: http://www.php.net/manual/en/book.iconv.php
767 Requires: %{_libdir}/gconv
768 Requires: %{name}-common = %{epoch}:%{version}-%{release}
773 This is a dynamic shared object (DSO) for PHP that will add iconv
776 %description iconv -l pl.UTF-8
777 Moduł PHP dodający obsługę iconv.
780 Summary: IMAP extension module for PHP
781 Summary(pl.UTF-8): Moduł IMAP dla PHP
782 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
784 URL: http://www.php.net/manual/en/book.imap.php
785 Requires: %{name}-common = %{epoch}:%{version}-%{release}
789 This is a dynamic shared object (DSO) for PHP that will add IMAP
792 %description imap -l pl.UTF-8
793 Moduł PHP dodający obsługę skrzynek IMAP.
795 %description imap -l pt_BR.UTF-8
796 Um módulo para aplicações PHP que usam IMAP.
799 Summary: InterBase/Firebird database module for PHP
800 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
802 URL: http://www.php.net/manual/en/book.ibase.php
803 Requires: %{name}-common = %{epoch}:%{version}-%{release}
804 Provides: php(interbase)
805 %{?with_interbase_inst:Autoreq: false}
807 %description interbase
808 This is a dynamic shared object (DSO) for PHP that will add InterBase
809 and Firebird database support.
811 %description interbase -l pl.UTF-8
812 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
815 Summary: Internationalization extension (ICU wrapper)
816 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (wrapper ICU)
818 URL: http://www.php.net/intl
819 Requires: %{name}-common = %{epoch}:%{version}-%{release}
823 Internationalization extension (further is referred as Intl) is a
824 wrapper for ICU library, enabling PHP programmers to perform
825 UCA-conformant collation and date/time/number/currency formatting in
828 %description intl -l pl.UTF-8
829 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
830 wrapperem biblioteki ICU, pozwalającym programistom PHP na wykonywanie
831 w skryptach porównań zdgodnych z UCA oraz formatowań daty/czasu/walut.
834 Summary: PHP C extension for JSON serialization
835 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
837 URL: http://www.php.net/manual/en/book.json.php
838 Requires: %{name}-common = %{epoch}:%{version}-%{release}
840 Obsoletes: php-pecl-json
843 php-json is an extremely fast PHP C extension for JSON (JavaScript
844 Object Notation) serialisation.
846 %description json -l pl.UTF-8
847 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
848 (JavaScript Object Notation).
851 Summary: LDAP extension module for PHP
852 Summary(pl.UTF-8): Moduł LDAP dla PHP
853 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
855 URL: http://www.php.net/manual/en/book.ldap.php
856 Requires: %{name}-common = %{epoch}:%{version}-%{release}
860 This is a dynamic shared object (DSO) for PHP that will add LDAP
863 %description ldap -l pl.UTF-8
864 Moduł PHP dodający obsługę LDAP.
866 %description ldap -l pt_BR.UTF-8
867 Um módulo para aplicações PHP que usam LDAP.
870 Summary: mbstring extension module for PHP
871 Summary(pl.UTF-8): Moduł mbstring dla PHP
873 URL: http://www.php.net/manual/en/book.mbstring.php
874 Requires: %{name}-common = %{epoch}:%{version}-%{release}
875 Provides: php(mbstring)
877 %description mbstring
878 This is a dynamic shared object (DSO) for PHP that will add multibyte
881 %description mbstring -l pl.UTF-8
882 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
885 Summary: mcrypt extension module for PHP
886 Summary(pl.UTF-8): Moduł mcrypt dla PHP
888 URL: http://www.php.net/manual/en/book.mcrypt.php
889 Requires: %{name}-common = %{epoch}:%{version}-%{release}
890 Provides: php(mcrypt)
893 This is a dynamic shared object (DSO) for PHP that will add mcrypt
896 %description mcrypt -l pl.UTF-8
897 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
900 Summary: MS SQL extension module for PHP
901 Summary(pl.UTF-8): Moduł MS SQL dla PHP
903 URL: http://www.php.net/manual/en/book.mssql.php
904 Requires: %{name}-common = %{epoch}:%{version}-%{release}
908 This is a dynamic shared object (DSO) for PHP that will add MS SQL
909 databases support through FreeTDS library.
911 %description mssql -l pl.UTF-8
912 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
916 Summary: MySQL database module for PHP
917 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
918 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
920 URL: http://www.php.net/manual/en/book.mysql.php
921 Requires: %{name}-common = %{epoch}:%{version}-%{release}
925 This is a dynamic shared object (DSO) for PHP that will add MySQL
928 %description mysql -l pl.UTF-8
929 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
931 %description mysql -l pt_BR.UTF-8
932 Um módulo para aplicações PHP que usam bancos de dados MySQL.
935 Summary: MySQLi module for PHP
936 Summary(pl.UTF-8): Moduł MySQLi dla PHP
938 URL: http://www.php.net/manual/en/book.mysqli.php
939 Requires: %{name}-common = %{epoch}:%{version}-%{release}
940 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
941 Provides: php(mysqli)
944 This is a dynamic shared object (DSO) for PHP that will add MySQLi
945 (Improved MySQL) support. The difference between it and mysql module
946 is that it provides access to functionality of MySQL 4.1 and above.
948 %description mysqli -l pl.UTF-8
949 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
950 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
951 MySQL w wersji 4.1 i nowszych.
954 Summary: Oracle 8+ database module for PHP
955 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
957 URL: http://www.php.net/manual/en/book.oci8.php
958 Requires: %{name}-common = %{epoch}:%{version}-%{release}
963 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
964 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
966 %description oci8 -l pl.UTF-8
967 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
968 poprzez interfejs Oracle8 Call-Interface (OCI8).
971 Summary: ODBC extension module for PHP
972 Summary(pl.UTF-8): Moduł ODBC dla PHP
973 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
975 URL: http://www.php.net/manual/en/book.uodbc.php
976 Requires: %{name}-common = %{epoch}:%{version}-%{release}
977 Requires: unixODBC >= 2.1.1-3
981 This is a dynamic shared object (DSO) for PHP that will add ODBC
984 %description odbc -l pl.UTF-8
985 Moduł PHP ze wsparciem dla ODBC.
987 %description odbc -l pt_BR.UTF-8
988 Um módulo para aplicações PHP que usam ODBC.
991 Summary: OpenSSL extension module for PHP
992 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
994 URL: http://www.php.net/manual/en/book.openssl.php
995 Requires: %{name}-common = %{epoch}:%{version}-%{release}
996 Provides: php(openssl)
999 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1002 %description openssl -l pl.UTF-8
1003 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1006 Summary: Process Control extension module for PHP
1007 Summary(pl.UTF-8): Moduł Process Control dla PHP
1009 URL: http://www.php.net/manual/en/book.pcntl.php
1010 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1011 Provides: php(pcntl)
1014 This is a dynamic shared object (DSO) for PHP that will add process
1015 spawning and control support. It supports functions like fork(),
1016 waitpid(), signal() etc.
1018 %description pcntl -l pl.UTF-8
1019 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1020 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1023 Summary: PCRE extension module for PHP
1024 Summary(pl.UTF-8): Moduł PCRE dla PHP
1026 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1030 This is a dynamic shared object (DSO) for PHP that will add Perl
1031 Compatible Regular Expression support.
1033 %description pcre -l pl.UTF-8
1034 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1035 (Perl Compatible Regular Expressions)
1038 Summary: PHP Data Objects (PDO)
1039 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1041 URL: http://www.php.net/manual/en/book.pdo.php
1042 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1043 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1045 Obsoletes: php-pecl-PDO
1048 This is a dynamic shared object (DSO) for PHP that will add PDO
1051 %description pdo -l pl.UTF-8
1052 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1055 Summary: PHP Data Objects (PDO) FreeTDS support
1056 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1058 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1059 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1060 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1061 Provides: php(dblib)
1063 %description pdo-dblib
1064 This is a dynamic shared object (DSO) for PHP that will add PDO
1067 %description pdo-dblib -l pl.UTF-8
1068 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1071 %package pdo-firebird
1072 Summary: PHP Data Objects (PDO) Firebird support
1073 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1075 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1076 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1077 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1078 Provides: php(pdo-firebird)
1079 Obsoletes: php-pecl-PDO_FIREBIRD
1081 %description pdo-firebird
1082 This is a dynamic shared object (DSO) for PHP that will add PDO
1085 %description pdo-firebird -l pl.UTF-8
1086 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1090 Summary: PHP Data Objects (PDO) MySQL support
1091 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1093 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1094 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1095 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1096 Provides: php(pdo-mysql)
1097 Obsoletes: php-pecl-PDO_MYSQL
1099 %description pdo-mysql
1100 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1103 %description pdo-mysql -l pl.UTF-8
1104 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1108 Summary: PHP Data Objects (PDO) Oracle support
1109 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1111 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1112 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1113 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1114 Provides: php(pdo-oci)
1115 Obsoletes: php-pecl-PDO_OCI
1117 %description pdo-oci
1118 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1121 %description pdo-oci -l pl.UTF-8
1122 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1126 Summary: PHP Data Objects (PDO) ODBC support
1127 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1129 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1130 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1131 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1132 Provides: php(pdo-odbc)
1133 Obsoletes: php-pecl-PDO_ODBC
1135 %description pdo-odbc
1136 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1139 %description pdo-odbc -l pl.UTF-8
1140 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1144 Summary: PHP Data Objects (PDO) PostgreSQL support
1145 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1147 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1148 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1149 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1150 Provides: php(pdo-pgsql)
1151 Provides: php-pecl-PDO_PGSQL
1152 Obsoletes: php-pecl-PDO_PGSQL
1154 %description pdo-pgsql
1155 This is a dynamic shared object (DSO) for PHP that will add PDO
1158 %description pdo-pgsql -l pl.UTF-8
1159 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1163 Summary: PHP Data Objects (PDO) SQLite support
1164 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1166 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1167 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1168 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1169 Provides: php(pdo-sqlite)
1170 Obsoletes: php-pecl-PDO_SQLITE
1172 %description pdo-sqlite
1173 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1176 %description pdo-sqlite -l pl.UTF-8
1177 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1181 Summary: PostgreSQL database module for PHP
1182 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1184 URL: http://www.php.net/manual/en/book.pgsql.php
1185 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1186 Provides: php(pgsql)
1189 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1192 %description pgsql -l pl.UTF-8
1193 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1195 %description pgsql -l pt_BR.UTF-8
1196 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1199 Summary: phar database module for PHP
1200 Summary(pl.UTF-8): Moduł phar dla PHP
1202 URL: http://www.php.net/manual/en/book.phar.php
1203 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1204 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1208 This is a dynamic shared object (DSO) for PHP that will add phar
1211 %description phar -l pl.UTF-8
1212 Moduł PHP umożliwiający dostęp do achiwów .phar.
1215 Summary: POSIX extension module for PHP
1216 Summary(pl.UTF-8): Moduł POSIX dla PHP
1218 URL: http://www.php.net/manual/en/book.posix.php
1219 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1220 Provides: php(posix)
1223 This is a dynamic shared object (DSO) for PHP that will add POSIX
1224 functions support to PHP.
1226 %description posix -l pl.UTF-8
1227 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1230 Summary: pspell extension module for PHP
1231 Summary(pl.UTF-8): Moduł pspell dla PHP
1233 URL: http://www.php.net/manual/en/book.pspell.php
1234 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1235 Provides: php(pspell)
1238 This is a dynamic shared object (DSO) for PHP that will add pspell
1239 support to PHP. It allows to check the spelling of a word and offer
1242 %description pspell -l pl.UTF-8
1243 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1244 sprawdzanie pisowni słowa i sugerowanie poprawek.
1247 Summary: readline extension module for PHP
1248 Summary(pl.UTF-8): Moduł readline dla PHP
1250 URL: http://www.php.net/manual/en/book.readline.php
1251 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1252 Provides: php(readline)
1254 %description readline
1255 This PHP module adds support for readline functions (only for cli and
1258 %description readline -l pl.UTF-8
1259 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1262 Summary: recode extension module for PHP
1263 Summary(pl.UTF-8): Moduł recode dla PHP
1265 URL: http://www.php.net/manual/en/book.recode.php
1266 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1267 Requires: recode >= 3.5d-3
1268 Provides: php(recode)
1271 This is a dynamic shared object (DSO) for PHP that will add recode
1274 %description recode -l pl.UTF-8
1275 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1279 Summary: session extension module for PHP
1280 Summary(pl.UTF-8): Moduł session dla PHP
1282 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1283 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1284 Provides: php(session)
1286 %description session
1287 This is a dynamic shared object (DSO) for PHP that will add session
1290 %description session -l pl.UTF-8
1291 Moduł PHP dodający obsługę sesji.
1294 Summary: Shared Memory Operations extension module for PHP
1295 Summary(pl.UTF-8): Moduł shmop dla PHP
1297 URL: http://www.php.net/manual/en/book.shmop.php
1298 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1299 Provides: php(shmop)
1302 This is a dynamic shared object (DSO) for PHP that will add Shared
1303 Memory Operations support.
1305 %description shmop -l pl.UTF-8
1306 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1309 Summary: Simple XML extension module for PHP
1310 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1312 URL: http://www.php.net/manual/en/book.simplexml.php
1313 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1314 Provides: php(simplexml)
1316 %description simplexml
1317 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1320 %description simplexml -l pl.UTF-8
1321 Moduł PHP dodający obsługę prostego XML-a.
1324 Summary: SNMP extension module for PHP
1325 Summary(pl.UTF-8): Moduł SNMP dla PHP
1327 URL: http://www.php.net/manual/en/book.snmp.php
1328 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1329 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1333 This is a dynamic shared object (DSO) for PHP that will add SNMP
1336 %description snmp -l pl.UTF-8
1337 Moduł PHP dodający obsługę SNMP.
1340 Summary: soap extension module for PHP
1341 Summary(pl.UTF-8): Moduł soap dla PHP
1343 URL: http://www.php.net/manual/en/book.soap.php
1344 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1348 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1351 %description soap -l pl.UTF-8
1352 Moduł PHP dodający obsługę SOAP/WSDL.
1355 Summary: sockets extension module for PHP
1356 Summary(pl.UTF-8): Moduł socket dla PHP
1358 URL: http://www.php.net/manual/en/book.sockets.php
1359 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1360 Provides: php(sockets)
1362 %description sockets
1363 This is a dynamic shared object (DSO) for PHP that will add sockets
1366 %description sockets -l pl.UTF-8
1367 Moduł PHP dodający obsługę gniazdek.
1370 Summary: Standard PHP Library module for PHP
1371 Summary(pl.UTF-8): Moduł SPL dla PHP
1373 URL: http://php.net/manual/en/book.spl.php
1374 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1375 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1376 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1380 This is a dynamic shared object (DSO) for PHP that will add Standard
1381 PHP Library support.
1383 %description spl -l pl.UTF-8
1384 Moduł PHP dodający obsługę gniazdek.
1387 Summary: SQLite extension module for PHP
1388 Summary(pl.UTF-8): Moduł SQLite dla PHP
1390 URL: http://www.php.net/manual/en/book.sqlite.php
1391 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1392 Suggests: %{name}-pdo = %{epoch}:%{version}-%{release}
1393 Suggests: %{name}-spl = %{epoch}:%{version}-%{release}
1394 Provides: php(sqlite)
1397 SQLite is a C library that implements an embeddable SQL database
1398 engine. Programs that link with the SQLite library can have SQL
1399 database access without running a separate RDBMS process.
1401 SQLite is not a client library used to connect to a big database
1402 server. SQLite is the server. The SQLite library reads and writes
1403 directly to and from the database files on disk.
1405 %description sqlite -l pl.UTF-8
1406 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1407 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1408 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1411 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1412 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1413 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1417 Summary: SQLite3 extension module for PHP
1418 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1420 URL: http://php.net/manual/en/book.sqlite3.php
1421 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1422 Provides: php(sqlite3)
1424 %description sqlite3
1425 SQLite is a C library that implements an embeddable SQL database
1426 engine. Programs that link with the SQLite library can have SQL
1427 database access without running a separate RDBMS process.
1429 SQLite is not a client library used to connect to a big database
1430 server. SQLite is the server. The SQLite library reads and writes
1431 directly to and from the database files on disk.
1433 %description sqlite3 -l pl.UTF-8
1434 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1435 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1436 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1439 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1440 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1441 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1445 Summary: Sybase-CT extension module for PHP
1446 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1448 URL: http://www.php.net/manual/en/book.sybase.php
1449 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1450 Provides: php(sybase-ct)
1451 Obsoletes: php-sybase
1452 Conflicts: php-sybase
1454 %description sybase-ct
1455 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1456 MS SQL databases support through CT-lib.
1458 %description sybase-ct -l pl.UTF-8
1459 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1463 Summary: SysV msg extension module for PHP
1464 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1466 URL: http://www.php.net/manual/en/book.sem.php
1467 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1468 Provides: php(sysvmsg)
1470 %description sysvmsg
1471 This is a dynamic shared object (DSO) for PHP that will add SysV
1472 message queues support.
1474 %description sysvmsg -l pl.UTF-8
1475 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1478 Summary: SysV sem extension module for PHP
1479 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1481 URL: http://www.php.net/manual/en/book.sem.php
1482 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1483 Provides: php(sysvsem)
1485 %description sysvsem
1486 This is a dynamic shared object (DSO) for PHP that will add SysV
1489 %description sysvsem -l pl.UTF-8
1490 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1493 Summary: SysV shm extension module for PHP
1494 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1496 URL: http://www.php.net/manual/en/book.shmop.php
1497 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1498 Provides: php(sysvshm)
1500 %description sysvshm
1501 This is a dynamic shared object (DSO) for PHP that will add SysV
1502 Shared Memory support.
1504 %description sysvshm -l pl.UTF-8
1505 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1508 Summary: Contains unit test files for PHP and extensions
1509 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1511 URL: http://qa.php.net/
1512 Requires: %{name}-cli
1515 This package contains unit tests for PHP and it's extensions.
1517 %description tests -l pl.UTF-8
1518 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1521 Summary: Tidy extension module for PHP
1522 Summary(pl.UTF-8): Moduł Tidy dla PHP
1524 URL: http://www.php.net/manual/en/book.tidy.php
1525 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1530 This is a dynamic shared object (DSO) for PHP that will add Tidy
1533 %description tidy -l pl.UTF-8
1534 Moduł PHP umożliwiający korzystanie z tidy.
1537 Summary: tokenizer extension module for PHP
1538 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1540 URL: http://www.php.net/manual/en/book.tokenizer.php
1541 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1542 Provides: php(tokenizer)
1544 %description tokenizer
1545 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1548 %description tokenizer -l pl.UTF-8
1549 Moduł PHP dodający obsługę tokenizera do PHP.
1552 Summary: wddx extension module for PHP
1553 Summary(pl.UTF-8): Moduł wddx dla PHP
1555 URL: http://www.php.net/manual/en/book.wddx.php
1556 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1557 Requires: %{name}-session = %{epoch}:%{version}-%{release}
1558 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1562 This is a dynamic shared object (DSO) for PHP that will add wddx
1565 %description wddx -l pl.UTF-8
1566 Moduł PHP umożliwiający korzystanie z wddx.
1569 Summary: XML extension module for PHP
1570 Summary(pl.UTF-8): Moduł XML dla PHP
1572 URL: http://www.php.net/manual/en/book.xml.php
1573 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1577 This is a dynamic shared object (DSO) for PHP that will add XML
1578 support. This extension lets you create XML parsers and then define
1579 handlers for different XML events.
1581 %description xml -l pl.UTF-8
1582 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1583 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1584 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1587 Summary: XML Reader extension module for PHP
1588 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1590 URL: http://www.php.net/manual/en/book.xmlreader.php
1591 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1592 Suggests: %{name}-dom = %{epoch}:%{version}-%{release}
1593 Provides: php(xmlreader)
1595 %description xmlreader
1596 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1597 support. The XMLReader extension is an XML Pull parser. The reader
1598 acts as a cursor going forward on the document stream and stopping at
1599 each node on the way.
1601 %description xmlreader -l pl.UTF-8
1602 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1603 działa jako kursor przechodzący przez strumień dokumentu i
1604 zatrzymujący się na każdym węźle po drodze.
1607 Summary: xmlrpc extension module for PHP
1608 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1610 URL: http://www.php.net/manual/en/book.xmlrpc.php
1611 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1612 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1613 Provides: php(xmlrpc)
1616 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1619 %description xmlrpc -l pl.UTF-8
1620 Moduł PHP dodający obsługę XMLRPC.
1623 Summary: Fast, non-cached, forward-only means to write XML data
1624 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1626 URL: http://www.php.net/manual/en/book.xmlwriter.php
1627 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1628 Provides: php(xmlwriter)
1629 Obsoletes: php-pecl-xmlwriter
1631 %description xmlwriter
1632 This extension wraps the libxml xmlWriter API. Represents a writer
1633 that provides a non-cached, forward-only means of generating streams
1634 or files containing XML data.
1636 %description xmlwriter -l pl.UTF-8
1637 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1638 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1639 plików zawierających dane XML.
1642 Summary: xsl extension module for PHP
1643 Summary(pl.UTF-8): Moduł xsl dla PHP
1645 URL: http://www.php.net/manual/en/book.xsl.php
1646 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1647 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1648 Requires: libxslt >= 1.0.18
1649 # actually not true, functionality is similar, but API differs
1651 Obsoletes: php-xslt <= 3:4.3.8-1
1654 This is a dynamic shared object (DSO) for PHP that will add new XSL
1655 support (using libxslt).
1657 %description xsl -l pl.UTF-8
1658 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1661 Summary: Zip management extension
1662 Summary(pl.UTF-8): Zarządzanie archiwami zip
1664 URL: http://www.php.net/manual/en/book.zip.php
1665 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1667 Obsoletes: php-pecl-zip
1670 Zip is an extension to create, modify and read zip files.
1672 %description zip -l pl.UTF-8
1673 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1674 odczyt archiwów zip.
1677 Summary: Zlib extension module for PHP
1678 Summary(pl.UTF-8): Moduł zlib dla PHP
1680 URL: http://www.php.net/manual/en/book.zlib.php
1681 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1685 This is a dynamic shared object (DSO) for PHP that will add zlib
1686 compression support to PHP.
1688 %description zlib -l pl.UTF-8
1689 Moduł PHP umożliwiający używanie kompresji zlib.
1693 # prep for suhosin patch
1694 %{__sed} -i -e 's,\r$,,' Zend/Zend.dsp Zend/ZendTS.dsp
1705 cp php.ini-production php.ini
1707 %if %{with type_hints}
1714 %if %{with system_gd}
1743 # cleanup backups after patching
1744 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
1746 # conflict seems to be resolved by recode patches
1747 rm -f ext/recode/config9.m4
1749 # remove all bundled libraries not to link with them accidentally
1750 #rm -rf ext/sqlite/libsqlite
1751 rm -rf ext/sqlite3/libsqlite
1752 #rm -rf ext/bcmath/libbcmath
1753 #rm -rf ext/date/lib
1754 #rm -rf ext/dba/libcdb
1755 #rm -rf ext/dba/libflatfile
1756 #rm -rf ext/dba/libinifile
1757 #rm -rf ext/gd/libgd
1758 #rm -rf ext/mbstring/libmbfl
1759 #rm -rf ext/mbstring/oniguruma
1760 rm -rf ext/pcre/pcrelib
1761 rm -rf ext/pdo_sqlite/sqlite
1762 #rm -rf ext/soap/interop
1763 rm -rf ext/xmlrpc/libxmlrpc
1765 cp -af Zend/LICENSE{,.Zend}
1768 sed -i -e 's#-fvisibility=hidden##g' configure*
1771 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
1772 if [ $API != %{php_api_version} ]; then
1773 echo "Set %%define php_api_version to $API and re-run."
1777 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
1778 if [ $API != %{zend_module_api} ]; then
1779 echo "Set %%define zend_module_api to $API and re-run."
1783 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
1784 if [ $API != %{zend_extension_api} ]; then
1785 echo "Set %%define zend_extension_api to $API and re-run."
1789 export EXTENSION_DIR="%{php_extensiondir}"
1790 # configure once (for faster debugging purposes)
1791 if [ ! -f _built-conf ]; then
1792 # now remove Makefile copies
1793 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs{1,2}}
1796 cp -f /usr/share/automake/config.* .
1800 export PROG_SENDMAIL="/usr/lib/sendmail"
1801 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP"
1815 for sapi in $sapis; do
1817 # skip if already configured (for faster debugging purposes)
1818 [ -f Makefile.$sapi ] && continue
1823 sapi_args='--disable-cli'
1826 sapi_args='--disable-cgi'
1829 sapi_args='--disable-cli --with-fpm'
1832 ver=$(rpm -q --qf '%{V}' apache1-devel)
1833 sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
1836 ver=$(rpm -q --qf '%{V}' apache-devel)
1837 sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
1843 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1844 --cache-file=config.cache \
1846 --with-libdir=%{_lib} \
1847 --with-config-file-path=%{_sysconfdir} \
1848 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1849 --with-exec-dir=%{_bindir} \
1850 --%{!?debug:dis}%{?debug:en}able-debug \
1851 %{?with_zts:--enable-maintainer-zts} \
1852 --enable-inline-optimization \
1853 --enable-bcmath=shared \
1854 --enable-calendar=shared \
1855 --enable-ctype=shared \
1856 --enable-dba=shared \
1857 --enable-dom=shared \
1858 --enable-exif=shared \
1859 --enable-fileinfo=shared \
1860 --enable-ftp=shared \
1861 --enable-gd-native-ttf \
1862 --enable-intl=shared \
1864 --enable-magic-quotes \
1865 --enable-mbstring=shared,all \
1867 --enable-pcntl=shared \
1868 --enable-pdo=shared \
1869 --enable-json=shared \
1870 --enable-hash=shared \
1871 --enable-xmlwriter=shared \
1873 --with-libevent=shared \
1874 --with-fpm-conf=%{_sysconfdir}/fpm.conf \
1875 --with-fpm-log=/var/log/fpm.log \
1876 --with-fpm-pid=/var/run/php/fpm.pid \
1877 --with-fpm-port=9000 \
1878 --with-fpm-user=http \
1879 --with-fpm-group=http \
1881 %if %{with mssql} || %{with sybase_ct}
1882 --with-pdo-dblib=shared \
1884 %if %{with interbase} && %{without interbase_inst}
1885 --with-pdo-firebird=shared,/usr \
1887 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1888 --with-pdo-mysql=shared,mysqlnd \
1889 %{?with_oci8:--with-pdo-oci=shared} \
1890 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1891 %{?with_pgsql:--with-pdo-pgsql=shared} \
1892 %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
1893 --without-libexpat-dir \
1894 --enable-mysqlnd-threading \
1895 --enable-posix=shared \
1897 --enable-session=shared \
1898 --enable-shmop=shared \
1899 --enable-simplexml=shared \
1900 --enable-spl=shared \
1901 --enable-sysvmsg=shared \
1902 --enable-sysvsem=shared \
1903 --enable-sysvshm=shared \
1904 --enable-safe-mode \
1905 --enable-soap=shared \
1906 --enable-sockets=shared \
1907 --enable-tokenizer=shared \
1908 --enable-ucd-snmp-hack \
1909 %{?with_wddx:--enable-wddx=shared} \
1910 --enable-xml=shared \
1911 --enable-xmlreader=shared \
1913 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1915 %{?with_fdf:--with-fdftk=shared} \
1916 --with-iconv=shared \
1917 --with-freetype-dir=shared \
1918 --with-gettext=shared \
1919 --with-gd=shared%{?with_system_gd:,/usr} \
1922 %{?with_imap:--with-imap=shared --with-imap-ssl} \
1923 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1924 --with-jpeg-dir=/usr \
1925 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1926 --with-mcrypt=shared \
1927 %{?with_mm:--with-mm} \
1928 %{?with_mssql:--with-mssql=shared} \
1929 --with-mysql=shared,mysqlnd \
1930 %{?with_mysqli:--with-mysqli=shared,mysqlnd} \
1931 %{?with_oci8:--with-oci8=shared} \
1932 %{?with_openssl:--with-openssl=shared} \
1934 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=/usr} \
1935 %{!?with_filter:--disable-filter}%{?with_filter:--enable-filter=shared} \
1936 --with-pear=%{php_pear_dir} \
1937 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1938 %{!?with_phar:--disable-phar}%{?with_phar:--enable-phar=shared} \
1939 --with-png-dir=/usr \
1940 %{?with_pspell:--with-pspell=shared} \
1941 --with-readline=shared \
1942 %{?with_recode:--with-recode=shared} \
1943 --with-regex=system \
1944 %{?with_snmp:--with-snmp=shared} \
1945 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1946 %{!?with_sqlite:--without-sqlite --without-pdo-sqlite}%{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1947 %{!?with_sqlite3:--without-sqlite3}%{?with_sqlite3:--with-sqlite3=shared,/usr} \
1948 --with-t1lib=shared \
1949 %{?with_tidy:--with-tidy=shared} \
1950 %{?with_odbc:--with-unixODBC=shared,/usr} \
1951 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1953 --with-zlib=shared \
1954 --with-zlib-dir=shared,/usr \
1955 --enable-zip=shared,/usr \
1958 cp -f Makefile Makefile.$sapi
1959 cp -f main/php_config.h php_config.h.$sapi
1960 cp -f config.log config.log.$sapi
1963 # as we build each SAPI in own make, adjust php-config.in forehead
1964 sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | xargs)
1965 sed -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in"
1967 # must make libphp_common first, so modules can link against it.
1968 %{__make} libphp_common.la
1969 %{__make} build-modules
1972 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1976 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1980 cp -af php_config.h.cgi-fcgi main/php_config.h
1981 %{__make} -f Makefile.cgi-fcgi
1982 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = cgi-fcgi ] || exit 1
1985 cp -af php_config.h.cli main/php_config.h
1986 %{__make} -f Makefile.cli
1987 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = cli ] || exit 1
1990 cp -af php_config.h.fpm main/php_config.h
1991 %{__make} -f Makefile.fpm
1992 ./sapi/fpm/php-fpm -qn -m > /dev/null
1996 # Run tests, using the CLI SAPI
1997 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
1998 unset TZ LANG LC_ALL || :
2000 unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
2004 rm -rf $RPM_BUILD_ROOT
2005 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2006 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2007 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2008 $RPM_BUILD_ROOT%{_mandir}/man1 \
2010 # install the apache modules' files
2011 %{__make} install-headers install-build install-modules install-programs \
2012 INSTALL_ROOT=$RPM_BUILD_ROOT
2014 # install apache1 DSO module
2016 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2019 # install apache2 DSO module
2021 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2024 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2025 # fix install paths, avoid evil rpaths
2026 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2028 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
2031 libtool --silent --mode=install install sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.cgi
2032 ln -sf php.cgi $RPM_BUILD_ROOT%{_bindir}/php.fcgi
2036 libtool --silent --mode=install install sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_bindir}/php.fpm
2037 cp -a sapi/fpm/php-fpm.1 $RPM_BUILD_ROOT%{_mandir}/man1/php-fpm.1
2038 cp -a sapi/fpm/php_fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}/fpm.conf
2039 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2040 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/php-fpm
2041 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2042 cp -a %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/php-fpm
2046 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
2047 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
2048 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
2049 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
2051 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2053 install -d $RPM_BUILD_ROOT%{_sysconfdir}
2054 cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2055 cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2056 cp -a %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini
2059 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2060 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2061 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2065 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2066 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2067 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2070 # Generate stub .ini files for each subpackage
2071 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2072 generate_inifiles() {
2073 for so in modules/*.so; do
2074 mod=$(basename $so .so)
2075 conf="%{_sysconfdir}/conf.d/$mod.ini"
2076 # xml needs to be loaded before wddx
2077 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_$mod.ini"
2078 # pre needs to be loaded before SPL
2079 [ "$mod" = "pcre" ] && conf="%{_sysconfdir}/conf.d/PCRE.ini"
2080 # spl needs to be loaded before mysqli
2081 [ "$mod" = "spl" ] && conf="%{_sysconfdir}/conf.d/SPL.ini"
2083 cat > $RPM_BUILD_ROOT$conf <<-EOF
2084 ; Enable $mod extension module
2091 # per SAPI ini directories
2092 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2095 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{pcntl,readline}.ini,cli.d}
2097 # use system automake and {lib,sh}tool
2098 %if "%{pld_release}" != "ac"
2099 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
2100 for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2101 ln -snf %{_aclocaldir}/${i} $RPM_BUILD_ROOT%{_libdir}/php/build
2103 ln -snf %{_datadir}/libtool/config/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2105 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
2106 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2108 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
2110 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
2111 # isn't installed by install-headers make target, we do it manually here.
2112 # this header file is required by e.g. filter PECL extension
2113 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
2114 # for php-pecl-mailparse
2115 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2116 cp -a ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2119 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2120 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2121 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2124 rm -rf $RPM_BUILD_ROOT
2126 %post -n apache1-mod_php
2127 if [ "$1" = "1" ]; then
2128 %service -q apache restart
2131 %postun -n apache1-mod_php
2132 if [ "$1" = "0" ]; then
2133 %service -q apache restart
2136 %post -n apache-mod_php
2137 if [ "$1" = "1" ]; then
2138 %service -q httpd restart
2141 %postun -n apache-mod_php
2142 if [ "$1" = "0" ]; then
2143 %service -q httpd restart
2147 /sbin/chkconfig --add php-fpm
2148 %service php-fpm restart
2151 if [ "$1" = 0 ]; then
2152 %service php-fpm stop
2153 /sbin/chkconfig --del php-fpm
2156 %post common -p /sbin/ldconfig
2157 %postun common -p /sbin/ldconfig
2160 # minimizing apache restarts logics. we restart webserver:
2162 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2163 # 2. first install of extension (post: $1 = 1)
2164 # 2. uninstall of extension (postun: $1 == 0)
2166 # the strict internal deps between extensions (and apache modules) and
2167 # common package are very important for all this to work.
2169 # restart webserver at the end of transaction
2170 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2171 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2174 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
2176 /^AddType application\/x-httpd-php \.php/s,^,#,
2177 /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
2178 ' /etc/apache/apache.conf
2179 %service -q apache restart
2183 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
2184 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
2185 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
2186 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
2187 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2191 # common macros called at extension post/postun scriptlet
2192 %define extension_scripts() \
2194 if [ "$1" = "1" ]; then \
2195 %php_webserver_restart \
2199 if [ "$1" = "0" ]; then \
2200 %php_webserver_restart \
2204 # extension scripts defines
2205 %extension_scripts bcmath
2206 %extension_scripts bzip2
2207 %extension_scripts calendar
2208 %extension_scripts ctype
2209 %extension_scripts curl
2210 %extension_scripts dba
2211 %extension_scripts dom
2212 %extension_scripts exif
2213 %extension_scripts fdf
2214 %extension_scripts fileinfo
2215 %extension_scripts filter
2216 %extension_scripts ftp
2217 %extension_scripts gd
2218 %extension_scripts gettext
2219 %extension_scripts gmp
2220 %extension_scripts hash
2221 %extension_scripts iconv
2222 %extension_scripts imap
2223 %extension_scripts interbase
2224 %extension_scripts intl
2225 %extension_scripts json
2226 %extension_scripts ldap
2227 %extension_scripts mbstring
2228 %extension_scripts mcrypt
2229 %extension_scripts mssql
2230 %extension_scripts mysql
2231 %extension_scripts mysqli
2232 %extension_scripts oci8
2233 %extension_scripts odbc
2234 %extension_scripts openssl
2235 %extension_scripts pcre
2236 %extension_scripts pdo-dblib
2237 %extension_scripts pdo-firebird
2238 %extension_scripts pdo-mysql
2239 %extension_scripts pdo-odbc
2240 %extension_scripts pdo-pgsql
2241 %extension_scripts pdo-sqlite
2242 %extension_scripts pgsql
2243 %extension_scripts phar
2244 %extension_scripts posix
2245 %extension_scripts pspell
2246 %extension_scripts recode
2247 %extension_scripts session
2248 %extension_scripts shmop
2249 %extension_scripts snmp
2250 %extension_scripts soap
2251 %extension_scripts sockets
2252 %extension_scripts spl
2253 %extension_scripts sqlite
2254 %extension_scripts sqlite3
2255 %extension_scripts sybase-ct
2256 %extension_scripts sysvmsg
2257 %extension_scripts sysvsem
2258 %extension_scripts sysvshm
2259 %extension_scripts tidy
2260 %extension_scripts tokenizer
2261 %extension_scripts wddx
2262 %extension_scripts xml
2263 %extension_scripts xmlreader
2264 %extension_scripts xmlrpc
2265 %extension_scripts xmlwriter
2266 %extension_scripts xsl
2267 %extension_scripts zip
2268 %extension_scripts zlib
2270 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2271 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2273 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2274 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bzip2\.so/d' %{_sysconfdir}/php.ini
2276 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2277 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2279 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2280 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2282 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2283 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2285 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2286 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2288 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2289 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini
2291 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2292 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2294 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2295 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2297 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2298 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2300 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2301 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2303 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2304 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2306 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2307 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2309 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2310 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2312 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2313 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2315 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2316 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2318 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2319 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2321 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2322 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2324 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2325 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2327 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2328 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2330 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2331 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2333 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2334 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini
2336 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2337 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2339 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2340 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2342 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2343 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2345 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2346 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2347 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2349 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2350 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2353 %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1
2354 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcre\.so/d' %{_sysconfdir}/php.ini
2356 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2357 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2359 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2360 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2362 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2363 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2365 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2366 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2367 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2369 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2370 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2373 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2374 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2376 %triggerun session -- %{name}-session < 4:5.0.4-9.1
2377 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*session\.so/d' %{_sysconfdir}/php.ini
2379 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2380 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2382 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2383 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2385 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2386 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini
2388 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2389 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2391 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2392 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini
2394 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2395 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini
2397 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2398 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2400 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2401 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2403 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2404 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2406 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2407 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini
2409 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2410 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2412 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2413 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2415 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2416 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2418 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2419 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini
2421 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2422 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2425 %files -n apache1-mod_php
2426 %defattr(644,root,root,755)
2427 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2428 %dir %{_sysconfdir}/apache.d
2429 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2430 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2434 %files -n apache-mod_php
2435 %defattr(644,root,root,755)
2436 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2437 %dir %{_sysconfdir}/apache2handler.d
2438 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2439 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2443 %defattr(644,root,root,755)
2444 %dir %{_sysconfdir}/cgi-fcgi.d
2445 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2446 %attr(755,root,root) %{_bindir}/php.cgi
2447 %attr(755,root,root) %{_bindir}/php.fcgi
2450 %defattr(644,root,root,755)
2451 %dir %{_sysconfdir}/cli.d
2452 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2453 %attr(755,root,root) %{_bindir}/php.cli
2454 %{_mandir}/man1/php.1*
2455 %{_mandir}/man1/php.cli.1*
2458 %defattr(644,root,root,755)
2459 %attr(755,root,root) %{_bindir}/php
2463 %defattr(644,root,root,755)
2464 %doc %lang(ru) sapi/fpm/readme-ru.markdown
2465 %doc sapi/fpm/nginx-site-conf.sample
2466 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.conf
2467 %attr(755,root,root) %{_bindir}/php.fpm
2468 %{_mandir}/man1/php-fpm.1*
2469 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/php-fpm
2470 %attr(754,root,root) /etc/rc.d/init.d/php-fpm
2474 %defattr(644,root,root,755)
2476 %doc CREDITS Zend/ZEND_CHANGES
2477 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2478 %doc README.PHP4-TO-PHP5-THIN-CHANGES
2479 %doc README.namespaces
2482 %dir %{_sysconfdir}/conf.d
2483 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2484 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2485 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2486 %dir %{php_extensiondir}
2488 %doc ext/session/mod_files.sh
2491 %defattr(644,root,root,755)
2492 %doc README.UNIX-BUILD-SYSTEM
2493 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2494 %doc CODING_STANDARDS README.EXTENSIONS README.PARAMETER_PARSING_API README.STREAMS
2495 %doc README.SUBMITTING_PATCH README.TESTING README.TESTING2
2496 %attr(755,root,root) %{_bindir}/phpize
2497 %attr(755,root,root) %{_bindir}/php-config
2498 %attr(755,root,root) %{_libdir}/libphp_common.so
2499 %{_libdir}/libphp_common.la
2501 %{_libdir}/php/build
2502 %{_mandir}/man1/php-config.1*
2503 %{_mandir}/man1/phpize.1*
2506 %defattr(644,root,root,755)
2507 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2508 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2511 %defattr(644,root,root,755)
2512 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2513 %attr(755,root,root) %{php_extensiondir}/bz2.so
2516 %defattr(644,root,root,755)
2517 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2518 %attr(755,root,root) %{php_extensiondir}/calendar.so
2521 %defattr(644,root,root,755)
2522 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2523 %attr(755,root,root) %{php_extensiondir}/ctype.so
2527 %defattr(644,root,root,755)
2528 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2529 %attr(755,root,root) %{php_extensiondir}/curl.so
2533 %defattr(644,root,root,755)
2534 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2535 %attr(755,root,root) %{php_extensiondir}/dba.so
2538 %defattr(644,root,root,755)
2539 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2540 %attr(755,root,root) %{php_extensiondir}/dom.so
2544 %defattr(644,root,root,755)
2545 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2546 %attr(755,root,root) %{php_extensiondir}/fdf.so
2550 %defattr(644,root,root,755)
2551 %doc README.input_filter
2552 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
2553 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
2557 %defattr(644,root,root,755)
2558 %doc README.input_filter
2559 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2560 %attr(755,root,root) %{php_extensiondir}/filter.so
2564 %defattr(644,root,root,755)
2565 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2566 %attr(755,root,root) %{php_extensiondir}/exif.so
2569 %defattr(644,root,root,755)
2570 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2571 %attr(755,root,root) %{php_extensiondir}/ftp.so
2574 %defattr(644,root,root,755)
2575 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2576 %attr(755,root,root) %{php_extensiondir}/gd.so
2579 %defattr(644,root,root,755)
2580 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2581 %attr(755,root,root) %{php_extensiondir}/gettext.so
2584 %defattr(644,root,root,755)
2585 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2586 %attr(755,root,root) %{php_extensiondir}/gmp.so
2589 %defattr(644,root,root,755)
2590 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2591 %attr(755,root,root) %{php_extensiondir}/hash.so
2594 %defattr(644,root,root,755)
2595 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2596 %attr(755,root,root) %{php_extensiondir}/iconv.so
2600 %defattr(644,root,root,755)
2601 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2602 %attr(755,root,root) %{php_extensiondir}/imap.so
2605 %if %{with interbase}
2607 %defattr(644,root,root,755)
2608 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2609 %attr(755,root,root) %{php_extensiondir}/interbase.so
2613 %defattr(644,root,root,755)
2614 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
2615 %attr(755,root,root) %{php_extensiondir}/intl.so
2618 %defattr(644,root,root,755)
2619 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
2620 %attr(755,root,root) %{php_extensiondir}/json.so
2624 %defattr(644,root,root,755)
2625 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2626 %attr(755,root,root) %{php_extensiondir}/ldap.so
2630 %defattr(644,root,root,755)
2631 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2632 %attr(755,root,root) %{php_extensiondir}/mbstring.so
2635 %defattr(644,root,root,755)
2636 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2637 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
2641 %defattr(644,root,root,755)
2642 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2643 %attr(755,root,root) %{php_extensiondir}/mssql.so
2647 %defattr(644,root,root,755)
2648 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2649 %attr(755,root,root) %{php_extensiondir}/mysql.so
2653 %defattr(644,root,root,755)
2654 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2655 %attr(755,root,root) %{php_extensiondir}/mysqli.so
2660 %defattr(644,root,root,755)
2661 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2662 %attr(755,root,root) %{php_extensiondir}/oci8.so
2667 %defattr(644,root,root,755)
2668 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2669 %attr(755,root,root) %{php_extensiondir}/odbc.so
2674 %defattr(644,root,root,755)
2675 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2676 %attr(755,root,root) %{php_extensiondir}/openssl.so
2680 %defattr(644,root,root,755)
2681 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2682 %attr(755,root,root) %{php_extensiondir}/pcntl.so
2686 %defattr(644,root,root,755)
2687 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
2688 %attr(755,root,root) %{php_extensiondir}/pcre.so
2692 %defattr(644,root,root,755)
2693 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2694 %attr(755,root,root) %{php_extensiondir}/pdo.so
2696 %if %{with mssql} || %{with sybase_ct}
2698 %defattr(644,root,root,755)
2699 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2700 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
2703 %if %{with interbase} && !%{with interbase_inst}
2705 %defattr(644,root,root,755)
2706 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2707 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
2711 %defattr(644,root,root,755)
2712 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2713 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
2717 %defattr(644,root,root,755)
2718 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2719 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
2724 %defattr(644,root,root,755)
2725 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2726 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
2731 %defattr(644,root,root,755)
2732 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2733 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
2738 %defattr(644,root,root,755)
2739 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2740 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
2745 %defattr(644,root,root,755)
2746 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2747 %attr(755,root,root) %{php_extensiondir}/pgsql.so
2752 %defattr(644,root,root,755)
2753 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
2754 %attr(755,root,root) %{php_extensiondir}/phar.so
2758 %defattr(644,root,root,755)
2759 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2760 %attr(755,root,root) %{php_extensiondir}/posix.so
2764 %defattr(644,root,root,755)
2765 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2766 %attr(755,root,root) %{php_extensiondir}/pspell.so
2770 %defattr(644,root,root,755)
2771 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2772 %attr(755,root,root) %{php_extensiondir}/readline.so
2776 %defattr(644,root,root,755)
2777 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2778 %attr(755,root,root) %{php_extensiondir}/recode.so
2782 %defattr(644,root,root,755)
2783 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2784 %attr(755,root,root) %{php_extensiondir}/simplexml.so
2787 %defattr(644,root,root,755)
2788 %doc ext/session/mod_files.sh
2789 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/session.ini
2790 %attr(755,root,root) %{php_extensiondir}/session.so
2793 %defattr(644,root,root,755)
2794 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2795 %attr(755,root,root) %{php_extensiondir}/shmop.so
2799 %defattr(644,root,root,755)
2800 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2801 %attr(755,root,root) %{php_extensiondir}/snmp.so
2805 %defattr(644,root,root,755)
2806 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2807 %attr(755,root,root) %{php_extensiondir}/soap.so
2810 %defattr(644,root,root,755)
2811 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2812 %attr(755,root,root) %{php_extensiondir}/sockets.so
2815 %defattr(644,root,root,755)
2816 %doc ext/spl/{CREDITS,README,TODO}
2817 %doc ext/spl/examples
2818 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
2819 %attr(755,root,root) %{php_extensiondir}/spl.so
2823 %defattr(644,root,root,755)
2824 %doc ext/sqlite/{README,TODO,CREDITS}
2825 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2826 %attr(755,root,root) %{php_extensiondir}/sqlite.so
2831 %defattr(644,root,root,755)
2832 %doc ext/sqlite3/CREDITS
2833 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
2834 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
2837 %if %{with sybase_ct}
2839 %defattr(644,root,root,755)
2840 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2841 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
2845 %defattr(644,root,root,755)
2846 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2847 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
2850 %defattr(644,root,root,755)
2851 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2852 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
2855 %defattr(644,root,root,755)
2856 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2857 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
2860 %defattr(644,root,root,755)
2861 %dir %{php_data_dir}/tests/php
2862 %{php_data_dir}/tests/php/basic
2863 %{php_data_dir}/tests/php/classes
2864 %{php_data_dir}/tests/php/func
2865 %{php_data_dir}/tests/php/lang
2866 %{php_data_dir}/tests/php/output
2867 %{php_data_dir}/tests/php/run-test
2868 %{php_data_dir}/tests/php/security
2869 %{php_data_dir}/tests/php/strings
2870 %{php_data_dir}/tests/php/quicktester.inc
2871 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
2875 %defattr(644,root,root,755)
2876 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2877 %attr(755,root,root) %{php_extensiondir}/tidy.so
2881 %defattr(644,root,root,755)
2882 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2883 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
2887 %defattr(644,root,root,755)
2888 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2889 %attr(755,root,root) %{php_extensiondir}/wddx.so
2893 %defattr(644,root,root,755)
2894 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
2895 %attr(755,root,root) %{php_extensiondir}/xml.so
2898 %defattr(644,root,root,755)
2899 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
2900 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
2904 %defattr(644,root,root,755)
2905 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
2906 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
2910 %defattr(644,root,root,755)
2911 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
2912 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
2915 %defattr(644,root,root,755)
2916 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
2917 %attr(755,root,root) %{php_extensiondir}/xsl.so
2920 %defattr(644,root,root,755)
2921 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
2922 %attr(755,root,root) %{php_extensiondir}/zip.so
2925 %defattr(644,root,root,755)
2926 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
2927 %attr(755,root,root) %{php_extensiondir}/zlib.so