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