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