]> git.pld-linux.org Git - packages/php4.git/blame - php4.spec
- based on php-fcgi-graceful.patch
[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
4e2e6bf4 76%define _rel 8
c3df63c9 77Summary: PHP: Hypertext Preprocessor
d5d89d78
ER
78Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
79Summary(pl.UTF-8): Język skryptowy PHP
80Summary(pt_BR.UTF-8): A linguagem de script PHP
81Summary(ru.UTF-8): PHP Версии 4 - язык препроцессирования HTML-файлов, выполняемый на сервере
82Summary(uk.UTF-8): PHP Версії 4 - мова препроцесування HTML-файлів, виконувана на сервері
9ee9d278 83Name: php4
f8aa64c9 84Version: 4.4.7
520d65e9 85Release: %{_rel}%{?with_hardening:hardened}
824f19c2 86Epoch: 3
b71f868e 87License: PHP
71e6861e 88Group: Libraries
1be9c469 89Source0: http://www.php.net/distributions/php-%{version}.tar.bz2
f8aa64c9 90# Source0-md5: 3f21b44d37a57ca3876d3aea713c700d
ba7233b7 91Source2: zend.gif
fff2496f
ER
92Source3: %{name}-mod_php.conf
93Source4: %{name}-cgi-fcgi.ini
94Source5: %{name}-cgi.ini
95Source6: %{name}-apache.ini
96Source7: %{name}-cli.ini
97Source8: http://www.hardened-php.net/hardening-patch-4.4.0-0.4.3.patch.gz
98# Source8-md5: 6eac3c5c5a7473c68a043c7657298f48
8d728856 99Patch0: %{name}-shared.patch
100Patch1: %{name}-pldlogo.patch
100fb1c2 101Patch2: %{name}-xml-expat-fix.patch
8d728856 102Patch3: %{name}-mail.patch
100fb1c2 103Patch4: %{name}-link-libs.patch
04d75b94
JB
104Patch5: %{name}-libpq_fs_h_path.patch
105Patch6: %{name}-wddx-fix.patch
46e729ae 106Patch7: %{name}-lib.patch
9ee9d278 107Patch8: %{name}-hyperwave-fix.patch
108Patch9: %{name}-xslt-gcc33.patch
109Patch10: %{name}-java-norpath.patch
110Patch11: %{name}-mcal-shared-lib.patch
111Patch12: %{name}-msession-shared-lib.patch
112Patch13: %{name}-build_modules.patch
113Patch14: %{name}-sapi-ini-file.patch
114Patch15: %{name}-no-metaccld.patch
115Patch16: %{name}-session-unregister.patch
116Patch17: %{name}-ini.patch
117Patch18: %{name}-acam.patch
118Patch19: %{name}-xmlrpc-fix.patch
119Patch20: %{name}-libtool.patch
120Patch21: %{name}-allow-db31.patch
121Patch22: %{name}-threads-acfix.patch
9d5fcb35 122Patch23: %{name}-gmp.patch
9ee9d278 123Patch24: %{name}-qt.patch
124Patch25: %{name}-no_pear_install.patch
125Patch26: %{name}-zlib.patch
126Patch27: %{name}-db-shared.patch
127Patch28: %{name}-sybase-fix.patch
1be9c469
AG
128Patch29: %{name}-lib64.patch
129Patch30: %{name}-mnogosearch-fix.patch
a9b191aa 130Patch31: %{name}-stupidapache_version.patch
65d870bf 131Patch33: %{name}-uint32_t.patch
cd557e67 132Patch34: %{name}-install_gd_headers.patch
74c09513 133Patch35: %{name}-both-apxs.patch
c9eb06d2
ER
134Patch36: php-dextension.patch
135Patch37: %{name}-zlib-for-getimagesize.patch
08482442 136Patch38: %{name}-ini-search-path.patch
e84e1b0f
AG
137Patch39: %{name}-versioning.patch
138Patch40: %{name}-linkflags-clean.patch
139# XXX: obsolete?
140Patch41: %{name}-openssl-huge-hack.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
90f56ec5 146Patch48: %{name}-krb5.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
abf57784 1136Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1137Provides: php(pcntl)
7f2d8ce7 1138
1139%description pcntl
5c7004b5
JB
1140This is a dynamic shared object (DSO) for PHP that will add process
1141spawning and control support. It supports functions like fork(),
1142waitpid(), signal() etc.
7f2d8ce7 1143
1144Warning: this is an experimental module. Also, don't use it in
1145webserver environment!
1146
7209a264
JR
1147%description pcntl -l pl.UTF-8
1148Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1149Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
7f2d8ce7 1150
7209a264
JR
1151Uwaga: to jest moduł eksperymentalny. Ponadto nie jest przeznaczony do
1152używania z serwerem WWW - nie próbuj tego!
7f2d8ce7 1153
1154%package pcre
1155Summary: PCRE extension module for PHP
d5d89d78 1156Summary(pl.UTF-8): Moduł PCRE dla PHP
7f2d8ce7 1157Group: Libraries
07a453e9 1158Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1159Provides: php(pcre)
7f2d8ce7 1160
1161%description pcre
5c7004b5
JB
1162This is a dynamic shared object (DSO) for PHP that will add Perl
1163Compatible Regular Expression support.
7f2d8ce7 1164
7209a264
JR
1165%description pcre -l pl.UTF-8
1166Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
7f2d8ce7 1167(Perl Compatible Regular Expressions)
1168
9ee9d278 1169%package pdf
1170Summary: PDF creation module module for PHP
d5d89d78 1171Summary(pl.UTF-8): Moduł do tworzenia plików PDF dla PHP
9ee9d278 1172Group: Libraries
07a453e9 1173Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1174Provides: php(pdf)
9ee9d278 1175
1176%description pdf
1177This is a dynamic shared object (DSO) for PHP that will add PDF
1178support through pdflib.
1179
7209a264
JR
1180%description pdf -l pl.UTF-8
1181Moduł PHP umożliwiający tworzenie plików PDF. Wykorzystuje bibliotekę
9ee9d278 1182pdflib.
1183
7f2d8ce7 1184%package pgsql
1185Summary: PostgreSQL database module for PHP
d5d89d78 1186Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
7f2d8ce7 1187Group: Libraries
07a453e9 1188Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1189Provides: php(pgsql)
7f2d8ce7 1190
1191%description pgsql
5c7004b5
JB
1192This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1193database support.
7f2d8ce7 1194
7209a264
JR
1195%description pgsql -l pl.UTF-8
1196Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
7f2d8ce7 1197
7209a264
JR
1198%description pgsql -l pt_BR.UTF-8
1199Um módulo para aplicações PHP que usam bancos de dados postgresql.
7f2d8ce7 1200
1201%package posix
1202Summary: POSIX extension module for PHP
d5d89d78 1203Summary(pl.UTF-8): Moduł POSIX dla PHP
7f2d8ce7 1204Group: Libraries
07a453e9 1205Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1206Provides: php(posix)
7f2d8ce7 1207
1208%description posix
5c7004b5 1209This is a dynamic shared object (DSO) for PHP that will add POSIX
7f2d8ce7 1210functions support to PHP.
1211
7209a264
JR
1212%description posix -l pl.UTF-8
1213Moduł PHP umożliwiający korzystanie z funkcji POSIX.
7f2d8ce7 1214
1215%package pspell
1216Summary: pspell extension module for PHP
d5d89d78 1217Summary(pl.UTF-8): Moduł pspell dla PHP
7f2d8ce7 1218Group: Libraries
07a453e9 1219Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1220Provides: php(pspell)
7f2d8ce7 1221
1222%description pspell
5c7004b5 1223This is a dynamic shared object (DSO) for PHP that will add pspell
7f2d8ce7 1224support to PHP. It allows to check the spelling of a word and offer
1225suggestions.
1226
7209a264
JR
1227%description pspell -l pl.UTF-8
1228Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1229sprawdzanie pisowni słowa i sugerowanie poprawek.
7f2d8ce7 1230
9ee9d278 1231%package qtdom
ff5548f5 1232Summary: Qt DOM extension module for PHP
d5d89d78 1233Summary(pl.UTF-8): Moduł Qt DOM dla PHP
9ee9d278 1234Group: Libraries
07a453e9 1235Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1236Provides: php(qtdom)
9ee9d278 1237
1238%description qtdom
ff5548f5 1239This PHP module adds Qt DOM functions support.
9ee9d278 1240
7209a264
JR
1241%description qtdom -l pl.UTF-8
1242Moduł PHP dodający obsługę funkcji Qt DOM.
9ee9d278 1243
5c7004b5
JB
1244%package readline
1245Summary: readline extension module for PHP
d5d89d78 1246Summary(pl.UTF-8): Moduł readline dla PHP
5c7004b5 1247Group: Libraries
2d482acc 1248Requires: %{name}-cli = %{epoch}:%{version}-%{release}
b2435197 1249Provides: php(readline)
5c7004b5
JB
1250
1251%description readline
1252This PHP module adds support for readline functions (only for cli and
1253cgi SAPIs).
1254
7209a264
JR
1255%description readline -l pl.UTF-8
1256Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
5c7004b5 1257
7f2d8ce7 1258%package recode
1259Summary: recode extension module for PHP
d5d89d78 1260Summary(pl.UTF-8): Moduł recode dla PHP
7f2d8ce7 1261Group: Libraries
07a453e9 1262Requires: %{name}-common = %{epoch}:%{version}-%{release}
7f2d8ce7 1263Requires: recode >= 3.5d-3
b2435197 1264Provides: php(recode)
7f2d8ce7 1265
1266%description recode
5c7004b5
JB
1267This is a dynamic shared object (DSO) for PHP that will add recode
1268support.
7f2d8ce7 1269
7209a264
JR
1270%description recode -l pl.UTF-8
1271Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1272bibliotekę recode).
7f2d8ce7 1273
7f2d8ce7 1274%package shmop
1275Summary: Shared Memory Operations extension module for PHP
d5d89d78 1276Summary(pl.UTF-8): Moduł shmop dla PHP
7f2d8ce7 1277Group: Libraries
07a453e9 1278Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1279Provides: php(shmop)
7f2d8ce7 1280
1281%description shmop
5c7004b5
JB
1282This is a dynamic shared object (DSO) for PHP that will add Shared
1283Memory Operations support.
7f2d8ce7 1284
1285Warning: this is an experimental module.
1286
7209a264
JR
1287%description shmop -l pl.UTF-8
1288Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
7f2d8ce7 1289
7209a264 1290Uwaga: to jest moduł eksperymentalny.
7f2d8ce7 1291
1292%package snmp
1293Summary: SNMP extension module for PHP
d5d89d78 1294Summary(pl.UTF-8): Moduł SNMP dla PHP
7f2d8ce7 1295Group: Libraries
07a453e9 1296Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1297Provides: php(snmp)
7f2d8ce7 1298
1299%description snmp
5c7004b5
JB
1300This is a dynamic shared object (DSO) for PHP that will add SNMP
1301support.
7f2d8ce7 1302
7209a264
JR
1303%description snmp -l pl.UTF-8
1304Moduł PHP dodający obsługę SNMP.
7f2d8ce7 1305
1306%package sockets
1307Summary: sockets extension module for PHP
d5d89d78 1308Summary(pl.UTF-8): Moduł socket dla PHP
7f2d8ce7 1309Group: Libraries
07a453e9 1310Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1311Provides: php(sockets)
7f2d8ce7 1312
1313%description sockets
5c7004b5
JB
1314This is a dynamic shared object (DSO) for PHP that will add sockets
1315support.
7f2d8ce7 1316
1317Warning: this is an experimental module.
1318
7209a264
JR
1319%description sockets -l pl.UTF-8
1320Moduł PHP dodający obsługę gniazdek.
7f2d8ce7 1321
7209a264 1322Uwaga: to jest moduł eksperymentalny.
7f2d8ce7 1323
5c7004b5
JB
1324%package sybase
1325Summary: Sybase DB extension module for PHP
d5d89d78 1326Summary(pl.UTF-8): Moduł Sybase DB dla PHP
5c7004b5 1327Group: Libraries
07a453e9 1328Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1329Provides: php(sybase)
71e6861e 1330Obsoletes: php4-sybase-ct
11da7940 1331Conflicts: %{name}-mssql
5c7004b5
JB
1332
1333%description sybase
1334This is a dynamic shared object (DSO) for PHP that will add Sybase and
520d65e9
ER
1335MS SQL databases support through SYBDB library. Currently Sybase
1336module is not maintained. Using Sybase-CT module is recommended
1337instead.
5c7004b5 1338
7209a264
JR
1339%description sybase -l pl.UTF-8
1340Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1341bibliotekę SYBDB. W chwili obecnej moduł Sybase nie jest wspierany.
1342Zaleca się używanie modułu Sybase-CT.
5c7004b5 1343
7f2d8ce7 1344%package sybase-ct
1345Summary: Sybase-CT extension module for PHP
d5d89d78 1346Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
7f2d8ce7 1347Group: Libraries
07a453e9 1348Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1349Provides: php(sybase-ct)
71e6861e 1350Obsoletes: php4-sybase
11da7940 1351Conflicts: %{name}-mssql
7f2d8ce7 1352
1353%description sybase-ct
5c7004b5
JB
1354This is a dynamic shared object (DSO) for PHP that will add Sybase and
1355MS SQL databases support through CT-lib.
7f2d8ce7 1356
7209a264
JR
1357%description sybase-ct -l pl.UTF-8
1358Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
7f2d8ce7 1359CT-lib.
1360
5c7004b5
JB
1361%package sysvmsg
1362Summary: SysV msg extension module for PHP
d5d89d78 1363Summary(pl.UTF-8): Moduł SysV msg dla PHP
5c7004b5 1364Group: Libraries
07a453e9 1365Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1366Provides: php(sysvmsg)
5c7004b5
JB
1367
1368%description sysvmsg
1369This is a dynamic shared object (DSO) for PHP that will add SysV
1370message queues support.
1371
7209a264
JR
1372%description sysvmsg -l pl.UTF-8
1373Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
5c7004b5 1374
7f2d8ce7 1375%package sysvsem
1376Summary: SysV sem extension module for PHP
d5d89d78 1377Summary(pl.UTF-8): Moduł SysV sem dla PHP
7f2d8ce7 1378Group: Libraries
07a453e9 1379Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1380Provides: php(sysvsem)
7f2d8ce7 1381
1382%description sysvsem
5c7004b5
JB
1383This is a dynamic shared object (DSO) for PHP that will add SysV
1384semaphores support.
7f2d8ce7 1385
7209a264
JR
1386%description sysvsem -l pl.UTF-8
1387Moduł PHP umożliwiający korzystanie z semaforów SysV.
7f2d8ce7 1388
1389%package sysvshm
1390Summary: SysV shm extension module for PHP
d5d89d78 1391Summary(pl.UTF-8): Moduł SysV shm dla PHP
7f2d8ce7 1392Group: Libraries
07a453e9 1393Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1394Provides: php(sysvshm)
7f2d8ce7 1395
1396%description sysvshm
5c7004b5
JB
1397This is a dynamic shared object (DSO) for PHP that will add SysV
1398Shared Memory support.
7f2d8ce7 1399
7209a264
JR
1400%description sysvshm -l pl.UTF-8
1401Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
d0454f30 1402
9a0f3d92
ER
1403%package tokenizer
1404Summary: tokenizer extension module for PHP
d5d89d78 1405Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
9a0f3d92 1406Group: Libraries
9a0f3d92 1407Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1408Provides: php(tokenizer)
9a0f3d92
ER
1409
1410%description tokenizer
1411This is a dynamic shared object (DSO) for PHP that will add tokenizer
1412support.
1413
7209a264
JR
1414%description tokenizer -l pl.UTF-8
1415Moduł PHP dodający obsługę tokenizera do PHP.
ed78bf76 1416
d0454f30 1417%package wddx
1418Summary: wddx extension module for PHP
d5d89d78 1419Summary(pl.UTF-8): Moduł wddx dla PHP
d0454f30 1420Group: Libraries
07a453e9 1421Requires: %{name}-common = %{epoch}:%{version}-%{release}
4d82c215 1422#Requires: %{name}-session = %{epoch}:%{version}-%{release}
a9354226 1423Requires: %{name}-xml = %{epoch}:%{version}-%{release}
b2435197 1424Provides: php(wddx)
d0454f30 1425
1426%description wddx
5c7004b5
JB
1427This is a dynamic shared object (DSO) for PHP that will add wddx
1428support.
d0454f30 1429
7209a264
JR
1430%description wddx -l pl.UTF-8
1431Moduł PHP umożliwiający korzystanie z wddx.
800c41be 1432
7f2d8ce7 1433%package xml
1434Summary: XML extension module for PHP
d5d89d78 1435Summary(pl.UTF-8): Moduł XML dla PHP
2fa1a084 1436Group: Libraries
07a453e9 1437Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1438Provides: php(xml)
2fa1a084 1439
7f2d8ce7 1440%description xml
5c7004b5
JB
1441This is a dynamic shared object (DSO) for PHP that will add XML
1442support. This extension lets you create XML parsers and then define
1443handlers for different XML events.
2fa1a084 1444
7209a264
JR
1445%description xml -l pl.UTF-8
1446Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1447związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1448następnie definiować procedury obsługi dla różnych zdarzeń XML.
2fa1a084 1449
7f2d8ce7 1450%package xmlrpc
1451Summary: xmlrpc extension module for PHP
d5d89d78 1452Summary(pl.UTF-8): Moduł xmlrpc dla PHP
114759eb 1453Group: Libraries
07a453e9 1454Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1455Provides: php(xmlrpc)
114759eb 1456
7f2d8ce7 1457%description xmlrpc
5c7004b5
JB
1458This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1459support.
114759eb 1460
7f2d8ce7 1461Warning: this is an experimental module.
114759eb 1462
7209a264
JR
1463%description xmlrpc -l pl.UTF-8
1464Moduł PHP dodający obsługę XMLRPC.
7f2d8ce7 1465
7209a264 1466Uwaga: to jest moduł eksperymentalny.
7f2d8ce7 1467
1468%package xslt
1469Summary: xslt extension module for PHP
d5d89d78 1470Summary(pl.UTF-8): Moduł xslt dla PHP
7f2d8ce7 1471Group: Libraries
07a453e9 1472Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1473Provides: php(xslt)
7f2d8ce7 1474
1475%description xslt
5c7004b5
JB
1476This is a dynamic shared object (DSO) for PHP that will add xslt
1477support.
7f2d8ce7 1478
7209a264
JR
1479%description xslt -l pl.UTF-8
1480Moduł PHP umożliwiający korzystanie z technologii xslt.
7f2d8ce7 1481
1482%package yaz
1483Summary: yaz extension module for PHP
d5d89d78 1484Summary(pl.UTF-8): Moduł yaz dla PHP
7f2d8ce7 1485Group: Libraries
07a453e9 1486Requires: %{name}-common = %{epoch}:%{version}-%{release}
100fb1c2 1487Requires: yaz >= 1.9
b2435197 1488Provides: php(yaz)
7f2d8ce7 1489
1490%description yaz
5c7004b5
JB
1491This is a dynamic shared object (DSO) for PHP that will add yaz
1492support. yaz toolkit implements the Z39.50 protocol for information
1493retrieval.
7f2d8ce7 1494
7209a264
JR
1495%description yaz -l pl.UTF-8
1496Moduł PHP umożliwiający korzystanie z yaz - implementacji protokołu
1497Z39.50 służącego do pozyskiwania informacji.
7f2d8ce7 1498
1499%package yp
1500Summary: NIS (yp) extension module for PHP
d5d89d78 1501Summary(pl.UTF-8): Moduł NIS (yp) dla PHP
5e5319cb 1502Group: Libraries
07a453e9 1503Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1504Provides: php(yp)
5e5319cb 1505
7f2d8ce7 1506%description yp
5c7004b5
JB
1507This is a dynamic shared object (DSO) for PHP that will add NIS
1508(Yellow Pages) support.
5e5319cb 1509
7209a264
JR
1510%description yp -l pl.UTF-8
1511Moduł PHP dodający wsparcie dla NIS (Yellow Pages).
5e5319cb 1512
9ee9d278 1513%package zip
1514Summary: zip extension module for PHP
d5d89d78 1515Summary(pl.UTF-8): Moduł zip dla PHP
9ee9d278 1516Group: Libraries
07a453e9 1517Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1518Provides: php(zip)
9ee9d278 1519
1520%description zip
1521This is a dynamic shared object (DSO) for PHP that will add ZZipLib
1522(read-only access to ZIP archives) support.
1523
7209a264
JR
1524%description zip -l pl.UTF-8
1525Moduł PHP umożliwiający korzystanie z bibliotekli ZZipLib
1526(pozwalającej na odczyt archiwów ZIP).
9ee9d278 1527
7f2d8ce7 1528%package zlib
1529Summary: Zlib extension module for PHP
d5d89d78 1530Summary(pl.UTF-8): Moduł zlib dla PHP
5e5319cb 1531Group: Libraries
07a453e9 1532Requires: %{name}-common = %{epoch}:%{version}-%{release}
b2435197 1533Provides: php(zlib)
5e5319cb 1534
7f2d8ce7 1535%description zlib
5c7004b5
JB
1536This is a dynamic shared object (DSO) for PHP that will add zlib
1537compression support to PHP.
5e5319cb 1538
7209a264
JR
1539%description zlib -l pl.UTF-8
1540Moduł PHP umożliwiający używanie kompresji zlib.
5e5319cb 1541
e89e2b0f 1542%prep
53d10ea0 1543%setup -q -n php-%{version}
a81c3254 1544#%patch43 -p1
e84e1b0f 1545%patch40 -p1
7011c01c 1546%patch0 -p1
6526f9b5 1547%patch1 -p1
9ee9d278 1548%patch2 -p1
6526f9b5 1549%patch3 -p1
100fb1c2 1550%patch4 -p1
04d75b94 1551%patch5 -p1
953f7006 1552%patch6 -p1
46e729ae 1553%patch7 -p1
6526f9b5 1554%patch8 -p1
9ee9d278 1555# Not really needed?
1556#%patch9 -p1
abad5b8b 1557%patch10 -p1
7011c01c 1558%patch11 -p1
93af1413 1559%patch12 -p1
5382d1e1 1560%patch13 -p1
9bdfae50 1561%patch14 -p1
5c7004b5 1562%patch15 -p1
468ecd49 1563%patch16 -p1
9ee9d278 1564cp php.ini-dist php.ini
132b7e43 1565%patch17 -p1
9ee9d278 1566# for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1567# conditionally...
132b7e43 1568%patch18 -p1
04d75b94
JB
1569%patch19 -p1
1570%patch20 -p1
953f7006 1571%patch21 -p1
782252ff 1572%patch22 -p1
531547f9 1573# %patch23 -p1
d7c9da89 1574%patch24 -p1
11521560 1575%patch25 -p1
f842ef95 1576%patch26 -p1
9ee9d278 1577%patch27 -p1
1578%patch28 -p1
edb7f9b8 1579%if "%{_lib}" == "lib64"
1be9c469 1580%patch29 -p1
9ee9d278 1581%endif
1be9c469 1582%patch30 -p1
74c09513 1583%patch31 -p1
65d870bf 1584%patch33 -p1
cd557e67 1585%patch34 -p1
74c09513 1586%patch35 -p1
cbf32ad2 1587%patch36 -p1
f53d5b65 1588%patch37 -p1
08482442 1589%patch38 -p1
e84e1b0f
AG
1590%{?with_versioning:%patch39 -p1}
1591# XXX: I believe this one is obsolete as of 4.4.3
1592#%patch41 -p1
f4c9ee6a 1593%patch42 -p1
627314a1 1594%patch43 -p1
9e2f3206 1595%patch45 -p1
ae04df00 1596%patch46 -p1
4a61c8b0 1597%patch47 -p1
90f56ec5 1598%patch48 -p1
f842ef95 1599
b2b754b2 1600%if %{with hardening}
fff2496f 1601zcat %{SOURCE8} | patch -p1
b2b754b2 1602%endif
bdd610bf 1603
e89e2b0f 1604%build
7d9bee8f
ER
1605if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then
1606 echo "Set %%define php_api_version to $API and rerun."
1607 exit 1
1608fi
1609
1610if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then
1611 echo "Set %%define zend_module_api to $API and rerun."
1612 exit 1
1613fi
1614
1615if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then
86907b67 1616 echo "Set %%define zend_extension_api to $API and rerun."
7d9bee8f
ER
1617 exit 1
1618fi
1619
3b87a51a 1620EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
74c09513 1621if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
e622724a
ER
1622 ./buildconf --force
1623 %{__libtoolize}
1624 %{__aclocal}
1625 %{__autoconf}
1626 touch _built-conf
74c09513 1627fi
083c6282 1628PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
74c09513
ER
1629
1630sapis="
7a419765
ER
1631%if %{with fcgi}
1632fcgi
1633%endif
1634cgi cli
74c09513
ER
1635%if %{with apache1}
1636apxs1
1637%endif
1638%if %{with apache2}
1639apxs2
1640%endif
1641"
74c09513
ER
1642for sapi in $sapis; do
1643 [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1644
1645 %configure \
1646 `
1647 case $sapi in
1648 cgi)
be4aca3a 1649 echo --enable-discard-path --enable-force-cgi-redirect
74c09513
ER
1650 ;;
1651 cli)
be4aca3a 1652 echo --disable-cgi
74c09513
ER
1653 ;;
1654 fcgi)
be4aca3a 1655 echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect
74c09513
ER
1656 ;;
1657 apxs1)
1658 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
be4aca3a 1659 echo --with-apxs=%{apxs1} --with-apache-version=$ver
74c09513
ER
1660 ;;
1661 apxs2)
1662 ver=%(rpm -q --qf '%%{version}' apache-apxs)
be4aca3a 1663 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
74c09513
ER
1664 ;;
1665 esac
1666 ` \
c9f5a6d4 1667%if "%{!?configure_cache:0}%{?configure_cache}" == "0"
3500b710 1668 --cache-file=config.cache \
c9f5a6d4 1669%endif
28f4aa77 1670 --with-config-file-path=%{_sysconfdir} \
6d5ed34c 1671 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
e89e2b0f 1672 --with-exec-dir=%{_bindir} \
8d728856 1673 --%{!?debug:dis}%{?debug:en}able-debug \
be4aca3a 1674 %{?with_zts:--enable-experimental-zts} \
f5d25779 1675 --enable-inline-optimization \
74c09513
ER
1676 --enable-shared \
1677 --disable-static \
8d728856 1678 --enable-bcmath=shared \
1679 --enable-calendar=shared \
7f2d8ce7 1680 --enable-ctype=shared \
8d728856 1681 --enable-dba=shared \
7f2d8ce7 1682 --enable-dbx=shared \
1683 --enable-dio=shared \
8d728856 1684 --enable-exif=shared \
9ee9d278 1685 --enable-filepro=shared \
a065ebfd
ER
1686 --enable-ftp=shared \
1687 --enable-magic-quotes \
74c09513 1688 --enable-mbstring=shared,all --enable-mbregex \
a065ebfd 1689 --enable-memory-limit \
9ee9d278 1690 --enable-overload=shared \
dab7214b 1691 --enable-pcntl=shared \
8d728856 1692 --enable-posix=shared \
a065ebfd
ER
1693 %{?with_recode:--with-recode=shared} \
1694 --enable-safe-mode \
74c09513 1695 --enable-session --enable-trans-sid \
8d728856 1696 --enable-shmop=shared \
a065ebfd 1697 --enable-sockets=shared \
5c7004b5 1698 --enable-sysvmsg=shared \
c6f034c5
AF
1699 --enable-sysvsem=shared \
1700 --enable-sysvshm=shared \
9a0f3d92 1701 --enable-tokenizer=shared \
a065ebfd 1702 --enable-track-vars \
b6f861c7
JB
1703 %{?with_wddx:--enable-wddx=shared} \
1704 %{!?with_xml:--disable-xml}%{?with_xml:--enable-xml=shared} \
1705 %{?with_xslt:--enable-xslt=shared} \
7f2d8ce7 1706 --enable-yp=shared \
59bcb091 1707 --with-bz2=shared \
b6f861c7 1708 %{?with_cpdf:--with-cpdflib=shared} \
9ee9d278 1709 --with-crack=shared \
b6f861c7 1710 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
a065ebfd 1711 --with-db=shared --with-db%{?with_db3:3}%{!?with_db3:4} \
8d728856 1712 --with-dbase=shared \
b6f861c7
JB
1713 %{?with_domxslt:--with-dom-xslt=shared --with-dom-exslt=shared} \
1714%if %{with xml} || %{with xmlrpc}
7f2d8ce7 1715 --with-expat-dir=shared,/usr \
e6e515f1
JB
1716%else
1717 --without-expat-dir \
1718%endif
b6f861c7 1719 %{?with_fdf:--with-fdftk=shared} \
8d728856 1720 --with-filepro=shared \
1721 --with-freetype-dir=shared \
a065ebfd 1722 %{?with_fribidi:--with-fribidi=shared} \
a81c3254 1723 --with-gd=shared --enable-gd-native-ttf \
8d728856 1724 --with-gdbm \
a065ebfd 1725 --with-gettext=shared \
59bcb091 1726 --with-gmp=shared \
9ee9d278 1727 --with-hyperwave=shared \
a065ebfd 1728 --with-iconv=shared \
27358759 1729 %{?with_imap:--with-imap=shared --with-imap-ssl --with-kerberos} \
b6f861c7 1730 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1b477226 1731 %{?with_java:--with-java=%{_libdir}/java} \
28d58db8 1732 --with-jpeg-dir=/usr \
b6f861c7 1733 %{?with_ldap:--with-ldap=shared} \
9ee9d278 1734 --with-mcal=shared,/usr \
8d728856 1735 --with-mcrypt=shared \
b6f861c7 1736 %{?with_mhash:--with-mhash=shared} \
5c7004b5 1737 --with-mime-magic=shared,/usr/share/file/magic.mime \
b6f861c7 1738 %{?with_ming:--with-ming=shared} \
b6f861c7
JB
1739 %{!?with_mnogosearch:--without-mnogosearch}%{?with_mnogosearch:--with-mnogosearch=shared,/usr} \
1740 %{?with_msession:--with-msession=shared}%{!?with_msession:--without-msession} \
1741 %{?with_mssql:--with-mssql=shared} \
74c09513 1742 --with-mysql=shared,/usr --with-mysql-sock=/var/lib/mysql/mysql.sock \
5c7004b5 1743 --with-ncurses=shared \
b6f861c7 1744 %{?with_oci8:--with-oci8=shared} \
a065ebfd 1745 %{?with_odbc:--with-unixODBC=shared} \
a6bef7cf 1746 %{?with_openssl:--with-openssl} \
b6f861c7 1747 %{?with_oracle:--with-oracle=shared} \
f8e6ee82 1748 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared,/usr} \
9ee9d278 1749 %{?with_pdf:--with-pdflib=shared} \
2671774a 1750 --with-pear=%{php_pear_dir} \
b6f861c7 1751 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
28d58db8 1752 --with-png-dir=/usr \
a065ebfd 1753 %{?with_qtdom:--with-qtdom=shared} \
5c7004b5 1754 --with-readline=shared \
8d728856 1755 --with-regex=php \
74c09513 1756 %{?with_snmp:--with-snmp=shared --enable-ucd-snmp-hack} \
a065ebfd 1757 %{?with_pspell:--with-pspell=shared} \
b6f861c7 1758 %{?with_sybase:--with-sybase-ct=shared,/usr --with-sybase=shared,/usr} \
8d728856 1759 --with-t1lib=shared \
28d58db8 1760 --with-tiff-dir=/usr \
a065ebfd 1761 %{?with_xml:--with-dom=shared} \
b6f861c7 1762 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
a065ebfd 1763 %{?with_xslt:--with-xslt-sablot=shared} --without-sablot-js \
b6f861c7 1764 %{?with_yaz:--with-yaz=shared} \
9ee9d278 1765 --with-zip=shared \
a065ebfd 1766 --with-zlib=shared --with-zlib-dir=shared,/usr \
7011c01c 1767
74c09513 1768 cp -f Makefile Makefile.$sapi
74c09513 1769 cp -f main/php_config.h php_config.h.$sapi
7f46a5e0 1770done
6080c81d 1771
1a9a1ebc 1772# must make this first, so modules can link against it.
74c09513 1773%{__make} libphp_common.la
1a9a1ebc
ER
1774# FIXME: needed for linking modules with libphp_common.la
1775#libtool --mode=install cp libphp_common.la `pwd`/libs
1776
1777%{__make} build-modules
74c09513
ER
1778
1779%if %{with apache1}
a9b38e3f 1780%{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp4.la -f Makefile.apxs1
74c09513
ER
1781%endif
1782
1783%if %{with apache2}
a9b38e3f 1784%{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp4.la -f Makefile.apxs2
74c09513 1785%endif
7f46a5e0 1786
7a419765
ER
1787# FCGI
1788%if %{with fcgi}
1789cp -af php_config.h.fcgi main/php_config.h
1790%{__make} sapi/cgi/php -f Makefile.fcgi
7cd0f72f
AM
1791cp -r sapi/cgi sapi/fcgi
1792rm -rf sapi/cgi/.libs sapi/cgi/*.lo
7a419765 1793%endif
7cd0f72f 1794
7a419765
ER
1795# CGI
1796cp -af php_config.h.cgi main/php_config.h
1797%{__make} sapi/cgi/php -f Makefile.cgi
422bc385 1798
74c09513 1799# CLI
7a419765 1800cp -af php_config.h.cli main/php_config.h
74c09513
ER
1801%{__make} sapi/cli/php -f Makefile.cli
1802
e89e2b0f
AF
1803%install
1804rm -rf $RPM_BUILD_ROOT
1a8d74bb 1805install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}} \
74c09513 1806 $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
7f2d8ce7 1807 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
74c09513
ER
1808 $RPM_BUILD_ROOT{/etc/apache/conf.d,/etc/httpd/httpd.conf} \
1809 $RPM_BUILD_ROOT%{_mandir}/man1
1810
71e20261
ER
1811# install the apache modules' files
1812%{__make} install-headers install-build install-modules install-programs \
1813 INSTALL_ROOT=$RPM_BUILD_ROOT
1814
022a6830
ER
1815libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1816# fix install paths, avoid evil rpaths
1817sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
1818
74c09513 1819# install apache1 DSO module
74c09513 1820%if %{with apache1}
1a9a1ebc
ER
1821libtool --silent --mode=install install sapi/apache/libphp4.la $RPM_BUILD_ROOT%{_libdir}/apache1
1822rm $RPM_BUILD_ROOT%{_libdir}/apache1/libphp4.la
74c09513
ER
1823%endif
1824
1825# install apache2 DSO module
1826%if %{with apache2}
1a9a1ebc
ER
1827libtool --silent --mode=install install sapi/apache2handler/libphp4.la $RPM_BUILD_ROOT%{_libdir}/apache
1828rm $RPM_BUILD_ROOT%{_libdir}/apache/libphp4.la
74c09513
ER
1829%endif
1830
71e20261
ER
1831# better solution?
1832sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
422bc385 1833
74c09513
ER
1834# install CGI
1835libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php4.cgi
1836
1837# install FCGI
7a419765 1838%if %{with fcgi}
74c09513 1839libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php4.fcgi
7a419765 1840%endif
74c09513
ER
1841
1842# install CLI
1843libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php4.cli
1844
1845install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php4.1
1846ln -sf php4.cli $RPM_BUILD_ROOT%{_bindir}/php4
efe21d81 1847ln -sf php4.cli $RPM_BUILD_ROOT%{_bindir}/php
28f4aa77 1848
b6f861c7 1849%{?with_java:install ext/java/php_java.jar $RPM_BUILD_ROOT%{extensionsdir}}
9bdfae50 1850
ba7233b7 1851install php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
7a419765 1852%if %{with fcgi}
fff2496f 1853install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
7a419765 1854%endif
fff2496f
ER
1855install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1856install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
74c09513 1857
3891e595 1858%if %{with apache1}
74c09513 1859install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
fff2496f
ER
1860install %{SOURCE3} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php4.conf
1861install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
3891e595
ER
1862%endif
1863
1864%if %{with apache2}
1865install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
fff2496f
ER
1866install %{SOURCE3} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php4.conf
1867install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
3891e595 1868%endif
7f2d8ce7 1869
01a40090 1870cp -f Zend/LICENSE{,.Zend}
e1dea8c6 1871
8a6abb99
ER
1872install ext/ext_skel $RPM_BUILD_ROOT%{_bindir}/php-ext_skel
1873
6d5ed34c
ER
1874# Generate stub .ini files for each subpackage
1875install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1876for so in modules/*.so; do
1877 mod=$(basename $so .so)
0ae8174c
ER
1878 conf="%{_sysconfdir}/conf.d/${mod}.ini"
1879 # xml needs to be loaded before wddx
1880 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_${mod}.ini"
1881 cat > $RPM_BUILD_ROOT${conf} <<EOF
6d5ed34c
ER
1882; Enable ${mod} extension module
1883extension=${mod}.so
1884EOF
1885done
1886
1a8d74bb
ER
1887# per SAPI ini directories
1888install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi,cli,cgi-fcgi,apache,apache2handler}.d
1889
1890# for CLI SAPI only
1891mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{ncurses,pcntl,readline}.ini,cli.d}
6d5ed34c 1892
e9042706
ER
1893# as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
1894# isn't installed by install-headers make target, we do it manually here.
1895# this header file is required by e.g. filter PECL extension
1896install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
1897
8d728856 1898%clean
1899rm -rf $RPM_BUILD_ROOT
1900
74c09513 1901%post -n apache1-mod_php4
a9b191aa 1902if [ "$1" = "1" ]; then
7ff5074e 1903 %service -q apache restart
a9b191aa 1904fi
e1dea8c6 1905
74c09513 1906%postun -n apache1-mod_php4
7f2d8ce7 1907if [ "$1" = "0" ]; then
6d5ed34c 1908 %service -q apache restart
74c09513
ER
1909fi
1910
1911%post -n apache-mod_php4
a9b191aa 1912if [ "$1" = "1" ]; then
7ff5074e 1913 %service -q httpd restart
a9b191aa 1914fi
74c09513
ER
1915
1916%postun -n apache-mod_php4
1917if [ "$1" = "0" ]; then
6d5ed34c 1918 %service -q httpd restart
285c3089 1919fi
e1dea8c6 1920
a9b191aa
ER
1921# so tired of typing... so decided to create macros
1922# macro called at extension post scriptlet
1923%define extension_post \
1924if [ "$1" = "1" ]; then \
7ff5074e
ER
1925 [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart \
1926 [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart \
a9b191aa
ER
1927fi
1928
1929# macro called at extension postun scriptlet
1930%define extension_postun \
1931if [ "$1" = "0" ]; then \
7ff5074e
ER
1932 [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart \
1933 [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart \
a9b191aa
ER
1934fi
1935
7f2d8ce7 1936%post common -p /sbin/ldconfig
d8343547
ER
1937%postun common -p /sbin/ldconfig
1938
1939%posttrans common
1940# minimizing apache restarts logics. we restart webserver:
1941#
1942# 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1943# 2. first install of extension (post: $1 = 1)
1944# 2. uninstall of extension (postun: $1 == 0)
1945#
1946# the strict internal deps between extensions (and apache modules) and
1947# common package are very important for all this to work.
7f46a5e0 1948
d8343547 1949# restart webserver at the end of transaction
7ff5074e
ER
1950[ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart
1951[ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart
2fadf2c0 1952
6d5ed34c 1953%if %{with apache2}
f5d25779 1954%triggerpostun -n apache-mod_php4 -- apache-mod_php4 < 3:4.4.0-2.16, php4 < 3:4.3.11-4.16
6d5ed34c
ER
1955# for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1956if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1957 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1958 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
1959fi
1960%endif
1961
59bcb091 1962%post bcmath
a9b191aa 1963%extension_post
59bcb091 1964
f7f29656 1965%postun bcmath
a9b191aa 1966%extension_postun
c6f034c5 1967
7f2d8ce7 1968%post bzip2
a9b191aa 1969%extension_post
7f2d8ce7 1970
f7f29656 1971%postun bzip2
a9b191aa 1972%extension_postun
7f2d8ce7 1973
59bcb091 1974%post calendar
a9b191aa 1975%extension_post
c6f034c5 1976
f7f29656 1977%postun calendar
a9b191aa 1978%extension_postun
c6f034c5 1979
7f2d8ce7 1980%post cpdf
a9b191aa 1981%extension_post
7f2d8ce7 1982
f7f29656 1983%postun cpdf
a9b191aa 1984%extension_postun
7f2d8ce7 1985
9ee9d278 1986%post crack
a9b191aa 1987%extension_post
9ee9d278 1988
f7f29656 1989%postun crack
a9b191aa 1990%extension_postun
9ee9d278 1991
7f2d8ce7 1992%post ctype
a9b191aa 1993%extension_post
7f2d8ce7 1994
f7f29656 1995%postun ctype
a9b191aa 1996%extension_postun
7f2d8ce7 1997
1998%post curl
a9b191aa 1999%extension_post
7f2d8ce7 2000
f7f29656 2001%postun curl
a9b191aa 2002%extension_postun
7f2d8ce7 2003
9ee9d278 2004%post db
a9b191aa 2005%extension_post
9ee9d278 2006
f7f29656 2007%postun db
a9b191aa 2008%extension_postun
9ee9d278 2009
59bcb091 2010%post dba
a9b191aa 2011%extension_post
816d4a09 2012
f7f29656 2013%postun dba
a9b191aa 2014%extension_postun
4aa30c82 2015
59bcb091 2016%post dbase
a9b191aa 2017%extension_post
59bcb091 2018
f7f29656 2019%postun dbase
a9b191aa 2020%extension_postun
5076b309 2021
7f2d8ce7 2022%post dbx
a9b191aa 2023%extension_post
7f2d8ce7 2024
f7f29656 2025%postun dbx
a9b191aa 2026%extension_postun
7f2d8ce7 2027
2028%post dio
a9b191aa 2029%extension_post
7f2d8ce7 2030
f7f29656 2031%postun dio
a9b191aa 2032%extension_postun
7f2d8ce7 2033
9ee9d278 2034%post domxml
a9b191aa 2035%extension_post
55eb8ec0 2036
f7f29656 2037%postun domxml
a9b191aa 2038%extension_postun
55eb8ec0 2039
9ee9d278 2040%post exif
a9b191aa 2041%extension_post
d959a0f0 2042
f7f29656 2043%postun exif
a9b191aa 2044%extension_postun
d959a0f0 2045
5c7004b5 2046%post fdf
a9b191aa 2047%extension_post
5c7004b5 2048
f7f29656 2049%postun fdf
a9b191aa 2050%extension_postun
5c7004b5 2051
59bcb091 2052%post filepro
a9b191aa 2053%extension_post
c6f034c5 2054
f7f29656 2055%postun filepro
a9b191aa 2056%extension_postun
c6f034c5 2057
9ee9d278 2058%post fribidi
a9b191aa 2059%extension_post
9ee9d278 2060
f7f29656 2061%postun fribidi
a9b191aa 2062%extension_postun
9ee9d278 2063
59bcb091 2064%post ftp
a9b191aa 2065%extension_post
c6f034c5 2066
f7f29656 2067%postun ftp
a9b191aa 2068%extension_postun
c6f034c5 2069
4b65329d 2070%post gd
a9b191aa 2071%extension_post
c6f034c5 2072
f7f29656 2073%postun gd
a9b191aa 2074%extension_postun
c6f034c5 2075
59bcb091 2076%post gettext
a9b191aa 2077%extension_post
c6f034c5 2078
f7f29656 2079%postun gettext
a9b191aa 2080%extension_postun
59bcb091 2081
7f2d8ce7 2082%post gmp
a9b191aa 2083%extension_post
7f2d8ce7 2084
f7f29656 2085%postun gmp
a9b191aa 2086%extension_postun
7f2d8ce7 2087
2088%post hyperwave
a9b191aa 2089%extension_post
7f2d8ce7 2090
f7f29656 2091%postun hyperwave
a9b191aa 2092%extension_postun
7f2d8ce7 2093
2094%post iconv
a9b191aa 2095%extension_post
7f2d8ce7 2096
f7f29656 2097%postun iconv
a9b191aa 2098%extension_postun
7f2d8ce7 2099
59bcb091 2100%post imap
a9b191aa 2101%extension_post
59bcb091 2102
f7f29656 2103%postun imap
a9b191aa 2104%extension_postun
55eb8ec0 2105
7f2d8ce7 2106%post interbase
a9b191aa 2107%extension_post
7f2d8ce7 2108
f7f29656 2109%postun interbase
a9b191aa 2110%extension_postun
2e7fb277 2111
59bcb091 2112%post java
a9b191aa 2113%extension_post
59bcb091 2114
f7f29656 2115%postun java
a9b191aa 2116%extension_postun
e89e2b0f 2117
59bcb091 2118%post ldap
a9b191aa 2119%extension_post
c6f034c5 2120
f7f29656 2121%postun ldap
a9b191aa 2122%extension_postun
7f2d8ce7 2123
2124%post mbstring
a9b191aa 2125%extension_post
7f2d8ce7 2126
f7f29656 2127%postun mbstring
a9b191aa 2128%extension_postun
7f2d8ce7 2129
9ee9d278 2130%post mcal
a9b191aa 2131%extension_post
9ee9d278 2132
f7f29656 2133%postun mcal
a9b191aa 2134%extension_postun
9ee9d278 2135
59bcb091 2136%post mcrypt
a9b191aa 2137%extension_post
c6f034c5 2138
f7f29656 2139%postun mcrypt
a9b191aa 2140%extension_postun
c6f034c5 2141
59bcb091 2142%post mhash
a9b191aa 2143%extension_post
c6f034c5 2144
f7f29656 2145%postun mhash
a9b191aa 2146%extension_postun
c6f034c5 2147
5c7004b5 2148%post mime_magic
a9b191aa 2149%extension_post
5c7004b5 2150
f7f29656 2151%postun mime_magic
a9b191aa 2152%extension_postun
5c7004b5 2153
7f2d8ce7 2154%post ming
a9b191aa 2155%extension_post
c6f034c5 2156
f7f29656 2157%postun ming
a9b191aa 2158%extension_postun
c6f034c5 2159
7f2d8ce7 2160%post mnogosearch
a9b191aa 2161%extension_post
00003d57 2162
f7f29656 2163%postun mnogosearch
a9b191aa 2164%extension_postun
00003d57 2165
7f2d8ce7 2166%post msession
a9b191aa 2167%extension_post
7f2d8ce7 2168
f7f29656 2169%postun msession
a9b191aa 2170%extension_postun
d6b422ef 2171
ce79833d 2172%post mssql
a9b191aa 2173%extension_post
ce79833d 2174
f7f29656 2175%postun mssql
a9b191aa 2176%extension_postun
ce79833d 2177
7f2d8ce7 2178%post mysql
a9b191aa 2179%extension_post
7f2d8ce7 2180
f7f29656 2181%postun mysql
a9b191aa 2182%extension_postun
d6b422ef 2183
59bcb091 2184%post oci8
a9b191aa 2185%extension_post
c6f034c5 2186
f7f29656 2187%postun oci8
a9b191aa 2188%extension_postun
c6f034c5 2189
59bcb091 2190%post odbc
a9b191aa 2191%extension_post
c6f034c5 2192
f7f29656 2193%postun odbc
a9b191aa 2194%extension_postun
7f2d8ce7 2195
59bcb091 2196%post oracle
a9b191aa 2197%extension_post
c6f034c5 2198
f7f29656 2199%postun oracle
a9b191aa 2200%extension_postun
c6f034c5 2201
9ee9d278 2202%post overload
a9b191aa 2203%extension_post
9ee9d278 2204
f7f29656 2205%postun overload
a9b191aa 2206%extension_postun
9ee9d278 2207
59bcb091 2208%post pcre
a9b191aa 2209%extension_post
c6f034c5 2210
f7f29656 2211%postun pcre
a9b191aa 2212%extension_postun
c6f034c5 2213
9ee9d278 2214%post pdf
a9b191aa 2215%extension_post
9ee9d278 2216
f7f29656 2217%postun pdf
a9b191aa 2218%extension_postun
9ee9d278 2219
59bcb091 2220%post pgsql
a9b191aa 2221%extension_post
c6f034c5 2222
f7f29656 2223%postun pgsql
a9b191aa 2224%extension_postun
c6f034c5 2225
59bcb091 2226%post posix
a9b191aa 2227%extension_post
25595e5c 2228
f7f29656 2229%postun posix
a9b191aa 2230%extension_postun
25595e5c 2231
7f2d8ce7 2232%post pspell
a9b191aa 2233%extension_post
7f2d8ce7 2234
f7f29656 2235%postun pspell
a9b191aa 2236%extension_postun
7f2d8ce7 2237
9ee9d278 2238%post qtdom
a9b191aa 2239%extension_post
9ee9d278 2240
f7f29656 2241%postun qtdom
a9b191aa 2242%extension_postun
9ee9d278 2243
25595e5c 2244%post recode
a9b191aa 2245%extension_post
25595e5c 2246
f7f29656 2247%postun recode
a9b191aa 2248%extension_postun
25595e5c 2249
7f2d8ce7 2250%post shmop
a9b191aa 2251%extension_post
7f2d8ce7 2252
f7f29656 2253%postun shmop
a9b191aa 2254%extension_postun
7f2d8ce7 2255
6080c81d 2256%post snmp
a9b191aa 2257%extension_post
25595e5c 2258
f7f29656 2259%postun snmp
a9b191aa 2260%extension_postun
6080c81d 2261
59bcb091 2262%post sockets
a9b191aa 2263%extension_post
25595e5c 2264
f7f29656 2265%postun sockets
a9b191aa 2266%extension_postun
6080c81d 2267
5c7004b5 2268%post sybase
a9b191aa 2269%extension_post
5c7004b5 2270
f7f29656 2271%postun sybase
a9b191aa 2272%extension_postun
5c7004b5 2273
7f2d8ce7 2274%post sybase-ct
a9b191aa 2275%extension_post
7f2d8ce7 2276
f7f29656 2277%postun sybase-ct
a9b191aa 2278%extension_postun
7f2d8ce7 2279
5c7004b5 2280%post sysvmsg
a9b191aa 2281%extension_post
5c7004b5 2282
f7f29656 2283%postun sysvmsg
a9b191aa 2284%extension_postun
5c7004b5 2285
59bcb091 2286%post sysvsem
a9b191aa 2287%extension_post
25595e5c 2288
f7f29656 2289%postun sysvsem
a9b191aa 2290%extension_postun
6080c81d 2291
59bcb091 2292%post sysvshm
a9b191aa 2293%extension_post
25595e5c 2294
f7f29656 2295%postun sysvshm
a9b191aa 2296%extension_postun
6080c81d 2297
9a0f3d92
ER
2298%post tokenizer
2299%extension_post
2300
2301%postun tokenizer
2302%extension_postun
2303
7f2d8ce7 2304%post wddx
a9b191aa 2305%extension_post
5e5319cb 2306
f7f29656 2307%postun wddx
a9b191aa 2308%extension_postun
5e5319cb 2309
7f2d8ce7 2310%post xml
a9b191aa 2311%extension_post
800c41be 2312
f7f29656 2313%postun xml
a9b191aa 2314%extension_postun
800c41be 2315
7f2d8ce7 2316%post xmlrpc
a9b191aa 2317%extension_post
114759eb 2318
f7f29656 2319%postun xmlrpc
a9b191aa 2320%extension_postun
114759eb 2321
114759eb 2322%post xslt
a9b191aa 2323%extension_post
114759eb 2324
f7f29656 2325%postun xslt
a9b191aa 2326%extension_postun
114759eb 2327
7f2d8ce7 2328%post yaz
a9b191aa 2329%extension_post
114759eb 2330
f7f29656 2331%postun yaz
a9b191aa 2332%extension_postun
4f44efc9 2333
7f2d8ce7 2334%post yp
a9b191aa 2335%extension_post
5e5319cb 2336
f7f29656 2337%postun yp
a9b191aa 2338%extension_postun
5e5319cb 2339
9ee9d278 2340%post zip
a9b191aa 2341%extension_post
9ee9d278 2342
f7f29656 2343%postun zip
a9b191aa 2344%extension_postun
9ee9d278 2345
7f2d8ce7 2346%post zlib
a9b191aa 2347%extension_post
5e5319cb 2348
f7f29656 2349%postun zlib
a9b191aa
ER
2350%extension_postun
2351
2352# openssl trigger on common package. it removes shared openssl module from php.ini, if it was there.
2353%triggerun common -- %{name}-openssl < 3:4.4.0-4
54772c39 2354%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2355
2356%triggerun bcmath -- %{name}-bcmath < 3:4.4.0-2.1
54772c39 2357%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2358
2359%triggerun bzip2 -- %{name}-bzip2 < 3:4.4.0-2.1
54772c39 2360%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bz2\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2361
2362%triggerun calendar -- %{name}-calendar < 3:4.4.0-2.1
54772c39 2363%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2364
2365%triggerun cpdf -- %{name}-cpdf < 3:4.4.0-2.1
54772c39 2366%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*cpdf\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2367
2368%triggerun crack -- %{name}-crack < 3:4.4.0-2.1
54772c39 2369%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*crack\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2370
2371%triggerun ctype -- %{name}-ctype < 3:4.4.0-2.1
54772c39 2372%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2373
2374%triggerun curl -- %{name}-curl < 3:4.4.0-2.1
54772c39 2375%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2376
2377%triggerun db -- %{name}-db < 3:4.4.0-2.1
54772c39 2378%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*db\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2379
2380%triggerun dba -- %{name}-dba < 3:4.4.0-2.1
54772c39 2381%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2382
2383%triggerun dbase -- %{name}-dbase < 3:4.4.0-2.1
54772c39 2384%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbase\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2385
2386%triggerun dbx -- %{name}-dbx < 3:4.4.0-2.1
54772c39 2387%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbx\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2388
2389%triggerun dio -- %{name}-dio < 3:4.4.0-2.1
54772c39 2390%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dio\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2391
2392%triggerun domxml -- %{name}-domxml < 3:4.4.0-2.1
54772c39 2393%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*domxml\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2394
2395%triggerun exif -- %{name}-exif < 3:4.4.0-2.1
54772c39 2396%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2397
2398%triggerun fdf -- %{name}-fdf < 3:4.4.0-2.1
54772c39 2399%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2400
2401%triggerun filepro -- %{name}-filepro < 3:4.4.0-2.1
54772c39 2402%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*filepro\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2403
2404%triggerun fribidi -- %{name}-fribidi < 3:4.4.0-2.1
54772c39 2405%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fribidi\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2406
2407%triggerun ftp -- %{name}-ftp < 3:4.4.0-2.1
54772c39 2408%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2409
2410%triggerun gd -- %{name}-gd < 3:4.4.0-2.1
54772c39 2411%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2412
2413%triggerun gettext -- %{name}-gettext < 3:4.4.0-2.1
54772c39 2414%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2415
2416%triggerun gmp -- %{name}-gmp < 3:4.4.0-2.1
54772c39 2417%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2418
2419%triggerun hyperwave -- %{name}-hyperwave < 3:4.4.0-2.1
54772c39 2420%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*hyperwave\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2421
2422%triggerun iconv -- %{name}-iconv < 3:4.4.0-2.1
54772c39 2423%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2424
2425%triggerun imap -- %{name}-imap < 3:4.4.0-2.1
54772c39 2426%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2427
2428%triggerun interbase -- %{name}-interbase < 3:4.4.0-2.1
54772c39 2429%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2430
2431%triggerun java -- %{name}-java < 3:4.4.0-2.1
54772c39 2432%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*java\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2433
2434%triggerun ldap -- %{name}-ldap < 3:4.4.0-2.1
54772c39 2435%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2436
2437%triggerun mbstring -- %{name}-mbstring < 3:4.4.0-2.1
54772c39 2438%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2439
2440%triggerun mcal -- %{name}-mcal < 3:4.4.0-2.1
54772c39 2441%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcal\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2442
2443%triggerun mcrypt -- %{name}-mcrypt < 3:4.4.0-2.1
54772c39 2444%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2445
2446%triggerun mhash -- %{name}-mhash < 3:4.4.0-2.1
54772c39 2447%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mhash\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2448
2449%triggerun mime_magic -- %{name}-mime_magic < 3:4.4.0-2.1
54772c39 2450%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mime_magic\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2451
2452%triggerun ming -- %{name}-ming < 3:4.4.0-2.1
54772c39 2453%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ming\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2454
2455%triggerun mnogosearch -- %{name}-mnogosearch < 3:4.4.0-2.1
54772c39 2456%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mnogosearch\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2457
2458%triggerun msession -- %{name}-msession < 3:4.4.0-2.1
54772c39 2459%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*msession\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2460
2461%triggerun mssql -- %{name}-mssql < 3:4.4.0-2.1
54772c39 2462%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2463
2464%triggerun mysql -- %{name}-mysql < 3:4.4.0-2.1
54772c39 2465%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
a9b191aa 2466
1a8d74bb
ER
2467%triggerun ncurses -- %{name}-ncurses < 3:4.4.2-9.4
2468if [ -f %{_sysconfdir}/php-cgi.ini ]; then
54772c39 2469 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cgi.ini
1a8d74bb
ER
2470fi
2471if [ -f %{_sysconfdir}/php-cli.ini ]; then
54772c39 2472 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cli.ini
1a8d74bb
ER
2473fi
2474
a9b191aa 2475%triggerun oci8 -- %{name}-oci8 < 3:4.4.0-2.1
54772c39 2476%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2477
2478%triggerun odbc -- %{name}-odbc < 3:4.4.0-2.1
54772c39 2479%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2480
2481%triggerun oracle -- %{name}-oracle < 3:4.4.0-2.1
54772c39 2482%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oracle\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2483
2484%triggerun overload -- %{name}-overload < 3:4.4.0-2.1
54772c39 2485%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*overload\.so/d' %{_sysconfdir}/php.ini
a9b191aa 2486
1a8d74bb
ER
2487%triggerun pcntl -- %{name}-pcntl < 3:4.4.2-9.4
2488if [ -f %{_sysconfdir}/php-cgi.ini ]; then
54772c39 2489 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
1a8d74bb
ER
2490fi
2491if [ -f %{_sysconfdir}/php-cli.ini ]; then
54772c39 2492 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
1a8d74bb
ER
2493fi
2494
a9b191aa 2495%triggerun pcre -- %{name}-pcre < 3:4.4.0-2.1
54772c39 2496%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcre\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2497
2498%triggerun pdf -- %{name}-pdf < 3:4.4.0-2.1
54772c39 2499%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pdf\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2500
2501%triggerun pgsql -- %{name}-pgsql < 3:4.4.0-2.1
54772c39 2502%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2503
2504%triggerun posix -- %{name}-posix < 3:4.4.0-2.1
54772c39 2505%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2506
2507%triggerun pspell -- %{name}-pspell < 3:4.4.0-2.1
54772c39 2508%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2509
2510%triggerun qtdom -- %{name}-qtdom < 3:4.4.0-2.1
54772c39 2511%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*qtdom\.so/d' %{_sysconfdir}/php.ini
a9b191aa 2512
1a8d74bb
ER
2513%triggerun readline -- %{name}-readline < 3:4.4.2-9.4
2514if [ -f %{_sysconfdir}/php-cgi.ini ]; then
54772c39 2515 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
1a8d74bb
ER
2516fi
2517if [ -f %{_sysconfdir}/php-cli.ini ]; then
54772c39 2518 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
1a8d74bb
ER
2519fi
2520
a9b191aa 2521%triggerun recode -- %{name}-recode < 3:4.4.0-2.1
54772c39 2522%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
a9b191aa 2523
a9b191aa 2524%triggerun shmop -- %{name}-shmop < 3:4.4.0-2.1
54772c39 2525%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2526
2527%triggerun snmp -- %{name}-snmp < 3:4.4.0-2.1
54772c39 2528%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2529
2530%triggerun sockets -- %{name}-sockets < 3:4.4.0-2.1
54772c39 2531%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2532
2533%triggerun sybase -- %{name}-sybase < 3:4.4.0-2.1
54772c39 2534%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2535
2536%triggerun sybase-ct -- %{name}-sybase-ct < 3:4.4.0-2.1
54772c39 2537%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase_ct\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2538
2539%triggerun sysvmsg -- %{name}-sysvmsg < 3:4.4.0-2.1
54772c39 2540%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2541
2542%triggerun sysvsem -- %{name}-sysvsem < 3:4.4.0-2.1
54772c39 2543%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2544
2545%triggerun sysvshm -- %{name}-sysvshm < 3:4.4.0-2.1
54772c39 2546%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2547
2548%triggerun wddx -- %{name}-wddx < 3:4.4.0-2.1
54772c39 2549%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2550
2551%triggerun xml -- %{name}-xml < 3:4.4.0-2.1
54772c39 2552%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2553
2554%triggerun xmlrpc -- %{name}-xmlrpc < 3:4.4.0-2.1
54772c39 2555%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2556
2557%triggerun xslt -- %{name}-xslt < 3:4.4.0-2.1
54772c39 2558%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xslt\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2559
2560%triggerun yaz -- %{name}-yaz < 3:4.4.0-2.1
54772c39 2561%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*yaz\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2562
2563%triggerun yp -- %{name}-yp < 3:4.4.0-2.1
54772c39 2564%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*yp\.so/d' %{_sysconfdir}/php.ini
a9b191aa
ER
2565
2566%triggerun zip -- %{name}-zip < 3:4.4.0-2.1
54772c39 2567%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zip\.so/d' %{_sysconfdir}/php.ini
f7f29656 2568
6d5ed34c 2569%triggerun zlib -- %{name}-zlib < 3:4.4.0-2.1
54772c39 2570%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
5e5319cb 2571
c6842fa7 2572%if %{with apache1}
74c09513
ER
2573%files -n apache1-mod_php4
2574%defattr(644,root,root,755)
e0ed97fd 2575%doc sapi/apache/CREDITS
520d65e9 2576%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php4.conf
1a8d74bb 2577%dir %{_sysconfdir}/apache.d
520d65e9 2578%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
e622724a 2579%attr(755,root,root) %{_libdir}/apache1/libphp4.so
74c09513 2580/home/services/apache/icons/*
c6842fa7 2581%endif
74c09513 2582
c6842fa7 2583%if %{with apache2}
74c09513 2584%files -n apache-mod_php4
e89e2b0f 2585%defattr(644,root,root,755)
e0ed97fd 2586%doc sapi/apache2handler/{CREDITS,README}
520d65e9 2587%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php4.conf
1a8d74bb 2588%dir %{_sysconfdir}/apache2handler.d
520d65e9 2589%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
e622724a 2590%attr(755,root,root) %{_libdir}/apache/libphp4.so
74c09513 2591/home/services/httpd/icons/*
c6842fa7 2592%endif
28f4aa77 2593
7a419765 2594%if %{with fcgi}
7cd0f72f
AM
2595%files fcgi
2596%defattr(644,root,root,755)
e0ed97fd 2597%doc sapi/cgi/{CREDITS,README.FastCGI}
491205f7 2598%attr(755,root,root) %{_bindir}/php4.fcgi
1a8d74bb 2599%dir %{_sysconfdir}/cgi-fcgi.d
520d65e9 2600%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
7a419765 2601%endif
7cd0f72f 2602
28f4aa77
JR
2603%files cgi
2604%defattr(644,root,root,755)
e0ed97fd 2605%doc sapi/cgi/CREDITS
491205f7 2606%attr(755,root,root) %{_bindir}/php4.cgi
1a8d74bb 2607%dir %{_sysconfdir}/cgi.d
520d65e9 2608%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
28f4aa77 2609
422bc385
JB
2610%files cli
2611%defattr(644,root,root,755)
e0ed97fd 2612%doc sapi/cli/{CREDITS,README}
491205f7 2613%attr(755,root,root) %{_bindir}/php4.cli
6d5ed34c 2614%attr(755,root,root) %{_bindir}/php4
1a8d74bb 2615%dir %{_sysconfdir}/cli.d
520d65e9 2616%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
491205f7 2617%{_mandir}/man1/php4.1*
422bc385 2618
efe21d81
ER
2619%files program
2620%defattr(644,root,root,755)
2621%attr(755,root,root) %{_bindir}/php
2622
28f4aa77
JR
2623%files common
2624%defattr(644,root,root,755)
ba7233b7 2625%doc php.ini-*
8a6abb99 2626%doc CREDITS Zend/ZEND_CHANGES
7f2d8ce7 2627%doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
e89e2b0f 2628
13f54fcc 2629%dir %{_sysconfdir}
6d5ed34c 2630%dir %{_sysconfdir}/conf.d
3f810123 2631%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
b73947d6 2632%attr(755,root,root) %{_libdir}/libphp_common-*.so
28dd0654
AF
2633%dir %{extensionsdir}
2634
2635%files devel
2636%defattr(644,root,root,755)
8a6abb99
ER
2637%doc README.UNIX-BUILD-SYSTEM
2638%doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2639%doc CODING_STANDARDS
28dd0654
AF
2640%attr(755,root,root) %{_bindir}/phpize
2641%attr(755,root,root) %{_bindir}/php-config
8a6abb99 2642%attr(755,root,root) %{_bindir}/php-ext_skel
b73947d6 2643%attr(755,root,root) %{_libdir}/libphp_common.so
74c09513 2644# FIXME: how exactly this is needed? as it contains libdir for apache1 or apache2
93af1413 2645%{_libdir}/libphp_common.la
b73947d6 2646%{_includedir}/php
28d58db8 2647%{_libdir}/php/build
c6842fa7
AM
2648%{_mandir}/man1/php-config.1*
2649%{_mandir}/man1/phpize.1*
28dd0654 2650
7f2d8ce7 2651%files bcmath
00003d57 2652%defattr(644,root,root,755)
e0ed97fd 2653%doc ext/bcmath/CREDITS
520d65e9 2654%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
7f2d8ce7 2655%attr(755,root,root) %{extensionsdir}/bcmath.so
00003d57 2656
7f2d8ce7 2657%files bzip2
c6f034c5 2658%defattr(644,root,root,755)
e0ed97fd 2659%doc ext/bz2/CREDITS
520d65e9 2660%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
7f2d8ce7 2661%attr(755,root,root) %{extensionsdir}/bz2.so
c6f034c5 2662
7f2d8ce7 2663%files calendar
59bcb091 2664%defattr(644,root,root,755)
e0ed97fd 2665%doc ext/calendar/CREDITS
520d65e9 2666%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
7f2d8ce7 2667%attr(755,root,root) %{extensionsdir}/calendar.so
816d4a09 2668
b6f861c7 2669%if %{with cpdf}
7f2d8ce7 2670%files cpdf
50542e66 2671%defattr(644,root,root,755)
e0ed97fd 2672%doc ext/cpdf/CREDITS
520d65e9 2673%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/cpdf.ini
7f2d8ce7 2674%attr(755,root,root) %{extensionsdir}/cpdf.so
50542e66 2675%endif
2676
9ee9d278 2677%files crack
2678%defattr(644,root,root,755)
e0ed97fd 2679%doc ext/crack/CREDITS
520d65e9 2680%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/crack.ini
9ee9d278 2681%attr(755,root,root) %{extensionsdir}/crack.so
2682
7f2d8ce7 2683%files ctype
4aa30c82 2684%defattr(644,root,root,755)
e0ed97fd 2685%doc ext/ctype/{CREDITS,README}
520d65e9 2686%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
7f2d8ce7 2687%attr(755,root,root) %{extensionsdir}/ctype.so
55eb8ec0 2688
b6f861c7 2689%if %{with curl}
7f2d8ce7 2690%files curl
e502ab2a 2691%defattr(644,root,root,755)
e0ed97fd 2692%doc ext/curl/CREDITS
520d65e9 2693%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
7f2d8ce7 2694%attr(755,root,root) %{extensionsdir}/curl.so
ab5ab063 2695%endif
55eb8ec0 2696
9ee9d278 2697%files db
2698%defattr(644,root,root,755)
e0ed97fd 2699%doc ext/db/CREDITS
520d65e9 2700%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/db.ini
9ee9d278 2701%attr(755,root,root) %{extensionsdir}/db.so
2702
c6f034c5
AF
2703%files dba
2704%defattr(644,root,root,755)
e0ed97fd 2705%doc ext/dba/{CREDITS,README}
520d65e9 2706%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
28dd0654 2707%attr(755,root,root) %{extensionsdir}/dba.so
c6f034c5
AF
2708
2709%files dbase
2710%defattr(644,root,root,755)
e0ed97fd 2711%doc ext/dbase/CREDITS
520d65e9 2712%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
28dd0654 2713%attr(755,root,root) %{extensionsdir}/dbase.so
c6f034c5 2714
7f2d8ce7 2715%files dbx
c6f034c5 2716%defattr(644,root,root,755)
e0ed97fd 2717%doc ext/dbx/{CREDITS,howto_extend_dbx.html}
520d65e9 2718%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbx.ini
7f2d8ce7 2719%attr(755,root,root) %{extensionsdir}/dbx.so
c6f034c5 2720
7f2d8ce7 2721%files dio
c6f034c5 2722%defattr(644,root,root,755)
520d65e9 2723%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dio.ini
7f2d8ce7 2724%attr(755,root,root) %{extensionsdir}/dio.so
c6f034c5 2725
9ee9d278 2726%if %{with xml}
2727%files domxml
c6f034c5 2728%defattr(644,root,root,755)
e0ed97fd 2729%doc ext/domxml/{CREDITS,TODO}
520d65e9 2730%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/domxml.ini
9ee9d278 2731%attr(755,root,root) %{extensionsdir}/domxml.so
9b236db2 2732%endif
c6f034c5 2733
b6f861c7 2734%if %{with fdf}
5c7004b5
JB
2735%files fdf
2736%defattr(644,root,root,755)
e0ed97fd 2737%doc ext/fdf/CREDITS
520d65e9 2738%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
5c7004b5
JB
2739%attr(755,root,root) %{extensionsdir}/fdf.so
2740%endif
2741
7f2d8ce7 2742%files exif
c6f034c5 2743%defattr(644,root,root,755)
e0ed97fd 2744%doc ext/exif/CREDITS
520d65e9 2745%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
7f2d8ce7 2746%attr(755,root,root) %{extensionsdir}/exif.so
c6f034c5 2747
7f2d8ce7 2748%files filepro
c6f034c5 2749%defattr(644,root,root,755)
e0ed97fd 2750%doc ext/filepro/CREDITS
520d65e9 2751%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filepro.ini
7f2d8ce7 2752%attr(755,root,root) %{extensionsdir}/filepro.so
c6f034c5 2753
9ee9d278 2754%if %{with fribidi}
2755%files fribidi
2756%defattr(644,root,root,755)
2757%doc ext/fribidi/{CREDITS,README}
520d65e9 2758%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fribidi.ini
9ee9d278 2759%attr(755,root,root) %{extensionsdir}/fribidi.so
2760%endif
2761
c6f034c5
AF
2762%files ftp
2763%defattr(644,root,root,755)
e0ed97fd 2764%doc ext/ftp/CREDITS
520d65e9 2765%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
28dd0654 2766%attr(755,root,root) %{extensionsdir}/ftp.so
c6f034c5 2767
7f2d8ce7 2768%files gd
c6f034c5 2769%defattr(644,root,root,755)
e0ed97fd 2770%doc ext/gd/CREDITS
520d65e9 2771%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
7f2d8ce7 2772%attr(755,root,root) %{extensionsdir}/gd.so
c6f034c5 2773
7f2d8ce7 2774%files gettext
5e5319cb 2775%defattr(644,root,root,755)
e0ed97fd 2776%doc ext/gettext/CREDITS
520d65e9 2777%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
7f2d8ce7 2778%attr(755,root,root) %{extensionsdir}/gettext.so
5e5319cb 2779
7f2d8ce7 2780%files gmp
25595e5c 2781%defattr(644,root,root,755)
e0ed97fd 2782%doc ext/gmp/{CREDITS,README,TODO}
520d65e9 2783%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
7f2d8ce7 2784%attr(755,root,root) %{extensionsdir}/gmp.so
25595e5c 2785
7f2d8ce7 2786%files hyperwave
25595e5c 2787%defattr(644,root,root,755)
e0ed97fd 2788%doc ext/hyperwave/CREDITS
520d65e9 2789%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hyperwave.ini
7f2d8ce7 2790%attr(755,root,root) %{extensionsdir}/hyperwave.so
25595e5c 2791
7f2d8ce7 2792%files iconv
25595e5c 2793%defattr(644,root,root,755)
520d65e9 2794%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
7f2d8ce7 2795%attr(755,root,root) %{extensionsdir}/iconv.so
25595e5c 2796
b6f861c7 2797%if %{with imap}
ba18f505
AF
2798%files imap
2799%defattr(644,root,root,755)
e0ed97fd 2800%doc ext/imap/CREDITS
520d65e9 2801%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
28dd0654 2802%attr(755,root,root) %{extensionsdir}/imap.so
e199e256 2803%endif
ba18f505 2804
b6f861c7 2805%if %{with interbase}
7f2d8ce7 2806%files interbase
25595e5c 2807%defattr(644,root,root,755)
e0ed97fd 2808%doc ext/interbase/CREDITS
520d65e9 2809%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
7f2d8ce7 2810%attr(755,root,root) %{extensionsdir}/interbase.so
e199e256 2811%endif
25595e5c 2812
b6f861c7 2813%if %{with java}
55eb8ec0
AF
2814%files java
2815%defattr(644,root,root,755)
e0ed97fd 2816%doc ext/java/{CREDITS,README}
520d65e9 2817%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/java.ini
7f2d8ce7 2818%attr(755,root,root) %{extensionsdir}/java.so
93af1413 2819%{extensionsdir}/php_java.jar
59bcb091 2820%endif
1d69deca 2821
b6f861c7 2822%if %{with ldap}
6080c81d 2823%files ldap
b0e541d8 2824%defattr(644,root,root,755)
e0ed97fd 2825%doc ext/ldap/CREDITS
520d65e9 2826%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
5e5319cb 2827%attr(755,root,root) %{extensionsdir}/ldap.so
59bcb091 2828%endif
6080c81d 2829
7f2d8ce7 2830%files mbstring
b0e541d8 2831%defattr(644,root,root,755)
e0ed97fd 2832%doc ext/mbstring/{CREDITS,README,README.libmbfl}
520d65e9 2833%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
7f2d8ce7 2834%attr(755,root,root) %{extensionsdir}/mbstring.so
2835
9ee9d278 2836%files mcal
2837%defattr(644,root,root,755)
e0ed97fd 2838%doc ext/mcal/CREDITS
520d65e9 2839%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcal.ini
9ee9d278 2840%attr(755,root,root) %{extensionsdir}/mcal.so
2841
6080c81d 2842%files mcrypt
b0e541d8 2843%defattr(644,root,root,755)
e0ed97fd 2844%doc ext/mcrypt/{CREDITS,TODO}
520d65e9 2845%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
28dd0654 2846%attr(755,root,root) %{extensionsdir}/mcrypt.so
6080c81d 2847
b6f861c7 2848%if %{with mhash}
59bcb091
AF
2849%files mhash
2850%defattr(644,root,root,755)
e0ed97fd 2851%doc ext/mhash/CREDITS
520d65e9 2852%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
28dd0654 2853%attr(755,root,root) %{extensionsdir}/mhash.so
05039a7d 2854%endif
59bcb091 2855
5c7004b5
JB
2856%files mime_magic
2857%defattr(644,root,root,755)
e0ed97fd 2858%doc ext/mime_magic/{CREDITS,TODO}
520d65e9 2859%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
5c7004b5
JB
2860%attr(755,root,root) %{extensionsdir}/mime_magic.so
2861
b6f861c7 2862%if %{with ming}
7f2d8ce7 2863%files ming
2864%defattr(644,root,root,755)
e0ed97fd 2865%doc ext/ming/CREDITS
520d65e9 2866%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
7f2d8ce7 2867%attr(755,root,root) %{extensionsdir}/ming.so
05039a7d 2868%endif
7f2d8ce7 2869
b6f861c7 2870%if %{with mnogosearch}
7f2d8ce7 2871%files mnogosearch
2872%defattr(644,root,root,755)
e0ed97fd 2873%doc ext/mnogosearch/{CREDITS,README}
520d65e9 2874%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mnogosearch.ini
7f2d8ce7 2875%attr(755,root,root) %{extensionsdir}/mnogosearch.so
05039a7d 2876%endif
7f2d8ce7 2877
b6f861c7 2878%if %{with msession}
7f2d8ce7 2879%files msession
2880%defattr(644,root,root,755)
e0ed97fd 2881%doc ext/msession/{CREDITS,README,msession-test.php}
520d65e9 2882%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/msession.ini
7f2d8ce7 2883%attr(755,root,root) %{extensionsdir}/msession.so
2884%endif
2885
b6f861c7 2886%if %{with mssql}
ce79833d 2887%files mssql
2888%defattr(644,root,root,755)
e0ed97fd 2889%doc ext/mssql/CREDITS
520d65e9 2890%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
ce79833d 2891%attr(755,root,root) %{extensionsdir}/mssql.so
2892%endif
2893
7f2d8ce7 2894%files mysql
2895%defattr(644,root,root,755)
e0ed97fd 2896%doc ext/mysql/CREDITS
520d65e9 2897%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
7f2d8ce7 2898%attr(755,root,root) %{extensionsdir}/mysql.so
2899
5c7004b5
JB
2900%files ncurses
2901%defattr(644,root,root,755)
e0ed97fd 2902%doc ext/ncurses/CREDITS
1a8d74bb 2903%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/ncurses.ini
5c7004b5
JB
2904%attr(755,root,root) %{extensionsdir}/ncurses.so
2905
b6f861c7 2906%if %{with oci8}
7f2d8ce7 2907%files oci8
2908%defattr(644,root,root,755)
e0ed97fd 2909%doc ext/oci8/CREDITS
520d65e9 2910%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
7f2d8ce7 2911%attr(755,root,root) %{extensionsdir}/oci8.so
2912%endif
2913
b6f861c7 2914%if %{with odbc}
59bcb091
AF
2915%files odbc
2916%defattr(644,root,root,755)
e0ed97fd 2917%doc ext/odbc/CREDITS
520d65e9 2918%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
28dd0654 2919%attr(755,root,root) %{extensionsdir}/odbc.so
e199e256 2920%endif
59bcb091 2921
b6f861c7 2922%if %{with oracle}
7f2d8ce7 2923%files oracle
800c41be 2924%defattr(644,root,root,755)
e0ed97fd 2925%doc ext/oracle/CREDITS
520d65e9 2926%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oracle.ini
7f2d8ce7 2927%attr(755,root,root) %{extensionsdir}/oracle.so
2928%endif
4f44efc9 2929
9ee9d278 2930%files overload
2931%defattr(644,root,root,755)
e0ed97fd 2932%doc ext/overload/{CREDITS,README}
520d65e9 2933%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/overload.ini
9ee9d278 2934%attr(755,root,root) %{extensionsdir}/overload.so
2935
e6e515f1
JB
2936%files pcntl
2937%defattr(644,root,root,755)
e0ed97fd 2938%doc ext/pcntl/{CREDITS,README}
1a8d74bb 2939%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
e6e515f1 2940%attr(755,root,root) %{extensionsdir}/pcntl.so
7f2d8ce7 2941
b6f861c7 2942%if %{with pcre}
7f2d8ce7 2943%files pcre
8d728856 2944%defattr(644,root,root,755)
e0ed97fd 2945%doc ext/pcre/CREDITS
520d65e9 2946%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcre.ini
7f2d8ce7 2947%attr(755,root,root) %{extensionsdir}/pcre.so
e6e515f1 2948%endif
7f2d8ce7 2949
9ee9d278 2950%if %{with pdf}
2951%files pdf
2952%defattr(644,root,root,755)
e0ed97fd 2953%doc ext/pdf/CREDITS
520d65e9 2954%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdf.ini
9ee9d278 2955%attr(755,root,root) %{extensionsdir}/pdf.so
2956%endif
2957
b6f861c7 2958%if %{with pgsql}
7f2d8ce7 2959%files pgsql
2960%defattr(644,root,root,755)
e0ed97fd 2961%doc ext/pgsql/{CREDITS,README}
520d65e9 2962%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
7f2d8ce7 2963%attr(755,root,root) %{extensionsdir}/pgsql.so
ab5ab063 2964%endif
7f2d8ce7 2965
2966%files posix
2967%defattr(644,root,root,755)
e0ed97fd 2968%doc ext/posix/CREDITS
520d65e9 2969%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
7f2d8ce7 2970%attr(755,root,root) %{extensionsdir}/posix.so
2971
b6f861c7 2972%if %{with pspell}
7f2d8ce7 2973%files pspell
2974%defattr(644,root,root,755)
e0ed97fd 2975%doc ext/overload/{CREDITS,README}
520d65e9 2976%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
7f2d8ce7 2977%attr(755,root,root) %{extensionsdir}/pspell.so
05039a7d 2978%endif
7f2d8ce7 2979
9ee9d278 2980%if %{with qtdom}
2981%files qtdom
2982%defattr(644,root,root,755)
e0ed97fd 2983%doc ext/qtdom/CREDITS
520d65e9 2984%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/qtdom.ini
9ee9d278 2985%attr(755,root,root) %{extensionsdir}/qtdom.so
2986%endif
2987
5c7004b5
JB
2988%files readline
2989%defattr(644,root,root,755)
e0ed97fd 2990%doc ext/readline/{CREDITS,README.libedit}
1a8d74bb 2991%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
5c7004b5
JB
2992%attr(755,root,root) %{extensionsdir}/readline.so
2993
b6f861c7 2994%if %{with recode}
7f2d8ce7 2995%files recode
2996%defattr(644,root,root,755)
e0ed97fd 2997%doc ext/recode/CREDITS
520d65e9 2998%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
7f2d8ce7 2999%attr(755,root,root) %{extensionsdir}/recode.so
3000%endif
3001
3002# session_mm doesn't work with shared session
3003#%files session
3004#%defattr(644,root,root,755)
6d5ed34c 3005#%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/session.ini
7f2d8ce7 3006#%attr(755,root,root) %{extensionsdir}/session.so
3007
3008%files shmop
3009%defattr(644,root,root,755)
e0ed97fd 3010%doc ext/shmop/{CREDITS,README}
520d65e9 3011%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
7f2d8ce7 3012%attr(755,root,root) %{extensionsdir}/shmop.so
3013
b6f861c7 3014%if %{with snmp}
7f2d8ce7 3015%files snmp
3016%defattr(644,root,root,755)
e0ed97fd 3017%doc ext/snmp/CREDITS
520d65e9 3018%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
7f2d8ce7 3019%attr(755,root,root) %{extensionsdir}/snmp.so
3020%endif
3021
3022%files sockets
3023%defattr(644,root,root,755)
e0ed97fd 3024%doc ext/sockets/CREDITS
520d65e9 3025%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
7f2d8ce7 3026%attr(755,root,root) %{extensionsdir}/sockets.so
3027
b6f861c7 3028%if %{with sybase}
5c7004b5
JB
3029%files sybase
3030%defattr(644,root,root,755)
e0ed97fd 3031%doc ext/sybase/CREDITS
520d65e9 3032%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
5c7004b5
JB
3033%attr(755,root,root) %{extensionsdir}/sybase.so
3034
7f2d8ce7 3035%files sybase-ct
3036%defattr(644,root,root,755)
e0ed97fd 3037%doc ext/sybase_ct/CREDITS
520d65e9 3038%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
7f2d8ce7 3039%attr(755,root,root) %{extensionsdir}/sybase_ct.so
8d728856 3040%endif
2fa1a084 3041
5c7004b5
JB
3042%files sysvmsg
3043%defattr(644,root,root,755)
e0ed97fd 3044%doc ext/sysvmsg/CREDITS
520d65e9 3045%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
5c7004b5
JB
3046%attr(755,root,root) %{extensionsdir}/sysvmsg.so
3047
7f2d8ce7 3048%files sysvsem
3049%defattr(644,root,root,755)
e0ed97fd 3050%doc ext/sysvsem/CREDITS
520d65e9 3051%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
7f2d8ce7 3052%attr(755,root,root) %{extensionsdir}/sysvsem.so
3053
3054%files sysvshm
3055%defattr(644,root,root,755)
e0ed97fd 3056%doc ext/sysvshm/CREDITS
520d65e9 3057%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
7f2d8ce7 3058%attr(755,root,root) %{extensionsdir}/sysvshm.so
3059
9a0f3d92
ER
3060%files tokenizer
3061%defattr(644,root,root,755)
e0ed97fd 3062%doc ext/tokenizer/{CREDITS,tokenizer.php}
520d65e9 3063%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
9a0f3d92
ER
3064%attr(755,root,root) %{extensionsdir}/tokenizer.so
3065
b6f861c7 3066%if %{with wddx}
2fa1a084
JB
3067%files wddx
3068%defattr(644,root,root,755)
e0ed97fd 3069%doc ext/wddx/CREDITS
0ae8174c 3070%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2fa1a084
JB
3071%attr(755,root,root) %{extensionsdir}/wddx.so
3072%endif
114759eb 3073
b6f861c7 3074%if %{with xml}
7f2d8ce7 3075%files xml
3076%defattr(644,root,root,755)
e0ed97fd 3077%doc ext/xml/CREDITS
520d65e9 3078%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
7f2d8ce7 3079%attr(755,root,root) %{extensionsdir}/xml.so
e6e515f1 3080%endif
7f2d8ce7 3081
b6f861c7 3082%if %{with xmlrpc}
7f2d8ce7 3083%files xmlrpc
114759eb 3084%defattr(644,root,root,755)
e0ed97fd 3085%doc ext/xmlrpc/CREDITS
520d65e9 3086%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
7f2d8ce7 3087%attr(755,root,root) %{extensionsdir}/xmlrpc.so
e6e515f1 3088%endif
7f2d8ce7 3089
9ee9d278 3090%if %{with xslt}
3091%files xslt
3092%defattr(644,root,root,755)
e0ed97fd 3093%doc ext/xslt/{README.XSLT-BACKENDS,TODO}
520d65e9 3094%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xslt.ini
9ee9d278 3095%attr(755,root,root) %{extensionsdir}/xslt.so
3096%endif
5e5319cb 3097
b6f861c7 3098%if %{with yaz}
7f2d8ce7 3099%files yaz
5e5319cb 3100%defattr(644,root,root,755)
e0ed97fd 3101%doc ext/yaz/{CREDITS,README}
520d65e9 3102%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/yaz.ini
7f2d8ce7 3103%attr(755,root,root) %{extensionsdir}/yaz.so
64fa0c46 3104%endif
5e5319cb 3105
7f2d8ce7 3106%files yp
5e5319cb 3107%defattr(644,root,root,755)
e0ed97fd 3108%doc ext/yp/CREDITS
520d65e9 3109%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/yp.ini
7f2d8ce7 3110%attr(755,root,root) %{extensionsdir}/yp.so
5e5319cb 3111
9ee9d278 3112%files zip
3113%defattr(644,root,root,755)
e0ed97fd 3114%doc ext/zip/CREDITS
520d65e9 3115%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
9ee9d278 3116%attr(755,root,root) %{extensionsdir}/zip.so
3117
7f2d8ce7 3118%files zlib
3119%defattr(644,root,root,755)
e0ed97fd 3120%doc ext/zlib/CREDITS
520d65e9 3121%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
7f2d8ce7 3122%attr(755,root,root) %{extensionsdir}/zlib.so
This page took 3.172593 seconds and 4 git commands to generate.