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