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