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