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