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