2 # - fix -threads-acfix.patch
3 # - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere
4 # - removed from php 5.0 (currently in php4):
5 # db, hyperwave, java, mcal, overload, qtdom
6 # - removed from php 5.1:
8 # - removed from php 5.2:
10 # - mime_magic can't handle new "string/*" entries in magic.mime
11 # thus doesn't work with system magic.mime database
12 # - make additional headers and checking added by mail patch configurable
13 # - apply -hardened patch by default ?
14 # - modularize session, standard (output from pure php -m)?
17 %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary lib)
18 %bcond_with hardening # build with hardening patch applied (http://www.hardened-php.net/)
19 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
20 %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
21 %bcond_without curl # without CURL extension module
22 %bcond_without filter # without filter extension module
23 %bcond_without imap # without IMAP extension module
24 %bcond_without interbase # without InterBase extension module
25 %bcond_without ldap # without LDAP extension module
26 %bcond_without mhash # without mhash extension module
27 %bcond_without mime_magic # without mime-magic module
28 %bcond_without ming # without ming extension module
29 %bcond_without mm # without mm support for session storage
30 %bcond_without mssql # without MS SQL extension module
31 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
32 %bcond_without odbc # without ODBC extension module
33 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
34 %bcond_without pcre # without PCRE extension module
35 %bcond_without pgsql # without PostgreSQL extension module
36 %bcond_without pspell # without pspell extension module
37 %bcond_without recode # without recode extension module
38 %bcond_without snmp # without SNMP extension module
39 %bcond_without sqlite # without SQLite extension module
40 %bcond_without sybase # without Sybase extension module
41 %bcond_without sybase_ct # without Sybase-CT extension module
42 %bcond_without tidy # without Tidy extension module
43 %bcond_without wddx # without WDDX extension module
44 %bcond_without xmlrpc # without XML-RPC extension module
45 %bcond_without apache1 # disable building apache 1.3.x module
46 %bcond_without apache2 # disable building apache 2.x module
47 %bcond_without fcgi # disable building FCGI SAPI
48 %bcond_without zts # disable experimental-zts
49 %bcond_with system_xmlrpc_epi # use system xmlrpc-epi library (broken on 64bit arches, see http://bugs.php.net/41611)
50 %bcond_with tests # default off; test process very often hangs on builders; perform "make test"
51 %bcond_with versioning # build with experimental versioning (to load php4/php5 into same apache)
53 %define apxs1 /usr/sbin/apxs1
54 %define apxs2 /usr/sbin/apxs
56 # some problems with apache 2.x
61 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha
62 # ppc disabled (broken on th-ppc)
63 %undefine with_interbase
66 %if %{without apache1} && %{without apache2}
67 ERROR: You need to select at least one Apache SAPI to build shared modules.
70 # filter depends on pcre
76 Summary: PHP: Hypertext Preprocessor
77 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
78 Summary(pl.UTF-8): Język skryptowy PHP
79 Summary(pt_BR.UTF-8): A linguagem de script PHP
80 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
81 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
84 Release: %{_rel}%{?_rc:.%{_rc}}%{?with_hardening:hardened}
88 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
89 # Source0-md5: 1fe14ca892460b09f06729941a1bb605
91 Source2: %{name}-mod_%{name}.conf
92 Source3: %{name}-cgi-fcgi.ini
93 Source4: %{name}-cgi.ini
94 Source5: %{name}-apache.ini
95 Source6: %{name}-cli.ini
96 Source7: http://www.hardened-php.net/hardening-patch-5.0.4-0.3.0.patch.gz
97 # Source7-md5: 47a742fa9fab2826ad10c13a2376111a
98 # Taken from: http://browsers.garykeith.com/downloads.asp
99 Source8: %{name}_browscap.ini
100 Patch0: %{name}-shared.patch
101 Patch1: %{name}-pldlogo.patch
102 Patch2: %{name}-mail.patch
103 Patch3: %{name}-link-libs.patch
104 Patch4: %{name}-libpq_fs_h_path.patch
105 Patch5: %{name}-filter-shared.patch
106 Patch6: %{name}-build_modules.patch
107 Patch7: %{name}-sapi-ini-file.patch
108 Patch8: %{name}-no-metaccld.patch
109 Patch9: %{name}-sh.patch
110 Patch10: %{name}-ini.patch
111 Patch11: %{name}-acam.patch
112 Patch12: %{name}-threads-acfix.patch
113 Patch13: %{name}-tsrmlsfetchgcc2.patch
114 Patch14: %{name}-no_pear_install.patch
115 Patch15: %{name}-zlib.patch
116 Patch16: %{name}-sybase-fix.patch
117 Patch17: %{name}-readline.patch
118 Patch18: %{name}-nohttpd.patch
119 Patch19: %{name}-gd_imagerotate_enable.patch
120 Patch20: %{name}-uint32_t.patch
121 Patch21: %{name}-dba-link.patch
122 Patch22: %{name}-hardening-fix.patch
123 Patch23: %{name}-both-apxs.patch
124 Patch24: %{name}-builddir.patch
125 Patch25: %{name}-zlib-for-getimagesize.patch
126 Patch26: %{name}-versioning.patch
127 Patch27: %{name}-linkflags-clean.patch
128 Patch28: %{name}-pear.patch
129 Patch29: %{name}-config-dir.patch
130 Patch30: %{name}-bug-42952.patch
131 Patch31: %{name}-fcgi-graceful.patch
132 Patch32: %{name}-apr-apu.patch
133 Patch33: %{name}-fcgi-error_log-no-newlines.patch
134 URL: http://www.php.net/
135 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
136 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
137 BuildRequires: autoconf >= 2.53
138 BuildRequires: automake >= 1.4d
140 BuildRequires: bzip2-devel
141 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
142 BuildRequires: cyrus-sasl-devel
143 BuildRequires: db-devel >= 4.0
144 BuildRequires: elfutils-devel
146 BuildRequires: expat-devel
147 %{?with_system_xmlrpc_epi:BuildRequires: xmlrpc-epi-devel}
149 %{?with_fcgi:BuildRequires: fcgi-devel}
150 %{?with_fdf:BuildRequires: fdftk-devel}
152 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
153 BuildRequires: freetds-devel
155 BuildRequires: freetype-devel >= 2.0
156 BuildRequires: gd-devel >= 2.0.28-4
157 BuildRequires: gd-devel(imagerotate) = 5.2.0
158 BuildRequires: gdbm-devel
159 BuildRequires: gmp-devel
160 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
161 BuildRequires: libjpeg-devel
162 BuildRequires: libltdl-devel >= 1.4
163 BuildRequires: libmcrypt-devel >= 2.4.4
164 BuildRequires: libpng-devel >= 1.0.8
165 BuildRequires: libtiff-devel
166 BuildRequires: libtool >= 1.4.3
167 BuildRequires: libwrap-devel
168 BuildRequires: libxml2-devel >= 2.5.10
169 BuildRequires: libxslt-devel >= 1.1.0
170 %{?with_mhash:BuildRequires: mhash-devel}
171 %{?with_ming:BuildRequires: ming-devel >= 0.3}
172 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
173 BuildRequires: mysql-devel >= 4.0.0
174 %{?with_mysqli:BuildRequires: mysql-devel >= 4.1.0}
175 BuildRequires: ncurses-ext-devel
176 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
177 %if %{with openssl} || %{with ldap}
178 BuildRequires: openssl-devel >= 0.9.7d
180 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
181 BuildRequires: pam-devel
182 %{?with_pcre:BuildRequires: pcre-devel >= 6.6}
183 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
184 %{?with_pgsql:BuildRequires: postgresql-devel}
185 BuildRequires: readline-devel
186 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
187 BuildRequires: rpm-build >= 4.4.0
188 BuildRequires: rpmbuild(macros) >= 1.238
189 %{?with_sqlite:BuildRequires: sqlite-devel}
190 %{?with_sqlite:BuildRequires: sqlite3-devel}
191 BuildRequires: t1lib-devel
192 %{?with_tidy:BuildRequires: tidy-devel}
193 %{?with_odbc:BuildRequires: unixODBC-devel}
194 BuildRequires: zlib-devel >= 1.0.9
196 BuildRequires: apache1-devel
199 BuildRequires: apache-devel >= 2.0.52-2
200 BuildRequires: apr-devel >= 1:1.0.0
201 BuildRequires: apr-util-devel >= 1:1.0.0
203 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
205 %define php_sysconfdir /etc/php
206 %define php_extensiondir %{_libdir}/php
207 %define _sysconfdir %{php_sysconfdir}
209 # must be in sync with source. extra check ensuring that it is so is done in %%build
210 %define php_api_version 20041225
211 %define zend_module_api 20060613
212 %define zend_extension_api 220060519
213 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
214 %define php_debug %{!?debug:0}%{?debug:1}
217 PHP is an HTML-embedded scripting language. PHP attempts to make it
218 easy for developers to write dynamically generated web pages. PHP also
219 offers built-in database integration for several commercial and
220 non-commercial database management systems, so writing a
221 database-enabled web page with PHP is fairly simple. The most common
222 use of PHP coding is probably as a replacement for CGI scripts. The
223 mod_php module enables the Apache web server to understand and process
224 the embedded PHP language in web pages. This package contains php
227 %description -l fr.UTF-8
228 PHP est un langage de script embarque dans le HTM. PHP essaye de
229 rendre simple aux developpeurs d'ecrire des pages web generees
230 dynamiquement. PHP incorpore egalement une integration avec plusieurs
231 systemes de gestion de bases de donnees commerciaux et
232 non-connerciaux, qui rent facile la creation de pages web liees avec
233 des bases de donnees. L'utilisation la plus commune de PHP est
234 probablement en remplacement de scripts CGI. Le module mod_php permet
235 au serveur web apache de comprendre et de traiter le langage PHP
236 integre dans des pages web. Ce package contient php version
239 %description -l pl.UTF-8
240 PHP jest językiem skryptowym, którego polecenia umieszcza się w
241 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
242 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
243 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
244 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
245 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
246 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
247 język PHP osadzony w stronach. Ten pakiet zawiera php w wersji
250 %description -l pt_BR.UTF-8
251 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
252 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
253 com algumas características únicas, específicas ao PHP. O objetivo da
254 linguagem é permitir que desenvolvedores web escrevam páginas
255 dinamicamente geradas de forma rápida.
257 %description -l ru.UTF-8
258 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
259 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
260 для работы с базами данных относительно просто. Наиболее популярное
261 использование PHP - замена для CGI скриптов.
263 Этот пакет содержит самодостаточную (CGI) версию интерпретатора языка.
264 Вы должны также установить пакет %{name}-common. Если вам нужен
265 интерпретатор PHP в качестве модуля apache, установите пакет
268 %description -l uk.UTF-8
269 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
270 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
271 роботи з базами даних є доволі простим. Найбільш популярне
272 використання PHP - заміна для CGI скриптів.
274 Цей пакет містить самодостатню (CGI) версію інтерпретатора мови. Ви
275 маєте також встановити пакет %{name}-common. Якщо вам потрібен
276 інтерпретатор PHP в якості модуля apache, встановіть пакет
279 %package -n apache1-mod_php
280 Summary: PHP DSO module for apache 1.3.x
281 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php dla apache 1.3.x
282 Group: Development/Languages/PHP
283 Requires(triggerpostun): sed >= 4.0
284 Requires: %{name}-common = %{epoch}:%{version}-%{release}
285 Requires: apache1(EAPI) >= 1.3.33-2
286 Requires: apache1-mod_mime
287 Provides: webserver(php) = %{version}
288 Obsoletes: apache-mod_php < 1:4.1.1
291 %description -n apache1-mod_php
292 PHP as DSO module for apache 1.3.x.
294 %description -n apache1-mod_php -l pl.UTF-8
295 php jako moduł DSO (Dynamic Shared Object) dla apache 1.3.x.
297 %package -n apache-mod_php
298 Summary: PHP DSO module for apache 2.x
299 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php dla apache 2.x
300 Group: Development/Languages/PHP
301 Requires: %{name}-common = %{epoch}:%{version}-%{release}
302 Requires: apache(modules-api) = %{apache_modules_api}
303 Requires: apache-mod_mime
304 Provides: webserver(php) = %{version}
307 %description -n apache-mod_php
308 PHP as DSO module for apache 2.x.
310 %description -n apache-mod_php -l pl.UTF-8
311 php jako moduł DSO (Dynamic Shared Object) dla apache 2.x.
314 Summary: php as FastCGI program
315 Summary(pl.UTF-8): php jako program FastCGI
316 Group: Development/Languages/PHP
317 Requires: %{name}-common = %{epoch}:%{version}-%{release}
318 Provides: webserver(php) = %{version}
321 php as FastCGI program.
323 %description fcgi -l pl.UTF-8
324 php jako program FastCGI.
327 Summary: php as CGI program
328 Summary(pl.UTF-8): php jako program CGI
329 Group: Development/Languages/PHP
330 Requires: %{name}-common = %{epoch}:%{version}-%{release}
335 %description cgi -l pl.UTF-8
336 php jako program CGI.
339 Summary: php as CLI interpreter
340 Summary(pl.UTF-8): php jako interpreter działający z linii poleceń
341 Group: Development/Languages/PHP
342 Requires: %{name}-common = %{epoch}:%{version}-%{release}
345 php as CLI interpreter.
347 %description cli -l pl.UTF-8
348 php jako interpreter działający z linii poleceń.
351 Summary: /usr/bin/php symlink
352 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
353 Group: Development/Languages/PHP
354 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
355 Obsoletes: /usr/bin/php
358 Package providing /usr/bin/php symlink to PHP CLI.
360 %description program -l pl.UTF-8
361 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
364 Summary: Common files needed by both apache module and CGI
365 Summary(pl.UTF-8): Wspólne pliki dla modułu apache'a i programu CGI
366 Summary(ru.UTF-8): Разделяемые библиотеки для php
367 Summary(uk.UTF-8): Бібліотеки спільного використання для php
369 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
370 Requires: glibc >= 6:2.3.5
373 Provides: php(libxml)
374 Provides: php(modules_api) = %{php_api_version}
375 Provides: php(overload)
376 %{?with_pcre:Provides: php(pcre)}
377 Provides: php(reflection)
378 Provides: php(session)
379 Provides: php(simplexml)
381 Provides: php(standard)
382 Provides: php(zend_extension_api) = %{zend_extension_api}
383 Provides: php(zend_module_api) = %{zend_module_api}
384 %{?with_pcre:Provides: php-pcre}
385 Provides: php5(debug) = %{php_debug}
386 Provides: php5(thread-safety) = %{zend_zts}
387 Obsoletes: php-pcre < 4:5.2.0
388 Obsoletes: php-pecl-domxml
389 Obsoletes: php-session < 3:4.2.1-2
390 Conflicts: php4-common < 3:4.4.4-8
391 Conflicts: rpm < 4.4.2-0.2
394 Common files needed by both apache module and CGI.
396 %description common -l pl.UTF-8
397 Wspólne pliki dla modułu apacha i programu CGI.
399 %description common -l ru.UTF-8
400 Этот пакет содержит общие файлы для разных вариантов реализации PHP
401 (самодостаточной и в качестве модуля apache).
403 %description common -l uk.UTF-8
404 Цей пакет містить спільні файли для різних варіантів реалізації PHP
405 (самодостатньої та в якості модуля apache).
408 Summary: Files for PHP modules development
409 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
410 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
411 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
412 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
413 Group: Development/Languages/PHP
414 Requires: %{name}-common = %{epoch}:%{version}-%{release}
418 %{?with_pcre:Requires: pcre-devel >= 6.6}
420 Obsoletes: php-pear-devel
421 Obsoletes: php4-devel
424 The php-devel package lets you compile dynamic extensions to PHP.
425 Included here is the source for the PHP extensions. Instead of
426 recompiling the whole php binary to add support for, say, oracle,
427 install this package and use the new self-contained extensions
428 support. For more information, read the file
429 README.SELF-CONTAINED-EXTENSIONS.
431 %description devel -l pl.UTF-8
432 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
433 rekompilować całe php aby dodać obsługę np. oracle, można przy użyciu
434 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
435 samodzielnych rozszerzeniach można znaleźć w pliku
436 README.SELF-CONTAINED-EXTENSIONS.
438 %description devel -l pt_BR.UTF-8
439 Este pacote contém arquivos usados no desenvolvimento de programas ou
442 %description devel -l ru.UTF-8
443 Пакет php-devel дает возможность компилировать динамические расширения
444 PHP. Пакет включает исходный код этих расширений. Вместо повторной
445 компиляции бинарного файла php для добавления, например, поддержки
446 oracle, установите этот пакет для компилирования отдельных расширений.
447 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
449 %description devel -l uk.UTF-8
450 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
451 До пакету включено вихідний код для розширень. Замість повторної
452 компіляції бінарного файлу php для додання, наприклад, підтримки
453 oracle, встановіть цей пакет для компіляції окремих розширень.
454 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
457 Summary: bcmath extension module for PHP
458 Summary(pl.UTF-8): Moduł bcmath dla PHP
460 Requires: %{name}-common = %{epoch}:%{version}-%{release}
461 Provides: php(bcmath)
464 This is a dynamic shared object (DSO) for PHP that will add bc style
465 precision math functions support.
467 %description bcmath -l pl.UTF-8
468 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
469 matematycznych takich jak w programie bc.
472 Summary: Bzip2 extension module for PHP
473 Summary(pl.UTF-8): Moduł bzip2 dla PHP
475 Requires: %{name}-common = %{epoch}:%{version}-%{release}
479 This is a dynamic shared object (DSO) for PHP that will add bzip2
480 compression support to PHP.
482 %description bzip2 -l pl.UTF-8
483 Moduł PHP umożliwiający używanie kompresji bzip2.
486 Summary: Calendar extension module for PHP
487 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
489 Requires: %{name}-common = %{epoch}:%{version}-%{release}
490 Provides: php(calendar)
492 %description calendar
493 This is a dynamic shared object (DSO) for PHP that will add calendar
496 %description calendar -l pl.UTF-8
497 Moduł PHP dodający wsparcie dla kalendarza.
500 Summary: ctype extension module for PHP
501 Summary(pl.UTF-8): Moduł ctype dla PHP
503 Requires: %{name}-common = %{epoch}:%{version}-%{release}
507 This is a dynamic shared object (DSO) for PHP that will add ctype
510 %description ctype -l pl.UTF-8
511 Moduł PHP umożliwiający korzystanie z funkcji ctype.
514 Summary: curl extension module for PHP
515 Summary(pl.UTF-8): Moduł curl dla PHP
517 Requires: %{name}-common = %{epoch}:%{version}-%{release}
521 This is a dynamic shared object (DSO) for PHP that will add curl
524 %description curl -l pl.UTF-8
525 Moduł PHP umożliwiający korzystanie z biblioteki curl.
528 Summary: DBA extension module for PHP
529 Summary(pl.UTF-8): Moduł DBA dla PHP
531 Requires: %{name}-common = %{epoch}:%{version}-%{release}
535 This is a dynamic shared object (DSO) for PHP that will add flat-file
536 databases (DBA) support.
538 %description dba -l pl.UTF-8
539 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
543 Summary: DBase extension module for PHP
544 Summary(pl.UTF-8): Moduł DBase dla PHP
546 Requires: %{name}-common = %{epoch}:%{version}-%{release}
550 This is a dynamic shared object (DSO) for PHP that will add DBase
553 %description dbase -l pl.UTF-8
554 Moduł PHP ze wsparciem dla DBase.
557 Summary: DOM extension module for PHP
558 Summary(pl.UTF-8): Moduł DOM dla PHP
560 Requires: %{name}-common = %{epoch}:%{version}-%{release}
562 # it has some compatibility functions
563 Provides: php(domxml)
564 Obsoletes: php-domxml <= 3:4.3.8-1
567 This is a dynamic shared object (DSO) for PHP that will add new DOM
570 %description dom -l pl.UTF-8
571 Moduł PHP dodający nową obsługę DOM.
574 Summary: exif extension module for PHP
575 Summary(pl.UTF-8): Moduł exif dla PHP
577 Requires: %{name}-common = %{epoch}:%{version}-%{release}
581 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
582 support in image files.
584 %description exif -l pl.UTF-8
585 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
588 Summary: FDF extension module for PHP
589 Summary(pl.UTF-8): Moduł FDF dla PHP
591 Requires: %{name}-common = %{epoch}:%{version}-%{release}
595 This PHP module adds support for PDF Forms through Adobe FDFTK
598 %description fdf -l pl.UTF-8
599 Moduł PHP dodający obsługę formularzy PDF poprzez bibliotekę Adobe
603 Summary: Extension for safely dealing with input parameters
604 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
606 Requires: %{name}-common = %{epoch}:%{version}-%{release}
607 Provides: php(filter)
608 Obsoletes: php-pecl-filter
611 We all know that you should always check input variables, but PHP does
612 not offer really good functionality for doing this in a safe way. The
613 Input Filter extension is meant to address this issue by implementing
614 a set of filters and mechanisms that users can use to safely access
617 %description filter -l pl.UTF-8
618 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
619 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
620 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
621 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
622 mogą bezpiecznie używać do dostępu do danych.
625 Summary: FTP extension module for PHP
626 Summary(pl.UTF-8): Moduł FTP dla PHP
628 Requires: %{name}-common = %{epoch}:%{version}-%{release}
632 This is a dynamic shared object (DSO) for PHP that will add FTP
635 %description ftp -l pl.UTF-8
636 Moduł PHP dodający obsługę protokołu FTP.
639 Summary: GD extension module for PHP
640 Summary(pl.UTF-8): Moduł GD dla PHP
642 Requires: %{name}-common = %{epoch}:%{version}-%{release}
643 Requires: gd >= 2.0.28-4
645 Requires: gd(imagerotate) = 5.2.0
649 This is a dynamic shared object (DSO) for PHP that will add GD
650 support, allowing you to create and manipulate images with PHP.
652 %description gd -l pl.UTF-8
653 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
654 tworzenie i obróbkę obrazków.
657 Summary: gettext extension module for PHP
658 Summary(pl.UTF-8): Moduł gettext dla PHP
660 Requires: %{name}-common = %{epoch}:%{version}-%{release}
661 Provides: php(gettext)
664 This is a dynamic shared object (DSO) for PHP that will add gettext
667 %description gettext -l pl.UTF-8
668 Moduł PHP dodający obsługę lokalizacji przez gettext.
671 Summary: gmp extension module for PHP
672 Summary(pl.UTF-8): Moduł gmp dla PHP
674 Requires: %{name}-common = %{epoch}:%{version}-%{release}
678 This is a dynamic shared object (DSO) for PHP that will add arbitrary
679 length number support with GNU MP library.
681 %description gmp -l pl.UTF-8
682 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
683 liczbach o dowolnej długości.
686 Summary: HASH Message Digest Framework
687 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
689 Requires: %{name}-common = %{epoch}:%{version}-%{release}
691 Obsoletes: php-pecl-hash
694 Native implementations of common message digest algorithms using a
695 generic factory method.
697 %description hash -l pl.UTF-8
698 Natywne implementacje popularnych algorytmów obliczania skrótów
699 wiadomości przy użyciu wspólnego interfejsu.
702 Summary: iconv extension module for PHP
703 Summary(pl.UTF-8): Moduł iconv dla PHP
705 Requires: %{name}-common = %{epoch}:%{version}-%{release}
709 This is a dynamic shared object (DSO) for PHP that will add iconv
712 %description iconv -l pl.UTF-8
713 Moduł PHP dodający obsługę iconv.
716 Summary: IMAP extension module for PHP
717 Summary(pl.UTF-8): Moduł IMAP dla PHP
718 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
720 Requires: %{name}-common = %{epoch}:%{version}-%{release}
724 This is a dynamic shared object (DSO) for PHP that will add IMAP
727 %description imap -l pl.UTF-8
728 Moduł PHP dodający obsługę skrzynek IMAP.
730 %description imap -l pt_BR.UTF-8
731 Um módulo para aplicações PHP que usam IMAP.
734 Summary: InterBase/Firebird database module for PHP
735 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
737 Requires: %{name}-common = %{epoch}:%{version}-%{release}
738 Provides: php(interbase)
739 %{?with_interbase_inst:Autoreq: false}
741 %description interbase
742 This is a dynamic shared object (DSO) for PHP that will add InterBase
743 and Firebird database support.
745 %description interbase -l pl.UTF-8
746 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
749 Summary: PHP C extension for JSON serialization
750 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
752 Requires: %{name}-common = %{epoch}:%{version}-%{release}
754 Obsoletes: php-pecl-json
757 php-json is an extremely fast PHP C extension for JSON (JavaScript
758 Object Notation) serialisation.
760 %description json -l pl.UTF-8
761 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
762 (JavaScript Object Notation).
765 Summary: LDAP extension module for PHP
766 Summary(pl.UTF-8): Moduł LDAP dla PHP
767 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
769 Requires: %{name}-common = %{epoch}:%{version}-%{release}
773 This is a dynamic shared object (DSO) for PHP that will add LDAP
776 %description ldap -l pl.UTF-8
777 Moduł PHP dodający obsługę LDAP.
779 %description ldap -l pt_BR.UTF-8
780 Um módulo para aplicações PHP que usam LDAP.
783 Summary: mbstring extension module for PHP
784 Summary(pl.UTF-8): Moduł mbstring dla PHP
786 Requires: %{name}-common = %{epoch}:%{version}-%{release}
787 Provides: php(mbstring)
789 %description mbstring
790 This is a dynamic shared object (DSO) for PHP that will add multibyte
793 %description mbstring -l pl.UTF-8
794 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
797 Summary: mcrypt extension module for PHP
798 Summary(pl.UTF-8): Moduł mcrypt dla PHP
800 Requires: %{name}-common = %{epoch}:%{version}-%{release}
801 Provides: php(mcrypt)
804 This is a dynamic shared object (DSO) for PHP that will add mcrypt
807 %description mcrypt -l pl.UTF-8
808 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
811 Summary: mhash extension module for PHP
812 Summary(pl.UTF-8): Moduł mhash dla PHP
814 Requires: %{name}-common = %{epoch}:%{version}-%{release}
818 This is a dynamic shared object (DSO) for PHP that will add mhash
821 %description mhash -l pl.UTF-8
822 Moduł PHP udostępniający funkcje mieszające z biblioteki mhash.
825 Summary: mime_magic extension module for PHP
826 Summary(pl.UTF-8): Moduł mime_magic dla PHP
828 Requires: %{name}-common = %{epoch}:%{version}-%{release}
829 Requires: /usr/share/file/magic.mime
830 Provides: php(mime_magic)
832 %description mime_magic
833 This PHP module adds support for MIME type lookup via file magic
834 numbers using magic.mime database.
836 %description mime_magic -l pl.UTF-8
837 Moduł PHP dodający obsługę wyszukiwania typów MIME według magicznych
838 znaczników plików z użyciem bazy danych magic.mime.
841 Summary: ming extension module for PHP
842 Summary(pl.UTF-8): Moduł ming dla PHP
844 Requires: %{name}-common = %{epoch}:%{version}-%{release}
845 Requires: ming >= 0.3
849 This is a dynamic shared object (DSO) for PHP that will add ming
850 (Flash - .swf files) support.
852 %description ming -l pl.UTF-8
853 Moduł PHP dodający obsługę plików Flash (.swf) poprzez bibliotekę
857 Summary: MS SQL extension module for PHP
858 Summary(pl.UTF-8): Moduł MS SQL dla PHP
860 Requires: %{name}-common = %{epoch}:%{version}-%{release}
864 This is a dynamic shared object (DSO) for PHP that will add MS SQL
865 databases support through FreeTDS library.
867 %description mssql -l pl.UTF-8
868 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
872 Summary: MySQL database module for PHP
873 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
874 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
876 Requires: %{name}-common = %{epoch}:%{version}-%{release}
880 This is a dynamic shared object (DSO) for PHP that will add MySQL
883 %description mysql -l pl.UTF-8
884 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
886 %description mysql -l pt_BR.UTF-8
887 Um módulo para aplicações PHP que usam bancos de dados MySQL.
890 Summary: MySQLi module for PHP
891 Summary(pl.UTF-8): Moduł MySQLi dla PHP
893 Requires: %{name}-common = %{epoch}:%{version}-%{release}
894 Requires: mysql-libs >= 4.1.0
895 Provides: php(mysqli)
898 This is a dynamic shared object (DSO) for PHP that will add MySQLi
899 (Improved MySQL) support. The difference between it and mysql module
900 is that it provides access to functionality of MySQL 4.1 and above.
902 %description mysqli -l pl.UTF-8
903 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
904 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
905 MySQL w wersji 4.1 i nowszych.
908 Summary: ncurses module for PHP
909 Summary(pl.UTF-8): Moduł ncurses dla PHP
911 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
912 Provides: php(ncurses)
915 This PHP module adds support for ncurses functions (only for cli and
918 %description ncurses -l pl.UTF-8
919 Moduł PHP dodający obsługę funkcji ncurses (tylko do SAPI cli i cgi).
922 Summary: Oracle 8+ database module for PHP
923 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
925 Requires: %{name}-common = %{epoch}:%{version}-%{release}
930 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
931 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
933 %description oci8 -l pl.UTF-8
934 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
935 poprzez interfejs Oracle8 Call-Interface (OCI8).
938 Summary: ODBC extension module for PHP
939 Summary(pl.UTF-8): Moduł ODBC dla PHP
940 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
942 Requires: %{name}-common = %{epoch}:%{version}-%{release}
943 Requires: unixODBC >= 2.1.1-3
947 This is a dynamic shared object (DSO) for PHP that will add ODBC
950 %description odbc -l pl.UTF-8
951 Moduł PHP ze wsparciem dla ODBC.
953 %description odbc -l pt_BR.UTF-8
954 Um módulo para aplicações PHP que usam ODBC.
957 Summary: OpenSSL extension module for PHP
958 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
960 Requires: %{name}-common = %{epoch}:%{version}-%{release}
961 Provides: php(openssl)
964 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
967 Warning: this is an experimental module.
969 %description openssl -l pl.UTF-8
970 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
972 Uwaga: to jest moduł eksperymentalny.
975 Summary: Process Control extension module for PHP
976 Summary(pl.UTF-8): Moduł Process Control dla PHP
978 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
982 This is a dynamic shared object (DSO) for PHP that will add process
983 spawning and control support. It supports functions like fork(),
984 waitpid(), signal() etc.
986 Warning: this is an experimental module. Also, don't use it in
987 webserver environment!
989 %description pcntl -l pl.UTF-8
990 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
991 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
993 Uwaga: to jest moduł eksperymentalny. Ponadto nie jest przeznaczony do
994 używania z serwerem WWW - nie próbuj tego!
997 Summary: PHP Data Objects (PDO)
998 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1000 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1002 Obsoletes: php-pecl-PDO
1005 This is a dynamic shared object (DSO) for PHP that will add PDO
1008 %description pdo -l pl.UTF-8
1009 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1012 Summary: PHP Data Objects (PDO) FreeTDS support
1013 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1015 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1016 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1017 Provides: php(dblib)
1019 %description pdo-dblib
1020 This is a dynamic shared object (DSO) for PHP that will add PDO
1023 %description pdo-dblib -l pl.UTF-8
1024 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1027 %package pdo-firebird
1028 Summary: PHP Data Objects (PDO) Firebird support
1029 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1031 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1032 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1033 Provides: php(pdo-firebird)
1034 Obsoletes: php-pecl-PDO_FIREBIRD
1036 %description pdo-firebird
1037 This is a dynamic shared object (DSO) for PHP that will add PDO
1040 %description pdo-firebird -l pl.UTF-8
1041 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1045 Summary: PHP Data Objects (PDO) MySQL support
1046 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1048 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1049 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1050 Provides: php(pdo-mysql)
1051 Obsoletes: php-pecl-PDO_MYSQL
1053 %description pdo-mysql
1054 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1057 %description pdo-mysql -l pl.UTF-8
1058 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1062 Summary: PHP Data Objects (PDO) Oracle support
1063 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1065 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1066 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1067 Provides: php(pdo-oci)
1068 Obsoletes: php-pecl-PDO_OCI
1070 %description pdo-oci
1071 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1074 %description pdo-oci -l pl.UTF-8
1075 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1079 Summary: PHP Data Objects (PDO) ODBC support
1080 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1082 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1083 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1084 Provides: php(pdo-odbc)
1085 Obsoletes: php-pecl-PDO_ODBC
1087 %description pdo-odbc
1088 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1091 %description pdo-odbc -l pl.UTF-8
1092 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1096 Summary: PHP Data Objects (PDO) PostgreSQL support
1097 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1099 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1100 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1101 Provides: php(pdo-pgsql)
1102 Provides: php-pecl-PDO_PGSQL
1103 Obsoletes: php-pecl-PDO_PGSQL
1105 %description pdo-pgsql
1106 This is a dynamic shared object (DSO) for PHP that will add PDO
1109 %description pdo-pgsql -l pl.UTF-8
1110 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1114 Summary: PHP Data Objects (PDO) SQLite support
1115 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1117 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1118 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1119 Provides: php(pdo-sqlite)
1120 Obsoletes: php-pecl-PDO_SQLITE
1122 %description pdo-sqlite
1123 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1126 %description pdo-sqlite -l pl.UTF-8
1127 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1131 Summary: PostgreSQL database module for PHP
1132 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1134 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1135 Provides: php(pgsql)
1138 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1141 %description pgsql -l pl.UTF-8
1142 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1144 %description pgsql -l pt_BR.UTF-8
1145 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1148 Summary: POSIX extension module for PHP
1149 Summary(pl.UTF-8): Moduł POSIX dla PHP
1151 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1152 Provides: php(posix)
1155 This is a dynamic shared object (DSO) for PHP that will add POSIX
1156 functions support to PHP.
1158 %description posix -l pl.UTF-8
1159 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1162 Summary: pspell extension module for PHP
1163 Summary(pl.UTF-8): Moduł pspell dla PHP
1165 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1166 Provides: php(pspell)
1169 This is a dynamic shared object (DSO) for PHP that will add pspell
1170 support to PHP. It allows to check the spelling of a word and offer
1173 %description pspell -l pl.UTF-8
1174 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1175 sprawdzanie pisowni słowa i sugerowanie poprawek.
1178 Summary: readline extension module for PHP
1179 Summary(pl.UTF-8): Moduł readline dla PHP
1181 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1182 Provides: php(readline)
1184 %description readline
1185 This PHP module adds support for readline functions (only for cli and
1188 %description readline -l pl.UTF-8
1189 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1192 Summary: recode extension module for PHP
1193 Summary(pl.UTF-8): Moduł recode dla PHP
1195 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1196 Requires: recode >= 3.5d-3
1197 Provides: php(recode)
1200 This is a dynamic shared object (DSO) for PHP that will add recode
1203 %description recode -l pl.UTF-8
1204 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1208 Summary: Shared Memory Operations extension module for PHP
1209 Summary(pl.UTF-8): Moduł shmop dla PHP
1211 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1212 Provides: php(shmop)
1215 This is a dynamic shared object (DSO) for PHP that will add Shared
1216 Memory Operations support.
1218 Warning: this is an experimental module.
1220 %description shmop -l pl.UTF-8
1221 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1223 Uwaga: to jest moduł eksperymentalny.
1226 Summary: Simple XML extension module for PHP
1227 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1229 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1230 Provides: php(simplexml)
1232 %description simplexml
1233 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1236 %description simplexml -l pl.UTF-8
1237 Moduł PHP dodający obsługę prostego XML-a.
1240 Summary: SNMP extension module for PHP
1241 Summary(pl.UTF-8): Moduł SNMP dla PHP
1243 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1244 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1248 This is a dynamic shared object (DSO) for PHP that will add SNMP
1251 %description snmp -l pl.UTF-8
1252 Moduł PHP dodający obsługę SNMP.
1255 Summary: soap extension module for PHP
1256 Summary(pl.UTF-8): Moduł soap dla PHP
1258 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1262 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1265 %description soap -l pl.UTF-8
1266 Moduł PHP dodający obsługę SOAP/WSDL.
1269 Summary: sockets extension module for PHP
1270 Summary(pl.UTF-8): Moduł socket dla PHP
1272 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1273 Provides: php(sockets)
1275 %description sockets
1276 This is a dynamic shared object (DSO) for PHP that will add sockets
1279 Warning: this is an experimental module.
1281 %description sockets -l pl.UTF-8
1282 Moduł PHP dodający obsługę gniazdek.
1284 Uwaga: to jest moduł eksperymentalny.
1287 Summary: SQLite extension module for PHP
1288 Summary(pl.UTF-8): Moduł SQLite dla PHP
1290 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1291 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1292 Provides: php(sqlite)
1295 SQLite is a C library that implements an embeddable SQL database
1296 engine. Programs that link with the SQLite library can have SQL
1297 database access without running a separate RDBMS process.
1299 SQLite is not a client library used to connect to a big database
1300 server. SQLite is the server. The SQLite library reads and writes
1301 directly to and from the database files on disk.
1303 %description sqlite -l pl.UTF-8
1304 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1305 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1306 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1309 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1310 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1311 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1315 Summary: Sybase DB extension module for PHP
1316 Summary(pl.UTF-8): Moduł Sybase DB dla PHP
1318 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1319 Provides: php(sybase)
1320 Obsoletes: php-sybase-ct
1321 Conflicts: php-sybase-ct
1324 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1325 MS SQL databases support through SYBDB library. Currently Sybase
1326 module is not maintained. Using Sybase-CT module is recommended
1329 %description sybase -l pl.UTF-8
1330 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1331 bibliotekę SYBDB. W chwili obecnej moduł Sybase nie jest wspierany.
1332 Zaleca się używanie modułu Sybase-CT.
1335 Summary: Sybase-CT extension module for PHP
1336 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1338 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1339 Provides: php(sybase-ct)
1340 Obsoletes: php-sybase
1341 Conflicts: php-sybase
1343 %description sybase-ct
1344 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1345 MS SQL databases support through CT-lib.
1347 %description sybase-ct -l pl.UTF-8
1348 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1352 Summary: SysV msg extension module for PHP
1353 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1355 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1356 Provides: php(sysvmsg)
1358 %description sysvmsg
1359 This is a dynamic shared object (DSO) for PHP that will add SysV
1360 message queues support.
1362 %description sysvmsg -l pl.UTF-8
1363 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1366 Summary: SysV sem extension module for PHP
1367 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1369 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1370 Provides: php(sysvsem)
1372 %description sysvsem
1373 This is a dynamic shared object (DSO) for PHP that will add SysV
1376 %description sysvsem -l pl.UTF-8
1377 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1380 Summary: SysV shm extension module for PHP
1381 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1383 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1384 Provides: php(sysvshm)
1386 %description sysvshm
1387 This is a dynamic shared object (DSO) for PHP that will add SysV
1388 Shared Memory support.
1390 %description sysvshm -l pl.UTF-8
1391 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1394 Summary: Tidy extension module for PHP
1395 Summary(pl.UTF-8): Moduł Tidy dla PHP
1397 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1402 This is a dynamic shared object (DSO) for PHP that will add Tidy
1405 %description tidy -l pl.UTF-8
1406 Moduł PHP umożliwiający korzystanie z tidy.
1409 Summary: tokenizer extension module for PHP
1410 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1412 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1413 Provides: php(tokenizer)
1415 %description tokenizer
1416 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1419 %description tokenizer -l pl.UTF-8
1420 Moduł PHP dodający obsługę tokenizera do PHP.
1423 Summary: wddx extension module for PHP
1424 Summary(pl.UTF-8): Moduł wddx dla PHP
1426 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1427 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1428 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1432 This is a dynamic shared object (DSO) for PHP that will add wddx
1435 %description wddx -l pl.UTF-8
1436 Moduł PHP umożliwiający korzystanie z wddx.
1439 Summary: XML extension module for PHP
1440 Summary(pl.UTF-8): Moduł XML dla PHP
1442 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1446 This is a dynamic shared object (DSO) for PHP that will add XML
1447 support. This extension lets you create XML parsers and then define
1448 handlers for different XML events.
1450 %description xml -l pl.UTF-8
1451 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1452 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1453 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1456 Summary: XML Reader extension module for PHP
1457 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1459 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1460 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1461 Provides: php(xmlreader)
1463 %description xmlreader
1464 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1465 support. The XMLReader extension is an XML Pull parser. The reader
1466 acts as a cursor going forward on the document stream and stopping at
1467 each node on the way.
1469 %description xmlreader -l pl.UTF-8
1470 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1471 działa jako kursor przechodzący przez strumień dokumentu i
1472 zatrzymujący się na każdym węźle po drodze.
1475 Summary: xmlrpc extension module for PHP
1476 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1478 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1479 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1480 Provides: php(xmlrpc)
1483 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1486 Warning: this is an experimental module.
1488 %description xmlrpc -l pl.UTF-8
1489 Moduł PHP dodający obsługę XMLRPC.
1491 Uwaga: to jest moduł eksperymentalny.
1494 Summary: Fast, non-cached, forward-only means to write XML data
1495 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1497 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1498 Provides: php(xmlwriter)
1499 Obsoletes: php-pecl-xmlwriter
1501 %description xmlwriter
1502 This extension wraps the libxml xmlWriter API. Represents a writer
1503 that provides a non-cached, forward-only means of generating streams
1504 or files containing XML data.
1506 %description xmlwriter -l pl.UTF-8
1507 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1508 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1509 plików zawierających dane XML.
1512 Summary: xsl extension module for PHP
1513 Summary(pl.UTF-8): Moduł xsl dla PHP
1515 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1516 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1517 Requires: libxslt >= 1.0.18
1518 # actually not true, functionality is similar, but API differs
1520 Obsoletes: php-xslt <= 3:4.3.8-1
1523 This is a dynamic shared object (DSO) for PHP that will add new XSL
1524 support (using libxslt).
1526 %description xsl -l pl.UTF-8
1527 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1530 Summary: Zip management extension
1531 Summary(pl.UTF-8): Zarządzanie archiwami zip
1533 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1535 Obsoletes: php-pecl-zip
1538 Zip is an extension to create, modify and read zip files.
1540 %description zip -l pl.UTF-8
1541 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1542 odczyt archiwów zip.
1545 Summary: Zlib extension module for PHP
1546 Summary(pl.UTF-8): Moduł zlib dla PHP
1548 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1552 This is a dynamic shared object (DSO) for PHP that will add zlib
1553 compression support to PHP.
1555 %description zlib -l pl.UTF-8
1556 Moduł PHP umożliwiający używanie kompresji zlib.
1572 cp php.ini-dist php.ini
1574 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1588 %if %{with hardening}
1589 zcat %{SOURCE7} | patch -p1 || exit 1
1590 patch -p1 < %{PATCH22} || exit 1
1596 %{?with_versioning:%patch26 -p1}
1605 # conflict seems to be resolved by recode patches
1606 rm -f ext/recode/config9.m4
1608 # remove all bundled libraries not to link with them accidentally
1609 #rm -rf ext/sqlite/libsqlite
1610 #rm -rf ext/bcmath/libbcmath
1611 #rm -rf ext/date/lib
1612 #rm -rf ext/dba/libcdb
1613 #rm -rf ext/dba/libflatfile
1614 #rm -rf ext/dba/libinifile
1615 #rm -rf ext/gd/libgd
1616 #rm -rf ext/mbstring/libmbfl
1617 #rm -rf ext/mbstring/oniguruma
1618 rm -rf ext/pcre/pcrelib
1619 rm -rf ext/pdo_sqlite/sqlite
1620 #rm -rf ext/soap/interop
1621 %if %{with system_xmlrpc_epi}
1622 rm -rf ext/xmlrpc/libxmlrpc
1626 # this test hungs on ac-ppc
1627 #mv ext/reflection/tests/007.php{,ignore}
1628 # this test gets killed by itself
1629 mv ext/standard/tests/general_functions/bug39322.phpt{,.broken}
1632 cp -f Zend/LICENSE{,.Zend}
1635 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
1636 if [ $API != %{php_api_version} ]; then
1637 echo "Set %%define php_api_version to $API and re-run."
1641 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
1642 if [ $API != %{zend_module_api} ]; then
1643 echo "Set %%define zend_module_api to $API and re-run."
1647 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
1648 if [ $API != %{zend_extension_api} ]; then
1649 echo "Set %%define zend_extension_api to $API and re-run."
1653 export EXTENSION_DIR="%{php_extensiondir}"
1654 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1655 rm -f Makefile.{fcgi,cgi,cli,apxs{1,2}} # now remove Makefile copies
1661 export PROG_SENDMAIL="/usr/lib/sendmail"
1675 for sapi in $sapis; do
1677 [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1682 sapi_args='--enable-discard-path --enable-force-cgi-redirect'
1685 sapi_args='--disable-cgi'
1688 sapi_args='--enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect'
1691 ver=$(rpm -q --qf '%{V}' apache1-devel)
1692 sapi_args="--with-apxs=%{apxs1} --with-apache-version=$ver"
1695 ver=$(rpm -q --qf '%{V}' apache-devel)
1696 sapi_args="--with-apxs2=%{apxs2} --with-apache-version=$ver"
1702 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1703 --cache-file=config.cache \
1705 --with-libdir=%{_lib} \
1706 --with-config-file-path=%{_sysconfdir} \
1707 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1708 --with-exec-dir=%{_bindir} \
1709 --%{!?debug:dis}%{?debug:en}able-debug \
1710 %{?with_zts:--enable-maintainer-zts} \
1711 --enable-inline-optimization \
1712 --enable-memory-limit \
1713 --enable-bcmath=shared \
1714 --enable-calendar=shared \
1715 --enable-ctype=shared \
1716 --enable-dba=shared \
1719 --enable-dom=shared \
1720 --enable-exif=shared \
1721 --enable-ftp=shared \
1722 --enable-gd-native-ttf \
1723 --enable-gd-jus-conf \
1725 --enable-magic-quotes \
1726 --enable-mbstring=shared,all \
1728 --enable-pcntl=shared \
1729 --enable-pdo=shared \
1730 --enable-json=shared \
1731 --enable-hash=shared \
1732 --enable-xmlwriter=shared \
1733 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
1734 --with-pdo-dblib=shared \
1736 %if %{with interbase} && !%{with interbase_inst}
1737 --with-pdo-firebird=shared,/usr \
1739 --with-pdo-mysql=shared \
1740 %{?with_oci8:--with-pdo-oci=shared} \
1741 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1742 %{?with_pgsql:--with-pdo-pgsql=shared} \
1743 %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
1744 --enable-posix=shared \
1745 --enable-reflection \
1748 --enable-shmop=shared \
1749 --enable-simplexml \
1750 --enable-sysvmsg=shared \
1751 --enable-sysvsem=shared \
1752 --enable-sysvshm=shared \
1753 --enable-track-vars \
1754 --enable-trans-sid \
1755 --enable-safe-mode \
1756 --enable-soap=shared \
1757 --enable-sockets=shared \
1758 --enable-tokenizer=shared \
1759 --enable-ucd-snmp-hack \
1760 %{?with_wddx:--enable-wddx=shared} \
1761 --enable-xml=shared \
1762 --enable-xmlreader=shared \
1764 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1766 --enable-dbase=shared \
1768 --with-expat-dir=shared,/usr \
1770 --without-expat-dir \
1772 %{?with_fdf:--with-fdftk=shared} \
1773 --with-iconv=shared \
1774 --with-freetype-dir=shared \
1775 --with-gettext=shared \
1776 --with-gd=shared,/usr \
1779 %{?with_imap:--with-imap=shared --with-imap-ssl} \
1780 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1781 --with-jpeg-dir=/usr \
1782 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1783 --with-mcrypt=shared \
1784 %{?with_mhash:--with-mhash=shared} \
1785 %{?with_mime_magic:--with-mime-magic=shared,/usr/share/file/magic.mime}%{!?with_mime_magic:--disable-mime-magic} \
1786 %{?with_ming:--with-ming=shared} \
1787 %{?with_mm:--with-mm} \
1788 %{?with_mssql:--with-mssql=shared} \
1789 --with-mysql=shared,/usr \
1790 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1791 %{?with_mysqli:--with-mysqli=shared} \
1792 --with-ncurses=shared \
1793 %{?with_oci8:--with-oci8=shared} \
1794 %{?with_openssl:--with-openssl=shared} \
1796 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=/usr} \
1797 %{!?with_filter:--disable-filter}%{?with_filter:--enable-filter=shared} \
1798 --with-pear=%{php_pear_dir} \
1799 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1800 --with-png-dir=/usr \
1801 %{?with_pspell:--with-pspell=shared} \
1802 --with-readline=shared \
1803 %{?with_recode:--with-recode=shared} \
1805 --without-sablot-js \
1806 %{?with_snmp:--with-snmp=shared} \
1807 %{?with_sybase:--with-sybase=shared,/usr} \
1808 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1809 %{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1810 --with-t1lib=shared \
1811 %{?with_tidy:--with-tidy=shared} \
1812 --with-tiff-dir=/usr \
1813 %{?with_odbc:--with-unixODBC=shared,/usr} \
1814 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared%{?with_system_xmlrpc_epi:,/usr}} \
1816 --with-zlib=shared \
1817 --with-zlib-dir=shared,/usr \
1818 --enable-zip=shared,/usr \
1820 cp -f Makefile Makefile.$sapi
1821 cp -f main/php_config.h php_config.h.$sapi
1824 # must make this first, so modules can link against it.
1825 %{__make} libphp_common.la
1826 %{__make} build-modules
1829 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1833 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1838 cp -af php_config.h.fcgi main/php_config.h
1839 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1840 %{__make} sapi/cgi/php-cgi -f Makefile.fcgi
1841 cp -r sapi/cgi sapi/fcgi
1842 [ "$(echo '<?=php_sapi_name();' | ./sapi/fcgi/php-cgi -qn)" = cgi-fcgi ] || exit 1
1846 cp -af php_config.h.cgi main/php_config.h
1847 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1848 %{__make} sapi/cgi/php-cgi -f Makefile.cgi
1849 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = cgi ] || exit 1
1852 cp -af php_config.h.cli main/php_config.h
1853 %{__make} sapi/cli/php -f Makefile.cli
1854 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -n)" = cli ] || exit 1
1857 # Run tests, using the CLI SAPI
1858 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
1859 unset TZ LANG LC_ALL || :
1861 unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
1865 rm -rf $RPM_BUILD_ROOT
1866 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
1867 $RPM_BUILD_ROOT%{_datadir}/apache-icons \
1868 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1869 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
1870 $RPM_BUILD_ROOT%{_mandir}/man1 \
1872 # install the apache modules' files
1873 %{__make} install-headers install-build install-modules install-programs \
1874 INSTALL_ROOT=$RPM_BUILD_ROOT
1876 # install apache1 DSO module
1878 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
1881 # install apache2 DSO module
1883 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
1886 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1887 # fix install paths, avoid evil rpaths
1888 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
1890 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
1893 libtool --silent --mode=install install sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.cgi
1897 libtool --silent --mode=install install sapi/fcgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.fcgi
1901 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
1902 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
1903 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
1905 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1907 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1909 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1911 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1912 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1913 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini
1916 install %{SOURCE1} php.gif $RPM_BUILD_ROOT%{_datadir}/apache-icons
1917 install %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
1918 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1919 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
1923 install %{SOURCE1} php.gif $RPM_BUILD_ROOT%{_datadir}/apache-icons
1924 install %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
1925 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1926 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
1929 # Generate stub .ini files for each subpackage
1930 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1931 generate_inifiles() {
1932 for so in modules/*.so; do
1933 mod=$(basename $so .so)
1934 conf="%{_sysconfdir}/conf.d/$mod.ini"
1935 # xml needs to be loaded before wddx
1936 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_$mod.ini"
1938 cat > $RPM_BUILD_ROOT$conf <<-EOF
1939 ; Enable $mod extension module
1946 # per SAPI ini directories
1947 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi,cli,cgi-fcgi,apache,apache2handler}.d
1950 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{ncurses,pcntl,readline}.ini,cli.d}
1952 # use system automake and {lib,sh}tool
1953 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
1954 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
1955 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
1956 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
1958 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
1959 # isn't installed by install-headers make target, we do it manually here.
1960 # this header file is required by e.g. filter PECL extension
1961 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
1962 # for php-pecl-mailparse
1963 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
1964 cp -a ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
1967 rm -rf $RPM_BUILD_ROOT
1969 %post -n apache1-mod_php
1970 if [ "$1" = "1" ]; then
1971 %service -q apache restart
1974 %postun -n apache1-mod_php
1975 if [ "$1" = "0" ]; then
1976 %service -q apache restart
1979 %post -n apache-mod_php
1980 if [ "$1" = "1" ]; then
1981 %service -q httpd restart
1984 %postun -n apache-mod_php
1985 if [ "$1" = "0" ]; then
1986 %service -q httpd restart
1989 %post common -p /sbin/ldconfig
1990 %postun common -p /sbin/ldconfig
1993 # minimizing apache restarts logics. we restart webserver:
1995 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1996 # 2. first install of extension (post: $1 = 1)
1997 # 2. uninstall of extension (postun: $1 == 0)
1999 # the strict internal deps between extensions (and apache modules) and
2000 # common package are very important for all this to work.
2002 # restart webserver at the end of transaction
2003 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2004 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2007 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
2009 /^AddType application\/x-httpd-php \.php/s,^,#,
2010 /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
2011 ' /etc/apache/apache.conf
2012 %service -q apache restart
2016 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
2017 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
2018 if [ -f %{php_sysconfdir}/php-apache.ini.rpmsave ]; then
2019 cp -f %{php_sysconfdir}/php-apache2handler.ini{,.rpmnew}
2020 mv -f %{php_sysconfdir}/php-apache.ini.rpmsave %{php_sysconfdir}/php-apache2handler.ini
2024 # common macros called at extension post/postun scriptlet
2025 %define extension_scripts() \
2027 if [ "$1" = "1" ]; then \
2028 %php_webserver_restart \
2032 if [ "$1" = "0" ]; then \
2033 %php_webserver_restart \
2037 # extension scripts defines
2038 %extension_scripts bcmath
2039 %extension_scripts bzip2
2040 %extension_scripts calendar
2041 %extension_scripts ctype
2042 %extension_scripts curl
2043 %extension_scripts dba
2044 %extension_scripts dbase
2045 %extension_scripts dom
2046 %extension_scripts exif
2047 %extension_scripts fdf
2048 %extension_scripts filter
2049 %extension_scripts ftp
2050 %extension_scripts gd
2051 %extension_scripts gettext
2052 %extension_scripts gmp
2053 %extension_scripts hash
2054 %extension_scripts iconv
2055 %extension_scripts imap
2056 %extension_scripts interbase
2057 %extension_scripts json
2058 %extension_scripts ldap
2059 %extension_scripts mbstring
2060 %extension_scripts mcrypt
2061 %extension_scripts mhash
2062 %extension_scripts mime_magic
2063 %extension_scripts ming
2064 %extension_scripts mssql
2065 %extension_scripts mysql
2066 %extension_scripts mysqli
2067 %extension_scripts oci8
2068 %extension_scripts odbc
2069 %extension_scripts openssl
2070 %extension_scripts pdo-dblib
2071 %extension_scripts pdo-firebird
2072 %extension_scripts pdo-mysql
2073 %extension_scripts pdo-odbc
2074 %extension_scripts pdo-pgsql
2075 %extension_scripts pdo-sqlite
2076 %extension_scripts pgsql
2077 %extension_scripts posix
2078 %extension_scripts pspell
2079 %extension_scripts recode
2080 %extension_scripts shmop
2081 %extension_scripts snmp
2082 %extension_scripts soap
2083 %extension_scripts sockets
2084 %extension_scripts sqlite
2085 %extension_scripts sybase
2086 %extension_scripts sybase-ct
2087 %extension_scripts sysvmsg
2088 %extension_scripts sysvsem
2089 %extension_scripts sysvshm
2090 %extension_scripts tidy
2091 %extension_scripts tokenizer
2092 %extension_scripts wddx
2093 %extension_scripts xml
2094 %extension_scripts xmlreader
2095 %extension_scripts xmlrpc
2096 %extension_scripts xmlwriter
2097 %extension_scripts xsl
2098 %extension_scripts zip
2099 %extension_scripts zlib
2101 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2102 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{php_sysconfdir}/php.ini
2104 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2105 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bzip2\.so/d' %{php_sysconfdir}/php.ini
2107 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2108 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{php_sysconfdir}/php.ini
2110 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2111 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{php_sysconfdir}/php.ini
2113 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2114 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{php_sysconfdir}/php.ini
2116 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2117 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{php_sysconfdir}/php.ini
2119 %triggerun dbase -- %{name}-dbase < 4:5.0.4-9.1
2120 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbase\.so/d' %{php_sysconfdir}/php.ini
2122 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2123 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{php_sysconfdir}/php.ini
2125 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2126 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{php_sysconfdir}/php.ini
2128 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2129 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{php_sysconfdir}/php.ini
2131 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2132 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{php_sysconfdir}/php.ini
2134 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2135 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{php_sysconfdir}/php.ini
2137 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2138 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{php_sysconfdir}/php.ini
2140 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2141 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{php_sysconfdir}/php.ini
2143 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2144 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{php_sysconfdir}/php.ini
2146 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2147 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{php_sysconfdir}/php.ini
2149 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2150 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{php_sysconfdir}/php.ini
2152 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2153 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{php_sysconfdir}/php.ini
2155 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2156 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{php_sysconfdir}/php.ini
2158 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2159 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{php_sysconfdir}/php.ini
2161 %triggerun mhash -- %{name}-mhash < 4:5.0.4-9.1
2162 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mhash\.so/d' %{php_sysconfdir}/php.ini
2164 %triggerun mime_magic -- %{name}-mime_magic < 4:5.0.4-9.1
2165 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mime_magic\.so/d' %{php_sysconfdir}/php.ini
2167 %triggerun ming -- %{name}-ming < 4:5.0.4-9.1
2168 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ming\.so/d' %{php_sysconfdir}/php.ini
2170 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2171 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{php_sysconfdir}/php.ini
2173 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2174 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{php_sysconfdir}/php.ini
2176 %triggerun ncurses -- %{name}-ncurses < 4:5.1.2-9.5
2177 if [ -f %{php_sysconfdir}/php-cgi.ini ]; then
2178 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{php_sysconfdir}/php-cgi.ini
2180 if [ -f %{php_sysconfdir}/php-cli.ini ]; then
2181 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{php_sysconfdir}/php-cli.ini
2184 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2185 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{php_sysconfdir}/php.ini
2187 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2188 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{php_sysconfdir}/php.ini
2190 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2191 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{php_sysconfdir}/php.ini
2193 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2194 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{php_sysconfdir}/php.ini
2196 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2197 if [ -f %{php_sysconfdir}/php-cgi.ini ]; then
2198 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{php_sysconfdir}/php-cgi.ini
2200 if [ -f %{php_sysconfdir}/php-cli.ini ]; then
2201 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{php_sysconfdir}/php-cli.ini
2204 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2205 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{php_sysconfdir}/php.ini
2207 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2208 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{php_sysconfdir}/php.ini
2210 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2211 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{php_sysconfdir}/php.ini
2213 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2214 if [ -f %{php_sysconfdir}/php-cgi.ini ]; then
2215 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{php_sysconfdir}/php-cgi.ini
2217 if [ -f %{php_sysconfdir}/php-cli.ini ]; then
2218 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{php_sysconfdir}/php-cli.ini
2221 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2222 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{php_sysconfdir}/php.ini
2224 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2225 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{php_sysconfdir}/php.ini
2227 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2228 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{php_sysconfdir}/php.ini
2230 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2231 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{php_sysconfdir}/php.ini
2233 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2234 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{php_sysconfdir}/php.ini
2236 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2237 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{php_sysconfdir}/php.ini
2239 %triggerun sybase -- %{name}-sybase < 4:5.0.4-9.1
2240 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase\.so/d' %{php_sysconfdir}/php.ini
2242 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2243 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{php_sysconfdir}/php.ini
2245 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2246 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{php_sysconfdir}/php.ini
2248 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2249 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{php_sysconfdir}/php.ini
2251 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2252 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{php_sysconfdir}/php.ini
2254 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2255 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{php_sysconfdir}/php.ini
2257 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2258 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{php_sysconfdir}/php.ini
2260 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2261 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{php_sysconfdir}/php.ini
2263 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2264 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{php_sysconfdir}/php.ini
2266 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2267 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{php_sysconfdir}/php.ini
2269 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2270 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{php_sysconfdir}/php.ini
2273 %files -n apache1-mod_php
2274 %defattr(644,root,root,755)
2275 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2276 %dir %{_sysconfdir}/apache.d
2277 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2278 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2279 %{_datadir}/apache-icons/*
2283 %files -n apache-mod_php
2284 %defattr(644,root,root,755)
2285 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2286 %dir %{_sysconfdir}/apache2handler.d
2287 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2288 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2289 %{_datadir}/apache-icons/*
2294 %defattr(644,root,root,755)
2295 %doc sapi/cgi/README.FastCGI
2296 %dir %{_sysconfdir}/cgi-fcgi.d
2297 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2298 %attr(755,root,root) %{_bindir}/php.fcgi
2302 %defattr(644,root,root,755)
2303 %dir %{_sysconfdir}/cgi.d
2304 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2305 %attr(755,root,root) %{_bindir}/php.cgi
2308 %defattr(644,root,root,755)
2309 %dir %{_sysconfdir}/cli.d
2310 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2311 %attr(755,root,root) %{_bindir}/php.cli
2312 %{_mandir}/man1/php.1*
2313 %{_mandir}/man1/php.cli.1*
2316 %defattr(644,root,root,755)
2317 %attr(755,root,root) %{_bindir}/php
2320 %defattr(644,root,root,755)
2322 %doc CREDITS Zend/ZEND_CHANGES
2323 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2324 %doc README.PHP4-TO-PHP5-THIN-CHANGES README.UPDATE_5_2
2327 %dir %{_sysconfdir}/conf.d
2328 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2329 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2330 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2331 %dir %{php_extensiondir}
2333 %doc ext/session/mod_files.sh
2336 %defattr(644,root,root,755)
2337 %doc README.UNIX-BUILD-SYSTEM
2338 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2339 %doc CODING_STANDARDS README.EXTENSIONS README.PARAMETER_PARSING_API README.STREAMS
2340 %doc README.SUBMITTING_PATCH README.TESTING README.TESTING2
2341 %attr(755,root,root) %{_bindir}/phpize
2342 %attr(755,root,root) %{_bindir}/php-config
2343 %attr(755,root,root) %{_libdir}/libphp_common.so
2344 %{_libdir}/libphp_common.la
2346 %{_libdir}/php/build
2350 %defattr(644,root,root,755)
2351 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2352 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2355 %defattr(644,root,root,755)
2356 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2357 %attr(755,root,root) %{php_extensiondir}/bz2.so
2360 %defattr(644,root,root,755)
2361 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2362 %attr(755,root,root) %{php_extensiondir}/calendar.so
2365 %defattr(644,root,root,755)
2366 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2367 %attr(755,root,root) %{php_extensiondir}/ctype.so
2371 %defattr(644,root,root,755)
2372 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2373 %attr(755,root,root) %{php_extensiondir}/curl.so
2377 %defattr(644,root,root,755)
2378 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2379 %attr(755,root,root) %{php_extensiondir}/dba.so
2382 %defattr(644,root,root,755)
2383 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2384 %attr(755,root,root) %{php_extensiondir}/dbase.so
2387 %defattr(644,root,root,755)
2388 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2389 %attr(755,root,root) %{php_extensiondir}/dom.so
2393 %defattr(644,root,root,755)
2394 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2395 %attr(755,root,root) %{php_extensiondir}/fdf.so
2400 %defattr(644,root,root,755)
2401 %doc README.input_filter
2402 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2403 %attr(755,root,root) %{php_extensiondir}/filter.so
2407 %defattr(644,root,root,755)
2408 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2409 %attr(755,root,root) %{php_extensiondir}/exif.so
2412 %defattr(644,root,root,755)
2413 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2414 %attr(755,root,root) %{php_extensiondir}/ftp.so
2417 %defattr(644,root,root,755)
2418 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2419 %attr(755,root,root) %{php_extensiondir}/gd.so
2422 %defattr(644,root,root,755)
2423 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2424 %attr(755,root,root) %{php_extensiondir}/gettext.so
2427 %defattr(644,root,root,755)
2428 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2429 %attr(755,root,root) %{php_extensiondir}/gmp.so
2432 %defattr(644,root,root,755)
2433 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2434 %attr(755,root,root) %{php_extensiondir}/hash.so
2437 %defattr(644,root,root,755)
2438 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2439 %attr(755,root,root) %{php_extensiondir}/iconv.so
2443 %defattr(644,root,root,755)
2444 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2445 %attr(755,root,root) %{php_extensiondir}/imap.so
2448 %if %{with interbase}
2450 %defattr(644,root,root,755)
2451 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2452 %attr(755,root,root) %{php_extensiondir}/interbase.so
2456 %defattr(644,root,root,755)
2457 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
2458 %attr(755,root,root) %{php_extensiondir}/json.so
2462 %defattr(644,root,root,755)
2463 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2464 %attr(755,root,root) %{php_extensiondir}/ldap.so
2468 %defattr(644,root,root,755)
2469 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2470 %attr(755,root,root) %{php_extensiondir}/mbstring.so
2473 %defattr(644,root,root,755)
2474 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2475 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
2479 %defattr(644,root,root,755)
2480 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2481 %attr(755,root,root) %{php_extensiondir}/mhash.so
2484 %if %{with mime_magic}
2486 %defattr(644,root,root,755)
2487 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2488 %attr(755,root,root) %{php_extensiondir}/mime_magic.so
2493 %defattr(644,root,root,755)
2494 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2495 %attr(755,root,root) %{php_extensiondir}/ming.so
2500 %defattr(644,root,root,755)
2501 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2502 %attr(755,root,root) %{php_extensiondir}/mssql.so
2506 %defattr(644,root,root,755)
2507 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2508 %attr(755,root,root) %{php_extensiondir}/mysql.so
2512 %defattr(644,root,root,755)
2513 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2514 %attr(755,root,root) %{php_extensiondir}/mysqli.so
2518 %defattr(644,root,root,755)
2519 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/ncurses.ini
2520 %attr(755,root,root) %{php_extensiondir}/ncurses.so
2524 %defattr(644,root,root,755)
2525 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2526 %attr(755,root,root) %{php_extensiondir}/oci8.so
2531 %defattr(644,root,root,755)
2532 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2533 %attr(755,root,root) %{php_extensiondir}/odbc.so
2538 %defattr(644,root,root,755)
2539 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2540 %attr(755,root,root) %{php_extensiondir}/openssl.so
2544 %defattr(644,root,root,755)
2545 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2546 %attr(755,root,root) %{php_extensiondir}/pcntl.so
2549 %defattr(644,root,root,755)
2550 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2551 %attr(755,root,root) %{php_extensiondir}/pdo.so
2553 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
2555 %defattr(644,root,root,755)
2556 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2557 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
2560 %if %{with interbase} && !%{with interbase_inst}
2562 %defattr(644,root,root,755)
2563 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2564 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
2568 %defattr(644,root,root,755)
2569 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2570 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
2574 %defattr(644,root,root,755)
2575 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2576 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
2581 %defattr(644,root,root,755)
2582 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2583 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
2588 %defattr(644,root,root,755)
2589 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2590 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
2595 %defattr(644,root,root,755)
2596 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2597 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
2602 %defattr(644,root,root,755)
2603 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2604 %attr(755,root,root) %{php_extensiondir}/pgsql.so
2608 %defattr(644,root,root,755)
2609 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2610 %attr(755,root,root) %{php_extensiondir}/posix.so
2614 %defattr(644,root,root,755)
2615 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2616 %attr(755,root,root) %{php_extensiondir}/pspell.so
2620 %defattr(644,root,root,755)
2621 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2622 %attr(755,root,root) %{php_extensiondir}/readline.so
2626 %defattr(644,root,root,755)
2627 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2628 %attr(755,root,root) %{php_extensiondir}/recode.so
2632 # simplexml is needed by spl, and spl can't be built shared as of now (5.2.0)
2633 # simplexml can be built shared, but SPL startup fails
2634 # we could add R: -simplexml to -common...
2636 %defattr(644,root,root,755)
2637 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2638 %attr(755,root,root) %{php_extensiondir}/simplexml.so
2642 %defattr(644,root,root,755)
2643 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2644 %attr(755,root,root) %{php_extensiondir}/shmop.so
2648 %defattr(644,root,root,755)
2649 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2650 %attr(755,root,root) %{php_extensiondir}/snmp.so
2654 %defattr(644,root,root,755)
2655 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2656 %attr(755,root,root) %{php_extensiondir}/soap.so
2659 %defattr(644,root,root,755)
2660 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2661 %attr(755,root,root) %{php_extensiondir}/sockets.so
2665 %defattr(644,root,root,755)
2666 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2667 %attr(755,root,root) %{php_extensiondir}/sqlite.so
2672 %defattr(644,root,root,755)
2673 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
2674 %attr(755,root,root) %{php_extensiondir}/sybase.so
2677 %if %{with sybase_ct}
2679 %defattr(644,root,root,755)
2680 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2681 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
2685 %defattr(644,root,root,755)
2686 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2687 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
2690 %defattr(644,root,root,755)
2691 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2692 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
2695 %defattr(644,root,root,755)
2696 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2697 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
2701 %defattr(644,root,root,755)
2702 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2703 %attr(755,root,root) %{php_extensiondir}/tidy.so
2707 %defattr(644,root,root,755)
2708 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2709 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
2713 %defattr(644,root,root,755)
2714 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2715 %attr(755,root,root) %{php_extensiondir}/wddx.so
2719 %defattr(644,root,root,755)
2720 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
2721 %attr(755,root,root) %{php_extensiondir}/xml.so
2724 %defattr(644,root,root,755)
2725 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
2726 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
2730 %defattr(644,root,root,755)
2731 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
2732 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
2736 %defattr(644,root,root,755)
2737 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
2738 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
2741 %defattr(644,root,root,755)
2742 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
2743 %attr(755,root,root) %{php_extensiondir}/xsl.so
2746 %defattr(644,root,root,755)
2747 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
2748 %attr(755,root,root) %{php_extensiondir}/zip.so
2751 %defattr(644,root,root,755)
2752 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
2753 %attr(755,root,root) %{php_extensiondir}/zlib.so