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