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