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