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