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