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