2 # - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere
3 # - removed from php 5.0 (currently in php4):
4 # db, hyperwave, java, mcal, overload, qtdom
5 # - removed from php 5.1:
7 # - removed from php 5.2:
9 # - removed from php 5.3:
10 # dbase, mime_magic, ming, ncurses, sybase
11 # - make additional headers and checking added by mail patch configurable
12 # - modularize session, standard (output from pure php -m)?
13 # - lib64 patch obsolete by $PHP_LIBDIR ?
14 # - move mysqlnd out of libphp-common.so?
15 # - WARNING: Phar: sha256/sha512 signature support disabled if ext/hash is
16 # built shared, also PHAR_HAVE_OPENSSL is false if openssl is built shared.
17 # make it runtime dep and add Suggests (or php warning messages)
18 # - some mods should be shared:
31 %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary lib)
32 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
33 %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
34 %bcond_with system_gd # with system gd (we prefer internal since it enables few more features)
35 %bcond_without curl # without CURL extension module
36 %bcond_without filter # without filter extension module
37 %bcond_without imap # without IMAP extension module
38 %bcond_without interbase # without InterBase extension module
39 %bcond_without ldap # without LDAP extension module
40 %bcond_without mm # without mm support for session storage
41 %bcond_without mssql # without MS SQL extension module
42 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
43 %bcond_without odbc # without ODBC extension module
44 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
45 %bcond_without pgsql # without PostgreSQL extension module
46 %bcond_without phar # without phar extension module
47 %bcond_without pspell # without pspell extension module
48 %bcond_without recode # without recode extension module
49 %bcond_without snmp # without SNMP extension module
50 %bcond_without sqlite # without SQLite extension module
51 %bcond_without sqlite3 # without SQLite3 extension module
52 %bcond_without sybase_ct # without Sybase-CT extension module
53 %bcond_without tidy # without Tidy extension module
54 %bcond_without wddx # without WDDX extension module
55 %bcond_without xmlrpc # without XML-RPC extension module
56 %bcond_without apache1 # disable building apache 1.3.x module
57 %bcond_without apache2 # disable building apache 2.x module
58 %bcond_without zts # disable Zend Thread Safety
59 %bcond_without fpm # fpm patches from http://www.php-fpm.org/
60 %bcond_without suhosin # with suhosin patch
61 %bcond_with tests # default off; test process very often hangs on buildersl; perform "make test"
62 %bcond_with type_hints # experimental support for strict typing/casting
64 %define apxs1 /usr/sbin/apxs1
65 %define apxs2 /usr/sbin/apxs
67 # some problems with apache 2.x
72 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha
73 # ppc disabled (broken on th-ppc)
74 %undefine with_interbase
77 %ifnarch %{ix86} %{x8664} sparc sparcv9
78 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
82 %if %{without apache1} && %{without apache2}
83 ERROR: You need to select at least one Apache SAPI to build shared modules.
87 Summary: PHP: Hypertext Preprocessor
88 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
89 Summary(pl.UTF-8): Język skryptowy PHP
90 Summary(pt_BR.UTF-8): A linguagem de script PHP
91 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
92 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
95 Release: %{rel}%{?with_type_hints:th}
99 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
100 # Source0-md5: 63e97ad450f0f7259e785100b634c797
101 Source2: %{name}-mod_%{name}.conf
102 Source3: %{name}-cgi-fcgi.ini
103 Source4: %{name}-apache.ini
104 Source5: %{name}-cli.ini
105 # Taken from: http://browsers.garykeith.com/downloads.asp
106 Source9: %{name}_browscap.ini
107 Source10: %{name}-fpm.init
108 Source11: %{name}-fpm.logrotate
109 Patch0: %{name}-shared.patch
110 Patch1: %{name}-pldlogo.patch
111 Patch2: %{name}-mail.patch
112 Patch3: %{name}-link-libs.patch
113 Patch4: %{name}-libpq_fs_h_path.patch
114 Patch5: %{name}-filter-shared.patch
115 Patch6: %{name}-build_modules.patch
116 Patch7: %{name}-config-file-scan-dir.patch
117 Patch8: %{name}-sapi-ini-file.patch
118 Patch9: %{name}-sh.patch
119 Patch10: %{name}-ini.patch
120 Patch11: extension-shared-optional-dep.patch
121 Patch14: %{name}-no_pear_install.patch
122 Patch15: %{name}-zlib.patch
123 Patch17: %{name}-readline.patch
124 Patch18: %{name}-nohttpd.patch
125 Patch19: %{name}-gd_imagerotate_enable.patch
126 Patch20: %{name}-uint32_t.patch
127 Patch21: %{name}-dba-link.patch
128 Patch23: %{name}-both-apxs.patch
129 Patch24: %{name}-builddir.patch
130 Patch25: %{name}-zlib-for-getimagesize.patch
131 Patch29: %{name}-config-dir.patch
132 Patch30: %{name}-silent-session-cleanup.patch
133 Patch31: %{name}-fcgi-graceful.patch
134 Patch32: %{name}-m4-divert.patch
135 Patch38: %{name}-tds.patch
136 Patch39: %{name}-stupidapache_version.patch
137 Patch40: %{name}-fpm.patch
138 Patch41: %{name}-fpm-config.patch
139 Patch42: %{name}-fpm-shared.patch
140 Patch43: %{name}-use-prog_sendmail.patch
141 Patch47: suhosin.patch
142 %if %{with type_hints}
143 Patch50: http://ilia.ws/patch/type_hint_53_v2.txt
145 URL: http://www.php.net/
146 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
147 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
148 BuildRequires: autoconf >= 2.53
149 BuildRequires: automake >= 1.4d
151 BuildRequires: bzip2-devel
152 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
153 BuildRequires: cyrus-sasl-devel
154 BuildRequires: db-devel >= 4.0
155 BuildRequires: elfutils-devel
156 %{?with_fdf:BuildRequires: fdftk-devel}
159 %if %{with mssql} || %{with sybase_ct}
160 BuildRequires: freetds-devel >= 0.82
162 BuildRequires: freetype-devel >= 2.0
163 %if %{with system_gd}
164 BuildRequires: gd-devel >= 2.0.28-4
165 BuildRequires: gd-devel(imagerotate) = 5.2.0
167 BuildRequires: gdbm-devel
168 BuildRequires: gmp-devel
169 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
170 BuildRequires: libicu-devel
171 BuildRequires: libjpeg-devel
172 BuildRequires: libltdl-devel >= 1.4
173 BuildRequires: libmcrypt-devel >= 2.4.4
174 BuildRequires: libpng-devel >= 1.0.8
175 BuildRequires: libtiff-devel
176 %if "%{pld_release}" != "ac"
177 BuildRequires: libtool >= 2:2.2
179 BuildRequires: libtool >= 1.4.3
181 BuildRequires: libwrap-devel
182 BuildRequires: libxml2-devel >= 2.5.10
183 BuildRequires: libxslt-devel >= 1.1.0
184 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
185 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
186 %if %{with openssl} || %{with ldap}
187 BuildRequires: openssl-devel >= 0.9.7d
189 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
190 BuildRequires: pam-devel
191 BuildRequires: pcre-devel >= 6.6
192 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
193 %{?with_pgsql:BuildRequires: postgresql-devel}
194 BuildRequires: readline-devel
195 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
196 BuildRequires: rpm >= 4.4.9-56
197 BuildRequires: rpm-build >= 4.4.0
198 BuildRequires: rpmbuild(macros) >= 1.519
199 %{?with_sqlite:BuildRequires: sqlite-devel}
200 %{?with_sqlite3:BuildRequires: sqlite3-devel >= 3.3.9}
201 BuildRequires: t1lib-devel
202 %{?with_tidy:BuildRequires: tidy-devel}
203 %{?with_odbc:BuildRequires: unixODBC-devel}
204 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
205 BuildRequires: zlib-devel >= 1.0.9
207 BuildRequires: apache1-devel
210 BuildRequires: apache-devel >= 2.0.52-2
211 BuildRequires: apr-devel >= 1:1.0.0
212 BuildRequires: apr-util-devel >= 1:1.0.0
215 BuildRequires: judy-devel
216 BuildRequires: libevent-devel >= 1.4.7-3
218 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
220 %define php_sysconfdir /etc/php
221 %define php_extensiondir %{_libdir}/php
222 %define _sysconfdir %{php_sysconfdir}
224 # must be in sync with source. extra check ensuring that it is so is done in %%build
225 %define php_api_version 20090626
226 %define zend_module_api 20090626
227 %define zend_extension_api 220090626
229 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
230 %define php_debug %{!?debug:0}%{?debug:1}
233 # ORACLE_HOME is required for oci8 ext to build
234 %define _preserve_env %_preserve_env_base ORACLE_HOME
238 PHP is an HTML-embedded scripting language. PHP attempts to make it
239 easy for developers to write dynamically generated web pages. PHP also
240 offers built-in database integration for several commercial and
241 non-commercial database management systems, so writing a
242 database-enabled web page with PHP is fairly simple. The most common
243 use of PHP coding is probably as a replacement for CGI scripts. The
244 mod_php module enables the Apache web server to understand and process
245 the embedded PHP language in web pages. This package contains php
248 %description -l fr.UTF-8
249 PHP est un langage de script embarque dans le HTM. PHP essaye de
250 rendre simple aux developpeurs d'ecrire des pages web generees
251 dynamiquement. PHP incorpore egalement une integration avec plusieurs
252 systemes de gestion de bases de donnees commerciaux et
253 non-connerciaux, qui rent facile la creation de pages web liees avec
254 des bases de donnees. L'utilisation la plus commune de PHP est
255 probablement en remplacement de scripts CGI. Le module mod_php permet
256 au serveur web apache de comprendre et de traiter le langage PHP
257 integre dans des pages web. Ce package contient php version
260 %description -l pl.UTF-8
261 PHP jest językiem skryptowym, którego polecenia umieszcza się w
262 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
263 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
264 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
265 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
266 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
267 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
268 język PHP osadzony w stronach. Ten pakiet zawiera php w wersji
271 %description -l pt_BR.UTF-8
272 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
273 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
274 com algumas características únicas, específicas ao PHP. O objetivo da
275 linguagem é permitir que desenvolvedores web escrevam páginas
276 dinamicamente geradas de forma rápida.
278 %description -l ru.UTF-8
279 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
280 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
281 для работы с базами данных относительно просто. Наиболее популярное
282 использование PHP - замена для CGI скриптов.
284 %description -l uk.UTF-8
285 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
286 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
287 роботи з базами даних є доволі простим. Найбільш популярне
288 використання PHP - заміна для CGI скриптів.
290 %package -n apache1-mod_php
291 Summary: PHP DSO module for apache 1.3.x
292 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php dla apache 1.3.x
293 Group: Development/Languages/PHP
294 Requires(triggerpostun): sed >= 4.0
295 Requires: %{name}-common = %{epoch}:%{version}-%{release}
296 Requires: apache1(EAPI) >= 1.3.33-2
297 Requires: apache1-mod_mime
298 Provides: webserver(php) = %{version}
299 Obsoletes: apache-mod_php < 1:4.1.1
302 %description -n apache1-mod_php
303 PHP as DSO module for apache 1.3.x.
305 %description -n apache1-mod_php -l pl.UTF-8
306 php jako moduł DSO (Dynamic Shared Object) dla apache 1.3.x.
308 %package -n apache-mod_php
309 Summary: PHP DSO module for apache 2.x
310 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php dla apache 2.x
311 Group: Development/Languages/PHP
312 Requires: %{name}-common = %{epoch}:%{version}-%{release}
313 Requires: apache(modules-api) = %{apache_modules_api}
314 Requires: apache-mod_mime
315 Provides: webserver(php) = %{version}
318 %description -n apache-mod_php
319 PHP as DSO module for apache 2.x.
321 %description -n apache-mod_php -l pl.UTF-8
322 php jako moduł DSO (Dynamic Shared Object) dla apache 2.x.
325 Summary: PHP as CGI/FastCGI program
326 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
327 Group: Development/Languages/PHP
328 Requires: %{name}-common = %{epoch}:%{version}-%{release}
329 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
332 Provides: webserver(php)
333 Obsoletes: php-fcgi < 4:5.3.0
336 PHP as CGI or FastCGI program.
338 %description cgi -l pl.UTF-8
339 PHP jako program CGI lub FastCGI.
342 Summary: PHP as CLI interpreter
343 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
344 Group: Development/Languages/PHP
345 Requires: %{name}-common = %{epoch}:%{version}-%{release}
348 PHP as CLI interpreter.
350 %description cli -l pl.UTF-8
351 PHP jako interpreter działający z linii poleceń.
354 Summary: /usr/bin/php symlink
355 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
356 Group: Development/Languages/PHP
357 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
358 Obsoletes: /usr/bin/php
361 Package providing /usr/bin/php symlink to PHP CLI.
363 %description program -l pl.UTF-8
364 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
367 Summary: PHP FastCGI Process Manager
368 Group: Development/Languages/PHP
369 URL: http://www.php-fpm.org/
370 Requires(post,preun): /sbin/chkconfig
371 Requires: %{name}-common = %{epoch}:%{version}-%{release}
372 Requires: libevent >= 1.4.7-3
374 Provides: webserver(php) = %{version}
377 PHP FastCGI Process Manager.
380 Summary: Common files needed by both Apache modules and CGI/CLI SAPI-s
381 Summary(pl.UTF-8): Wspólne pliki dla modułu apache'a i programu CGI
382 Summary(ru.UTF-8): Разделяемые библиотеки для php
383 Summary(uk.UTF-8): Бібліотеки спільного використання для php
385 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
386 Requires: glibc >= 6:2.3.5
390 Provides: php(libxml)
391 Provides: php(modules_api) = %{php_api_version}
392 Provides: php(overload)
394 Provides: php(reflection)
395 Provides: php(session)
397 Provides: php(standard)
398 Provides: php(zend_extension_api) = %{zend_extension_api}
399 Provides: php(zend_module_api) = %{zend_module_api}
400 Provides: php5(debug) = %{php_debug}
401 Provides: php5(thread-safety) = %{zend_zts}
402 Obsoletes: php-pcre < 4:5.2.0
403 Obsoletes: php-pecl-domxml
404 Obsoletes: php-session < 3:4.2.1-2
405 Conflicts: php4-common < 3:4.4.4-8
406 Conflicts: rpm < 4.4.2-0.2
409 Common files needed by both Apache modules and CGI/CLI SAPI-s.
411 %description common -l pl.UTF-8
412 Wspólne pliki dla modułu apacha i programu CGI.
414 %description common -l ru.UTF-8
415 Этот пакет содержит общие файлы для разных вариантов реализации PHP
416 (самодостаточной и в качестве модуля apache).
418 %description common -l uk.UTF-8
419 Цей пакет містить спільні файли для різних варіантів реалізації PHP
420 (самодостатньої та в якості модуля apache).
423 Summary: Files for PHP modules development
424 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
425 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
426 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
427 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
428 Group: Development/Languages/PHP
429 Requires: %{name}-common = %{epoch}:%{version}-%{release}
433 Requires: pcre-devel >= 6.6
435 Obsoletes: php-pear-devel
436 Obsoletes: php4-devel
439 The php-devel package lets you compile dynamic extensions to PHP.
440 Included here is the source for the PHP extensions. Instead of
441 recompiling the whole php binary to add support for, say, oracle,
442 install this package and use the new self-contained extensions
443 support. For more information, read the file
444 README.SELF-CONTAINED-EXTENSIONS.
446 %description devel -l pl.UTF-8
447 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
448 rekompilować całe php aby dodać obsługę np. oracle, można przy użyciu
449 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
450 samodzielnych rozszerzeniach można znaleźć w pliku
451 README.SELF-CONTAINED-EXTENSIONS.
453 %description devel -l pt_BR.UTF-8
454 Este pacote contém arquivos usados no desenvolvimento de programas ou
457 %description devel -l ru.UTF-8
458 Пакет php-devel дает возможность компилировать динамические расширения
459 PHP. Пакет включает исходный код этих расширений. Вместо повторной
460 компиляции бинарного файла php для добавления, например, поддержки
461 oracle, установите этот пакет для компилирования отдельных расширений.
462 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
464 %description devel -l uk.UTF-8
465 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
466 До пакету включено вихідний код для розширень. Замість повторної
467 компіляції бінарного файлу php для додання, наприклад, підтримки
468 oracle, встановіть цей пакет для компіляції окремих розширень.
469 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
472 Summary: bcmath extension module for PHP
473 Summary(pl.UTF-8): Moduł bcmath dla PHP
475 URL: http://www.php.net/manual/en/book.bc.php
476 Requires: %{name}-common = %{epoch}:%{version}-%{release}
477 Provides: php(bcmath)
480 This is a dynamic shared object (DSO) for PHP that will add bc style
481 precision math functions support.
483 %description bcmath -l pl.UTF-8
484 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
485 matematycznych takich jak w programie bc.
488 Summary: Bzip2 extension module for PHP
489 Summary(pl.UTF-8): Moduł bzip2 dla PHP
491 URL: http://www.php.net/manual/en/book.bzip2.php
492 Requires: %{name}-common = %{epoch}:%{version}-%{release}
496 This is a dynamic shared object (DSO) for PHP that will add bzip2
497 compression support to PHP.
499 %description bzip2 -l pl.UTF-8
500 Moduł PHP umożliwiający używanie kompresji bzip2.
503 Summary: Calendar extension module for PHP
504 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
506 URL: http://www.php.net/manual/en/book.calendar.php
507 Requires: %{name}-common = %{epoch}:%{version}-%{release}
508 Provides: php(calendar)
510 %description calendar
511 This is a dynamic shared object (DSO) for PHP that will add calendar
514 %description calendar -l pl.UTF-8
515 Moduł PHP dodający wsparcie dla kalendarza.
518 Summary: ctype extension module for PHP
519 Summary(pl.UTF-8): Moduł ctype dla PHP
521 URL: http://www.php.net/manual/en/book.ctype.php
522 Requires: %{name}-common = %{epoch}:%{version}-%{release}
526 This is a dynamic shared object (DSO) for PHP that will add ctype
529 %description ctype -l pl.UTF-8
530 Moduł PHP umożliwiający korzystanie z funkcji ctype.
533 Summary: curl extension module for PHP
534 Summary(pl.UTF-8): Moduł curl dla PHP
536 URL: http://www.php.net/manual/en/book.curl.php
537 Requires: %{name}-common = %{epoch}:%{version}-%{release}
541 This is a dynamic shared object (DSO) for PHP that will add curl
544 %description curl -l pl.UTF-8
545 Moduł PHP umożliwiający korzystanie z biblioteki curl.
548 Summary: DBA extension module for PHP
549 Summary(pl.UTF-8): Moduł DBA dla PHP
551 URL: http://www.php.net/manual/en/book.dba.php
552 Requires: %{name}-common = %{epoch}:%{version}-%{release}
556 This is a dynamic shared object (DSO) for PHP that will add flat-file
557 databases (DBA) support.
559 %description dba -l pl.UTF-8
560 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
564 Summary: DOM extension module for PHP
565 Summary(pl.UTF-8): Moduł DOM dla PHP
567 URL: http://www.php.net/manual/en/book.dom.php
568 Requires: %{name}-common = %{epoch}:%{version}-%{release}
570 # it has some compatibility functions
571 Provides: php(domxml)
572 Obsoletes: php-domxml <= 3:4.3.8-1
575 This is a dynamic shared object (DSO) for PHP that will add new DOM
578 %description dom -l pl.UTF-8
579 Moduł PHP dodający nową obsługę DOM.
582 Summary: exif extension module for PHP
583 Summary(pl.UTF-8): Moduł exif dla PHP
585 URL: http://www.php.net/manual/en/book.exif.php
586 Requires: %{name}-common = %{epoch}:%{version}-%{release}
590 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
591 support in image files.
593 %description exif -l pl.UTF-8
594 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
597 Summary: FDF extension module for PHP
598 Summary(pl.UTF-8): Moduł FDF dla PHP
600 URL: http://www.php.net/manual/en/book.fdf.php
601 Requires: %{name}-common = %{epoch}:%{version}-%{release}
605 This PHP module adds support for PDF Forms through Adobe FDFTK
608 %description fdf -l pl.UTF-8
609 Moduł PHP dodający obsługę formularzy PDF poprzez bibliotekę Adobe
613 Summary: libmagic bindings
615 URL: http://www.php.net/manual/en/book.fileinfo.php
616 Requires: %{name}-common = %{epoch}:%{version}-%{release}
617 Provides: php(fileinfo)
618 Obsoletes: php-pecl-fileinfo
620 %description fileinfo
621 This extension allows retrieval of information regarding vast majority
622 of file. This information may include dimensions, quality, length
625 Additionally it can also be used to retrieve the MIME type for a
626 particular file and for text files proper language encoding.
629 Summary: Extension for safely dealing with input parameters
630 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
632 URL: http://www.php.net/manual/en/book.filter.php
633 Requires: %{name}-common = %{epoch}:%{version}-%{release}
634 Provides: php(filter)
635 Obsoletes: php-pecl-filter
638 We all know that you should always check input variables, but PHP does
639 not offer really good functionality for doing this in a safe way. The
640 Input Filter extension is meant to address this issue by implementing
641 a set of filters and mechanisms that users can use to safely access
644 %description filter -l pl.UTF-8
645 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
646 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
647 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
648 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
649 mogą bezpiecznie używać do dostępu do danych.
652 Summary: FTP extension module for PHP
653 Summary(pl.UTF-8): Moduł FTP dla PHP
655 URL: http://www.php.net/manual/en/book.ftp.php
656 Requires: %{name}-common = %{epoch}:%{version}-%{release}
660 This is a dynamic shared object (DSO) for PHP that will add FTP
663 %description ftp -l pl.UTF-8
664 Moduł PHP dodający obsługę protokołu FTP.
667 Summary: GD extension module for PHP
668 Summary(pl.UTF-8): Moduł GD dla PHP
670 URL: http://www.php.net/manual/en/book.image.php
671 Requires: %{name}-common = %{epoch}:%{version}-%{release}
672 %if %{with system_gd}
673 Requires: gd >= 2.0.28-4
675 Requires: gd(imagerotate) = 5.2.0
680 This is a dynamic shared object (DSO) for PHP that will add GD
681 support, allowing you to create and manipulate images with PHP.
683 %description gd -l pl.UTF-8
684 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
685 tworzenie i obróbkę obrazków.
688 Summary: gettext extension module for PHP
689 Summary(pl.UTF-8): Moduł gettext dla PHP
691 URL: http://www.php.net/manual/en/book.gettext.php
692 Requires: %{name}-common = %{epoch}:%{version}-%{release}
693 Provides: php(gettext)
696 This is a dynamic shared object (DSO) for PHP that will add gettext
699 %description gettext -l pl.UTF-8
700 Moduł PHP dodający obsługę lokalizacji przez gettext.
703 Summary: gmp extension module for PHP
704 Summary(pl.UTF-8): Moduł gmp dla PHP
706 URL: http://www.php.net/manual/en/book.gmp.php
707 Requires: %{name}-common = %{epoch}:%{version}-%{release}
711 This is a dynamic shared object (DSO) for PHP that will add arbitrary
712 length number support with GNU MP library.
714 %description gmp -l pl.UTF-8
715 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
716 liczbach o dowolnej długości.
719 Summary: HASH Message Digest Framework
720 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
722 URL: http://www.php.net/manual/en/book.gmp.php
723 Requires: %{name}-common = %{epoch}:%{version}-%{release}
727 Obsoletes: php-pecl-hash
730 Native implementations of common message digest algorithms using a
731 generic factory method.
733 %description hash -l pl.UTF-8
734 Natywne implementacje popularnych algorytmów obliczania skrótów
735 wiadomości przy użyciu wspólnego interfejsu.
738 Summary: iconv extension module for PHP
739 Summary(pl.UTF-8): Moduł iconv dla PHP
741 URL: http://www.php.net/manual/en/book.iconv.php
742 Requires: %{_libdir}/gconv
743 Requires: %{name}-common = %{epoch}:%{version}-%{release}
748 This is a dynamic shared object (DSO) for PHP that will add iconv
751 %description iconv -l pl.UTF-8
752 Moduł PHP dodający obsługę iconv.
755 Summary: IMAP extension module for PHP
756 Summary(pl.UTF-8): Moduł IMAP dla PHP
757 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
759 URL: http://www.php.net/manual/en/book.imap.php
760 Requires: %{name}-common = %{epoch}:%{version}-%{release}
764 This is a dynamic shared object (DSO) for PHP that will add IMAP
767 %description imap -l pl.UTF-8
768 Moduł PHP dodający obsługę skrzynek IMAP.
770 %description imap -l pt_BR.UTF-8
771 Um módulo para aplicações PHP que usam IMAP.
774 Summary: InterBase/Firebird database module for PHP
775 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
777 URL: http://www.php.net/manual/en/book.ibase.php
778 Requires: %{name}-common = %{epoch}:%{version}-%{release}
779 Provides: php(interbase)
780 %{?with_interbase_inst:Autoreq: false}
782 %description interbase
783 This is a dynamic shared object (DSO) for PHP that will add InterBase
784 and Firebird database support.
786 %description interbase -l pl.UTF-8
787 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
790 Summary: Internationalization extension (ICU wrapper)
791 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (wrapper ICU)
793 URL: http://www.php.net/intl
794 Requires: %{name}-common = %{epoch}:%{version}-%{release}
798 Internationalization extension (further is referred as Intl) is a
799 wrapper for ICU library, enabling PHP programmers to perform
800 UCA-conformant collation and date/time/number/currency formatting in
803 %description intl -l pl.UTF-8
804 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
805 wrapperem biblioteki ICU, pozwalającym programistom PHP na wykonywanie
806 w skryptach porównań zdgodnych z UCA oraz formatowań daty/czasu/walut.
809 Summary: PHP C extension for JSON serialization
810 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
812 URL: http://www.php.net/manual/en/book.json.php
813 Requires: %{name}-common = %{epoch}:%{version}-%{release}
815 Obsoletes: php-pecl-json
818 php-json is an extremely fast PHP C extension for JSON (JavaScript
819 Object Notation) serialisation.
821 %description json -l pl.UTF-8
822 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
823 (JavaScript Object Notation).
826 Summary: LDAP extension module for PHP
827 Summary(pl.UTF-8): Moduł LDAP dla PHP
828 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
830 URL: http://www.php.net/manual/en/book.ldap.php
831 Requires: %{name}-common = %{epoch}:%{version}-%{release}
835 This is a dynamic shared object (DSO) for PHP that will add LDAP
838 %description ldap -l pl.UTF-8
839 Moduł PHP dodający obsługę LDAP.
841 %description ldap -l pt_BR.UTF-8
842 Um módulo para aplicações PHP que usam LDAP.
845 Summary: mbstring extension module for PHP
846 Summary(pl.UTF-8): Moduł mbstring dla PHP
848 URL: http://www.php.net/manual/en/book.mbstring.php
849 Requires: %{name}-common = %{epoch}:%{version}-%{release}
850 Provides: php(mbstring)
852 %description mbstring
853 This is a dynamic shared object (DSO) for PHP that will add multibyte
856 %description mbstring -l pl.UTF-8
857 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
860 Summary: mcrypt extension module for PHP
861 Summary(pl.UTF-8): Moduł mcrypt dla PHP
863 URL: http://www.php.net/manual/en/book.mcrypt.php
864 Requires: %{name}-common = %{epoch}:%{version}-%{release}
865 Provides: php(mcrypt)
868 This is a dynamic shared object (DSO) for PHP that will add mcrypt
871 %description mcrypt -l pl.UTF-8
872 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
875 Summary: MS SQL extension module for PHP
876 Summary(pl.UTF-8): Moduł MS SQL dla PHP
878 URL: http://www.php.net/manual/en/book.mssql.php
879 Requires: %{name}-common = %{epoch}:%{version}-%{release}
883 This is a dynamic shared object (DSO) for PHP that will add MS SQL
884 databases support through FreeTDS library.
886 %description mssql -l pl.UTF-8
887 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
891 Summary: MySQL database module for PHP
892 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
893 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
895 URL: http://www.php.net/manual/en/book.mysql.php
896 Requires: %{name}-common = %{epoch}:%{version}-%{release}
900 This is a dynamic shared object (DSO) for PHP that will add MySQL
903 %description mysql -l pl.UTF-8
904 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
906 %description mysql -l pt_BR.UTF-8
907 Um módulo para aplicações PHP que usam bancos de dados MySQL.
910 Summary: MySQLi module for PHP
911 Summary(pl.UTF-8): Moduł MySQLi dla PHP
913 URL: http://www.php.net/manual/en/book.mysqli.php
914 Requires: %{name}-common = %{epoch}:%{version}-%{release}
915 Provides: php(mysqli)
918 This is a dynamic shared object (DSO) for PHP that will add MySQLi
919 (Improved MySQL) support. The difference between it and mysql module
920 is that it provides access to functionality of MySQL 4.1 and above.
922 %description mysqli -l pl.UTF-8
923 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
924 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
925 MySQL w wersji 4.1 i nowszych.
928 Summary: Oracle 8+ database module for PHP
929 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
931 URL: http://www.php.net/manual/en/book.oci8.php
932 Requires: %{name}-common = %{epoch}:%{version}-%{release}
937 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
938 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
940 %description oci8 -l pl.UTF-8
941 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
942 poprzez interfejs Oracle8 Call-Interface (OCI8).
945 Summary: ODBC extension module for PHP
946 Summary(pl.UTF-8): Moduł ODBC dla PHP
947 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
949 URL: http://www.php.net/manual/en/book.uodbc.php
950 Requires: %{name}-common = %{epoch}:%{version}-%{release}
951 Requires: unixODBC >= 2.1.1-3
955 This is a dynamic shared object (DSO) for PHP that will add ODBC
958 %description odbc -l pl.UTF-8
959 Moduł PHP ze wsparciem dla ODBC.
961 %description odbc -l pt_BR.UTF-8
962 Um módulo para aplicações PHP que usam ODBC.
965 Summary: OpenSSL extension module for PHP
966 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
968 URL: http://www.php.net/manual/en/book.openssl.php
969 Requires: %{name}-common = %{epoch}:%{version}-%{release}
970 Provides: php(openssl)
973 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
976 %description openssl -l pl.UTF-8
977 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
980 Summary: Process Control extension module for PHP
981 Summary(pl.UTF-8): Moduł Process Control dla PHP
983 URL: http://www.php.net/manual/en/book.pcntl.php
984 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
988 This is a dynamic shared object (DSO) for PHP that will add process
989 spawning and control support. It supports functions like fork(),
990 waitpid(), signal() etc.
992 %description pcntl -l pl.UTF-8
993 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
994 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
997 Summary: PHP Data Objects (PDO)
998 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1000 URL: http://www.php.net/manual/en/book.pdo.php
1001 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1003 Obsoletes: php-pecl-PDO
1006 This is a dynamic shared object (DSO) for PHP that will add PDO
1009 %description pdo -l pl.UTF-8
1010 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1013 Summary: PHP Data Objects (PDO) FreeTDS support
1014 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1016 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1017 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1018 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1019 Provides: php(dblib)
1021 %description pdo-dblib
1022 This is a dynamic shared object (DSO) for PHP that will add PDO
1025 %description pdo-dblib -l pl.UTF-8
1026 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1029 %package pdo-firebird
1030 Summary: PHP Data Objects (PDO) Firebird support
1031 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1033 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1034 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1035 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1036 Provides: php(pdo-firebird)
1037 Obsoletes: php-pecl-PDO_FIREBIRD
1039 %description pdo-firebird
1040 This is a dynamic shared object (DSO) for PHP that will add PDO
1043 %description pdo-firebird -l pl.UTF-8
1044 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1048 Summary: PHP Data Objects (PDO) MySQL support
1049 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1051 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1052 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1053 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1054 Provides: php(pdo-mysql)
1055 Obsoletes: php-pecl-PDO_MYSQL
1057 %description pdo-mysql
1058 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1061 %description pdo-mysql -l pl.UTF-8
1062 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1066 Summary: PHP Data Objects (PDO) Oracle support
1067 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1069 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1070 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1071 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1072 Provides: php(pdo-oci)
1073 Obsoletes: php-pecl-PDO_OCI
1075 %description pdo-oci
1076 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1079 %description pdo-oci -l pl.UTF-8
1080 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1084 Summary: PHP Data Objects (PDO) ODBC support
1085 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1087 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1088 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1089 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1090 Provides: php(pdo-odbc)
1091 Obsoletes: php-pecl-PDO_ODBC
1093 %description pdo-odbc
1094 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1097 %description pdo-odbc -l pl.UTF-8
1098 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1102 Summary: PHP Data Objects (PDO) PostgreSQL support
1103 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1105 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1106 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1107 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1108 Provides: php(pdo-pgsql)
1109 Provides: php-pecl-PDO_PGSQL
1110 Obsoletes: php-pecl-PDO_PGSQL
1112 %description pdo-pgsql
1113 This is a dynamic shared object (DSO) for PHP that will add PDO
1116 %description pdo-pgsql -l pl.UTF-8
1117 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1121 Summary: PHP Data Objects (PDO) SQLite support
1122 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1124 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1125 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1126 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1127 Provides: php(pdo-sqlite)
1128 Obsoletes: php-pecl-PDO_SQLITE
1130 %description pdo-sqlite
1131 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1134 %description pdo-sqlite -l pl.UTF-8
1135 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1139 Summary: PostgreSQL database module for PHP
1140 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1142 URL: http://www.php.net/manual/en/book.pgsql.php
1143 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1144 Provides: php(pgsql)
1147 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1150 %description pgsql -l pl.UTF-8
1151 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1153 %description pgsql -l pt_BR.UTF-8
1154 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1157 Summary: phar database module for PHP
1158 Summary(pl.UTF-8): Moduł phar dla PHP
1160 URL: http://www.php.net/manual/en/book.phar.php
1161 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1165 This is a dynamic shared object (DSO) for PHP that will add phar
1168 %description phar -l pl.UTF-8
1169 Moduł PHP umożliwiający dostęp do achiwów .phar.
1172 Summary: POSIX extension module for PHP
1173 Summary(pl.UTF-8): Moduł POSIX dla PHP
1175 URL: http://www.php.net/manual/en/book.posix.php
1176 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1177 Provides: php(posix)
1180 This is a dynamic shared object (DSO) for PHP that will add POSIX
1181 functions support to PHP.
1183 %description posix -l pl.UTF-8
1184 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1187 Summary: pspell extension module for PHP
1188 Summary(pl.UTF-8): Moduł pspell dla PHP
1190 URL: http://www.php.net/manual/en/book.pspell.php
1191 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1192 Provides: php(pspell)
1195 This is a dynamic shared object (DSO) for PHP that will add pspell
1196 support to PHP. It allows to check the spelling of a word and offer
1199 %description pspell -l pl.UTF-8
1200 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1201 sprawdzanie pisowni słowa i sugerowanie poprawek.
1204 Summary: readline extension module for PHP
1205 Summary(pl.UTF-8): Moduł readline dla PHP
1207 URL: http://www.php.net/manual/en/book.readline.php
1208 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1209 Provides: php(readline)
1211 %description readline
1212 This PHP module adds support for readline functions (only for cli and
1215 %description readline -l pl.UTF-8
1216 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1219 Summary: recode extension module for PHP
1220 Summary(pl.UTF-8): Moduł recode dla PHP
1222 URL: http://www.php.net/manual/en/book.recode.php
1223 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1224 Requires: recode >= 3.5d-3
1225 Provides: php(recode)
1228 This is a dynamic shared object (DSO) for PHP that will add recode
1231 %description recode -l pl.UTF-8
1232 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1236 Summary: Shared Memory Operations extension module for PHP
1237 Summary(pl.UTF-8): Moduł shmop dla PHP
1239 URL: http://www.php.net/manual/en/book.shmop.php
1240 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1241 Provides: php(shmop)
1244 This is a dynamic shared object (DSO) for PHP that will add Shared
1245 Memory Operations support.
1247 %description shmop -l pl.UTF-8
1248 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1251 Summary: Simple XML extension module for PHP
1252 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1254 URL: http://www.php.net/manual/en/book.simplexml.php
1255 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1256 Provides: php(simplexml)
1258 %description simplexml
1259 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1262 %description simplexml -l pl.UTF-8
1263 Moduł PHP dodający obsługę prostego XML-a.
1266 Summary: SNMP extension module for PHP
1267 Summary(pl.UTF-8): Moduł SNMP dla PHP
1269 URL: http://www.php.net/manual/en/book.snmp.php
1270 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1271 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1275 This is a dynamic shared object (DSO) for PHP that will add SNMP
1278 %description snmp -l pl.UTF-8
1279 Moduł PHP dodający obsługę SNMP.
1282 Summary: soap extension module for PHP
1283 Summary(pl.UTF-8): Moduł soap dla PHP
1285 URL: http://www.php.net/manual/en/book.soap.php
1286 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1290 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1293 %description soap -l pl.UTF-8
1294 Moduł PHP dodający obsługę SOAP/WSDL.
1297 Summary: sockets extension module for PHP
1298 Summary(pl.UTF-8): Moduł socket dla PHP
1300 URL: http://www.php.net/manual/en/book.sockets.php
1301 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1302 Provides: php(sockets)
1304 %description sockets
1305 This is a dynamic shared object (DSO) for PHP that will add sockets
1308 %description sockets -l pl.UTF-8
1309 Moduł PHP dodający obsługę gniazdek.
1312 Summary: SQLite extension module for PHP
1313 Summary(pl.UTF-8): Moduł SQLite dla PHP
1315 URL: http://www.php.net/manual/en/book.sqlite.php
1316 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1317 # sqlite ext extends spl and pdo
1318 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1319 Provides: php(sqlite)
1322 SQLite is a C library that implements an embeddable SQL database
1323 engine. Programs that link with the SQLite library can have SQL
1324 database access without running a separate RDBMS process.
1326 SQLite is not a client library used to connect to a big database
1327 server. SQLite is the server. The SQLite library reads and writes
1328 directly to and from the database files on disk.
1330 %description sqlite -l pl.UTF-8
1331 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1332 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1333 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1336 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1337 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1338 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1342 Summary: SQLite3 extension module for PHP
1343 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1345 URL: http://php.net/manual/en/book.sqlite3.php
1346 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1347 Provides: php(sqlite3)
1349 %description sqlite3
1350 SQLite is a C library that implements an embeddable SQL database
1351 engine. Programs that link with the SQLite library can have SQL
1352 database access without running a separate RDBMS process.
1354 SQLite is not a client library used to connect to a big database
1355 server. SQLite is the server. The SQLite library reads and writes
1356 directly to and from the database files on disk.
1358 %description sqlite3 -l pl.UTF-8
1359 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1360 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1361 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1364 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1365 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1366 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1370 Summary: Sybase-CT extension module for PHP
1371 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1373 URL: http://www.php.net/manual/en/book.sybase.php
1374 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1375 Provides: php(sybase-ct)
1376 Obsoletes: php-sybase
1377 Conflicts: php-sybase
1379 %description sybase-ct
1380 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1381 MS SQL databases support through CT-lib.
1383 %description sybase-ct -l pl.UTF-8
1384 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1388 Summary: SysV msg extension module for PHP
1389 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1391 URL: http://www.php.net/manual/en/book.sem.php
1392 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1393 Provides: php(sysvmsg)
1395 %description sysvmsg
1396 This is a dynamic shared object (DSO) for PHP that will add SysV
1397 message queues support.
1399 %description sysvmsg -l pl.UTF-8
1400 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1403 Summary: SysV sem extension module for PHP
1404 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1406 URL: http://www.php.net/manual/en/book.sem.php
1407 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1408 Provides: php(sysvsem)
1410 %description sysvsem
1411 This is a dynamic shared object (DSO) for PHP that will add SysV
1414 %description sysvsem -l pl.UTF-8
1415 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1418 Summary: SysV shm extension module for PHP
1419 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1421 URL: http://www.php.net/manual/en/book.shmop.php
1422 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1423 Provides: php(sysvshm)
1425 %description sysvshm
1426 This is a dynamic shared object (DSO) for PHP that will add SysV
1427 Shared Memory support.
1429 %description sysvshm -l pl.UTF-8
1430 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1433 Summary: Contains unit test files for PHP and extensions
1434 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1436 URL: http://qa.php.net/
1437 Requires: %{name}-cli
1440 This package contains unit tests for PHP and it's extensions.
1442 %description tests -l pl.UTF-8
1443 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1446 Summary: Tidy extension module for PHP
1447 Summary(pl.UTF-8): Moduł Tidy dla PHP
1449 URL: http://www.php.net/manual/en/book.tidy.php
1450 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1455 This is a dynamic shared object (DSO) for PHP that will add Tidy
1458 %description tidy -l pl.UTF-8
1459 Moduł PHP umożliwiający korzystanie z tidy.
1462 Summary: tokenizer extension module for PHP
1463 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1465 URL: http://www.php.net/manual/en/book.tokenizer.php
1466 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1467 Provides: php(tokenizer)
1469 %description tokenizer
1470 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1473 %description tokenizer -l pl.UTF-8
1474 Moduł PHP dodający obsługę tokenizera do PHP.
1477 Summary: wddx extension module for PHP
1478 Summary(pl.UTF-8): Moduł wddx dla PHP
1480 URL: http://www.php.net/manual/en/book.wddx.php
1481 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1482 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1483 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1487 This is a dynamic shared object (DSO) for PHP that will add wddx
1490 %description wddx -l pl.UTF-8
1491 Moduł PHP umożliwiający korzystanie z wddx.
1494 Summary: XML extension module for PHP
1495 Summary(pl.UTF-8): Moduł XML dla PHP
1497 URL: http://www.php.net/manual/en/book.xml.php
1498 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1502 This is a dynamic shared object (DSO) for PHP that will add XML
1503 support. This extension lets you create XML parsers and then define
1504 handlers for different XML events.
1506 %description xml -l pl.UTF-8
1507 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1508 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1509 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1512 Summary: XML Reader extension module for PHP
1513 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1515 URL: http://www.php.net/manual/en/book.xmlreader.php
1516 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1517 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1518 Provides: php(xmlreader)
1520 %description xmlreader
1521 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1522 support. The XMLReader extension is an XML Pull parser. The reader
1523 acts as a cursor going forward on the document stream and stopping at
1524 each node on the way.
1526 %description xmlreader -l pl.UTF-8
1527 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1528 działa jako kursor przechodzący przez strumień dokumentu i
1529 zatrzymujący się na każdym węźle po drodze.
1532 Summary: xmlrpc extension module for PHP
1533 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1535 URL: http://www.php.net/manual/en/book.xmlrpc.php
1536 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1537 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1538 Provides: php(xmlrpc)
1541 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1544 %description xmlrpc -l pl.UTF-8
1545 Moduł PHP dodający obsługę XMLRPC.
1548 Summary: Fast, non-cached, forward-only means to write XML data
1549 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1551 URL: http://www.php.net/manual/en/book.xmlwriter.php
1552 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1553 Provides: php(xmlwriter)
1554 Obsoletes: php-pecl-xmlwriter
1556 %description xmlwriter
1557 This extension wraps the libxml xmlWriter API. Represents a writer
1558 that provides a non-cached, forward-only means of generating streams
1559 or files containing XML data.
1561 %description xmlwriter -l pl.UTF-8
1562 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1563 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1564 plików zawierających dane XML.
1567 Summary: xsl extension module for PHP
1568 Summary(pl.UTF-8): Moduł xsl dla PHP
1570 URL: http://www.php.net/manual/en/book.xsl.php
1571 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1572 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1573 Requires: libxslt >= 1.0.18
1574 # actually not true, functionality is similar, but API differs
1576 Obsoletes: php-xslt <= 3:4.3.8-1
1579 This is a dynamic shared object (DSO) for PHP that will add new XSL
1580 support (using libxslt).
1582 %description xsl -l pl.UTF-8
1583 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1586 Summary: Zip management extension
1587 Summary(pl.UTF-8): Zarządzanie archiwami zip
1589 URL: http://www.php.net/manual/en/book.zip.php
1590 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1592 Obsoletes: php-pecl-zip
1595 Zip is an extension to create, modify and read zip files.
1597 %description zip -l pl.UTF-8
1598 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1599 odczyt archiwów zip.
1602 Summary: Zlib extension module for PHP
1603 Summary(pl.UTF-8): Moduł zlib dla PHP
1605 URL: http://www.php.net/manual/en/book.zlib.php
1606 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1610 This is a dynamic shared object (DSO) for PHP that will add zlib
1611 compression support to PHP.
1613 %description zlib -l pl.UTF-8
1614 Moduł PHP umożliwiający używanie kompresji zlib.
1620 %{__sed} -i -e 's,\r$,,' Zend/Zend.dsp Zend/ZendTS.dsp
1622 %if %{with type_hints}
1637 cp php.ini-production php.ini
1645 %if %{with system_gd}
1672 # cleanup backups after patching
1673 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
1675 # conflict seems to be resolved by recode patches
1676 rm -f ext/recode/config9.m4
1678 # remove all bundled libraries not to link with them accidentally
1679 #rm -rf ext/sqlite/libsqlite
1680 rm -rf ext/sqlite3/libsqlite
1681 #rm -rf ext/bcmath/libbcmath
1682 #rm -rf ext/date/lib
1683 #rm -rf ext/dba/libcdb
1684 #rm -rf ext/dba/libflatfile
1685 #rm -rf ext/dba/libinifile
1686 #rm -rf ext/gd/libgd
1687 #rm -rf ext/mbstring/libmbfl
1688 #rm -rf ext/mbstring/oniguruma
1689 rm -rf ext/pcre/pcrelib
1690 rm -rf ext/pdo_sqlite/sqlite
1691 #rm -rf ext/soap/interop
1692 rm -rf ext/xmlrpc/libxmlrpc
1694 cp -af Zend/LICENSE{,.Zend}
1697 sed -i -e 's#-fvisibility=hidden##g' configure*
1700 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
1701 if [ $API != %{php_api_version} ]; then
1702 echo "Set %%define php_api_version to $API and re-run."
1706 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
1707 if [ $API != %{zend_module_api} ]; then
1708 echo "Set %%define zend_module_api to $API and re-run."
1712 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
1713 if [ $API != %{zend_extension_api} ]; then
1714 echo "Set %%define zend_extension_api to $API and re-run."
1718 export EXTENSION_DIR="%{php_extensiondir}"
1719 # configure once (for faster debugging purposes)
1720 if [ ! -f _built-conf ]; then
1721 # now remove Makefile copies
1722 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs{1,2}}
1725 cp -f /usr/share/automake/config.* .
1729 export PROG_SENDMAIL="/usr/lib/sendmail"
1730 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP"
1744 for sapi in $sapis; do
1746 # skip if already configured (for faster debugging purposes)
1747 [ -f Makefile.$sapi ] && continue
1752 sapi_args='--disable-cli'
1755 sapi_args='--disable-cgi'
1758 sapi_args='--disable-cli --with-fpm'
1761 ver=$(rpm -q --qf '%{V}' apache1-devel)
1762 sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
1765 ver=$(rpm -q --qf '%{V}' apache-devel)
1766 sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
1772 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1773 --cache-file=config.cache \
1775 --with-libdir=%{_lib} \
1776 --with-config-file-path=%{_sysconfdir} \
1777 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1778 --with-exec-dir=%{_bindir} \
1779 --%{!?debug:dis}%{?debug:en}able-debug \
1780 %{?with_zts:--enable-maintainer-zts} \
1781 --enable-inline-optimization \
1782 --enable-bcmath=shared \
1783 --enable-calendar=shared \
1784 --enable-ctype=shared \
1785 --enable-dba=shared \
1786 --enable-dom=shared \
1787 --enable-exif=shared \
1788 --enable-fileinfo=shared \
1789 --enable-ftp=shared \
1790 --enable-gd-native-ttf \
1791 --enable-intl=shared \
1793 --enable-magic-quotes \
1794 --enable-mbstring=shared,all \
1796 --enable-pcntl=shared \
1797 --enable-pdo=shared \
1798 --enable-json=shared \
1799 --enable-hash=shared \
1800 --enable-xmlwriter=shared \
1802 --with-libevent=shared \
1803 --with-fpm-conf=%{_sysconfdir}/fpm.conf \
1804 --with-fpm-log=/var/log/fpm.log \
1805 --with-fpm-pid=/var/run/php/fpm.pid \
1806 --with-fpm-port=9000 \
1807 --with-fpm-user=http \
1808 --with-fpm-group=http \
1810 %if %{with mssql} || %{with sybase_ct}
1811 --with-pdo-dblib=shared \
1813 %if %{with interbase} && %{without interbase_inst}
1814 --with-pdo-firebird=shared,/usr \
1816 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1817 --with-pdo-mysql=shared,mysqlnd \
1818 %{?with_oci8:--with-pdo-oci=shared} \
1819 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1820 %{?with_pgsql:--with-pdo-pgsql=shared} \
1821 %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
1822 --without-libexpat-dir \
1823 --enable-mysqlnd-threading \
1824 --enable-posix=shared \
1827 --enable-shmop=shared \
1828 --enable-simplexml=shared \
1829 --enable-sysvmsg=shared \
1830 --enable-sysvsem=shared \
1831 --enable-sysvshm=shared \
1832 --enable-safe-mode \
1833 --enable-soap=shared \
1834 --enable-sockets=shared \
1835 --enable-tokenizer=shared \
1836 --enable-ucd-snmp-hack \
1837 %{?with_wddx:--enable-wddx=shared} \
1838 --enable-xml=shared \
1839 --enable-xmlreader=shared \
1841 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1843 %{?with_fdf:--with-fdftk=shared} \
1844 --with-iconv=shared \
1845 --with-freetype-dir=shared \
1846 --with-gettext=shared \
1847 --with-gd=shared%{?with_system_gd:,/usr} \
1850 %{?with_imap:--with-imap=shared --with-imap-ssl} \
1851 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1852 --with-jpeg-dir=/usr \
1853 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1854 --with-mcrypt=shared \
1855 %{?with_mm:--with-mm} \
1856 %{?with_mssql:--with-mssql=shared} \
1857 --with-mysql=shared,mysqlnd \
1858 %{?with_mysqli:--with-mysqli=shared,mysqlnd} \
1859 %{?with_oci8:--with-oci8=shared} \
1860 %{?with_openssl:--with-openssl=shared} \
1862 --with-pcre-regex=/usr \
1863 %{!?with_filter:--disable-filter}%{?with_filter:--enable-filter=shared} \
1864 --with-pear=%{php_pear_dir} \
1865 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1866 %{!?with_phar:--disable-phar}%{?with_phar:--enable-phar=shared} \
1867 --with-png-dir=/usr \
1868 %{?with_pspell:--with-pspell=shared} \
1869 --with-readline=shared \
1870 %{?with_recode:--with-recode=shared} \
1871 --with-regex=system \
1872 %{?with_snmp:--with-snmp=shared} \
1873 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1874 %{!?with_sqlite:--without-sqlite --without-pdo-sqlite}%{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1875 %{!?with_sqlite3:--without-sqlite3}%{?with_sqlite3:--with-sqlite3=shared,/usr} \
1876 --with-t1lib=shared \
1877 %{?with_tidy:--with-tidy=shared} \
1878 %{?with_odbc:--with-unixODBC=shared,/usr} \
1879 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1881 --with-zlib=shared \
1882 --with-zlib-dir=shared,/usr \
1883 --enable-zip=shared,/usr \
1886 cp -f Makefile Makefile.$sapi
1887 cp -f main/php_config.h php_config.h.$sapi
1888 cp -f config.log config.log.$sapi
1891 # as we build each SAPI in own make, adjust php-config.in forehead
1892 sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | xargs)
1893 sed -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in"
1895 # must make libphp_common first, so modules can link against it.
1896 %{__make} libphp_common.la
1897 %{__make} build-modules
1900 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1904 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1908 cp -af php_config.h.cgi-fcgi main/php_config.h
1909 %{__make} -f Makefile.cgi-fcgi
1910 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = cgi-fcgi ] || exit 1
1913 cp -af php_config.h.cli main/php_config.h
1914 %{__make} -f Makefile.cli
1915 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = cli ] || exit 1
1918 cp -af php_config.h.fpm main/php_config.h
1919 %{__make} -f Makefile.fpm
1920 ./sapi/fpm/php-fpm -qn -m > /dev/null
1924 # Run tests, using the CLI SAPI
1925 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
1926 unset TZ LANG LC_ALL || :
1928 unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
1932 rm -rf $RPM_BUILD_ROOT
1933 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
1934 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1935 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
1936 $RPM_BUILD_ROOT%{_mandir}/man1 \
1938 # install the apache modules' files
1939 %{__make} install-headers install-build install-modules install-programs \
1940 INSTALL_ROOT=$RPM_BUILD_ROOT
1942 # install apache1 DSO module
1944 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
1947 # install apache2 DSO module
1949 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
1952 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1953 # fix install paths, avoid evil rpaths
1954 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
1956 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
1959 libtool --silent --mode=install install sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.cgi
1960 ln -sf php.cgi $RPM_BUILD_ROOT%{_bindir}/php.fcgi
1964 libtool --silent --mode=install install sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_bindir}/php.fpm
1965 cp -a sapi/fpm/php-fpm.1 $RPM_BUILD_ROOT%{_mandir}/man1/php-fpm.1
1966 cp -a sapi/fpm/php_fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}/fpm.conf
1967 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
1968 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/php-fpm
1969 install -d $RPM_BUILD_ROOT/etc/logrotate.d
1970 cp -a %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/php-fpm
1974 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
1975 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
1976 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
1977 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1979 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1981 install -d $RPM_BUILD_ROOT%{_sysconfdir}
1982 cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1983 cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1984 cp -a %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini
1987 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
1988 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1989 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
1993 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
1994 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1995 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
1998 # Generate stub .ini files for each subpackage
1999 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2000 generate_inifiles() {
2001 for so in modules/*.so; do
2002 mod=$(basename $so .so)
2003 conf="%{_sysconfdir}/conf.d/$mod.ini"
2004 # xml needs to be loaded before wddx
2005 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_$mod.ini"
2007 cat > $RPM_BUILD_ROOT$conf <<-EOF
2008 ; Enable $mod extension module
2015 # per SAPI ini directories
2016 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2019 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{pcntl,readline}.ini,cli.d}
2021 # use system automake and {lib,sh}tool
2022 %if "%{pld_release}" != "ac"
2023 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
2024 for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2025 ln -snf %{_aclocaldir}/${i} $RPM_BUILD_ROOT%{_libdir}/php/build
2027 ln -snf %{_datadir}/libtool/config/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2029 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
2030 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2032 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
2034 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
2035 # isn't installed by install-headers make target, we do it manually here.
2036 # this header file is required by e.g. filter PECL extension
2037 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
2038 # for php-pecl-mailparse
2039 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2040 cp -a ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2043 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2044 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2045 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2048 rm -rf $RPM_BUILD_ROOT
2050 %post -n apache1-mod_php
2051 if [ "$1" = "1" ]; then
2052 %service -q apache restart
2055 %postun -n apache1-mod_php
2056 if [ "$1" = "0" ]; then
2057 %service -q apache restart
2060 %post -n apache-mod_php
2061 if [ "$1" = "1" ]; then
2062 %service -q httpd restart
2065 %postun -n apache-mod_php
2066 if [ "$1" = "0" ]; then
2067 %service -q httpd restart
2071 /sbin/chkconfig --add php-fpm
2072 %service php-fpm restart
2075 if [ "$1" = 0 ]; then
2076 %service php-fpm stop
2077 /sbin/chkconfig --del php-fpm
2080 %post common -p /sbin/ldconfig
2081 %postun common -p /sbin/ldconfig
2084 # minimizing apache restarts logics. we restart webserver:
2086 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2087 # 2. first install of extension (post: $1 = 1)
2088 # 2. uninstall of extension (postun: $1 == 0)
2090 # the strict internal deps between extensions (and apache modules) and
2091 # common package are very important for all this to work.
2093 # restart webserver at the end of transaction
2094 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2095 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2098 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
2100 /^AddType application\/x-httpd-php \.php/s,^,#,
2101 /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
2102 ' /etc/apache/apache.conf
2103 %service -q apache restart
2107 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
2108 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
2109 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
2110 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
2111 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2115 # common macros called at extension post/postun scriptlet
2116 %define extension_scripts() \
2118 if [ "$1" = "1" ]; then \
2119 %php_webserver_restart \
2123 if [ "$1" = "0" ]; then \
2124 %php_webserver_restart \
2128 # extension scripts defines
2129 %extension_scripts bcmath
2130 %extension_scripts bzip2
2131 %extension_scripts calendar
2132 %extension_scripts ctype
2133 %extension_scripts curl
2134 %extension_scripts dba
2135 %extension_scripts dom
2136 %extension_scripts exif
2137 %extension_scripts fdf
2138 %extension_scripts fileinfo
2139 %extension_scripts filter
2140 %extension_scripts ftp
2141 %extension_scripts gd
2142 %extension_scripts gettext
2143 %extension_scripts gmp
2144 %extension_scripts hash
2145 %extension_scripts iconv
2146 %extension_scripts imap
2147 %extension_scripts interbase
2148 %extension_scripts intl
2149 %extension_scripts json
2150 %extension_scripts ldap
2151 %extension_scripts mbstring
2152 %extension_scripts mcrypt
2153 %extension_scripts mssql
2154 %extension_scripts mysql
2155 %extension_scripts mysqli
2156 %extension_scripts oci8
2157 %extension_scripts odbc
2158 %extension_scripts openssl
2159 %extension_scripts pdo-dblib
2160 %extension_scripts pdo-firebird
2161 %extension_scripts pdo-mysql
2162 %extension_scripts pdo-odbc
2163 %extension_scripts pdo-pgsql
2164 %extension_scripts pdo-sqlite
2165 %extension_scripts pgsql
2166 %extension_scripts phar
2167 %extension_scripts posix
2168 %extension_scripts pspell
2169 %extension_scripts recode
2170 %extension_scripts shmop
2171 %extension_scripts snmp
2172 %extension_scripts soap
2173 %extension_scripts sockets
2174 %extension_scripts sqlite
2175 %extension_scripts sqlite3
2176 %extension_scripts sybase-ct
2177 %extension_scripts sysvmsg
2178 %extension_scripts sysvsem
2179 %extension_scripts sysvshm
2180 %extension_scripts tidy
2181 %extension_scripts tokenizer
2182 %extension_scripts wddx
2183 %extension_scripts xml
2184 %extension_scripts xmlreader
2185 %extension_scripts xmlrpc
2186 %extension_scripts xmlwriter
2187 %extension_scripts xsl
2188 %extension_scripts zip
2189 %extension_scripts zlib
2191 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2192 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2194 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2195 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bzip2\.so/d' %{_sysconfdir}/php.ini
2197 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2198 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2200 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2201 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2203 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2204 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2206 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2207 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2209 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2210 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini
2212 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2213 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2215 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2216 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2218 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2219 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2221 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2222 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2224 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2225 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2227 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2228 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2230 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2231 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2233 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2234 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2236 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2237 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2239 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2240 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2242 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2243 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2245 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2246 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2248 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2249 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2251 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2252 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2254 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2255 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini
2257 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2258 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2260 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2261 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2263 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2264 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2266 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2267 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2268 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2270 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2271 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2274 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2275 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2277 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2278 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2280 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2281 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2283 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2284 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2285 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2287 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2288 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2291 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2292 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2294 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2295 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2297 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2298 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2300 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2301 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini
2303 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2304 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2306 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2307 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini
2309 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2310 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini
2312 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2313 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2315 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2316 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2318 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2319 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2321 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2322 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini
2324 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2325 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2327 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2328 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2330 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2331 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2333 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2334 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini
2336 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2337 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2340 %files -n apache1-mod_php
2341 %defattr(644,root,root,755)
2342 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2343 %dir %{_sysconfdir}/apache.d
2344 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2345 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2349 %files -n apache-mod_php
2350 %defattr(644,root,root,755)
2351 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2352 %dir %{_sysconfdir}/apache2handler.d
2353 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2354 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2358 %defattr(644,root,root,755)
2359 %dir %{_sysconfdir}/cgi-fcgi.d
2360 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2361 %attr(755,root,root) %{_bindir}/php.cgi
2362 %attr(755,root,root) %{_bindir}/php.fcgi
2365 %defattr(644,root,root,755)
2366 %dir %{_sysconfdir}/cli.d
2367 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2368 %attr(755,root,root) %{_bindir}/php.cli
2369 %{_mandir}/man1/php.1*
2370 %{_mandir}/man1/php.cli.1*
2373 %defattr(644,root,root,755)
2374 %attr(755,root,root) %{_bindir}/php
2378 %defattr(644,root,root,755)
2379 %doc %lang(ru) sapi/fpm/readme-ru.markdown
2380 %doc sapi/fpm/nginx-site-conf.sample
2381 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.conf
2382 %attr(755,root,root) %{_bindir}/php.fpm
2383 %{_mandir}/man1/php-fpm.1*
2384 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/php-fpm
2385 %attr(754,root,root) /etc/rc.d/init.d/php-fpm
2389 %defattr(644,root,root,755)
2391 %doc CREDITS Zend/ZEND_CHANGES
2392 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2393 %doc README.PHP4-TO-PHP5-THIN-CHANGES
2394 %doc README.namespaces
2397 %dir %{_sysconfdir}/conf.d
2398 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2399 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2400 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2401 %dir %{php_extensiondir}
2403 %doc ext/session/mod_files.sh
2406 %defattr(644,root,root,755)
2407 %doc README.UNIX-BUILD-SYSTEM
2408 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2409 %doc CODING_STANDARDS README.EXTENSIONS README.PARAMETER_PARSING_API README.STREAMS
2410 %doc README.SUBMITTING_PATCH README.TESTING README.TESTING2
2411 %attr(755,root,root) %{_bindir}/phpize
2412 %attr(755,root,root) %{_bindir}/php-config
2413 %attr(755,root,root) %{_libdir}/libphp_common.so
2414 %{_libdir}/libphp_common.la
2416 %{_libdir}/php/build
2417 %{_mandir}/man1/php-config.1*
2418 %{_mandir}/man1/phpize.1*
2421 %defattr(644,root,root,755)
2422 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2423 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2426 %defattr(644,root,root,755)
2427 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2428 %attr(755,root,root) %{php_extensiondir}/bz2.so
2431 %defattr(644,root,root,755)
2432 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2433 %attr(755,root,root) %{php_extensiondir}/calendar.so
2436 %defattr(644,root,root,755)
2437 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2438 %attr(755,root,root) %{php_extensiondir}/ctype.so
2442 %defattr(644,root,root,755)
2443 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2444 %attr(755,root,root) %{php_extensiondir}/curl.so
2448 %defattr(644,root,root,755)
2449 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2450 %attr(755,root,root) %{php_extensiondir}/dba.so
2453 %defattr(644,root,root,755)
2454 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2455 %attr(755,root,root) %{php_extensiondir}/dom.so
2459 %defattr(644,root,root,755)
2460 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2461 %attr(755,root,root) %{php_extensiondir}/fdf.so
2465 %defattr(644,root,root,755)
2466 %doc README.input_filter
2467 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
2468 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
2472 %defattr(644,root,root,755)
2473 %doc README.input_filter
2474 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2475 %attr(755,root,root) %{php_extensiondir}/filter.so
2479 %defattr(644,root,root,755)
2480 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2481 %attr(755,root,root) %{php_extensiondir}/exif.so
2484 %defattr(644,root,root,755)
2485 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2486 %attr(755,root,root) %{php_extensiondir}/ftp.so
2489 %defattr(644,root,root,755)
2490 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2491 %attr(755,root,root) %{php_extensiondir}/gd.so
2494 %defattr(644,root,root,755)
2495 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2496 %attr(755,root,root) %{php_extensiondir}/gettext.so
2499 %defattr(644,root,root,755)
2500 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2501 %attr(755,root,root) %{php_extensiondir}/gmp.so
2504 %defattr(644,root,root,755)
2505 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2506 %attr(755,root,root) %{php_extensiondir}/hash.so
2509 %defattr(644,root,root,755)
2510 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2511 %attr(755,root,root) %{php_extensiondir}/iconv.so
2515 %defattr(644,root,root,755)
2516 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2517 %attr(755,root,root) %{php_extensiondir}/imap.so
2520 %if %{with interbase}
2522 %defattr(644,root,root,755)
2523 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2524 %attr(755,root,root) %{php_extensiondir}/interbase.so
2528 %defattr(644,root,root,755)
2529 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
2530 %attr(755,root,root) %{php_extensiondir}/intl.so
2533 %defattr(644,root,root,755)
2534 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
2535 %attr(755,root,root) %{php_extensiondir}/json.so
2539 %defattr(644,root,root,755)
2540 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2541 %attr(755,root,root) %{php_extensiondir}/ldap.so
2545 %defattr(644,root,root,755)
2546 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2547 %attr(755,root,root) %{php_extensiondir}/mbstring.so
2550 %defattr(644,root,root,755)
2551 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2552 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
2556 %defattr(644,root,root,755)
2557 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2558 %attr(755,root,root) %{php_extensiondir}/mssql.so
2562 %defattr(644,root,root,755)
2563 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2564 %attr(755,root,root) %{php_extensiondir}/mysql.so
2568 %defattr(644,root,root,755)
2569 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2570 %attr(755,root,root) %{php_extensiondir}/mysqli.so
2575 %defattr(644,root,root,755)
2576 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2577 %attr(755,root,root) %{php_extensiondir}/oci8.so
2582 %defattr(644,root,root,755)
2583 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2584 %attr(755,root,root) %{php_extensiondir}/odbc.so
2589 %defattr(644,root,root,755)
2590 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2591 %attr(755,root,root) %{php_extensiondir}/openssl.so
2595 %defattr(644,root,root,755)
2596 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2597 %attr(755,root,root) %{php_extensiondir}/pcntl.so
2600 %defattr(644,root,root,755)
2601 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2602 %attr(755,root,root) %{php_extensiondir}/pdo.so
2604 %if %{with mssql} || %{with sybase_ct}
2606 %defattr(644,root,root,755)
2607 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2608 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
2611 %if %{with interbase} && !%{with interbase_inst}
2613 %defattr(644,root,root,755)
2614 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2615 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
2619 %defattr(644,root,root,755)
2620 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2621 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
2625 %defattr(644,root,root,755)
2626 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2627 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
2632 %defattr(644,root,root,755)
2633 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2634 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
2639 %defattr(644,root,root,755)
2640 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2641 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
2646 %defattr(644,root,root,755)
2647 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2648 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
2653 %defattr(644,root,root,755)
2654 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2655 %attr(755,root,root) %{php_extensiondir}/pgsql.so
2660 %defattr(644,root,root,755)
2661 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
2662 %attr(755,root,root) %{php_extensiondir}/phar.so
2666 %defattr(644,root,root,755)
2667 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2668 %attr(755,root,root) %{php_extensiondir}/posix.so
2672 %defattr(644,root,root,755)
2673 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2674 %attr(755,root,root) %{php_extensiondir}/pspell.so
2678 %defattr(644,root,root,755)
2679 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2680 %attr(755,root,root) %{php_extensiondir}/readline.so
2684 %defattr(644,root,root,755)
2685 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2686 %attr(755,root,root) %{php_extensiondir}/recode.so
2690 %defattr(644,root,root,755)
2691 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2692 %attr(755,root,root) %{php_extensiondir}/simplexml.so
2695 %defattr(644,root,root,755)
2696 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2697 %attr(755,root,root) %{php_extensiondir}/shmop.so
2701 %defattr(644,root,root,755)
2702 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2703 %attr(755,root,root) %{php_extensiondir}/snmp.so
2707 %defattr(644,root,root,755)
2708 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2709 %attr(755,root,root) %{php_extensiondir}/soap.so
2712 %defattr(644,root,root,755)
2713 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2714 %attr(755,root,root) %{php_extensiondir}/sockets.so
2718 %defattr(644,root,root,755)
2719 %doc ext/sqlite/{README,TODO,CREDITS}
2720 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2721 %attr(755,root,root) %{php_extensiondir}/sqlite.so
2726 %defattr(644,root,root,755)
2727 %doc ext/sqlite3/CREDITS
2728 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
2729 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
2732 %if %{with sybase_ct}
2734 %defattr(644,root,root,755)
2735 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2736 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
2740 %defattr(644,root,root,755)
2741 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2742 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
2745 %defattr(644,root,root,755)
2746 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2747 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
2750 %defattr(644,root,root,755)
2751 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2752 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
2755 %defattr(644,root,root,755)
2756 %dir %{php_data_dir}/tests/php
2757 %{php_data_dir}/tests/php/basic
2758 %{php_data_dir}/tests/php/classes
2759 %{php_data_dir}/tests/php/func
2760 %{php_data_dir}/tests/php/lang
2761 %{php_data_dir}/tests/php/output
2762 %{php_data_dir}/tests/php/run-test
2763 %{php_data_dir}/tests/php/security
2764 %{php_data_dir}/tests/php/strings
2765 %{php_data_dir}/tests/php/quicktester.inc
2766 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
2770 %defattr(644,root,root,755)
2771 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2772 %attr(755,root,root) %{php_extensiondir}/tidy.so
2776 %defattr(644,root,root,755)
2777 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2778 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
2782 %defattr(644,root,root,755)
2783 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2784 %attr(755,root,root) %{php_extensiondir}/wddx.so
2788 %defattr(644,root,root,755)
2789 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
2790 %attr(755,root,root) %{php_extensiondir}/xml.so
2793 %defattr(644,root,root,755)
2794 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
2795 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
2799 %defattr(644,root,root,755)
2800 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
2801 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
2805 %defattr(644,root,root,755)
2806 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
2807 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
2810 %defattr(644,root,root,755)
2811 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
2812 %attr(755,root,root) %{php_extensiondir}/xsl.so
2815 %defattr(644,root,root,755)
2816 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
2817 %attr(755,root,root) %{php_extensiondir}/zip.so
2820 %defattr(644,root,root,755)
2821 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
2822 %attr(755,root,root) %{php_extensiondir}/zlib.so