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