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