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