]> git.pld-linux.org Git - packages/php.git/blame - php.spec
fileinfo extension bundles magic db (todo)
[packages/php.git] / php.spec
CommitLineData
02d2dcbb
ER
1# TODO 5.4:
2# - do not remove PatchX: definitions until merged to HEAD, needed for tracking their state
3# - check php-sapi-ini-file.patch for safe mode removal
4# - enable suhoshin patch (needs api porting)
5# - enable litespeed (needs api porting)
6# - update imap annotations patch (needs api porting)
7# - update imap myrights patch (needs api porting)
02d2dcbb 8# --with-libmbfl=DIR MBSTRING: Use external libmbfl. DIR is the libmbfl base install directory BUNDLED
ea0fc5e3 9# --with-onig=DIR MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
3f93948f 10# - uses libvpx for webp support, should use libwebp-devel instead?
0d92f5f0 11# - fpm -qn check fails, as it still loads /etc/php/php.ini
cfb6f787
ER
12# - co-install with php 5.3:
13# file /etc/rc.d/init.d/php-fpm from install of php54-fpm-5.4.5-0.2.i686 conflicts with file from package php-fpm-5.3.14-1.i686
14# file /usr/sbin/php-fpm from install of php54-fpm-5.4.5-0.2.i686 conflicts with file from package php-fpm-5.3.14-1.i686
15# file /usr/share/man/man8/php-fpm.8.gz from install of php54-fpm-5.4.5-0.2.i686 conflicts with file from package php-fpm-5.3.14-1.i686
16# file /usr/bin/php.cli from install of php54-cli-5.4.5-0.2.i686 conflicts with file from package php-cli-5.3.14-1.i686
17# file /usr/share/man/man1/php.1.gz from install of php54-cli-5.4.5-0.2.i686 conflicts with file from package php-cli-5.3.14-1.i686
13f02a12
ER
18# NOTE: mysqlnd does not support ssl or compression (see FAQ at http://dev.mysql.com/downloads/connector/php-mysqlnd/)
19# UNPACKAGED EXTENSION NOTES:
20# - com_dotnet is Win32-only
c0240cb1 21# TODO:
ef621865
ER
22# - fileinfo extension bundles magic db in library: data_file.c (dump of magic.mgc) is 14M
23# - 2.3M fileinfo.so php54-fileinfo-5.4.6-0.15.x86_64
24# - 2.3M fileinfo.so php-fileinfo-5.3.16-1.x86_64
25# - 13K fileinfo.so php-pecl-fileinfo-1.0.4-8.amd64
c0240cb1 26# - ttyname_r() misdetected http://bugs.php.net/bug.php?id=48820
27# - wddx: restore session support (not compiled in due DL extension check)
28# - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere
29# - removed from php 5.0 (currently in php4):
30# db [pecl-svn], hyperwave [pecl-svn], java [pecl-svn], mcal [pecl-svn], qtdom [pecl-svn]
31# - removed from php 5.1:
32# oracle [pecl-svn]
33# - removed from php 5.2:
34# filepro [pecl-svn], hwapi [pecl-svn]
35# - make additional headers and checking added by mail patch configurable
36# - modularize standard (output from pure php -m)?
37# - lib64 patch obsolete by $PHP_LIBDIR ?
38# - WARNING: Phar: sha256/sha512 signature support disabled if ext/hash is
39# built shared, also PHAR_HAVE_OPENSSL is false if openssl is built shared.
40# make it runtime dep and add Suggests (or php warning messages)
41# - some mods should be shared:
42#$ php -m
43# [PHP Modules]
44#+Core
45# date
46#+ereg
47# libxml
48# Reflection
49#
50# Conditional build:
51%bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
52%bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
53%bcond_with instantclient # build Oracle oci8 extension module against oracle-instantclient package
54%bcond_with system_gd # with system gd (we prefer internal since it enables few more features)
13f02a12 55%bcond_with system_libzip # with system libzip (reported broken currently)
c0240cb1 56%bcond_without curl # without CURL extension module
57%bcond_without filter # without filter extension module
13f02a12 58%bcond_without enchant # without Enchant extension module
c0240cb1 59%bcond_without imap # without IMAP extension module
60%bcond_without interbase # without InterBase extension module
61%bcond_without kerberos5 # without Kerberos5 support
02d2dcbb 62%bcond_with litespeed # build litespeed module
c0240cb1 63%bcond_without ldap # without LDAP extension module
64%bcond_without mhash # without mhash extension (supported by hash extension)
65%bcond_without mm # without mm support for session storage
66%bcond_without mssql # without MS SQL extension module
67# don't turn it on by default; see TODO item for mysqlnd in this spec
68%bcond_with mysqlnd # with mysqlnd support in mysql related extensions
69%bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
70%bcond_without odbc # without ODBC extension module
71%bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
72%bcond_without pcre # without PCRE extension module
73%bcond_without pdo_sqlite # without PDO SQLite extension module
74%bcond_without pgsql # without PostgreSQL extension module
75%bcond_without phar # without phar extension module
76%bcond_without pspell # without pspell extension module
77%bcond_without recode # without recode extension module
78%bcond_without snmp # without SNMP extension module
79%bcond_without sqlite2 # without SQLite extension module
80%bcond_without sqlite3 # without SQLite3 extension module
81%bcond_without sybase_ct # without Sybase-CT extension module
82%bcond_without tidy # without Tidy extension module
83%bcond_without wddx # without WDDX extension module
84%bcond_without xmlrpc # without XML-RPC extension module
85%bcond_without apache1 # disable building Apache 1.3.x SAPI
86%bcond_without apache2 # disable building Apache 2.x SAPI
87%bcond_with zts # Zend Thread Safety
88%bcond_without cgi # disable CGI/FCGI SAPI
89%bcond_without fpm # disable FPM
ee044483 90%bcond_with embed # disable Embedded API
02d2dcbb 91%bcond_with suhosin # with suhosin patch
c0240cb1 92%bcond_with tests # default off; test process very often hangs on builders, approx run time 45m; perform "make test"
93%bcond_with gcov # Enable Code coverage reporting
94%bcond_with type_hints # experimental support for strict typing/casting
95
96%define apxs1 /usr/sbin/apxs1
97%define apxs2 /usr/sbin/apxs
98%define litespeed_version 5.5
99
100# disable all sapis
101%if %{with gcov}
102%undefine with_apache1
103%undefine with_apache2
104%undefine with_cgi
105%undefine with_litespeed
106%endif
107
108# mm is not thread safe
109%if %{with zts}
110%undefine with_mm
111%endif
112
113%ifnarch %{ix86} %{x8664} sparc sparcv9 alpha
114# ppc disabled (broken on th-ppc)
115%undefine with_interbase
116%endif
117
118%ifnarch %{ix86} %{x8664}
119# unsupported, see sapi/cgi/fpm/fpm_atomic.h
120%undefine with_fpm
121%endif
122
123%if 0
124%if %{without apache1} && %{without apache2}
125ERROR: You need to select at least one Apache SAPI to build shared modules.
126%endif
127%endif
128
129# filter depends on pcre
130%if %{without pcre}
131%undefine with_filter
132%endif
133
a3c07000
ER
134%define orgname php
135%define php_suffix 54
136
529e9ea3 137%define rel 0.15
c0240cb1 138Summary: PHP: Hypertext Preprocessor
139Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
140Summary(pl.UTF-8): Język skryptowy PHP
141Summary(pt_BR.UTF-8): A linguagem de script PHP
142Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
143Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
a3c07000 144Name: %{orgname}%{php_suffix}
4f40fd75 145Version: 5.4.6
c0240cb1 146Release: %{rel}%{?with_type_hints:.th}%{?with_oci8:.oci}
147Epoch: 4
148License: PHP
149Group: Libraries
a3c07000 150Source0: http://www.php.net/distributions/%{orgname}-%{version}.tar.bz2
4f40fd75 151# Source0-md5: c9aa0f4996d1b91ee9e45afcfaeb5d2e
a3c07000
ER
152Source2: %{orgname}-mod_%{orgname}.conf
153Source3: %{orgname}-cgi-fcgi.ini
154Source4: %{orgname}-apache.ini
155Source5: %{orgname}-cli.ini
c0240cb1 156# Taken from: http://browsers.garykeith.com/downloads.asp
a3c07000
ER
157Source9: %{orgname}_browscap.ini
158Source10: %{orgname}-fpm.init
159Source11: %{orgname}-fpm.logrotate
160Source12: %{orgname}-branch.sh
c0240cb1 161Source13: dep-tests.sh
162Source14: skip-tests.sh
02d2dcbb 163# Source15Download: http://litespeedtech.com/lsapi-downloads.html
a3c07000 164Source15: http://litespeedtech.com/packages/lsapi/%{orgname}-litespeed-%{litespeed_version}.tgz
c0240cb1 165# Source15-md5: 9d58485d5fd6b5f5fefcec41b9ce283e
a3c07000
ER
166Patch0: %{orgname}-shared.patch
167Patch1: %{orgname}-pldlogo.patch
168Patch2: %{orgname}-mail.patch
169Patch3: %{orgname}-link-libs.patch
170Patch4: %{orgname}-libpq_fs_h_path.patch
171Patch5: %{orgname}-filter-shared.patch
172Patch6: %{orgname}-build_modules.patch
173Patch7: %{orgname}-sapi-ini-file.patch
174Patch8: %{orgname}-config-file-scan-dir.patch
175Patch9: %{orgname}-sh.patch
176Patch10: %{orgname}-ini.patch
13f02a12 177Patch11: embed.patch
c0240cb1 178%if %{with type_hints}
179Patch12: http://ilia.ws/patch/type_hint_53_v2.txt
180%endif
a3c07000
ER
181Patch14: %{orgname}-no_pear_install.patch
182#Patch15: %{orgname}-zlib.patch # no longer needed?
183Patch17: %{orgname}-readline.patch
184Patch18: %{orgname}-nohttpd.patch
185Patch19: %{orgname}-gd_imagerotate_enable.patch
186Patch20: %{orgname}-uint32_t.patch
187Patch21: %{orgname}-dba-link.patch
188Patch22: %{orgname}-both-apxs.patch
189Patch23: %{orgname}-builddir.patch
190Patch24: %{orgname}-zlib-for-getimagesize.patch
191Patch25: %{orgname}-stupidapache_version.patch
192Patch26: %{orgname}-pear.patch
193Patch27: %{orgname}-config-dir.patch
194Patch29: %{orgname}-fcgi-graceful.patch
195Patch31: %{orgname}-fcgi-error_log-no-newlines.patch
196#Patch32: %{orgname}-curl-limit-speed.patch # applied upstream
197Patch34: %{orgname}-libtool.patch
198Patch35: %{orgname}-tds.patch
199Patch36: %{orgname}-mysql-charsetphpini.patch
200Patch37: %{orgname}-mysqli-charsetphpini.patch
201Patch38: %{orgname}-pdo_mysql-charsetphpini.patch
202Patch39: %{orgname}-use-prog_sendmail.patch
203Patch41: %{orgname}-fpm-config.patch
204Patch42: %{orgname}-fpm-shared.patch
205Patch43: %{orgname}-silent-session-cleanup.patch
206Patch44: %{orgname}-include_path.patch
207Patch45: %{orgname}-imap-annotations.patch
208Patch46: %{orgname}-imap-myrights.patch
c0240cb1 209Patch47: suhosin.patch
a3c07000 210#Patch49: %{orgname}-m4-divert.patch # no longer needed, upstream supports new ac
c0240cb1 211Patch50: extension-shared-optional-dep.patch
212Patch51: spl-shared.patch
213Patch52: pcre-shared.patch
214Patch53: fix-test-run.patch
ee044483 215#Patch54: mysqlnd-shared.patch # shared build supported upstream
c0240cb1 216Patch55: bug-52078-fileinode.patch
ee044483 217#Patch57: bug-52448.patch # outdated
a3c07000
ER
218Patch59: %{orgname}-systzdata.patch
219Patch60: %{orgname}-oracle-instantclient.patch
220#Patch61: %{orgname}-krb5-ac.patch # not needed on 5.4 anymore
c0240cb1 221Patch62: mcrypt-libs.patch
a3c07000
ER
222Patch63: %{orgname}-mysql-nowarning.patch
223#Patch64: %{orgname}-m4.patch # not needed on 5.4 branch
13f02a12
ER
224# http://spot.fedorapeople.org/php-5.3.6-libzip.patch
225Patch65: system-libzip.patch
c0240cb1 226URL: http://www.php.net/
227%{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
228%{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
9eb543e2 229BuildRequires: autoconf >= 2.59
c0240cb1 230BuildRequires: automake >= 1.4d
231BuildRequires: bison
232BuildRequires: bzip2-devel
233%{?with_curl:BuildRequires: curl-devel >= 7.12.0}
234BuildRequires: cyrus-sasl-devel
235BuildRequires: db-devel >= 4.0
236BuildRequires: elfutils-devel
13f02a12 237%{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
c0240cb1 238#BuildRequires: fcgi-devel
239#BuildRequires: flex
240%{?with_kerberos5:BuildRequires: heimdal-devel}
13f02a12 241%{?with_system_libzip:BuildRequires: libzip-devel >= 0.10-3}
81d9fe7d 242%{!?with_mysqlnd:BuildRequires: mysql-devel}
c0240cb1 243BuildRequires: pkgconfig
244BuildRequires: sed >= 4.0
245%if %{with mssql} || %{with sybase_ct}
246BuildRequires: freetds-devel >= 0.82
247%endif
248BuildRequires: freetype-devel >= 2.0
249%if %{with system_gd}
250BuildRequires: gd-devel >= 2.0.28-4
251BuildRequires: gd-devel(imagerotate) = 5.2.0
252%endif
253BuildRequires: gdbm-devel
254BuildRequires: gmp-devel
255%{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
256BuildRequires: libicu-devel
257BuildRequires: libjpeg-devel
258BuildRequires: libltdl-devel >= 1.4
259BuildRequires: libmcrypt-devel >= 2.4.4
260BuildRequires: libpng-devel >= 1.0.8
261#BuildRequires: libtiff-devel
3f93948f 262BuildRequires: libvpx-devel
36fd40c8 263BuildRequires: tokyocabinet-devel
c0240cb1 264%if "%{pld_release}" != "ac"
265BuildRequires: libtool >= 2:2.2
266%else
267BuildRequires: libtool >= 1.4.3
268%endif
269#BuildRequires: libwrap-devel
270BuildRequires: libxml2-devel >= 1:2.7.6-4
271BuildRequires: libxslt-devel >= 1.1.0
272%{?with_mm:BuildRequires: mm-devel >= 1.3.0}
273%{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
274%if %{with openssl} || %{with ldap}
275BuildRequires: openssl-devel >= 0.9.7d
276%endif
277%{?with_gcov:BuildRequires: lcov}
278%{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
279%{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
280%{?with_instantclient:BuildRequires: oracle-instantclient-devel}
281BuildRequires: pam-devel
282%{?with_pcre:BuildRequires: pcre-devel >= 8.10}
283BuildRequires: pkgconfig
284%{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
285%{?with_pgsql:BuildRequires: postgresql-devel}
286BuildRequires: readline-devel
287%{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
288BuildRequires: rpm >= 4.4.9-56
289BuildRequires: rpm-build >= 4.4.0
290BuildRequires: rpmbuild(macros) >= 1.566
c0240cb1 291%if %{with sqlite3} || %{with pdo_sqlite}
292BuildRequires: sqlite3-devel >= 3.3.9
293%endif
294BuildRequires: t1lib-devel
295%{?with_tidy:BuildRequires: tidy-devel}
296%{?with_odbc:BuildRequires: unixODBC-devel}
297%{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
298BuildRequires: zlib-devel >= 1.0.9
299%if %{with apache1}
300BuildRequires: apache1-devel
301%endif
302%if %{with apache2}
303BuildRequires: apache-devel >= 2.0.52-2
304BuildRequires: apr-devel >= 1:1.0.0
305BuildRequires: apr-util-devel >= 1:1.0.0
306%endif
307%if %{with fpm}
308#BuildRequires: judy-devel
309BuildRequires: libevent-devel >= 1.4.7-3
310%endif
311BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
312
cfb6f787
ER
313%define php_sysconfdir /etc/%{name}
314%define php_extensiondir %{_libdir}/%{name}
c0240cb1 315%define _sysconfdir %{php_sysconfdir}
316
317# must be in sync with source. extra check ensuring that it is so is done in %%build
02d2dcbb
ER
318%define php_api_version 20100412
319%define zend_module_api 20100525
320%define zend_extension_api 220100525
c0240cb1 321
13f02a12
ER
322# Extension versions
323%define bz2ver 1.0
324%define enchantver 1.1.0
93ec5671 325%define fileinfover 1.0.5
13f02a12
ER
326%define hashver 1.0
327%define intlver 1.1.0
328%define jsonver 1.2.1
329%define pharver 2.0.1
ce39c8ba 330%define sqlite3ver 0.7
ce9aa3af 331%define zipver 1.11.0
13f02a12 332
c0240cb1 333%define zend_zts %{!?with_zts:0}%{?with_zts:1}
334%define php_debug %{!?debug:0}%{?debug:1}
335
336%if %{with gcov}
337%undefine with_ccache
338%endif
339
340%if %{with oci8}
341# ORACLE_HOME is required for oci8 ext to build
342%define _preserve_env %_preserve_env_base ORACLE_HOME
343%endif
344
345%description
346PHP is an HTML-embedded scripting language. PHP attempts to make it
347easy for developers to write dynamically generated web pages. PHP also
348offers built-in database integration for several commercial and
349non-commercial database management systems, so writing a
350database-enabled web page with PHP is fairly simple. The most common
351use of PHP coding is probably as a replacement for CGI scripts. The
352mod_php module enables the Apache web server to understand and process
353the embedded PHP language in web pages. This package contains PHP
354version %{version}.
355
356%description -l fr.UTF-8
357PHP est un langage de script embarque dans le HTM. PHP essaye de
358rendre simple aux developpeurs d'ecrire des pages web generees
359dynamiquement. PHP incorpore egalement une integration avec plusieurs
360systemes de gestion de bases de donnees commerciaux et
361non-connerciaux, qui rent facile la creation de pages web liees avec
362des bases de donnees. L'utilisation la plus commune de PHP est
363probablement en remplacement de scripts CGI. Le module mod_php permet
364au serveur web Apache de comprendre et de traiter le langage PHP
365integre dans des pages web. Ce package contient PHP version
366%{version}.
367
368%description -l pl.UTF-8
369PHP jest językiem skryptowym, którego polecenia umieszcza się w
370plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
371generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
372danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
373co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
374Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
375CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
376język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
377%{version}.
378
379%description -l pt_BR.UTF-8
380PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
381embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
382com algumas características únicas, específicas ao PHP. O objetivo da
383linguagem é permitir que desenvolvedores web escrevam páginas
384dinamicamente geradas de forma rápida.
385
386%description -l ru.UTF-8
387PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
388предлагает интерграцию с множеством СУБД, поэтому написание скриптов
389для работы с базами данных относительно просто. Наиболее популярное
390использование PHP - замена для CGI скриптов.
391
392%description -l uk.UTF-8
393PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
394пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
395роботи з базами даних є доволі простим. Найбільш популярне
396використання PHP - заміна для CGI скриптів.
397
aa424f73 398%package -n apache1-mod_%{name}
c0240cb1 399Summary: PHP DSO module for Apache 1.3.x
400Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x
401Group: Development/Languages/PHP
402Requires(triggerpostun): sed >= 4.0
403Requires: %{name}-common = %{epoch}:%{version}-%{release}
404Requires: apache1(EAPI) >= 1.3.33-2
405Requires: apache1-mod_mime
406Provides: webserver(php) = %{version}
407Obsoletes: apache-mod_php < 1:4.1.1
408Obsoletes: phpfi
409
aa424f73 410%description -n apache1-mod_%{name}
c0240cb1 411PHP as DSO module for Apache 1.3.x.
412
aa424f73 413%description -n apache1-mod_%{name} -l pl.UTF-8
c0240cb1 414PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x.
415
aa424f73 416%package -n apache-mod_%{name}
c0240cb1 417Summary: PHP DSO module for Apache 2.x
418Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
419Group: Development/Languages/PHP
420Requires: %{name}-common = %{epoch}:%{version}-%{release}
421Requires: apache(modules-api) = %{apache_modules_api}
422Requires: apache-mod_mime
423Provides: webserver(php) = %{version}
424Obsoletes: phpfi
425
aa424f73 426%description -n apache-mod_%{name}
c0240cb1 427PHP as DSO module for Apache 2.x.
428
aa424f73 429%description -n apache-mod_%{name} -l pl.UTF-8
c0240cb1 430PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
431
432%package litespeed
433Summary: PHP for litespeed HTTP server
434Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
435Group: Development/Languages/PHP
436Requires: %{name}-common = %{epoch}:%{version}-%{release}
437Provides: webserver(php) = %{version}
438
439%description litespeed
440PHP for litespeed HTTP server.
441
442%description litespeed -l pl.UTF-8
443PHP dla serwera HTTP litespeed.
444
445%package cgi
446Summary: PHP as CGI/FastCGI program
447Summary(pl.UTF-8): PHP jako program CGI/FastCGI
448Group: Development/Languages/PHP
449Requires: %{name}-common = %{epoch}:%{version}-%{release}
450Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
451Provides: php(cgi)
452Provides: php(fcgi)
453Provides: webserver(php)
454Obsoletes: php-fcgi < 4:5.3.0
455
456%description cgi
457PHP as CGI or FastCGI program.
458
459%description cgi -l pl.UTF-8
460PHP jako program CGI lub FastCGI.
461
462%package cli
463Summary: PHP as CLI interpreter
464Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
465Group: Development/Languages/PHP
466Requires: %{name}-common = %{epoch}:%{version}-%{release}
467
468%description cli
469PHP as CLI interpreter.
470
471%description cli -l pl.UTF-8
472PHP jako interpreter działający z linii poleceń.
473
13f02a12
ER
474%package embedded
475Summary: PHP library for embedding in applications
0bbc8abe 476Summary(pl.UTF-8): Biblioteka PHP do osadzania w aplikacjach
13f02a12
ER
477Group: Libraries
478Requires: %{name}-common = %{epoch}:%{version}-%{release}
479
480%description embedded
481The php-embedded package contains a library which can be embedded into
482applications to provide PHP scripting language support.
483
0bbc8abe 484%description embedded -l pl.UTF-8
cfb6f787 485Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
0bbc8abe
JB
486celu obsługi PHP jako języka skryptowego.
487
c0240cb1 488%package program
489Summary: /usr/bin/php symlink
490Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
491Group: Development/Languages/PHP
492Requires: %{name}-cli = %{epoch}:%{version}-%{release}
493Obsoletes: /usr/bin/php
494
495%description program
496Package providing /usr/bin/php symlink to PHP CLI.
497
498%description program -l pl.UTF-8
499Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
500
501%package fpm
502Summary: PHP FastCGI Process Manager
503Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
504Group: Development/Languages/PHP
505URL: http://www.php-fpm.org/
506Requires(post,preun): /sbin/chkconfig
507Requires(postun): /usr/sbin/userdel
508Requires(pre): /bin/id
509Requires(pre): /usr/sbin/useradd
510Requires: %{name}-common = %{epoch}:%{version}-%{release}
511Requires: libevent >= 1.4.7-3
512Requires: rc-scripts
513Provides: user(http)
514Provides: webserver(php) = %{version}
515
516%description fpm
517PHP FastCGI Process Manager.
518
519%description fpm -l pl.UTF-8
520PHP FastCGI Process Manager - zarządca procesów FastCGI.
521
522%package common
523Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
524Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
525Summary(ru.UTF-8): Разделяемые библиотеки для PHP
526Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
527Group: Libraries
528Requires(post): sed >= 4.0
529# because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
530Requires: glibc >= 6:2.3.5
531Requires: php-dirs
532Requires: rpm-whiteout >= 1.28
533Requires: tzdata
d87d42cb
ER
534Provides: %{name}(debug) = %{php_debug}
535Provides: %{name}(modules_api) = %{php_api_version}
536Provides: %{name}(thread-safety) = %{zend_zts}
537Provides: %{name}(zend_extension_api) = %{zend_extension_api}
538Provides: %{name}(zend_module_api) = %{zend_module_api}
539Provides: %{name}-date
540Provides: %{name}-ereg
541Provides: %{name}-reflection
542Provides: %{name}-standard
c0240cb1 543Provides: php(date)
544Provides: php(ereg)
545Provides: php(hash)
546Provides: php(libxml)
c0240cb1 547Provides: php(reflection)
548Provides: php(standard)
c0240cb1 549%{!?with_mysqlnd:Obsoletes: php-mysqlnd}
550%{?with_pcre:%requires_ge_to pcre pcre-devel}
551Obsoletes: php-pecl-domxml
552Conflicts: php4-common < 3:4.4.4-8
553Conflicts: rpm < 4.4.2-0.2
554
555%description common
556Common files needed by both Apache modules and CGI/CLI SAPIs.
557
558%description common -l pl.UTF-8
559Wspólne pliki dla modułu Apache'a i programu CGI.
560
561%description common -l ru.UTF-8
562Этот пакет содержит общие файлы для разных вариантов реализации PHP
563(самодостаточной и в качестве модуля Apache).
564
565%description common -l uk.UTF-8
566Цей пакет містить спільні файли для різних варіантів реалізації PHP
567(самодостатньої та в якості модуля Apache).
568
569%package devel
570Summary: Files for PHP modules development
571Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
572Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
573Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
574Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
575Group: Development/Languages/PHP
576Requires: %{name}-common = %{epoch}:%{version}-%{release}
13f02a12 577Requires: autoconf >= 2.13
c0240cb1 578Requires: automake
579%if "%{pld_release}" != "ac"
580Requires: libtool >= 2:2.2
581%else
582Requires: libtool
583%endif
584%{?with_pcre:Requires: pcre-devel >= 8.10}
585Requires: shtool
cfb6f787 586Obsoletes: php-devel
c0240cb1 587Obsoletes: php-pear-devel
588Obsoletes: php4-devel
cfb6f787 589Obsoletes: php52-devel
c0240cb1 590
591%description devel
592The php-devel package lets you compile dynamic extensions to PHP.
593Included here is the source for the PHP extensions. Instead of
594recompiling the whole PHP binary to add support for, say, oracle,
595install this package and use the new self-contained extensions
596support. For more information, read the file
597README.SELF-CONTAINED-EXTENSIONS.
598
599%description devel -l pl.UTF-8
600Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
601rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
602tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
603samodzielnych rozszerzeniach można znaleźć w pliku
604README.SELF-CONTAINED-EXTENSIONS.
605
606%description devel -l pt_BR.UTF-8
607Este pacote contém arquivos usados no desenvolvimento de programas ou
608módulos PHP.
609
610%description devel -l ru.UTF-8
611Пакет php-devel дает возможность компилировать динамические расширения
612PHP. Пакет включает исходный код этих расширений. Вместо повторной
613компиляции бинарного файла PHP для добавления, например, поддержки
614oracle, установите этот пакет для компилирования отдельных расширений.
615Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
616
617%description devel -l uk.UTF-8
618Пакет php-devel дає можливість компілювати динамічні розширення PHP.
619До пакету включено вихідний код для розширень. Замість повторної
620компіляції бінарного файлу PHP для додання, наприклад, підтримки
621oracle, встановіть цей пакет для компіляції окремих розширень.
622Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
623
624%package bcmath
625Summary: bcmath extension module for PHP
626Summary(pl.UTF-8): Moduł bcmath dla PHP
627Group: Libraries
628URL: http://www.php.net/manual/en/book.bc.php
629Requires: %{name}-common = %{epoch}:%{version}-%{release}
630Provides: php(bcmath)
631
632%description bcmath
633This is a dynamic shared object (DSO) for PHP that will add bc style
634precision math functions support.
635
636%description bcmath -l pl.UTF-8
637Moduł PHP umożliwiający korzystanie z dokładnych funkcji
638matematycznych takich jak w programie bc.
639
640%package bz2
641Summary: Bzip2 extension module for PHP
642Summary(pl.UTF-8): Moduł bzip2 dla PHP
643Group: Libraries
644URL: http://www.php.net/manual/en/book.bzip2.php
645Requires: %{name}-common = %{epoch}:%{version}-%{release}
13f02a12 646Provides: php(bz2) = %{bz2ver}
c0240cb1 647Provides: php(bzip2)
648Provides: php-bzip2 = %{epoch}:%{version}-%{release}
649Obsoletes: php-bzip2 < 4:5.2.14-3
13f02a12 650Obsoletes: php-pecl-bz2 < %{bz2ver}
c0240cb1 651
652%description bz2
653This is a dynamic shared object (DSO) for PHP that will add bzip2
654compression support to PHP.
655
656%description bz2 -l pl.UTF-8
657Moduł PHP umożliwiający używanie kompresji bzip2.
658
659%package calendar
660Summary: Calendar extension module for PHP
661Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
662Group: Libraries
663URL: http://www.php.net/manual/en/book.calendar.php
664Requires: %{name}-common = %{epoch}:%{version}-%{release}
665Provides: php(calendar)
666
667%description calendar
668This is a dynamic shared object (DSO) for PHP that will add calendar
669support.
670
671%description calendar -l pl.UTF-8
672Moduł PHP dodający wsparcie dla kalendarza.
673
674%package ctype
675Summary: ctype extension module for PHP
676Summary(pl.UTF-8): Moduł ctype dla PHP
677Group: Libraries
678URL: http://www.php.net/manual/en/book.ctype.php
679Requires: %{name}-common = %{epoch}:%{version}-%{release}
680Provides: php(ctype)
681
682%description ctype
683This is a dynamic shared object (DSO) for PHP that will add ctype
684support.
685
686%description ctype -l pl.UTF-8
687Moduł PHP umożliwiający korzystanie z funkcji ctype.
688
689%package curl
690Summary: curl extension module for PHP
691Summary(pl.UTF-8): Moduł curl dla PHP
692Group: Libraries
693URL: http://www.php.net/manual/en/book.curl.php
694Requires: %{name}-common = %{epoch}:%{version}-%{release}
695Provides: php(curl)
696
697%description curl
698This is a dynamic shared object (DSO) for PHP that will add curl
699support.
700
701%description curl -l pl.UTF-8
702Moduł PHP umożliwiający korzystanie z biblioteki curl.
703
704%package dba
705Summary: DBA extension module for PHP
706Summary(pl.UTF-8): Moduł DBA dla PHP
707Group: Libraries
708URL: http://www.php.net/manual/en/book.dba.php
709Requires: %{name}-common = %{epoch}:%{version}-%{release}
710Provides: php(dba)
711
712%description dba
713This is a dynamic shared object (DSO) for PHP that will add flat-file
714databases (DBA) support.
715
716%description dba -l pl.UTF-8
717Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
718(DBA).
719
720%package dom
721Summary: DOM extension module for PHP
722Summary(pl.UTF-8): Moduł DOM dla PHP
723Group: Libraries
724URL: http://www.php.net/manual/en/book.dom.php
725Requires: %{name}-common = %{epoch}:%{version}-%{release}
726Provides: php(dom)
727# it has some compatibility functions
d87d42cb 728Provides: %{name}-domxml = %{epoch}:%{version}-%{release}
c0240cb1 729Provides: php(domxml)
c0240cb1 730Obsoletes: php-domxml <= 3:4.3.8-1
731
732%description dom
733This is a dynamic shared object (DSO) for PHP that will add new DOM
734support.
735
736%description dom -l pl.UTF-8
737Moduł PHP dodający nową obsługę DOM.
738
13f02a12
ER
739%package enchant
740Summary: libenchant binder
741Summary(pl.UTF-8): dowiązania biblioteki libenchant
742Group: Libraries
743URL: http://www.php.net/manual/en/book.exif.php
744Requires: %{name}-common = %{epoch}:%{version}-%{release}
745Provides: php(enchant) = %{enchantver}
746Obsoletes: php-pecl-enchant < %{enchantver}
747
748%description enchant
749Enchant is a binder for libenchant. Libenchant provides a common API
750for many spell libraries:
751- aspell/pspell (intended to replace ispell)
752- hspell (hebrew)
753- ispell
754- myspell (OpenOffice.org project, mozilla)
755- uspell (primarily Yiddish, Hebrew, and Eastern European languages) A
756 plugin system allows to add custom spell support.
757
758%description enchant -l pl.UTF-8
759Enchant jest dowiązaniem do biblioteki libenchant, która udostępnia
760ujednolicone API dla wielu narzędzi sprawdzających pisownię:
761- aspell/pspell (w zamierzeniu ma zastąpić ispell)
762- hspell (hebrajski)
763- ispell
764- myspell (projekt OpenOffice.org, mozilla)
765- uspell (głównie Jidysz, Hebrajski oraz języki wschodnioeuropejskie)
766 System wtyczek pozwala na dodanie wsparcia dla kolejnych narzędzi.
767
c0240cb1 768%package exif
769Summary: exif extension module for PHP
770Summary(pl.UTF-8): Moduł exif dla PHP
771Group: Libraries
772URL: http://www.php.net/manual/en/book.exif.php
773Requires: %{name}-common = %{epoch}:%{version}-%{release}
774Provides: php(exif)
775
776%description exif
777This is a dynamic shared object (DSO) for PHP that will add EXIF tags
778support in image files.
779
780%description exif -l pl.UTF-8
781Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
782
783%package fileinfo
784Summary: libmagic bindings
785Summary(pl.UTF-8): Wiązania do libmagic
786Group: Libraries
787URL: http://www.php.net/manual/en/book.fileinfo.php
788Requires: %{name}-common = %{epoch}:%{version}-%{release}
789Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
13f02a12 790Provides: php(fileinfo) = %{fileinfover}
c0240cb1 791Obsoletes: php-mime_magic
13f02a12 792Obsoletes: php-pecl-fileinfo < %{fileinfover}
c0240cb1 793
794%description fileinfo
795This extension allows retrieval of information regarding vast majority
796of file. This information may include dimensions, quality, length
797etc...
798
799Additionally it can also be used to retrieve the MIME type for a
800particular file and for text files proper language encoding.
801
802%description fileinfo -l pl.UTF-8
803To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
804plików. Informacje mogą zawierać wymiary, jakość, długość itp.
805
806Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
807pliku oraz kodowania plików tekstowych.
808
809%package filter
810Summary: Extension for safely dealing with input parameters
811Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
812Group: Libraries
813URL: http://www.php.net/manual/en/book.filter.php
814Requires: %{name}-common = %{epoch}:%{version}-%{release}
815Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
816Provides: php(filter)
817Obsoletes: php-pecl-filter
818
819%description filter
820We all know that you should always check input variables, but PHP does
821not offer really good functionality for doing this in a safe way. The
822Input Filter extension is meant to address this issue by implementing
823a set of filters and mechanisms that users can use to safely access
824their input data.
825
826%description filter -l pl.UTF-8
827Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
828oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
829bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
830zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
831mogą bezpiecznie używać do dostępu do danych.
832
833%package ftp
834Summary: FTP extension module for PHP
835Summary(pl.UTF-8): Moduł FTP dla PHP
836Group: Libraries
837URL: http://www.php.net/manual/en/book.ftp.php
838Requires: %{name}-common = %{epoch}:%{version}-%{release}
839Provides: php(ftp)
840
841%description ftp
842This is a dynamic shared object (DSO) for PHP that will add FTP
843support.
844
845%description ftp -l pl.UTF-8
846Moduł PHP dodający obsługę protokołu FTP.
847
848%package gd
849Summary: GD extension module for PHP
850Summary(pl.UTF-8): Moduł GD dla PHP
851Group: Libraries
852URL: http://www.php.net/manual/en/book.image.php
853Requires: %{name}-common = %{epoch}:%{version}-%{release}
854%if %{with system_gd}
855Requires: gd >= 2.0.28-4
856Requires: gd(gif)
857Requires: gd(imagerotate) = 5.2.0
858%endif
859Provides: php(gd)
860
861%description gd
862This is a dynamic shared object (DSO) for PHP that will add GD
863support, allowing you to create and manipulate images with PHP.
864
865%description gd -l pl.UTF-8
866Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
867tworzenie i obróbkę obrazków.
868
869%package gettext
870Summary: gettext extension module for PHP
871Summary(pl.UTF-8): Moduł gettext dla PHP
872Group: Libraries
873URL: http://www.php.net/manual/en/book.gettext.php
874Requires: %{name}-common = %{epoch}:%{version}-%{release}
875Provides: php(gettext)
876
877%description gettext
878This is a dynamic shared object (DSO) for PHP that will add gettext
879support.
880
881%description gettext -l pl.UTF-8
882Moduł PHP dodający obsługę lokalizacji przez gettext.
883
884%package gmp
885Summary: gmp extension module for PHP
886Summary(pl.UTF-8): Moduł gmp dla PHP
887Group: Libraries
888URL: http://www.php.net/manual/en/book.gmp.php
889Requires: %{name}-common = %{epoch}:%{version}-%{release}
890Provides: php(gmp)
891
892%description gmp
893This is a dynamic shared object (DSO) for PHP that will add arbitrary
894length number support with GNU MP library.
895
896%description gmp -l pl.UTF-8
897Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
898liczbach o dowolnej długości.
899
900%package hash
901Summary: HASH Message Digest Framework
902Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
903Group: Libraries
904URL: http://www.php.net/manual/en/book.gmp.php
905Requires: %{name}-common = %{epoch}:%{version}-%{release}
13f02a12 906Provides: php(hash) = %{hashver}
c0240cb1 907%if %{with mhash}
908Provides: php(mhash)
909Provides: php-mhash = %{epoch}:%{version}-%{release}
910Obsoletes: php-mhash < 4:5.3.0
911%endif
13f02a12 912Obsoletes: php-pecl-hash < %{hashver}
c0240cb1 913
914%description hash
915Native implementations of common message digest algorithms using a
916generic factory method.
917
918%description hash -l pl.UTF-8
919Natywne implementacje popularnych algorytmów obliczania skrótów
920wiadomości przy użyciu wspólnego interfejsu.
921
922%package iconv
923Summary: iconv extension module for PHP
924Summary(pl.UTF-8): Moduł iconv dla PHP
925Group: Libraries
926URL: http://www.php.net/manual/en/book.iconv.php
927Requires: %{_libdir}/gconv
928Requires: %{name}-common = %{epoch}:%{version}-%{release}
929Requires: iconv
930Provides: php(iconv)
931
932%description iconv
933This is a dynamic shared object (DSO) for PHP that will add iconv
934support.
935
936%description iconv -l pl.UTF-8
937Moduł PHP dodający obsługę iconv.
938
939%package imap
940Summary: IMAP extension module for PHP
941Summary(pl.UTF-8): Moduł IMAP dla PHP
942Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
943Group: Libraries
944URL: http://www.php.net/manual/en/book.imap.php
945Requires: %{name}-common = %{epoch}:%{version}-%{release}
946Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
947Requires: imap-lib >= 1:2007e-2
948Provides: php(imap)
949
950%description imap
951This is a dynamic shared object (DSO) for PHP that will add IMAP
952support.
953
954%description imap -l pl.UTF-8
955Moduł PHP dodający obsługę skrzynek IMAP.
956
957%description imap -l pt_BR.UTF-8
958Um módulo para aplicações PHP que usam IMAP.
959
960%package interbase
961Summary: InterBase/Firebird database module for PHP
962Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
963Group: Libraries
964URL: http://www.php.net/manual/en/book.ibase.php
965Requires: %{name}-common = %{epoch}:%{version}-%{release}
966Provides: php(interbase)
967%{?with_interbase_inst:Autoreq: false}
968
969%description interbase
970This is a dynamic shared object (DSO) for PHP that will add InterBase
971and Firebird database support.
972
973%description interbase -l pl.UTF-8
974Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
975
976%package intl
977Summary: Internationalization extension (ICU wrapper)
978Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
979Group: Libraries
980URL: http://www.php.net/intl
981Requires: %{name}-common = %{epoch}:%{version}-%{release}
13f02a12
ER
982Provides: php(intl) = %{intlver}
983Obsoletes: php-pecl-intl < %{intlver}
c0240cb1 984
985%description intl
986Internationalization extension (further is referred as Intl) is a
987wrapper for ICU library, enabling PHP programmers to perform
988UCA-conformant collation and date/time/number/currency formatting in
989their scripts.
990
991%description intl -l pl.UTF-8
992Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
993interfejsem do biblioteki ICU, pozwalającym programistom PHP na
994wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
995daty/czasu/walut.
996
997%package json
998Summary: PHP C extension for JSON serialization
999Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
1000Group: Libraries
1001URL: http://www.php.net/manual/en/book.json.php
1002Requires: %{name}-common = %{epoch}:%{version}-%{release}
13f02a12
ER
1003Provides: php(json) = %{jsonver}
1004Obsoletes: php-pecl-json < %{jsonver}
c0240cb1 1005
1006%description json
1007php-json is an extremely fast PHP C extension for JSON (JavaScript
1008Object Notation) serialisation.
1009
1010%description json -l pl.UTF-8
1011php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
1012(JavaScript Object Notation).
1013
1014%package ldap
1015Summary: LDAP extension module for PHP
1016Summary(pl.UTF-8): Moduł LDAP dla PHP
1017Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
1018Group: Libraries
1019URL: http://www.php.net/manual/en/book.ldap.php
1020Requires: %{name}-common = %{epoch}:%{version}-%{release}
1021Provides: php(ldap)
1022
1023%description ldap
1024This is a dynamic shared object (DSO) for PHP that will add LDAP
1025support.
1026
1027%description ldap -l pl.UTF-8
1028Moduł PHP dodający obsługę LDAP.
1029
1030%description ldap -l pt_BR.UTF-8
1031Um módulo para aplicações PHP que usam LDAP.
1032
1033%package mbstring
1034Summary: mbstring extension module for PHP
1035Summary(pl.UTF-8): Moduł mbstring dla PHP
1036Group: Libraries
1037URL: http://www.php.net/manual/en/book.mbstring.php
1038Requires: %{name}-common = %{epoch}:%{version}-%{release}
1039Provides: php(mbstring)
1040
1041%description mbstring
1042This is a dynamic shared object (DSO) for PHP that will add multibyte
1043string support.
1044
1045%description mbstring -l pl.UTF-8
1046Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1047
1048%package mcrypt
1049Summary: mcrypt extension module for PHP
1050Summary(pl.UTF-8): Moduł mcrypt dla PHP
1051Group: Libraries
1052URL: http://www.php.net/manual/en/book.mcrypt.php
1053Requires: %{name}-common = %{epoch}:%{version}-%{release}
1054Provides: php(mcrypt)
1055
1056%description mcrypt
1057This is a dynamic shared object (DSO) for PHP that will add mcrypt
1058support.
1059
1060%description mcrypt -l pl.UTF-8
1061Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
1062
1063%package mssql
1064Summary: MS SQL extension module for PHP
1065Summary(pl.UTF-8): Moduł MS SQL dla PHP
1066Group: Libraries
1067URL: http://www.php.net/manual/en/book.mssql.php
1068Requires: %{name}-common = %{epoch}:%{version}-%{release}
1069Provides: php(mssql)
1070
1071%description mssql
1072This is a dynamic shared object (DSO) for PHP that will add MS SQL
1073databases support through FreeTDS library.
1074
1075%description mssql -l pl.UTF-8
1076Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
1077FreeTDS.
1078
1079%package mysql
1080Summary: MySQL database module for PHP
1081Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
1082Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
1083Group: Libraries
1084URL: http://www.php.net/manual/en/book.mysql.php
1085Requires: %{name}-common = %{epoch}:%{version}-%{release}
1086%{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1087Provides: php(mysql)
1088
1089%description mysql
1090This is a dynamic shared object (DSO) for PHP that will add MySQL
1091database support.
1092
1093%description mysql -l pl.UTF-8
1094Moduł PHP umożliwiający dostęp do bazy danych MySQL.
1095
1096%description mysql -l pt_BR.UTF-8
1097Um módulo para aplicações PHP que usam bancos de dados MySQL.
1098
1099%package mysqli
1100Summary: MySQLi module for PHP
1101Summary(pl.UTF-8): Moduł MySQLi dla PHP
1102Group: Libraries
1103URL: http://www.php.net/manual/en/book.mysqli.php
1104Requires: %{name}-common = %{epoch}:%{version}-%{release}
1105%{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1106Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1107Provides: php(mysqli)
1108
1109%description mysqli
1110This is a dynamic shared object (DSO) for PHP that will add MySQLi
1111(Improved MySQL) support. The difference between it and mysql module
1112is that it provides access to functionality of MySQL 4.1 and above.
1113
1114%description mysqli -l pl.UTF-8
1115Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1116Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1117MySQL w wersji 4.1 i nowszych.
1118
1119%package mysqlnd
1120Summary: MySQL Native Client Driver for PHP
1121Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1122Group: Libraries
1123URL: http://www.php.net/manual/en/book.mysqlnd.php
1124Requires: %{name}-common = %{epoch}:%{version}-%{release}
1125Provides: php(mysqlnd)
1126
1127%description mysqlnd
1128MySQL Native Driver is a replacement for the MySQL Client Library
1129(libmysql).
1130
1131Because MySQL Native Driver is written as a PHP extension, it is
1132tightly coupled to the workings of PHP. This leads to gains in
1133efficiency, especially when it comes to memory usage, as the driver
1134uses the PHP memory management system. It also supports the PHP memory
1135limit. Using MySQL Native Driver leads to comparable or better
1136performance than using MySQL Client Library, it always ensures the
1137most efficient use of memory. One example of the memory efficiency is
1138the fact that when using the MySQL Client Library, each row is stored
1139in memory twice, whereas with the MySQL Native Driver each row is only
1140stored once in memory.
1141
1142%description mysqlnd -l pl.UTF-8
1143MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1144klienckiej MySQL (libmysql).
1145
1146Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1147ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1148jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1149system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1150z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1151biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1152Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1153każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1154tym sterowniku - tylko raz.
1155
1156%package oci8
1157Summary: Oracle 8+ database module for PHP
1158Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1159Group: Libraries
1160URL: http://www.php.net/manual/en/book.oci8.php
1161Requires: %{name}-common = %{epoch}:%{version}-%{release}
1162Provides: php(oci8)
1163AutoReq: false
1164
1165%description oci8
1166This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
11678, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1168
1169%description oci8 -l pl.UTF-8
1170Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1171poprzez interfejs Oracle8 Call-Interface (OCI8).
1172
1173%package odbc
1174Summary: ODBC extension module for PHP
1175Summary(pl.UTF-8): Moduł ODBC dla PHP
1176Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1177Group: Libraries
1178URL: http://www.php.net/manual/en/book.uodbc.php
1179Requires: %{name}-common = %{epoch}:%{version}-%{release}
1180Requires: unixODBC >= 2.1.1-3
1181Provides: php(odbc)
1182
1183%description odbc
1184This is a dynamic shared object (DSO) for PHP that will add ODBC
1185support.
1186
1187%description odbc -l pl.UTF-8
1188Moduł PHP ze wsparciem dla ODBC.
1189
1190%description odbc -l pt_BR.UTF-8
1191Um módulo para aplicações PHP que usam ODBC.
1192
1193%package openssl
1194Summary: OpenSSL extension module for PHP
1195Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1196Group: Libraries
1197URL: http://www.php.net/manual/en/book.openssl.php
1198Requires: %{name}-common = %{epoch}:%{version}-%{release}
1199Provides: php(openssl)
1200
1201%description openssl
1202This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1203support.
1204
1205%description openssl -l pl.UTF-8
1206Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1207
1208%package pcntl
1209Summary: Process Control extension module for PHP
1210Summary(pl.UTF-8): Moduł Process Control dla PHP
1211Group: Libraries
1212URL: http://www.php.net/manual/en/book.pcntl.php
1213Requires: %{name}-common = %{epoch}:%{version}-%{release}
1214Provides: php(pcntl)
1215
1216%description pcntl
1217This is a dynamic shared object (DSO) for PHP that will add process
1218spawning and control support. It supports functions like fork(),
1219waitpid(), signal() etc.
1220
1221%description pcntl -l pl.UTF-8
1222Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1223Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1224
1225%package pcre
1226Summary: PCRE extension module for PHP
1227Summary(pl.UTF-8): Moduł PCRE dla PHP
1228Group: Libraries
1229Requires: %{name}-common = %{epoch}:%{version}-%{release}
1230Provides: php(pcre)
1231
1232%description pcre
1233This is a dynamic shared object (DSO) for PHP that will add Perl
1234Compatible Regular Expression support.
1235
1236%description pcre -l pl.UTF-8
1237Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1238(Perl Compatible Regular Expressions)
1239
1240%package pdo
1241Summary: PHP Data Objects (PDO)
1242Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1243Group: Libraries
1244URL: http://www.php.net/manual/en/book.pdo.php
1245Requires: %{name}-common = %{epoch}:%{version}-%{release}
1246Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1247Provides: php(pdo)
1248Obsoletes: php-pecl-PDO
1249
1250%description pdo
1251This is a dynamic shared object (DSO) for PHP that will add PDO
1252support.
1253
1254%description pdo -l pl.UTF-8
1255Moduł PHP dodający obsługę PDO (PHP Data Objects).
1256
1257%package pdo-dblib
1258Summary: PHP Data Objects (PDO) FreeTDS support
1259Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1260Group: Libraries
1261URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1262Requires: %{name}-common = %{epoch}:%{version}-%{release}
1263Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1264Provides: php(dblib)
1265
1266%description pdo-dblib
1267This is a dynamic shared object (DSO) for PHP that will add PDO
1268FreeTDS support.
1269
1270%description pdo-dblib -l pl.UTF-8
1271Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1272interfejsu PDO.
1273
1274%package pdo-firebird
1275Summary: PHP Data Objects (PDO) Firebird support
1276Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1277Group: Libraries
1278URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1279Requires: %{name}-common = %{epoch}:%{version}-%{release}
1280Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1281Provides: php(pdo-firebird)
1282Obsoletes: php-pecl-PDO_FIREBIRD
1283
1284%description pdo-firebird
1285This is a dynamic shared object (DSO) for PHP that will add PDO
1286Firebird support.
1287
1288%description pdo-firebird -l pl.UTF-8
1289Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1290interfejsu PDO.
1291
1292%package pdo-mysql
1293Summary: PHP Data Objects (PDO) MySQL support
1294Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1295Group: Libraries
1296URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1297Requires: %{name}-common = %{epoch}:%{version}-%{release}
1298%{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1299Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1300Provides: php(pdo-mysql)
1301Obsoletes: php-pecl-PDO_MYSQL
1302
1303%description pdo-mysql
1304This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1305support.
1306
1307%description pdo-mysql -l pl.UTF-8
1308Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1309interfejsu PDO.
1310
1311%package pdo-oci
1312Summary: PHP Data Objects (PDO) Oracle support
1313Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1314Group: Libraries
1315URL: http://www.php.net/manual/en/ref.pdo-oci.php
1316Requires: %{name}-common = %{epoch}:%{version}-%{release}
1317Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1318Provides: php(pdo-oci)
1319Obsoletes: php-pecl-PDO_OCI
1320
1321%description pdo-oci
1322This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1323support.
1324
1325%description pdo-oci -l pl.UTF-8
1326Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1327interfejsu PDO.
1328
1329%package pdo-odbc
1330Summary: PHP Data Objects (PDO) ODBC support
1331Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1332Group: Libraries
1333URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1334Requires: %{name}-common = %{epoch}:%{version}-%{release}
1335Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1336Provides: php(pdo-odbc)
1337Obsoletes: php-pecl-PDO_ODBC
1338
1339%description pdo-odbc
1340This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1341support.
1342
1343%description pdo-odbc -l pl.UTF-8
1344Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1345interfejsu PDO.
1346
1347%package pdo-pgsql
1348Summary: PHP Data Objects (PDO) PostgreSQL support
1349Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1350Group: Libraries
1351URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1352Requires: %{name}-common = %{epoch}:%{version}-%{release}
1353Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1354Provides: php(pdo-pgsql)
1355Provides: php-pecl-PDO_PGSQL
1356Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1357
1358%description pdo-pgsql
1359This is a dynamic shared object (DSO) for PHP that will add PDO
1360PostgreSQL support.
1361
1362%description pdo-pgsql -l pl.UTF-8
1363Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1364interfejsu PDO.
1365
1366%package pdo-sqlite
1367Summary: PHP Data Objects (PDO) SQLite support
1368Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1369Group: Libraries
1370URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1371Requires: %{name}-common = %{epoch}:%{version}-%{release}
1372Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1373Provides: php(pdo-sqlite)
1374Obsoletes: php-pecl-PDO_SQLITE
1375
1376%description pdo-sqlite
1377This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1378support.
1379
1380%description pdo-sqlite -l pl.UTF-8
1381Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1382interfejsu PDO.
1383
1384%package pgsql
1385Summary: PostgreSQL database module for PHP
1386Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1387Group: Libraries
1388URL: http://www.php.net/manual/en/book.pgsql.php
1389Requires: %{name}-common = %{epoch}:%{version}-%{release}
1390Provides: php(pgsql)
1391
1392%description pgsql
1393This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1394database support.
1395
1396%description pgsql -l pl.UTF-8
1397Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1398
1399%description pgsql -l pt_BR.UTF-8
1400Um módulo para aplicações PHP que usam bancos de dados postgresql.
1401
1402%package phar
1403Summary: phar database module for PHP
1404Summary(pl.UTF-8): Moduł phar dla PHP
1405Group: Libraries
1406URL: http://www.php.net/manual/en/book.phar.php
1407Requires: %{name}-common = %{epoch}:%{version}-%{release}
1408Requires: %{name}-spl = %{epoch}:%{version}-%{release}
13f02a12
ER
1409# zlib is required by phar program, but as phar cli is optional should the dep be too
1410Suggests: %{name}-zlib
1411Suggests: php-program
1412Provides: php(phar) = %{pharver}
1413Obsoletes: php-pecl-phar < %{pharver}
c0240cb1 1414
1415%description phar
1416This is a dynamic shared object (DSO) for PHP that will add phar
1417archive a support.
1418
1419%description phar -l pl.UTF-8
1420Moduł PHP umożliwiający dostęp do achiwów .phar.
1421
1422%package posix
1423Summary: POSIX extension module for PHP
1424Summary(pl.UTF-8): Moduł POSIX dla PHP
1425Group: Libraries
1426URL: http://www.php.net/manual/en/book.posix.php
1427Requires: %{name}-common = %{epoch}:%{version}-%{release}
1428Provides: php(posix)
1429
1430%description posix
1431This is a dynamic shared object (DSO) for PHP that will add POSIX
1432functions support to PHP.
1433
1434%description posix -l pl.UTF-8
1435Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1436
1437%package pspell
1438Summary: pspell extension module for PHP
1439Summary(pl.UTF-8): Moduł pspell dla PHP
1440Group: Libraries
1441URL: http://www.php.net/manual/en/book.pspell.php
1442Requires: %{name}-common = %{epoch}:%{version}-%{release}
1443Provides: php(pspell)
1444
1445%description pspell
1446This is a dynamic shared object (DSO) for PHP that will add pspell
1447support to PHP. It allows to check the spelling of a word and offer
1448suggestions.
1449
1450%description pspell -l pl.UTF-8
1451Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1452sprawdzanie pisowni słowa i sugerowanie poprawek.
1453
1454%package readline
1455Summary: readline extension module for PHP
1456Summary(pl.UTF-8): Moduł readline dla PHP
1457Group: Libraries
1458URL: http://www.php.net/manual/en/book.readline.php
1459Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1460Provides: php(readline)
1461
1462%description readline
1463This PHP module adds support for readline functions (only for cli and
1464cgi SAPIs).
1465
1466%description readline -l pl.UTF-8
1467Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1468
1469%package recode
1470Summary: recode extension module for PHP
1471Summary(pl.UTF-8): Moduł recode dla PHP
1472Group: Libraries
1473URL: http://www.php.net/manual/en/book.recode.php
1474Requires: %{name}-common = %{epoch}:%{version}-%{release}
1475Requires: recode >= 3.5d-3
1476Provides: php(recode)
1477
1478%description recode
1479This is a dynamic shared object (DSO) for PHP that will add recode
1480support.
1481
1482%description recode -l pl.UTF-8
1483Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1484bibliotekę recode).
1485
1486%package session
1487Summary: session extension module for PHP
1488Summary(pl.UTF-8): Moduł session dla PHP
1489Group: Libraries
1490Requires: %{name}-common = %{epoch}:%{version}-%{release}
1491Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1492Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1493Provides: php(session)
1494
1495%description session
1496This is a dynamic shared object (DSO) for PHP that will add session
1497support.
1498
1499%description session -l pl.UTF-8
1500Moduł PHP dodający obsługę sesji.
1501
1502%package shmop
1503Summary: Shared Memory Operations extension module for PHP
1504Summary(pl.UTF-8): Moduł shmop dla PHP
1505Group: Libraries
1506URL: http://www.php.net/manual/en/book.shmop.php
1507Requires: %{name}-common = %{epoch}:%{version}-%{release}
1508Provides: php(shmop)
1509
1510%description shmop
1511This is a dynamic shared object (DSO) for PHP that will add Shared
1512Memory Operations support.
1513
1514%description shmop -l pl.UTF-8
1515Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1516
1517%package simplexml
1518Summary: Simple XML extension module for PHP
1519Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1520Group: Libraries
1521URL: http://www.php.net/manual/en/book.simplexml.php
1522Requires: %{name}-common = %{epoch}:%{version}-%{release}
1523Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1524Provides: php(simplexml)
1525
1526%description simplexml
1527This is a dynamic shared object (DSO) for PHP that will add Simple XML
1528support.
1529
1530%description simplexml -l pl.UTF-8
1531Moduł PHP dodający obsługę prostego XML-a.
1532
1533%package snmp
1534Summary: SNMP extension module for PHP
1535Summary(pl.UTF-8): Moduł SNMP dla PHP
1536Group: Libraries
1537URL: http://www.php.net/manual/en/book.snmp.php
1538Requires: %{name}-common = %{epoch}:%{version}-%{release}
1539Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
ee044483 1540Requires: %{name}-spl = %{epoch}:%{version}-%{release}
c0240cb1 1541Provides: php(snmp)
1542
1543%description snmp
1544This is a dynamic shared object (DSO) for PHP that will add SNMP
1545support.
1546
1547%description snmp -l pl.UTF-8
1548Moduł PHP dodający obsługę SNMP.
1549
1550%package soap
1551Summary: soap extension module for PHP
1552Summary(pl.UTF-8): Moduł soap dla PHP
1553Group: Libraries
1554URL: http://www.php.net/manual/en/book.soap.php
1555Requires: %{name}-common = %{epoch}:%{version}-%{release}
1556Provides: php(soap)
1557
1558%description soap
1559This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1560support.
1561
1562%description soap -l pl.UTF-8
1563Moduł PHP dodający obsługę SOAP/WSDL.
1564
1565%package sockets
1566Summary: sockets extension module for PHP
1567Summary(pl.UTF-8): Moduł socket dla PHP
1568Group: Libraries
1569URL: http://www.php.net/manual/en/book.sockets.php
1570Requires: %{name}-common = %{epoch}:%{version}-%{release}
1571Provides: php(sockets)
1572
1573%description sockets
1574This is a dynamic shared object (DSO) for PHP that will add sockets
1575support.
1576
1577%description sockets -l pl.UTF-8
1578Moduł PHP dodający obsługę gniazdek.
1579
1580%package spl
1581Summary: Standard PHP Library module for PHP
1582Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1583Group: Libraries
1584URL: http://php.net/manual/en/book.spl.php
1585Requires: %{name}-common = %{epoch}:%{version}-%{release}
1586Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1587Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1588Provides: php(spl)
1589
1590%description spl
1591This is a dynamic shared object (DSO) for PHP that will add Standard
1592PHP Library support.
1593
1594%description spl -l pl.UTF-8
1595Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1596
c0240cb1 1597%package sqlite3
1598Summary: SQLite3 extension module for PHP
1599Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1600Group: Libraries
1601URL: http://php.net/manual/en/book.sqlite3.php
1602Requires: %{name}-common = %{epoch}:%{version}-%{release}
ce39c8ba 1603Provides: php(sqlite3) = %{sqlite3ver}
c0240cb1 1604
1605%description sqlite3
1606SQLite is a C library that implements an embeddable SQL database
1607engine. Programs that link with the SQLite library can have SQL
1608database access without running a separate RDBMS process.
1609
1610SQLite is not a client library used to connect to a big database
1611server. SQLite is the server. The SQLite library reads and writes
1612directly to and from the database files on disk.
1613
1614%description sqlite3 -l pl.UTF-8
1615SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1616bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1617dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1618RDBMS.
1619
1620SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1621baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1622zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1623dysku.
1624
1625%package sybase-ct
1626Summary: Sybase-CT extension module for PHP
1627Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1628Group: Libraries
1629URL: http://www.php.net/manual/en/book.sybase.php
1630Requires: %{name}-common = %{epoch}:%{version}-%{release}
1631Provides: php(sybase-ct)
1632Obsoletes: php-sybase
1633
1634%description sybase-ct
1635This is a dynamic shared object (DSO) for PHP that will add Sybase and
1636MS SQL databases support through CT-lib.
1637
1638%description sybase-ct -l pl.UTF-8
1639Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1640CT-lib.
1641
1642%package sysvmsg
1643Summary: SysV msg extension module for PHP
1644Summary(pl.UTF-8): Moduł SysV msg dla PHP
1645Group: Libraries
1646URL: http://www.php.net/manual/en/book.sem.php
1647Requires: %{name}-common = %{epoch}:%{version}-%{release}
1648Provides: php(sysvmsg)
1649
1650%description sysvmsg
1651This is a dynamic shared object (DSO) for PHP that will add SysV
1652message queues support.
1653
1654%description sysvmsg -l pl.UTF-8
1655Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1656
1657%package sysvsem
1658Summary: SysV sem extension module for PHP
1659Summary(pl.UTF-8): Moduł SysV sem dla PHP
1660Group: Libraries
1661URL: http://www.php.net/manual/en/book.sem.php
1662Requires: %{name}-common = %{epoch}:%{version}-%{release}
1663Provides: php(sysvsem)
1664
1665%description sysvsem
1666This is a dynamic shared object (DSO) for PHP that will add SysV
1667semaphores support.
1668
1669%description sysvsem -l pl.UTF-8
1670Moduł PHP umożliwiający korzystanie z semaforów SysV.
1671
1672%package sysvshm
1673Summary: SysV shm extension module for PHP
1674Summary(pl.UTF-8): Moduł SysV shm dla PHP
1675Group: Libraries
1676URL: http://www.php.net/manual/en/book.shmop.php
1677Requires: %{name}-common = %{epoch}:%{version}-%{release}
1678Provides: php(sysvshm)
1679
1680%description sysvshm
1681This is a dynamic shared object (DSO) for PHP that will add SysV
1682Shared Memory support.
1683
1684%description sysvshm -l pl.UTF-8
1685Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1686
1687%package tests
1688Summary: Contains unit test files for PHP and extensions
1689Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1690Group: Libraries
1691URL: http://qa.php.net/
1692Requires: %{name}-cli
1693
1694%description tests
13f02a12 1695This package contains unit tests for PHP and its extensions.
c0240cb1 1696
1697%description tests -l pl.UTF-8
13f02a12 1698Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
c0240cb1 1699
1700%package tidy
1701Summary: Tidy extension module for PHP
1702Summary(pl.UTF-8): Moduł Tidy dla PHP
1703Group: Libraries
1704URL: http://www.php.net/manual/en/book.tidy.php
1705Requires: %{name}-common = %{epoch}:%{version}-%{release}
1706Requires: tidy
1707Provides: php(tidy)
1708
1709%description tidy
1710This is a dynamic shared object (DSO) for PHP that will add Tidy
1711support.
1712
1713%description tidy -l pl.UTF-8
1714Moduł PHP umożliwiający korzystanie z tidy.
1715
1716%package tokenizer
1717Summary: tokenizer extension module for PHP
1718Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1719Group: Libraries
1720URL: http://www.php.net/manual/en/book.tokenizer.php
1721Requires: %{name}-common = %{epoch}:%{version}-%{release}
1722Provides: php(tokenizer)
1723
1724%description tokenizer
1725This is a dynamic shared object (DSO) for PHP that will add tokenizer
1726support.
1727
1728%description tokenizer -l pl.UTF-8
1729Moduł PHP dodający obsługę tokenizera do PHP.
1730
1731%package wddx
1732Summary: wddx extension module for PHP
1733Summary(pl.UTF-8): Moduł wddx dla PHP
1734Group: Libraries
1735URL: http://www.php.net/manual/en/book.wddx.php
1736Requires: %{name}-common = %{epoch}:%{version}-%{release}
1737# - wddx doesn't require session as it's disabled at compile time:
1738# if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1739# see also php.spec#rev1.120.2.22
1740#Requires: %{name}-session = %{epoch}:%{version}-%{release}
1741Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1742Provides: php(wddx)
1743
1744%description wddx
1745This is a dynamic shared object (DSO) for PHP that will add wddx
1746support.
1747
1748%description wddx -l pl.UTF-8
1749Moduł PHP umożliwiający korzystanie z wddx.
1750
1751%package xml
1752Summary: XML extension module for PHP
1753Summary(pl.UTF-8): Moduł XML dla PHP
1754Group: Libraries
1755URL: http://www.php.net/manual/en/book.xml.php
1756Requires: %{name}-common = %{epoch}:%{version}-%{release}
1757Provides: php(xml)
1758
1759%description xml
1760This is a dynamic shared object (DSO) for PHP that will add XML
1761support. This extension lets you create XML parsers and then define
1762handlers for different XML events.
1763
1764%description xml -l pl.UTF-8
1765Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1766związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1767następnie definiować procedury obsługi dla różnych zdarzeń XML.
1768
1769%package xmlreader
1770Summary: XML Reader extension module for PHP
1771Summary(pl.UTF-8): Moduł XML Reader dla PHP
1772Group: Libraries
1773URL: http://www.php.net/manual/en/book.xmlreader.php
1774Requires: %{name}-common = %{epoch}:%{version}-%{release}
1775Suggests: %{name}-dom = %{epoch}:%{version}-%{release}
1776Provides: php(xmlreader)
1777
1778%description xmlreader
1779This is a dynamic shared object (DSO) for PHP that will add XML Reader
1780support. The XMLReader extension is an XML Pull parser. The reader
1781acts as a cursor going forward on the document stream and stopping at
1782each node on the way.
1783
1784%description xmlreader -l pl.UTF-8
1785Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1786działa jako kursor przechodzący przez strumień dokumentu i
1787zatrzymujący się na każdym węźle po drodze.
1788
1789%package xmlrpc
1790Summary: xmlrpc extension module for PHP
1791Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1792Group: Libraries
1793URL: http://www.php.net/manual/en/book.xmlrpc.php
1794Requires: %{name}-common = %{epoch}:%{version}-%{release}
1795Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1796Provides: php(xmlrpc)
1797
1798%description xmlrpc
1799This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1800support.
1801
1802%description xmlrpc -l pl.UTF-8
1803Moduł PHP dodający obsługę XMLRPC.
1804
1805%package xmlwriter
1806Summary: Fast, non-cached, forward-only means to write XML data
1807Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1808Group: Libraries
1809URL: http://www.php.net/manual/en/book.xmlwriter.php
1810Requires: %{name}-common = %{epoch}:%{version}-%{release}
1811Provides: php(xmlwriter)
1812Obsoletes: php-pecl-xmlwriter
1813
1814%description xmlwriter
1815This extension wraps the libxml xmlWriter API. Represents a writer
1816that provides a non-cached, forward-only means of generating streams
1817or files containing XML data.
1818
1819%description xmlwriter -l pl.UTF-8
1820To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1821zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1822plików zawierających dane XML.
1823
1824%package xsl
1825Summary: xsl extension module for PHP
1826Summary(pl.UTF-8): Moduł xsl dla PHP
1827Group: Libraries
1828URL: http://www.php.net/manual/en/book.xsl.php
1829Requires: %{name}-common = %{epoch}:%{version}-%{release}
1830Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1831Requires: libxslt >= 1.0.18
1832# actually not true, functionality is similar, but API differs
1833Provides: php(xsl)
1834Obsoletes: php-xslt <= 3:4.3.8-1
1835
1836%description xsl
1837This is a dynamic shared object (DSO) for PHP that will add new XSL
1838support (using libxslt).
1839
1840%description xsl -l pl.UTF-8
1841Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1842
1843%package zip
1844Summary: Zip management extension
1845Summary(pl.UTF-8): Zarządzanie archiwami zip
1846Group: Libraries
1847URL: http://www.php.net/manual/en/book.zip.php
1848Requires: %{name}-common = %{epoch}:%{version}-%{release}
13f02a12
ER
1849%{?with_system_libzip:Requires: libzip >= 0.10-3}
1850Provides: php(zip) = %{zipver}
1851Obsoletes: php-pecl-zip < %{zipver}
c0240cb1 1852
1853%description zip
1854Zip is an extension to create, modify and read zip files.
1855
1856%description zip -l pl.UTF-8
1857Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1858odczyt archiwów zip.
1859
1860%package zlib
1861Summary: Zlib extension module for PHP
1862Summary(pl.UTF-8): Moduł zlib dla PHP
1863Group: Libraries
1864URL: http://www.php.net/manual/en/book.zlib.php
1865Requires: %{name}-common = %{epoch}:%{version}-%{release}
1866Provides: php(zlib)
1867
1868%description zlib
1869This is a dynamic shared object (DSO) for PHP that will add zlib
1870compression support to PHP.
1871
1872%description zlib -l pl.UTF-8
1873Moduł PHP umożliwiający używanie kompresji zlib.
1874
1875%prep
a3c07000 1876%setup -q -n %{orgname}-%{version}
c0240cb1 1877# prep for suhosin patch
ee044483 1878%undos Zend/Zend.dsp Zend/ZendTS.dsp
c0240cb1 1879%patch0 -p1
1880%patch1 -p1
1881%patch2 -p1
1882%patch3 -p1
1883%patch4 -p1
1884%patch5 -p1
1885%patch6 -p1
1886%patch8 -p1
1887%patch7 -p1
1888%patch9 -p1
13f02a12 1889cp -p php.ini-production php.ini
c0240cb1 1890%patch10 -p1
1891%if %{with type_hints}
1892%patch12 -p0
1893%endif
1894%patch14 -p1
c0240cb1 1895%patch17 -p1
1896%patch18 -p1
1897%if %{with system_gd}
1898%patch19 -p1
1899%endif
1900%patch20 -p1
1901%patch21 -p1
1902%patch22 -p1
1903%patch23 -p1
1904%patch24 -p1
1905%patch25 -p1
1906%patch26 -p1
1907%patch27 -p1
1908%patch29 -p1
1909%patch31 -p1
c0240cb1 1910%if "%{pld_release}" != "ac"
1911%patch34 -p1
1912%endif
1913%patch35 -p1
1914%patch36 -p1
1915%patch37 -p1
1916%patch38 -p1
1917%patch39 -p1
1918%if %{with fpm}
1919%patch41 -p1
1920%patch42 -p1
1921%endif
1922%patch43 -p1
1923%patch44 -p1
02d2dcbb
ER
1924#%patch45 -p1 # imap annotations. fixme
1925#%patch46 -p1 # imap myrights. fixme
c0240cb1 1926%if %{with suhosin}
1927%patch47 -p1
1928%endif
c0240cb1 1929%patch50 -p1
1930%patch51 -p1
1931%patch52 -p1
1932%patch53 -p1
c0240cb1 1933%undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
1934%patch55 -p1
c0240cb1 1935%patch59 -p1
1936%patch60 -p1
c0240cb1 1937%patch62 -p1
1938%patch63 -p1
13f02a12 1939%{?with_system_libzip:%patch65 -p1}
c0240cb1 1940%{__rm} -r sapi/litespeed
1941gzip -dc %{SOURCE15} | tar xf - -C sapi/
1942
c0240cb1 1943sed -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
c0240cb1 1944
1945# cleanup backups after patching
1946find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
1947
1948# conflict seems to be resolved by recode patches
1949%{__rm} ext/recode/config9.m4
1950
1951# remove all bundled libraries not to link with them accidentally
c0240cb1 1952%{__rm} -r ext/sqlite3/libsqlite
1953#%{__rm} -r ext/bcmath/libbcmath
1954#%{__rm} -r ext/date/lib
1955#%{__rm} -r ext/fileinfo/libmagic
1956#%{__rm} -r ext/dba/libcdb
1957#%{__rm} -r ext/dba/libflatfile
1958#%{__rm} -r ext/dba/libinifile
1959#%{__rm} -r ext/gd/libgd
1960#%{__rm} -r ext/mbstring/libmbfl
1961#%{__rm} -r ext/mbstring/oniguruma
1962%{__rm} -r ext/pcre/pcrelib
1963#%{__rm} -r ext/soap/interop
1964%{__rm} -r ext/xmlrpc/libxmlrpc
1965#%{__rm} -r ext/zip/lib
1966
13f02a12 1967cp -pf Zend/LICENSE{,.Zend}
c0240cb1 1968install -p %{SOURCE13} dep-tests.sh
1969
1970# breaks build
1971sed -i -e 's#-fvisibility=hidden##g' configure*
1972
1973# disable broken tests
1974# says just "Terminated" twice and fails
1975mv sapi/cli/tests/022.phpt{,.broken}
1976
1977# php-5.3.3/ext/standard/tests/file/statpage.phpt
1978%{__rm} ext/standard/tests/file/statpage.phpt
1979
1980# idiotic test, it will fail if somebody else makes space on disk or if disk
1981# space is not yet allocated (xfs). report upstream to advice bogus test is
1982# probably pointless.
1983%{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
1984
b4025702 1985#sh -xe %{_sourcedir}/skip-tests.sh
c0240cb1 1986
1987%build
1988API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
1989if [ $API != %{php_api_version} ]; then
1990 echo "Set %%define php_api_version to $API and re-run."
1991 exit 1
1992fi
1993
1994API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
1995if [ $API != %{zend_module_api} ]; then
1996 echo "Set %%define zend_module_api to $API and re-run."
1997 exit 1
1998fi
1999
2000API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
2001if [ $API != %{zend_extension_api} ]; then
2002 echo "Set %%define zend_extension_api to $API and re-run."
2003 exit 1
2004fi
2005
13f02a12
ER
2006# Check for some extension version
2007ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
2008if test "$ver" != "%{fileinfover}"; then
2009 : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
2010 : Update the fileinfover macro and rebuild.
2011 exit 1
2012fi
2013ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
2014if test "$ver" != "%{pharver}"; then
2015 : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
2016 : Update the pharver macro and rebuild.
2017 exit 1
2018fi
ce39c8ba
ER
2019ver=$(sed -n '/#define PHP_SQLITE3_VERSION/{s/.* "//;s/".*$//;p}' ext/sqlite3/php_sqlite3.h)
2020if test "$ver" != "%{sqlite3ver}"; then
2021 : Error: Upstream Sqlite3 version is now ${ver}, expecting %{sqlite3ver}.
2022 : Update the sqlite3ver macro and rebuild.
2023 exit 1
2024fi
13f02a12
ER
2025ver=$(sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
2026if test "$ver" != "%{zipver}"; then
2027 : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
2028 : Update the zipver macro and rebuild.
2029 exit 1
2030fi
2031ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
2032if test "$ver" != "%{jsonver}"; then
2033 : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
2034 : Update the jsonver macro and rebuild.
2035 exit 1
2036fi
2037ver=$(sed -rne 's,.*<version>(.+)</version>,\1,p' ext/bz2/package.xml)
2038if test "$ver" != "%{bz2ver}"; then
2039 : Error: Upstream BZIP2 version is now ${ver}, expecting %{bz2ver}.
2040 : Update the bz2ver macro and rebuild.
2041 exit 1
2042fi
2043ver=$(sed -n '/#define PHP_ENCHANT_VERSION /{s/.* "//;s/".*$//;p}' ext/enchant/php_enchant.h)
2044if test "$ver" != "%{enchantver}"; then
2045 : Error: Upstream Enchant version is now ${ver}, expecting %{enchantver}.
2046 : Update the enchantver macro and rebuild.
2047 exit 1
2048fi
2049ver=$(awk '/#define PHP_HASH_EXTVER/ {print $3}' ext/hash/php_hash.h | xargs)
2050if test "$ver" != "%{hashver}"; then
2051 : Error: Upstream HASH version is now ${ver}, expecting %{hashver}.
2052 : Update the hashver macro and rebuild.
2053 exit 1
2054fi
2055ver=$(sed -n '/#define PHP_INTL_VERSION /{s/.* "//;s/".*$//;p}' ext/intl/php_intl.h)
2056if test "$ver" != "%{intlver}"; then
2057 : Error: Upstream Intl version is now ${ver}, expecting %{intlver}.
2058 : Update the intlver macro and rebuild.
2059 exit 1
2060fi
2061
c0240cb1 2062export EXTENSION_DIR="%{php_extensiondir}"
2063# configure once (for faster debugging purposes)
2064if [ ! -f _built-conf ]; then
2065 # now remove Makefile copies
2066 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed}
2067 %{__libtoolize}
2068 %{__aclocal}
2069 cp -f /usr/share/automake/config.* .
2070 ./buildconf --force
2071 touch _built-conf
2072fi
2073export PROG_SENDMAIL="/usr/lib/sendmail"
2074export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \
2075 -I%{_includedir}/xmlrpc-epi"
2076
2077sapis="
2078cli
2079%if %{with cgi}
2080cgi-fcgi
2081%endif
2082%if %{with litespeed}
2083litespeed
2084%endif
2085%if %{with fpm}
2086fpm
2087%endif
13f02a12
ER
2088%if %{with embed}
2089embed
2090%endif
c0240cb1 2091%if %{with apache1}
2092apxs1
2093%endif
2094%if %{with apache2}
2095apxs2
2096%endif
2097"
2098for sapi in $sapis; do
2099 : SAPI $sapi
2100 # skip if already configured (for faster debugging purposes)
2101 [ -f Makefile.$sapi ] && continue
2102
2103 sapi_args=''
2104 case $sapi in
2105 cgi-fcgi)
2106 sapi_args='--disable-cli'
2107 ;;
2108 cli)
2109 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
2110 ;;
2111 fpm)
2112 sapi_args='--disable-cli --enable-fpm'
2113 ;;
13f02a12
ER
2114 embed)
2115 sapi_args='--disable-cli --enable-embed'
2116 ;;
c0240cb1 2117 apxs1)
2118 ver=$(rpm -q --qf '%{V}' apache1-devel)
2119 sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
2120 ;;
2121 apxs2)
2122 ver=$(rpm -q --qf '%{V}' apache-devel)
2123 sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
2124 ;;
2125 litespeed)
2126 sapi_args='--with-litespeed'
2127 ;;
2128 esac
2129
2130 %configure \
2131 $sapi_args \
2132%if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2133 --cache-file=config.cache \
2134%endif
2135 --with-libdir=%{_lib} \
2136 --with-config-file-path=%{_sysconfdir} \
2137 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
c0240cb1 2138 --with-system-tzdata \
2139 --%{!?debug:dis}%{?debug:en}able-debug \
2140 %{?with_zts:--enable-maintainer-zts} \
2141 --enable-inline-optimization \
2142 --enable-bcmath=shared \
2143 --enable-calendar=shared \
2144 --enable-ctype=shared \
2145 --enable-dba=shared \
2146 --enable-dom=shared \
2147 --enable-exif=shared \
2148 --enable-fileinfo=shared \
2149 --enable-ftp=shared \
2150 --enable-gd-native-ttf \
2151 --enable-intl=shared \
2152 --enable-libxml \
c0240cb1 2153 --enable-mbstring=shared,all \
2154 --enable-mbregex \
2155 --enable-pcntl=shared \
2156 --enable-pdo=shared \
2157 --enable-json=shared \
2158 --enable-hash=shared \
2159 --enable-xmlwriter=shared \
2160%if %{with fpm}
2161 --with-fpm-user=http \
2162 --with-fpm-group=http \
2163%endif
2164%if %{with mssql} || %{with sybase_ct}
2165 --with-pdo-dblib=shared \
2166%endif
2167%if %{with interbase} && %{without interbase_inst}
2168 --with-pdo-firebird=shared,/usr \
2169%endif
2170 %{?with_mhash:--with-mhash=yes} \
2171 --with-mysql-sock=/var/lib/mysql/mysql.sock \
81d9fe7d 2172 --with-pdo-mysql=shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd} \
c0240cb1 2173 %{?with_oci8:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2174 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2175 %{?with_pgsql:--with-pdo-pgsql=shared} \
2176 %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
3f93948f 2177 --with-vpx-dir=/usr \
c0240cb1 2178 --without-libexpat-dir \
2179 --enable-posix=shared \
2180 --enable-shared \
2181 --enable-session=shared \
2182 --enable-shmop=shared \
2183 --enable-simplexml=shared \
2184 --enable-sysvmsg=shared \
2185 --enable-sysvsem=shared \
2186 --enable-sysvshm=shared \
c0240cb1 2187 --enable-soap=shared \
2188 --enable-sockets=shared \
2189 --enable-tokenizer=shared \
c0240cb1 2190 %{?with_wddx:--enable-wddx=shared} \
2191 --enable-xml=shared \
2192 --enable-xmlreader=shared \
2193 --with-bz2=shared \
2194 %{__with_without curl curl shared} \
2195 --with-db4 \
2196 --with-iconv=shared \
13f02a12 2197 %{?with_enchant:--with-enchant=shared,/usr} \
c0240cb1 2198 --with-freetype-dir=shared \
2199 --with-gettext=shared \
2200 --with-gd=shared%{?with_system_gd:,/usr} \
2201 --with-gdbm \
2202 --with-gmp=shared \
2203 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2204 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2205 --with-jpeg-dir=/usr \
2206 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2207 --with-mcrypt=shared \
2208 %{?with_mm:--with-mm} \
2209 %{?with_mssql:--with-mssql=shared} \
81d9fe7d
ER
2210 %{?with_mysqlnd:--enable-mysqlnd=shared} \
2211 --with-mysql=shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd} \
2212 %{?with_mysqli:--with-mysqli=shared,%{!?with_mysqlnd:/usr/bin/mysql_config}%{?with_mysqlnd:mysqlnd}} \
c0240cb1 2213 %{?with_oci8:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2214 %{?with_openssl:--with-openssl=shared} \
2215 %{?with_kerberos5:--with-kerberos} \
36fd40c8 2216 --with-tcadb=/usr \
c0240cb1 2217 %{__with_without pcre pcre-regex /usr} \
2218 %{__enable_disable filter filter shared} \
2219 --with-pear=%{php_pear_dir} \
2220 %{__with_without pgsql pgsql shared,/usr} \
2221 %{__enable_disable phar phar shared} \
2222 --with-png-dir=/usr \
2223 %{?with_pspell:--with-pspell=shared} \
2224 --with-readline=shared \
2225 %{?with_recode:--with-recode=shared} \
2226 --with-regex=system \
2227 %{?with_snmp:--with-snmp=shared} \
2228 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
c0240cb1 2229 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2230 %{__with_without sqlite3 sqlite3 shared,/usr} \
2231 --with-t1lib=shared \
2232 %{?with_tidy:--with-tidy=shared} \
2233 %{?with_odbc:--with-unixODBC=shared,/usr} \
2234 %{__with_without xmlrpc xmlrpc shared,/usr} \
2235 --with-xsl=shared \
2236 --with-zlib=shared \
2237 --with-zlib-dir=shared,/usr \
13f02a12 2238 %{?with_system_libzip:--with-libzip} \
c0240cb1 2239 --enable-zip=shared,/usr \
2240
2241 # save for debug
2242 cp -f Makefile Makefile.$sapi
2243 cp -f main/php_config.h php_config.h.$sapi
2244 cp -f config.log config.log.$sapi
2245done
2246
2247# as we build each SAPI in own make, adjust php-config.in forehead
529e9ea3
ER
2248sapis=$(%{__sed} -rne 's/^PHP_INSTALLED_SAPIS = (.+)/\1/p' Makefile.* | tr ' ' '\n' | sort -u | xargs)
2249%{__sed} -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," scripts/php-config.in
c0240cb1 2250
2251# must make libphp_common first, so modules can link against it.
2252cp -af php_config.h.cli main/php_config.h
2253cp -af Makefile.cli Makefile
2254%{__make} libphp_common.la
2255%{__make} build-modules
2256
2257%if %{with apache1}
2258%{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
2259%endif
2260
2261%if %{with apache2}
2262%{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
2263%endif
2264
2265%if %{with litespeed}
2266%{__make} -f Makefile.litespeed
2267%endif
2268
2269# CGI/FCGI
2270%if %{with cgi}
13f02a12 2271cp -pf php_config.h.cgi-fcgi main/php_config.h
c0240cb1 2272%{__make} -f Makefile.cgi-fcgi
3aeda88b 2273[ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
c0240cb1 2274%endif
2275
2276# PHP FPM
2277%if %{with fpm}
13f02a12 2278cp -pf php_config.h.fpm main/php_config.h
c0240cb1 2279%{__make} -f Makefile.fpm
3aeda88b
ER
2280./sapi/fpm/php-fpm -n -m
2281[ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
c0240cb1 2282%endif
2283
2284# CLI
13f02a12 2285cp -pf php_config.h.cli main/php_config.h
c0240cb1 2286%{__make} -f Makefile.cli
3aeda88b 2287[ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
c0240cb1 2288
2289# check for stupid xml parse breakage where &lt; and &gt; just get lost in parse result
2290./sapi/cli/php -n -dextension_dir=modules -dextension=xml.so -r '$p = xml_parser_create(); xml_parse_into_struct($p, "<x>&lt;</x>", $vals, $index); exit((int )empty($vals[0]["value"]));'
2291
2292# Generate stub .ini files for each extension
2293rm -rf conf.d
2294install -d conf.d
2295generate_inifiles() {
2296 for so in modules/*.so; do
2297 mod=$(basename $so .so)
2298 conf="$mod.ini"
2299 # xml needs to be loaded before wddx
2300 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2301 # pre needs to be loaded before SPL
2302 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2303 # spl needs to be loaded before mysqli
2304 [ "$mod" = "spl" ] && conf="SPL.ini"
2305 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2306 [ "$mod" = "session" ] && conf="Session.ini"
2307 # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli
2308 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2309 echo "+ $conf"
2310 cat > conf.d/$conf <<-EOF
2311 ; Enable $mod extension module
2312 extension=$mod.so
2313 EOF
2314 done
2315}
2316generate_inifiles
2317
2318# Check that the module inner-dependencies are intact
2319PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2320if grep -v OK dep-tests.log; then
2321 echo >&2 "The results above were not expected"
2322 exit 1
2323fi
2324
2325%if %{with gcov}
2326# Use CLI SAPI
13f02a12
ER
2327cp -pf php_config.h.cli main/php_config.h
2328cp -pf Makefile.cli Makefile
c0240cb1 2329%{__make} lcov
2330# you really don't want to package result of gcov build
2331exit 1
2332%endif
2333
2334%if %{with tests}
2335# Run tests, using the CLI SAPI
13f02a12
ER
2336cp -pf php_config.h.cli main/php_config.h
2337cp -pf Makefile.cli Makefile
c0240cb1 2338
2339cat <<'EOF' > run-tests.sh
2340#!/bin/sh
2341export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2342unset TZ LANG LC_ALL || :
2343%{__make} test \
2344 EXTENSION_DIR=modules \
2345 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2346 RUN_TESTS_SETTINGS="-q $*"
2347EOF
2348chmod +x run-tests.sh
2349./run-tests.sh -w failed.log -s test.log
2350
2351# collect failed tests into cleanup script used in prep.
2352sed -ne '/FAILED TEST SUMMARY/,/^===/p' test.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2353sed -ne '/\[.*\]/{s/\(.*\) \[\(.*\)\]/# \1\nmv \2{,.skip}/p}' tests-failed.log \
2354 >> %{_sourcedir}/skip-tests.sh
2355
2356failed=$(wc -l < tests-failed.log)
2357if [ "$failed" != 0 ]; then
2358 exit 1
2359fi
2360%endif
2361
2362%install
2363rm -rf $RPM_BUILD_ROOT
2364install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2365 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2366 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2367 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2368
13f02a12
ER
2369cp -pf php_config.h.cli main/php_config.h
2370cp -pf Makefile.cli Makefile
c0240cb1 2371%{__make} install \
2372 INSTALL_ROOT=$RPM_BUILD_ROOT
2373
2374# make link relative
2375ln -sfn phar.phar $RPM_BUILD_ROOT%{_bindir}/phar
2376
2377# install Apache1 DSO module
2378%if %{with apache1}
13f02a12 2379libtool --mode=install install -p sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
c0240cb1 2380%endif
2381
2382# install Apache2 DSO module
2383%if %{with apache2}
13f02a12 2384libtool --mode=install install -p sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
c0240cb1 2385%endif
2386
2387# install litespeed sapi
2388%if %{with litespeed}
f9101cd2 2389libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
c0240cb1 2390%endif
2391
13f02a12 2392libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
c0240cb1 2393
2394# install CGI/FCGI
2395%if %{with cgi}
13f02a12 2396# install-cgi
694e535c
ER
2397libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2398ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
13f02a12 2399cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
c0240cb1 2400%endif
2401
2402# install FCGI PM
2403%if %{with fpm}
2404install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir}}
f9101cd2
ER
2405libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2406cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
13f02a12 2407cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
c0240cb1 2408install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
f9101cd2
ER
2409install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2410%{__sed} -i -e '
2411 s#/usr/lib/php#%{php_extensiondir}#
2412 s#/etc/php#%{_sysconfdir}#
2413 s#@processname@#%{name}-fpm#g
2414' $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.conf
c0240cb1 2415install -d $RPM_BUILD_ROOT/etc/logrotate.d
f9101cd2 2416cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
13f02a12
ER
2417%endif
2418
2419# install Embedded API
2420%if %{with embed}
2421%{__make} -f Makefile.embed install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT
2422# we could use install-headers from Makefile.embed, but that would reinstall all headers
2423install -d $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2424cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
c0240cb1 2425%endif
2426
2427# install CLI
9c280452
ER
2428libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/%{name}
2429cp -p sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
2430echo ".so %{name}.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.1
2431ln -sf %{name} $RPM_BUILD_ROOT%{_bindir}/php
c0240cb1 2432
f831b4f0 2433cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
c0240cb1 2434
13f02a12
ER
2435cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2436cp -p %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini
c0240cb1 2437
2438%if %{with apache1}
13f02a12
ER
2439cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2440cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2441%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
c0240cb1 2442%endif
2443
2444%if %{with apache2}
13f02a12
ER
2445cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2446cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2447%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
c0240cb1 2448%endif
2449
f831b4f0 2450# ensure that paths are correct for current php version and arch
63bcb1b6 2451grep -El '/etc/php/|/usr/lib/php/' %{_sysconfdir}/*.ini | xargs -r \
f831b4f0
ER
2452%{__sed} -i -e '
2453 s#/usr/lib/php#%{php_extensiondir}#
2454 s#/etc/php#%{_sysconfdir}#
63bcb1b6 2455'
f831b4f0 2456
c0240cb1 2457install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
13f02a12 2458cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
c0240cb1 2459
2460# per SAPI ini directories
2461install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2462
2463# for CLI SAPI only
2464mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2465
2466# use system automake and {lib,sh}tool
2467%if "%{pld_release}" != "ac"
2468 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
2469 for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2470 ln -snf %{_aclocaldir}/${i} $RPM_BUILD_ROOT%{_libdir}/php/build
2471 done
2472 ln -snf %{_datadir}/libtool/config/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2473%else
2474 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
2475 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2476%endif
2477ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
2478
2479# for php-pecl-mailparse
2480install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
13f02a12 2481cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
c0240cb1 2482
2483# tests
2484install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2485install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2486cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2487
13f02a12
ER
2488# fix install paths, avoid evil rpaths
2489sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2490%if %{with embed}
2491# libphp5.la contains our buildroot in dependency_libs
2492sed -i -e "/dependency_libs/ s,/[^ ]*/libs/libphp_common.la,%{_libdir}/libphp_common.la," $RPM_BUILD_ROOT%{_libdir}/libphp5.la
2493%endif
2494# better solution?
2495sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
2496
c0240cb1 2497%clean
2498rm -rf $RPM_BUILD_ROOT
2499
aa424f73 2500%post -n apache1-mod_%{name}
c0240cb1 2501if [ "$1" = "1" ]; then
2502 %service -q apache restart
2503fi
2504
aa424f73 2505%postun -n apache1-mod_%{name}
c0240cb1 2506if [ "$1" = "0" ]; then
2507 %service -q apache restart
2508fi
2509
aa424f73 2510%post -n apache-mod_%{name}
c0240cb1 2511if [ "$1" = "1" ]; then
2512 %service -q httpd restart
2513fi
2514
aa424f73 2515%postun -n apache-mod_%{name}
c0240cb1 2516if [ "$1" = "0" ]; then
2517 %service -q httpd restart
2518fi
2519
2520%pre fpm
2521%useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2522
2523%post fpm
ff9cec3f
ER
2524/sbin/chkconfig --add %{name}-fpm
2525%service %{name}-fpm restart
c0240cb1 2526
2527%preun fpm
2528if [ "$1" = 0 ]; then
ff9cec3f
ER
2529 %service %{name}-fpm stop
2530 /sbin/chkconfig --del %{name}-fpm
c0240cb1 2531fi
2532
2533%postun fpm
2534if [ "$1" = "0" ]; then
2535 %userremove http
2536fi
2537
13f02a12
ER
2538%post embedded -p /sbin/ldconfig
2539%postun embedded -p /sbin/ldconfig
2540
c0240cb1 2541%post common
2542# PHP 5.3 requires timezone being setup, try setup it from tzdata
5d43dd0d
ER
2543if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2544 TIMEZONE=
2545 . /etc/sysconfig/timezone
2546 if [ "$TIMEZONE" ]; then
2547 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
c0240cb1 2548 fi
2549fi
2550
2551%posttrans common
2552# minimizing apache restarts logics. we restart webserver:
2553#
2554# 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2555# 2. first install of extension (post: $1 = 1)
2556# 2. uninstall of extension (postun: $1 == 0)
2557#
2558# the strict internal deps between extensions (and apache modules) and
2559# common package are very important for all this to work.
2560
2561# restart webserver at the end of transaction
2562[ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2563[ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2564
c0240cb1 2565# common macros called at extension post/postun scriptlet
2566%define extension_scripts() \
2567%post %1 \
2568if [ "$1" = "1" ]; then \
2569 %php_webserver_restart \
2570fi \
2571\
2572%postun %1 \
2573if [ "$1" = "0" ]; then \
2574 %php_webserver_restart \
2575fi
2576%{nil}
2577
2578# extension scripts defines
2579%extension_scripts bcmath
2580%extension_scripts bz2
2581%extension_scripts calendar
2582%extension_scripts ctype
2583%extension_scripts curl
2584%extension_scripts dba
2585%extension_scripts dom
13f02a12 2586%extension_scripts enchant
c0240cb1 2587%extension_scripts exif
2588%extension_scripts fileinfo
2589%extension_scripts filter
2590%extension_scripts ftp
2591%extension_scripts gd
2592%extension_scripts gettext
2593%extension_scripts gmp
2594%extension_scripts hash
2595%extension_scripts iconv
2596%extension_scripts imap
2597%extension_scripts interbase
2598%extension_scripts intl
2599%extension_scripts json
2600%extension_scripts ldap
2601%extension_scripts mbstring
2602%extension_scripts mcrypt
2603%extension_scripts mssql
2604%extension_scripts mysql
2605%extension_scripts mysqli
2606%extension_scripts mysqlnd
2607%extension_scripts oci8
2608%extension_scripts odbc
2609%extension_scripts openssl
2610%extension_scripts pcre
e12b4121 2611%extension_scripts pdo
c0240cb1 2612%extension_scripts pdo-dblib
2613%extension_scripts pdo-firebird
56b7d841 2614%extension_scripts pdo-oci
c0240cb1 2615%extension_scripts pdo-mysql
2616%extension_scripts pdo-odbc
2617%extension_scripts pdo-pgsql
2618%extension_scripts pdo-sqlite
2619%extension_scripts pgsql
2620%extension_scripts phar
e12b4121 2621%extension_scripts pcntl
c0240cb1 2622%extension_scripts posix
2623%extension_scripts pspell
2624%extension_scripts recode
2625%extension_scripts session
2626%extension_scripts shmop
e12b4121 2627%extension_scripts simplexml
c0240cb1 2628%extension_scripts snmp
2629%extension_scripts soap
2630%extension_scripts sockets
2631%extension_scripts spl
c0240cb1 2632%extension_scripts sqlite3
2633%extension_scripts sybase-ct
2634%extension_scripts sysvmsg
2635%extension_scripts sysvsem
2636%extension_scripts sysvshm
2637%extension_scripts tidy
2638%extension_scripts tokenizer
2639%extension_scripts wddx
2640%extension_scripts xml
2641%extension_scripts xmlreader
2642%extension_scripts xmlrpc
2643%extension_scripts xmlwriter
2644%extension_scripts xsl
2645%extension_scripts zip
2646%extension_scripts zlib
2647
c0240cb1 2648%if %{with apache1}
aa424f73 2649%files -n apache1-mod_%{name}
c0240cb1 2650%defattr(644,root,root,755)
2651%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2652%dir %{_sysconfdir}/apache.d
2653%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2654%attr(755,root,root) %{_libdir}/apache1/libphp5.so
2655%endif
2656
2657%if %{with apache2}
aa424f73 2658%files -n apache-mod_%{name}
c0240cb1 2659%defattr(644,root,root,755)
2660%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2661%dir %{_sysconfdir}/apache2handler.d
2662%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2663%attr(755,root,root) %{_libdir}/apache/libphp5.so
2664%endif
2665
2666%if %{with litespeed}
2667%files litespeed
2668%defattr(644,root,root,755)
aa424f73 2669%attr(755,root,root) %{_sbindir}/%{name}.litespeed
c0240cb1 2670%endif
2671
2672%if %{with cgi}
2673%files cgi
2674%defattr(644,root,root,755)
2675%dir %{_sysconfdir}/cgi-fcgi.d
2676%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
694e535c
ER
2677%attr(755,root,root) %{_bindir}/%{name}.cgi
2678%attr(755,root,root) %{_bindir}/%{name}.fcgi
c0240cb1 2679%endif
2680
13f02a12
ER
2681%if %{with embed}
2682%files embedded
2683%defattr(644,root,root,755)
2684%attr(755,root,root) %{_libdir}/libphp5-%{version}.so
2685%endif
2686
c0240cb1 2687%files cli
2688%defattr(644,root,root,755)
2689%dir %{_sysconfdir}/cli.d
2690%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
9c280452
ER
2691%attr(755,root,root) %{_bindir}/%{name}
2692%{_mandir}/man1/%{name}.1*
c0240cb1 2693
2694%files program
2695%defattr(644,root,root,755)
2696%attr(755,root,root) %{_bindir}/php
872bc3df 2697%{_mandir}/man1/php.1*
c0240cb1 2698
2699%if %{with fpm}
2700%files fpm
2701%defattr(644,root,root,755)
13f02a12 2702%doc sapi/fpm/{CREDITS,LICENSE}
c0240cb1 2703%dir %{_sysconfdir}/fpm.d
2704%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
f9101cd2
ER
2705%attr(755,root,root) %{_sbindir}/%{name}-fpm
2706%{_mandir}/man8/%{name}-fpm.8*
2707%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
2708%attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
c0240cb1 2709%endif
2710
2711%files common
2712%defattr(644,root,root,755)
13f02a12 2713%doc CREDITS EXTENSIONS LICENSE NEWS README.{PHP4-TO-PHP5-THIN-CHANGES,namespaces} UPGRADING* Zend/{LICENSE.Zend,ZEND_CHANGES} php.ini-*
c0240cb1 2714%dir %{_sysconfdir}
2715%dir %{_sysconfdir}/conf.d
2716%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2717%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2718%attr(755,root,root) %{_libdir}/libphp_common-*.so
2719%dir %{php_extensiondir}
2720
13f02a12
ER
2721%doc ext/session/mod_files.sh
2722
c0240cb1 2723%files devel
2724%defattr(644,root,root,755)
13f02a12 2725%doc CODING_STANDARDS README.{EXTENSIONS,EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
c0240cb1 2726%attr(755,root,root) %{_bindir}/phpize
2727%attr(755,root,root) %{_bindir}/php-config
2728%attr(755,root,root) %{_libdir}/libphp_common.so
2729%{_libdir}/libphp_common.la
2730%{_includedir}/php
2731%{_libdir}/php/build
2732%{_mandir}/man1/php-config.1*
2733%{_mandir}/man1/phpize.1*
13f02a12
ER
2734%if %{with embed}
2735# embedded
2736%{_libdir}/libphp5.so
2737%{_libdir}/libphp5.la
2738%endif
c0240cb1 2739
2740%files bcmath
2741%defattr(644,root,root,755)
2742%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2743%attr(755,root,root) %{php_extensiondir}/bcmath.so
2744
2745%files bz2
2746%defattr(644,root,root,755)
8cd9d573 2747%doc ext/bz2/CREDITS
c0240cb1 2748%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2749%attr(755,root,root) %{php_extensiondir}/bz2.so
2750
2751%files calendar
2752%defattr(644,root,root,755)
8cd9d573 2753%doc ext/calendar/CREDITS
c0240cb1 2754%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2755%attr(755,root,root) %{php_extensiondir}/calendar.so
2756
2757%files ctype
2758%defattr(644,root,root,755)
8cd9d573 2759%doc ext/calendar/CREDITS
c0240cb1 2760%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2761%attr(755,root,root) %{php_extensiondir}/ctype.so
2762
2763%if %{with curl}
2764%files curl
2765%defattr(644,root,root,755)
8cd9d573 2766%doc ext/curl/CREDITS
c0240cb1 2767%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2768%attr(755,root,root) %{php_extensiondir}/curl.so
2769%endif
2770
2771%files dba
2772%defattr(644,root,root,755)
cd6e98f7 2773%doc ext/dba/{CREDITS,README}
c0240cb1 2774%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2775%attr(755,root,root) %{php_extensiondir}/dba.so
2776
2777%files dom
2778%defattr(644,root,root,755)
8cd9d573 2779%doc ext/dom/{CREDITS,TODO}
c0240cb1 2780%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2781%attr(755,root,root) %{php_extensiondir}/dom.so
2782
13f02a12
ER
2783%files enchant
2784%defattr(644,root,root,755)
2785%doc ext/enchant/{CREDITS,docs/examples}
2786%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/enchant.ini
2787%attr(755,root,root) %{php_extensiondir}/enchant.so
2788
c0240cb1 2789%files exif
2790%defattr(644,root,root,755)
8cd9d573 2791%doc ext/exif/CREDITS
c0240cb1 2792%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2793%attr(755,root,root) %{php_extensiondir}/exif.so
2794
2795%files fileinfo
2796%defattr(644,root,root,755)
8cd9d573 2797%doc ext/fileinfo/CREDITS
c0240cb1 2798%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
2799%attr(755,root,root) %{php_extensiondir}/fileinfo.so
2800
2801%if %{with filter}
2802%files filter
2803%defattr(644,root,root,755)
8cd9d573 2804%doc ext/filter/{CREDITS,docs/*}
c0240cb1 2805%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2806%attr(755,root,root) %{php_extensiondir}/filter.so
2807%endif
2808
2809%files ftp
2810%defattr(644,root,root,755)
8cd9d573 2811%doc ext/ftp/CREDITS
c0240cb1 2812%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2813%attr(755,root,root) %{php_extensiondir}/ftp.so
2814
2815%files gd
2816%defattr(644,root,root,755)
8cd9d573 2817%doc ext/gd/CREDITS
c0240cb1 2818%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2819%attr(755,root,root) %{php_extensiondir}/gd.so
2820
2821%files gettext
2822%defattr(644,root,root,755)
8cd9d573 2823%doc ext/gettext/CREDITS
c0240cb1 2824%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2825%attr(755,root,root) %{php_extensiondir}/gettext.so
2826
2827%files gmp
2828%defattr(644,root,root,755)
8cd9d573 2829%doc ext/gmp/{CREDITS,README,TODO}
c0240cb1 2830%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2831%attr(755,root,root) %{php_extensiondir}/gmp.so
2832
2833%files hash
2834%defattr(644,root,root,755)
8cd9d573 2835%doc ext/hash/{CREDITS,README}
c0240cb1 2836%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2837%attr(755,root,root) %{php_extensiondir}/hash.so
2838
2839%files iconv
2840%defattr(644,root,root,755)
8cd9d573 2841%doc ext/iconv/CREDITS
c0240cb1 2842%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2843%attr(755,root,root) %{php_extensiondir}/iconv.so
2844
2845%if %{with imap}
2846%files imap
2847%defattr(644,root,root,755)
8cd9d573 2848%doc ext/imap/CREDITS
c0240cb1 2849%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2850%attr(755,root,root) %{php_extensiondir}/imap.so
2851%endif
2852
2853%if %{with interbase}
2854%files interbase
2855%defattr(644,root,root,755)
8cd9d573 2856%doc ext/interbase/CREDITS
c0240cb1 2857%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2858%attr(755,root,root) %{php_extensiondir}/interbase.so
2859%endif
2860
2861%files intl
2862%defattr(644,root,root,755)
8cd9d573 2863%doc ext/intl/{CREDITS,TODO}
c0240cb1 2864%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
2865%attr(755,root,root) %{php_extensiondir}/intl.so
2866
2867%files json
2868%defattr(644,root,root,755)
8cd9d573 2869%doc ext/json/CREDITS
c0240cb1 2870%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
2871%attr(755,root,root) %{php_extensiondir}/json.so
2872
2873%if %{with ldap}
2874%files ldap
2875%defattr(644,root,root,755)
8cd9d573 2876%doc ext/ldap/CREDITS
c0240cb1 2877%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2878%attr(755,root,root) %{php_extensiondir}/ldap.so
2879%endif
2880
2881%files mbstring
2882%defattr(644,root,root,755)
8cd9d573 2883%doc ext/mbstring/{CREDITS,README*}
c0240cb1 2884%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2885%attr(755,root,root) %{php_extensiondir}/mbstring.so
2886
2887%files mcrypt
2888%defattr(644,root,root,755)
8cd9d573 2889%doc ext/mcrypt/{CREDITS,TODO}
c0240cb1 2890%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2891%attr(755,root,root) %{php_extensiondir}/mcrypt.so
2892
2893%if %{with mssql}
2894%files mssql
2895%defattr(644,root,root,755)
8cd9d573 2896%doc ext/mssql/CREDITS
c0240cb1 2897%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2898%attr(755,root,root) %{php_extensiondir}/mssql.so
2899%endif
2900
2901%files mysql
2902%defattr(644,root,root,755)
8cd9d573 2903%doc ext/mysql/CREDITS
c0240cb1 2904%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2905%attr(755,root,root) %{php_extensiondir}/mysql.so
2906
2907%if %{with mysqli}
2908%files mysqli
2909%defattr(644,root,root,755)
8cd9d573 2910%doc ext/mysqli/{CREDITS,TODO}
c0240cb1 2911%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2912%attr(755,root,root) %{php_extensiondir}/mysqli.so
2913%endif
2914
2915%if %{with mysqlnd}
2916%files mysqlnd
2917%defattr(644,root,root,755)
8cd9d573 2918%doc ext/mysqlnd/CREDITS
c0240cb1 2919%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
2920%attr(755,root,root) %{php_extensiondir}/mysqlnd.so
2921%endif
2922
2923%if %{with oci8}
2924%files oci8
2925%defattr(644,root,root,755)
8cd9d573 2926%doc ext/ico8/{CREDITS,README}
c0240cb1 2927%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2928%attr(755,root,root) %{php_extensiondir}/oci8.so
2929%endif
2930
2931%if %{with odbc}
2932%files odbc
2933%defattr(644,root,root,755)
8cd9d573 2934%doc ext/odbc/CREDITS
c0240cb1 2935%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2936%attr(755,root,root) %{php_extensiondir}/odbc.so
2937%endif
2938
2939%if %{with openssl}
2940%files openssl
2941%defattr(644,root,root,755)
8cd9d573 2942%doc ext/openssl/{CREDITS,README}
c0240cb1 2943%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2944%attr(755,root,root) %{php_extensiondir}/openssl.so
2945%endif
2946
2947%files pcntl
2948%defattr(644,root,root,755)
8cd9d573 2949%doc ext/pcntl/{CREDITS,README}
c0240cb1 2950%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
2951%attr(755,root,root) %{php_extensiondir}/pcntl.so
2952
2953%if %{with pcre}
2954%files pcre
2955%defattr(644,root,root,755)
8cd9d573 2956%doc ext/pcre/CREDITS
c0240cb1 2957%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
2958%attr(755,root,root) %{php_extensiondir}/pcre.so
2959%endif
2960
2961%files pdo
2962%defattr(644,root,root,755)
8cd9d573 2963%doc ext/pdo/{CREDITS,README,TODO}
c0240cb1 2964%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2965%attr(755,root,root) %{php_extensiondir}/pdo.so
2966
2967%if %{with mssql} || %{with sybase_ct}
2968%files pdo-dblib
2969%defattr(644,root,root,755)
8cd9d573 2970%doc ext/pdo_dblib/{CREDITS,README}
c0240cb1 2971%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2972%attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
2973%endif
2974
2975%if %{with interbase} && !%{with interbase_inst}
2976%files pdo-firebird
2977%defattr(644,root,root,755)
8cd9d573 2978%doc ext/pdo_firebird/CREDITS
c0240cb1 2979%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2980%attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
2981%endif
2982
2983%files pdo-mysql
2984%defattr(644,root,root,755)
8cd9d573 2985%doc ext/pdo_mysql/CREDITS
c0240cb1 2986%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2987%attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
2988
2989%if %{with oci8}
2990%files pdo-oci
2991%defattr(644,root,root,755)
8cd9d573 2992%doc ext/pdo_oci/CREDITS
c0240cb1 2993%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2994%attr(755,root,root) %{php_extensiondir}/pdo_oci.so
2995%endif
2996
2997%if %{with odbc}
2998%files pdo-odbc
2999%defattr(644,root,root,755)
8cd9d573 3000%doc ext/pdo_odbc/CREDITS
c0240cb1 3001%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3002%attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3003%endif
3004
3005%if %{with pgsql}
3006%files pdo-pgsql
3007%defattr(644,root,root,755)
8cd9d573 3008%doc ext/pdo_pgsql/CREDITS
c0240cb1 3009%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3010%attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3011%endif
3012
3013%if %{with pdo_sqlite}
3014%files pdo-sqlite
3015%defattr(644,root,root,755)
8cd9d573 3016%doc ext/pdo_sqlite/CREDITS
c0240cb1 3017%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3018%attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3019%endif
3020
3021%if %{with pgsql}
3022%files pgsql
3023%defattr(644,root,root,755)
8cd9d573 3024%doc ext/pgsql/{CREDITS,README}
c0240cb1 3025%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3026%attr(755,root,root) %{php_extensiondir}/pgsql.so
3027%endif
3028
3029%if %{with phar}
3030%files phar
3031%defattr(644,root,root,755)
8cd9d573 3032%doc ext/phar/{CREDITS,TODO}
c0240cb1 3033%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
3034%attr(755,root,root) %{php_extensiondir}/phar.so
3035%attr(755,root,root) %{_bindir}/phar
3036%attr(755,root,root) %{_bindir}/phar.phar
3037%endif
3038
3039%files posix
3040%defattr(644,root,root,755)
8cd9d573 3041%doc ext/posix/CREDITS
c0240cb1 3042%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3043%attr(755,root,root) %{php_extensiondir}/posix.so
3044
3045%if %{with pspell}
3046%files pspell
3047%defattr(644,root,root,755)
8cd9d573 3048%doc ext/pspell/{CREDITS,README}
c0240cb1 3049%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3050%attr(755,root,root) %{php_extensiondir}/pspell.so
3051%endif
3052
3053%files readline
3054%defattr(644,root,root,755)
8cd9d573 3055%doc ext/readline/{CREDITS,README*}
c0240cb1 3056%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3057%attr(755,root,root) %{php_extensiondir}/readline.so
3058
3059%if %{with recode}
3060%files recode
3061%defattr(644,root,root,755)
8cd9d573 3062%doc ext/recode/CREDITS
c0240cb1 3063%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3064%attr(755,root,root) %{php_extensiondir}/recode.so
3065%endif
3066
3067%files session
3068%defattr(644,root,root,755)
8cd9d573 3069%doc ext/session/CREDITS
c0240cb1 3070%doc ext/session/mod_files.sh
3071%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3072%attr(755,root,root) %{php_extensiondir}/session.so
3073
3074%files shmop
3075%defattr(644,root,root,755)
8cd9d573 3076%doc ext/shmop/{CREDITS,README}
c0240cb1 3077%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3078%attr(755,root,root) %{php_extensiondir}/shmop.so
3079
3080%files simplexml
3081%defattr(644,root,root,755)
8cd9d573 3082%doc ext/simplexml/{CREDITS,README}
c0240cb1 3083%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3084%attr(755,root,root) %{php_extensiondir}/simplexml.so
3085
3086%if %{with snmp}
3087%files snmp
3088%defattr(644,root,root,755)
8cd9d573 3089%doc ext/snmp/CREDITS
c0240cb1 3090%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3091%attr(755,root,root) %{php_extensiondir}/snmp.so
3092%endif
3093
3094%files soap
3095%defattr(644,root,root,755)
8cd9d573 3096%doc ext/soap/{CREDITS,TODO*}
c0240cb1 3097%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3098%attr(755,root,root) %{php_extensiondir}/soap.so
3099
3100%files sockets
3101%defattr(644,root,root,755)
8cd9d573 3102%doc ext/sockets/CREDITS
c0240cb1 3103%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3104%attr(755,root,root) %{php_extensiondir}/sockets.so
3105
3106%files spl
3107%defattr(644,root,root,755)
13f02a12 3108%doc ext/spl/{CREDITS,README,TODO,examples}
c0240cb1 3109%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3110%attr(755,root,root) %{php_extensiondir}/spl.so
3111
c0240cb1 3112%if %{with sqlite3}
3113%files sqlite3
3114%defattr(644,root,root,755)
3115%doc ext/sqlite3/CREDITS
3116%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3117%attr(755,root,root) %{php_extensiondir}/sqlite3.so
3118%endif
3119
3120%if %{with sybase_ct}
3121%files sybase-ct
3122%defattr(644,root,root,755)
8cd9d573 3123%doc ext/sybase_ct/CREDITS
c0240cb1 3124%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3125%attr(755,root,root) %{php_extensiondir}/sybase_ct.so
3126%endif
3127
3128%files sysvmsg
3129%defattr(644,root,root,755)
8cd9d573 3130%doc ext/sysvmsg/CREDITS
c0240cb1 3131%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3132%attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3133
3134%files sysvsem
3135%defattr(644,root,root,755)
8cd9d573 3136%doc ext/sysvsem/CREDITS
c0240cb1 3137%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3138%attr(755,root,root) %{php_extensiondir}/sysvsem.so
3139
3140%files sysvshm
3141%defattr(644,root,root,755)
8cd9d573 3142%doc ext/sysvshm/CREDITS
c0240cb1 3143%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3144%attr(755,root,root) %{php_extensiondir}/sysvshm.so
3145
3146%files tests
3147%defattr(644,root,root,755)
a3c07000 3148%dir %{php_data_dir}/tests
c0240cb1 3149%dir %{php_data_dir}/tests/php
3150%{php_data_dir}/tests/php/basic
3151%{php_data_dir}/tests/php/classes
3152%{php_data_dir}/tests/php/func
3153%{php_data_dir}/tests/php/lang
3154%{php_data_dir}/tests/php/output
3155%{php_data_dir}/tests/php/run-test
3156%{php_data_dir}/tests/php/security
3157%{php_data_dir}/tests/php/strings
3158%{php_data_dir}/tests/php/quicktester.inc
3159%attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3160
3161%if %{with tidy}
3162%files tidy
3163%defattr(644,root,root,755)
8cd9d573 3164%doc ext/tidy/{CREDITS,README}
c0240cb1 3165%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3166%attr(755,root,root) %{php_extensiondir}/tidy.so
3167%endif
3168
3169%files tokenizer
3170%defattr(644,root,root,755)
8cd9d573 3171%doc ext/tokenizer/CREDITS
c0240cb1 3172%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3173%attr(755,root,root) %{php_extensiondir}/tokenizer.so
3174
3175%if %{with wddx}
3176%files wddx
3177%defattr(644,root,root,755)
8cd9d573 3178%doc ext/wddx/CREDITS
c0240cb1 3179%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3180%attr(755,root,root) %{php_extensiondir}/wddx.so
3181%endif
3182
3183%files xml
3184%defattr(644,root,root,755)
8cd9d573 3185%doc ext/xml/CREDITS
c0240cb1 3186%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3187%attr(755,root,root) %{php_extensiondir}/xml.so
3188
3189%files xmlreader
3190%defattr(644,root,root,755)
8cd9d573 3191%doc ext/xmlreader/{CREDITS,README,TODO,examples}
c0240cb1 3192%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3193%attr(755,root,root) %{php_extensiondir}/xmlreader.so
3194
3195%if %{with xmlrpc}
3196%files xmlrpc
3197%defattr(644,root,root,755)
8cd9d573 3198%doc ext/xmlrpc/CREDITS
c0240cb1 3199%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3200%attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3201%endif
3202
3203%files xmlwriter
3204%defattr(644,root,root,755)
8cd9d573 3205%doc ext/xmlwriter/{CREDITS,TODO}
c0240cb1 3206%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3207%attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3208
3209%files xsl
3210%defattr(644,root,root,755)
8cd9d573 3211%doc ext/xsl/CREDITS
c0240cb1 3212%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3213%attr(755,root,root) %{php_extensiondir}/xsl.so
3214
3215%files zip
3216%defattr(644,root,root,755)
8cd9d573 3217%doc ext/zip/{CREDITS,TODO}
c0240cb1 3218%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3219%attr(755,root,root) %{php_extensiondir}/zip.so
3220
3221%files zlib
3222%defattr(644,root,root,755)
8cd9d573 3223%doc ext/zlib/CREDITS
c0240cb1 3224%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3225%attr(755,root,root) %{php_extensiondir}/zlib.so
This page took 3.787798 seconds and 4 git commands to generate.