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