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