3 # +Patch11: %{name}-acam.patch
4 # +Patch12: %{name}-threads-acfix.patch
5 # +Patch13: %{name}-tsrmlsfetchgcc2.patch
6 # +Patch16: %{name}-sybase-fix.patch
7 # +Patch26: %{name}-pear.patch
8 # +Patch28: %{name}-bug-42952.patch
9 # +Patch30: %{name}-apr-apu.patch
10 # +Patch31: %{name}-fcgi-error_log-no-newlines.patch
11 # +Patch32: %{name}-curl-limit-speed.patch
12 # +Patch33: %{name}-mime_magic.patch
13 # +Patch34: %{name}-libtool.patch
14 # +Patch36: %{name}-mysql-charsetphpini.patch
15 # +Patch37: %{name}-mysqli-charsetphpini.patch
16 # +Patch38: %{name}-pdo_mysql-charsetphpini.patch
17 # +Patch44: %{name}-include_path.patch
18 # +Patch45: %{name}-imap-annotations.patch
19 # +Patch46: %{name}-imap-myrights.patch
20 # +Patch51: spl-shared.patch
21 # - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere
22 # - removed from php 5.0 (currently in php4):
23 # db, hyperwave, java, mcal, overload, qtdom
24 # - removed from php 5.1:
26 # - removed from php 5.2:
28 # - removed from php 5.3:
29 # dbase, mime_magic, ming, ncurses, sybase
30 # - make additional headers and checking added by mail patch configurable
31 # - modularize session, standard (output from pure php -m)?
32 # - lib64 patch obsolete by $PHP_LIBDIR ?
33 # - move mysqlnd out of libphp-common.so?
34 # - WARNING: Phar: sha256/sha512 signature support disabled if ext/hash is
35 # built shared, also PHAR_HAVE_OPENSSL is false if openssl is built shared.
36 # make it runtime dep and add Suggests (or php warning messages)
37 # - some mods should be shared:
50 %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary lib)
51 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
52 %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
53 %bcond_with system_gd # with system gd (we prefer internal since it enables few more features)
54 %bcond_without curl # without CURL extension module
55 %bcond_without filter # without filter extension module
56 %bcond_without imap # without IMAP extension module
57 %bcond_without interbase # without InterBase extension module
58 %bcond_without ldap # without LDAP extension module
59 %bcond_without mm # without mm support for session storage
60 %bcond_without mssql # without MS SQL extension module
61 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
62 %bcond_without odbc # without ODBC extension module
63 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
64 %bcond_without pgsql # without PostgreSQL extension module
65 %bcond_without phar # without phar extension module
66 %bcond_without pspell # without pspell extension module
67 %bcond_without recode # without recode extension module
68 %bcond_without snmp # without SNMP extension module
69 %bcond_without sqlite # without SQLite extension module
70 %bcond_without sqlite3 # without SQLite3 extension module
71 %bcond_without sybase_ct # without Sybase-CT extension module
72 %bcond_without tidy # without Tidy extension module
73 %bcond_without wddx # without WDDX extension module
74 %bcond_without xmlrpc # without XML-RPC extension module
75 %bcond_without apache1 # disable building apache 1.3.x module
76 %bcond_without apache2 # disable building apache 2.x module
77 %bcond_without zts # disable Zend Thread Safety
78 %bcond_without fpm # fpm patches from http://www.php-fpm.org/
79 %bcond_without suhosin # with suhosin patch
80 %bcond_with tests # default off; test process very often hangs on builders; perform "make test"
81 %bcond_with type_hints # experimental support for strict typing/casting
83 %define apxs1 /usr/sbin/apxs1
84 %define apxs2 /usr/sbin/apxs
86 # some problems with apache 2.x
91 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha
92 # ppc disabled (broken on th-ppc)
93 %undefine with_interbase
96 %ifnarch %{ix86} %{x8664} sparc sparcv9
97 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
101 %if %{without apache1} && %{without apache2}
102 ERROR: You need to select at least one Apache SAPI to build shared modules.
106 Summary: PHP: Hypertext Preprocessor
107 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
108 Summary(pl.UTF-8): Język skryptowy PHP
109 Summary(pt_BR.UTF-8): A linguagem de script PHP
110 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
111 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
114 Release: %{rel}%{?with_type_hints:th}
118 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
119 # Source0-md5: 63e97ad450f0f7259e785100b634c797
120 Source2: %{name}-mod_%{name}.conf
121 Source3: %{name}-cgi-fcgi.ini
122 Source4: %{name}-apache.ini
123 Source5: %{name}-cli.ini
124 # Taken from: http://browsers.garykeith.com/downloads.asp
125 Source9: %{name}_browscap.ini
126 Source10: %{name}-fpm.init
127 Source11: %{name}-fpm.logrotate
128 Patch0: %{name}-shared.patch
129 Patch1: %{name}-pldlogo.patch
130 Patch2: %{name}-mail.patch
131 Patch3: %{name}-link-libs.patch
132 Patch4: %{name}-libpq_fs_h_path.patch
133 Patch5: %{name}-filter-shared.patch
134 Patch6: %{name}-build_modules.patch
135 Patch7: %{name}-sapi-ini-file.patch
136 Patch8: %{name}-config-file-scan-dir.patch
137 Patch9: %{name}-sh.patch
138 Patch10: %{name}-ini.patch
139 Patch14: %{name}-no_pear_install.patch
140 Patch15: %{name}-zlib.patch
141 Patch17: %{name}-readline.patch
142 Patch18: %{name}-nohttpd.patch
143 Patch19: %{name}-gd_imagerotate_enable.patch
144 Patch20: %{name}-uint32_t.patch
145 Patch21: %{name}-dba-link.patch
146 Patch22: %{name}-both-apxs.patch
147 Patch23: %{name}-builddir.patch
148 Patch24: %{name}-zlib-for-getimagesize.patch
149 Patch25: %{name}-stupidapache_version.patch
150 Patch27: %{name}-config-dir.patch
151 Patch29: %{name}-fcgi-graceful.patch
152 Patch35: %{name}-tds.patch
153 Patch39: %{name}-use-prog_sendmail.patch
154 Patch40: %{name}-fpm.patch
155 Patch41: %{name}-fpm-config.patch
156 Patch42: %{name}-fpm-shared.patch
157 Patch43: %{name}-silent-session-cleanup.patch
158 Patch47: suhosin.patch
159 Patch49: %{name}-m4-divert.patch
160 Patch50: extension-shared-optional-dep.patch
161 %if %{with type_hints}
162 Patch52: http://ilia.ws/patch/type_hint_53_v2.txt
164 URL: http://www.php.net/
165 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
166 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
167 BuildRequires: autoconf >= 2.53
168 BuildRequires: automake >= 1.4d
170 BuildRequires: bzip2-devel
171 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
172 BuildRequires: cyrus-sasl-devel
173 BuildRequires: db-devel >= 4.0
174 BuildRequires: elfutils-devel
175 %{?with_fdf:BuildRequires: fdftk-devel}
178 %if %{with mssql} || %{with sybase_ct}
179 BuildRequires: freetds-devel >= 0.82
181 BuildRequires: freetype-devel >= 2.0
182 %if %{with system_gd}
183 BuildRequires: gd-devel >= 2.0.28-4
184 BuildRequires: gd-devel(imagerotate) = 5.2.0
186 BuildRequires: gdbm-devel
187 BuildRequires: gmp-devel
188 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
189 BuildRequires: libicu-devel
190 BuildRequires: libjpeg-devel
191 BuildRequires: libltdl-devel >= 1.4
192 BuildRequires: libmcrypt-devel >= 2.4.4
193 BuildRequires: libpng-devel >= 1.0.8
194 BuildRequires: libtiff-devel
195 %if "%{pld_release}" != "ac"
196 BuildRequires: libtool >= 2:2.2
198 BuildRequires: libtool >= 1.4.3
200 BuildRequires: libwrap-devel
201 BuildRequires: libxml2-devel >= 2.5.10
202 BuildRequires: libxslt-devel >= 1.1.0
203 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
204 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
205 %if %{with openssl} || %{with ldap}
206 BuildRequires: openssl-devel >= 0.9.7d
208 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
209 BuildRequires: pam-devel
210 BuildRequires: pcre-devel >= 6.6
211 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
212 %{?with_pgsql:BuildRequires: postgresql-devel}
213 BuildRequires: readline-devel
214 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
215 BuildRequires: rpm >= 4.4.9-56
216 BuildRequires: rpm-build >= 4.4.0
217 BuildRequires: rpmbuild(macros) >= 1.519
218 %{?with_sqlite:BuildRequires: sqlite-devel}
219 %{?with_sqlite3:BuildRequires: sqlite3-devel >= 3.3.9}
220 BuildRequires: t1lib-devel
221 %{?with_tidy:BuildRequires: tidy-devel}
222 %{?with_odbc:BuildRequires: unixODBC-devel}
223 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
224 BuildRequires: zlib-devel >= 1.0.9
226 BuildRequires: apache1-devel
229 BuildRequires: apache-devel >= 2.0.52-2
230 BuildRequires: apr-devel >= 1:1.0.0
231 BuildRequires: apr-util-devel >= 1:1.0.0
234 BuildRequires: judy-devel
235 BuildRequires: libevent-devel >= 1.4.7-3
237 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
239 %define php_sysconfdir /etc/php
240 %define php_extensiondir %{_libdir}/php
241 %define _sysconfdir %{php_sysconfdir}
243 # must be in sync with source. extra check ensuring that it is so is done in %%build
244 %define php_api_version 20090626
245 %define zend_module_api 20090626
246 %define zend_extension_api 220090626
248 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
249 %define php_debug %{!?debug:0}%{?debug:1}
252 # ORACLE_HOME is required for oci8 ext to build
253 %define _preserve_env %_preserve_env_base ORACLE_HOME
257 PHP is an HTML-embedded scripting language. PHP attempts to make it
258 easy for developers to write dynamically generated web pages. PHP also
259 offers built-in database integration for several commercial and
260 non-commercial database management systems, so writing a
261 database-enabled web page with PHP is fairly simple. The most common
262 use of PHP coding is probably as a replacement for CGI scripts. The
263 mod_php module enables the Apache web server to understand and process
264 the embedded PHP language in web pages. This package contains php
267 %description -l fr.UTF-8
268 PHP est un langage de script embarque dans le HTM. PHP essaye de
269 rendre simple aux developpeurs d'ecrire des pages web generees
270 dynamiquement. PHP incorpore egalement une integration avec plusieurs
271 systemes de gestion de bases de donnees commerciaux et
272 non-connerciaux, qui rent facile la creation de pages web liees avec
273 des bases de donnees. L'utilisation la plus commune de PHP est
274 probablement en remplacement de scripts CGI. Le module mod_php permet
275 au serveur web apache de comprendre et de traiter le langage PHP
276 integre dans des pages web. Ce package contient php version
279 %description -l pl.UTF-8
280 PHP jest językiem skryptowym, którego polecenia umieszcza się w
281 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
282 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
283 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
284 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
285 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
286 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
287 język PHP osadzony w stronach. Ten pakiet zawiera php w wersji
290 %description -l pt_BR.UTF-8
291 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
292 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
293 com algumas características únicas, específicas ao PHP. O objetivo da
294 linguagem é permitir que desenvolvedores web escrevam páginas
295 dinamicamente geradas de forma rápida.
297 %description -l ru.UTF-8
298 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
299 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
300 для работы с базами данных относительно просто. Наиболее популярное
301 использование PHP - замена для CGI скриптов.
303 %description -l uk.UTF-8
304 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
305 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
306 роботи з базами даних є доволі простим. Найбільш популярне
307 використання PHP - заміна для CGI скриптів.
309 %package -n apache1-mod_php
310 Summary: PHP DSO module for apache 1.3.x
311 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php dla apache 1.3.x
312 Group: Development/Languages/PHP
313 Requires(triggerpostun): sed >= 4.0
314 Requires: %{name}-common = %{epoch}:%{version}-%{release}
315 Requires: apache1(EAPI) >= 1.3.33-2
316 Requires: apache1-mod_mime
317 Provides: webserver(php) = %{version}
318 Obsoletes: apache-mod_php < 1:4.1.1
321 %description -n apache1-mod_php
322 PHP as DSO module for apache 1.3.x.
324 %description -n apache1-mod_php -l pl.UTF-8
325 php jako moduł DSO (Dynamic Shared Object) dla apache 1.3.x.
327 %package -n apache-mod_php
328 Summary: PHP DSO module for apache 2.x
329 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php dla apache 2.x
330 Group: Development/Languages/PHP
331 Requires: %{name}-common = %{epoch}:%{version}-%{release}
332 Requires: apache(modules-api) = %{apache_modules_api}
333 Requires: apache-mod_mime
334 Provides: webserver(php) = %{version}
337 %description -n apache-mod_php
338 PHP as DSO module for apache 2.x.
340 %description -n apache-mod_php -l pl.UTF-8
341 php jako moduł DSO (Dynamic Shared Object) dla apache 2.x.
344 Summary: PHP as CGI/FastCGI program
345 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
346 Group: Development/Languages/PHP
347 Requires: %{name}-common = %{epoch}:%{version}-%{release}
348 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
351 Provides: webserver(php)
352 Obsoletes: php-fcgi < 4:5.3.0
355 PHP as CGI or FastCGI program.
357 %description cgi -l pl.UTF-8
358 PHP jako program CGI lub FastCGI.
361 Summary: PHP as CLI interpreter
362 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
363 Group: Development/Languages/PHP
364 Requires: %{name}-common = %{epoch}:%{version}-%{release}
367 PHP as CLI interpreter.
369 %description cli -l pl.UTF-8
370 PHP jako interpreter działający z linii poleceń.
373 Summary: /usr/bin/php symlink
374 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
375 Group: Development/Languages/PHP
376 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
377 Obsoletes: /usr/bin/php
380 Package providing /usr/bin/php symlink to PHP CLI.
382 %description program -l pl.UTF-8
383 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
386 Summary: PHP FastCGI Process Manager
387 Group: Development/Languages/PHP
388 URL: http://www.php-fpm.org/
389 Requires(post,preun): /sbin/chkconfig
390 Requires: %{name}-common = %{epoch}:%{version}-%{release}
391 Requires: libevent >= 1.4.7-3
393 Provides: webserver(php) = %{version}
396 PHP FastCGI Process Manager.
399 Summary: Common files needed by both Apache modules and CGI/CLI SAPI-s
400 Summary(pl.UTF-8): Wspólne pliki dla modułu apache'a i programu CGI
401 Summary(ru.UTF-8): Разделяемые библиотеки для php
402 Summary(uk.UTF-8): Бібліотеки спільного використання для php
404 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
405 Requires: glibc >= 6:2.3.5
409 Provides: php(libxml)
410 Provides: php(modules_api) = %{php_api_version}
411 Provides: php(overload)
413 Provides: php(reflection)
414 Provides: php(session)
416 Provides: php(standard)
417 Provides: php(zend_extension_api) = %{zend_extension_api}
418 Provides: php(zend_module_api) = %{zend_module_api}
419 Provides: php5(debug) = %{php_debug}
420 Provides: php5(thread-safety) = %{zend_zts}
421 Obsoletes: php-pcre < 4:5.2.0
422 Obsoletes: php-pecl-domxml
423 Obsoletes: php-session < 3:4.2.1-2
424 Conflicts: php4-common < 3:4.4.4-8
425 Conflicts: rpm < 4.4.2-0.2
428 Common files needed by both Apache modules and CGI/CLI SAPI-s.
430 %description common -l pl.UTF-8
431 Wspólne pliki dla modułu apacha i programu CGI.
433 %description common -l ru.UTF-8
434 Этот пакет содержит общие файлы для разных вариантов реализации PHP
435 (самодостаточной и в качестве модуля apache).
437 %description common -l uk.UTF-8
438 Цей пакет містить спільні файли для різних варіантів реалізації PHP
439 (самодостатньої та в якості модуля apache).
442 Summary: Files for PHP modules development
443 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
444 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
445 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
446 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
447 Group: Development/Languages/PHP
448 Requires: %{name}-common = %{epoch}:%{version}-%{release}
452 Requires: pcre-devel >= 6.6
454 Obsoletes: php-pear-devel
455 Obsoletes: php4-devel
458 The php-devel package lets you compile dynamic extensions to PHP.
459 Included here is the source for the PHP extensions. Instead of
460 recompiling the whole php binary to add support for, say, oracle,
461 install this package and use the new self-contained extensions
462 support. For more information, read the file
463 README.SELF-CONTAINED-EXTENSIONS.
465 %description devel -l pl.UTF-8
466 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
467 rekompilować całe php aby dodać obsługę np. oracle, można przy użyciu
468 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
469 samodzielnych rozszerzeniach można znaleźć w pliku
470 README.SELF-CONTAINED-EXTENSIONS.
472 %description devel -l pt_BR.UTF-8
473 Este pacote contém arquivos usados no desenvolvimento de programas ou
476 %description devel -l ru.UTF-8
477 Пакет php-devel дает возможность компилировать динамические расширения
478 PHP. Пакет включает исходный код этих расширений. Вместо повторной
479 компиляции бинарного файла php для добавления, например, поддержки
480 oracle, установите этот пакет для компилирования отдельных расширений.
481 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
483 %description devel -l uk.UTF-8
484 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
485 До пакету включено вихідний код для розширень. Замість повторної
486 компіляції бінарного файлу php для додання, наприклад, підтримки
487 oracle, встановіть цей пакет для компіляції окремих розширень.
488 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
491 Summary: bcmath extension module for PHP
492 Summary(pl.UTF-8): Moduł bcmath dla PHP
494 URL: http://www.php.net/manual/en/book.bc.php
495 Requires: %{name}-common = %{epoch}:%{version}-%{release}
496 Provides: php(bcmath)
499 This is a dynamic shared object (DSO) for PHP that will add bc style
500 precision math functions support.
502 %description bcmath -l pl.UTF-8
503 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
504 matematycznych takich jak w programie bc.
507 Summary: Bzip2 extension module for PHP
508 Summary(pl.UTF-8): Moduł bzip2 dla PHP
510 URL: http://www.php.net/manual/en/book.bzip2.php
511 Requires: %{name}-common = %{epoch}:%{version}-%{release}
515 This is a dynamic shared object (DSO) for PHP that will add bzip2
516 compression support to PHP.
518 %description bzip2 -l pl.UTF-8
519 Moduł PHP umożliwiający używanie kompresji bzip2.
522 Summary: Calendar extension module for PHP
523 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
525 URL: http://www.php.net/manual/en/book.calendar.php
526 Requires: %{name}-common = %{epoch}:%{version}-%{release}
527 Provides: php(calendar)
529 %description calendar
530 This is a dynamic shared object (DSO) for PHP that will add calendar
533 %description calendar -l pl.UTF-8
534 Moduł PHP dodający wsparcie dla kalendarza.
537 Summary: ctype extension module for PHP
538 Summary(pl.UTF-8): Moduł ctype dla PHP
540 URL: http://www.php.net/manual/en/book.ctype.php
541 Requires: %{name}-common = %{epoch}:%{version}-%{release}
545 This is a dynamic shared object (DSO) for PHP that will add ctype
548 %description ctype -l pl.UTF-8
549 Moduł PHP umożliwiający korzystanie z funkcji ctype.
552 Summary: curl extension module for PHP
553 Summary(pl.UTF-8): Moduł curl dla PHP
555 URL: http://www.php.net/manual/en/book.curl.php
556 Requires: %{name}-common = %{epoch}:%{version}-%{release}
560 This is a dynamic shared object (DSO) for PHP that will add curl
563 %description curl -l pl.UTF-8
564 Moduł PHP umożliwiający korzystanie z biblioteki curl.
567 Summary: DBA extension module for PHP
568 Summary(pl.UTF-8): Moduł DBA dla PHP
570 URL: http://www.php.net/manual/en/book.dba.php
571 Requires: %{name}-common = %{epoch}:%{version}-%{release}
575 This is a dynamic shared object (DSO) for PHP that will add flat-file
576 databases (DBA) support.
578 %description dba -l pl.UTF-8
579 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
583 Summary: DOM extension module for PHP
584 Summary(pl.UTF-8): Moduł DOM dla PHP
586 URL: http://www.php.net/manual/en/book.dom.php
587 Requires: %{name}-common = %{epoch}:%{version}-%{release}
589 # it has some compatibility functions
590 Provides: php(domxml)
591 Obsoletes: php-domxml <= 3:4.3.8-1
594 This is a dynamic shared object (DSO) for PHP that will add new DOM
597 %description dom -l pl.UTF-8
598 Moduł PHP dodający nową obsługę DOM.
601 Summary: exif extension module for PHP
602 Summary(pl.UTF-8): Moduł exif dla PHP
604 URL: http://www.php.net/manual/en/book.exif.php
605 Requires: %{name}-common = %{epoch}:%{version}-%{release}
609 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
610 support in image files.
612 %description exif -l pl.UTF-8
613 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
616 Summary: FDF extension module for PHP
617 Summary(pl.UTF-8): Moduł FDF dla PHP
619 URL: http://www.php.net/manual/en/book.fdf.php
620 Requires: %{name}-common = %{epoch}:%{version}-%{release}
624 This PHP module adds support for PDF Forms through Adobe FDFTK
627 %description fdf -l pl.UTF-8
628 Moduł PHP dodający obsługę formularzy PDF poprzez bibliotekę Adobe
632 Summary: libmagic bindings
634 URL: http://www.php.net/manual/en/book.fileinfo.php
635 Requires: %{name}-common = %{epoch}:%{version}-%{release}
636 Provides: php(fileinfo)
637 Obsoletes: php-pecl-fileinfo
639 %description fileinfo
640 This extension allows retrieval of information regarding vast majority
641 of file. This information may include dimensions, quality, length
644 Additionally it can also be used to retrieve the MIME type for a
645 particular file and for text files proper language encoding.
648 Summary: Extension for safely dealing with input parameters
649 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
651 URL: http://www.php.net/manual/en/book.filter.php
652 Requires: %{name}-common = %{epoch}:%{version}-%{release}
653 Provides: php(filter)
654 Obsoletes: php-pecl-filter
657 We all know that you should always check input variables, but PHP does
658 not offer really good functionality for doing this in a safe way. The
659 Input Filter extension is meant to address this issue by implementing
660 a set of filters and mechanisms that users can use to safely access
663 %description filter -l pl.UTF-8
664 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
665 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
666 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
667 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
668 mogą bezpiecznie używać do dostępu do danych.
671 Summary: FTP extension module for PHP
672 Summary(pl.UTF-8): Moduł FTP dla PHP
674 URL: http://www.php.net/manual/en/book.ftp.php
675 Requires: %{name}-common = %{epoch}:%{version}-%{release}
679 This is a dynamic shared object (DSO) for PHP that will add FTP
682 %description ftp -l pl.UTF-8
683 Moduł PHP dodający obsługę protokołu FTP.
686 Summary: GD extension module for PHP
687 Summary(pl.UTF-8): Moduł GD dla PHP
689 URL: http://www.php.net/manual/en/book.image.php
690 Requires: %{name}-common = %{epoch}:%{version}-%{release}
691 %if %{with system_gd}
692 Requires: gd >= 2.0.28-4
694 Requires: gd(imagerotate) = 5.2.0
699 This is a dynamic shared object (DSO) for PHP that will add GD
700 support, allowing you to create and manipulate images with PHP.
702 %description gd -l pl.UTF-8
703 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
704 tworzenie i obróbkę obrazków.
707 Summary: gettext extension module for PHP
708 Summary(pl.UTF-8): Moduł gettext dla PHP
710 URL: http://www.php.net/manual/en/book.gettext.php
711 Requires: %{name}-common = %{epoch}:%{version}-%{release}
712 Provides: php(gettext)
715 This is a dynamic shared object (DSO) for PHP that will add gettext
718 %description gettext -l pl.UTF-8
719 Moduł PHP dodający obsługę lokalizacji przez gettext.
722 Summary: gmp extension module for PHP
723 Summary(pl.UTF-8): Moduł gmp dla PHP
725 URL: http://www.php.net/manual/en/book.gmp.php
726 Requires: %{name}-common = %{epoch}:%{version}-%{release}
730 This is a dynamic shared object (DSO) for PHP that will add arbitrary
731 length number support with GNU MP library.
733 %description gmp -l pl.UTF-8
734 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
735 liczbach o dowolnej długości.
738 Summary: HASH Message Digest Framework
739 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
741 URL: http://www.php.net/manual/en/book.gmp.php
742 Requires: %{name}-common = %{epoch}:%{version}-%{release}
746 Obsoletes: php-pecl-hash
749 Native implementations of common message digest algorithms using a
750 generic factory method.
752 %description hash -l pl.UTF-8
753 Natywne implementacje popularnych algorytmów obliczania skrótów
754 wiadomości przy użyciu wspólnego interfejsu.
757 Summary: iconv extension module for PHP
758 Summary(pl.UTF-8): Moduł iconv dla PHP
760 URL: http://www.php.net/manual/en/book.iconv.php
761 Requires: %{_libdir}/gconv
762 Requires: %{name}-common = %{epoch}:%{version}-%{release}
767 This is a dynamic shared object (DSO) for PHP that will add iconv
770 %description iconv -l pl.UTF-8
771 Moduł PHP dodający obsługę iconv.
774 Summary: IMAP extension module for PHP
775 Summary(pl.UTF-8): Moduł IMAP dla PHP
776 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
778 URL: http://www.php.net/manual/en/book.imap.php
779 Requires: %{name}-common = %{epoch}:%{version}-%{release}
783 This is a dynamic shared object (DSO) for PHP that will add IMAP
786 %description imap -l pl.UTF-8
787 Moduł PHP dodający obsługę skrzynek IMAP.
789 %description imap -l pt_BR.UTF-8
790 Um módulo para aplicações PHP que usam IMAP.
793 Summary: InterBase/Firebird database module for PHP
794 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
796 URL: http://www.php.net/manual/en/book.ibase.php
797 Requires: %{name}-common = %{epoch}:%{version}-%{release}
798 Provides: php(interbase)
799 %{?with_interbase_inst:Autoreq: false}
801 %description interbase
802 This is a dynamic shared object (DSO) for PHP that will add InterBase
803 and Firebird database support.
805 %description interbase -l pl.UTF-8
806 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
809 Summary: Internationalization extension (ICU wrapper)
810 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (wrapper ICU)
812 URL: http://www.php.net/intl
813 Requires: %{name}-common = %{epoch}:%{version}-%{release}
817 Internationalization extension (further is referred as Intl) is a
818 wrapper for ICU library, enabling PHP programmers to perform
819 UCA-conformant collation and date/time/number/currency formatting in
822 %description intl -l pl.UTF-8
823 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
824 wrapperem biblioteki ICU, pozwalającym programistom PHP na wykonywanie
825 w skryptach porównań zdgodnych z UCA oraz formatowań daty/czasu/walut.
828 Summary: PHP C extension for JSON serialization
829 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
831 URL: http://www.php.net/manual/en/book.json.php
832 Requires: %{name}-common = %{epoch}:%{version}-%{release}
834 Obsoletes: php-pecl-json
837 php-json is an extremely fast PHP C extension for JSON (JavaScript
838 Object Notation) serialisation.
840 %description json -l pl.UTF-8
841 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
842 (JavaScript Object Notation).
845 Summary: LDAP extension module for PHP
846 Summary(pl.UTF-8): Moduł LDAP dla PHP
847 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
849 URL: http://www.php.net/manual/en/book.ldap.php
850 Requires: %{name}-common = %{epoch}:%{version}-%{release}
854 This is a dynamic shared object (DSO) for PHP that will add LDAP
857 %description ldap -l pl.UTF-8
858 Moduł PHP dodający obsługę LDAP.
860 %description ldap -l pt_BR.UTF-8
861 Um módulo para aplicações PHP que usam LDAP.
864 Summary: mbstring extension module for PHP
865 Summary(pl.UTF-8): Moduł mbstring dla PHP
867 URL: http://www.php.net/manual/en/book.mbstring.php
868 Requires: %{name}-common = %{epoch}:%{version}-%{release}
869 Provides: php(mbstring)
871 %description mbstring
872 This is a dynamic shared object (DSO) for PHP that will add multibyte
875 %description mbstring -l pl.UTF-8
876 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
879 Summary: mcrypt extension module for PHP
880 Summary(pl.UTF-8): Moduł mcrypt dla PHP
882 URL: http://www.php.net/manual/en/book.mcrypt.php
883 Requires: %{name}-common = %{epoch}:%{version}-%{release}
884 Provides: php(mcrypt)
887 This is a dynamic shared object (DSO) for PHP that will add mcrypt
890 %description mcrypt -l pl.UTF-8
891 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
894 Summary: MS SQL extension module for PHP
895 Summary(pl.UTF-8): Moduł MS SQL dla PHP
897 URL: http://www.php.net/manual/en/book.mssql.php
898 Requires: %{name}-common = %{epoch}:%{version}-%{release}
902 This is a dynamic shared object (DSO) for PHP that will add MS SQL
903 databases support through FreeTDS library.
905 %description mssql -l pl.UTF-8
906 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
910 Summary: MySQL database module for PHP
911 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
912 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
914 URL: http://www.php.net/manual/en/book.mysql.php
915 Requires: %{name}-common = %{epoch}:%{version}-%{release}
919 This is a dynamic shared object (DSO) for PHP that will add MySQL
922 %description mysql -l pl.UTF-8
923 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
925 %description mysql -l pt_BR.UTF-8
926 Um módulo para aplicações PHP que usam bancos de dados MySQL.
929 Summary: MySQLi module for PHP
930 Summary(pl.UTF-8): Moduł MySQLi dla PHP
932 URL: http://www.php.net/manual/en/book.mysqli.php
933 Requires: %{name}-common = %{epoch}:%{version}-%{release}
934 Provides: php(mysqli)
937 This is a dynamic shared object (DSO) for PHP that will add MySQLi
938 (Improved MySQL) support. The difference between it and mysql module
939 is that it provides access to functionality of MySQL 4.1 and above.
941 %description mysqli -l pl.UTF-8
942 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
943 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
944 MySQL w wersji 4.1 i nowszych.
947 Summary: Oracle 8+ database module for PHP
948 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
950 URL: http://www.php.net/manual/en/book.oci8.php
951 Requires: %{name}-common = %{epoch}:%{version}-%{release}
956 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
957 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
959 %description oci8 -l pl.UTF-8
960 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
961 poprzez interfejs Oracle8 Call-Interface (OCI8).
964 Summary: ODBC extension module for PHP
965 Summary(pl.UTF-8): Moduł ODBC dla PHP
966 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
968 URL: http://www.php.net/manual/en/book.uodbc.php
969 Requires: %{name}-common = %{epoch}:%{version}-%{release}
970 Requires: unixODBC >= 2.1.1-3
974 This is a dynamic shared object (DSO) for PHP that will add ODBC
977 %description odbc -l pl.UTF-8
978 Moduł PHP ze wsparciem dla ODBC.
980 %description odbc -l pt_BR.UTF-8
981 Um módulo para aplicações PHP que usam ODBC.
984 Summary: OpenSSL extension module for PHP
985 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
987 URL: http://www.php.net/manual/en/book.openssl.php
988 Requires: %{name}-common = %{epoch}:%{version}-%{release}
989 Provides: php(openssl)
992 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
995 %description openssl -l pl.UTF-8
996 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
999 Summary: Process Control extension module for PHP
1000 Summary(pl.UTF-8): Moduł Process Control dla PHP
1002 URL: http://www.php.net/manual/en/book.pcntl.php
1003 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1004 Provides: php(pcntl)
1007 This is a dynamic shared object (DSO) for PHP that will add process
1008 spawning and control support. It supports functions like fork(),
1009 waitpid(), signal() etc.
1011 %description pcntl -l pl.UTF-8
1012 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1013 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1016 Summary: PHP Data Objects (PDO)
1017 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1019 URL: http://www.php.net/manual/en/book.pdo.php
1020 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1022 Obsoletes: php-pecl-PDO
1025 This is a dynamic shared object (DSO) for PHP that will add PDO
1028 %description pdo -l pl.UTF-8
1029 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1032 Summary: PHP Data Objects (PDO) FreeTDS support
1033 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1035 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1036 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1037 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1038 Provides: php(dblib)
1040 %description pdo-dblib
1041 This is a dynamic shared object (DSO) for PHP that will add PDO
1044 %description pdo-dblib -l pl.UTF-8
1045 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1048 %package pdo-firebird
1049 Summary: PHP Data Objects (PDO) Firebird support
1050 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1052 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1053 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1054 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1055 Provides: php(pdo-firebird)
1056 Obsoletes: php-pecl-PDO_FIREBIRD
1058 %description pdo-firebird
1059 This is a dynamic shared object (DSO) for PHP that will add PDO
1062 %description pdo-firebird -l pl.UTF-8
1063 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1067 Summary: PHP Data Objects (PDO) MySQL support
1068 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1070 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1071 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1072 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1073 Provides: php(pdo-mysql)
1074 Obsoletes: php-pecl-PDO_MYSQL
1076 %description pdo-mysql
1077 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1080 %description pdo-mysql -l pl.UTF-8
1081 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1085 Summary: PHP Data Objects (PDO) Oracle support
1086 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1088 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1089 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1090 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1091 Provides: php(pdo-oci)
1092 Obsoletes: php-pecl-PDO_OCI
1094 %description pdo-oci
1095 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1098 %description pdo-oci -l pl.UTF-8
1099 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1103 Summary: PHP Data Objects (PDO) ODBC support
1104 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1106 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1107 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1108 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1109 Provides: php(pdo-odbc)
1110 Obsoletes: php-pecl-PDO_ODBC
1112 %description pdo-odbc
1113 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1116 %description pdo-odbc -l pl.UTF-8
1117 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1121 Summary: PHP Data Objects (PDO) PostgreSQL support
1122 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1124 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1125 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1126 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1127 Provides: php(pdo-pgsql)
1128 Provides: php-pecl-PDO_PGSQL
1129 Obsoletes: php-pecl-PDO_PGSQL
1131 %description pdo-pgsql
1132 This is a dynamic shared object (DSO) for PHP that will add PDO
1135 %description pdo-pgsql -l pl.UTF-8
1136 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1140 Summary: PHP Data Objects (PDO) SQLite support
1141 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1143 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1144 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1145 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1146 Provides: php(pdo-sqlite)
1147 Obsoletes: php-pecl-PDO_SQLITE
1149 %description pdo-sqlite
1150 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1153 %description pdo-sqlite -l pl.UTF-8
1154 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1158 Summary: PostgreSQL database module for PHP
1159 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1161 URL: http://www.php.net/manual/en/book.pgsql.php
1162 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1163 Provides: php(pgsql)
1166 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1169 %description pgsql -l pl.UTF-8
1170 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1172 %description pgsql -l pt_BR.UTF-8
1173 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1176 Summary: phar database module for PHP
1177 Summary(pl.UTF-8): Moduł phar dla PHP
1179 URL: http://www.php.net/manual/en/book.phar.php
1180 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1184 This is a dynamic shared object (DSO) for PHP that will add phar
1187 %description phar -l pl.UTF-8
1188 Moduł PHP umożliwiający dostęp do achiwów .phar.
1191 Summary: POSIX extension module for PHP
1192 Summary(pl.UTF-8): Moduł POSIX dla PHP
1194 URL: http://www.php.net/manual/en/book.posix.php
1195 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1196 Provides: php(posix)
1199 This is a dynamic shared object (DSO) for PHP that will add POSIX
1200 functions support to PHP.
1202 %description posix -l pl.UTF-8
1203 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1206 Summary: pspell extension module for PHP
1207 Summary(pl.UTF-8): Moduł pspell dla PHP
1209 URL: http://www.php.net/manual/en/book.pspell.php
1210 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1211 Provides: php(pspell)
1214 This is a dynamic shared object (DSO) for PHP that will add pspell
1215 support to PHP. It allows to check the spelling of a word and offer
1218 %description pspell -l pl.UTF-8
1219 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1220 sprawdzanie pisowni słowa i sugerowanie poprawek.
1223 Summary: readline extension module for PHP
1224 Summary(pl.UTF-8): Moduł readline dla PHP
1226 URL: http://www.php.net/manual/en/book.readline.php
1227 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1228 Provides: php(readline)
1230 %description readline
1231 This PHP module adds support for readline functions (only for cli and
1234 %description readline -l pl.UTF-8
1235 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1238 Summary: recode extension module for PHP
1239 Summary(pl.UTF-8): Moduł recode dla PHP
1241 URL: http://www.php.net/manual/en/book.recode.php
1242 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1243 Requires: recode >= 3.5d-3
1244 Provides: php(recode)
1247 This is a dynamic shared object (DSO) for PHP that will add recode
1250 %description recode -l pl.UTF-8
1251 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1255 Summary: Shared Memory Operations extension module for PHP
1256 Summary(pl.UTF-8): Moduł shmop dla PHP
1258 URL: http://www.php.net/manual/en/book.shmop.php
1259 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1260 Provides: php(shmop)
1263 This is a dynamic shared object (DSO) for PHP that will add Shared
1264 Memory Operations support.
1266 %description shmop -l pl.UTF-8
1267 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1270 Summary: Simple XML extension module for PHP
1271 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1273 URL: http://www.php.net/manual/en/book.simplexml.php
1274 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1275 Provides: php(simplexml)
1277 %description simplexml
1278 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1281 %description simplexml -l pl.UTF-8
1282 Moduł PHP dodający obsługę prostego XML-a.
1285 Summary: SNMP extension module for PHP
1286 Summary(pl.UTF-8): Moduł SNMP dla PHP
1288 URL: http://www.php.net/manual/en/book.snmp.php
1289 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1290 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1294 This is a dynamic shared object (DSO) for PHP that will add SNMP
1297 %description snmp -l pl.UTF-8
1298 Moduł PHP dodający obsługę SNMP.
1301 Summary: soap extension module for PHP
1302 Summary(pl.UTF-8): Moduł soap dla PHP
1304 URL: http://www.php.net/manual/en/book.soap.php
1305 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1309 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1312 %description soap -l pl.UTF-8
1313 Moduł PHP dodający obsługę SOAP/WSDL.
1316 Summary: sockets extension module for PHP
1317 Summary(pl.UTF-8): Moduł socket dla PHP
1319 URL: http://www.php.net/manual/en/book.sockets.php
1320 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1321 Provides: php(sockets)
1323 %description sockets
1324 This is a dynamic shared object (DSO) for PHP that will add sockets
1327 %description sockets -l pl.UTF-8
1328 Moduł PHP dodający obsługę gniazdek.
1331 Summary: SQLite extension module for PHP
1332 Summary(pl.UTF-8): Moduł SQLite dla PHP
1334 URL: http://www.php.net/manual/en/book.sqlite.php
1335 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1336 # sqlite ext extends spl and pdo
1337 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1338 Provides: php(sqlite)
1341 SQLite is a C library that implements an embeddable SQL database
1342 engine. Programs that link with the SQLite library can have SQL
1343 database access without running a separate RDBMS process.
1345 SQLite is not a client library used to connect to a big database
1346 server. SQLite is the server. The SQLite library reads and writes
1347 directly to and from the database files on disk.
1349 %description sqlite -l pl.UTF-8
1350 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1351 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1352 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1355 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1356 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1357 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1361 Summary: SQLite3 extension module for PHP
1362 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1364 URL: http://php.net/manual/en/book.sqlite3.php
1365 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1366 Provides: php(sqlite3)
1368 %description sqlite3
1369 SQLite is a C library that implements an embeddable SQL database
1370 engine. Programs that link with the SQLite library can have SQL
1371 database access without running a separate RDBMS process.
1373 SQLite is not a client library used to connect to a big database
1374 server. SQLite is the server. The SQLite library reads and writes
1375 directly to and from the database files on disk.
1377 %description sqlite3 -l pl.UTF-8
1378 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1379 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1380 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1383 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1384 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1385 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1389 Summary: Sybase-CT extension module for PHP
1390 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1392 URL: http://www.php.net/manual/en/book.sybase.php
1393 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1394 Provides: php(sybase-ct)
1395 Obsoletes: php-sybase
1396 Conflicts: php-sybase
1398 %description sybase-ct
1399 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1400 MS SQL databases support through CT-lib.
1402 %description sybase-ct -l pl.UTF-8
1403 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1407 Summary: SysV msg extension module for PHP
1408 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1410 URL: http://www.php.net/manual/en/book.sem.php
1411 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1412 Provides: php(sysvmsg)
1414 %description sysvmsg
1415 This is a dynamic shared object (DSO) for PHP that will add SysV
1416 message queues support.
1418 %description sysvmsg -l pl.UTF-8
1419 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1422 Summary: SysV sem extension module for PHP
1423 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1425 URL: http://www.php.net/manual/en/book.sem.php
1426 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1427 Provides: php(sysvsem)
1429 %description sysvsem
1430 This is a dynamic shared object (DSO) for PHP that will add SysV
1433 %description sysvsem -l pl.UTF-8
1434 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1437 Summary: SysV shm extension module for PHP
1438 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1440 URL: http://www.php.net/manual/en/book.shmop.php
1441 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1442 Provides: php(sysvshm)
1444 %description sysvshm
1445 This is a dynamic shared object (DSO) for PHP that will add SysV
1446 Shared Memory support.
1448 %description sysvshm -l pl.UTF-8
1449 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1452 Summary: Contains unit test files for PHP and extensions
1453 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1455 URL: http://qa.php.net/
1456 Requires: %{name}-cli
1459 This package contains unit tests for PHP and it's extensions.
1461 %description tests -l pl.UTF-8
1462 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1465 Summary: Tidy extension module for PHP
1466 Summary(pl.UTF-8): Moduł Tidy dla PHP
1468 URL: http://www.php.net/manual/en/book.tidy.php
1469 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1474 This is a dynamic shared object (DSO) for PHP that will add Tidy
1477 %description tidy -l pl.UTF-8
1478 Moduł PHP umożliwiający korzystanie z tidy.
1481 Summary: tokenizer extension module for PHP
1482 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1484 URL: http://www.php.net/manual/en/book.tokenizer.php
1485 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1486 Provides: php(tokenizer)
1488 %description tokenizer
1489 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1492 %description tokenizer -l pl.UTF-8
1493 Moduł PHP dodający obsługę tokenizera do PHP.
1496 Summary: wddx extension module for PHP
1497 Summary(pl.UTF-8): Moduł wddx dla PHP
1499 URL: http://www.php.net/manual/en/book.wddx.php
1500 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1501 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1502 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1506 This is a dynamic shared object (DSO) for PHP that will add wddx
1509 %description wddx -l pl.UTF-8
1510 Moduł PHP umożliwiający korzystanie z wddx.
1513 Summary: XML extension module for PHP
1514 Summary(pl.UTF-8): Moduł XML dla PHP
1516 URL: http://www.php.net/manual/en/book.xml.php
1517 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1521 This is a dynamic shared object (DSO) for PHP that will add XML
1522 support. This extension lets you create XML parsers and then define
1523 handlers for different XML events.
1525 %description xml -l pl.UTF-8
1526 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1527 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1528 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1531 Summary: XML Reader extension module for PHP
1532 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1534 URL: http://www.php.net/manual/en/book.xmlreader.php
1535 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1536 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1537 Provides: php(xmlreader)
1539 %description xmlreader
1540 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1541 support. The XMLReader extension is an XML Pull parser. The reader
1542 acts as a cursor going forward on the document stream and stopping at
1543 each node on the way.
1545 %description xmlreader -l pl.UTF-8
1546 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1547 działa jako kursor przechodzący przez strumień dokumentu i
1548 zatrzymujący się na każdym węźle po drodze.
1551 Summary: xmlrpc extension module for PHP
1552 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1554 URL: http://www.php.net/manual/en/book.xmlrpc.php
1555 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1556 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1557 Provides: php(xmlrpc)
1560 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1563 %description xmlrpc -l pl.UTF-8
1564 Moduł PHP dodający obsługę XMLRPC.
1567 Summary: Fast, non-cached, forward-only means to write XML data
1568 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1570 URL: http://www.php.net/manual/en/book.xmlwriter.php
1571 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1572 Provides: php(xmlwriter)
1573 Obsoletes: php-pecl-xmlwriter
1575 %description xmlwriter
1576 This extension wraps the libxml xmlWriter API. Represents a writer
1577 that provides a non-cached, forward-only means of generating streams
1578 or files containing XML data.
1580 %description xmlwriter -l pl.UTF-8
1581 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1582 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1583 plików zawierających dane XML.
1586 Summary: xsl extension module for PHP
1587 Summary(pl.UTF-8): Moduł xsl dla PHP
1589 URL: http://www.php.net/manual/en/book.xsl.php
1590 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1591 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1592 Requires: libxslt >= 1.0.18
1593 # actually not true, functionality is similar, but API differs
1595 Obsoletes: php-xslt <= 3:4.3.8-1
1598 This is a dynamic shared object (DSO) for PHP that will add new XSL
1599 support (using libxslt).
1601 %description xsl -l pl.UTF-8
1602 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1605 Summary: Zip management extension
1606 Summary(pl.UTF-8): Zarządzanie archiwami zip
1608 URL: http://www.php.net/manual/en/book.zip.php
1609 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1611 Obsoletes: php-pecl-zip
1614 Zip is an extension to create, modify and read zip files.
1616 %description zip -l pl.UTF-8
1617 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1618 odczyt archiwów zip.
1621 Summary: Zlib extension module for PHP
1622 Summary(pl.UTF-8): Moduł zlib dla PHP
1624 URL: http://www.php.net/manual/en/book.zlib.php
1625 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1629 This is a dynamic shared object (DSO) for PHP that will add zlib
1630 compression support to PHP.
1632 %description zlib -l pl.UTF-8
1633 Moduł PHP umożliwiający używanie kompresji zlib.
1639 %{__sed} -i -e 's,\r$,,' Zend/Zend.dsp Zend/ZendTS.dsp
1641 %if %{with type_hints}
1655 cp php.ini-production php.ini
1661 %if %{with system_gd}
1686 # cleanup backups after patching
1687 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
1689 # conflict seems to be resolved by recode patches
1690 rm -f ext/recode/config9.m4
1692 # remove all bundled libraries not to link with them accidentally
1693 #rm -rf ext/sqlite/libsqlite
1694 rm -rf ext/sqlite3/libsqlite
1695 #rm -rf ext/bcmath/libbcmath
1696 #rm -rf ext/date/lib
1697 #rm -rf ext/dba/libcdb
1698 #rm -rf ext/dba/libflatfile
1699 #rm -rf ext/dba/libinifile
1700 #rm -rf ext/gd/libgd
1701 #rm -rf ext/mbstring/libmbfl
1702 #rm -rf ext/mbstring/oniguruma
1703 rm -rf ext/pcre/pcrelib
1704 rm -rf ext/pdo_sqlite/sqlite
1705 #rm -rf ext/soap/interop
1706 rm -rf ext/xmlrpc/libxmlrpc
1708 cp -af Zend/LICENSE{,.Zend}
1711 sed -i -e 's#-fvisibility=hidden##g' configure*
1714 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
1715 if [ $API != %{php_api_version} ]; then
1716 echo "Set %%define php_api_version to $API and re-run."
1720 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
1721 if [ $API != %{zend_module_api} ]; then
1722 echo "Set %%define zend_module_api to $API and re-run."
1726 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
1727 if [ $API != %{zend_extension_api} ]; then
1728 echo "Set %%define zend_extension_api to $API and re-run."
1732 export EXTENSION_DIR="%{php_extensiondir}"
1733 # configure once (for faster debugging purposes)
1734 if [ ! -f _built-conf ]; then
1735 # now remove Makefile copies
1736 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs{1,2}}
1739 cp -f /usr/share/automake/config.* .
1743 export PROG_SENDMAIL="/usr/lib/sendmail"
1744 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP"
1758 for sapi in $sapis; do
1760 # skip if already configured (for faster debugging purposes)
1761 [ -f Makefile.$sapi ] && continue
1766 sapi_args='--disable-cli'
1769 sapi_args='--disable-cgi'
1772 sapi_args='--disable-cli --with-fpm'
1775 ver=$(rpm -q --qf '%{V}' apache1-devel)
1776 sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
1779 ver=$(rpm -q --qf '%{V}' apache-devel)
1780 sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
1786 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1787 --cache-file=config.cache \
1789 --with-libdir=%{_lib} \
1790 --with-config-file-path=%{_sysconfdir} \
1791 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1792 --with-exec-dir=%{_bindir} \
1793 --%{!?debug:dis}%{?debug:en}able-debug \
1794 %{?with_zts:--enable-maintainer-zts} \
1795 --enable-inline-optimization \
1796 --enable-bcmath=shared \
1797 --enable-calendar=shared \
1798 --enable-ctype=shared \
1799 --enable-dba=shared \
1800 --enable-dom=shared \
1801 --enable-exif=shared \
1802 --enable-fileinfo=shared \
1803 --enable-ftp=shared \
1804 --enable-gd-native-ttf \
1805 --enable-intl=shared \
1807 --enable-magic-quotes \
1808 --enable-mbstring=shared,all \
1810 --enable-pcntl=shared \
1811 --enable-pdo=shared \
1812 --enable-json=shared \
1813 --enable-hash=shared \
1814 --enable-xmlwriter=shared \
1816 --with-libevent=shared \
1817 --with-fpm-conf=%{_sysconfdir}/fpm.conf \
1818 --with-fpm-log=/var/log/fpm.log \
1819 --with-fpm-pid=/var/run/php/fpm.pid \
1820 --with-fpm-port=9000 \
1821 --with-fpm-user=http \
1822 --with-fpm-group=http \
1824 %if %{with mssql} || %{with sybase_ct}
1825 --with-pdo-dblib=shared \
1827 %if %{with interbase} && %{without interbase_inst}
1828 --with-pdo-firebird=shared,/usr \
1830 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1831 --with-pdo-mysql=shared,mysqlnd \
1832 %{?with_oci8:--with-pdo-oci=shared} \
1833 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1834 %{?with_pgsql:--with-pdo-pgsql=shared} \
1835 %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
1836 --without-libexpat-dir \
1837 --enable-mysqlnd-threading \
1838 --enable-posix=shared \
1841 --enable-shmop=shared \
1842 --enable-simplexml=shared \
1843 --enable-sysvmsg=shared \
1844 --enable-sysvsem=shared \
1845 --enable-sysvshm=shared \
1846 --enable-safe-mode \
1847 --enable-soap=shared \
1848 --enable-sockets=shared \
1849 --enable-tokenizer=shared \
1850 --enable-ucd-snmp-hack \
1851 %{?with_wddx:--enable-wddx=shared} \
1852 --enable-xml=shared \
1853 --enable-xmlreader=shared \
1855 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1857 %{?with_fdf:--with-fdftk=shared} \
1858 --with-iconv=shared \
1859 --with-freetype-dir=shared \
1860 --with-gettext=shared \
1861 --with-gd=shared%{?with_system_gd:,/usr} \
1864 %{?with_imap:--with-imap=shared --with-imap-ssl} \
1865 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1866 --with-jpeg-dir=/usr \
1867 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1868 --with-mcrypt=shared \
1869 %{?with_mm:--with-mm} \
1870 %{?with_mssql:--with-mssql=shared} \
1871 --with-mysql=shared,mysqlnd \
1872 %{?with_mysqli:--with-mysqli=shared,mysqlnd} \
1873 %{?with_oci8:--with-oci8=shared} \
1874 %{?with_openssl:--with-openssl=shared} \
1876 --with-pcre-regex=/usr \
1877 %{!?with_filter:--disable-filter}%{?with_filter:--enable-filter=shared} \
1878 --with-pear=%{php_pear_dir} \
1879 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1880 %{!?with_phar:--disable-phar}%{?with_phar:--enable-phar=shared} \
1881 --with-png-dir=/usr \
1882 %{?with_pspell:--with-pspell=shared} \
1883 --with-readline=shared \
1884 %{?with_recode:--with-recode=shared} \
1885 --with-regex=system \
1886 %{?with_snmp:--with-snmp=shared} \
1887 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1888 %{!?with_sqlite:--without-sqlite --without-pdo-sqlite}%{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1889 %{!?with_sqlite3:--without-sqlite3}%{?with_sqlite3:--with-sqlite3=shared,/usr} \
1890 --with-t1lib=shared \
1891 %{?with_tidy:--with-tidy=shared} \
1892 %{?with_odbc:--with-unixODBC=shared,/usr} \
1893 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1895 --with-zlib=shared \
1896 --with-zlib-dir=shared,/usr \
1897 --enable-zip=shared,/usr \
1900 cp -f Makefile Makefile.$sapi
1901 cp -f main/php_config.h php_config.h.$sapi
1902 cp -f config.log config.log.$sapi
1905 # as we build each SAPI in own make, adjust php-config.in forehead
1906 sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | xargs)
1907 sed -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in"
1909 # must make libphp_common first, so modules can link against it.
1910 %{__make} libphp_common.la
1911 %{__make} build-modules
1914 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1918 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1922 cp -af php_config.h.cgi-fcgi main/php_config.h
1923 %{__make} -f Makefile.cgi-fcgi
1924 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = cgi-fcgi ] || exit 1
1927 cp -af php_config.h.cli main/php_config.h
1928 %{__make} -f Makefile.cli
1929 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = cli ] || exit 1
1932 cp -af php_config.h.fpm main/php_config.h
1933 %{__make} -f Makefile.fpm
1934 ./sapi/fpm/php-fpm -qn -m > /dev/null
1938 # Run tests, using the CLI SAPI
1939 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
1940 unset TZ LANG LC_ALL || :
1942 unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
1946 rm -rf $RPM_BUILD_ROOT
1947 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
1948 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1949 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
1950 $RPM_BUILD_ROOT%{_mandir}/man1 \
1952 # install the apache modules' files
1953 %{__make} install-headers install-build install-modules install-programs \
1954 INSTALL_ROOT=$RPM_BUILD_ROOT
1956 # install apache1 DSO module
1958 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
1961 # install apache2 DSO module
1963 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
1966 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1967 # fix install paths, avoid evil rpaths
1968 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
1970 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
1973 libtool --silent --mode=install install sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.cgi
1974 ln -sf php.cgi $RPM_BUILD_ROOT%{_bindir}/php.fcgi
1978 libtool --silent --mode=install install sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_bindir}/php.fpm
1979 cp -a sapi/fpm/php-fpm.1 $RPM_BUILD_ROOT%{_mandir}/man1/php-fpm.1
1980 cp -a sapi/fpm/php_fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}/fpm.conf
1981 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
1982 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/php-fpm
1983 install -d $RPM_BUILD_ROOT/etc/logrotate.d
1984 cp -a %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/php-fpm
1988 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
1989 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
1990 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
1991 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1993 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1995 install -d $RPM_BUILD_ROOT%{_sysconfdir}
1996 cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1997 cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1998 cp -a %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini
2001 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2002 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2003 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2007 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2008 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2009 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2012 # Generate stub .ini files for each subpackage
2013 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2014 generate_inifiles() {
2015 for so in modules/*.so; do
2016 mod=$(basename $so .so)
2017 conf="%{_sysconfdir}/conf.d/$mod.ini"
2018 # xml needs to be loaded before wddx
2019 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_$mod.ini"
2021 cat > $RPM_BUILD_ROOT$conf <<-EOF
2022 ; Enable $mod extension module
2029 # per SAPI ini directories
2030 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2033 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{pcntl,readline}.ini,cli.d}
2035 # use system automake and {lib,sh}tool
2036 %if "%{pld_release}" != "ac"
2037 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
2038 for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2039 ln -snf %{_aclocaldir}/${i} $RPM_BUILD_ROOT%{_libdir}/php/build
2041 ln -snf %{_datadir}/libtool/config/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2043 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
2044 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2046 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
2048 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
2049 # isn't installed by install-headers make target, we do it manually here.
2050 # this header file is required by e.g. filter PECL extension
2051 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
2052 # for php-pecl-mailparse
2053 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2054 cp -a ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2057 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2058 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2059 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2062 rm -rf $RPM_BUILD_ROOT
2064 %post -n apache1-mod_php
2065 if [ "$1" = "1" ]; then
2066 %service -q apache restart
2069 %postun -n apache1-mod_php
2070 if [ "$1" = "0" ]; then
2071 %service -q apache restart
2074 %post -n apache-mod_php
2075 if [ "$1" = "1" ]; then
2076 %service -q httpd restart
2079 %postun -n apache-mod_php
2080 if [ "$1" = "0" ]; then
2081 %service -q httpd restart
2085 /sbin/chkconfig --add php-fpm
2086 %service php-fpm restart
2089 if [ "$1" = 0 ]; then
2090 %service php-fpm stop
2091 /sbin/chkconfig --del php-fpm
2094 %post common -p /sbin/ldconfig
2095 %postun common -p /sbin/ldconfig
2098 # minimizing apache restarts logics. we restart webserver:
2100 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2101 # 2. first install of extension (post: $1 = 1)
2102 # 2. uninstall of extension (postun: $1 == 0)
2104 # the strict internal deps between extensions (and apache modules) and
2105 # common package are very important for all this to work.
2107 # restart webserver at the end of transaction
2108 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2109 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2112 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
2114 /^AddType application\/x-httpd-php \.php/s,^,#,
2115 /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
2116 ' /etc/apache/apache.conf
2117 %service -q apache restart
2121 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
2122 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
2123 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
2124 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
2125 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2129 # common macros called at extension post/postun scriptlet
2130 %define extension_scripts() \
2132 if [ "$1" = "1" ]; then \
2133 %php_webserver_restart \
2137 if [ "$1" = "0" ]; then \
2138 %php_webserver_restart \
2142 # extension scripts defines
2143 %extension_scripts bcmath
2144 %extension_scripts bzip2
2145 %extension_scripts calendar
2146 %extension_scripts ctype
2147 %extension_scripts curl
2148 %extension_scripts dba
2149 %extension_scripts dom
2150 %extension_scripts exif
2151 %extension_scripts fdf
2152 %extension_scripts fileinfo
2153 %extension_scripts filter
2154 %extension_scripts ftp
2155 %extension_scripts gd
2156 %extension_scripts gettext
2157 %extension_scripts gmp
2158 %extension_scripts hash
2159 %extension_scripts iconv
2160 %extension_scripts imap
2161 %extension_scripts interbase
2162 %extension_scripts intl
2163 %extension_scripts json
2164 %extension_scripts ldap
2165 %extension_scripts mbstring
2166 %extension_scripts mcrypt
2167 %extension_scripts mssql
2168 %extension_scripts mysql
2169 %extension_scripts mysqli
2170 %extension_scripts oci8
2171 %extension_scripts odbc
2172 %extension_scripts openssl
2173 %extension_scripts pdo-dblib
2174 %extension_scripts pdo-firebird
2175 %extension_scripts pdo-mysql
2176 %extension_scripts pdo-odbc
2177 %extension_scripts pdo-pgsql
2178 %extension_scripts pdo-sqlite
2179 %extension_scripts pgsql
2180 %extension_scripts phar
2181 %extension_scripts posix
2182 %extension_scripts pspell
2183 %extension_scripts recode
2184 %extension_scripts shmop
2185 %extension_scripts snmp
2186 %extension_scripts soap
2187 %extension_scripts sockets
2188 %extension_scripts sqlite
2189 %extension_scripts sqlite3
2190 %extension_scripts sybase-ct
2191 %extension_scripts sysvmsg
2192 %extension_scripts sysvsem
2193 %extension_scripts sysvshm
2194 %extension_scripts tidy
2195 %extension_scripts tokenizer
2196 %extension_scripts wddx
2197 %extension_scripts xml
2198 %extension_scripts xmlreader
2199 %extension_scripts xmlrpc
2200 %extension_scripts xmlwriter
2201 %extension_scripts xsl
2202 %extension_scripts zip
2203 %extension_scripts zlib
2205 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2206 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2208 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2209 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bzip2\.so/d' %{_sysconfdir}/php.ini
2211 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2212 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2214 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2215 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2217 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2218 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2220 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2221 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2223 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2224 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini
2226 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2227 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2229 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2230 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2232 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2233 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2235 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2236 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2238 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2239 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2241 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2242 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2244 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2245 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2247 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2248 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2250 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2251 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2253 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2254 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2256 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2257 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2259 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2260 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2262 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2263 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2265 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2266 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2268 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2269 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini
2271 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2272 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2274 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2275 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2277 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2278 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2280 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2281 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2282 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2284 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2285 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2288 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2289 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2291 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2292 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2294 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2295 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2297 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2298 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2299 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2301 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2302 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2305 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2306 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2308 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2309 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2311 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2312 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2314 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2315 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini
2317 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2318 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2320 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2321 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini
2323 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2324 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini
2326 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2327 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2329 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2330 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2332 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2333 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2335 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2336 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini
2338 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2339 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2341 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2342 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2344 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2345 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2347 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2348 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini
2350 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2351 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2354 %files -n apache1-mod_php
2355 %defattr(644,root,root,755)
2356 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2357 %dir %{_sysconfdir}/apache.d
2358 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2359 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2363 %files -n apache-mod_php
2364 %defattr(644,root,root,755)
2365 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2366 %dir %{_sysconfdir}/apache2handler.d
2367 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2368 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2372 %defattr(644,root,root,755)
2373 %dir %{_sysconfdir}/cgi-fcgi.d
2374 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2375 %attr(755,root,root) %{_bindir}/php.cgi
2376 %attr(755,root,root) %{_bindir}/php.fcgi
2379 %defattr(644,root,root,755)
2380 %dir %{_sysconfdir}/cli.d
2381 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2382 %attr(755,root,root) %{_bindir}/php.cli
2383 %{_mandir}/man1/php.1*
2384 %{_mandir}/man1/php.cli.1*
2387 %defattr(644,root,root,755)
2388 %attr(755,root,root) %{_bindir}/php
2392 %defattr(644,root,root,755)
2393 %doc %lang(ru) sapi/fpm/readme-ru.markdown
2394 %doc sapi/fpm/nginx-site-conf.sample
2395 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.conf
2396 %attr(755,root,root) %{_bindir}/php.fpm
2397 %{_mandir}/man1/php-fpm.1*
2398 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/php-fpm
2399 %attr(754,root,root) /etc/rc.d/init.d/php-fpm
2403 %defattr(644,root,root,755)
2405 %doc CREDITS Zend/ZEND_CHANGES
2406 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2407 %doc README.PHP4-TO-PHP5-THIN-CHANGES
2408 %doc README.namespaces
2411 %dir %{_sysconfdir}/conf.d
2412 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2413 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2414 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2415 %dir %{php_extensiondir}
2417 %doc ext/session/mod_files.sh
2420 %defattr(644,root,root,755)
2421 %doc README.UNIX-BUILD-SYSTEM
2422 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2423 %doc CODING_STANDARDS README.EXTENSIONS README.PARAMETER_PARSING_API README.STREAMS
2424 %doc README.SUBMITTING_PATCH README.TESTING README.TESTING2
2425 %attr(755,root,root) %{_bindir}/phpize
2426 %attr(755,root,root) %{_bindir}/php-config
2427 %attr(755,root,root) %{_libdir}/libphp_common.so
2428 %{_libdir}/libphp_common.la
2430 %{_libdir}/php/build
2431 %{_mandir}/man1/php-config.1*
2432 %{_mandir}/man1/phpize.1*
2435 %defattr(644,root,root,755)
2436 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2437 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2440 %defattr(644,root,root,755)
2441 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2442 %attr(755,root,root) %{php_extensiondir}/bz2.so
2445 %defattr(644,root,root,755)
2446 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2447 %attr(755,root,root) %{php_extensiondir}/calendar.so
2450 %defattr(644,root,root,755)
2451 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2452 %attr(755,root,root) %{php_extensiondir}/ctype.so
2456 %defattr(644,root,root,755)
2457 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2458 %attr(755,root,root) %{php_extensiondir}/curl.so
2462 %defattr(644,root,root,755)
2463 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2464 %attr(755,root,root) %{php_extensiondir}/dba.so
2467 %defattr(644,root,root,755)
2468 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2469 %attr(755,root,root) %{php_extensiondir}/dom.so
2473 %defattr(644,root,root,755)
2474 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2475 %attr(755,root,root) %{php_extensiondir}/fdf.so
2479 %defattr(644,root,root,755)
2480 %doc README.input_filter
2481 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
2482 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
2486 %defattr(644,root,root,755)
2487 %doc README.input_filter
2488 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2489 %attr(755,root,root) %{php_extensiondir}/filter.so
2493 %defattr(644,root,root,755)
2494 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2495 %attr(755,root,root) %{php_extensiondir}/exif.so
2498 %defattr(644,root,root,755)
2499 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2500 %attr(755,root,root) %{php_extensiondir}/ftp.so
2503 %defattr(644,root,root,755)
2504 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2505 %attr(755,root,root) %{php_extensiondir}/gd.so
2508 %defattr(644,root,root,755)
2509 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2510 %attr(755,root,root) %{php_extensiondir}/gettext.so
2513 %defattr(644,root,root,755)
2514 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2515 %attr(755,root,root) %{php_extensiondir}/gmp.so
2518 %defattr(644,root,root,755)
2519 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2520 %attr(755,root,root) %{php_extensiondir}/hash.so
2523 %defattr(644,root,root,755)
2524 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2525 %attr(755,root,root) %{php_extensiondir}/iconv.so
2529 %defattr(644,root,root,755)
2530 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2531 %attr(755,root,root) %{php_extensiondir}/imap.so
2534 %if %{with interbase}
2536 %defattr(644,root,root,755)
2537 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2538 %attr(755,root,root) %{php_extensiondir}/interbase.so
2542 %defattr(644,root,root,755)
2543 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
2544 %attr(755,root,root) %{php_extensiondir}/intl.so
2547 %defattr(644,root,root,755)
2548 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
2549 %attr(755,root,root) %{php_extensiondir}/json.so
2553 %defattr(644,root,root,755)
2554 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2555 %attr(755,root,root) %{php_extensiondir}/ldap.so
2559 %defattr(644,root,root,755)
2560 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2561 %attr(755,root,root) %{php_extensiondir}/mbstring.so
2564 %defattr(644,root,root,755)
2565 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2566 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
2570 %defattr(644,root,root,755)
2571 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2572 %attr(755,root,root) %{php_extensiondir}/mssql.so
2576 %defattr(644,root,root,755)
2577 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2578 %attr(755,root,root) %{php_extensiondir}/mysql.so
2582 %defattr(644,root,root,755)
2583 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2584 %attr(755,root,root) %{php_extensiondir}/mysqli.so
2589 %defattr(644,root,root,755)
2590 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2591 %attr(755,root,root) %{php_extensiondir}/oci8.so
2596 %defattr(644,root,root,755)
2597 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2598 %attr(755,root,root) %{php_extensiondir}/odbc.so
2603 %defattr(644,root,root,755)
2604 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2605 %attr(755,root,root) %{php_extensiondir}/openssl.so
2609 %defattr(644,root,root,755)
2610 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2611 %attr(755,root,root) %{php_extensiondir}/pcntl.so
2614 %defattr(644,root,root,755)
2615 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2616 %attr(755,root,root) %{php_extensiondir}/pdo.so
2618 %if %{with mssql} || %{with sybase_ct}
2620 %defattr(644,root,root,755)
2621 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2622 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
2625 %if %{with interbase} && !%{with interbase_inst}
2627 %defattr(644,root,root,755)
2628 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2629 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
2633 %defattr(644,root,root,755)
2634 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2635 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
2639 %defattr(644,root,root,755)
2640 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2641 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
2646 %defattr(644,root,root,755)
2647 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2648 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
2653 %defattr(644,root,root,755)
2654 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2655 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
2660 %defattr(644,root,root,755)
2661 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2662 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
2667 %defattr(644,root,root,755)
2668 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2669 %attr(755,root,root) %{php_extensiondir}/pgsql.so
2674 %defattr(644,root,root,755)
2675 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
2676 %attr(755,root,root) %{php_extensiondir}/phar.so
2680 %defattr(644,root,root,755)
2681 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2682 %attr(755,root,root) %{php_extensiondir}/posix.so
2686 %defattr(644,root,root,755)
2687 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2688 %attr(755,root,root) %{php_extensiondir}/pspell.so
2692 %defattr(644,root,root,755)
2693 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2694 %attr(755,root,root) %{php_extensiondir}/readline.so
2698 %defattr(644,root,root,755)
2699 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2700 %attr(755,root,root) %{php_extensiondir}/recode.so
2704 %defattr(644,root,root,755)
2705 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2706 %attr(755,root,root) %{php_extensiondir}/simplexml.so
2709 %defattr(644,root,root,755)
2710 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2711 %attr(755,root,root) %{php_extensiondir}/shmop.so
2715 %defattr(644,root,root,755)
2716 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2717 %attr(755,root,root) %{php_extensiondir}/snmp.so
2721 %defattr(644,root,root,755)
2722 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2723 %attr(755,root,root) %{php_extensiondir}/soap.so
2726 %defattr(644,root,root,755)
2727 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2728 %attr(755,root,root) %{php_extensiondir}/sockets.so
2732 %defattr(644,root,root,755)
2733 %doc ext/sqlite/{README,TODO,CREDITS}
2734 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2735 %attr(755,root,root) %{php_extensiondir}/sqlite.so
2740 %defattr(644,root,root,755)
2741 %doc ext/sqlite3/CREDITS
2742 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
2743 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
2746 %if %{with sybase_ct}
2748 %defattr(644,root,root,755)
2749 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2750 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
2754 %defattr(644,root,root,755)
2755 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2756 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
2759 %defattr(644,root,root,755)
2760 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2761 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
2764 %defattr(644,root,root,755)
2765 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2766 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
2769 %defattr(644,root,root,755)
2770 %dir %{php_data_dir}/tests/php
2771 %{php_data_dir}/tests/php/basic
2772 %{php_data_dir}/tests/php/classes
2773 %{php_data_dir}/tests/php/func
2774 %{php_data_dir}/tests/php/lang
2775 %{php_data_dir}/tests/php/output
2776 %{php_data_dir}/tests/php/run-test
2777 %{php_data_dir}/tests/php/security
2778 %{php_data_dir}/tests/php/strings
2779 %{php_data_dir}/tests/php/quicktester.inc
2780 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
2784 %defattr(644,root,root,755)
2785 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2786 %attr(755,root,root) %{php_extensiondir}/tidy.so
2790 %defattr(644,root,root,755)
2791 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2792 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
2796 %defattr(644,root,root,755)
2797 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2798 %attr(755,root,root) %{php_extensiondir}/wddx.so
2802 %defattr(644,root,root,755)
2803 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
2804 %attr(755,root,root) %{php_extensiondir}/xml.so
2807 %defattr(644,root,root,755)
2808 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
2809 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
2813 %defattr(644,root,root,755)
2814 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
2815 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
2819 %defattr(644,root,root,755)
2820 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
2821 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
2824 %defattr(644,root,root,755)
2825 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
2826 %attr(755,root,root) %{php_extensiondir}/xsl.so
2829 %defattr(644,root,root,755)
2830 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
2831 %attr(755,root,root) %{php_extensiondir}/zip.so
2834 %defattr(644,root,root,755)
2835 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
2836 %attr(755,root,root) %{php_extensiondir}/zlib.so