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