]> git.pld-linux.org Git - packages/php4.git/blame - php4.spec
- correct path
[packages/php4.git] / php4.spec
CommitLineData
95decd1b 1#
d04affdd
JR
2# Do NOT build openssl as shared module or
3# fsockopen('tls://host',...) will not work!
4#
e5798a47
JB
5# TODO:
6# - make additional headers added by mail patch configurable
9f026752
ER
7# - too many unneccessary libs:
8# - php4-common-4.4.0-14 marks heimdal-libs-0.7.1-1 (cap heimdal-libs)
9# heimdal-libs-0.7.1-1 marks openldap-libs-2.2.29-1 (cap liblber-2.2.so.7()(64bit))
10# openldap-libs-2.2.29-1 marks cyrus-sasl-2.1.21-3 (cap cyrus-sasl)
11# php5-common doesn't have such deps
12# - php4-cli pulls: libltdl
cbf32ad2 13# - above is caused by openssl linked in statically as openssl links with kerberos
e5798a47 14#
b6f861c7
JB
15# Conditional build:
16%bcond_with db3 # use db3 packages instead of db (4.x) for Berkeley DB support
9ee9d278 17%bcond_with fdf # with FDF (PDF forms) module (BR: proprietary lib)
75ebc985 18%bcond_with hardening # build with hardening patch applied (http://www.hardened-php.net/)
b6f861c7
JB
19%bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
20%bcond_with java # with Java extension module (BR: jdk)
21%bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
22%bcond_with oracle # with oracle extension module (BR: proprietary libs)
23%bcond_without cpdf # without cpdf extension module
960d2ad2 24%bcond_without curl # without CURL extension module
b6f861c7 25%bcond_without domxslt # without DOM XSLT/EXSLT support in DOM XML extension module
9ee9d278 26%bcond_without fribidi # without FriBiDi extension module
b6f861c7 27%bcond_without imap # without IMAP extension module
4a61c8b0 28%bcond_without interbase # without InterBase extension module
b6f861c7
JB
29%bcond_without ldap # without LDAP extension module
30%bcond_without mhash # without mhash extension module
4a61c8b0 31%bcond_without ming # without ming extension module
b6f861c7
JB
32%bcond_without mm # without mm support for session storage
33%bcond_without mnogosearch # without mnogosearch extension module
34%bcond_without msession # without msession extension module
35%bcond_without mssql # without MS SQL extension module
36%bcond_without odbc # without ODBC extension module
37%bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
38%bcond_without pcre # without PCRE extension module
9ee9d278 39%bcond_without pdf # without PDF extension module
b6f861c7 40%bcond_without pgsql # without PostgreSQL extension module
11f81df6 41%bcond_without pspell # without pspell extension module
ff5548f5 42%bcond_without qtdom # without Qt DOM extension module
960d2ad2 43%bcond_without recode # without recode extension module
b6f861c7 44%bcond_without snmp # without SNMP extension module
9ee9d278 45%bcond_without sybase # without Sybase and Sybase-CT extension modules
b6f861c7 46%bcond_without wddx # without WDDX extension module
b6f861c7 47%bcond_without xml # without XML and DOMXML extension modules
960d2ad2 48%bcond_without xmlrpc # without XML-RPC extension module
b6f861c7 49%bcond_without xslt # without XSLT extension module
9ee9d278 50%bcond_without yaz # without YAZ extension module
74c09513
ER
51%bcond_without apache1 # disable building apache 1.3.x module
52%bcond_without apache2 # disable building apache 2.x module
7a419765 53%bcond_without fcgi # disable building FCGI SAPI
02f996b3 54%bcond_without zts # disable experimental-zts
b33eec5f 55%bcond_with versioning # build with experimental versioning (to load php4/php5 into same apache)
960d2ad2 56
74c09513
ER
57%define apxs1 /usr/sbin/apxs1
58%define apxs2 /usr/sbin/apxs
285c3089 59
74c09513
ER
60# mm is not thread safe
61# ext/session/mod_mm.c:37:3: #error mm is not thread-safe
be4aca3a 62%if %{with zts}
b6f861c7 63%undefine with_mm
b65cb5d0 64%endif
285c3089 65
a83f6e86 66%ifnarch %{ix86} %{x8664} sparc sparcv9 alpha
b6f861c7 67%undefine with_interbase
ffb7a641 68%endif
285c3089 69
9ee9d278 70# x86-only lib
ffb7a641 71%ifnarch %{ix86}
b6f861c7 72%undefine with_msession
7f2d8ce7 73%endif
285c3089 74
f8aa64c9 75%define _rel 1
c3df63c9 76Summary: PHP: Hypertext Preprocessor
d5d89d78
ER
77Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
78Summary(pl.UTF-8): Język skryptowy PHP
79Summary(pt_BR.UTF-8): A linguagem de script PHP
80Summary(ru.UTF-8): PHP Версии 4 - язык препроцессирования HTML-файлов, выполняемый на сервере
81Summary(uk.UTF-8): PHP Версії 4 - мова препроцесування HTML-файлів, виконувана на сервері
9ee9d278 82Name: php4
f8aa64c9 83Version: 4.4.7
520d65e9 84Release: %{_rel}%{?with_hardening:hardened}
824f19c2 85Epoch: 3
b71f868e 86License: PHP
71e6861e 87Group: Libraries
1be9c469 88Source0: http://www.php.net/distributions/php-%{version}.tar.bz2
f8aa64c9 89# Source0-md5: 3f21b44d37a57ca3876d3aea713c700d
ba7233b7 90Source2: zend.gif
fff2496f
ER
91Source3: %{name}-mod_php.conf
92Source4: %{name}-cgi-fcgi.ini
93Source5: %{name}-cgi.ini
94Source6: %{name}-apache.ini
95Source7: %{name}-cli.ini
96Source8: http://www.hardened-php.net/hardening-patch-4.4.0-0.4.3.patch.gz
97# Source8-md5: 6eac3c5c5a7473c68a043c7657298f48
8d728856 98Patch0: %{name}-shared.patch
99Patch1: %{name}-pldlogo.patch
100fb1c2 100Patch2: %{name}-xml-expat-fix.patch
8d728856 101Patch3: %{name}-mail.patch
100fb1c2 102Patch4: %{name}-link-libs.patch
04d75b94
JB
103Patch5: %{name}-libpq_fs_h_path.patch
104Patch6: %{name}-wddx-fix.patch
46e729ae 105Patch7: %{name}-lib.patch
9ee9d278 106Patch8: %{name}-hyperwave-fix.patch
107Patch9: %{name}-xslt-gcc33.patch
108Patch10: %{name}-java-norpath.patch
109Patch11: %{name}-mcal-shared-lib.patch
110Patch12: %{name}-msession-shared-lib.patch
111Patch13: %{name}-build_modules.patch
112Patch14: %{name}-sapi-ini-file.patch
113Patch15: %{name}-no-metaccld.patch
114Patch16: %{name}-session-unregister.patch
115Patch17: %{name}-ini.patch
116Patch18: %{name}-acam.patch
117Patch19: %{name}-xmlrpc-fix.patch
118Patch20: %{name}-libtool.patch
119Patch21: %{name}-allow-db31.patch
120Patch22: %{name}-threads-acfix.patch
9d5fcb35 121Patch23: %{name}-gmp.patch
9ee9d278 122Patch24: %{name}-qt.patch
123Patch25: %{name}-no_pear_install.patch
124Patch26: %{name}-zlib.patch
125Patch27: %{name}-db-shared.patch
126Patch28: %{name}-sybase-fix.patch
1be9c469
AG
127Patch29: %{name}-lib64.patch
128Patch30: %{name}-mnogosearch-fix.patch
a9b191aa 129Patch31: %{name}-stupidapache_version.patch
65d870bf 130Patch33: %{name}-uint32_t.patch
cd557e67 131Patch34: %{name}-install_gd_headers.patch
74c09513 132Patch35: %{name}-both-apxs.patch
c9eb06d2
ER
133Patch36: php-dextension.patch
134Patch37: %{name}-zlib-for-getimagesize.patch
08482442 135Patch38: %{name}-ini-search-path.patch
e84e1b0f
AG
136Patch39: %{name}-versioning.patch
137Patch40: %{name}-linkflags-clean.patch
138# XXX: obsolete?
139Patch41: %{name}-openssl-huge-hack.patch
f4c9ee6a 140Patch42: %{name}-apr-apu.patch
a81c3254 141#Patch43: %{name}-branch.diff
9e2f3206 142Patch45: %{name}-config-dir.patch
ae04df00 143Patch46: %{name}-phpinfo_no_configure.patch
4a61c8b0 144Patch47: %{name}-ming.patch
90f56ec5 145Patch48: %{name}-krb5.patch
0f48825e 146URL: http://www.php.net/
b6f861c7 147%{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
d743341c 148%{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
e6e515f1 149BuildRequires: autoconf >= 2.53
2fa1a084 150BuildRequires: automake >= 1.4d
1e16829c 151BuildRequires: bison
2fa1a084 152BuildRequires: bzip2-devel
9ee9d278 153BuildRequires: cracklib-devel >= 2.7-15
86abb565 154%{?with_curl:BuildRequires: curl-devel >= 7.12.0}
c81abd7c 155BuildRequires: cyrus-sasl-devel
b6f861c7 156%{!?with_db3:BuildRequires: db-devel >= 4.0}
a596e8c0 157%{?with_db3:BuildRequires: db3-devel >= 3.1}
9e104f8e 158BuildRequires: elfutils-devel
86abb565 159%if %{with wddx} || %{with xml} || %{with xmlrpc}
9da3c4c4 160BuildRequires: expat-devel
e6e515f1 161%endif
7a419765 162%{?with_fcgi:BuildRequires: fcgi-devel}
a596e8c0 163%{?with_fdf:BuildRequires: fdftk-devel}
2fa1a084 164BuildRequires: flex
b6f861c7 165%if %{with mssql} || %{with sybase}
ce79833d 166BuildRequires: freetds-devel
167%endif
6ac64f91 168BuildRequires: freetype-devel >= 2.0
9ee9d278 169%{?with_fribidi:BuildRequires: fribidi-devel >= 0.10.4}
c6f034c5 170BuildRequires: gdbm-devel
7f2d8ce7 171BuildRequires: gmp-devel
ff87571b 172%{?with_imap:BuildRequires: krb5-devel}
a596e8c0 173%{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
b6f861c7
JB
174%{?with_java:BuildRequires: jdk >= 1.1}
175%{?with_cpdf:BuildRequires: libcpdf-devel >= 2.02r1-2}
c6f034c5 176BuildRequires: libjpeg-devel
eaa03532 177BuildRequires: libltdl-devel >= 1.4
9ee9d278 178BuildRequires: libmcal-devel
2fa1a084 179BuildRequires: libmcrypt-devel >= 2.4.4
4413b7da 180BuildRequires: libpng-devel >= 1.0.8
1e16829c 181BuildRequires: libtiff-devel
8f527be0 182BuildRequires: libtool >= 1.4.3
9ee9d278 183%{?with_xml:BuildRequires: libxml2-devel >= 2.2.7}
b6f861c7
JB
184%{?with_domxslt:BuildRequires: libxslt-devel >= 1.0.3}
185%{?with_mhash:BuildRequires: mhash-devel}
186%{?with_ming:BuildRequires: ming-devel >= 0.1.0}
187%{?with_mm:BuildRequires: mm-devel >= 1.3.0}
a15f3881 188%{?with_mnogosearch:BuildRequires: mnogosearch-devel >= 3.2.29}
9ee9d278 189BuildRequires: mysql-devel >= 3.23.32
86abb565 190BuildRequires: ncurses-ext-devel
19fc0072 191%{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
b6f861c7 192%if %{with openssl} || %{with ldap}
0e9234b4 193BuildRequires: openssl-devel >= 0.9.7d
7f2d8ce7 194%endif
a596e8c0 195%{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
c6f034c5 196BuildRequires: pam-devel
5f49b117 197BuildRequires: pcre-devel
9ee9d278 198%{?with_pdf:BuildRequires: pdflib-devel >= 4.0.0}
b6f861c7 199%{?with_msession:BuildRequires: phoenix-devel}
b6f861c7 200%{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
a596e8c0 201%{?with_pgsql:BuildRequires: postgresql-devel}
9ee9d278 202%{?with_qtdom:BuildRequires: qt-devel >= 2.2.0}
5c7004b5 203BuildRequires: readline-devel
b6f861c7 204%{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
be30796b 205BuildRequires: rpm-build >= 4.4.0
7d9bee8f 206BuildRequires: rpmbuild(macros) >= 1.236
b6f861c7 207%{?with_xslt:BuildRequires: sablotron-devel >= 0.96}
74c09513 208BuildRequires: sed >= 4.0
c6f034c5 209BuildRequires: t1lib-devel
b6f861c7
JB
210%{?with_odbc:BuildRequires: unixODBC-devel}
211%{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
212%{?with_yaz:BuildRequires: yaz-devel >= 1.9}
9ee9d278 213BuildRequires: zip
c6f034c5 214BuildRequires: zlib-devel >= 1.0.9
9ee9d278 215BuildRequires: zziplib-devel
74c09513
ER
216%if %{with apache1}
217BuildRequires: apache1-devel >= 1.3.33-2
218%endif
219%if %{with apache2}
86abb565 220BuildRequires: apache-devel >= 2.0.52-2
53d10ea0
AM
221BuildRequires: apr-devel >= 1:1.0.0
222BuildRequires: apr-util-devel >= 1:1.0.0
cc1903df 223%endif
421943ed 224BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
e89e2b0f 225
72f7b3f7
AM
226%define _sysconfdir /etc/php4
227%define extensionsdir %{_libdir}/php4
e1dea8c6 228
7d9bee8f
ER
229# must be in sync with source. extra check ensuring that it is so is done in %%build
230%define php_api_version 20020918
231%define zend_module_api 20020429
232%define zend_extension_api 20050606
fe435e53
ER
233%define zend_zts %{!?with_zts:0}%{?with_zts:1}
234%define php_debug %{!?debug:0}%{?debug:1}
d376263b 235
e89e2b0f 236%description
0c080823 237PHP is an HTML-embedded scripting language. PHP attempts to make it
238easy for developers to write dynamically generated web pages. PHP also
239offers built-in database integration for several commercial and
240non-commercial database management systems, so writing a
241database-enabled web page with PHP is fairly simple. The most common
242use of PHP coding is probably as a replacement for CGI scripts. The
243mod_php module enables the Apache web server to understand and process
7e581113 244the embedded PHP language in web pages. This package contains php
4333ad03 245version %{version}.
e1dea8c6 246
7209a264 247%description -l fr.UTF-8
0c080823 248PHP est un langage de script embarque dans le HTM. PHP essaye de
249rendre simple aux developpeurs d'ecrire des pages web generees
250dynamiquement. PHP incorpore egalement une integration avec plusieurs
251systemes de gestion de bases de donnees commerciaux et
252non-connerciaux, qui rent facile la creation de pages web liees avec
253des bases de donnees. L'utilisation la plus commune de PHP est
254probablement en remplacement de scripts CGI. Le module mod_php permet
255au serveur web apache de comprendre et de traiter le langage PHP
7e581113 256integre dans des pages web. Ce package contient php version
4333ad03 257%{version}.
21a39eff 258
7209a264
JR
259%description -l pl.UTF-8
260PHP jest językiem skryptowym, którego polecenia umieszcza się w
261plikach HTML. Pakiet ten zawiera moduł przeznaczony dla serwera HTTP
262(jak np. Apache), który interpretuje te polecenia. Umożliwia to
263tworzenie dynamicznie stron WWW. Spora część składni PHP zapożyczona
264została z języków: C, Java i Perl.
265
266%description -l pt_BR.UTF-8
267PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
268embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
269com algumas características únicas, específicas ao PHP. O objetivo da
270linguagem é permitir que desenvolvedores web escrevam páginas
271dinamicamente geradas de forma rápida.
272
273%description -l ru.UTF-8
274PHP4 - это язык написания скриптов, встраиваемых в HTML-код. PHP
275предлагает интерграцию с множеством СУБД, поэтому написание скриптов
276для работы с базами данных относительно просто. Наиболее популярное
277использование PHP - замена для CGI скриптов.
278
279Этот пакет содержит самодостаточную (CGI) версию интерпретатора языка.
280Вы должны также установить пакет %{name}-common. Если вам нужен
281интерпретатор PHP в качестве модуля apache, установите пакет
2e7fb277 282apache-php.
283
7209a264
JR
284%description -l uk.UTF-8
285PHP4 - це мова написання скриптів, що вбудовуються в HTML-код. PHP
286пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
287роботи з базами даних є доволі простим. Найбільш популярне
288використання PHP - заміна для CGI скриптів.
2e7fb277 289
7209a264
JR
290Цей пакет містить самодостатню (CGI) версію інтерпретатора мови. Ви
291маєте також встановити пакет %{name}-common. Якщо вам потрібен
292інтерпретатор PHP в якості модуля apache, встановіть пакет apache-php.
2e7fb277 293
74c09513
ER
294%package -n apache1-mod_php4
295Summary: php4 DSO module for apache 1.3.x
d5d89d78 296Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php4 dla apache 1.3.x
74c09513 297Group: Development/Languages/PHP
520d65e9 298Requires: %{name}-common = %{epoch}:%{version}-%{release}
74c09513
ER
299Requires: apache1(EAPI) >= 1.3.33-2
300Requires: apache1-mod_mime
b2435197 301Provides: webserver(php) = %{version}
74c09513 302Obsoletes: apache-mod_php < 1:4.1.1
71e6861e 303Obsoletes: phpfi
74c09513
ER
304# Obsolete last version when apache module was in main package
305Obsoletes: php4 < 3:4.3.11-4.16
306
307%description -n apache1-mod_php4
308php4 as DSO module for apache 1.3.x.
309
7209a264
JR
310%description -n apache1-mod_php4 -l pl.UTF-8
311php4 jako moduł DSO (Dynamic Shared Object) dla apache 1.3.x.
3c1b0769 312
74c09513
ER
313%package -n apache-mod_php4
314Summary: php4 DSO module for apache 2.x
d5d89d78 315Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php4 dla apache 2.x
74c09513 316Group: Development/Languages/PHP
520d65e9 317Requires: %{name}-common = %{epoch}:%{version}-%{release}
71e6861e 318Requires: apache(modules-api) = %{apache_modules_api}
6892ef96 319Requires: apache-mod_mime
b2435197 320Provides: webserver(php) = %{version}
74c09513 321Obsoletes: apache-mod_php < 1:4.1.1
71e6861e 322Obsoletes: phpfi
74c09513
ER
323# Obsolete last version when apache module was in main package
324Obsoletes: php4 < 3:4.3.11-4.16
325
326%description -n apache-mod_php4
327php4 as DSO module for apache 2.x.
328
7209a264
JR
329%description -n apache-mod_php4 -l pl.UTF-8
330php4 jako moduł DSO (Dynamic Shared Object) dla apache 2.x.
3c1b0769 331
7cd0f72f 332%package fcgi
7e581113 333Summary: php4 as FastCGI program
d5d89d78 334Summary(pl.UTF-8): php4 jako program FastCGI
7cd0f72f 335Group: Development/Languages/PHP
520d65e9 336Requires: %{name}-common = %{epoch}:%{version}-%{release}
71e6861e 337Provides: php-fcgi = %{epoch}:%{version}-%{release}
b2435197 338Provides: webserver(php) = %{version}
7cd0f72f
AM
339
340%description fcgi
7e581113 341php4 as FastCGI program.
7cd0f72f 342
7209a264 343%description fcgi -l pl.UTF-8
7e581113 344php4 jako program FastCGI.
7cd0f72f 345
28f4aa77 346%package cgi
7e581113 347Summary: php4 as CGI program
d5d89d78 348Summary(pl.UTF-8): php4 jako program CGI
422bc385 349Group: Development/Languages/PHP
520d65e9 350Requires: %{name}-common = %{epoch}:%{version}-%{release}
5af13405 351Provides: php-cgi = %{epoch}:%{version}-%{release}
28f4aa77
JR
352
353%description cgi
7e581113 354php4 as CGI program.
28f4aa77 355
7209a264 356%description cgi -l pl.UTF-8
7e581113 357php4 jako program CGI.
28f4aa77 358
422bc385 359%package cli
7e581113 360Summary: php4 as CLI interpreter
d5d89d78 361Summary(pl.UTF-8): php4 jako interpreter działający z linii poleceń
422bc385 362Group: Development/Languages/PHP
520d65e9 363Requires: %{name}-common = %{epoch}:%{version}-%{release}
5af13405 364Provides: php-cli = %{epoch}:%{version}-%{release}
422bc385
JB
365
366%description cli
7e581113 367php4 as CLI interpreter.
422bc385 368
7209a264
JR
369%description cli -l pl.UTF-8
370php4 jako interpreter działający z linii poleceń.
422bc385 371
efe21d81
ER
372%package program
373Summary: /usr/bin/php symlink
d5d89d78 374Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
efe21d81
ER
375Group: Development/Languages/PHP
376Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1a8d74bb 377Obsoletes: /usr/bin/php
efe21d81
ER
378
379%description program
380Package providing /usr/bin/php symlink to PHP CLI.
381
7209a264
JR
382%description program -l pl.UTF-8
383Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
4d0148d4 384
28f4aa77 385%package common
3500b710 386Summary: Common files needed by all PHP SAPIs
d5d89d78
ER
387Summary(pl.UTF-8): Wspólne pliki dla modułu apache'a i programu CGI
388Summary(ru.UTF-8): Разделяемые библиотеки для php
389Summary(uk.UTF-8): Бібліотеки спільного використання для php
28f4aa77 390Group: Libraries
50877b73 391# because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
fff2496f 392Requires(triggerun): sed >= 4.0
50877b73 393Requires: glibc >= 6:2.3.5
d7f95618 394Requires: php-dirs
71e6861e 395Provides: php(modules_api) = %{php_api_version}
b2435197
ER
396Provides: php(openssl)
397Provides: php(session)
398Provides: php(standard)
71e6861e
ER
399Provides: php(zend_extension_api) = %{zend_extension_api}
400Provides: php(zend_module_api) = %{zend_module_api}
4d87230f 401Provides: php-common = %{epoch}:%{version}-%{release}
02f996b3
ER
402Provides: php4(debug) = %{php_debug}
403Provides: php4(thread-safety) = %{zend_zts}
7687e2b4 404Obsoletes: php-session < 3:4.2.1-2
4056f05c 405Obsoletes: php4-openssl < 3:4.4.0-4
be30796b 406# for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
d8343547 407Conflicts: rpm < 4.4.2-0.2
28f4aa77
JR
408
409%description common
3500b710 410Common files needed by all PHP SAPIs.
28f4aa77 411
7209a264
JR
412%description common -l pl.UTF-8
413Wspólne pliki dla modułu apacha i programu CGI.
28f4aa77 414
7209a264
JR
415%description common -l ru.UTF-8
416Этот пакет содержит общие файлы для разных вариантов реализации PHP
417(самодостаточной и в качестве модуля apache).
2e7fb277 418
7209a264
JR
419%description common -l uk.UTF-8
420Цей пакет містить спільні файли для різних варіантів реалізації PHP
421(самодостатньої та в якості модуля apache).
2e7fb277 422
7f2d8ce7 423%package devel
424Summary: Files for PHP modules development
d5d89d78
ER
425Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
426Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
427Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
428Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
7f2d8ce7 429Group: Development/Languages/PHP
421943ed 430Requires: %{name}-common = %{epoch}:%{version}-%{release}
3bbb37d4
AG
431Requires: autoconf
432Requires: automake
ce99834c 433Obsoletes: php-devel
5c729909 434
7f2d8ce7 435%description devel
2e7fb277 436The php-devel package lets you compile dynamic extensions to PHP.
b5eb7316 437Included here is the source for the PHP extensions. Instead of
7e581113 438recompiling the whole php4 binary to add support for, say, oracle,
2e7fb277 439install this package and use the new self-contained extensions
440support. For more information, read the file
441SELF-CONTAINED-EXTENSIONS.
5c729909 442
7209a264
JR
443%description devel -l pl.UTF-8
444Pliki potrzebne do kompilacji modułów PHP.
c6f034c5 445
7209a264
JR
446%description devel -l pt_BR.UTF-8
447Este pacote contém arquivos usados no desenvolvimento de programas ou
448módulos PHP.
21a39eff 449
7209a264
JR
450%description devel -l uk.UTF-8
451Пакет php-devel дає можливість компілювати динамічні розширення PHP.
452До пакету включено вихідний код для розширень. Замість повторної
453компіляції бінарного файлу php4 для додання, наприклад, підтримки
454oracle, встановіть цей пакет для компіляції окремих розширень.
455Детальніша інформація - в файлі SELF-CONTAINED-EXTENSIONS.
2e7fb277 456
7209a264
JR
457%description devel -l ru.UTF-8
458Пакет php-devel дает возможность компилировать динамические расширения
459PHP. Пакет включает исходный код этих расширений. Вместо повторной
460компиляции бинарного файла php4 для добавления, например, поддержки
461oracle, установите этот пакет для компилирования отдельных расширений.
462Подробности - в файле SELF-CONTAINED-EXTENSIONS.
2e7fb277 463
7f2d8ce7 464%package bcmath
465Summary: bcmath extension module for PHP
d5d89d78 466Summary(pl.UTF-8): Moduł bcmath dla PHP
816d4a09 467Group: Libraries
07a453e9 468Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 469Provides: php(bcmath)
816d4a09 470
7f2d8ce7 471%description bcmath
5c7004b5
JB
472This is a dynamic shared object (DSO) for PHP that will add bc style
473precision math functions support.
816d4a09 474
7209a264
JR
475%description bcmath -l pl.UTF-8
476Moduł PHP umożliwiający korzystanie z dokładnych funkcji
7f2d8ce7 477matematycznych takich jak w programie bc.
816d4a09 478
7f2d8ce7 479%package bzip2
480Summary: Bzip2 extension module for PHP
d5d89d78 481Summary(pl.UTF-8): Moduł bzip2 dla PHP
816d4a09 482Group: Libraries
07a453e9 483Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 484Provides: php(bzip2)
816d4a09 485
7f2d8ce7 486%description bzip2
421943ed
JB
487This is a dynamic shared object (DSO) for PHP that will add bzip2
488compression support to PHP.
816d4a09 489
7209a264
JR
490%description bzip2 -l pl.UTF-8
491Moduł PHP umożliwiający używanie kompresji bzip2.
816d4a09 492
7f2d8ce7 493%package calendar
494Summary: Calendar extension module for PHP
d5d89d78 495Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
50542e66 496Group: Libraries
07a453e9 497Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 498Provides: php(calendar)
50542e66 499
7f2d8ce7 500%description calendar
5c7004b5
JB
501This is a dynamic shared object (DSO) for PHP that will add calendar
502support.
50542e66 503
7209a264
JR
504%description calendar -l pl.UTF-8
505Moduł PHP dodający wsparcie dla kalendarza.
50542e66 506
7f2d8ce7 507%package cpdf
508Summary: cpdf extension module for PHP
d5d89d78 509Summary(pl.UTF-8): Moduł cpdf dla PHP
4aa30c82 510Group: Libraries
07a453e9 511Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 512Provides: php(cpdf)
4aa30c82 513
7f2d8ce7 514%description cpdf
5c7004b5
JB
515This is a dynamic shared object (DSO) for PHP that will add PDF
516support through libcpdf library.
4aa30c82 517
7209a264
JR
518%description cpdf -l pl.UTF-8
519Moduł PHP dodający obsługę plików PDF poprzez bibliotekę libcpdf.
eda71c76 520
9ee9d278 521%package crack
522Summary: crack extension module for PHP
d5d89d78 523Summary(pl.UTF-8): Moduł crack dla PHP
9ee9d278 524Group: Libraries
07a453e9 525Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 526Provides: php(crack)
9ee9d278 527
528%description crack
529This is a dynamic shared object (DSO) for PHP that will add cracklib
530support to PHP.
531
532Warning: this is an experimental module.
533
7209a264
JR
534%description crack -l pl.UTF-8
535Moduł PHP umożliwiający korzystanie z biblioteki cracklib.
9ee9d278 536
7209a264 537Uwaga: to jest moduł eksperymentalny.
9ee9d278 538
7f2d8ce7 539%package ctype
540Summary: ctype extension module for PHP
d5d89d78 541Summary(pl.UTF-8): Moduł ctype dla PHP
c6f034c5 542Group: Libraries
07a453e9 543Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 544Provides: php(ctype)
c6f034c5 545
7f2d8ce7 546%description ctype
5c7004b5
JB
547This is a dynamic shared object (DSO) for PHP that will add ctype
548support.
c6f034c5 549
7209a264
JR
550%description ctype -l pl.UTF-8
551Moduł PHP umożliwiający korzystanie z funkcji ctype.
c6f034c5 552
7f2d8ce7 553%package curl
554Summary: curl extension module for PHP
d5d89d78 555Summary(pl.UTF-8): Moduł curl dla PHP
59bcb091 556Group: Libraries
07a453e9 557Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 558Provides: php(curl)
59bcb091 559
7f2d8ce7 560%description curl
5c7004b5
JB
561This is a dynamic shared object (DSO) for PHP that will add curl
562support.
59bcb091 563
7209a264
JR
564%description curl -l pl.UTF-8
565Moduł PHP umożliwiający korzystanie z biblioteki curl.
21a39eff 566
9ee9d278 567%package db
568Summary: Old xDBM extension module for PHP
d5d89d78 569Summary(pl.UTF-8): Moduł xDBM dla PHP
9ee9d278 570Group: Libraries
07a453e9 571Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 572Provides: php(db)
9ee9d278 573
574%description db
575This is an old dynamic shared object (DSO) for PHP that will add DBM
576databases support.
577
578Warning: this module is deprecated and does not support database
579locking correctly. Please use DBA extension which is a fully
580operational superset.
581
7209a264
JR
582%description db -l pl.UTF-8
583Stary moduł PHP dodający obsługę baz danych DBM.
9ee9d278 584
7209a264
JR
585Uwaga: ten moduł jest przestarzały i nie obsługuje poprawnie
586blokowania bazy danych. Zamiast niego lepiej używać rozszerzenia DBA,
587które obsługuje nadzbiór funkcjonalności tego modułu.
9ee9d278 588
7f2d8ce7 589%package dba
590Summary: DBA extension module for PHP
d5d89d78 591Summary(pl.UTF-8): Moduł DBA dla PHP
c6f034c5 592Group: Libraries
07a453e9 593Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 594Provides: php(dba)
c6f034c5 595
7f2d8ce7 596%description dba
5c7004b5
JB
597This is a dynamic shared object (DSO) for PHP that will add flat-file
598databases (DBA) support.
c6f034c5 599
7209a264
JR
600%description dba -l pl.UTF-8
601Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
5c7004b5 602(DBA).
c6f034c5
AF
603
604%package dbase
5b453425 605Summary: DBase extension module for PHP
d5d89d78 606Summary(pl.UTF-8): Moduł DBase dla PHP
c6f034c5 607Group: Libraries
07a453e9 608Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 609Provides: php(dbase)
c6f034c5
AF
610
611%description dbase
5c7004b5
JB
612This is a dynamic shared object (DSO) for PHP that will add DBase
613support.
c6f034c5 614
7209a264
JR
615%description dbase -l pl.UTF-8
616Moduł PHP ze wsparciem dla DBase.
c6f034c5 617
7f2d8ce7 618%package dbx
619Summary: DBX extension module for PHP
d5d89d78 620Summary(pl.UTF-8): Moduł DBX dla PHP
c6f034c5 621Group: Libraries
07a453e9 622Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 623Provides: php(dbx)
c6f034c5 624
7f2d8ce7 625%description dbx
5c7004b5
JB
626This is a dynamic shared object (DSO) for PHP that will add DB
627abstraction layer. DBX supports odbc, mysql, pgsql, mssql, fbsql and
628more.
c6f034c5 629
7209a264
JR
630%description dbx -l pl.UTF-8
631Moduł PHP dodający warstwę abstrakcji do obsługi baz danych. DBX
632obsługuje bazy odbc, mysql, pgsql, mssql, fbsql i inne.
c6f034c5 633
7f2d8ce7 634%package dio
635Summary: Direct I/O extension module for PHP
d5d89d78 636Summary(pl.UTF-8): Moduł Direct I/O dla PHP
c6f034c5 637Group: Libraries
07a453e9 638Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 639Provides: php(dio)
c6f034c5 640
7f2d8ce7 641%description dio
5c7004b5
JB
642This is a dynamic shared object (DSO) for PHP that will add direct
643file I/O support.
c6f034c5 644
7209a264
JR
645%description dio -l pl.UTF-8
646Moduł PHP dodający obsługę bezpośrednich operacji I/O na plikach.
7f2d8ce7 647
9ee9d278 648%package domxml
649Summary: DOM XML extension module for PHP
d5d89d78 650Summary(pl.UTF-8): Moduł DOM XML dla PHP
9ee9d278 651Group: Libraries
07a453e9 652Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 653Provides: php(domxml)
9ee9d278 654
655%description domxml
656This is a dynamic shared object (DSO) for PHP that will add DOM XML
657support.
658
659Warning: this is an experimental module.
660
7209a264
JR
661%description domxml -l pl.UTF-8
662Moduł PHP dodający obsługę DOM XML.
9ee9d278 663
7209a264 664Uwaga: to jest moduł eksperymentalny.
9ee9d278 665
7f2d8ce7 666%package exif
667Summary: exif extension module for PHP
d5d89d78 668Summary(pl.UTF-8): Moduł exif dla PHP
c6f034c5 669Group: Libraries
07a453e9 670Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 671Provides: php(exif)
c6f034c5 672
7f2d8ce7 673%description exif
421943ed
JB
674This is a dynamic shared object (DSO) for PHP that will add EXIF tags
675support in image files.
c6f034c5 676
7209a264
JR
677%description exif -l pl.UTF-8
678Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
5c7004b5
JB
679
680%package fdf
681Summary: FDF extension module for PHP
d5d89d78 682Summary(pl.UTF-8): Moduł FDF dla PHP
5c7004b5 683Group: Libraries
07a453e9 684Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 685Provides: php(fdf)
5c7004b5
JB
686
687%description fdf
688This PHP module adds support for PDF Forms through Adobe FDFTK
689library.
690
7209a264
JR
691%description fdf -l pl.UTF-8
692Moduł PHP dodający obsługę formularzy PDF poprzez bibliotekę Adobe
5c7004b5 693FDFTK.
c6f034c5 694
7f2d8ce7 695%package filepro
696Summary: filePro extension module for PHP
d5d89d78 697Summary(pl.UTF-8): Moduł filePro dla PHP
c6f034c5 698Group: Libraries
07a453e9 699Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 700Provides: php(filepro)
c6f034c5 701
7f2d8ce7 702%description filepro
5c7004b5
JB
703This is a dynamic shared object (DSO) for PHP that will add support
704for read-only access to filePro databases.
c6f034c5 705
7209a264
JR
706%description filepro -l pl.UTF-8
707Moduł PHP dodający możliwość dostępu (tylko do odczytu) do baz danych
5c7004b5
JB
708filePro.
709
9ee9d278 710%package fribidi
711Summary: FriBiDi extension module for PHP
d5d89d78 712Summary(pl.UTF-8): Modułe FriBiDi dla PHP
9ee9d278 713Group: Libraries
07a453e9 714Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 715Provides: php(fribidi)
9ee9d278 716
717%description fribidi
718This extension is basically a wrapper for the FriBidi implementation
719of the Unicode Bidi algorithm. The need for such an algorithm rises
720from the bidirectional language usage done by applications.
721Arabic/Hebrew embedded within English is such a case.
722
7209a264
JR
723%description fribidi -l pl.UTF-8
724To rozszerzenie to głównie interfejs do implementacji FriBiDi
9ee9d278 725algorytmu Unicode Bidi. Taki algorytm jest potrzebny w przypadku
7209a264
JR
726używania dwukierunkowego pisma w aplikacjach - na przykład przy
727tekście arabskim lub hebrajskim osadzonym wewnątrz angielskiego.
9ee9d278 728
c6f034c5 729%package ftp
5b453425 730Summary: FTP extension module for PHP
d5d89d78 731Summary(pl.UTF-8): Moduł FTP dla PHP
c6f034c5 732Group: Libraries
07a453e9 733Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 734Provides: php(ftp)
c6f034c5
AF
735
736%description ftp
5c7004b5
JB
737This is a dynamic shared object (DSO) for PHP that will add FTP
738support.
c6f034c5 739
7209a264
JR
740%description ftp -l pl.UTF-8
741Moduł PHP dodający obsługę protokołu FTP.
c6f034c5 742
7f2d8ce7 743%package gd
744Summary: GD extension module for PHP
d5d89d78 745Summary(pl.UTF-8): Moduł GD dla PHP
25595e5c 746Group: Libraries
421943ed 747Requires: %{name}-common = %{epoch}:%{version}-%{release}
a596e8c0 748Requires: gd >= 2.0.28-2
71e6861e 749Requires: gd(gif)
b2435197 750Provides: php(gd)
25595e5c 751
7f2d8ce7 752%description gd
5c7004b5
JB
753This is a dynamic shared object (DSO) for PHP that will add GD
754support, allowing you to create and manipulate images with PHP.
25595e5c 755
7209a264
JR
756%description gd -l pl.UTF-8
757Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
758tworzenie i obróbkę obrazków.
25595e5c 759
7f2d8ce7 760%package gettext
761Summary: gettext extension module for PHP
d5d89d78 762Summary(pl.UTF-8): Moduł gettext dla PHP
25595e5c 763Group: Libraries
07a453e9 764Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 765Provides: php(gettext)
25595e5c 766
7f2d8ce7 767%description gettext
5c7004b5
JB
768This is a dynamic shared object (DSO) for PHP that will add gettext
769support.
25595e5c 770
7209a264
JR
771%description gettext -l pl.UTF-8
772Moduł PHP dodający obsługę lokalizacji przez gettext.
25595e5c 773
7f2d8ce7 774%package gmp
775Summary: gmp extension module for PHP
d5d89d78 776Summary(pl.UTF-8): Moduł gmp dla PHP
19f7eb09 777Group: Libraries
07a453e9 778Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 779Provides: php(gmp)
19f7eb09 780
7f2d8ce7 781%description gmp
5c7004b5
JB
782This is a dynamic shared object (DSO) for PHP that will add arbitrary
783length number support with GNU MP library.
19f7eb09 784
7209a264
JR
785%description gmp -l pl.UTF-8
786Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
787liczbach o dowolnej długości.
25595e5c 788
7f2d8ce7 789%package hyperwave
790Summary: Hyperwave extension module for PHP
d5d89d78 791Summary(pl.UTF-8): Moduł Hyperwave dla PHP
25595e5c 792Group: Libraries
07a453e9 793Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 794Provides: php(hyperwave)
25595e5c 795
7f2d8ce7 796%description hyperwave
5c7004b5
JB
797This is a dynamic shared object (DSO) for PHP that will add Hyperwave
798support.
25595e5c 799
7209a264
JR
800%description hyperwave -l pl.UTF-8
801Moduł PHP dodający obsługę Hyperwave.
25595e5c 802
7f2d8ce7 803%package iconv
804Summary: iconv extension module for PHP
d5d89d78 805Summary(pl.UTF-8): Moduł iconv dla PHP
25595e5c 806Group: Libraries
07a453e9 807Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 808Provides: php(iconv)
25595e5c 809
7f2d8ce7 810%description iconv
5c7004b5
JB
811This is a dynamic shared object (DSO) for PHP that will add iconv
812support.
25595e5c 813
7209a264
JR
814%description iconv -l pl.UTF-8
815Moduł PHP dodający obsługę iconv.
c6f034c5 816
ba18f505 817%package imap
2fa1a084 818Summary: IMAP extension module for PHP
d5d89d78
ER
819Summary(pl.UTF-8): Moduł IMAP dla PHP
820Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
ba18f505 821Group: Libraries
07a453e9 822Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 823Provides: php(imap)
ba18f505
AF
824
825%description imap
5c7004b5
JB
826This is a dynamic shared object (DSO) for PHP that will add IMAP
827support.
ba18f505 828
7209a264
JR
829%description imap -l pl.UTF-8
830Moduł PHP dodający obsługę skrzynek IMAP.
ba18f505 831
7209a264
JR
832%description imap -l pt_BR.UTF-8
833Um módulo para aplicações PHP que usam IMAP.
21a39eff 834
7f2d8ce7 835%package interbase
083c6282 836Summary: InterBase/Firebird database module for PHP
d5d89d78 837Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
7f2d8ce7 838Group: Libraries
07a453e9 839Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 840Provides: php(interbase)
b6f861c7 841%{?with_interbase_inst:Autoreq: false}
7f2d8ce7 842
843%description interbase
5c7004b5
JB
844This is a dynamic shared object (DSO) for PHP that will add InterBase
845and Firebird database support.
7f2d8ce7 846
7209a264
JR
847%description interbase -l pl.UTF-8
848Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
7f2d8ce7 849
850%package java
851Summary: Java extension module for PHP
d5d89d78 852Summary(pl.UTF-8): Moduł Javy dla PHP
7f2d8ce7 853Group: Libraries
07a453e9 854Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 855Provides: php(java)
7f2d8ce7 856
857%description java
5c7004b5 858This is a dynamic shared object (DSO) for PHP that will add Java
7f2d8ce7 859support to PHP. This extension provides a simple and effective means
860for creating and invoking methods on Java objects from PHP.
861
93af1413
JB
862Note: it requires setting LD_LIBRARY_PATH to JRE directories
863containing JVM libraries (e.g. libjava.so, libverify.so and libjvm.so
864for Sun's JRE) before starting Apache or PHP interpreter.
865
7209a264
JR
866%description java -l pl.UTF-8
867Moduł PHP dodający wsparcie dla Javy. Umożliwia odwoływanie się do
868obiektów Javy z poziomu PHP.
7f2d8ce7 869
7209a264
JR
870Uwaga: moduł wymaga ustawienia LD_LIBRARY_PATH na katalogi JRE
871zawierające biblioteki JVM (np. libjava.so, libverify.so i libjvm.so
93af1413
JB
872dla JRE Suna) przed uruchomieniem Apache'a lub interpretera PHP.
873
6080c81d 874%package ldap
5b453425 875Summary: LDAP extension module for PHP
d5d89d78
ER
876Summary(pl.UTF-8): Moduł LDAP dla PHP
877Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
6080c81d 878Group: Libraries
07a453e9 879Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 880Provides: php(ldap)
6080c81d
AF
881
882%description ldap
5c7004b5
JB
883This is a dynamic shared object (DSO) for PHP that will add LDAP
884support.
6080c81d 885
7209a264
JR
886%description ldap -l pl.UTF-8
887Moduł PHP dodający obsługę LDAP.
6080c81d 888
7209a264
JR
889%description ldap -l pt_BR.UTF-8
890Um módulo para aplicações PHP que usam LDAP.
7028934d 891
7f2d8ce7 892%package mbstring
893Summary: mbstring extension module for PHP
d5d89d78 894Summary(pl.UTF-8): Moduł mbstring dla PHP
7f2d8ce7 895Group: Libraries
07a453e9 896Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 897Provides: php(mbstring)
21a39eff 898
7f2d8ce7 899%description mbstring
421943ed
JB
900This is a dynamic shared object (DSO) for PHP that will add multibyte
901string support.
7f2d8ce7 902
7209a264
JR
903%description mbstring -l pl.UTF-8
904Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
7f2d8ce7 905
9ee9d278 906%package mcal
907Summary: mcal extension module for PHP
d5d89d78 908Summary(pl.UTF-8): Moduł mcal dla PHP
9ee9d278 909Group: Libraries
07a453e9 910Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 911Provides: php(mcal)
9ee9d278 912
913%description mcal
914This is a dynamic shared object (DSO) for PHP that will add mcal
915(Modular Calendar Access Library) support.
916
7209a264
JR
917%description mcal -l pl.UTF-8
918Moduł PHP umożliwiający korzystanie z biblioteki mcal (dającej dostęp
9ee9d278 919do kalendarzy).
920
6080c81d 921%package mcrypt
5b453425 922Summary: mcrypt extension module for PHP
d5d89d78 923Summary(pl.UTF-8): Moduł mcrypt dla PHP
6080c81d 924Group: Libraries
07a453e9 925Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 926Provides: php(mcrypt)
6080c81d
AF
927
928%description mcrypt
5c7004b5
JB
929This is a dynamic shared object (DSO) for PHP that will add mcrypt
930support.
6080c81d 931
7209a264
JR
932%description mcrypt -l pl.UTF-8
933Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
6080c81d 934
59bcb091
AF
935%package mhash
936Summary: mhash extension module for PHP
d5d89d78 937Summary(pl.UTF-8): Moduł mhash dla PHP
59bcb091 938Group: Libraries
07a453e9 939Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 940Provides: php(mhash)
59bcb091
AF
941
942%description mhash
5c7004b5
JB
943This is a dynamic shared object (DSO) for PHP that will add mhash
944support.
59bcb091 945
7209a264
JR
946%description mhash -l pl.UTF-8
947Moduł PHP udostępniający funkcje mieszające z biblioteki mhash.
59bcb091 948
5c7004b5
JB
949%package mime_magic
950Summary: mime_magic extension module for PHP
d5d89d78 951Summary(pl.UTF-8): Moduł mime_magic dla PHP
5c7004b5 952Group: Libraries
07a453e9 953Requires: %{name}-common = %{epoch}:%{version}-%{release}
5c7004b5 954Requires: /usr/share/file/magic.mime
b2435197 955Provides: php(mime_magic)
5c7004b5
JB
956
957%description mime_magic
958This PHP module adds support for MIME type lookup via file magic
959numbers using magic.mime database.
960
7209a264
JR
961%description mime_magic -l pl.UTF-8
962Moduł PHP dodający obsługę wyszukiwania typów MIME według magicznych
963znaczników plików z użyciem bazy danych magic.mime.
5c7004b5 964
7f2d8ce7 965%package ming
966Summary: ming extension module for PHP
d5d89d78 967Summary(pl.UTF-8): Moduł ming dla PHP
7f2d8ce7 968Group: Libraries
07a453e9 969Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 970Provides: php(ming)
1d69deca 971
7f2d8ce7 972%description ming
5c7004b5
JB
973This is a dynamic shared object (DSO) for PHP that will add ming
974(Flash - .swf files) support.
1d69deca 975
7209a264
JR
976%description ming -l pl.UTF-8
977Moduł PHP dodający obsługę plików Flash (.swf) poprzez bibliotekę
7f2d8ce7 978ming.
0c080823 979
7f2d8ce7 980%package mnogosearch
981Summary: mnoGoSearch extension module for PHP
d5d89d78 982Summary(pl.UTF-8): Moduł mnoGoSearch dla PHP
7f2d8ce7 983Group: Libraries
07a453e9 984Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 985Provides: php(mnogosearch)
21a39eff 986
7f2d8ce7 987%description mnogosearch
5c7004b5
JB
988This is a dynamic shared object (DSO) for PHP that will allow you to
989access mnoGoSearch free search engine.
28dd0654 990
7209a264
JR
991%description mnogosearch -l pl.UTF-8
992Moduł PHP dodający pozwalający na dostęp do wolnodostępnego silnika
7f2d8ce7 993wyszukiwarki mnoGoSearch.
f4e6df6b 994
7f2d8ce7 995%package msession
996Summary: msession extension module for PHP
d5d89d78 997Summary(pl.UTF-8): Moduł msession dla PHP
7f2d8ce7 998Group: Libraries
07a453e9 999Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1000Provides: php(msession)
28dd0654 1001
7f2d8ce7 1002%description msession
5c7004b5
JB
1003This is a dynamic shared object (DSO) for PHP that will allow you to
1004use msession. msession is a high speed session daemon which can run
1005either locally or remotely. It is designed to provide consistent
1006session management for a PHP web farm.
d6b422ef 1007
7209a264
JR
1008%description msession -l pl.UTF-8
1009Moduł PHP dodający umożliwiający korzystanie z demona msession. Jest
1010to demon szybkiej obsługi sesji, który może działać lokalnie lub na
1011innej maszynie. Służy do zapewniania spójnej obsługi sesji dla farmy
1012serwerów.
f4e6df6b 1013
ce79833d 1014%package mssql
1015Summary: MS SQL extension module for PHP
d5d89d78 1016Summary(pl.UTF-8): Moduł MS SQL dla PHP
ce79833d 1017Group: Libraries
07a453e9 1018Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1019Provides: php(mssql)
11da7940
ER
1020Conflicts: %{name}-sybase
1021Conflicts: %{name}-sybase-ct
ce79833d 1022
1023%description mssql
1024This is a dynamic shared object (DSO) for PHP that will add MS SQL
1025databases support through FreeTDS library.
1026
7209a264
JR
1027%description mssql -l pl.UTF-8
1028Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
421943ed 1029FreeTDS.
ce79833d 1030
7f2d8ce7 1031%package mysql
1032Summary: MySQL database module for PHP
d5d89d78
ER
1033Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
1034Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
7f2d8ce7 1035Group: Libraries
07a453e9 1036Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1037Provides: php(mysql)
d6b422ef 1038
7f2d8ce7 1039%description mysql
5c7004b5
JB
1040This is a dynamic shared object (DSO) for PHP that will add MySQL
1041database support.
28dd0654 1042
7209a264
JR
1043%description mysql -l pl.UTF-8
1044Moduł PHP umożliwiający dostęp do bazy danych MySQL.
28dd0654 1045
7209a264
JR
1046%description mysql -l pt_BR.UTF-8
1047Um módulo para aplicações PHP que usam bancos de dados MySQL.
71751425 1048
5c7004b5
JB
1049%package ncurses
1050Summary: ncurses module for PHP
d5d89d78 1051Summary(pl.UTF-8): Moduł ncurses dla PHP
5c7004b5 1052Group: Libraries
2d482acc 1053Requires: %{name}-cli = %{epoch}:%{version}-%{release}
b2435197 1054Provides: php(ncurses)
5c7004b5
JB
1055
1056%description ncurses
1057This PHP module adds support for ncurses functions (only for cli and
1058cgi SAPIs).
1059
7209a264
JR
1060%description ncurses -l pl.UTF-8
1061Moduł PHP dodający obsługę funkcji ncurses (tylko do SAPI cli i cgi).
5c7004b5 1062
7f2d8ce7 1063%package oci8
1064Summary: Oracle 8 database module for PHP
d5d89d78 1065Summary(pl.UTF-8): Moduł bazy danych Oracle 8 dla PHP
7f2d8ce7 1066Group: Libraries
07a453e9 1067Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1068Provides: php(oci8)
7f2d8ce7 1069Autoreq: false
21a39eff 1070
7f2d8ce7 1071%description oci8
5c7004b5
JB
1072This is a dynamic shared object (DSO) for PHP that will add Oracle 7
1073and Oracle 8 database support through Oracle8 Call-Interface (OCI8).
7f2d8ce7 1074
7209a264
JR
1075%description oci8 -l pl.UTF-8
1076Moduł PHP umożliwiający dostęp do bazy danych Oracle 7 i Oracle 8
7f2d8ce7 1077poprzez interfejs Oracle8 Call-Interface (OCI8).
1078
1079%package odbc
1080Summary: ODBC extension module for PHP
d5d89d78
ER
1081Summary(pl.UTF-8): Moduł ODBC dla PHP
1082Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
800c41be 1083Group: Libraries
07a453e9 1084Requires: %{name}-common = %{epoch}:%{version}-%{release}
7f2d8ce7 1085Requires: unixODBC >= 2.1.1-3
b2435197 1086Provides: php(odbc)
800c41be 1087
7f2d8ce7 1088%description odbc
5c7004b5
JB
1089This is a dynamic shared object (DSO) for PHP that will add ODBC
1090support.
800c41be 1091
7209a264
JR
1092%description odbc -l pl.UTF-8
1093Moduł PHP ze wsparciem dla ODBC.
82b4967b 1094
7209a264
JR
1095%description odbc -l pt_BR.UTF-8
1096Um módulo para aplicações PHP que usam ODBC.
7f2d8ce7 1097
7f2d8ce7 1098%package oracle
1099Summary: Oracle 7 database module for PHP
d5d89d78 1100Summary(pl.UTF-8): Moduł bazy danych Oracle 7 dla PHP
7f2d8ce7 1101Group: Libraries
07a453e9 1102Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1103Provides: php(oracle)
7f2d8ce7 1104Autoreq: false
1105
1106%description oracle
5c7004b5
JB
1107This is a dynamic shared object (DSO) for PHP that will add Oracle 7
1108database support.
7f2d8ce7 1109
7209a264
JR
1110%description oracle -l pl.UTF-8
1111Moduł PHP umożliwiający dostęp do bazy danych Oracle 7.
7f2d8ce7 1112
9ee9d278 1113%package overload
1114Summary: Overload extension module for PHP
d5d89d78 1115Summary(pl.UTF-8): Moduł Overload dla PHP
9ee9d278 1116Group: Libraries
07a453e9 1117Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1118Provides: php(overload)
9ee9d278 1119
1120%description overload
1121This is a dynamic shared object (DSO) for PHP that will add user-space
1122object overloading support.
1123
1124Warning: this is an experimental module.
1125
7209a264
JR
1126%description overload -l pl.UTF-8
1127Moduł PHP umożliwiający przeciążanie obiektów.
9ee9d278 1128
7209a264 1129Uwaga: to jest moduł eksperymentalny.
9ee9d278 1130
7f2d8ce7 1131%package pcntl
1132Summary: Process Control extension module for PHP
d5d89d78 1133Summary(pl.UTF-8): Moduł Process Control dla PHP
7f2d8ce7 1134Group: Libraries
abf57784 1135Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1136Provides: php(pcntl)
7f2d8ce7 1137
1138%description pcntl
5c7004b5
JB
1139This is a dynamic shared object (DSO) for PHP that will add process
1140spawning and control support. It supports functions like fork(),
1141waitpid(), signal() etc.
7f2d8ce7 1142
1143Warning: this is an experimental module. Also, don't use it in
1144webserver environment!
1145
7209a264
JR
1146%description pcntl -l pl.UTF-8
1147Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1148Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
7f2d8ce7 1149
7209a264
JR
1150Uwaga: to jest moduł eksperymentalny. Ponadto nie jest przeznaczony do
1151używania z serwerem WWW - nie próbuj tego!
7f2d8ce7 1152
1153%package pcre
1154Summary: PCRE extension module for PHP
d5d89d78 1155Summary(pl.UTF-8): Moduł PCRE dla PHP
7f2d8ce7 1156Group: Libraries
07a453e9 1157Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1158Provides: php(pcre)
7f2d8ce7 1159
1160%description pcre
5c7004b5
JB
1161This is a dynamic shared object (DSO) for PHP that will add Perl
1162Compatible Regular Expression support.
7f2d8ce7 1163
7209a264
JR
1164%description pcre -l pl.UTF-8
1165Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
7f2d8ce7 1166(Perl Compatible Regular Expressions)
1167
9ee9d278 1168%package pdf
1169Summary: PDF creation module module for PHP
d5d89d78 1170Summary(pl.UTF-8): Moduł do tworzenia plików PDF dla PHP
9ee9d278 1171Group: Libraries
07a453e9 1172Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1173Provides: php(pdf)
9ee9d278 1174
1175%description pdf
1176This is a dynamic shared object (DSO) for PHP that will add PDF
1177support through pdflib.
1178
7209a264
JR
1179%description pdf -l pl.UTF-8
1180Moduł PHP umożliwiający tworzenie plików PDF. Wykorzystuje bibliotekę
9ee9d278 1181pdflib.
1182
7f2d8ce7 1183%package pgsql
1184Summary: PostgreSQL database module for PHP
d5d89d78 1185Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
7f2d8ce7 1186Group: Libraries
07a453e9 1187Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1188Provides: php(pgsql)
7f2d8ce7 1189
1190%description pgsql
5c7004b5
JB
1191This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1192database support.
7f2d8ce7 1193
7209a264
JR
1194%description pgsql -l pl.UTF-8
1195Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
7f2d8ce7 1196
7209a264
JR
1197%description pgsql -l pt_BR.UTF-8
1198Um módulo para aplicações PHP que usam bancos de dados postgresql.
7f2d8ce7 1199
1200%package posix
1201Summary: POSIX extension module for PHP
d5d89d78 1202Summary(pl.UTF-8): Moduł POSIX dla PHP
7f2d8ce7 1203Group: Libraries
07a453e9 1204Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1205Provides: php(posix)
7f2d8ce7 1206
1207%description posix
5c7004b5 1208This is a dynamic shared object (DSO) for PHP that will add POSIX
7f2d8ce7 1209functions support to PHP.
1210
7209a264
JR
1211%description posix -l pl.UTF-8
1212Moduł PHP umożliwiający korzystanie z funkcji POSIX.
7f2d8ce7 1213
1214%package pspell
1215Summary: pspell extension module for PHP
d5d89d78 1216Summary(pl.UTF-8): Moduł pspell dla PHP
7f2d8ce7 1217Group: Libraries
07a453e9 1218Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1219Provides: php(pspell)
7f2d8ce7 1220
1221%description pspell
5c7004b5 1222This is a dynamic shared object (DSO) for PHP that will add pspell
7f2d8ce7 1223support to PHP. It allows to check the spelling of a word and offer
1224suggestions.
1225
7209a264
JR
1226%description pspell -l pl.UTF-8
1227Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1228sprawdzanie pisowni słowa i sugerowanie poprawek.
7f2d8ce7 1229
9ee9d278 1230%package qtdom
ff5548f5 1231Summary: Qt DOM extension module for PHP
d5d89d78 1232Summary(pl.UTF-8): Moduł Qt DOM dla PHP
9ee9d278 1233Group: Libraries
07a453e9 1234Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1235Provides: php(qtdom)
9ee9d278 1236
1237%description qtdom
ff5548f5 1238This PHP module adds Qt DOM functions support.
9ee9d278 1239
7209a264
JR
1240%description qtdom -l pl.UTF-8
1241Moduł PHP dodający obsługę funkcji Qt DOM.
9ee9d278 1242
5c7004b5
JB
1243%package readline
1244Summary: readline extension module for PHP
d5d89d78 1245Summary(pl.UTF-8): Moduł readline dla PHP
5c7004b5 1246Group: Libraries
2d482acc 1247Requires: %{name}-cli = %{epoch}:%{version}-%{release}
b2435197 1248Provides: php(readline)
5c7004b5
JB
1249
1250%description readline
1251This PHP module adds support for readline functions (only for cli and
1252cgi SAPIs).
1253
7209a264
JR
1254%description readline -l pl.UTF-8
1255Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
5c7004b5 1256
7f2d8ce7 1257%package recode
1258Summary: recode extension module for PHP
d5d89d78 1259Summary(pl.UTF-8): Moduł recode dla PHP
7f2d8ce7 1260Group: Libraries
07a453e9 1261Requires: %{name}-common = %{epoch}:%{version}-%{release}
7f2d8ce7 1262Requires: recode >= 3.5d-3
b2435197 1263Provides: php(recode)
7f2d8ce7 1264
1265%description recode
5c7004b5
JB
1266This is a dynamic shared object (DSO) for PHP that will add recode
1267support.
7f2d8ce7 1268
7209a264
JR
1269%description recode -l pl.UTF-8
1270Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1271bibliotekę recode).
7f2d8ce7 1272
7f2d8ce7 1273%package shmop
1274Summary: Shared Memory Operations extension module for PHP
d5d89d78 1275Summary(pl.UTF-8): Moduł shmop dla PHP
7f2d8ce7 1276Group: Libraries
07a453e9 1277Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1278Provides: php(shmop)
7f2d8ce7 1279
1280%description shmop
5c7004b5
JB
1281This is a dynamic shared object (DSO) for PHP that will add Shared
1282Memory Operations support.
7f2d8ce7 1283
1284Warning: this is an experimental module.
1285
7209a264
JR
1286%description shmop -l pl.UTF-8
1287Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
7f2d8ce7 1288
7209a264 1289Uwaga: to jest moduł eksperymentalny.
7f2d8ce7 1290
1291%package snmp
1292Summary: SNMP extension module for PHP
d5d89d78 1293Summary(pl.UTF-8): Moduł SNMP dla PHP
7f2d8ce7 1294Group: Libraries
07a453e9 1295Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1296Provides: php(snmp)
7f2d8ce7 1297
1298%description snmp
5c7004b5
JB
1299This is a dynamic shared object (DSO) for PHP that will add SNMP
1300support.
7f2d8ce7 1301
7209a264
JR
1302%description snmp -l pl.UTF-8
1303Moduł PHP dodający obsługę SNMP.
7f2d8ce7 1304
1305%package sockets
1306Summary: sockets extension module for PHP
d5d89d78 1307Summary(pl.UTF-8): Moduł socket dla PHP
7f2d8ce7 1308Group: Libraries
07a453e9 1309Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1310Provides: php(sockets)
7f2d8ce7 1311
1312%description sockets
5c7004b5
JB
1313This is a dynamic shared object (DSO) for PHP that will add sockets
1314support.
7f2d8ce7 1315
1316Warning: this is an experimental module.
1317
7209a264
JR
1318%description sockets -l pl.UTF-8
1319Moduł PHP dodający obsługę gniazdek.
7f2d8ce7 1320
7209a264 1321Uwaga: to jest moduł eksperymentalny.
7f2d8ce7 1322
5c7004b5
JB
1323%package sybase
1324Summary: Sybase DB extension module for PHP
d5d89d78 1325Summary(pl.UTF-8): Moduł Sybase DB dla PHP
5c7004b5 1326Group: Libraries
07a453e9 1327Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1328Provides: php(sybase)
71e6861e 1329Obsoletes: php4-sybase-ct
11da7940 1330Conflicts: %{name}-mssql
5c7004b5
JB
1331
1332%description sybase
1333This is a dynamic shared object (DSO) for PHP that will add Sybase and
520d65e9
ER
1334MS SQL databases support through SYBDB library. Currently Sybase
1335module is not maintained. Using Sybase-CT module is recommended
1336instead.
5c7004b5 1337
7209a264
JR
1338%description sybase -l pl.UTF-8
1339Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1340bibliotekę SYBDB. W chwili obecnej moduł Sybase nie jest wspierany.
1341Zaleca się używanie modułu Sybase-CT.
5c7004b5 1342
7f2d8ce7 1343%package sybase-ct
1344Summary: Sybase-CT extension module for PHP
d5d89d78 1345Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
7f2d8ce7 1346Group: Libraries
07a453e9 1347Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1348Provides: php(sybase-ct)
71e6861e 1349Obsoletes: php4-sybase
11da7940 1350Conflicts: %{name}-mssql
7f2d8ce7 1351
1352%description sybase-ct
5c7004b5
JB
1353This is a dynamic shared object (DSO) for PHP that will add Sybase and
1354MS SQL databases support through CT-lib.
7f2d8ce7 1355
7209a264
JR
1356%description sybase-ct -l pl.UTF-8
1357Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
7f2d8ce7 1358CT-lib.
1359
5c7004b5
JB
1360%package sysvmsg
1361Summary: SysV msg extension module for PHP
d5d89d78 1362Summary(pl.UTF-8): Moduł SysV msg dla PHP
5c7004b5 1363Group: Libraries
07a453e9 1364Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1365Provides: php(sysvmsg)
5c7004b5
JB
1366
1367%description sysvmsg
1368This is a dynamic shared object (DSO) for PHP that will add SysV
1369message queues support.
1370
7209a264
JR
1371%description sysvmsg -l pl.UTF-8
1372Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
5c7004b5 1373
7f2d8ce7 1374%package sysvsem
1375Summary: SysV sem extension module for PHP
d5d89d78 1376Summary(pl.UTF-8): Moduł SysV sem dla PHP
7f2d8ce7 1377Group: Libraries
07a453e9 1378Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1379Provides: php(sysvsem)
7f2d8ce7 1380
1381%description sysvsem
5c7004b5
JB
1382This is a dynamic shared object (DSO) for PHP that will add SysV
1383semaphores support.
7f2d8ce7 1384
7209a264
JR
1385%description sysvsem -l pl.UTF-8
1386Moduł PHP umożliwiający korzystanie z semaforów SysV.
7f2d8ce7 1387
1388%package sysvshm
1389Summary: SysV shm extension module for PHP
d5d89d78 1390Summary(pl.UTF-8): Moduł SysV shm dla PHP
7f2d8ce7 1391Group: Libraries
07a453e9 1392Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1393Provides: php(sysvshm)
7f2d8ce7 1394
1395%description sysvshm
5c7004b5
JB
1396This is a dynamic shared object (DSO) for PHP that will add SysV
1397Shared Memory support.
7f2d8ce7 1398
7209a264
JR
1399%description sysvshm -l pl.UTF-8
1400Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
d0454f30 1401
9a0f3d92
ER
1402%package tokenizer
1403Summary: tokenizer extension module for PHP
d5d89d78 1404Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
9a0f3d92 1405Group: Libraries
9a0f3d92 1406Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1407Provides: php(tokenizer)
9a0f3d92
ER
1408
1409%description tokenizer
1410This is a dynamic shared object (DSO) for PHP that will add tokenizer
1411support.
1412
7209a264
JR
1413%description tokenizer -l pl.UTF-8
1414Moduł PHP dodający obsługę tokenizera do PHP.
ed78bf76 1415
d0454f30 1416%package wddx
1417Summary: wddx extension module for PHP
d5d89d78 1418Summary(pl.UTF-8): Moduł wddx dla PHP
d0454f30 1419Group: Libraries
07a453e9 1420Requires: %{name}-common = %{epoch}:%{version}-%{release}
4d82c215 1421#Requires: %{name}-session = %{epoch}:%{version}-%{release}
a9354226 1422Requires: %{name}-xml = %{epoch}:%{version}-%{release}
b2435197 1423Provides: php(wddx)
d0454f30 1424
1425%description wddx
5c7004b5
JB
1426This is a dynamic shared object (DSO) for PHP that will add wddx
1427support.
d0454f30 1428
7209a264
JR
1429%description wddx -l pl.UTF-8
1430Moduł PHP umożliwiający korzystanie z wddx.
800c41be 1431
7f2d8ce7 1432%package xml
1433Summary: XML extension module for PHP
d5d89d78 1434Summary(pl.UTF-8): Moduł XML dla PHP
2fa1a084 1435Group: Libraries
07a453e9 1436Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1437Provides: php(xml)
2fa1a084 1438
7f2d8ce7 1439%description xml
5c7004b5
JB
1440This is a dynamic shared object (DSO) for PHP that will add XML
1441support. This extension lets you create XML parsers and then define
1442handlers for different XML events.
2fa1a084 1443
7209a264
JR
1444%description xml -l pl.UTF-8
1445Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1446związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1447następnie definiować procedury obsługi dla różnych zdarzeń XML.
2fa1a084 1448
7f2d8ce7 1449%package xmlrpc
1450Summary: xmlrpc extension module for PHP
d5d89d78 1451Summary(pl.UTF-8): Moduł xmlrpc dla PHP
114759eb 1452Group: Libraries
07a453e9 1453Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1454Provides: php(xmlrpc)
114759eb 1455
7f2d8ce7 1456%description xmlrpc
5c7004b5
JB
1457This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1458support.
114759eb 1459
7f2d8ce7 1460Warning: this is an experimental module.
114759eb 1461
7209a264
JR
1462%description xmlrpc -l pl.UTF-8
1463Moduł PHP dodający obsługę XMLRPC.
7f2d8ce7 1464
7209a264 1465Uwaga: to jest moduł eksperymentalny.
7f2d8ce7 1466
1467%package xslt
1468Summary: xslt extension module for PHP
d5d89d78 1469Summary(pl.UTF-8): Moduł xslt dla PHP
7f2d8ce7 1470Group: Libraries
07a453e9 1471Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1472Provides: php(xslt)
7f2d8ce7 1473
1474%description xslt
5c7004b5
JB
1475This is a dynamic shared object (DSO) for PHP that will add xslt
1476support.
7f2d8ce7 1477
7209a264
JR
1478%description xslt -l pl.UTF-8
1479Moduł PHP umożliwiający korzystanie z technologii xslt.
7f2d8ce7 1480
1481%package yaz
1482Summary: yaz extension module for PHP
d5d89d78 1483Summary(pl.UTF-8): Moduł yaz dla PHP
7f2d8ce7 1484Group: Libraries
07a453e9 1485Requires: %{name}-common = %{epoch}:%{version}-%{release}
100fb1c2 1486Requires: yaz >= 1.9
b2435197 1487Provides: php(yaz)
7f2d8ce7 1488
1489%description yaz
5c7004b5
JB
1490This is a dynamic shared object (DSO) for PHP that will add yaz
1491support. yaz toolkit implements the Z39.50 protocol for information
1492retrieval.
7f2d8ce7 1493
7209a264
JR
1494%description yaz -l pl.UTF-8
1495Moduł PHP umożliwiający korzystanie z yaz - implementacji protokołu
1496Z39.50 służącego do pozyskiwania informacji.
7f2d8ce7 1497
1498%package yp
1499Summary: NIS (yp) extension module for PHP
d5d89d78 1500Summary(pl.UTF-8): Moduł NIS (yp) dla PHP
5e5319cb 1501Group: Libraries
07a453e9 1502Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1503Provides: php(yp)
5e5319cb 1504
7f2d8ce7 1505%description yp
5c7004b5
JB
1506This is a dynamic shared object (DSO) for PHP that will add NIS
1507(Yellow Pages) support.
5e5319cb 1508
7209a264
JR
1509%description yp -l pl.UTF-8
1510Moduł PHP dodający wsparcie dla NIS (Yellow Pages).
5e5319cb 1511
9ee9d278 1512%package zip
1513Summary: zip extension module for PHP
d5d89d78 1514Summary(pl.UTF-8): Moduł zip dla PHP
9ee9d278 1515Group: Libraries
07a453e9 1516Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1517Provides: php(zip)
9ee9d278 1518
1519%description zip
1520This is a dynamic shared object (DSO) for PHP that will add ZZipLib
1521(read-only access to ZIP archives) support.
1522
7209a264
JR
1523%description zip -l pl.UTF-8
1524Moduł PHP umożliwiający korzystanie z bibliotekli ZZipLib
1525(pozwalającej na odczyt archiwów ZIP).
9ee9d278 1526
7f2d8ce7 1527%package zlib
1528Summary: Zlib extension module for PHP
d5d89d78 1529Summary(pl.UTF-8): Moduł zlib dla PHP
5e5319cb 1530Group: Libraries
07a453e9 1531Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1532Provides: php(zlib)
5e5319cb 1533
7f2d8ce7 1534%description zlib
5c7004b5
JB
1535This is a dynamic shared object (DSO) for PHP that will add zlib
1536compression support to PHP.
5e5319cb 1537
7209a264
JR
1538%description zlib -l pl.UTF-8
1539Moduł PHP umożliwiający używanie kompresji zlib.
5e5319cb 1540
e89e2b0f 1541%prep
53d10ea0 1542%setup -q -n php-%{version}
a81c3254 1543#%patch43 -p1
e84e1b0f 1544%patch40 -p1
7011c01c 1545%patch0 -p1
6526f9b5 1546%patch1 -p1
9ee9d278 1547%patch2 -p1
6526f9b5 1548%patch3 -p1
100fb1c2 1549%patch4 -p1
04d75b94 1550%patch5 -p1
953f7006 1551%patch6 -p1
46e729ae 1552%patch7 -p1
6526f9b5 1553%patch8 -p1
9ee9d278 1554# Not really needed?
1555#%patch9 -p1
abad5b8b 1556%patch10 -p1
7011c01c 1557%patch11 -p1
93af1413 1558%patch12 -p1
5382d1e1 1559%patch13 -p1
9bdfae50 1560%patch14 -p1
5c7004b5 1561%patch15 -p1
468ecd49 1562%patch16 -p1
9ee9d278 1563cp php.ini-dist php.ini
132b7e43 1564%patch17 -p1
9ee9d278 1565# for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1566# conditionally...
132b7e43 1567%patch18 -p1
04d75b94
JB
1568%patch19 -p1
1569%patch20 -p1
953f7006 1570%patch21 -p1
782252ff 1571%patch22 -p1
531547f9 1572# %patch23 -p1
d7c9da89 1573%patch24 -p1
11521560 1574%patch25 -p1
f842ef95 1575%patch26 -p1
9ee9d278 1576%patch27 -p1
1577%patch28 -p1
edb7f9b8 1578%if "%{_lib}" == "lib64"
1be9c469 1579%patch29 -p1
9ee9d278 1580%endif
1be9c469 1581%patch30 -p1
74c09513 1582%patch31 -p1
65d870bf 1583%patch33 -p1
cd557e67 1584%patch34 -p1
74c09513 1585%patch35 -p1
cbf32ad2 1586%patch36 -p1
f53d5b65 1587%patch37 -p1
08482442 1588%patch38 -p1
e84e1b0f
AG
1589%{?with_versioning:%patch39 -p1}
1590# XXX: I believe this one is obsolete as of 4.4.3
1591#%patch41 -p1
f4c9ee6a 1592%patch42 -p1
9e2f3206 1593%patch45 -p1
ae04df00 1594%patch46 -p1
4a61c8b0 1595%patch47 -p1
90f56ec5 1596%patch48 -p1
f842ef95 1597
b2b754b2 1598%if %{with hardening}
fff2496f 1599zcat %{SOURCE8} | patch -p1
b2b754b2 1600%endif
bdd610bf 1601
e89e2b0f 1602%build
7d9bee8f
ER
1603if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then
1604 echo "Set %%define php_api_version to $API and rerun."
1605 exit 1
1606fi
1607
1608if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then
1609 echo "Set %%define zend_module_api to $API and rerun."
1610 exit 1
1611fi
1612
1613if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then
86907b67 1614 echo "Set %%define zend_extension_api to $API and rerun."
7d9bee8f
ER
1615 exit 1
1616fi
1617
3b87a51a 1618EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
74c09513 1619if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
e622724a
ER
1620 ./buildconf --force
1621 %{__libtoolize}
1622 %{__aclocal}
1623 %{__autoconf}
1624 touch _built-conf
74c09513 1625fi
083c6282 1626PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
74c09513
ER
1627
1628sapis="
7a419765
ER
1629%if %{with fcgi}
1630fcgi
1631%endif
1632cgi cli
74c09513
ER
1633%if %{with apache1}
1634apxs1
1635%endif
1636%if %{with apache2}
1637apxs2
1638%endif
1639"
74c09513
ER
1640for sapi in $sapis; do
1641 [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1642
1643 %configure \
1644 `
1645 case $sapi in
1646 cgi)
be4aca3a 1647 echo --enable-discard-path --enable-force-cgi-redirect
74c09513
ER
1648 ;;
1649 cli)
be4aca3a 1650 echo --disable-cgi
74c09513
ER
1651 ;;
1652 fcgi)
be4aca3a 1653 echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect
74c09513
ER
1654 ;;
1655 apxs1)
1656 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
be4aca3a 1657 echo --with-apxs=%{apxs1} --with-apache-version=$ver
74c09513
ER
1658 ;;
1659 apxs2)
1660 ver=%(rpm -q --qf '%%{version}' apache-apxs)
be4aca3a 1661 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
74c09513
ER
1662 ;;
1663 esac
1664 ` \
c9f5a6d4 1665%if "%{!?configure_cache:0}%{?configure_cache}" == "0"
3500b710 1666 --cache-file=config.cache \
c9f5a6d4 1667%endif
28f4aa77 1668 --with-config-file-path=%{_sysconfdir} \
6d5ed34c 1669 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
e89e2b0f 1670 --with-exec-dir=%{_bindir} \
8d728856 1671 --%{!?debug:dis}%{?debug:en}able-debug \
be4aca3a 1672 %{?with_zts:--enable-experimental-zts} \
f5d25779 1673 --enable-inline-optimization \
74c09513
ER
1674 --enable-shared \
1675 --disable-static \
8d728856 1676 --enable-bcmath=shared \
1677 --enable-calendar=shared \
7f2d8ce7 1678 --enable-ctype=shared \
8d728856 1679 --enable-dba=shared \
7f2d8ce7 1680 --enable-dbx=shared \
1681 --enable-dio=shared \
8d728856 1682 --enable-exif=shared \
9ee9d278 1683 --enable-filepro=shared \
a065ebfd
ER
1684 --enable-ftp=shared \
1685 --enable-magic-quotes \
74c09513 1686 --enable-mbstring=shared,all --enable-mbregex \
a065ebfd 1687 --enable-memory-limit \
9ee9d278 1688 --enable-overload=shared \
dab7214b 1689 --enable-pcntl=shared \
8d728856 1690 --enable-posix=shared \
a065ebfd
ER
1691 %{?with_recode:--with-recode=shared} \
1692 --enable-safe-mode \
74c09513 1693 --enable-session --enable-trans-sid \
8d728856 1694 --enable-shmop=shared \
a065ebfd 1695 --enable-sockets=shared \
5c7004b5 1696 --enable-sysvmsg=shared \
c6f034c5
AF
1697 --enable-sysvsem=shared \
1698 --enable-sysvshm=shared \
9a0f3d92 1699 --enable-tokenizer=shared \
a065ebfd 1700 --enable-track-vars \
b6f861c7
JB
1701 %{?with_wddx:--enable-wddx=shared} \
1702 %{!?with_xml:--disable-xml}%{?with_xml:--enable-xml=shared} \
1703 %{?with_xslt:--enable-xslt=shared} \
7f2d8ce7 1704 --enable-yp=shared \
59bcb091 1705 --with-bz2=shared \
b6f861c7 1706 %{?with_cpdf:--with-cpdflib=shared} \
9ee9d278 1707 --with-crack=shared \
b6f861c7 1708 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
a065ebfd 1709 --with-db=shared --with-db%{?with_db3:3}%{!?with_db3:4} \
8d728856 1710 --with-dbase=shared \
b6f861c7
JB
1711 %{?with_domxslt:--with-dom-xslt=shared --with-dom-exslt=shared} \
1712%if %{with xml} || %{with xmlrpc}
7f2d8ce7 1713 --with-expat-dir=shared,/usr \
e6e515f1
JB
1714%else
1715 --without-expat-dir \
1716%endif
b6f861c7 1717 %{?with_fdf:--with-fdftk=shared} \
8d728856 1718 --with-filepro=shared \
1719 --with-freetype-dir=shared \
a065ebfd 1720 %{?with_fribidi:--with-fribidi=shared} \
a81c3254 1721 --with-gd=shared --enable-gd-native-ttf \
8d728856 1722 --with-gdbm \
a065ebfd 1723 --with-gettext=shared \
59bcb091 1724 --with-gmp=shared \
9ee9d278 1725 --with-hyperwave=shared \
a065ebfd 1726 --with-iconv=shared \
27358759 1727 %{?with_imap:--with-imap=shared --with-imap-ssl --with-kerberos} \
b6f861c7 1728 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1b477226 1729 %{?with_java:--with-java=%{_libdir}/java} \
28d58db8 1730 --with-jpeg-dir=/usr \
b6f861c7 1731 %{?with_ldap:--with-ldap=shared} \
9ee9d278 1732 --with-mcal=shared,/usr \
8d728856 1733 --with-mcrypt=shared \
b6f861c7 1734 %{?with_mhash:--with-mhash=shared} \
5c7004b5 1735 --with-mime-magic=shared,/usr/share/file/magic.mime \
b6f861c7 1736 %{?with_ming:--with-ming=shared} \
b6f861c7
JB
1737 %{!?with_mnogosearch:--without-mnogosearch}%{?with_mnogosearch:--with-mnogosearch=shared,/usr} \
1738 %{?with_msession:--with-msession=shared}%{!?with_msession:--without-msession} \
1739 %{?with_mssql:--with-mssql=shared} \
74c09513 1740 --with-mysql=shared,/usr --with-mysql-sock=/var/lib/mysql/mysql.sock \
5c7004b5 1741 --with-ncurses=shared \
b6f861c7 1742 %{?with_oci8:--with-oci8=shared} \
a065ebfd 1743 %{?with_odbc:--with-unixODBC=shared} \
a6bef7cf 1744 %{?with_openssl:--with-openssl} \
b6f861c7 1745 %{?with_oracle:--with-oracle=shared} \
f8e6ee82 1746 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared,/usr} \
9ee9d278 1747 %{?with_pdf:--with-pdflib=shared} \
2671774a 1748 --with-pear=%{php_pear_dir} \
b6f861c7 1749 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
28d58db8 1750 --with-png-dir=/usr \
a065ebfd 1751 %{?with_qtdom:--with-qtdom=shared} \
5c7004b5 1752 --with-readline=shared \
8d728856 1753 --with-regex=php \
74c09513 1754 %{?with_snmp:--with-snmp=shared --enable-ucd-snmp-hack} \
a065ebfd 1755 %{?with_pspell:--with-pspell=shared} \
b6f861c7 1756 %{?with_sybase:--with-sybase-ct=shared,/usr --with-sybase=shared,/usr} \
8d728856 1757 --with-t1lib=shared \
28d58db8 1758 --with-tiff-dir=/usr \
a065ebfd 1759 %{?with_xml:--with-dom=shared} \
b6f861c7 1760 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
a065ebfd 1761 %{?with_xslt:--with-xslt-sablot=shared} --without-sablot-js \
b6f861c7 1762 %{?with_yaz:--with-yaz=shared} \
9ee9d278 1763 --with-zip=shared \
a065ebfd 1764 --with-zlib=shared --with-zlib-dir=shared,/usr \
7011c01c 1765
74c09513 1766 cp -f Makefile Makefile.$sapi
74c09513 1767 cp -f main/php_config.h php_config.h.$sapi
7f46a5e0 1768done
6080c81d 1769
1a9a1ebc 1770# must make this first, so modules can link against it.
74c09513 1771%{__make} libphp_common.la
1a9a1ebc
ER
1772# FIXME: needed for linking modules with libphp_common.la
1773#libtool --mode=install cp libphp_common.la `pwd`/libs
1774
1775%{__make} build-modules
74c09513
ER
1776
1777%if %{with apache1}
a9b38e3f 1778%{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp4.la -f Makefile.apxs1
74c09513
ER
1779%endif
1780
1781%if %{with apache2}
a9b38e3f 1782%{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp4.la -f Makefile.apxs2
74c09513 1783%endif
7f46a5e0 1784
7a419765
ER
1785# FCGI
1786%if %{with fcgi}
1787cp -af php_config.h.fcgi main/php_config.h
1788%{__make} sapi/cgi/php -f Makefile.fcgi
7cd0f72f
AM
1789cp -r sapi/cgi sapi/fcgi
1790rm -rf sapi/cgi/.libs sapi/cgi/*.lo
7a419765 1791%endif
7cd0f72f 1792
7a419765
ER
1793# CGI
1794cp -af php_config.h.cgi main/php_config.h
1795%{__make} sapi/cgi/php -f Makefile.cgi
422bc385 1796
74c09513 1797# CLI
7a419765 1798cp -af php_config.h.cli main/php_config.h
74c09513
ER
1799%{__make} sapi/cli/php -f Makefile.cli
1800
e89e2b0f
AF
1801%install
1802rm -rf $RPM_BUILD_ROOT
1a8d74bb 1803install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}} \
74c09513 1804 $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
7f2d8ce7 1805 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
74c09513
ER
1806 $RPM_BUILD_ROOT{/etc/apache/conf.d,/etc/httpd/httpd.conf} \
1807 $RPM_BUILD_ROOT%{_mandir}/man1
1808
71e20261
ER
1809# install the apache modules' files
1810%{__make} install-headers install-build install-modules install-programs \
1811 INSTALL_ROOT=$RPM_BUILD_ROOT
1812
022a6830
ER
1813libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1814# fix install paths, avoid evil rpaths
1815sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
1816
74c09513 1817# install apache1 DSO module
74c09513 1818%if %{with apache1}
1a9a1ebc
ER
1819libtool --silent --mode=install install sapi/apache/libphp4.la $RPM_BUILD_ROOT%{_libdir}/apache1
1820rm $RPM_BUILD_ROOT%{_libdir}/apache1/libphp4.la
74c09513
ER
1821%endif
1822
1823# install apache2 DSO module
1824%if %{with apache2}
1a9a1ebc
ER
1825libtool --silent --mode=install install sapi/apache2handler/libphp4.la $RPM_BUILD_ROOT%{_libdir}/apache
1826rm $RPM_BUILD_ROOT%{_libdir}/apache/libphp4.la
74c09513
ER
1827%endif
1828
71e20261
ER
1829# better solution?
1830sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
422bc385 1831
74c09513
ER
1832# install CGI
1833libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php4.cgi
1834
1835# install FCGI
7a419765 1836%if %{with fcgi}
74c09513 1837libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php4.fcgi
7a419765 1838%endif
74c09513
ER
1839
1840# install CLI
1841libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php4.cli
1842
1843install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php4.1
1844ln -sf php4.cli $RPM_BUILD_ROOT%{_bindir}/php4
efe21d81 1845ln -sf php4.cli $RPM_BUILD_ROOT%{_bindir}/php
28f4aa77 1846
b6f861c7 1847%{?with_java:install ext/java/php_java.jar $RPM_BUILD_ROOT%{extensionsdir}}
9bdfae50 1848
ba7233b7 1849install php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
7a419765 1850%if %{with fcgi}
fff2496f 1851install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
7a419765 1852%endif
fff2496f
ER
1853install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1854install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
74c09513 1855
3891e595 1856%if %{with apache1}
74c09513 1857install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
fff2496f
ER
1858install %{SOURCE3} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php4.conf
1859install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
3891e595
ER
1860%endif
1861
1862%if %{with apache2}
1863install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
fff2496f
ER
1864install %{SOURCE3} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php4.conf
1865install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
3891e595 1866%endif
7f2d8ce7 1867
01a40090 1868cp -f Zend/LICENSE{,.Zend}
e1dea8c6 1869
8a6abb99
ER
1870install ext/ext_skel $RPM_BUILD_ROOT%{_bindir}/php-ext_skel
1871
6d5ed34c
ER
1872# Generate stub .ini files for each subpackage
1873install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1874for so in modules/*.so; do
1875 mod=$(basename $so .so)
0ae8174c
ER
1876 conf="%{_sysconfdir}/conf.d/${mod}.ini"
1877 # xml needs to be loaded before wddx
1878 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_${mod}.ini"
1879 cat > $RPM_BUILD_ROOT${conf} <<EOF
6d5ed34c
ER
1880; Enable ${mod} extension module
1881extension=${mod}.so
1882EOF
1883done
1884
1a8d74bb
ER
1885# per SAPI ini directories
1886install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi,cli,cgi-fcgi,apache,apache2handler}.d
1887
1888# for CLI SAPI only
1889mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{ncurses,pcntl,readline}.ini,cli.d}
6d5ed34c 1890
e9042706
ER
1891# as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
1892# isn't installed by install-headers make target, we do it manually here.
1893# this header file is required by e.g. filter PECL extension
1894install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
1895
8d728856 1896%clean
1897rm -rf $RPM_BUILD_ROOT
1898
74c09513 1899%post -n apache1-mod_php4
a9b191aa 1900if [ "$1" = "1" ]; then
7ff5074e 1901 %service -q apache restart
a9b191aa 1902fi
e1dea8c6 1903
74c09513 1904%postun -n apache1-mod_php4
7f2d8ce7 1905if [ "$1" = "0" ]; then
6d5ed34c 1906 %service -q apache restart
74c09513
ER
1907fi
1908
1909%post -n apache-mod_php4
a9b191aa 1910if [ "$1" = "1" ]; then
7ff5074e 1911 %service -q httpd restart
a9b191aa 1912fi
74c09513
ER
1913
1914%postun -n apache-mod_php4
1915if [ "$1" = "0" ]; then
6d5ed34c 1916 %service -q httpd restart
285c3089 1917fi
e1dea8c6 1918
a9b191aa
ER
1919# so tired of typing... so decided to create macros
1920# macro called at extension post scriptlet
1921%define extension_post \
1922if [ "$1" = "1" ]; then \
7ff5074e
ER
1923 [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart \
1924 [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart \
a9b191aa
ER
1925fi
1926
1927# macro called at extension postun scriptlet
1928%define extension_postun \
1929if [ "$1" = "0" ]; then \
7ff5074e
ER
1930 [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart \
1931 [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart \
a9b191aa
ER
1932fi
1933
7f2d8ce7 1934%post common -p /sbin/ldconfig
d8343547
ER
1935%postun common -p /sbin/ldconfig
1936
1937%posttrans common
1938# minimizing apache restarts logics. we restart webserver:
1939#
1940# 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1941# 2. first install of extension (post: $1 = 1)
1942# 2. uninstall of extension (postun: $1 == 0)
1943#
1944# the strict internal deps between extensions (and apache modules) and
1945# common package are very important for all this to work.
7f46a5e0 1946
d8343547 1947# restart webserver at the end of transaction
7ff5074e
ER
1948[ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart
1949[ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart
2fadf2c0 1950
6d5ed34c 1951%if %{with apache2}
f5d25779 1952%triggerpostun -n apache-mod_php4 -- apache-mod_php4 < 3:4.4.0-2.16, php4 < 3:4.3.11-4.16
6d5ed34c
ER
1953# for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1954if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1955 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1956 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
1957fi
1958%endif
1959
59bcb091 1960%post bcmath
a9b191aa 1961%extension_post
59bcb091 1962
f7f29656 1963%postun bcmath
a9b191aa 1964%extension_postun
c6f034c5 1965
7f2d8ce7 1966%post bzip2
a9b191aa 1967%extension_post
7f2d8ce7 1968
f7f29656 1969%postun bzip2
a9b191aa 1970%extension_postun
7f2d8ce7 1971
59bcb091 1972%post calendar
a9b191aa 1973%extension_post
c6f034c5 1974
f7f29656 1975%postun calendar
a9b191aa 1976%extension_postun
c6f034c5 1977
7f2d8ce7 1978%post cpdf
a9b191aa 1979%extension_post
7f2d8ce7 1980
f7f29656 1981%postun cpdf
a9b191aa 1982%extension_postun
7f2d8ce7 1983
9ee9d278 1984%post crack
a9b191aa 1985%extension_post
9ee9d278 1986
f7f29656 1987%postun crack
a9b191aa 1988%extension_postun
9ee9d278 1989
7f2d8ce7 1990%post ctype
a9b191aa 1991%extension_post
7f2d8ce7 1992
f7f29656 1993%postun ctype
a9b191aa 1994%extension_postun
7f2d8ce7 1995
1996%post curl
a9b191aa 1997%extension_post
7f2d8ce7 1998
f7f29656 1999%postun curl
a9b191aa 2000%extension_postun
7f2d8ce7 2001
9ee9d278 2002%post db
a9b191aa 2003%extension_post
9ee9d278 2004
f7f29656 2005%postun db
a9b191aa 2006%extension_postun
9ee9d278 2007
59bcb091 2008%post dba
a9b191aa 2009%extension_post
816d4a09 2010
f7f29656 2011%postun dba
a9b191aa 2012%extension_postun
4aa30c82 2013
59bcb091 2014%post dbase
a9b191aa 2015%extension_post
59bcb091 2016
f7f29656 2017%postun dbase
a9b191aa 2018%extension_postun
5076b309 2019
7f2d8ce7 2020%post dbx
a9b191aa 2021%extension_post
7f2d8ce7 2022
f7f29656 2023%postun dbx
a9b191aa 2024%extension_postun
7f2d8ce7 2025
2026%post dio
a9b191aa 2027%extension_post
7f2d8ce7 2028
f7f29656 2029%postun dio
a9b191aa 2030%extension_postun
7f2d8ce7 2031
9ee9d278 2032%post domxml
a9b191aa 2033%extension_post
55eb8ec0 2034
f7f29656 2035%postun domxml
a9b191aa 2036%extension_postun
55eb8ec0 2037
9ee9d278 2038%post exif
a9b191aa 2039%extension_post
d959a0f0 2040
f7f29656 2041%postun exif
a9b191aa 2042%extension_postun
d959a0f0 2043
5c7004b5 2044%post fdf
a9b191aa 2045%extension_post
5c7004b5 2046
f7f29656 2047%postun fdf
a9b191aa 2048%extension_postun
5c7004b5 2049
59bcb091 2050%post filepro
a9b191aa 2051%extension_post
c6f034c5 2052
f7f29656 2053%postun filepro
a9b191aa 2054%extension_postun
c6f034c5 2055
9ee9d278 2056%post fribidi
a9b191aa 2057%extension_post
9ee9d278 2058
f7f29656 2059%postun fribidi
a9b191aa 2060%extension_postun
9ee9d278 2061
59bcb091 2062%post ftp
a9b191aa 2063%extension_post
c6f034c5 2064
f7f29656 2065%postun ftp
a9b191aa 2066%extension_postun
c6f034c5 2067
4b65329d 2068%post gd
a9b191aa 2069%extension_post
c6f034c5 2070
f7f29656 2071%postun gd
a9b191aa 2072%extension_postun
c6f034c5 2073
59bcb091 2074%post gettext
a9b191aa 2075%extension_post
c6f034c5 2076
f7f29656 2077%postun gettext
a9b191aa 2078%extension_postun
59bcb091 2079
7f2d8ce7 2080%post gmp
a9b191aa 2081%extension_post
7f2d8ce7 2082
f7f29656 2083%postun gmp
a9b191aa 2084%extension_postun
7f2d8ce7 2085
2086%post hyperwave
a9b191aa 2087%extension_post
7f2d8ce7 2088
f7f29656 2089%postun hyperwave
a9b191aa 2090%extension_postun
7f2d8ce7 2091
2092%post iconv
a9b191aa 2093%extension_post
7f2d8ce7 2094
f7f29656 2095%postun iconv
a9b191aa 2096%extension_postun
7f2d8ce7 2097
59bcb091 2098%post imap
a9b191aa 2099%extension_post
59bcb091 2100
f7f29656 2101%postun imap
a9b191aa 2102%extension_postun
55eb8ec0 2103
7f2d8ce7 2104%post interbase
a9b191aa 2105%extension_post
7f2d8ce7 2106
f7f29656 2107%postun interbase
a9b191aa 2108%extension_postun
2e7fb277 2109
59bcb091 2110%post java
a9b191aa 2111%extension_post
59bcb091 2112
f7f29656 2113%postun java
a9b191aa 2114%extension_postun
e89e2b0f 2115
59bcb091 2116%post ldap
a9b191aa 2117%extension_post
c6f034c5 2118
f7f29656 2119%postun ldap
a9b191aa 2120%extension_postun
7f2d8ce7 2121
2122%post mbstring
a9b191aa 2123%extension_post
7f2d8ce7 2124
f7f29656 2125%postun mbstring
a9b191aa 2126%extension_postun
7f2d8ce7 2127
9ee9d278 2128%post mcal
a9b191aa 2129%extension_post
9ee9d278 2130
f7f29656 2131%postun mcal
a9b191aa 2132%extension_postun
9ee9d278 2133
59bcb091 2134%post mcrypt
a9b191aa 2135%extension_post
c6f034c5 2136
f7f29656 2137%postun mcrypt
a9b191aa 2138%extension_postun
c6f034c5 2139
59bcb091 2140%post mhash
a9b191aa 2141%extension_post
c6f034c5 2142
f7f29656 2143%postun mhash
a9b191aa 2144%extension_postun
c6f034c5 2145
5c7004b5 2146%post mime_magic
a9b191aa 2147%extension_post
5c7004b5 2148
f7f29656 2149%postun mime_magic
a9b191aa 2150%extension_postun
5c7004b5 2151
7f2d8ce7 2152%post ming
a9b191aa 2153%extension_post
c6f034c5 2154
f7f29656 2155%postun ming
a9b191aa 2156%extension_postun
c6f034c5 2157
7f2d8ce7 2158%post mnogosearch
a9b191aa 2159%extension_post
00003d57 2160
f7f29656 2161%postun mnogosearch
a9b191aa 2162%extension_postun
00003d57 2163
7f2d8ce7 2164%post msession
a9b191aa 2165%extension_post
7f2d8ce7 2166
f7f29656 2167%postun msession
a9b191aa 2168%extension_postun
d6b422ef 2169
ce79833d 2170%post mssql
a9b191aa 2171%extension_post
ce79833d 2172
f7f29656 2173%postun mssql
a9b191aa 2174%extension_postun
ce79833d 2175
7f2d8ce7 2176%post mysql
a9b191aa 2177%extension_post
7f2d8ce7 2178
f7f29656 2179%postun mysql
a9b191aa 2180%extension_postun
d6b422ef 2181
59bcb091 2182%post oci8
a9b191aa 2183%extension_post
c6f034c5 2184
f7f29656 2185%postun oci8
a9b191aa 2186%extension_postun
c6f034c5 2187
59bcb091 2188%post odbc
a9b191aa 2189%extension_post
c6f034c5 2190
f7f29656 2191%postun odbc
a9b191aa 2192%extension_postun
7f2d8ce7 2193
59bcb091 2194%post oracle
a9b191aa 2195%extension_post
c6f034c5 2196
f7f29656 2197%postun oracle
a9b191aa 2198%extension_postun
c6f034c5 2199
9ee9d278 2200%post overload
a9b191aa 2201%extension_post
9ee9d278 2202
f7f29656 2203%postun overload
a9b191aa 2204%extension_postun
9ee9d278 2205
59bcb091 2206%post pcre
a9b191aa 2207%extension_post
c6f034c5 2208
f7f29656 2209%postun pcre
a9b191aa 2210%extension_postun
c6f034c5 2211
9ee9d278 2212%post pdf
a9b191aa 2213%extension_post
9ee9d278 2214
f7f29656 2215%postun pdf
a9b191aa 2216%extension_postun
9ee9d278 2217
59bcb091 2218%post pgsql
a9b191aa 2219%extension_post
c6f034c5 2220
f7f29656 2221%postun pgsql
a9b191aa 2222%extension_postun
c6f034c5 2223
59bcb091 2224%post posix
a9b191aa 2225%extension_post
25595e5c 2226
f7f29656 2227%postun posix
a9b191aa 2228%extension_postun
25595e5c 2229
7f2d8ce7 2230%post pspell
a9b191aa 2231%extension_post
7f2d8ce7 2232
f7f29656 2233%postun pspell
a9b191aa 2234%extension_postun
7f2d8ce7 2235
9ee9d278 2236%post qtdom
a9b191aa 2237%extension_post
9ee9d278 2238
f7f29656 2239%postun qtdom
a9b191aa 2240%extension_postun
9ee9d278 2241
25595e5c 2242%post recode
a9b191aa 2243%extension_post
25595e5c 2244
f7f29656 2245%postun recode
a9b191aa 2246%extension_postun
25595e5c 2247
7f2d8ce7 2248%post shmop
a9b191aa 2249%extension_post
7f2d8ce7 2250
f7f29656 2251%postun shmop
a9b191aa 2252%extension_postun
7f2d8ce7 2253
6080c81d 2254%post snmp
a9b191aa 2255%extension_post
25595e5c 2256
f7f29656 2257%postun snmp
a9b191aa 2258%extension_postun
6080c81d 2259
59bcb091 2260%post sockets
a9b191aa 2261%extension_post
25595e5c 2262
f7f29656 2263%postun sockets
a9b191aa 2264%extension_postun
6080c81d 2265
5c7004b5 2266%post sybase
a9b191aa 2267%extension_post
5c7004b5 2268
f7f29656 2269%postun sybase
a9b191aa 2270%extension_postun
5c7004b5 2271
7f2d8ce7 2272%post sybase-ct
a9b191aa 2273%extension_post
7f2d8ce7 2274
f7f29656 2275%postun sybase-ct
a9b191aa 2276%extension_postun
7f2d8ce7 2277
5c7004b5 2278%post sysvmsg
a9b191aa 2279%extension_post
5c7004b5 2280
f7f29656 2281%postun sysvmsg
a9b191aa 2282%extension_postun
5c7004b5 2283
59bcb091 2284%post sysvsem
a9b191aa 2285%extension_post
25595e5c 2286
f7f29656 2287%postun sysvsem
a9b191aa 2288%extension_postun
6080c81d 2289
59bcb091 2290%post sysvshm
a9b191aa 2291%extension_post
25595e5c 2292
f7f29656 2293%postun sysvshm
a9b191aa 2294%extension_postun
6080c81d 2295
9a0f3d92
ER
2296%post tokenizer
2297%extension_post
2298
2299%postun tokenizer
2300%extension_postun
2301
7f2d8ce7 2302%post wddx
a9b191aa 2303%extension_post
5e5319cb 2304
f7f29656 2305%postun wddx
a9b191aa 2306%extension_postun
5e5319cb 2307
7f2d8ce7 2308%post xml
a9b191aa 2309%extension_post
800c41be 2310
f7f29656 2311%postun xml
a9b191aa 2312%extension_postun
800c41be 2313
7f2d8ce7 2314%post xmlrpc
a9b191aa 2315%extension_post
114759eb 2316
f7f29656 2317%postun xmlrpc
a9b191aa 2318%extension_postun
114759eb 2319
114759eb 2320%post xslt
a9b191aa 2321%extension_post
114759eb 2322
f7f29656 2323%postun xslt
a9b191aa 2324%extension_postun
114759eb 2325
7f2d8ce7 2326%post yaz
a9b191aa 2327%extension_post
114759eb 2328
f7f29656 2329%postun yaz
a9b191aa 2330%extension_postun
4f44efc9 2331
7f2d8ce7 2332%post yp
a9b191aa 2333%extension_post
5e5319cb 2334
f7f29656 2335%postun yp
a9b191aa 2336%extension_postun
5e5319cb 2337
9ee9d278 2338%post zip
a9b191aa 2339%extension_post
9ee9d278 2340
f7f29656 2341%postun zip
a9b191aa 2342%extension_postun
9ee9d278 2343
7f2d8ce7 2344%post zlib
a9b191aa 2345%extension_post
5e5319cb 2346
f7f29656 2347%postun zlib
a9b191aa
ER
2348%extension_postun
2349
2350# openssl trigger on common package. it removes shared openssl module from php.ini, if it was there.
2351%triggerun common -- %{name}-openssl < 3:4.4.0-4
54772c39 2352%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2353
2354%triggerun bcmath -- %{name}-bcmath < 3:4.4.0-2.1
54772c39 2355%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2356
2357%triggerun bzip2 -- %{name}-bzip2 < 3:4.4.0-2.1
54772c39 2358%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bz2\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2359
2360%triggerun calendar -- %{name}-calendar < 3:4.4.0-2.1
54772c39 2361%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2362
2363%triggerun cpdf -- %{name}-cpdf < 3:4.4.0-2.1
54772c39 2364%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*cpdf\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2365
2366%triggerun crack -- %{name}-crack < 3:4.4.0-2.1
54772c39 2367%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*crack\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2368
2369%triggerun ctype -- %{name}-ctype < 3:4.4.0-2.1
54772c39 2370%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2371
2372%triggerun curl -- %{name}-curl < 3:4.4.0-2.1
54772c39 2373%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2374
2375%triggerun db -- %{name}-db < 3:4.4.0-2.1
54772c39 2376%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*db\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2377
2378%triggerun dba -- %{name}-dba < 3:4.4.0-2.1
54772c39 2379%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2380
2381%triggerun dbase -- %{name}-dbase < 3:4.4.0-2.1
54772c39 2382%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbase\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2383
2384%triggerun dbx -- %{name}-dbx < 3:4.4.0-2.1
54772c39 2385%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbx\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2386
2387%triggerun dio -- %{name}-dio < 3:4.4.0-2.1
54772c39 2388%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dio\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2389
2390%triggerun domxml -- %{name}-domxml < 3:4.4.0-2.1
54772c39 2391%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*domxml\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2392
2393%triggerun exif -- %{name}-exif < 3:4.4.0-2.1
54772c39 2394%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2395
2396%triggerun fdf -- %{name}-fdf < 3:4.4.0-2.1
54772c39 2397%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2398
2399%triggerun filepro -- %{name}-filepro < 3:4.4.0-2.1
54772c39 2400%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*filepro\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2401
2402%triggerun fribidi -- %{name}-fribidi < 3:4.4.0-2.1
54772c39 2403%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fribidi\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2404
2405%triggerun ftp -- %{name}-ftp < 3:4.4.0-2.1
54772c39 2406%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2407
2408%triggerun gd -- %{name}-gd < 3:4.4.0-2.1
54772c39 2409%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2410
2411%triggerun gettext -- %{name}-gettext < 3:4.4.0-2.1
54772c39 2412%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2413
2414%triggerun gmp -- %{name}-gmp < 3:4.4.0-2.1
54772c39 2415%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2416
2417%triggerun hyperwave -- %{name}-hyperwave < 3:4.4.0-2.1
54772c39 2418%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*hyperwave\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2419
2420%triggerun iconv -- %{name}-iconv < 3:4.4.0-2.1
54772c39 2421%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2422
2423%triggerun imap -- %{name}-imap < 3:4.4.0-2.1
54772c39 2424%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2425
2426%triggerun interbase -- %{name}-interbase < 3:4.4.0-2.1
54772c39 2427%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2428
2429%triggerun java -- %{name}-java < 3:4.4.0-2.1
54772c39 2430%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*java\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2431
2432%triggerun ldap -- %{name}-ldap < 3:4.4.0-2.1
54772c39 2433%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2434
2435%triggerun mbstring -- %{name}-mbstring < 3:4.4.0-2.1
54772c39 2436%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2437
2438%triggerun mcal -- %{name}-mcal < 3:4.4.0-2.1
54772c39 2439%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcal\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2440
2441%triggerun mcrypt -- %{name}-mcrypt < 3:4.4.0-2.1
54772c39 2442%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2443
2444%triggerun mhash -- %{name}-mhash < 3:4.4.0-2.1
54772c39 2445%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mhash\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2446
2447%triggerun mime_magic -- %{name}-mime_magic < 3:4.4.0-2.1
54772c39 2448%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mime_magic\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2449
2450%triggerun ming -- %{name}-ming < 3:4.4.0-2.1
54772c39 2451%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ming\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2452
2453%triggerun mnogosearch -- %{name}-mnogosearch < 3:4.4.0-2.1
54772c39 2454%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mnogosearch\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2455
2456%triggerun msession -- %{name}-msession < 3:4.4.0-2.1
54772c39 2457%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*msession\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2458
2459%triggerun mssql -- %{name}-mssql < 3:4.4.0-2.1
54772c39 2460%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2461
2462%triggerun mysql -- %{name}-mysql < 3:4.4.0-2.1
54772c39 2463%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
a9b191aa 2464
1a8d74bb
ER
2465%triggerun ncurses -- %{name}-ncurses < 3:4.4.2-9.4
2466if [ -f %{_sysconfdir}/php-cgi.ini ]; then
54772c39 2467 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cgi.ini
1a8d74bb
ER
2468fi
2469if [ -f %{_sysconfdir}/php-cli.ini ]; then
54772c39 2470 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cli.ini
1a8d74bb
ER
2471fi
2472
a9b191aa 2473%triggerun oci8 -- %{name}-oci8 < 3:4.4.0-2.1
54772c39 2474%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2475
2476%triggerun odbc -- %{name}-odbc < 3:4.4.0-2.1
54772c39 2477%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2478
2479%triggerun oracle -- %{name}-oracle < 3:4.4.0-2.1
54772c39 2480%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oracle\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2481
2482%triggerun overload -- %{name}-overload < 3:4.4.0-2.1
54772c39 2483%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*overload\.so/d' %{_sysconfdir}/php.ini
a9b191aa 2484
1a8d74bb
ER
2485%triggerun pcntl -- %{name}-pcntl < 3:4.4.2-9.4
2486if [ -f %{_sysconfdir}/php-cgi.ini ]; then
54772c39 2487 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
1a8d74bb
ER
2488fi
2489if [ -f %{_sysconfdir}/php-cli.ini ]; then
54772c39 2490 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
1a8d74bb
ER
2491fi
2492
a9b191aa 2493%triggerun pcre -- %{name}-pcre < 3:4.4.0-2.1
54772c39 2494%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcre\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2495
2496%triggerun pdf -- %{name}-pdf < 3:4.4.0-2.1
54772c39 2497%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pdf\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2498
2499%triggerun pgsql -- %{name}-pgsql < 3:4.4.0-2.1
54772c39 2500%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2501
2502%triggerun posix -- %{name}-posix < 3:4.4.0-2.1
54772c39 2503%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2504
2505%triggerun pspell -- %{name}-pspell < 3:4.4.0-2.1
54772c39 2506%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2507
2508%triggerun qtdom -- %{name}-qtdom < 3:4.4.0-2.1
54772c39 2509%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*qtdom\.so/d' %{_sysconfdir}/php.ini
a9b191aa 2510
1a8d74bb
ER
2511%triggerun readline -- %{name}-readline < 3:4.4.2-9.4
2512if [ -f %{_sysconfdir}/php-cgi.ini ]; then
54772c39 2513 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
1a8d74bb
ER
2514fi
2515if [ -f %{_sysconfdir}/php-cli.ini ]; then
54772c39 2516 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
1a8d74bb
ER
2517fi
2518
a9b191aa 2519%triggerun recode -- %{name}-recode < 3:4.4.0-2.1
54772c39 2520%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
a9b191aa 2521
a9b191aa 2522%triggerun shmop -- %{name}-shmop < 3:4.4.0-2.1
54772c39 2523%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2524
2525%triggerun snmp -- %{name}-snmp < 3:4.4.0-2.1
54772c39 2526%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2527
2528%triggerun sockets -- %{name}-sockets < 3:4.4.0-2.1
54772c39 2529%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2530
2531%triggerun sybase -- %{name}-sybase < 3:4.4.0-2.1
54772c39 2532%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2533
2534%triggerun sybase-ct -- %{name}-sybase-ct < 3:4.4.0-2.1
54772c39 2535%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase_ct\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2536
2537%triggerun sysvmsg -- %{name}-sysvmsg < 3:4.4.0-2.1
54772c39 2538%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2539
2540%triggerun sysvsem -- %{name}-sysvsem < 3:4.4.0-2.1
54772c39 2541%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2542
2543%triggerun sysvshm -- %{name}-sysvshm < 3:4.4.0-2.1
54772c39 2544%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2545
2546%triggerun wddx -- %{name}-wddx < 3:4.4.0-2.1
54772c39 2547%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2548
2549%triggerun xml -- %{name}-xml < 3:4.4.0-2.1
54772c39 2550%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2551
2552%triggerun xmlrpc -- %{name}-xmlrpc < 3:4.4.0-2.1
54772c39 2553%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2554
2555%triggerun xslt -- %{name}-xslt < 3:4.4.0-2.1
54772c39 2556%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xslt\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2557
2558%triggerun yaz -- %{name}-yaz < 3:4.4.0-2.1
54772c39 2559%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*yaz\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2560
2561%triggerun yp -- %{name}-yp < 3:4.4.0-2.1
54772c39 2562%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*yp\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2563
2564%triggerun zip -- %{name}-zip < 3:4.4.0-2.1
54772c39 2565%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zip\.so/d' %{_sysconfdir}/php.ini
f7f29656 2566
6d5ed34c 2567%triggerun zlib -- %{name}-zlib < 3:4.4.0-2.1
54772c39 2568%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
5e5319cb 2569
c6842fa7 2570%if %{with apache1}
74c09513
ER
2571%files -n apache1-mod_php4
2572%defattr(644,root,root,755)
e0ed97fd 2573%doc sapi/apache/CREDITS
520d65e9 2574%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php4.conf
1a8d74bb 2575%dir %{_sysconfdir}/apache.d
520d65e9 2576%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
e622724a 2577%attr(755,root,root) %{_libdir}/apache1/libphp4.so
74c09513 2578/home/services/apache/icons/*
c6842fa7 2579%endif
74c09513 2580
c6842fa7 2581%if %{with apache2}
74c09513 2582%files -n apache-mod_php4
e89e2b0f 2583%defattr(644,root,root,755)
e0ed97fd 2584%doc sapi/apache2handler/{CREDITS,README}
520d65e9 2585%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php4.conf
1a8d74bb 2586%dir %{_sysconfdir}/apache2handler.d
520d65e9 2587%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
e622724a 2588%attr(755,root,root) %{_libdir}/apache/libphp4.so
74c09513 2589/home/services/httpd/icons/*
c6842fa7 2590%endif
28f4aa77 2591
7a419765 2592%if %{with fcgi}
7cd0f72f
AM
2593%files fcgi
2594%defattr(644,root,root,755)
e0ed97fd 2595%doc sapi/cgi/{CREDITS,README.FastCGI}
491205f7 2596%attr(755,root,root) %{_bindir}/php4.fcgi
1a8d74bb 2597%dir %{_sysconfdir}/cgi-fcgi.d
520d65e9 2598%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
7a419765 2599%endif
7cd0f72f 2600
28f4aa77
JR
2601%files cgi
2602%defattr(644,root,root,755)
e0ed97fd 2603%doc sapi/cgi/CREDITS
491205f7 2604%attr(755,root,root) %{_bindir}/php4.cgi
1a8d74bb 2605%dir %{_sysconfdir}/cgi.d
520d65e9 2606%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
28f4aa77 2607
422bc385
JB
2608%files cli
2609%defattr(644,root,root,755)
e0ed97fd 2610%doc sapi/cli/{CREDITS,README}
491205f7 2611%attr(755,root,root) %{_bindir}/php4.cli
6d5ed34c 2612%attr(755,root,root) %{_bindir}/php4
1a8d74bb 2613%dir %{_sysconfdir}/cli.d
520d65e9 2614%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
491205f7 2615%{_mandir}/man1/php4.1*
422bc385 2616
efe21d81
ER
2617%files program
2618%defattr(644,root,root,755)
2619%attr(755,root,root) %{_bindir}/php
2620
28f4aa77
JR
2621%files common
2622%defattr(644,root,root,755)
ba7233b7 2623%doc php.ini-*
8a6abb99 2624%doc CREDITS Zend/ZEND_CHANGES
7f2d8ce7 2625%doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
e89e2b0f 2626
13f54fcc 2627%dir %{_sysconfdir}
6d5ed34c 2628%dir %{_sysconfdir}/conf.d
3f810123 2629%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
b73947d6 2630%attr(755,root,root) %{_libdir}/libphp_common-*.so
28dd0654
AF
2631%dir %{extensionsdir}
2632
2633%files devel
2634%defattr(644,root,root,755)
8a6abb99
ER
2635%doc README.UNIX-BUILD-SYSTEM
2636%doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2637%doc CODING_STANDARDS
28dd0654
AF
2638%attr(755,root,root) %{_bindir}/phpize
2639%attr(755,root,root) %{_bindir}/php-config
8a6abb99 2640%attr(755,root,root) %{_bindir}/php-ext_skel
b73947d6 2641%attr(755,root,root) %{_libdir}/libphp_common.so
74c09513 2642# FIXME: how exactly this is needed? as it contains libdir for apache1 or apache2
93af1413 2643%{_libdir}/libphp_common.la
b73947d6 2644%{_includedir}/php
28d58db8 2645%{_libdir}/php/build
c6842fa7
AM
2646%{_mandir}/man1/php-config.1*
2647%{_mandir}/man1/phpize.1*
28dd0654 2648
7f2d8ce7 2649%files bcmath
00003d57 2650%defattr(644,root,root,755)
e0ed97fd 2651%doc ext/bcmath/CREDITS
520d65e9 2652%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
7f2d8ce7 2653%attr(755,root,root) %{extensionsdir}/bcmath.so
00003d57 2654
7f2d8ce7 2655%files bzip2
c6f034c5 2656%defattr(644,root,root,755)
e0ed97fd 2657%doc ext/bz2/CREDITS
520d65e9 2658%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
7f2d8ce7 2659%attr(755,root,root) %{extensionsdir}/bz2.so
c6f034c5 2660
7f2d8ce7 2661%files calendar
59bcb091 2662%defattr(644,root,root,755)
e0ed97fd 2663%doc ext/calendar/CREDITS
520d65e9 2664%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
7f2d8ce7 2665%attr(755,root,root) %{extensionsdir}/calendar.so
816d4a09 2666
b6f861c7 2667%if %{with cpdf}
7f2d8ce7 2668%files cpdf
50542e66 2669%defattr(644,root,root,755)
e0ed97fd 2670%doc ext/cpdf/CREDITS
520d65e9 2671%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/cpdf.ini
7f2d8ce7 2672%attr(755,root,root) %{extensionsdir}/cpdf.so
50542e66 2673%endif
2674
9ee9d278 2675%files crack
2676%defattr(644,root,root,755)
e0ed97fd 2677%doc ext/crack/CREDITS
520d65e9 2678%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/crack.ini
9ee9d278 2679%attr(755,root,root) %{extensionsdir}/crack.so
2680
7f2d8ce7 2681%files ctype
4aa30c82 2682%defattr(644,root,root,755)
e0ed97fd 2683%doc ext/ctype/{CREDITS,README}
520d65e9 2684%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
7f2d8ce7 2685%attr(755,root,root) %{extensionsdir}/ctype.so
55eb8ec0 2686
b6f861c7 2687%if %{with curl}
7f2d8ce7 2688%files curl
e502ab2a 2689%defattr(644,root,root,755)
e0ed97fd 2690%doc ext/curl/CREDITS
520d65e9 2691%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
7f2d8ce7 2692%attr(755,root,root) %{extensionsdir}/curl.so
ab5ab063 2693%endif
55eb8ec0 2694
9ee9d278 2695%files db
2696%defattr(644,root,root,755)
e0ed97fd 2697%doc ext/db/CREDITS
520d65e9 2698%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/db.ini
9ee9d278 2699%attr(755,root,root) %{extensionsdir}/db.so
2700
c6f034c5
AF
2701%files dba
2702%defattr(644,root,root,755)
e0ed97fd 2703%doc ext/dba/{CREDITS,README}
520d65e9 2704%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
28dd0654 2705%attr(755,root,root) %{extensionsdir}/dba.so
c6f034c5
AF
2706
2707%files dbase
2708%defattr(644,root,root,755)
e0ed97fd 2709%doc ext/dbase/CREDITS
520d65e9 2710%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
28dd0654 2711%attr(755,root,root) %{extensionsdir}/dbase.so
c6f034c5 2712
7f2d8ce7 2713%files dbx
c6f034c5 2714%defattr(644,root,root,755)
e0ed97fd 2715%doc ext/dbx/{CREDITS,howto_extend_dbx.html}
520d65e9 2716%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbx.ini
7f2d8ce7 2717%attr(755,root,root) %{extensionsdir}/dbx.so
c6f034c5 2718
7f2d8ce7 2719%files dio
c6f034c5 2720%defattr(644,root,root,755)
520d65e9 2721%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dio.ini
7f2d8ce7 2722%attr(755,root,root) %{extensionsdir}/dio.so
c6f034c5 2723
9ee9d278 2724%if %{with xml}
2725%files domxml
c6f034c5 2726%defattr(644,root,root,755)
e0ed97fd 2727%doc ext/domxml/{CREDITS,TODO}
520d65e9 2728%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/domxml.ini
9ee9d278 2729%attr(755,root,root) %{extensionsdir}/domxml.so
9b236db2 2730%endif
c6f034c5 2731
b6f861c7 2732%if %{with fdf}
5c7004b5
JB
2733%files fdf
2734%defattr(644,root,root,755)
e0ed97fd 2735%doc ext/fdf/CREDITS
520d65e9 2736%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
5c7004b5
JB
2737%attr(755,root,root) %{extensionsdir}/fdf.so
2738%endif
2739
7f2d8ce7 2740%files exif
c6f034c5 2741%defattr(644,root,root,755)
e0ed97fd 2742%doc ext/exif/CREDITS
520d65e9 2743%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
7f2d8ce7 2744%attr(755,root,root) %{extensionsdir}/exif.so
c6f034c5 2745
7f2d8ce7 2746%files filepro
c6f034c5 2747%defattr(644,root,root,755)
e0ed97fd 2748%doc ext/filepro/CREDITS
520d65e9 2749%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filepro.ini
7f2d8ce7 2750%attr(755,root,root) %{extensionsdir}/filepro.so
c6f034c5 2751
9ee9d278 2752%if %{with fribidi}
2753%files fribidi
2754%defattr(644,root,root,755)
2755%doc ext/fribidi/{CREDITS,README}
520d65e9 2756%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fribidi.ini
9ee9d278 2757%attr(755,root,root) %{extensionsdir}/fribidi.so
2758%endif
2759
c6f034c5
AF
2760%files ftp
2761%defattr(644,root,root,755)
e0ed97fd 2762%doc ext/ftp/CREDITS
520d65e9 2763%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
28dd0654 2764%attr(755,root,root) %{extensionsdir}/ftp.so
c6f034c5 2765
7f2d8ce7 2766%files gd
c6f034c5 2767%defattr(644,root,root,755)
e0ed97fd 2768%doc ext/gd/CREDITS
520d65e9 2769%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
7f2d8ce7 2770%attr(755,root,root) %{extensionsdir}/gd.so
c6f034c5 2771
7f2d8ce7 2772%files gettext
5e5319cb 2773%defattr(644,root,root,755)
e0ed97fd 2774%doc ext/gettext/CREDITS
520d65e9 2775%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
7f2d8ce7 2776%attr(755,root,root) %{extensionsdir}/gettext.so
5e5319cb 2777
7f2d8ce7 2778%files gmp
25595e5c 2779%defattr(644,root,root,755)
e0ed97fd 2780%doc ext/gmp/{CREDITS,README,TODO}
520d65e9 2781%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
7f2d8ce7 2782%attr(755,root,root) %{extensionsdir}/gmp.so
25595e5c 2783
7f2d8ce7 2784%files hyperwave
25595e5c 2785%defattr(644,root,root,755)
e0ed97fd 2786%doc ext/hyperwave/CREDITS
520d65e9 2787%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hyperwave.ini
7f2d8ce7 2788%attr(755,root,root) %{extensionsdir}/hyperwave.so
25595e5c 2789
7f2d8ce7 2790%files iconv
25595e5c 2791%defattr(644,root,root,755)
520d65e9 2792%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
7f2d8ce7 2793%attr(755,root,root) %{extensionsdir}/iconv.so
25595e5c 2794
b6f861c7 2795%if %{with imap}
ba18f505
AF
2796%files imap
2797%defattr(644,root,root,755)
e0ed97fd 2798%doc ext/imap/CREDITS
520d65e9 2799%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
28dd0654 2800%attr(755,root,root) %{extensionsdir}/imap.so
e199e256 2801%endif
ba18f505 2802
b6f861c7 2803%if %{with interbase}
7f2d8ce7 2804%files interbase
25595e5c 2805%defattr(644,root,root,755)
e0ed97fd 2806%doc ext/interbase/CREDITS
520d65e9 2807%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
7f2d8ce7 2808%attr(755,root,root) %{extensionsdir}/interbase.so
e199e256 2809%endif
25595e5c 2810
b6f861c7 2811%if %{with java}
55eb8ec0
AF
2812%files java
2813%defattr(644,root,root,755)
e0ed97fd 2814%doc ext/java/{CREDITS,README}
520d65e9 2815%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/java.ini
7f2d8ce7 2816%attr(755,root,root) %{extensionsdir}/java.so
93af1413 2817%{extensionsdir}/php_java.jar
59bcb091 2818%endif
1d69deca 2819
b6f861c7 2820%if %{with ldap}
6080c81d 2821%files ldap
b0e541d8 2822%defattr(644,root,root,755)
e0ed97fd 2823%doc ext/ldap/CREDITS
520d65e9 2824%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
5e5319cb 2825%attr(755,root,root) %{extensionsdir}/ldap.so
59bcb091 2826%endif
6080c81d 2827
7f2d8ce7 2828%files mbstring
b0e541d8 2829%defattr(644,root,root,755)
e0ed97fd 2830%doc ext/mbstring/{CREDITS,README,README.libmbfl}
520d65e9 2831%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
7f2d8ce7 2832%attr(755,root,root) %{extensionsdir}/mbstring.so
2833
9ee9d278 2834%files mcal
2835%defattr(644,root,root,755)
e0ed97fd 2836%doc ext/mcal/CREDITS
520d65e9 2837%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcal.ini
9ee9d278 2838%attr(755,root,root) %{extensionsdir}/mcal.so
2839
6080c81d 2840%files mcrypt
b0e541d8 2841%defattr(644,root,root,755)
e0ed97fd 2842%doc ext/mcrypt/{CREDITS,TODO}
520d65e9 2843%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
28dd0654 2844%attr(755,root,root) %{extensionsdir}/mcrypt.so
6080c81d 2845
b6f861c7 2846%if %{with mhash}
59bcb091
AF
2847%files mhash
2848%defattr(644,root,root,755)
e0ed97fd 2849%doc ext/mhash/CREDITS
520d65e9 2850%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
28dd0654 2851%attr(755,root,root) %{extensionsdir}/mhash.so
05039a7d 2852%endif
59bcb091 2853
5c7004b5
JB
2854%files mime_magic
2855%defattr(644,root,root,755)
e0ed97fd 2856%doc ext/mime_magic/{CREDITS,TODO}
520d65e9 2857%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
5c7004b5
JB
2858%attr(755,root,root) %{extensionsdir}/mime_magic.so
2859
b6f861c7 2860%if %{with ming}
7f2d8ce7 2861%files ming
2862%defattr(644,root,root,755)
e0ed97fd 2863%doc ext/ming/CREDITS
520d65e9 2864%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
7f2d8ce7 2865%attr(755,root,root) %{extensionsdir}/ming.so
05039a7d 2866%endif
7f2d8ce7 2867
b6f861c7 2868%if %{with mnogosearch}
7f2d8ce7 2869%files mnogosearch
2870%defattr(644,root,root,755)
e0ed97fd 2871%doc ext/mnogosearch/{CREDITS,README}
520d65e9 2872%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mnogosearch.ini
7f2d8ce7 2873%attr(755,root,root) %{extensionsdir}/mnogosearch.so
05039a7d 2874%endif
7f2d8ce7 2875
b6f861c7 2876%if %{with msession}
7f2d8ce7 2877%files msession
2878%defattr(644,root,root,755)
e0ed97fd 2879%doc ext/msession/{CREDITS,README,msession-test.php}
520d65e9 2880%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/msession.ini
7f2d8ce7 2881%attr(755,root,root) %{extensionsdir}/msession.so
2882%endif
2883
b6f861c7 2884%if %{with mssql}
ce79833d 2885%files mssql
2886%defattr(644,root,root,755)
e0ed97fd 2887%doc ext/mssql/CREDITS
520d65e9 2888%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
ce79833d 2889%attr(755,root,root) %{extensionsdir}/mssql.so
2890%endif
2891
7f2d8ce7 2892%files mysql
2893%defattr(644,root,root,755)
e0ed97fd 2894%doc ext/mysql/CREDITS
520d65e9 2895%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
7f2d8ce7 2896%attr(755,root,root) %{extensionsdir}/mysql.so
2897
5c7004b5
JB
2898%files ncurses
2899%defattr(644,root,root,755)
e0ed97fd 2900%doc ext/ncurses/CREDITS
1a8d74bb 2901%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/ncurses.ini
5c7004b5
JB
2902%attr(755,root,root) %{extensionsdir}/ncurses.so
2903
b6f861c7 2904%if %{with oci8}
7f2d8ce7 2905%files oci8
2906%defattr(644,root,root,755)
e0ed97fd 2907%doc ext/oci8/CREDITS
520d65e9 2908%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
7f2d8ce7 2909%attr(755,root,root) %{extensionsdir}/oci8.so
2910%endif
2911
b6f861c7 2912%if %{with odbc}
59bcb091
AF
2913%files odbc
2914%defattr(644,root,root,755)
e0ed97fd 2915%doc ext/odbc/CREDITS
520d65e9 2916%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
28dd0654 2917%attr(755,root,root) %{extensionsdir}/odbc.so
e199e256 2918%endif
59bcb091 2919
b6f861c7 2920%if %{with oracle}
7f2d8ce7 2921%files oracle
800c41be 2922%defattr(644,root,root,755)
e0ed97fd 2923%doc ext/oracle/CREDITS
520d65e9 2924%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oracle.ini
7f2d8ce7 2925%attr(755,root,root) %{extensionsdir}/oracle.so
2926%endif
4f44efc9 2927
9ee9d278 2928%files overload
2929%defattr(644,root,root,755)
e0ed97fd 2930%doc ext/overload/{CREDITS,README}
520d65e9 2931%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/overload.ini
9ee9d278 2932%attr(755,root,root) %{extensionsdir}/overload.so
2933
e6e515f1
JB
2934%files pcntl
2935%defattr(644,root,root,755)
e0ed97fd 2936%doc ext/pcntl/{CREDITS,README}
1a8d74bb 2937%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
e6e515f1 2938%attr(755,root,root) %{extensionsdir}/pcntl.so
7f2d8ce7 2939
b6f861c7 2940%if %{with pcre}
7f2d8ce7 2941%files pcre
8d728856 2942%defattr(644,root,root,755)
e0ed97fd 2943%doc ext/pcre/CREDITS
520d65e9 2944%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcre.ini
7f2d8ce7 2945%attr(755,root,root) %{extensionsdir}/pcre.so
e6e515f1 2946%endif
7f2d8ce7 2947
9ee9d278 2948%if %{with pdf}
2949%files pdf
2950%defattr(644,root,root,755)
e0ed97fd 2951%doc ext/pdf/CREDITS
520d65e9 2952%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdf.ini
9ee9d278 2953%attr(755,root,root) %{extensionsdir}/pdf.so
2954%endif
2955
b6f861c7 2956%if %{with pgsql}
7f2d8ce7 2957%files pgsql
2958%defattr(644,root,root,755)
e0ed97fd 2959%doc ext/pgsql/{CREDITS,README}
520d65e9 2960%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
7f2d8ce7 2961%attr(755,root,root) %{extensionsdir}/pgsql.so
ab5ab063 2962%endif
7f2d8ce7 2963
2964%files posix
2965%defattr(644,root,root,755)
e0ed97fd 2966%doc ext/posix/CREDITS
520d65e9 2967%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
7f2d8ce7 2968%attr(755,root,root) %{extensionsdir}/posix.so
2969
b6f861c7 2970%if %{with pspell}
7f2d8ce7 2971%files pspell
2972%defattr(644,root,root,755)
e0ed97fd 2973%doc ext/overload/{CREDITS,README}
520d65e9 2974%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
7f2d8ce7 2975%attr(755,root,root) %{extensionsdir}/pspell.so
05039a7d 2976%endif
7f2d8ce7 2977
9ee9d278 2978%if %{with qtdom}
2979%files qtdom
2980%defattr(644,root,root,755)
e0ed97fd 2981%doc ext/qtdom/CREDITS
520d65e9 2982%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/qtdom.ini
9ee9d278 2983%attr(755,root,root) %{extensionsdir}/qtdom.so
2984%endif
2985
5c7004b5
JB
2986%files readline
2987%defattr(644,root,root,755)
e0ed97fd 2988%doc ext/readline/{CREDITS,README.libedit}
1a8d74bb 2989%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
5c7004b5
JB
2990%attr(755,root,root) %{extensionsdir}/readline.so
2991
b6f861c7 2992%if %{with recode}
7f2d8ce7 2993%files recode
2994%defattr(644,root,root,755)
e0ed97fd 2995%doc ext/recode/CREDITS
520d65e9 2996%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
7f2d8ce7 2997%attr(755,root,root) %{extensionsdir}/recode.so
2998%endif
2999
3000# session_mm doesn't work with shared session
3001#%files session
3002#%defattr(644,root,root,755)
6d5ed34c 3003#%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/session.ini
7f2d8ce7 3004#%attr(755,root,root) %{extensionsdir}/session.so
3005
3006%files shmop
3007%defattr(644,root,root,755)
e0ed97fd 3008%doc ext/shmop/{CREDITS,README}
520d65e9 3009%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
7f2d8ce7 3010%attr(755,root,root) %{extensionsdir}/shmop.so
3011
b6f861c7 3012%if %{with snmp}
7f2d8ce7 3013%files snmp
3014%defattr(644,root,root,755)
e0ed97fd 3015%doc ext/snmp/CREDITS
520d65e9 3016%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
7f2d8ce7 3017%attr(755,root,root) %{extensionsdir}/snmp.so
3018%endif
3019
3020%files sockets
3021%defattr(644,root,root,755)
e0ed97fd 3022%doc ext/sockets/CREDITS
520d65e9 3023%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
7f2d8ce7 3024%attr(755,root,root) %{extensionsdir}/sockets.so
3025
b6f861c7 3026%if %{with sybase}
5c7004b5
JB
3027%files sybase
3028%defattr(644,root,root,755)
e0ed97fd 3029%doc ext/sybase/CREDITS
520d65e9 3030%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
5c7004b5
JB
3031%attr(755,root,root) %{extensionsdir}/sybase.so
3032
7f2d8ce7 3033%files sybase-ct
3034%defattr(644,root,root,755)
e0ed97fd 3035%doc ext/sybase_ct/CREDITS
520d65e9 3036%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
7f2d8ce7 3037%attr(755,root,root) %{extensionsdir}/sybase_ct.so
8d728856 3038%endif
2fa1a084 3039
5c7004b5
JB
3040%files sysvmsg
3041%defattr(644,root,root,755)
e0ed97fd 3042%doc ext/sysvmsg/CREDITS
520d65e9 3043%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
5c7004b5
JB
3044%attr(755,root,root) %{extensionsdir}/sysvmsg.so
3045
7f2d8ce7 3046%files sysvsem
3047%defattr(644,root,root,755)
e0ed97fd 3048%doc ext/sysvsem/CREDITS
520d65e9 3049%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
7f2d8ce7 3050%attr(755,root,root) %{extensionsdir}/sysvsem.so
3051
3052%files sysvshm
3053%defattr(644,root,root,755)
e0ed97fd 3054%doc ext/sysvshm/CREDITS
520d65e9 3055%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
7f2d8ce7 3056%attr(755,root,root) %{extensionsdir}/sysvshm.so
3057
9a0f3d92
ER
3058%files tokenizer
3059%defattr(644,root,root,755)
e0ed97fd 3060%doc ext/tokenizer/{CREDITS,tokenizer.php}
520d65e9 3061%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
9a0f3d92
ER
3062%attr(755,root,root) %{extensionsdir}/tokenizer.so
3063
b6f861c7 3064%if %{with wddx}
2fa1a084
JB
3065%files wddx
3066%defattr(644,root,root,755)
e0ed97fd 3067%doc ext/wddx/CREDITS
0ae8174c 3068%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2fa1a084
JB
3069%attr(755,root,root) %{extensionsdir}/wddx.so
3070%endif
114759eb 3071
b6f861c7 3072%if %{with xml}
7f2d8ce7 3073%files xml
3074%defattr(644,root,root,755)
e0ed97fd 3075%doc ext/xml/CREDITS
520d65e9 3076%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
7f2d8ce7 3077%attr(755,root,root) %{extensionsdir}/xml.so
e6e515f1 3078%endif
7f2d8ce7 3079
b6f861c7 3080%if %{with xmlrpc}
7f2d8ce7 3081%files xmlrpc
114759eb 3082%defattr(644,root,root,755)
e0ed97fd 3083%doc ext/xmlrpc/CREDITS
520d65e9 3084%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
7f2d8ce7 3085%attr(755,root,root) %{extensionsdir}/xmlrpc.so
e6e515f1 3086%endif
7f2d8ce7 3087
9ee9d278 3088%if %{with xslt}
3089%files xslt
3090%defattr(644,root,root,755)
e0ed97fd 3091%doc ext/xslt/{README.XSLT-BACKENDS,TODO}
520d65e9 3092%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xslt.ini
9ee9d278 3093%attr(755,root,root) %{extensionsdir}/xslt.so
3094%endif
5e5319cb 3095
b6f861c7 3096%if %{with yaz}
7f2d8ce7 3097%files yaz
5e5319cb 3098%defattr(644,root,root,755)
e0ed97fd 3099%doc ext/yaz/{CREDITS,README}
520d65e9 3100%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/yaz.ini
7f2d8ce7 3101%attr(755,root,root) %{extensionsdir}/yaz.so
64fa0c46 3102%endif
5e5319cb 3103
7f2d8ce7 3104%files yp
5e5319cb 3105%defattr(644,root,root,755)
e0ed97fd 3106%doc ext/yp/CREDITS
520d65e9 3107%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/yp.ini
7f2d8ce7 3108%attr(755,root,root) %{extensionsdir}/yp.so
5e5319cb 3109
9ee9d278 3110%files zip
3111%defattr(644,root,root,755)
e0ed97fd 3112%doc ext/zip/CREDITS
520d65e9 3113%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
9ee9d278 3114%attr(755,root,root) %{extensionsdir}/zip.so
3115
7f2d8ce7 3116%files zlib
3117%defattr(644,root,root,755)
e0ed97fd 3118%doc ext/zlib/CREDITS
520d65e9 3119%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
7f2d8ce7 3120%attr(755,root,root) %{extensionsdir}/zlib.so
This page took 0.880595 seconds and 4 git commands to generate.