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