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