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