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