]> git.pld-linux.org Git - packages/php.git/blob - php.spec
rel 19
[packages/php.git] / php.spec
1 # TODO 5.6:
2 # - enable --with-fpm-systemd, but ensure it checks for sd_booted()
3 # - build with system libgd 2.1, see 73c5128
4 # TODO 5.4:
5 # - update imap annotations patch (needs api porting)
6 # - update imap myrights patch (needs api porting)
7 # --with-libmbfl=DIR      MBSTRING: Use external libmbfl.  DIR is the libmbfl base install directory BUNDLED
8 # --with-onig=DIR         MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
9 # TODO:
10 # - fileinfo extension bundles magic db in library: data_file.c (dump of magic.mgc) is 14M
11 #   - 2.3M fileinfo.so php54-fileinfo-5.4.6-0.15.x86_64
12 #   - 2.3M fileinfo.so php-fileinfo-5.3.16-1.x86_64
13 #   -  13K fileinfo.so php-pecl-fileinfo-1.0.4-8.amd64
14 # - ttyname_r() misdetected http://bugs.php.net/bug.php?id=48820
15 # - wddx: restore session support (not compiled in due DL extension check)
16 # - make additional headers and checking added by mail patch configurable
17 # - modularize standard (output from pure php -m)?
18 # - some mods should be shared:
19 #$ php -m
20 # [PHP Modules]
21 #+Core
22 # date
23 #+ereg
24 # libxml
25 # Reflection
26 # standard
27 #
28 # Conditional build:
29 # - packaging options
30 %bcond_without  alternatives    # use alternatives system to select default phar and php-fpm
31 %bcond_with     default_php     # build this PHP as default PHP in system (disables alternatives)
32 # - General options:
33 %bcond_without  embed           # disable building Embedded API
34 %bcond_with     gcov            # Enable Code coverage reporting
35 %bcond_without  kerberos5       # without Kerberos5 support
36 %bcond_with     suhosin         # with suhosin patch, has little point in PHP>=5.3, see https://github.com/stefanesser/suhosin/issues/42#issuecomment-41728178
37 %bcond_with     systemtap       # systemtap/DTrace support
38 %bcond_with     tests           # default off; test process very often hangs on builders, approx run time 45m; perform "make test"
39 %bcond_with     zts             # Zend Thread Safety
40 %bcond_with     debug           # Zend Debug Build
41 # - SAPI
42 %bcond_without  apache1         # disable building Apache 1.3.x SAPI
43 %bcond_without  apache2         # disable building Apache 2.x SAPI
44 %bcond_without  cgi             # disable CGI/FCGI SAPI
45 %bcond_without  fpm             # disable FPM SAPI
46 %bcond_without  litespeed       # build litespeed SAPI
47 %bcond_with     milter          # disable Milter SAPI
48 %bcond_without  phpdbg          # disable phpdbg SAPI
49 # - Extensions
50 %bcond_without  bcmath          # without bcmath extension module
51 %bcond_without  bz2             # without bz2 extension module
52 %bcond_without  calendar        # without calendar extension module
53 %bcond_without  ctype           # without ctype extension module
54 %bcond_without  curl            # without CURL extension module
55 %bcond_without  dba             # without DBA extension module
56 %bcond_without  dom             # without DOM extension module
57 %bcond_without  enchant         # without Enchant extension module
58 %bcond_without  ereg            # without ext/ereg support
59 %bcond_without  exif            # without EXIF extension module
60 %bcond_without  fileinfo        # without fileinfo extension module
61 %bcond_without  filter          # without filter extension module
62 %bcond_without  ftp             # without FTP extension module
63 %bcond_without  gd              # without GD extension module
64 %bcond_without  gettext         # without gettext extension module
65 %bcond_without  gmp             # without gmp extension module
66 %bcond_without  hash            # without hash extension module
67 %bcond_without  iconv           # without iconv extension module
68 %bcond_without  imap            # without IMAP extension module
69 %bcond_without  interbase       # without InterBase extension module
70 %bcond_without  intl            # without Intl extension module
71 %bcond_without  json            # without json extension module
72 %bcond_without  ldap            # without LDAP extension module
73 %bcond_without  mbstring        # without mbstring extension module
74 %bcond_without  mcrypt          # without mbcrypt extension module
75 %bcond_without  mhash           # without mhash extension (supported by hash extension)
76 %bcond_without  mssql           # without MS SQL extension module
77 %bcond_without  mysql           # without ext/mysql support
78 %bcond_without  mysqli          # without mysqli support (Requires mysql >= 4.1)
79 %bcond_without  mysqlnd         # without mysqlnd support in mysql related extensions
80 %bcond_with     oci             # with Oracle oci8 extension module     (BR: proprietary libs)
81 %bcond_without  odbc            # without ODBC extension module
82 %bcond_without  opcache         # without Enable Zend OPcache extension support
83 %bcond_without  openssl         # without OpenSSL support and OpenSSL extension (module)
84 %bcond_without  pcntl           # without pcntl extension module
85 %bcond_without  pcre            # without PCRE extension module
86 %bcond_without  pdo             # without PDO extension module
87 %bcond_without  pdo_dblib       # without PDO dblib extension module
88 %bcond_without  pdo_mysql       # without PDO MySQL extension module
89 %bcond_without  pdo_sqlite      # without PDO SQLite extension module
90 %bcond_without  pgsql           # without PostgreSQL extension module
91 %bcond_without  phar            # without Phar extension module
92 %bcond_without  posix           # without POSIX extension module
93 %bcond_without  pspell          # without pspell extension module
94 %bcond_without  readline        # without readline extension module
95 %bcond_without  recode          # without recode extension module
96 %bcond_without  session         # without session extension module
97 %bcond_without  snmp            # without SNMP extension module
98 %bcond_without  sqlite2         # without SQLite extension module
99 %bcond_without  sqlite3         # without SQLite3 extension module
100 %bcond_without  sybase_ct       # without Sybase-CT extension module
101 %bcond_without  tidy            # without Tidy extension module
102 %bcond_without  wddx            # without WDDX extension module
103 %bcond_without  xmlrpc          # without XML-RPC extension module
104 # extensions options
105 %bcond_without  instantclient   # build Oracle oci8 extension module against oracle-instantclient package
106 %bcond_with     interbase_inst  # use InterBase install., not Firebird  (BR: proprietary libs)
107 %bcond_with     mm              # without mm support for session storage
108 %bcond_with     system_gd       # with system gd (imageantialias function is missing then)
109 %bcond_with     system_libzip   # with system libzip (reported broken currently)
110 %bcond_without  webp            # Without WebP support in GD extension (imagecreatefromwebp)
111
112 %define apxs1           /usr/sbin/apxs1
113 %define apxs2           /usr/sbin/apxs
114
115 # disable all sapis
116 %if %{with gcov}
117 %undefine       with_apache1
118 %undefine       with_apache2
119 %undefine       with_cgi
120 %undefine       with_litespeed
121 %endif
122
123 %if %{with default_php}
124 %undefine       with_alternatives
125 %endif
126
127 # mm is not thread safe
128 %if %{with zts}
129 %undefine       with_mm
130 %endif
131
132 # milter requires ZTS
133 %if %{with milter} && %{without zts}
134 %undefine       with_milter
135 %endif
136
137 %ifnarch %{ix86} %{x8664} x32 sparc sparcv9 alpha
138 # ppc disabled (broken on th-ppc)
139 %undefine       with_interbase
140 %endif
141
142 %ifnarch %{ix86} %{x8664} x32
143 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
144 %undefine       with_fpm
145 %endif
146
147 %if 0
148 %if %{without apache1} && %{without apache2}
149 ERROR: You need to select at least one Apache SAPI to build shared modules.
150 %endif
151 %endif
152
153 # filter depends on pcre
154 %if %{without pcre}
155 %undefine       with_filter
156 %endif
157
158 %define         rel     19
159 %define         orgname php
160 %define         ver_suffix 56
161 %define         php_suffix %{!?with_default_php:%{ver_suffix}}
162 Summary:        PHP: Hypertext Preprocessor
163 Summary(fr.UTF-8):      Le langage de script embarque-HTML PHP
164 Summary(pl.UTF-8):      Język skryptowy PHP
165 Summary(pt_BR.UTF-8):   A linguagem de script PHP
166 Summary(ru.UTF-8):      PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
167 Summary(uk.UTF-8):      PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
168 Name:           %{orgname}%{php_suffix}
169 Version:        5.6.40
170 Release:        %{rel}
171 Epoch:          4
172 # All files licensed under PHP version 3.01, except
173 # Zend is licensed under Zend
174 # TSRM is licensed under BSD
175 License:        PHP 3.01 and Zend and BSD
176 Group:          Libraries
177 Source0:        http://www.php.net/distributions/%{orgname}-%{version}.tar.xz
178 # Source0-md5:  c7dde3afb16ce7b761abf2805125d372
179 Source2:        %{orgname}-mod_%{orgname}.conf
180 Source3:        %{orgname}-cgi-fcgi.ini
181 Source4:        %{orgname}-apache.ini
182 Source5:        %{orgname}-cli.ini
183 Source10:       %{orgname}-fpm.init
184 Source11:       %{orgname}-fpm.logrotate
185 Source12:       %{orgname}-branch.sh
186 Source13:       dep-tests.sh
187 Source14:       skip-tests.sh
188 Patch0:         %{orgname}-shared.patch
189 Patch1:         %{orgname}-pldlogo.patch
190 Patch2:         %{orgname}-mail.patch
191 Patch3:         %{orgname}-link-libs.patch
192 Patch4:         php-bug-71475.patch
193 Patch5:         %{orgname}-filter-shared.patch
194 Patch6:         %{orgname}-build_modules.patch
195 Patch7:         %{orgname}-sapi-ini-file.patch
196 Patch8:         milter.patch
197 Patch9:         libtool-tag.patch
198 Patch10:        %{orgname}-ini.patch
199 Patch11:        embed.patch
200 Patch12:        openssl.patch
201 Patch14:        %{orgname}-no_pear_install.patch
202 Patch17:        %{orgname}-readline.patch
203 Patch18:        %{orgname}-nohttpd.patch
204 Patch21:        %{orgname}-dba-link.patch
205 Patch22:        %{orgname}-both-apxs.patch
206 Patch23:        %{orgname}-builddir.patch
207 Patch24:        %{orgname}-zlib-for-getimagesize.patch
208 Patch25:        %{orgname}-stupidapache_version.patch
209 Patch26:        %{orgname}-pear.patch
210 Patch27:        %{orgname}-config-dir.patch
211 Patch29:        %{orgname}-fcgi-graceful.patch
212 Patch31:        %{orgname}-fcgi-error_log-no-newlines.patch
213 Patch34:        %{orgname}-libtool.patch
214 Patch35:        %{orgname}-tds.patch
215 Patch36:        %{orgname}-mysql-charsetphpini.patch
216 Patch37:        %{orgname}-mysqli-charsetphpini.patch
217 Patch38:        %{orgname}-pdo_mysql-charsetphpini.patch
218 Patch39:        %{orgname}-use-prog_sendmail.patch
219 Patch41:        %{orgname}-fpm-config.patch
220 Patch42:        %{orgname}-fpm-shared.patch
221 Patch43:        %{orgname}-silent-session-cleanup.patch
222 Patch44:        %{orgname}-include_path.patch
223 Patch45:        %{orgname}-imap-annotations.patch
224 Patch46:        %{orgname}-imap-myrights.patch
225 Patch47:        suhosin.patch
226 Patch50:        extension-shared-optional-dep.patch
227 Patch51:        spl-shared.patch
228 Patch52:        pcre-shared.patch
229 Patch53:        fix-test-run.patch
230 Patch55:        bug-52078-fileinode.patch
231 Patch59:        %{orgname}-systzdata.patch
232 Patch60:        %{orgname}-oracle-instantclient.patch
233 Patch62:        mcrypt-libs.patch
234 Patch65:        system-libzip.patch
235 Patch66:        php-db.patch
236 Patch67:        mysql-lib-ver-mismatch.patch
237 Patch68:        CVE-2019-11043.patch
238 Patch69:        fpm-conf-split.patch
239 Patch70:        mysqlnd-ssl.patch
240 Patch72:        phar-hash-shared.patch
241 Patch73:        php-pdo-ssl.patch
242 Patch74:        php-icu64.patch
243 Patch75:        icu69.patch
244 Patch76:        icu70.patch
245 URL:            https://www.php.net/
246 %{?with_interbase:%{!?with_interbase_inst:BuildRequires:        Firebird-devel >= 1.0.2.908-2}}
247 %{?with_pspell:BuildRequires:   aspell-devel >= 2:0.50.0}
248 BuildRequires:  autoconf >= 2.59
249 BuildRequires:  automake >= 1.4d
250 BuildRequires:  bison
251 BuildRequires:  bzip2-devel >= 1.0.0
252 %{?with_curl:BuildRequires:     curl-devel >= 7.12.0}
253 BuildRequires:  cyrus-sasl-devel >= 2
254 BuildRequires:  db-devel >= 4.0
255 BuildRequires:  elfutils-devel
256 %{?with_enchant:BuildRequires:  enchant-devel >= 1.1.3}
257 %{?with_kerberos5:BuildRequires:        heimdal-devel}
258 %{?with_system_libzip:BuildRequires:    libzip-devel >= 0.10.1-2}
259 %{!?with_mysqlnd:BuildRequires: mysql-devel}
260 BuildRequires:  pkgconfig
261 BuildRequires:  sed >= 4.0
262 %if %{with mssql} || %{with sybase_ct} || %{with pdo_dblib}
263 BuildRequires:  freetds-devel >= 0.82
264 %endif
265 BuildRequires:  freetype-devel >= 1:2.5.1
266 %if %{with system_gd}
267 BuildRequires:  gd-devel >= 2.1
268 %endif
269 BuildRequires:  gdbm-devel
270 BuildRequires:  gmp-devel >= 4.1.2
271 %{?with_imap:BuildRequires:     imap-devel >= 1:2007e-2}
272 %{?with_intl:BuildRequires:     libicu-devel >= 4.4}
273 BuildRequires:  libjpeg-devel
274 BuildRequires:  libltdl-devel >= 1.4
275 BuildRequires:  libmcrypt-devel >= 2.5.6
276 BuildRequires:  libpng-devel >= 1.0.8
277 %{?with_intl:BuildRequires:     libstdc++-devel}
278 %{?with_webp:BuildRequires:     libvpx-devel}
279 BuildRequires:  tokyocabinet-devel
280 %if "%{pld_release}" != "ac"
281 BuildRequires:  libtool >= 2:2.4.6
282 %else
283 BuildRequires:  libtool >= 1.4.3
284 %endif
285 BuildRequires:  libxml2-devel >= 1:2.7.6-4
286 BuildRequires:  libxslt-devel >= 1.1.0
287 %{?with_mm:BuildRequires:       mm-devel >= 1.3.0}
288 %{?with_ldap:BuildRequires:     openldap-devel >= 2.3.0}
289 %if %{with openssl} || %{with ldap}
290 BuildRequires:  openssl-devel >= 0.9.7d
291 %endif
292 %{?with_gcov:BuildRequires:     lcov}
293 %{?with_snmp:%{?with_tests:BuildRequires:       mibs-net-snmp}}
294 %{?with_snmp:BuildRequires:     net-snmp-devel >= 5.0.7}
295 %{?with_oci:%{?with_instantclient:BuildRequires:        oracle-instantclient-devel}}
296 BuildRequires:  pam-devel
297 %{?with_pcre:BuildRequires:     pcre-devel >= 8.10}
298 BuildRequires:  pkgconfig
299 %{?with_pgsql:BuildRequires:    postgresql-backend-devel >= 7.2}
300 %{?with_pgsql:BuildRequires:    postgresql-devel}
301 BuildRequires:  readline-devel
302 %{?with_recode:BuildRequires:   recode-devel >= 3.5d-3}
303 BuildRequires:  rpm >= 4.4.9-56
304 BuildRequires:  rpm-build >= 4.4.0
305 BuildRequires:  rpmbuild(macros) >= 1.566
306 %{?with_systemtap:BuildRequires:        systemtap-sdt-devel}
307 BuildRequires:  tar >= 1:1.22
308 BuildRequires:  xz
309 %if %{with sqlite3} || %{with pdo_sqlite}
310 BuildRequires:  sqlite3-devel >= 3.3.9
311 %endif
312 BuildRequires:  t1lib-devel
313 %{?with_tidy:BuildRequires:     tidy-devel}
314 %{?with_odbc:BuildRequires:     unixODBC-devel}
315 %{?with_xmlrpc:BuildRequires:   xmlrpc-epi-devel >= 0.54.1}
316 BuildRequires:  zlib-devel >= 1.0.9
317 %if %{with apache1}
318 BuildRequires:  apache1-devel
319 %endif
320 %if %{with apache2}
321 BuildRequires:  apache-devel >= 2.0.52-2
322 BuildRequires:  apr-devel >= 1:1.0.0
323 BuildRequires:  apr-util-devel >= 1:1.0.0
324 %endif
325 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
326
327 %define         php_sysconfdir          /etc/%{name}
328 %define         php_extensiondir        %{_libdir}/%{name}
329 %define         _sysconfdir                     %{php_sysconfdir}
330
331 # must be in sync with source. extra check ensuring that it is so is done in %%build
332 %define         php_api_version         20131106
333 %define         zend_module_api         20131226
334 %define         zend_extension_api      220131226
335 %define         php_pdo_api_version     20080721
336
337 # Extension versions
338 %define         bz2ver          1.0
339 %define         enchantver      1.1.0
340 %define         fileinfover     1.0.5
341 %define         hashver         1.0
342 %define         intlver         1.1.0
343 %define         jsonver         1.2.1
344 %define         opcachever      7.0.6-dev
345 %define         pharver         2.0.2
346 %define         sqlite3ver      0.7-dev
347 %define         zipver          1.12.5
348 %define         phpdbgver       0.4.0
349
350 %define         _zend_zts               %{!?with_zts:0}%{?with_zts:1}
351 %define         php_debug               %{!?with_debug:0}%{?with_debug:1}
352
353 %if %{with gcov}
354 %undefine       with_ccache
355 %endif
356
357 %if %{with oci}
358 # ORACLE_HOME is required for oci8 ext to build
359 %define _preserve_env %_preserve_env_base ORACLE_HOME
360 %endif
361
362 %description
363 PHP is an HTML-embedded scripting language. PHP attempts to make it
364 easy for developers to write dynamically generated web pages. PHP also
365 offers built-in database integration for several commercial and
366 non-commercial database management systems, so writing a
367 database-enabled web page with PHP is fairly simple. The most common
368 use of PHP coding is probably as a replacement for CGI scripts. The
369 mod_php module enables the Apache web server to understand and process
370 the embedded PHP language in web pages. This package contains PHP
371 version %{version}.
372
373 %description -l fr.UTF-8
374 PHP est un langage de script embarque dans le HTM. PHP essaye de
375 rendre simple aux developpeurs d'ecrire des pages web generees
376 dynamiquement. PHP incorpore egalement une integration avec plusieurs
377 systemes de gestion de bases de donnees commerciaux et
378 non-connerciaux, qui rent facile la creation de pages web liees avec
379 des bases de donnees. L'utilisation la plus commune de PHP est
380 probablement en remplacement de scripts CGI. Le module mod_php permet
381 au serveur web Apache de comprendre et de traiter le langage PHP
382 integre dans des pages web. Ce package contient PHP version
383 %{version}.
384
385 %description -l pl.UTF-8
386 PHP jest językiem skryptowym, którego polecenia umieszcza się w
387 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
388 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
389 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
390 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
391 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
392 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
393 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
394 %{version}.
395
396 %description -l pt_BR.UTF-8
397 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
398 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
399 com algumas características únicas, específicas ao PHP. O objetivo da
400 linguagem é permitir que desenvolvedores web escrevam páginas
401 dinamicamente geradas de forma rápida.
402
403 %description -l ru.UTF-8
404 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
405 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
406 для работы с базами данных относительно просто. Наиболее популярное
407 использование PHP - замена для CGI скриптов.
408
409 %description -l uk.UTF-8
410 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
411 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
412 роботи з базами даних є доволі простим. Найбільш популярне
413 використання PHP - заміна для CGI скриптів.
414
415 %package -n apache1-mod_%{name}
416 Summary:        PHP DSO module for Apache 1.3.x
417 Summary(pl.UTF-8):      Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x
418 Group:          Development/Languages/PHP
419 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
420 Requires:       apache1(EAPI) >= 1.3.33-2
421 Requires:       apache1-mod_mime
422 Provides:       webserver(php) = %{version}
423 Obsoletes:      apache-mod_php < 1:4.1.1
424 Obsoletes:      apache1-mod_php < 4:5.3.28-7
425 Obsoletes:      phpfi
426
427 %description -n apache1-mod_%{name}
428 PHP as DSO module for Apache 1.3.x.
429
430 %description -n apache1-mod_%{name} -l pl.UTF-8
431 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x.
432
433 %package -n apache-mod_%{name}
434 Summary:        PHP support for Apache 2.x
435 Summary(pl.UTF-8):      Wsparcie PHP dla Apache 2.x
436 Group:          Development/Languages/PHP
437 Requires:       apache-mod_%{name}-core = %{epoch}:%{version}-%{release}
438 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
439 Provides:       webserver(php) = %{version}
440 Obsoletes:      apache-mod_php < 4:5.3.28-7
441 Obsoletes:      phpfi
442
443 %description -n apache-mod_%{name}
444 PHP support for Apache 2.x.
445
446 %description -n apache-mod_%{name} -l pl.UTF-8
447 Wsparcie PHP dla Apache 2.x.
448
449 %package -n apache-mod_%{name}-core
450 Summary:        PHP DSO module for Apache 2.x
451 Summary(pl.UTF-8):      Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
452 Group:          Development/Languages/PHP
453 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
454 Requires:       apache(modules-api) = %{apache_modules_api}
455 Requires:       apache-mod_mime
456
457 %description -n apache-mod_%{name}-core
458 PHP as DSO module for Apache 2.x.
459
460 %description -n apache-mod_%{name}-core -l pl.UTF-8
461 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
462
463 %package litespeed
464 Summary:        PHP for litespeed HTTP server
465 Summary(pl.UTF-8):      PHP dla serwera HTTP litespeed
466 Group:          Development/Languages/PHP
467 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
468 Provides:       php(litespeed)
469 Provides:       webserver(php) = %{version}
470 Obsoletes:      php-litespeed < 4:5.3.28-7
471
472 %description litespeed
473 PHP for litespeed HTTP server.
474
475 %description litespeed -l pl.UTF-8
476 PHP dla serwera HTTP litespeed.
477
478 %package cgi
479 Summary:        PHP as CGI/FastCGI program
480 Summary(pl.UTF-8):      PHP jako program CGI/FastCGI
481 Group:          Development/Languages/PHP
482 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
483 Provides:       %{name}-fcgi = %{epoch}:%{version}-%{release}
484 Provides:       php(cgi)
485 Provides:       php(fcgi)
486 Provides:       webserver(php) = %{version}
487 Obsoletes:      php-cgi < 4:5.3.28-7
488 Obsoletes:      php-fcgi < 4:5.3.0
489
490 %description cgi
491 PHP as CGI or FastCGI program.
492
493 %description cgi -l pl.UTF-8
494 PHP jako program CGI lub FastCGI.
495
496 %package cli
497 Summary:        PHP as CLI interpreter
498 Summary(pl.UTF-8):      PHP jako interpreter działający z linii poleceń
499 Group:          Development/Languages/PHP
500 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
501 Obsoletes:      php-cli < 4:5.3.28-7
502
503 %description cli
504 PHP as CLI interpreter.
505
506 %description cli -l pl.UTF-8
507 PHP jako interpreter działający z linii poleceń.
508
509 %package embedded
510 Summary:        PHP library for embedding in applications
511 Summary(pl.UTF-8):      Biblioteka PHP do osadzania w aplikacjach
512 Group:          Libraries
513 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
514 Obsoletes:      php-embedded < 4:5.3.28-7
515
516 %description embedded
517 The php-embedded package contains a library which can be embedded into
518 applications to provide PHP scripting language support.
519
520 %description embedded -l pl.UTF-8
521 Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
522 celu obsługi PHP jako języka skryptowego.
523
524 %package program
525 Summary:        /usr/bin/php symlink
526 Summary(pl.UTF-8):      Dowiązanie symboliczne /usr/bin/php
527 Group:          Development/Languages/PHP
528 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
529 Obsoletes:      php-program < 4:5.3.28-7
530 Obsoletes:      php4-program < 3:5
531 Obsoletes:      php52-program < 4:5.3
532 Obsoletes:      php53-program < 4:5.4
533 Obsoletes:      php54-program < 4:5.5
534 Obsoletes:      php55-program < 4:5.6
535 Obsoletes:      php70-program < 4:7.1
536 Obsoletes:      php71-program < 4:7.2
537 Obsoletes:      php72-program < 4:7.3
538 Obsoletes:      php73-program < 4:7.4
539 Obsoletes:      php74-program < 4:8
540 Obsoletes:      php80-program < 4:8.1
541 Obsoletes:      php81-program < 4:8.2
542 Obsoletes:      php82-program < 4:8.3
543
544 %description program
545 Package providing /usr/bin/php symlink to PHP CLI.
546
547 %description program -l pl.UTF-8
548 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
549
550 %package fpm
551 Summary:        PHP FastCGI Process Manager
552 Summary(pl.UTF-8):      PHP FastCGI Process Manager - zarządca procesów FastCGI
553 Group:          Development/Languages/PHP
554 URL:            http://php-fpm.org/
555 Requires(post,preun):   /sbin/chkconfig
556 Requires(postun):       /usr/sbin/userdel
557 Requires(pre):  /bin/id
558 Requires(pre):  /usr/sbin/useradd
559 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
560 %{?with_alternatives:Requires:  alternatives}
561 Requires:       php-dirs >= 1.4-2
562 Requires:       rc-scripts
563 Provides:       php(fcgi)
564 Provides:       php(fpm)
565 Provides:       user(http)
566 Provides:       webserver(php) = %{version}
567 Obsoletes:      php-fpm < 4:5.3.28-7
568 %if "%{pld_release}" != "ac"
569 Conflicts:      logrotate < 3.8.0
570 %endif
571
572 %description fpm
573 PHP FastCGI Process Manager.
574
575 %description fpm -l pl.UTF-8
576 PHP FastCGI Process Manager - zarządca procesów FastCGI.
577
578 %package phpdbg
579 Summary:        The debugging platform for PHP 5.4+
580 Summary(pl.UTF-8):      Platforma diagnostyczna dla PHP 5.4+
581 Group:          Development/Languages/PHP
582 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
583 Provides:       php(phpdbg) = %{phpdbgver}
584
585 %description phpdbg
586 phpdbg - The interactive PHP debugger.
587
588 Implemented as a SAPI module, phpdbg can excert complete control over
589 the environment without impacting the functionality or performance of
590 your code.
591
592 phpdbg aims to be a lightweight, powerful, easy to use debugging
593 platform for PHP 5.4+
594
595 %description phpdbg -l pl.UTF-8
596 phpdbg - interaktywny debugger dla PHP.
597
598 Jest zaimplementowany jako moduł SAPI, potrafi przejąć pełną kontrolę
599 nad środowiskiem bez wpływu na zachowanie lub wydajność kodu.
600
601 Narzędzie powstało jako lekka, mająca duże możliwości, łatwa w użyciu
602 platforma diagnostyczna dla PHP 5.4+.
603
604 %package common
605 Summary:        Common files needed by both Apache modules and CGI/CLI SAPIs
606 Summary(pl.UTF-8):      Wspólne pliki dla modułu Apache'a i programu CGI
607 Summary(ru.UTF-8):      Разделяемые библиотеки для PHP
608 Summary(uk.UTF-8):      Бібліотеки спільного використання для PHP
609 Group:          Libraries
610 Requires(post): sed >= 4.0
611 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
612 Requires:       glibc >= 6:2.3.5
613 Requires:       php-dirs >= 1.4
614 Requires:       rpm-whiteout >= 1.28
615 Requires:       tzdata
616 Provides:       %{name}(debug) = %{php_debug}
617 Provides:       %{name}(modules_api) = %{php_api_version}
618 Provides:       %{name}(thread-safety) = %{_zend_zts}
619 Provides:       %{name}(zend_extension_api) = %{zend_extension_api}
620 Provides:       %{name}(zend_module_api) = %{zend_module_api}
621 Provides:       %{name}-core
622 Provides:       %{name}-date
623 %{?with_ereg:Provides:  %{name}-ereg}
624 Provides:       %{name}-reflection
625 Provides:       %{name}-standard
626 Provides:       php(core) = %{version}
627 Provides:       php(date)
628 %{?with_ereg:Provides:  php(ereg)}
629 Provides:       php(libxml)
630 Provides:       php(reflection)
631 Provides:       php(standard)
632 %{!?with_mysqlnd:Obsoletes:     %{name}-mysqlnd}
633 %{?with_pcre:%requires_ge_to    pcre pcre-devel}
634 Suggests:       browscap
635 Obsoletes:      php-common < 4:5.3.28-7
636 # withdrawn modules
637 Obsoletes:      php-filepro < 4:5.2.0
638 Obsoletes:      php-hwapi < 4:5.2.0
639 Obsoletes:      php-hyperwave < 3:5.0.0
640 Obsoletes:      php-java < 3:5.0.0
641 Obsoletes:      php-mcal < 3:5.0.0
642 Obsoletes:      php-pecl-domxml
643 Obsoletes:      php-qtdom < 3:5.0.0
644 Conflicts:      php4-common < 3:4.4.4-8
645 Conflicts:      php55-common < 4:5.5.10-4
646 Conflicts:      rpm < 4.4.2-0.2
647
648 %description common
649 Common files needed by both Apache modules and CGI/CLI SAPIs.
650
651 %description common -l pl.UTF-8
652 Wspólne pliki dla modułu Apache'a i programu CGI.
653
654 %description common -l ru.UTF-8
655 Этот пакет содержит общие файлы для разных вариантов реализации PHP
656 (самодостаточной и в качестве модуля Apache).
657
658 %description common -l uk.UTF-8
659 Цей пакет містить спільні файли для різних варіантів реалізації PHP
660 (самодостатньої та в якості модуля Apache).
661
662 %package devel
663 Summary:        Files for PHP modules development
664 Summary(pl.UTF-8):      Pliki do kompilacji modułów PHP
665 Summary(pt_BR.UTF-8):   Arquivos de desenvolvimento para PHP
666 Summary(ru.UTF-8):      Пакет разработки для построения расширений PHP
667 Summary(uk.UTF-8):      Пакет розробки для побудови розширень PHP
668 Group:          Development/Languages/PHP
669 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
670 Requires:       autoconf >= 2.13
671 Requires:       automake
672 %if "%{pld_release}" != "ac"
673 Requires:       libtool >= 2:2.4.6
674 %else
675 Requires:       libtool
676 %endif
677 %{?with_pcre:Requires:  pcre-devel >= 8.10}
678 Requires:       shtool
679 Provides:       php-devel = %{epoch}:%{version}-%{release}
680 Obsoletes:      php-devel
681 Obsoletes:      php-pear-devel < 3:4.3.0-1
682 Obsoletes:      php4-devel < 3:5
683 Obsoletes:      php52-devel < 4:5.3
684 Obsoletes:      php53-devel < 4:5.4
685 Obsoletes:      php54-devel < 4:5.5
686 Obsoletes:      php55-devel < 4:5.6
687 Obsoletes:      php70-devel < 4:7.1
688 Obsoletes:      php71-devel < 4:7.2
689 Obsoletes:      php72-devel < 4:7.3
690 Obsoletes:      php73-devel < 4:7.4
691 Obsoletes:      php74-devel < 4:8
692 Obsoletes:      php80-devel < 4:8.1
693 Obsoletes:      php81-devel < 4:8.2
694 Obsoletes:      php82-devel < 4:8.3
695
696 %description devel
697 The php-devel package lets you compile dynamic extensions to PHP.
698 Included here is the source for the PHP extensions. Instead of
699 recompiling the whole PHP binary to add support for, say, oracle,
700 install this package and use the new self-contained extensions
701 support. For more information, read the file
702 README.SELF-CONTAINED-EXTENSIONS.
703
704 %description devel -l pl.UTF-8
705 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
706 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
707 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
708 samodzielnych rozszerzeniach można znaleźć w pliku
709 README.SELF-CONTAINED-EXTENSIONS.
710
711 %description devel -l pt_BR.UTF-8
712 Este pacote contém arquivos usados no desenvolvimento de programas ou
713 módulos PHP.
714
715 %description devel -l ru.UTF-8
716 Пакет php-devel дает возможность компилировать динамические расширения
717 PHP. Пакет включает исходный код этих расширений. Вместо повторной
718 компиляции бинарного файла PHP для добавления, например, поддержки
719 oracle, установите этот пакет для компилирования отдельных расширений.
720 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
721
722 %description devel -l uk.UTF-8
723 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
724 До пакету включено вихідний код для розширень. Замість повторної
725 компіляції бінарного файлу PHP для додання, наприклад, підтримки
726 oracle, встановіть цей пакет для компіляції окремих розширень.
727 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
728
729 %package bcmath
730 Summary:        bcmath extension module for PHP
731 Summary(pl.UTF-8):      Moduł bcmath dla PHP
732 Group:          Libraries
733 URL:            http://php.net/manual/en/book.bc.php
734 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
735 Provides:       php(bcmath)
736 Obsoletes:      php-bcmath < 4:5.3.28-7
737
738 %description bcmath
739 This is a dynamic shared object (DSO) for PHP that will add bc style
740 precision math functions support.
741
742 %description bcmath -l pl.UTF-8
743 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
744 matematycznych takich jak w programie bc.
745
746 %package bz2
747 Summary:        Bzip2 extension module for PHP
748 Summary(pl.UTF-8):      Moduł bzip2 dla PHP
749 Group:          Libraries
750 URL:            http://php.net/manual/en/book.bzip2.php
751 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
752 Requires:       bzip2-libs >= 1.0.0
753 Provides:       php(bz2) = %{bz2ver}
754 Provides:       php(bzip2)
755 Provides:       php-bzip2 = %{epoch}:%{version}-%{release}
756 Obsoletes:      php-bz2 < 4:5.3.28-7
757 Obsoletes:      php-bzip2 < 4:5.2.14-3
758 Obsoletes:      php-pecl-bz2 < %{bz2ver}
759
760 %description bz2
761 This is a dynamic shared object (DSO) for PHP that will add bzip2
762 compression support to PHP.
763
764 %description bz2 -l pl.UTF-8
765 Moduł PHP umożliwiający używanie kompresji bzip2.
766
767 %package calendar
768 Summary:        Calendar extension module for PHP
769 Summary(pl.UTF-8):      Moduł funkcji kalendarza dla PHP
770 Group:          Libraries
771 URL:            http://php.net/manual/en/book.calendar.php
772 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
773 Provides:       php(calendar)
774 Obsoletes:      php-calendar < 4:5.3.28-7
775
776 %description calendar
777 This is a dynamic shared object (DSO) for PHP that will add calendar
778 support.
779
780 %description calendar -l pl.UTF-8
781 Moduł PHP dodający wsparcie dla kalendarza.
782
783 %package ctype
784 Summary:        ctype extension module for PHP
785 Summary(pl.UTF-8):      Moduł ctype dla PHP
786 Group:          Libraries
787 URL:            http://php.net/manual/en/book.ctype.php
788 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
789 Provides:       php(ctype)
790 Obsoletes:      php-ctype < 4:5.3.28-7
791
792 %description ctype
793 This is a dynamic shared object (DSO) for PHP that will add ctype
794 support.
795
796 %description ctype -l pl.UTF-8
797 Moduł PHP umożliwiający korzystanie z funkcji ctype.
798
799 %package curl
800 Summary:        curl extension module for PHP
801 Summary(pl.UTF-8):      Moduł curl dla PHP
802 Group:          Libraries
803 URL:            http://php.net/manual/en/book.curl.php
804 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
805 Requires:       curl-libs >= 7.12.0
806 Provides:       php(curl)
807 Obsoletes:      php-curl < 4:5.3.28-7
808
809 %description curl
810 This is a dynamic shared object (DSO) for PHP that will add curl
811 support.
812
813 %description curl -l pl.UTF-8
814 Moduł PHP umożliwiający korzystanie z biblioteki curl.
815
816 %package dba
817 Summary:        DBA extension module for PHP
818 Summary(pl.UTF-8):      Moduł DBA dla PHP
819 Group:          Libraries
820 URL:            http://php.net/manual/en/book.dba.php
821 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
822 Provides:       php(dba)
823 Obsoletes:      php-dba < 4:5.3.28-7
824 # withdrawn module of similar functionality but different API
825 Obsoletes:      php-db < 3:5.0.0
826
827 %description dba
828 This is a dynamic shared object (DSO) for PHP that will add flat-file
829 databases (DBA) support.
830
831 %description dba -l pl.UTF-8
832 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
833 (DBA).
834
835 %package dom
836 Summary:        DOM extension module for PHP
837 Summary(pl.UTF-8):      Moduł DOM dla PHP
838 Group:          Libraries
839 URL:            http://php.net/manual/en/book.dom.php
840 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
841 Provides:       php(dom)
842 # it has some compatibility functions
843 Provides:       %{name}-domxml = %{epoch}:%{version}-%{release}
844 Provides:       php(domxml)
845 Obsoletes:      php-dom < 4:5.3.28-7
846 Obsoletes:      php-domxml <= 3:4.3.8-1
847
848 %description dom
849 This is a dynamic shared object (DSO) for PHP that will add new DOM
850 support.
851
852 %description dom -l pl.UTF-8
853 Moduł PHP dodający nową obsługę DOM.
854
855 %package enchant
856 Summary:        libenchant binder
857 Summary(pl.UTF-8):      dowiązania biblioteki libenchant
858 Group:          Libraries
859 URL:            http://php.net/manual/en/book.enchant.php
860 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
861 Provides:       php(enchant) = %{enchantver}
862 Obsoletes:      php-enchant < 4:5.3.28-7
863 Obsoletes:      php-pecl-enchant < %{enchantver}
864
865 %description enchant
866 Enchant is a binder for libenchant. Libenchant provides a common API
867 for many spell libraries:
868 - aspell/pspell (intended to replace ispell)
869 - hspell (hebrew)
870 - ispell
871 - myspell (OpenOffice.org project, mozilla)
872 - uspell (primarily Yiddish, Hebrew, and Eastern European languages) A
873   plugin system allows to add custom spell support.
874
875 %description enchant -l pl.UTF-8
876 Enchant jest dowiązaniem do biblioteki libenchant, która udostępnia
877 ujednolicone API dla wielu narzędzi sprawdzających pisownię:
878 - aspell/pspell (w zamierzeniu ma zastąpić ispell)
879 - hspell (hebrajski)
880 - ispell
881 - myspell (projekt OpenOffice.org, mozilla)
882 - uspell (głównie Jidysz, Hebrajski oraz języki wschodnioeuropejskie)
883   System wtyczek pozwala na dodanie wsparcia dla kolejnych narzędzi.
884
885 %package exif
886 Summary:        exif extension module for PHP
887 Summary(pl.UTF-8):      Moduł exif dla PHP
888 Group:          Libraries
889 URL:            http://php.net/manual/en/book.exif.php
890 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
891 Provides:       php(exif)
892 Obsoletes:      php-exif < 4:5.3.28-7
893
894 %description exif
895 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
896 support in image files.
897
898 %description exif -l pl.UTF-8
899 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
900
901 %package fileinfo
902 Summary:        libmagic bindings
903 Summary(pl.UTF-8):      Wiązania do libmagic
904 Group:          Libraries
905 URL:            http://php.net/manual/en/book.fileinfo.php
906 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
907 Requires:       %{name}-pcre = %{epoch}:%{version}-%{release}
908 Provides:       php(fileinfo) = %{fileinfover}
909 Obsoletes:      php-fileinfo < 4:5.3.28-7
910 Obsoletes:      php-mime_magic
911 Obsoletes:      php-pecl-fileinfo < %{fileinfover}
912
913 %description fileinfo
914 This extension allows retrieval of information regarding vast majority
915 of file. This information may include dimensions, quality, length
916 etc...
917
918 Additionally it can also be used to retrieve the MIME type for a
919 particular file and for text files proper language encoding.
920
921 %description fileinfo -l pl.UTF-8
922 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
923 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
924
925 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
926 pliku oraz kodowania plików tekstowych.
927
928 %package filter
929 Summary:        Extension for safely dealing with input parameters
930 Summary(pl.UTF-8):      Rozszerzenie do bezpiecznej obsługi danych wejściowych
931 Group:          Libraries
932 URL:            http://php.net/manual/en/book.filter.php
933 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
934 Requires:       %{name}-pcre = %{epoch}:%{version}-%{release}
935 Provides:       php(filter)
936 Obsoletes:      php-filter < 4:5.3.28-7
937 Obsoletes:      php-pecl-filter < 0.12
938
939 %description filter
940 We all know that you should always check input variables, but PHP does
941 not offer really good functionality for doing this in a safe way. The
942 Input Filter extension is meant to address this issue by implementing
943 a set of filters and mechanisms that users can use to safely access
944 their input data.
945
946 %description filter -l pl.UTF-8
947 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
948 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
949 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
950 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
951 mogą bezpiecznie używać do dostępu do danych.
952
953 %package ftp
954 Summary:        FTP extension module for PHP
955 Summary(pl.UTF-8):      Moduł FTP dla PHP
956 Group:          Libraries
957 URL:            http://php.net/manual/en/book.ftp.php
958 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
959 Provides:       php(ftp)
960 Obsoletes:      php-ftp < 4:5.3.28-7
961
962 %description ftp
963 This is a dynamic shared object (DSO) for PHP that will add FTP
964 support.
965
966 %description ftp -l pl.UTF-8
967 Moduł PHP dodający obsługę protokołu FTP.
968
969 %package gd
970 Summary:        GD extension module for PHP
971 Summary(pl.UTF-8):      Moduł GD dla PHP
972 Group:          Libraries
973 URL:            http://php.net/manual/en/book.image.php
974 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
975 %if %{with system_gd}
976 Requires:       gd >= 2.1
977 Requires:       gd(gif)
978 %endif
979 Provides:       php(gd)
980 Obsoletes:      php-gd < 4:5.3.28-7
981
982 %description gd
983 This is a dynamic shared object (DSO) for PHP that will add GD
984 support, allowing you to create and manipulate images with PHP.
985
986 %description gd -l pl.UTF-8
987 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
988 tworzenie i obróbkę obrazków.
989
990 %package gettext
991 Summary:        gettext extension module for PHP
992 Summary(pl.UTF-8):      Moduł gettext dla PHP
993 Group:          Libraries
994 URL:            http://php.net/manual/en/book.gettext.php
995 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
996 Provides:       php(gettext)
997 Obsoletes:      php-gettext < 4:5.3.28-7
998
999 %description gettext
1000 This is a dynamic shared object (DSO) for PHP that will add gettext
1001 support.
1002
1003 %description gettext -l pl.UTF-8
1004 Moduł PHP dodający obsługę lokalizacji przez gettext.
1005
1006 %package gmp
1007 Summary:        gmp extension module for PHP
1008 Summary(pl.UTF-8):      Moduł gmp dla PHP
1009 Group:          Libraries
1010 URL:            http://php.net/manual/en/book.gmp.php
1011 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1012 Requires:       gmp >= 4.1.2
1013 Provides:       php(gmp)
1014 Obsoletes:      php-gmp < 4:5.3.28-7
1015
1016 %description gmp
1017 This is a dynamic shared object (DSO) for PHP that will add arbitrary
1018 length number support with GNU MP library.
1019
1020 %description gmp -l pl.UTF-8
1021 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
1022 liczbach o dowolnej długości.
1023
1024 %package hash
1025 Summary:        HASH Message Digest Framework
1026 Summary(pl.UTF-8):      Szkielet do obliczania skrótów wiadomości
1027 Group:          Libraries
1028 URL:            http://php.net/manual/en/book.gmp.php
1029 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1030 Provides:       php(hash) = %{hashver}
1031 %if %{with mhash}
1032 Provides:       php(mhash)
1033 Provides:       php-mhash = %{epoch}:%{version}-%{release}
1034 Obsoletes:      php-mhash < 4:5.3.0
1035 %endif
1036 Obsoletes:      php-hash < 4:5.3.28-7
1037 Obsoletes:      php-pecl-hash < %{hashver}
1038
1039 %description hash
1040 Native implementations of common message digest algorithms using a
1041 generic factory method.
1042
1043 %description hash -l pl.UTF-8
1044 Natywne implementacje popularnych algorytmów obliczania skrótów
1045 wiadomości przy użyciu wspólnego interfejsu.
1046
1047 %package iconv
1048 Summary:        iconv extension module for PHP
1049 Summary(pl.UTF-8):      Moduł iconv dla PHP
1050 Group:          Libraries
1051 URL:            http://php.net/manual/en/book.iconv.php
1052 Requires:       %{_libdir}/gconv
1053 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1054 Requires:       iconv
1055 Provides:       php(iconv)
1056 Obsoletes:      php-iconv < 4:5.3.28-7
1057
1058 %description iconv
1059 This is a dynamic shared object (DSO) for PHP that will add iconv
1060 support.
1061
1062 %description iconv -l pl.UTF-8
1063 Moduł PHP dodający obsługę iconv.
1064
1065 %package imap
1066 Summary:        IMAP extension module for PHP
1067 Summary(pl.UTF-8):      Moduł IMAP dla PHP
1068 Summary(pt_BR.UTF-8):   Um módulo para aplicações PHP que usam IMAP
1069 Group:          Libraries
1070 URL:            http://php.net/manual/en/book.imap.php
1071 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1072 Requires:       %{name}-pcre = %{epoch}:%{version}-%{release}
1073 Requires:       imap-lib >= 1:2007e-2
1074 Provides:       php(imap)
1075 Obsoletes:      php-imap < 4:5.3.28-7
1076
1077 %description imap
1078 This is a dynamic shared object (DSO) for PHP that will add IMAP
1079 support.
1080
1081 %description imap -l pl.UTF-8
1082 Moduł PHP dodający obsługę skrzynek IMAP.
1083
1084 %description imap -l pt_BR.UTF-8
1085 Um módulo para aplicações PHP que usam IMAP.
1086
1087 %package interbase
1088 Summary:        InterBase/Firebird database module for PHP
1089 Summary(pl.UTF-8):      Moduł bazy danych InterBase/Firebird dla PHP
1090 Group:          Libraries
1091 URL:            http://php.net/manual/en/book.ibase.php
1092 %if %{with interbase_inst}
1093 %{?requires_php_extension}
1094 %else
1095 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1096 %endif
1097 Provides:       php(interbase)
1098 Obsoletes:      php-interbase < 4:5.3.28-7
1099
1100 %description interbase
1101 This is a dynamic shared object (DSO) for PHP that will add InterBase
1102 and Firebird database support.
1103
1104 %description interbase -l pl.UTF-8
1105 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
1106
1107 %package intl
1108 Summary:        Internationalization extension (ICU wrapper)
1109 Summary(pl.UTF-8):      Rozszerzenie do internacjonalizacji (interfejs do ICU)
1110 Group:          Libraries
1111 URL:            http://php.net/intl
1112 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1113 Provides:       php(intl) = %{intlver}
1114 Obsoletes:      php-intl < 4:5.3.28-7
1115 Obsoletes:      php-pecl-intl < %{intlver}
1116
1117 %description intl
1118 Internationalization extension (further is referred as Intl) is a
1119 wrapper for ICU library, enabling PHP programmers to perform
1120 UCA-conformant collation and date/time/number/currency formatting in
1121 their scripts.
1122
1123 %description intl -l pl.UTF-8
1124 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
1125 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
1126 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
1127 daty/czasu/walut.
1128
1129 %package json
1130 Summary:        PHP C extension for JSON serialization
1131 Summary(pl.UTF-8):      Rozszerzenie C PHP dla serializacji JSON
1132 Group:          Libraries
1133 URL:            http://php.net/manual/en/book.json.php
1134 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1135 Provides:       php(json) = %{jsonver}
1136 Obsoletes:      php-json < 4:5.3.28-7
1137 Obsoletes:      php-pecl-json < %{jsonver}
1138
1139 %description json
1140 php-json is an extremely fast PHP C extension for JSON (JavaScript
1141 Object Notation) serialisation.
1142
1143 %description json -l pl.UTF-8
1144 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
1145 (JavaScript Object Notation).
1146
1147 %package ldap
1148 Summary:        LDAP extension module for PHP
1149 Summary(pl.UTF-8):      Moduł LDAP dla PHP
1150 Summary(pt_BR.UTF-8):   Um módulo para aplicações PHP que usam LDAP
1151 Group:          Libraries
1152 URL:            http://php.net/manual/en/book.ldap.php
1153 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1154 Provides:       php(ldap)
1155 Obsoletes:      php-ldap < 4:5.3.28-7
1156
1157 %description ldap
1158 This is a dynamic shared object (DSO) for PHP that will add LDAP
1159 support.
1160
1161 %description ldap -l pl.UTF-8
1162 Moduł PHP dodający obsługę LDAP.
1163
1164 %description ldap -l pt_BR.UTF-8
1165 Um módulo para aplicações PHP que usam LDAP.
1166
1167 %package mbstring
1168 Summary:        mbstring extension module for PHP
1169 Summary(pl.UTF-8):      Moduł mbstring dla PHP
1170 Group:          Libraries
1171 URL:            http://php.net/manual/en/book.mbstring.php
1172 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1173 Provides:       php(mbstring)
1174 Obsoletes:      php-mbstring < 4:5.3.28-7
1175
1176 %description mbstring
1177 This is a dynamic shared object (DSO) for PHP that will add multibyte
1178 string support.
1179
1180 %description mbstring -l pl.UTF-8
1181 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1182
1183 %package mcrypt
1184 Summary:        mcrypt extension module for PHP
1185 Summary(pl.UTF-8):      Moduł mcrypt dla PHP
1186 Group:          Libraries
1187 URL:            http://php.net/manual/en/book.mcrypt.php
1188 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1189 Requires:       libmcrypt >= 2.5.6
1190 Provides:       php(mcrypt)
1191 Obsoletes:      php-mcrypt < 4:5.3.28-7
1192
1193 %description mcrypt
1194 This is a dynamic shared object (DSO) for PHP that will add mcrypt
1195 support.
1196
1197 %description mcrypt -l pl.UTF-8
1198 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
1199
1200 %package mssql
1201 Summary:        MS SQL extension module for PHP
1202 Summary(pl.UTF-8):      Moduł MS SQL dla PHP
1203 Group:          Libraries
1204 URL:            http://www.php.net/manual/en/book.mssql.php
1205 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1206 Provides:       php(mssql)
1207 Obsoletes:      php-mssql < 4:5.3.28-7
1208
1209 %description mssql
1210 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1211 databases support through FreeTDS library.
1212
1213 %description mssql -l pl.UTF-8
1214 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
1215 FreeTDS.
1216
1217 %package mysql
1218 Summary:        MySQL database module for PHP
1219 Summary(pl.UTF-8):      Moduł bazy danych MySQL dla PHP
1220 Summary(pt_BR.UTF-8):   Um módulo para aplicações PHP que usam bancos de dados MySQL
1221 Group:          Libraries
1222 URL:            http://www.php.net/manual/en/book.mysql.php
1223 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1224 %{?with_mysqlnd:Requires:       %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1225 Provides:       php(mysql)
1226 Obsoletes:      php-mysql < 4:5.3.28-7
1227
1228 %description mysql
1229 This is a dynamic shared object (DSO) for PHP that will add MySQL
1230 database support.
1231
1232 %description mysql -l pl.UTF-8
1233 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
1234
1235 %description mysql -l pt_BR.UTF-8
1236 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1237
1238 %package mysqli
1239 Summary:        MySQLi module for PHP
1240 Summary(pl.UTF-8):      Moduł MySQLi dla PHP
1241 Group:          Libraries
1242 URL:            http://php.net/manual/en/book.mysqli.php
1243 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1244 %{?with_mysqlnd:Requires:       %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1245 Requires:       %{name}-spl = %{epoch}:%{version}-%{release}
1246 Provides:       php(mysqli)
1247 Obsoletes:      php-mysqli < 4:5.3.28-7
1248
1249 %description mysqli
1250 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1251 (Improved MySQL) support. The difference between it and mysql module
1252 is that it provides access to functionality of MySQL 4.1 and above.
1253
1254 %description mysqli -l pl.UTF-8
1255 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1256 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1257 MySQL w wersji 4.1 i nowszych.
1258
1259 %package mysqlnd
1260 Summary:        MySQL Native Client Driver for PHP
1261 Summary(pl.UTF-8):      Sterownik natywnego klienta MySQL dla PHP
1262 Group:          Libraries
1263 URL:            http://php.net/manual/en/book.mysqlnd.php
1264 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1265 Provides:       php(mysqlnd)
1266 Obsoletes:      php-mysqlnd < 4:5.3.28-7
1267
1268 %description mysqlnd
1269 MySQL Native Driver is a replacement for the MySQL Client Library
1270 (libmysql).
1271
1272 Because MySQL Native Driver is written as a PHP extension, it is
1273 tightly coupled to the workings of PHP. This leads to gains in
1274 efficiency, especially when it comes to memory usage, as the driver
1275 uses the PHP memory management system. It also supports the PHP memory
1276 limit. Using MySQL Native Driver leads to comparable or better
1277 performance than using MySQL Client Library, it always ensures the
1278 most efficient use of memory. One example of the memory efficiency is
1279 the fact that when using the MySQL Client Library, each row is stored
1280 in memory twice, whereas with the MySQL Native Driver each row is only
1281 stored once in memory.
1282
1283 %description mysqlnd -l pl.UTF-8
1284 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1285 klienckiej MySQL (libmysql).
1286
1287 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1288 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1289 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1290 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1291 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1292 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1293 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1294 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1295 tym sterowniku - tylko raz.
1296
1297 %package oci8
1298 Summary:        Oracle 8+ database module for PHP
1299 Summary(pl.UTF-8):      Moduł bazy danych Oracle 8+ dla PHP
1300 Group:          Libraries
1301 URL:            http://php.net/manual/en/book.oci8.php
1302 %{?requires_php_extension}
1303 Provides:       php(oci8)
1304 Obsoletes:      php-oci8 < 4:5.3.28-7
1305 # withdrawn module of similar functionality but different API
1306 Obsoletes:      php-oracle < 4:5.1.0
1307
1308 %description oci8
1309 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1310 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1311
1312 %description oci8 -l pl.UTF-8
1313 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1314 poprzez interfejs Oracle8 Call-Interface (OCI8).
1315
1316 %package odbc
1317 Summary:        ODBC extension module for PHP
1318 Summary(pl.UTF-8):      Moduł ODBC dla PHP
1319 Summary(pt_BR.UTF-8):   Um módulo para aplicações PHP que usam bases de dados ODBC
1320 Group:          Libraries
1321 URL:            http://php.net/manual/en/book.uodbc.php
1322 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1323 Requires:       unixODBC >= 2.1.1-3
1324 Provides:       php(odbc)
1325 Obsoletes:      php-odbc < 4:5.3.28-7
1326
1327 %description odbc
1328 This is a dynamic shared object (DSO) for PHP that will add ODBC
1329 support.
1330
1331 %description odbc -l pl.UTF-8
1332 Moduł PHP ze wsparciem dla ODBC.
1333
1334 %description odbc -l pt_BR.UTF-8
1335 Um módulo para aplicações PHP que usam ODBC.
1336
1337 %package opcache
1338 Summary:        Zend Optimizer+ - PHP code optimizer
1339 Summary(pl.UTF-8):      Zend Optimizer+ - optymalizator kodu PHP
1340 Group:          Libraries
1341 URL:            https://wiki.php.net/rfc/optimizerplus
1342 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1343 Provides:       php(opcache) = %{opcachever}
1344
1345 %description opcache
1346 The Zend OPcache provides faster PHP execution through opcode caching
1347 and optimization. It improves PHP performance by storing precompiled
1348 script bytecode in the shared memory. This eliminates the stages of
1349 reading code from the disk and compiling it on future access. In
1350 addition, it applies a few bytecode optimization patterns that make
1351 code execution faster.
1352
1353 %description opcache -l pl.UTF-8
1354 Zend OPcache zapewnia szybsze wykonywanie kodu PHP dzięki buforowaniu
1355 i optymalizacji na poziomie opcode'ów. Poprawia wydajność PHP
1356 przechowując prekompilowany bajtkod skryptu w pamięci współdzielonej.
1357 Eliminuje etapy odczytu kodu z dysku i kompilacji przy późniejszym
1358 dostępie. Ponadto wykonuje kilka wzorców optymalizacji bajtkodu,
1359 czyniąc wykonywanie kodu szybszym.
1360
1361 %package openssl
1362 Summary:        OpenSSL extension module for PHP
1363 Summary(pl.UTF-8):      Moduł OpenSSL dla PHP
1364 Group:          Libraries
1365 URL:            http://php.net/manual/en/book.openssl.php
1366 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1367 Provides:       php(openssl)
1368 Obsoletes:      php-openssl < 4:5.3.28-7
1369
1370 %description openssl
1371 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1372 support.
1373
1374 %description openssl -l pl.UTF-8
1375 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1376
1377 %package pcntl
1378 Summary:        Process Control extension module for PHP
1379 Summary(pl.UTF-8):      Moduł Process Control dla PHP
1380 Group:          Libraries
1381 URL:            http://php.net/manual/en/book.pcntl.php
1382 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1383 Provides:       php(pcntl)
1384 Obsoletes:      php-pcntl < 4:5.3.28-7
1385
1386 %description pcntl
1387 This is a dynamic shared object (DSO) for PHP that will add process
1388 spawning and control support. It supports functions like fork(),
1389 waitpid(), signal() etc.
1390
1391 %description pcntl -l pl.UTF-8
1392 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1393 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1394
1395 %package pcre
1396 Summary:        PCRE extension module for PHP
1397 Summary(pl.UTF-8):      Moduł PCRE dla PHP
1398 Group:          Libraries
1399 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1400 Provides:       php(pcre)
1401 Obsoletes:      php-pcre < 4:5.3.28-7
1402
1403 %description pcre
1404 This is a dynamic shared object (DSO) for PHP that will add Perl
1405 Compatible Regular Expression support.
1406
1407 %description pcre -l pl.UTF-8
1408 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1409 (Perl Compatible Regular Expressions)
1410
1411 %package pdo
1412 Summary:        PHP Data Objects (PDO)
1413 Summary(pl.UTF-8):      Obsługa PHP Data Objects (PDO)
1414 Group:          Libraries
1415 URL:            http://php.net/manual/en/book.pdo.php
1416 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1417 Requires:       %{name}-spl = %{epoch}:%{version}-%{release}
1418 Provides:       %{name}(PDO_API) = %{php_pdo_api_version}
1419 Provides:       php(pdo)
1420 Obsoletes:      php-pdo < 4:5.3.28-7
1421 Obsoletes:      php-pecl-PDO < 1.1
1422
1423 %description pdo
1424 This is a dynamic shared object (DSO) for PHP that will add PDO
1425 support.
1426
1427 %description pdo -l pl.UTF-8
1428 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1429
1430 %package pdo-dblib
1431 Summary:        PHP Data Objects (PDO) FreeTDS support
1432 Summary(pl.UTF-8):      Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1433 Group:          Libraries
1434 URL:            http://php.net/manual/en/ref.pdo-dblib.php
1435 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1436 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1437 Provides:       php(pdo_dblib)
1438 Obsoletes:      php-pdo-dblib < 4:5.3.28-7
1439
1440 %description pdo-dblib
1441 This is a dynamic shared object (DSO) for PHP that will add PDO
1442 FreeTDS support.
1443
1444 %description pdo-dblib -l pl.UTF-8
1445 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1446 interfejsu PDO.
1447
1448 %package pdo-firebird
1449 Summary:        PHP Data Objects (PDO) Firebird support
1450 Summary(pl.UTF-8):      Moduł PHP Data Objects (PDO) z obsługą Firebirda
1451 Group:          Libraries
1452 URL:            http://php.net/manual/en/ref.pdo-firebird.php
1453 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1454 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1455 Provides:       php(pdo-firebird)
1456 Provides:       php(pdo_firebird)
1457 Obsoletes:      php-pdo-firebird < 4:5.3.28-7
1458 Obsoletes:      php-pecl-PDO_FIREBIRD < 0.3
1459
1460 %description pdo-firebird
1461 This is a dynamic shared object (DSO) for PHP that will add PDO
1462 Firebird support.
1463
1464 %description pdo-firebird -l pl.UTF-8
1465 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1466 interfejsu PDO.
1467
1468 %package pdo-mysql
1469 Summary:        PHP Data Objects (PDO) MySQL support
1470 Summary(pl.UTF-8):      Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1471 Group:          Libraries
1472 URL:            http://php.net/manual/en/ref.pdo-mysql.php
1473 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1474 %{?with_mysqlnd:Requires:       %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1475 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1476 Provides:       php(pdo-mysql)
1477 Provides:       php(pdo_mysql)
1478 Obsoletes:      php-pdo-mysql < 4:5.3.28-7
1479 Obsoletes:      php-pecl-PDO_MYSQL < 1.1
1480
1481 %description pdo-mysql
1482 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1483 support.
1484
1485 %description pdo-mysql -l pl.UTF-8
1486 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1487 interfejsu PDO.
1488
1489 %package pdo-oci
1490 Summary:        PHP Data Objects (PDO) Oracle support
1491 Summary(pl.UTF-8):      Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1492 Group:          Libraries
1493 URL:            http://php.net/manual/en/ref.pdo-oci.php
1494 %{?requires_php_extension}
1495 %{?requires_php_pdo_module}
1496 Provides:       php(pdo-oci)
1497 Provides:       php(pdo_oci)
1498 Obsoletes:      php-pdo-oci < 4:5.3.28-7
1499 Obsoletes:      php-pecl-PDO_OCI < 1.1
1500
1501 %description pdo-oci
1502 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1503 support.
1504
1505 %description pdo-oci -l pl.UTF-8
1506 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1507 interfejsu PDO.
1508
1509 %package pdo-odbc
1510 Summary:        PHP Data Objects (PDO) ODBC support
1511 Summary(pl.UTF-8):      Moduł PHP Data Objects (PDO) z obsługą ODBC
1512 Group:          Libraries
1513 URL:            http://php.net/manual/en/ref.pdo-odbc.php
1514 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1515 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1516 Provides:       php(pdo-odbc)
1517 Provides:       php(pdo_odbc)
1518 Obsoletes:      php-pdo-odbc < 4:5.3.28-7
1519 Obsoletes:      php-pecl-PDO_ODBC < 1.1
1520
1521 %description pdo-odbc
1522 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1523 support.
1524
1525 %description pdo-odbc -l pl.UTF-8
1526 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1527 interfejsu PDO.
1528
1529 %package pdo-pgsql
1530 Summary:        PHP Data Objects (PDO) PostgreSQL support
1531 Summary(pl.UTF-8):      Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1532 Group:          Libraries
1533 URL:            http://php.net/manual/en/ref.pdo-pgsql.php
1534 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1535 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1536 Provides:       php(pdo-pgsql)
1537 Provides:       php(pdo_pgsql)
1538 Obsoletes:      php-pdo-pgsql < 4:5.3.28-7
1539 Obsoletes:      php-pecl-PDO_PGSQL < 4:5.2.1-2
1540
1541 %description pdo-pgsql
1542 This is a dynamic shared object (DSO) for PHP that will add PDO
1543 PostgreSQL support.
1544
1545 %description pdo-pgsql -l pl.UTF-8
1546 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1547 interfejsu PDO.
1548
1549 %package pdo-sqlite
1550 Summary:        PHP Data Objects (PDO) SQLite support
1551 Summary(pl.UTF-8):      Moduł PHP Data Objects (PDO) z obsługą SQLite
1552 Group:          Libraries
1553 URL:            http://php.net/manual/en/ref.pdo-sqlite.php
1554 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1555 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1556 Provides:       php(pdo-sqlite)
1557 Provides:       php(pdo_sqlite)
1558 Obsoletes:      php-pdo-sqlite < 4:5.3.28-7
1559 Obsoletes:      php-pecl-PDO_SQLITE < 1.1
1560
1561 %description pdo-sqlite
1562 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1563 support.
1564
1565 %description pdo-sqlite -l pl.UTF-8
1566 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1567 interfejsu PDO.
1568
1569 %package pgsql
1570 Summary:        PostgreSQL database module for PHP
1571 Summary(pl.UTF-8):      Moduł bazy danych PostgreSQL dla PHP
1572 Group:          Libraries
1573 URL:            http://php.net/manual/en/book.pgsql.php
1574 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1575 Provides:       php(pgsql)
1576 Obsoletes:      php-pgsql < 4:5.3.28-7
1577
1578 %description pgsql
1579 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1580 database support.
1581
1582 %description pgsql -l pl.UTF-8
1583 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1584
1585 %description pgsql -l pt_BR.UTF-8
1586 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1587
1588 %package phar
1589 Summary:        Phar archive module for PHP
1590 Summary(pl.UTF-8):      Moduł phar dla PHP
1591 Group:          Libraries
1592 URL:            http://php.net/manual/en/book.phar.php
1593 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1594 Requires:       %{name}-hash = %{epoch}:%{version}-%{release}
1595 Requires:       %{name}-spl = %{epoch}:%{version}-%{release}
1596 %{?with_alternatives:Requires:  alternatives}
1597 Suggests:       %{name}-cli
1598 # zlib is required by phar program, but as phar cli is optional should the dep be too
1599 Suggests:       %{name}-zlib
1600 Provides:       php(phar) = %{pharver}
1601 Obsoletes:      php-pecl-phar < %{pharver}
1602 Obsoletes:      php-phar < 4:5.3.28-7
1603 Conflicts:      php-ioncube < 4.0.9
1604
1605 %description phar
1606 This is a dynamic shared object (DSO) for PHP that will add phar
1607 archive a support.
1608
1609 %description phar -l pl.UTF-8
1610 Moduł PHP umożliwiający dostęp do achiwów .phar.
1611
1612 %package posix
1613 Summary:        POSIX extension module for PHP
1614 Summary(pl.UTF-8):      Moduł POSIX dla PHP
1615 Group:          Libraries
1616 URL:            http://php.net/manual/en/book.posix.php
1617 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1618 Provides:       php(posix)
1619 Obsoletes:      php-posix < 4:5.3.28-7
1620
1621 %description posix
1622 This is a dynamic shared object (DSO) for PHP that will add POSIX
1623 functions support to PHP.
1624
1625 %description posix -l pl.UTF-8
1626 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1627
1628 %package pspell
1629 Summary:        pspell extension module for PHP
1630 Summary(pl.UTF-8):      Moduł pspell dla PHP
1631 Group:          Libraries
1632 URL:            http://php.net/manual/en/book.pspell.php
1633 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1634 Provides:       php(pspell)
1635 Obsoletes:      php-pspell < 4:5.3.28-7
1636
1637 %description pspell
1638 This is a dynamic shared object (DSO) for PHP that will add pspell
1639 support to PHP. It allows to check the spelling of a word and offer
1640 suggestions.
1641
1642 %description pspell -l pl.UTF-8
1643 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1644 sprawdzanie pisowni słowa i sugerowanie poprawek.
1645
1646 %package readline
1647 Summary:        readline extension module for PHP
1648 Summary(pl.UTF-8):      Moduł readline dla PHP
1649 Group:          Libraries
1650 URL:            http://php.net/manual/en/book.readline.php
1651 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
1652 Provides:       php(readline)
1653 Obsoletes:      php-readline < 4:5.3.28-7
1654
1655 %description readline
1656 This PHP module adds support for readline functions (only for cli and
1657 cgi SAPIs).
1658
1659 %description readline -l pl.UTF-8
1660 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1661
1662 %package recode
1663 Summary:        recode extension module for PHP
1664 Summary(pl.UTF-8):      Moduł recode dla PHP
1665 Group:          Libraries
1666 URL:            http://php.net/manual/en/book.recode.php
1667 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1668 Requires:       recode >= 3.5d-3
1669 Provides:       php(recode)
1670 Obsoletes:      php-recode < 4:5.3.28-7
1671
1672 %description recode
1673 This is a dynamic shared object (DSO) for PHP that will add recode
1674 support.
1675
1676 %description recode -l pl.UTF-8
1677 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1678 bibliotekę recode).
1679
1680 %package session
1681 Summary:        session extension module for PHP
1682 Summary(pl.UTF-8):      Moduł session dla PHP
1683 Group:          Libraries
1684 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1685 Requires:       %{name}-spl = %{epoch}:%{version}-%{release}
1686 Suggests:       %{name}-hash = %{epoch}:%{version}-%{release}
1687 Suggests:       tmpwatch
1688 Provides:       php(session)
1689 Obsoletes:      php-session < 4:5.3.28-7
1690
1691 %description session
1692 This is a dynamic shared object (DSO) for PHP that will add session
1693 support.
1694
1695 %description session -l pl.UTF-8
1696 Moduł PHP dodający obsługę sesji.
1697
1698 %package shmop
1699 Summary:        Shared Memory Operations extension module for PHP
1700 Summary(pl.UTF-8):      Moduł shmop dla PHP
1701 Group:          Libraries
1702 URL:            http://php.net/manual/en/book.shmop.php
1703 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1704 Provides:       php(shmop)
1705 Obsoletes:      php-shmop < 4:5.3.28-7
1706
1707 %description shmop
1708 This is a dynamic shared object (DSO) for PHP that will add Shared
1709 Memory Operations support.
1710
1711 %description shmop -l pl.UTF-8
1712 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1713
1714 %package simplexml
1715 Summary:        Simple XML extension module for PHP
1716 Summary(pl.UTF-8):      Moduł prostego rozszerzenia XML dla PHP
1717 Group:          Libraries
1718 URL:            http://php.net/manual/en/book.simplexml.php
1719 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1720 Requires:       %{name}-spl = %{epoch}:%{version}-%{release}
1721 Provides:       php(simplexml)
1722 Obsoletes:      php-simplexml < 4:5.3.28-7
1723
1724 %description simplexml
1725 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1726 support.
1727
1728 %description simplexml -l pl.UTF-8
1729 Moduł PHP dodający obsługę prostego XML-a.
1730
1731 %package snmp
1732 Summary:        SNMP extension module for PHP
1733 Summary(pl.UTF-8):      Moduł SNMP dla PHP
1734 Group:          Libraries
1735 URL:            http://php.net/manual/en/book.snmp.php
1736 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1737 Requires:       %{name}-sockets = %{epoch}:%{version}-%{release}
1738 Requires:       %{name}-spl = %{epoch}:%{version}-%{release}
1739 Provides:       php(snmp)
1740 Obsoletes:      php-snmp < 4:5.3.28-7
1741
1742 %description snmp
1743 This is a dynamic shared object (DSO) for PHP that will add SNMP
1744 support.
1745
1746 %description snmp -l pl.UTF-8
1747 Moduł PHP dodający obsługę SNMP.
1748
1749 %package soap
1750 Summary:        soap extension module for PHP
1751 Summary(pl.UTF-8):      Moduł soap dla PHP
1752 Group:          Libraries
1753 URL:            http://php.net/manual/en/book.soap.php
1754 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1755 Provides:       php(soap)
1756 Obsoletes:      php-soap < 4:5.3.28-7
1757
1758 %description soap
1759 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1760 support.
1761
1762 %description soap -l pl.UTF-8
1763 Moduł PHP dodający obsługę SOAP/WSDL.
1764
1765 %package sockets
1766 Summary:        sockets extension module for PHP
1767 Summary(pl.UTF-8):      Moduł socket dla PHP
1768 Group:          Libraries
1769 URL:            http://php.net/manual/en/book.sockets.php
1770 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1771 Provides:       php(sockets)
1772 Obsoletes:      php-sockets < 4:5.3.28-7
1773
1774 %description sockets
1775 This is a dynamic shared object (DSO) for PHP that will add sockets
1776 support.
1777
1778 %description sockets -l pl.UTF-8
1779 Moduł PHP dodający obsługę gniazdek.
1780
1781 %package spl
1782 Summary:        Standard PHP Library module for PHP
1783 Summary(pl.UTF-8):      Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1784 Group:          Libraries
1785 URL:            http://php.net/manual/en/book.spl.php
1786 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1787 Requires:       %{name}-pcre = %{epoch}:%{version}-%{release}
1788 Requires:       %{name}-simplexml = %{epoch}:%{version}-%{release}
1789 Provides:       php(spl)
1790 Obsoletes:      php-spl < 4:5.3.28-7
1791
1792 %description spl
1793 This is a dynamic shared object (DSO) for PHP that will add Standard
1794 PHP Library support.
1795
1796 %description spl -l pl.UTF-8
1797 Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1798
1799 %package sqlite3
1800 Summary:        SQLite3 extension module for PHP
1801 Summary(pl.UTF-8):      Moduł SQLite3 dla PHP
1802 Group:          Libraries
1803 URL:            http://php.net/manual/en/book.sqlite3.php
1804 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1805 Provides:       php(sqlite3) = %{sqlite3ver}
1806 Obsoletes:      php-sqlite3 < 4:5.3.28-7
1807
1808 %description sqlite3
1809 SQLite is a C library that implements an embeddable SQL database
1810 engine. Programs that link with the SQLite library can have SQL
1811 database access without running a separate RDBMS process.
1812
1813 SQLite is not a client library used to connect to a big database
1814 server. SQLite is the server. The SQLite library reads and writes
1815 directly to and from the database files on disk.
1816
1817 %description sqlite3 -l pl.UTF-8
1818 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1819 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1820 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1821 RDBMS.
1822
1823 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1824 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1825 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1826 dysku.
1827
1828 %package sybase-ct
1829 Summary:        Sybase-CT extension module for PHP
1830 Summary(pl.UTF-8):      Moduł Sybase-CT dla PHP
1831 Group:          Libraries
1832 URL:            http://www.php.net/manual/en/book.sybase.php
1833 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1834 Provides:       php(sybase-ct)
1835 Obsoletes:      php-sybase
1836 Obsoletes:      php-sybase-ct < 4:5.3.28-7
1837
1838 %description sybase-ct
1839 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1840 MS SQL databases support through CT-lib.
1841
1842 %description sybase-ct -l pl.UTF-8
1843 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1844 CT-lib.
1845
1846 %package sysvmsg
1847 Summary:        SysV msg extension module for PHP
1848 Summary(pl.UTF-8):      Moduł SysV msg dla PHP
1849 Group:          Libraries
1850 URL:            http://php.net/manual/en/book.sem.php
1851 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1852 Provides:       php(sysvmsg)
1853 Obsoletes:      php-sysvmsg < 4:5.3.28-7
1854
1855 %description sysvmsg
1856 This is a dynamic shared object (DSO) for PHP that will add SysV
1857 message queues support.
1858
1859 %description sysvmsg -l pl.UTF-8
1860 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1861
1862 %package sysvsem
1863 Summary:        SysV sem extension module for PHP
1864 Summary(pl.UTF-8):      Moduł SysV sem dla PHP
1865 Group:          Libraries
1866 URL:            http://php.net/manual/en/book.sem.php
1867 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1868 Provides:       php(sysvsem)
1869 Obsoletes:      php-sysvsem < 4:5.3.28-7
1870
1871 %description sysvsem
1872 This is a dynamic shared object (DSO) for PHP that will add SysV
1873 semaphores support.
1874
1875 %description sysvsem -l pl.UTF-8
1876 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1877
1878 %package sysvshm
1879 Summary:        SysV shm extension module for PHP
1880 Summary(pl.UTF-8):      Moduł SysV shm dla PHP
1881 Group:          Libraries
1882 URL:            http://php.net/manual/en/book.sem.php
1883 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1884 Provides:       php(sysvshm)
1885 Obsoletes:      php-sysvshm < 4:5.3.28-7
1886
1887 %description sysvshm
1888 This is a dynamic shared object (DSO) for PHP that will add SysV
1889 Shared Memory support.
1890
1891 %description sysvshm -l pl.UTF-8
1892 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1893
1894 %package tests
1895 Summary:        Contains unit test files for PHP and extensions
1896 Summary(pl.UTF-8):      Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1897 Group:          Libraries
1898 URL:            http://qa.php.net/
1899 Requires:       %{name}-cli
1900 %if "%{_rpmversion}" >= "5"
1901 BuildArch:      noarch
1902 %endif
1903
1904 %description tests
1905 This package contains unit tests for PHP and its extensions.
1906
1907 %description tests -l pl.UTF-8
1908 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1909
1910 %package tidy
1911 Summary:        Tidy extension module for PHP
1912 Summary(pl.UTF-8):      Moduł Tidy dla PHP
1913 Group:          Libraries
1914 URL:            http://php.net/manual/en/book.tidy.php
1915 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1916 Requires:       tidy
1917 Provides:       php(tidy)
1918 Obsoletes:      php-tidy < 4:5.3.28-7
1919
1920 %description tidy
1921 This is a dynamic shared object (DSO) for PHP that will add Tidy
1922 support.
1923
1924 %description tidy -l pl.UTF-8
1925 Moduł PHP umożliwiający korzystanie z tidy.
1926
1927 %package tokenizer
1928 Summary:        tokenizer extension module for PHP
1929 Summary(pl.UTF-8):      Moduł rozszerzenia tokenizer dla PHP
1930 Group:          Libraries
1931 URL:            http://php.net/manual/en/book.tokenizer.php
1932 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1933 Provides:       php(tokenizer)
1934 Obsoletes:      php-tokenizer < 4:5.3.28-7
1935
1936 %description tokenizer
1937 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1938 support.
1939
1940 %description tokenizer -l pl.UTF-8
1941 Moduł PHP dodający obsługę tokenizera do PHP.
1942
1943 %package wddx
1944 Summary:        wddx extension module for PHP
1945 Summary(pl.UTF-8):      Moduł wddx dla PHP
1946 Group:          Libraries
1947 URL:            http://php.net/manual/en/book.wddx.php
1948 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1949 # - wddx doesn't require session as it's disabled at compile time:
1950 #   if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1951 #   see also php.spec#rev1.120.2.22
1952 #Requires:      %{name}-session = %{epoch}:%{version}-%{release}
1953 Requires:       %{name}-xml = %{epoch}:%{version}-%{release}
1954 Provides:       php(wddx)
1955 Obsoletes:      php-wddx < 4:5.3.28-7
1956
1957 %description wddx
1958 This is a dynamic shared object (DSO) for PHP that will add wddx
1959 support.
1960
1961 %description wddx -l pl.UTF-8
1962 Moduł PHP umożliwiający korzystanie z wddx.
1963
1964 %package xml
1965 Summary:        XML extension module for PHP
1966 Summary(pl.UTF-8):      Moduł XML dla PHP
1967 Group:          Libraries
1968 URL:            http://php.net/manual/en/book.xml.php
1969 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1970 Provides:       php(xml)
1971 Obsoletes:      php-xml < 4:5.3.28-7
1972
1973 %description xml
1974 This is a dynamic shared object (DSO) for PHP that will add XML
1975 support. This extension lets you create XML parsers and then define
1976 handlers for different XML events.
1977
1978 %description xml -l pl.UTF-8
1979 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1980 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1981 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1982
1983 %package xmlreader
1984 Summary:        XML Reader extension module for PHP
1985 Summary(pl.UTF-8):      Moduł XML Reader dla PHP
1986 Group:          Libraries
1987 URL:            http://php.net/manual/en/book.xmlreader.php
1988 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1989 Requires:       %{name}-dom = %{epoch}:%{version}-%{release}
1990 Provides:       php(xmlreader)
1991 Obsoletes:      php-xmlreader < 4:5.3.28-7
1992
1993 %description xmlreader
1994 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1995 support. The XMLReader extension is an XML Pull parser. The reader
1996 acts as a cursor going forward on the document stream and stopping at
1997 each node on the way.
1998
1999 %description xmlreader -l pl.UTF-8
2000 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
2001 działa jako kursor przechodzący przez strumień dokumentu i
2002 zatrzymujący się na każdym węźle po drodze.
2003
2004 %package xmlrpc
2005 Summary:        xmlrpc extension module for PHP
2006 Summary(pl.UTF-8):      Moduł xmlrpc dla PHP
2007 Group:          Libraries
2008 URL:            http://php.net/manual/en/book.xmlrpc.php
2009 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
2010 Requires:       %{name}-xml = %{epoch}:%{version}-%{release}
2011 Provides:       php(xmlrpc)
2012 Obsoletes:      php-xmlrpc < 4:5.3.28-7
2013
2014 %description xmlrpc
2015 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
2016 support.
2017
2018 %description xmlrpc -l pl.UTF-8
2019 Moduł PHP dodający obsługę XMLRPC.
2020
2021 %package xmlwriter
2022 Summary:        Fast, non-cached, forward-only means to write XML data
2023 Summary(pl.UTF-8):      Szybka, nie cachowana metoda zapisu danych w formacie XML
2024 Group:          Libraries
2025 URL:            http://php.net/manual/en/book.xmlwriter.php
2026 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
2027 Provides:       php(xmlwriter)
2028 Obsoletes:      php-pecl-xmlwriter < 2.1
2029 Obsoletes:      php-xmlwriter < 4:5.3.28-7
2030
2031 %description xmlwriter
2032 This extension wraps the libxml xmlWriter API. Represents a writer
2033 that provides a non-cached, forward-only means of generating streams
2034 or files containing XML data.
2035
2036 %description xmlwriter -l pl.UTF-8
2037 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
2038 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
2039 plików zawierających dane XML.
2040
2041 %package xsl
2042 Summary:        xsl extension module for PHP
2043 Summary(pl.UTF-8):      Moduł xsl dla PHP
2044 Group:          Libraries
2045 URL:            http://php.net/manual/en/book.xsl.php
2046 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
2047 Requires:       %{name}-dom = %{epoch}:%{version}-%{release}
2048 Requires:       libxslt >= 1.0.18
2049 Provides:       php(xsl)
2050 Obsoletes:      php-xsl < 4:5.3.28-7
2051 # actually not true, functionality is similar, but API differs
2052 Obsoletes:      php-xslt <= 3:4.3.8-1
2053
2054 %description xsl
2055 This is a dynamic shared object (DSO) for PHP that will add new XSL
2056 support (using libxslt).
2057
2058 %description xsl -l pl.UTF-8
2059 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
2060
2061 %package zip
2062 Summary:        Zip management extension
2063 Summary(pl.UTF-8):      Zarządzanie archiwami zip
2064 Group:          Libraries
2065 URL:            http://php.net/manual/en/book.zip.php
2066 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
2067 %{?with_system_libzip:Requires: libzip >= 0.10.1-2}
2068 Provides:       php(zip) = %{zipver}
2069 Obsoletes:      php-pecl-zip < %{zipver}
2070 Obsoletes:      php-zip < 4:5.3.28-7
2071
2072 %description zip
2073 Zip is an extension to create, modify and read zip files.
2074
2075 %description zip -l pl.UTF-8
2076 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
2077 odczyt archiwów zip.
2078
2079 %package zlib
2080 Summary:        Zlib extension module for PHP
2081 Summary(pl.UTF-8):      Moduł zlib dla PHP
2082 Group:          Libraries
2083 URL:            http://php.net/manual/en/book.zlib.php
2084 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
2085 Provides:       php(zlib)
2086 Obsoletes:      php-zlib < 4:5.3.28-7
2087
2088 %description zlib
2089 This is a dynamic shared object (DSO) for PHP that will add zlib
2090 compression support to PHP.
2091
2092 %description zlib -l pl.UTF-8
2093 Moduł PHP umożliwiający używanie kompresji zlib.
2094
2095 %prep
2096 %setup -q -n %{orgname}-%{version}%{?subver}
2097 cp -p php.ini-production php.ini
2098 %patch0 -p1
2099 %patch1 -p1
2100 %patch2 -p1
2101 %patch3 -p1
2102 %patch4 -p1
2103 %patch5 -p1
2104 %patch6 -p1
2105 %patch7 -p1
2106 %{?with_milter:%patch8 -p1}
2107 %patch9 -p1
2108 %patch10 -p1
2109
2110 %patch12 -p1
2111
2112 %patch14 -p1
2113 %patch17 -p1
2114 %patch18 -p1
2115 %patch21 -p1
2116 %patch22 -p1
2117 %patch23 -p1
2118 %patch24 -p1
2119 %patch25 -p1
2120 %patch26 -p1
2121 %patch27 -p1
2122 %patch29 -p1
2123 %patch31 -p1
2124 %if "%{pld_release}" != "ac"
2125 %patch34 -p1
2126 %endif
2127 %{?with_sybase_ct:%patch35 -p1}
2128 %patch36 -p1
2129 %patch37 -p1
2130 %patch38 -p1
2131 %patch39 -p1
2132 %if %{with fpm}
2133 %if 0
2134 # create split php-fpm.conf patch. review (restore other diffs) and commit
2135 cp sapi/fpm/php-fpm.conf.in{,.orig}
2136 %{__sed} -n -e '/; Start a new pool named/,$p' sapi/fpm/php-fpm.conf.in > sapi/fpm/php-fpm.conf-d.in
2137 %{__sed} -i -e '/; Include one or more files/,/include=etc\/fpm\.d/d' sapi/fpm/php-fpm.conf.in
2138 %{__sed} -i -e '/; Start a new pool named/,$d' sapi/fpm/php-fpm.conf.in
2139 set +e
2140 cd ..
2141 diff -u %{orgname}-%{version}/sapi/fpm/php-fpm.conf.in{.orig,} > %{PATCH69}
2142 diff -u /dev/null %{orgname}-%{version}/sapi/fpm/php-fpm.conf-d.in >> %{PATCH69}
2143 exit 1
2144 %else
2145 %patch69 -p1
2146 %endif
2147 %patch41 -p1
2148 %patch42 -p1
2149 %endif
2150 %patch43 -p1
2151 %patch44 -p1
2152 #%patch45 -p1 # imap annotations. fixme
2153 #%patch46 -p1 # imap myrights. fixme
2154 %if %{with suhosin}
2155 %patch47 -p1
2156 %endif
2157 %patch50 -p1
2158 %patch51 -p1
2159 %patch52 -p1
2160 %patch53 -p1
2161 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
2162 %patch55 -p1
2163 %patch59 -p1
2164 %patch60 -p1
2165 %patch62 -p1
2166 %{?with_system_libzip:%patch65 -p1}
2167 %patch66 -p1
2168 %patch67 -p1
2169 %patch68 -p1
2170 %patch70 -p1
2171 %patch72 -p1
2172 %patch73 -p1
2173 %patch74 -p1
2174 %patch75 -p1
2175 %patch76 -p1
2176
2177 sed -E -i -e '1s,#!\s*/usr/bin/env\s+(.*),#!%{__bindir}\1,' \
2178       run-tests.php
2179
2180 %{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
2181
2182 # cleanup backups after patching
2183 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
2184
2185 # com_dotnet is Win32-only
2186 %{__rm} -r ext/com_dotnet
2187
2188 # conflict seems to be resolved by recode patches
2189 %{__rm} ext/recode/config9.m4
2190
2191 # remove all bundled libraries not to link with them accidentally
2192 %{__rm} -r ext/sqlite3/libsqlite
2193 #%{__rm} -r ext/bcmath/libbcmath
2194 #%{__rm} -r ext/date/lib
2195 #%{__rm} -r ext/fileinfo/libmagic
2196 #%{__rm} -r ext/dba/libcdb
2197 #%{__rm} -r ext/dba/libflatfile
2198 #%{__rm} -r ext/dba/libinifile
2199 #%{__rm} -r ext/gd/libgd
2200 #%{__rm} -r ext/mbstring/libmbfl
2201 #%{__rm} -r ext/mbstring/oniguruma
2202 %{__rm} -r ext/pcre/pcrelib
2203 #%{__rm} -r ext/soap/interop
2204 %{__rm} -r ext/xmlrpc/libxmlrpc
2205 #%{__rm} -r ext/zip/lib
2206 %{__rm} ext/date/lib/timezonedb.h
2207
2208 cp -pf Zend/LICENSE{,.Zend}
2209 install -p %{SOURCE13} dep-tests.sh
2210
2211 # breaks build
2212 sed -i -e 's#-fvisibility=hidden##g' configure*
2213
2214 # disable broken tests
2215 # says just "Terminated" twice and fails
2216 %{__mv} sapi/cli/tests/022.phpt{,.broken}
2217
2218 # really dumb test, executable binary name is .libs/ something when building
2219 # https://bugs.php.net/bug.php?id=54514
2220 %{__mv} tests/basic/bug54514.phpt{,.disable}
2221
2222 # breaks whole testsuite unexpectedly:
2223 # Fatal error: Call to undefined function gzencode() in run-tests.php on line 1714
2224 # probably broken as zlib is built as shared
2225 %{__mv} ext/soap/tests/server019.phpt{,disable}
2226 # Fatal error: Call to undefined function gzcompress() in run-tests.php on line 1728
2227 %{__mv} ext/soap/tests/server020.phpt{,disable}
2228
2229 # runs out of memory and kills carme vserver
2230 # PASS Bug #39438 (Fatal error: Out of memory) [Zend/tests/bug39438.phpt]
2231 %{__mv} Zend/tests/bug39438.phpt{,.disable}
2232
2233 # php-5.3.3/ext/standard/tests/file/statpage.phpt
2234 %{__rm} ext/standard/tests/file/statpage.phpt
2235
2236 # idiotic test, it will fail if somebody else makes space on disk or if disk
2237 # space is not yet allocated (xfs). report upstream to advice bogus test is
2238 # probably pointless.
2239 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
2240
2241 %ifarch %{x8664}
2242 # all pdo_sqlite, sqlite3 tests die with Aborted on carme
2243 %{__rm} -r ext/pdo_sqlite/tests
2244 %{__rm} -r ext/sqlite3/tests
2245 %endif
2246
2247 # ----- Manage known as failed test -------
2248 # affected by systzdata patch
2249 %{__rm} ext/date/tests/timezone_location_get.phpt
2250 %{__rm} ext/date/tests/timezone_version_get.phpt
2251 %{__rm} ext/date/tests/timezone_version_get_basic1.phpt
2252 # Should be skipped but fails sometime
2253 %{__rm} ext/standard/tests/file/file_get_contents_error001.phpt
2254 # fails sometimes
2255 %{__rm} ext/sockets/tests/mcast_ipv?_recv.phpt
2256 # causes stack exhausion
2257 %{__rm} Zend/tests/bug54268.phpt
2258
2259 # avoid issues when two builds run simultaneously
2260 %ifarch %{x8664}
2261 sed -e 's/64321/64322/' -i ext/openssl/tests/*.phpt
2262 %endif
2263
2264 # skip XFAILs
2265 # no point testing stuff that is knowingly broken
2266 find -name '*.phpt' | xargs grep '^--XFAIL--' -l | xargs rm -v
2267
2268 env \
2269 %ifarch %{ix86}
2270 ix86= x8664=: \
2271 %endif
2272 %ifarch %{x8664}
2273 ix86=: x8664= \
2274 %endif
2275 %ifarch x32
2276 ix86=: x8664=: \
2277 %endif
2278         sh -xe %{_sourcedir}/skip-tests.sh
2279
2280 %build
2281 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
2282 if [ $API != %{php_api_version} ]; then
2283         echo "Set %%define php_api_version to $API and re-run."
2284         exit 1
2285 fi
2286
2287 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
2288 if [ $API != %{zend_module_api} ]; then
2289         echo "Set %%define zend_module_api to $API and re-run."
2290         exit 1
2291 fi
2292
2293 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
2294 if [ $API != %{zend_extension_api} ]; then
2295         echo "Set %%define zend_extension_api to $API and re-run."
2296         exit 1
2297 fi
2298
2299 API=$(awk '/#define PDO_DRIVER_API/{print $3}' ext/pdo/php_pdo_driver.h)
2300 if [ $API != %{php_pdo_api_version} ]; then
2301         echo "Set %%define php_pdo_api_version to $API and re-run."
2302         exit 1
2303 fi
2304
2305 # Check for some extension version
2306 ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
2307 if test "$ver" != "%{fileinfover}"; then
2308         : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
2309         : Update the fileinfover macro and rebuild.
2310         exit 1
2311 fi
2312 ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
2313 if test "$ver" != "%{pharver}"; then
2314         : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
2315         : Update the pharver macro and rebuild.
2316         exit 1
2317 fi
2318 ver=$(sed -n '/#define PHP_SQLITE3_VERSION/{s/.* "//;s/".*$//;p}' ext/sqlite3/php_sqlite3.h)
2319 if test "$ver" != "%{sqlite3ver}"; then
2320         : Error: Upstream Sqlite3 version is now ${ver}, expecting %{sqlite3ver}.
2321         : Update the sqlite3ver macro and rebuild.
2322         exit 1
2323 fi
2324 ver=$(sed -n '/#define PHP_ZIP_VERSION /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
2325 if test "$ver" != "%{zipver}"; then
2326         : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
2327         : Update the zipver macro and rebuild.
2328         exit 1
2329 fi
2330 ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
2331 if test "$ver" != "%{jsonver}"; then
2332         : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
2333         : Update the jsonver macro and rebuild.
2334         exit 1
2335 fi
2336 ver=$(sed -n '/#define PHP_ZENDOPCACHE_VERSION /{s/.* "//;s/".*$//;p}' ext/opcache/ZendAccelerator.h)
2337 if test "$ver" != "%{opcachever}"; then
2338         : Error: Upstream Zend Opcache version is now ${ver}, expecting %{opcachever}.
2339         : Update the opcachever macro and rebuild.
2340         exit 1
2341 fi
2342 ver=$(sed -n '/#define PHPDBG_VERSION /{s/.* "//;s/".*$//;p}' sapi/phpdbg/phpdbg.h)
2343 if test "$ver" != "%{phpdbgver}"; then
2344         : Error: Upstream phpdbg version is now ${ver}, expecting %{phpdbgver}.
2345         : Update the phpdbgver macro and rebuild.
2346         exit 1
2347 fi
2348 ver=$(sed -rne 's,.*<version>(.+)</version>,\1,p' ext/bz2/package.xml)
2349 if test "$ver" != "%{bz2ver}"; then
2350         : Error: Upstream BZIP2 version is now ${ver}, expecting %{bz2ver}.
2351         : Update the bz2ver macro and rebuild.
2352         exit 1
2353 fi
2354 ver=$(sed -n '/#define PHP_ENCHANT_VERSION /{s/.* "//;s/".*$//;p}' ext/enchant/php_enchant.h)
2355 if test "$ver" != "%{enchantver}"; then
2356         : Error: Upstream Enchant version is now ${ver}, expecting %{enchantver}.
2357         : Update the enchantver macro and rebuild.
2358         exit 1
2359 fi
2360 ver=$(awk '/#define PHP_HASH_EXTVER/ {print $3}' ext/hash/php_hash.h | xargs)
2361 if test "$ver" != "%{hashver}"; then
2362         : Error: Upstream HASH version is now ${ver}, expecting %{hashver}.
2363         : Update the hashver macro and rebuild.
2364         exit 1
2365 fi
2366 ver=$(sed -n '/#define PHP_INTL_VERSION /{s/.* "//;s/".*$//;p}' ext/intl/php_intl.h)
2367 if test "$ver" != "%{intlver}"; then
2368         : Error: Upstream Intl version is now ${ver}, expecting %{intlver}.
2369         : Update the intlver macro and rebuild.
2370         exit 1
2371 fi
2372
2373 export EXTENSION_DIR="%{php_extensiondir}"
2374 # configure once (for faster debugging purposes)
2375 if [ ! -f _built-conf ]; then
2376         # now remove Makefile copies
2377         rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed,phpdbg,milter}
2378         %{__libtoolize}
2379         %{__aclocal}
2380         cp -f /usr/share/automake/config.* .
2381         ./buildconf --force
2382         touch _built-conf
2383 fi
2384 export PROG_SENDMAIL="/usr/lib/sendmail"
2385 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP -DOPENSSL_NO_SSL2 %{rpmcppflags} \
2386         -I%{_includedir}/xmlrpc-epi"
2387
2388 sapis="
2389 cli
2390 %if %{with cgi}
2391 cgi-fcgi
2392 %endif
2393 %if %{with litespeed}
2394 litespeed
2395 %endif
2396 %if %{with fpm}
2397 fpm
2398 %endif
2399 %if %{with embed}
2400 embed
2401 %endif
2402 %if %{with apache1}
2403 apxs1
2404 %endif
2405 %if %{with apache2}
2406 apxs2
2407 %endif
2408 %if %{with phpdbg}
2409 phpdbg
2410 %endif
2411 %if %{with milter}
2412 milter
2413 %endif
2414 "
2415 for sapi in $sapis; do
2416         : SAPI $sapi
2417         # skip if already configured (for faster debugging purposes)
2418         [ -f Makefile.$sapi ] && continue
2419
2420         sapi_args=''
2421         case $sapi in
2422         cgi-fcgi)
2423                 sapi_args='--disable-cli'
2424         ;;
2425         cli)
2426                 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
2427         ;;
2428         fpm)
2429                 sapi_args='--disable-cli --disable-cgi --enable-fpm'
2430                 ;;
2431         embed)
2432                 sapi_args='--disable-cli --disable-cgi --enable-embed'
2433                 ;;
2434         apxs1)
2435                 ver=$(rpm -q --qf '%{V}' apache1-devel)
2436                 sapi_args="--disable-cli --disable-cgi --with-apxs=%{apxs1} --with-apache-version=$ver"
2437         ;;
2438         apxs2)
2439                 ver=$(rpm -q --qf '%{V}' apache-devel)
2440                 sapi_args="--disable-cli --disable-cgi --with-apxs2=%{apxs2} --with-apache-version=$ver"
2441         ;;
2442         litespeed)
2443                 sapi_args='--disable-cli --disable-cgi --with-litespeed'
2444         ;;
2445         phpdbg)
2446                 sapi_args='--disable-cli --disable-cgi --enable-phpdbg %{?debug:--enable-phpdbg-debug}'
2447         ;;
2448         milter)
2449                 sapi_args='--disable-cli --disable-cgi --with-milter'
2450         ;;
2451         esac
2452
2453         %configure \
2454         EXTRA_LDFLAGS="%{rpmldflags}" \
2455         $sapi_args \
2456 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2457         --cache-file=config.cache \
2458 %endif
2459         --with-libdir=%{_lib} \
2460         --with-config-file-path=%{_sysconfdir} \
2461         --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2462         --with-system-tzdata \
2463         --%{!?with_debug:dis}%{?with_debug:en}able-debug \
2464         %{?with_zts:--enable-maintainer-zts} \
2465         --enable-inline-optimization \
2466         %{__enable_disable bcmath bcmath shared} \
2467         %{__enable_disable calendar calendar shared} \
2468         %{__enable_disable ctype ctype shared} \
2469         %{__enable_disable dba dba shared} \
2470         %{__enable_disable dom dom shared} \
2471         %{?with_systemtap:--enable-dtrace} \
2472         %{__enable_disable exif exif shared} \
2473         %{__enable_disable fileinfo fileinfo shared} \
2474         %{__enable_disable ftp ftp shared} \
2475         --enable-gd-native-ttf \
2476         %{?with_intl:--enable-intl=shared} \
2477         --enable-libxml \
2478         %{__enable_disable mbstring mbstring shared,all} \
2479         --enable-mbregex \
2480         %{__enable_disable pcntl pcntl shared} \
2481         %{__enable_disable pdo pdo shared} \
2482         %{__enable_disable json json shared} \
2483         %{__enable_disable hash hash shared} \
2484         --enable-xmlwriter=shared \
2485 %if %{with fpm}
2486         --with-fpm-user=http \
2487         --with-fpm-group=http \
2488 %endif
2489 %if %{with pdo_dblib}
2490         --with-pdo-dblib=shared \
2491 %endif
2492 %if %{with interbase} && %{without interbase_inst}
2493         --with-pdo-firebird=shared,/usr \
2494 %endif
2495         %{?with_mhash:--with-mhash=yes} \
2496         --with-mysql-sock=/var/lib/mysql/mysql.sock \
2497         %{__with_without pdo_mysql pdo-mysql shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd}} \
2498         %{?with_oci:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2499         %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2500         %{?with_pgsql:--with-pdo-pgsql=shared} \
2501         %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
2502         %{?with_webp:--with-vpx-dir=/usr} \
2503         --without-libexpat-dir \
2504         %{__enable_disable posix posix shared} \
2505         --enable-shared \
2506         %{__enable_disable session session shared} \
2507         --enable-shmop=shared \
2508         --enable-simplexml=shared \
2509         --enable-sysvmsg=shared \
2510         --enable-sysvsem=shared \
2511         --enable-sysvshm=shared \
2512         --enable-soap=shared \
2513         --enable-sockets=shared \
2514         --enable-tokenizer=shared \
2515         %{?with_wddx:--enable-wddx=shared} \
2516         --enable-xml=shared \
2517         --enable-xmlreader=shared \
2518         %{__with_without bz2 bz2 shared} \
2519         %{__with_without curl curl shared} \
2520         --with-db4 \
2521         %{__with_without iconv iconv shared} \
2522         %{?with_enchant:--with-enchant=shared,/usr} \
2523         --with-freetype-dir=shared \
2524         %{__with_without gettext gettext shared} \
2525         %{__with_without gd gd shared%{?with_system_gd:,/usr}} \
2526         --with-gdbm \
2527         %{__with_without gmp gmp shared} \
2528         %{?with_imap:--with-imap=shared --with-imap-ssl} \
2529         %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2530         --with-jpeg-dir=/usr \
2531         %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2532         %{__with_without mcrypt mcrypt shared} \
2533         %{?with_mm:--with-mm} \
2534         %{?with_mssql:--with-mssql=shared} \
2535         %{?with_mysqlnd:--enable-mysqlnd=shared} \
2536         %{__with_without mysql mysql shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd}} \
2537         %{?with_mysqli:--with-mysqli=shared,%{!?with_mysqlnd:/usr/bin/mysql_config}%{?with_mysqlnd:mysqlnd}} \
2538         %{?with_oci:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2539         %{__enable_disable opcache opcache shared} \
2540         %{?with_openssl:--with-openssl=shared} \
2541         %{?with_kerberos5:--with-kerberos} \
2542         --with-tcadb=/usr \
2543         %{__with_without pcre pcre-regex /usr} \
2544         %{__enable_disable filter filter shared} \
2545         --with-pear=%{php_pear_dir} \
2546         %{__with_without pgsql pgsql shared,/usr} \
2547         %{__enable_disable phar phar shared} \
2548         --with-png-dir=/usr \
2549         %{?with_pspell:--with-pspell=shared} \
2550         %{__with_without readline readline shared} \
2551         %{?with_recode:--with-recode=shared} \
2552         %{__with_without ereg regex system} \
2553         %{?with_snmp:--with-snmp=shared} \
2554         %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
2555         %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2556         %{__with_without sqlite3 sqlite3 shared,/usr} \
2557         --with-t1lib=shared \
2558         %{?with_tidy:--with-tidy=shared} \
2559         %{?with_odbc:--with-unixODBC=shared,/usr} \
2560         %{__with_without xmlrpc xmlrpc shared,/usr} \
2561         --with-xsl=shared \
2562         --with-zlib=shared \
2563         --with-zlib-dir=shared,/usr \
2564         %{?with_system_libzip:--with-libzip} \
2565         --enable-zip=shared,/usr \
2566
2567         # save for debug
2568         cp -f Makefile Makefile.$sapi
2569         cp -f main/php_config.h php_config.h.$sapi
2570         cp -f config.log config.log.$sapi
2571 done
2572
2573 # as we build each SAPI in own make, adjust php-config.in forehead
2574 sapis=$(%{__sed} -rne 's/^PHP_INSTALLED_SAPIS = (.+)/\1/p' Makefile.* | tr ' ' '\n' | sort -u | xargs)
2575 %{__sed} -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," scripts/php-config.in
2576
2577 # must make libphp_common first, so modules can link against it.
2578 cp -af php_config.h.cli main/php_config.h
2579 cp -af Makefile.cli Makefile
2580 %{__make} libphp_common.la
2581 # hack: MYSQLND_SHARED_LIBADD not initialized
2582 %{__make} build-modules \
2583         MYSQLND_SHARED_LIBADD="-lssl -lcrypto"
2584
2585 %if %{with apache1}
2586 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
2587 %endif
2588
2589 %if %{with apache2}
2590 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
2591 %endif
2592
2593 %if %{with litespeed}
2594 %{__make} -f Makefile.litespeed litespeed
2595 %endif
2596
2597 %if %{with embed}
2598 %{__make} -f Makefile.embed libphp5.la
2599 %endif
2600
2601 %if %{with phpdbg}
2602 # PHP_READLINE_LIBS is empty, so force readline here
2603 %{__make} -f Makefile.phpdbg phpdbg \
2604         PHPDBG_EXTRA_LIBS=-lreadline
2605 %endif
2606
2607 %if %{with milter}
2608 %{__make} -f Makefile.milter milter
2609 %endif
2610
2611 # CGI/FCGI
2612 %if %{with cgi}
2613 cp -pf php_config.h.cgi-fcgi main/php_config.h
2614 %{__make} -f Makefile.cgi-fcgi
2615 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
2616 %endif
2617
2618 # PHP FPM
2619 %if %{with fpm}
2620 cp -pf php_config.h.fpm main/php_config.h
2621 %{__make} -f Makefile.fpm
2622 [ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
2623 %endif
2624
2625 # CLI
2626 cp -pf php_config.h.cli main/php_config.h
2627 %{__make} -f Makefile.cli
2628 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
2629
2630 # check for stupid xml parse breakage where &lt; and &gt; just get lost in parse result
2631 ./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"]));'
2632
2633 # Generate stub .ini files for each extension
2634 rm -rf conf.d
2635 install -d conf.d
2636 generate_inifiles() {
2637         for so in modules/*.so; do
2638                 mod=$(basename $so .so)
2639                 ext=extension
2640                 # opcache.so is zend extension
2641                 nm $so | grep -q zend_extension_entry && ext=zend_extension
2642                 conf="$mod.ini"
2643                 # xml needs to be loaded before wddx
2644                 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2645                 # pre needs to be loaded before SPL
2646                 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2647                 # spl needs to be loaded before mysqli
2648                 [ "$mod" = "spl" ] && conf="SPL.ini"
2649                 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2650                 [ "$mod" = "session" ] && conf="Session.ini"
2651                 # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli
2652                 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2653                 echo "+ $conf"
2654                 cat > conf.d/$conf <<-EOF
2655                         ; Enable $mod $ext module
2656                         $ext=$mod.so
2657                 EOF
2658         done
2659 }
2660 generate_inifiles
2661
2662 # Check that the module inner-dependencies are intact
2663 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2664 if grep -v OK dep-tests.log; then
2665         echo >&2 "The results above were not expected"
2666         exit 1
2667 fi
2668
2669 %if %{with gcov}
2670 # Use CLI SAPI
2671 cp -pf php_config.h.cli main/php_config.h
2672 cp -pf Makefile.cli Makefile
2673 %{__make} lcov
2674 # you really don't want to package result of gcov build
2675 exit 1
2676 %endif
2677
2678 cat <<'EOF' > run-tests.sh
2679 #!/bin/sh
2680 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2681 export SKIP_ONLINE_TESTS=1
2682 unset TZ LANG LC_ALL || :
2683 %{__make} test \
2684         EXTENSION_DIR=modules \
2685         PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2686         RUN_TESTS_SETTINGS="-q $*"
2687 EOF
2688 chmod +x run-tests.sh
2689
2690 %if %{with tests}
2691 # Run tests, using the CLI SAPI
2692 cp -pf php_config.h.cli main/php_config.h
2693 cp -pf Makefile.cli Makefile
2694
2695 ./run-tests.sh -w failed.log -s tests.log || {
2696 rc=$?
2697
2698 # collect failed tests into cleanup script used in prep.
2699 sed -ne '/^FAILED TEST SUMMARY/,/^===/p' tests.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2700 sed -ne '/^via/d;/\[.*\]/{s/\t*\(.*\) \[\(.*\)\]\(.*\)/# \1\3\nmv \2{,.skip}/p}' tests-failed.log \
2701         >> %{_sourcedir}/skip-tests.sh
2702
2703 # if on builders, dump test log
2704 tty -q || cat tests.log
2705
2706 test ! -s failed.log
2707 exit $rc
2708 }
2709 %endif
2710
2711 %install
2712 rm -rf $RPM_BUILD_ROOT
2713 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2714         $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2715         $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2716         $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2717
2718 cp -pf php_config.h.cli main/php_config.h
2719 cp -pf Makefile.cli Makefile
2720 %{__make} install \
2721         phpbuilddir=%{_libdir}/%{name}/build \
2722         INSTALL_ROOT=$RPM_BUILD_ROOT
2723
2724 %if %{without default_php}
2725 # version the .phar files
2726 %{__mv} $RPM_BUILD_ROOT%{_bindir}/phar{,%{php_suffix}}.phar
2727 %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/phar{,%{php_suffix}}.1
2728 %endif
2729 %if %{with alternatives}
2730 # touch for ghost
2731 %{__rm} $RPM_BUILD_ROOT%{_bindir}/phar
2732 touch $RPM_BUILD_ROOT%{_bindir}/phar
2733 touch $RPM_BUILD_ROOT%{_mandir}/man1/phar.1
2734 %endif
2735
2736 # version suffix
2737 v=$(echo %{version} | cut -d. -f1-2)
2738
2739 # install Apache1 DSO module
2740 %if %{with apache1}
2741 libtool --mode=install install -p sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2742 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5{,-$v}.so
2743 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache1/mod_php.so
2744 %endif
2745
2746 # install Apache2 DSO module
2747 %if %{with apache2}
2748 libtool --mode=install install -p sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2749 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp5{,-$v}.so
2750 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache/mod_php.so
2751 %endif
2752
2753 # install litespeed sapi
2754 %if %{with litespeed}
2755 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
2756 %endif
2757
2758 %if %{with phpdbg}
2759 %{__make} -f Makefile.phpdbg install-phpdbg \
2760         INSTALL="libtool --mode=install install -p" \
2761         INSTALL_ROOT=$RPM_BUILD_ROOT
2762
2763 %if %{without default_php}
2764 # version the phpdbg files
2765 %{__mv} $RPM_BUILD_ROOT%{_bindir}/phpdbg{,%{ver_suffix}}
2766 %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/phpdbg{,%{ver_suffix}}.1
2767 %endif
2768 %endif
2769
2770 %if %{with milter}
2771 %{__make} -f Makefile.milter install-milter \
2772         INSTALL_ROOT=$RPM_BUILD_ROOT
2773 %endif
2774
2775 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2776
2777 # install CGI/FCGI
2778 %if %{with cgi}
2779 # install-cgi
2780 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2781 ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
2782 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2783 %endif
2784
2785 # install FCGI PM
2786 %if %{with fpm}
2787 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir}}
2788 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2789 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
2790 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2791 cp -p sapi/fpm/php-fpm.conf-d $RPM_BUILD_ROOT%{_sysconfdir}/fpm.d/www.conf
2792 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2793 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2794 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2795 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2796 %if "%{pld_release}" == "ac"
2797 %{__sed} -i -e '/su/d' $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2798 %endif
2799
2800 %if %{with alternatives}
2801 # touch for ghost for alternatives
2802 touch $RPM_BUILD_ROOT%{_sbindir}/php-fpm
2803 %endif
2804
2805 %{__sed} -i -e '
2806         s#/usr/lib/php#%{php_extensiondir}#g
2807         s#/etc/php/#%{_sysconfdir}/#g
2808         s#@processname@#%{name}-fpm#g
2809 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf,%{_sysconfdir}/fpm.d/www.conf}
2810 %endif
2811
2812 # install Embedded API
2813 %if %{with embed}
2814 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2815 # install-sapi installs to wrong dir, so just do it all manually
2816 install -d $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2817 install -p libs/libphp5.so $RPM_BUILD_ROOT%{_libdir}
2818 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2819 %endif
2820
2821 # install CLI
2822 # versioned suffix is always installed
2823 libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php%{ver_suffix}
2824 cp -p sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php%{ver_suffix}.1
2825 echo ".so php%{ver_suffix}.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.1
2826 ln -sf php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php
2827
2828 cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2829 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2830
2831 %if %{with apache1}
2832 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2833 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2834 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2835 %endif
2836
2837 %if %{with apache2}
2838 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2839 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2840 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2841 %endif
2842
2843 # ensure that paths are correct for current php version and arch
2844 grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
2845 %{__sed} -i -e '
2846         s#/usr/lib/php#%{php_extensiondir}#g
2847         s#/etc/php/#%{_sysconfdir}/#g
2848 '
2849
2850 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2851 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2852
2853 # per SAPI ini directories
2854 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2855
2856 # for CLI SAPI only
2857 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2858
2859 # use system automake and {lib,sh}tool
2860 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2861 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2862 for fn in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2863         f=%{_aclocaldir}/$fn
2864         test -f $f || continue
2865         ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2866 done
2867 for fn in ltmain.sh config/ltmain.sh build-aux/ltmain.sh; do
2868         f=/usr/share/libtool/$fn
2869         test -f $f || continue
2870         ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2871         break
2872 done
2873 sed -i -e '/^phpdir/ s,/php/build,/%{name}/build,' $RPM_BUILD_ROOT%{_bindir}/phpize
2874
2875 # for php-pecl-mailparse
2876 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2877 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2878
2879 # tests
2880 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2881 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2882 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2883
2884 # fix install paths, avoid evil rpaths
2885 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2886 # better solution?
2887 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/%{name}/build/acinclude.m4
2888
2889 # somewhy there are installed static versions we don't use
2890 %if %{with apache1} || %{with apache2}
2891 %{__rm} $RPM_BUILD_ROOT%{_libdir}/apache*/libphp*.a
2892 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libphp*.a
2893 %{__rm} $RPM_BUILD_ROOT%{php_extensiondir}/*.a
2894 %endif
2895
2896 %clean
2897 rm -rf $RPM_BUILD_ROOT
2898
2899 %post -n apache1-mod_%{name}
2900 if [ "$1" = "1" ]; then
2901         %service -q apache restart
2902 fi
2903
2904 %postun -n apache1-mod_%{name}
2905 if [ "$1" = "0" ]; then
2906         %service -q apache restart
2907 fi
2908
2909 %post -n apache-mod_%{name}
2910 if [ "$1" = "1" ]; then
2911         %service -q httpd restart
2912 fi
2913
2914 %postun -n apache-mod_%{name}
2915 if [ "$1" = "0" ]; then
2916         %service -q httpd restart
2917 fi
2918
2919 %pre fpm
2920 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2921
2922 %post fpm
2923 /sbin/chkconfig --add %{name}-fpm
2924 %service %{name}-fpm restart
2925 %if %{with alternatives}
2926 update-alternatives --install %{_sbindir}/php-fpm php-fpm %{_sbindir}/php%{ver_suffix}-fpm %{ver_suffix} || :
2927 %endif
2928
2929 %preun fpm
2930 if [ "$1" = "0" ]; then
2931         %service %{name}-fpm stop
2932         /sbin/chkconfig --del %{name}-fpm
2933 %if %{with alternatives}
2934         update-alternatives --remove php-fpm %{_sbindir}/php-fpm || :
2935 %endif
2936 fi
2937
2938 %postun fpm
2939 if [ "$1" = "0" ]; then
2940         %userremove http
2941 fi
2942
2943 %post   embedded -p /sbin/ldconfig
2944 %postun embedded -p /sbin/ldconfig
2945
2946 %posttrans common
2947 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2948 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2949         TIMEZONE=
2950         . /etc/sysconfig/timezone
2951         if [ "$TIMEZONE" ]; then
2952                 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2953         fi
2954 fi
2955
2956 # minimizing apache restarts logics. we restart webserver:
2957 #
2958 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2959 # 2. first install of extension (post: $1 = 1)
2960 # 2. uninstall of extension (postun: $1 == 0)
2961 #
2962 # the strict internal deps between extensions (and apache modules) and
2963 # common package are very important for all this to work.
2964
2965 # restart webserver at the end of transaction
2966 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2967 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2968
2969 %triggerpostun common -- %{name}-common < 4:5.6.4-2, php-common < 4:5.6.4-2
2970 # migrate configs /etc/php/conf.d -> /etc/phpXY/conf.d/
2971 # do config migration in php-common trigger, as the trigger is ran after all packages are upgraded
2972 # this way we can stick to one trigger, instead of attaching one for each (sub)package!
2973 for f in /etc/php/*.ini.rpmsave /etc/php/*.d/*.ini.rpmsave; do
2974         test -f "$f" || continue
2975         bn=${f#/etc/php/}
2976         dn=${bn%/*}
2977         fn=${bn#*/}
2978         test "$dn" = "$fn" && dn=
2979         fn=${fn%.rpmsave}
2980         nf=%{_sysconfdir}/$dn/$fn
2981         test -f "$nf" || continue
2982         cp -vfb $nf{,.rpmnew}
2983         cp -vfb $f $nf
2984         %{__sed} -i -e '
2985                 s#%{_libdir}/php#%{_libdir}/%{name}#
2986                 s#/etc/php#%{_sysconfdir}#
2987         ' $nf
2988 done
2989 # switch to browscap package if the ini file has original value
2990 %{__sed} -i -e 's#%{_sysconfdir}/browscap.ini#/usr/share/browscap/php_browscap.ini#' %{_sysconfdir}/php.ini
2991 # disable browscap, if optional package not present
2992 if [ ! -e /usr/share/browscap/php_browscap.ini ]; then
2993         %{__sed} -i -e 's#^browscap = /usr/share/browscap/php_browscap.ini#;&#' %{_sysconfdir}/php.ini
2994 fi
2995
2996 %triggerpostun -n apache1-mod_%{name} -- apache1-mod_%{name} < 4:5.6.14-2
2997 sed -i -e 's#modules/libphp5.so#modules/mod_php.so#g' /etc/apache/conf.d/*_mod_php.conf
2998
2999 %triggerpostun -n apache-mod_%{name} -- apache-mod_%{name} < 4:5.6.14-2
3000 sed -i -e 's#modules/libphp[57].so#modules/mod_php.so#g' /etc/httpd/conf.d/*_mod_php.conf
3001
3002 # common macros called at extension post/postun scriptlet
3003 %define ext_post \
3004 if [ "$1" = "1" ]; then \
3005         %php_webserver_restart \
3006 fi \
3007 %{nil}
3008
3009 %define ext_postun \
3010 if [ "$1" = "0" ]; then \
3011         %php_webserver_restart \
3012 fi \
3013 %{nil}
3014
3015 %define extension_scripts() \
3016 %post %1 \
3017 %ext_post \
3018 \
3019 %postun %1 \
3020 %ext_postun \
3021 %{nil}
3022
3023 # extension scripts defines
3024 %extension_scripts bcmath
3025 %extension_scripts bz2
3026 %extension_scripts calendar
3027 %extension_scripts ctype
3028 %extension_scripts curl
3029 %extension_scripts dba
3030 %extension_scripts dom
3031 %extension_scripts enchant
3032 %extension_scripts exif
3033 %extension_scripts fileinfo
3034 %extension_scripts filter
3035 %extension_scripts ftp
3036 %extension_scripts gd
3037 %extension_scripts gettext
3038 %extension_scripts gmp
3039 %extension_scripts hash
3040 %extension_scripts iconv
3041 %extension_scripts imap
3042 %extension_scripts interbase
3043 %extension_scripts intl
3044 %extension_scripts json
3045 %extension_scripts ldap
3046 %extension_scripts mbstring
3047 %extension_scripts mcrypt
3048 %extension_scripts mssql
3049 %extension_scripts mysql
3050 %extension_scripts mysqli
3051 %extension_scripts mysqlnd
3052 %extension_scripts oci8
3053 %extension_scripts odbc
3054 %extension_scripts opcache
3055 %extension_scripts openssl
3056 %extension_scripts pcre
3057 %extension_scripts pdo
3058 %extension_scripts pdo-dblib
3059 %extension_scripts pdo-firebird
3060 %extension_scripts pdo-oci
3061 %extension_scripts pdo-mysql
3062 %extension_scripts pdo-odbc
3063 %extension_scripts pdo-pgsql
3064 %extension_scripts pdo-sqlite
3065 %extension_scripts pgsql
3066 %extension_scripts pcntl
3067 %extension_scripts posix
3068 %extension_scripts pspell
3069 %extension_scripts recode
3070 %extension_scripts session
3071 %extension_scripts shmop
3072 %extension_scripts simplexml
3073 %extension_scripts snmp
3074 %extension_scripts soap
3075 %extension_scripts sockets
3076 %extension_scripts spl
3077 %extension_scripts sqlite3
3078 %extension_scripts sybase-ct
3079 %extension_scripts sysvmsg
3080 %extension_scripts sysvsem
3081 %extension_scripts sysvshm
3082 %extension_scripts tidy
3083 %extension_scripts tokenizer
3084 %extension_scripts wddx
3085 %extension_scripts xml
3086 %extension_scripts xmlreader
3087 %extension_scripts xmlrpc
3088 %extension_scripts xmlwriter
3089 %extension_scripts xsl
3090 %extension_scripts zip
3091 %extension_scripts zlib
3092
3093 %post phar
3094 %ext_post
3095 %if %{with alternatives}
3096 update-alternatives \
3097         --install %{_bindir}/phar phar %{_bindir}/phar%{ver_suffix}.phar %{ver_suffix} \
3098         --slave %{_mandir}/man1/phar.1 phar.1 %{_mandir}/man1/phar%{ver_suffix}.1* || :
3099 %endif
3100
3101 %postun phar
3102 %ext_postun
3103 %if %{with alternatives}
3104 if [ $1 -eq 0 ]; then
3105         update-alternatives --remove phar %{_bindir}/phar || :
3106 fi
3107 %endif
3108
3109 %if %{with apache1}
3110 %files -n apache1-mod_%{name}
3111 %defattr(644,root,root,755)
3112 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
3113 %dir %{_sysconfdir}/apache.d
3114 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
3115 %attr(755,root,root) %{_libdir}/apache1/mod_php.so
3116 %attr(755,root,root) %{_libdir}/apache1/libphp5-*.*.so
3117 %endif
3118
3119 %if %{with apache2}
3120 %files -n apache-mod_%{name}
3121 %defattr(644,root,root,755)
3122 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
3123 %attr(755,root,root) %{_libdir}/apache/mod_php.so
3124
3125 %files -n apache-mod_%{name}-core
3126 %defattr(644,root,root,755)
3127 %dir %{_sysconfdir}/apache2handler.d
3128 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
3129 %attr(755,root,root) %{_libdir}/apache/libphp5-*.*.so
3130 %endif
3131
3132 %if %{with litespeed}
3133 %files litespeed
3134 %defattr(644,root,root,755)
3135 %attr(755,root,root) %{_sbindir}/%{name}.litespeed
3136 %endif
3137
3138 %if %{with cgi}
3139 %files cgi
3140 %defattr(644,root,root,755)
3141 %dir %{_sysconfdir}/cgi-fcgi.d
3142 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
3143 %attr(755,root,root) %{_bindir}/%{name}.cgi
3144 %attr(755,root,root) %{_bindir}/%{name}.fcgi
3145 %endif
3146
3147 %if %{with embed}
3148 %files embedded
3149 %defattr(644,root,root,755)
3150 %attr(755,root,root) %{_libdir}/libphp5.so
3151 %endif
3152
3153 %files cli
3154 %defattr(644,root,root,755)
3155 %dir %{_sysconfdir}/cli.d
3156 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
3157 %attr(755,root,root) %{_bindir}/php%{ver_suffix}
3158 %{_mandir}/man1/php%{ver_suffix}.1*
3159
3160 %files program
3161 %defattr(644,root,root,755)
3162 %attr(755,root,root) %{_bindir}/php
3163 %{_mandir}/man1/php.1*
3164
3165 %if %{with fpm}
3166 %files fpm
3167 %defattr(644,root,root,755)
3168 %doc sapi/fpm/{CREDITS,LICENSE}
3169 %dir %{_sysconfdir}/fpm.d
3170 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
3171 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.d/www.conf
3172 %attr(755,root,root) %{_sbindir}/%{name}-fpm
3173 %if %{with alternatives}
3174 %ghost %{_sbindir}/php-fpm
3175 %endif
3176 %{_mandir}/man8/%{name}-fpm.8*
3177 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
3178 %attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
3179 %endif
3180
3181 %if %{with phpdbg}
3182 %files phpdbg
3183 %defattr(644,root,root,755)
3184 %attr(755,root,root) %{_bindir}/phpdbg%{php_suffix}
3185 %{_mandir}/man1/phpdbg%{php_suffix}.1*
3186 %endif
3187
3188 %if %{with milter}
3189 %files milter
3190 %defattr(644,root,root,755)
3191 %attr(755,root,root) %{_bindir}/php-milter
3192 %endif
3193
3194 %files common
3195 %defattr(644,root,root,755)
3196 %doc CREDITS EXTENSIONS LICENSE NEWS README.namespaces UPGRADING* Zend/{LICENSE.Zend,ZEND_CHANGES} php.ini-* .gdbinit
3197 %dir %{_sysconfdir}
3198 %dir %{_sysconfdir}/conf.d
3199 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
3200 %if %{with apache1} || %{with apache2}
3201 %attr(755,root,root) %{_libdir}/libphp_common-*.so
3202 %endif
3203 %dir %{php_extensiondir}
3204
3205 %doc ext/session/mod_files.sh
3206
3207 %files devel
3208 %defattr(644,root,root,755)
3209 %doc CODING_STANDARDS README.{EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
3210 %attr(755,root,root) %{_bindir}/phpize
3211 %attr(755,root,root) %{_bindir}/php-config
3212 %if %{with apache1} || %{with apache2}
3213 %attr(755,root,root) %{_libdir}/libphp_common.so
3214 %else
3215 %attr(755,root,root) %{_libdir}/libphp_common.a
3216 %endif
3217 %{_libdir}/libphp_common.la
3218 %{_includedir}/php
3219 %{_libdir}/%{name}/build
3220 %{_mandir}/man1/php-config.1*
3221 %{_mandir}/man1/phpize.1*
3222
3223 %if %{with bcmath}
3224 %files bcmath
3225 %defattr(644,root,root,755)
3226 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
3227 %attr(755,root,root) %{php_extensiondir}/bcmath.so
3228 %endif
3229
3230 %if %{with bz2}
3231 %files bz2
3232 %defattr(644,root,root,755)
3233 %doc ext/bz2/CREDITS
3234 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
3235 %attr(755,root,root) %{php_extensiondir}/bz2.so
3236 %endif
3237
3238 %if %{with calendar}
3239 %files calendar
3240 %defattr(644,root,root,755)
3241 %doc ext/calendar/CREDITS
3242 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
3243 %attr(755,root,root) %{php_extensiondir}/calendar.so
3244 %endif
3245
3246 %if %{with ctype}
3247 %files ctype
3248 %defattr(644,root,root,755)
3249 %doc ext/calendar/CREDITS
3250 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
3251 %attr(755,root,root) %{php_extensiondir}/ctype.so
3252 %endif
3253
3254 %if %{with curl}
3255 %files curl
3256 %defattr(644,root,root,755)
3257 %doc ext/curl/CREDITS
3258 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
3259 %attr(755,root,root) %{php_extensiondir}/curl.so
3260 %endif
3261
3262 %if %{with dba}
3263 %files dba
3264 %defattr(644,root,root,755)
3265 %doc ext/dba/{CREDITS,README}
3266 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
3267 %attr(755,root,root) %{php_extensiondir}/dba.so
3268 %endif
3269
3270 %if %{with dom}
3271 %files dom
3272 %defattr(644,root,root,755)
3273 %doc ext/dom/{CREDITS,TODO}
3274 %doc ext/dom/examples
3275 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
3276 %attr(755,root,root) %{php_extensiondir}/dom.so
3277 %endif
3278
3279 %if %{with enchant}
3280 %files enchant
3281 %defattr(644,root,root,755)
3282 %doc ext/enchant/{CREDITS,docs/examples}
3283 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/enchant.ini
3284 %attr(755,root,root) %{php_extensiondir}/enchant.so
3285 %endif
3286
3287 %if %{with exif}
3288 %files exif
3289 %defattr(644,root,root,755)
3290 %doc ext/exif/CREDITS
3291 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
3292 %attr(755,root,root) %{php_extensiondir}/exif.so
3293 %endif
3294
3295 %if %{with fileinfo}
3296 %files fileinfo
3297 %defattr(644,root,root,755)
3298 %doc ext/fileinfo/CREDITS
3299 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
3300 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
3301 %endif
3302
3303 %if %{with filter}
3304 %files filter
3305 %defattr(644,root,root,755)
3306 %doc ext/filter/{CREDITS,docs/*}
3307 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
3308 %attr(755,root,root) %{php_extensiondir}/filter.so
3309 %endif
3310
3311 %if %{with ftp}
3312 %files ftp
3313 %defattr(644,root,root,755)
3314 %doc ext/ftp/CREDITS
3315 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
3316 %attr(755,root,root) %{php_extensiondir}/ftp.so
3317 %endif
3318
3319 %if %{with gd}
3320 %files gd
3321 %defattr(644,root,root,755)
3322 %doc ext/gd/CREDITS
3323 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
3324 %attr(755,root,root) %{php_extensiondir}/gd.so
3325 %endif
3326
3327 %if %{with gettext}
3328 %files gettext
3329 %defattr(644,root,root,755)
3330 %doc ext/gettext/CREDITS
3331 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
3332 %attr(755,root,root) %{php_extensiondir}/gettext.so
3333 %endif
3334
3335 %if %{with gmp}
3336 %files gmp
3337 %defattr(644,root,root,755)
3338 %doc ext/gmp/{CREDITS,README,TODO}
3339 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
3340 %attr(755,root,root) %{php_extensiondir}/gmp.so
3341 %endif
3342
3343 %if %{with hash}
3344 %files hash
3345 %defattr(644,root,root,755)
3346 %doc ext/hash/{CREDITS,README}
3347 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
3348 %attr(755,root,root) %{php_extensiondir}/hash.so
3349 %endif
3350
3351 %if %{with iconv}
3352 %files iconv
3353 %defattr(644,root,root,755)
3354 %doc ext/iconv/CREDITS
3355 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
3356 %attr(755,root,root) %{php_extensiondir}/iconv.so
3357 %endif
3358
3359 %if %{with imap}
3360 %files imap
3361 %defattr(644,root,root,755)
3362 %doc ext/imap/CREDITS
3363 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
3364 %attr(755,root,root) %{php_extensiondir}/imap.so
3365 %endif
3366
3367 %if %{with interbase}
3368 %files interbase
3369 %defattr(644,root,root,755)
3370 %doc ext/interbase/CREDITS
3371 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
3372 %attr(755,root,root) %{php_extensiondir}/interbase.so
3373 %endif
3374
3375 %if %{with intl}
3376 %files intl
3377 %defattr(644,root,root,755)
3378 %doc ext/intl/{CREDITS,TODO}
3379 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
3380 %attr(755,root,root) %{php_extensiondir}/intl.so
3381 %endif
3382
3383 %if %{with json}
3384 %files json
3385 %defattr(644,root,root,755)
3386 %doc ext/json/CREDITS
3387 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
3388 %attr(755,root,root) %{php_extensiondir}/json.so
3389 %endif
3390
3391 %if %{with ldap}
3392 %files ldap
3393 %defattr(644,root,root,755)
3394 %doc ext/ldap/CREDITS
3395 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
3396 %attr(755,root,root) %{php_extensiondir}/ldap.so
3397 %endif
3398
3399 %if %{with mbstring}
3400 %files mbstring
3401 %defattr(644,root,root,755)
3402 %doc ext/mbstring/{CREDITS,README*}
3403 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
3404 %attr(755,root,root) %{php_extensiondir}/mbstring.so
3405 %endif
3406
3407 %if %{with mcrypt}
3408 %files mcrypt
3409 %defattr(644,root,root,755)
3410 %doc ext/mcrypt/{CREDITS,TODO}
3411 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
3412 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
3413 %endif
3414
3415 %if %{with mssql}
3416 %files mssql
3417 %defattr(644,root,root,755)
3418 %doc ext/mssql/CREDITS
3419 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
3420 %attr(755,root,root) %{php_extensiondir}/mssql.so
3421 %endif
3422
3423 %if %{with mysql}
3424 %files mysql
3425 %defattr(644,root,root,755)
3426 %doc ext/mysql/CREDITS
3427 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
3428 %attr(755,root,root) %{php_extensiondir}/mysql.so
3429 %endif
3430
3431 %if %{with mysqli}
3432 %files mysqli
3433 %defattr(644,root,root,755)
3434 %doc ext/mysqli/{CREDITS,TODO}
3435 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
3436 %attr(755,root,root) %{php_extensiondir}/mysqli.so
3437 %endif
3438
3439 %if %{with mysqlnd}
3440 %files mysqlnd
3441 %defattr(644,root,root,755)
3442 %doc ext/mysqlnd/CREDITS
3443 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
3444 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
3445 %endif
3446
3447 %if %{with oci}
3448 %files oci8
3449 %defattr(644,root,root,755)
3450 %doc ext/oci8/{CREDITS,README}
3451 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
3452 %attr(755,root,root) %{php_extensiondir}/oci8.so
3453 %endif
3454
3455 %if %{with odbc}
3456 %files odbc
3457 %defattr(644,root,root,755)
3458 %doc ext/odbc/CREDITS
3459 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
3460 %attr(755,root,root) %{php_extensiondir}/odbc.so
3461 %endif
3462
3463 %if %{with opcache}
3464 %files opcache
3465 %defattr(644,root,root,755)
3466 %doc ext/opcache/README
3467 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/opcache.ini
3468 %attr(755,root,root) %{php_extensiondir}/opcache.so
3469 %endif
3470
3471 %if %{with openssl}
3472 %files openssl
3473 %defattr(644,root,root,755)
3474 %doc ext/openssl/{CREDITS,README}
3475 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
3476 %attr(755,root,root) %{php_extensiondir}/openssl.so
3477 %endif
3478
3479 %if %{with pcntl}
3480 %files pcntl
3481 %defattr(644,root,root,755)
3482 %doc ext/pcntl/{CREDITS,README}
3483 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
3484 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3485 %endif
3486
3487 %if %{with pcre}
3488 %files pcre
3489 %defattr(644,root,root,755)
3490 %doc ext/pcre/CREDITS
3491 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
3492 %attr(755,root,root) %{php_extensiondir}/pcre.so
3493 %endif
3494
3495 %if %{with pdo}
3496 %files pdo
3497 %defattr(644,root,root,755)
3498 %doc ext/pdo/{CREDITS,README,TODO}
3499 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
3500 %attr(755,root,root) %{php_extensiondir}/pdo.so
3501 %endif
3502
3503 %if %{with pdo_dblib}
3504 %files pdo-dblib
3505 %defattr(644,root,root,755)
3506 %doc ext/pdo_dblib/{CREDITS,README}
3507 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
3508 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3509 %endif
3510
3511 %if %{with interbase} && !%{with interbase_inst}
3512 %files pdo-firebird
3513 %defattr(644,root,root,755)
3514 %doc ext/pdo_firebird/CREDITS
3515 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
3516 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3517 %endif
3518
3519 %if %{with pdo_mysql}
3520 %files pdo-mysql
3521 %defattr(644,root,root,755)
3522 %doc ext/pdo_mysql/CREDITS
3523 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
3524 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3525 %endif
3526
3527 %if %{with oci}
3528 %files pdo-oci
3529 %defattr(644,root,root,755)
3530 %doc ext/pdo_oci/CREDITS
3531 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
3532 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3533 %endif
3534
3535 %if %{with odbc}
3536 %files pdo-odbc
3537 %defattr(644,root,root,755)
3538 %doc ext/pdo_odbc/CREDITS
3539 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3540 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3541 %endif
3542
3543 %if %{with pgsql}
3544 %files pdo-pgsql
3545 %defattr(644,root,root,755)
3546 %doc ext/pdo_pgsql/CREDITS
3547 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3548 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3549 %endif
3550
3551 %if %{with pdo_sqlite}
3552 %files pdo-sqlite
3553 %defattr(644,root,root,755)
3554 %doc ext/pdo_sqlite/CREDITS
3555 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3556 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3557 %endif
3558
3559 %if %{with pgsql}
3560 %files pgsql
3561 %defattr(644,root,root,755)
3562 %doc ext/pgsql/{CREDITS,README}
3563 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3564 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3565 %endif
3566
3567 %if %{with phar}
3568 %files phar
3569 %defattr(644,root,root,755)
3570 %doc ext/phar/{CREDITS,TODO}
3571 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
3572 %attr(755,root,root) %{php_extensiondir}/phar.so
3573 %attr(755,root,root) %{_bindir}/phar%{php_suffix}.phar
3574 %{_mandir}/man1/phar%{php_suffix}.1*
3575 %{_mandir}/man1/phar.phar.1*
3576 %if %{with alternatives}
3577 %ghost %{_bindir}/phar
3578 %ghost %{_mandir}/man1/phar.1
3579 %else
3580 %attr(755,root,root) %{_bindir}/phar
3581 %endif
3582 %endif
3583
3584 %if %{with posix}
3585 %files posix
3586 %defattr(644,root,root,755)
3587 %doc ext/posix/CREDITS
3588 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3589 %attr(755,root,root) %{php_extensiondir}/posix.so
3590 %endif
3591
3592 %if %{with pspell}
3593 %files pspell
3594 %defattr(644,root,root,755)
3595 %doc ext/pspell/{CREDITS,README}
3596 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3597 %attr(755,root,root) %{php_extensiondir}/pspell.so
3598 %endif
3599
3600 %if %{with readline}
3601 %files readline
3602 %defattr(644,root,root,755)
3603 %doc ext/readline/{CREDITS,README*}
3604 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3605 %attr(755,root,root) %{php_extensiondir}/readline.so
3606 %endif
3607
3608 %if %{with recode}
3609 %files recode
3610 %defattr(644,root,root,755)
3611 %doc ext/recode/CREDITS
3612 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3613 %attr(755,root,root) %{php_extensiondir}/recode.so
3614 %endif
3615
3616 %if %{with session}
3617 %files session
3618 %defattr(644,root,root,755)
3619 %doc ext/session/CREDITS
3620 %doc ext/session/mod_files.sh
3621 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3622 %attr(755,root,root) %{php_extensiondir}/session.so
3623 %endif
3624
3625 %files shmop
3626 %defattr(644,root,root,755)
3627 %doc ext/shmop/{CREDITS,README}
3628 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3629 %attr(755,root,root) %{php_extensiondir}/shmop.so
3630
3631 %files simplexml
3632 %defattr(644,root,root,755)
3633 %doc ext/simplexml/{CREDITS,README}
3634 %doc ext/simplexml/examples
3635 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3636 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3637
3638 %if %{with snmp}
3639 %files snmp
3640 %defattr(644,root,root,755)
3641 %doc ext/snmp/CREDITS
3642 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3643 %attr(755,root,root) %{php_extensiondir}/snmp.so
3644 %endif
3645
3646 %files soap
3647 %defattr(644,root,root,755)
3648 %doc ext/soap/{CREDITS,TODO*}
3649 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3650 %attr(755,root,root) %{php_extensiondir}/soap.so
3651
3652 %files sockets
3653 %defattr(644,root,root,755)
3654 %doc ext/sockets/CREDITS
3655 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3656 %attr(755,root,root) %{php_extensiondir}/sockets.so
3657
3658 %files spl
3659 %defattr(644,root,root,755)
3660 %doc ext/spl/{CREDITS,README,TODO}
3661 %doc ext/spl/examples
3662 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3663 %attr(755,root,root) %{php_extensiondir}/spl.so
3664
3665 %if %{with sqlite3}
3666 %files sqlite3
3667 %defattr(644,root,root,755)
3668 %doc ext/sqlite3/CREDITS
3669 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3670 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3671 %endif
3672
3673 %if %{with sybase_ct}
3674 %files sybase-ct
3675 %defattr(644,root,root,755)
3676 %doc ext/sybase_ct/CREDITS
3677 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3678 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
3679 %endif
3680
3681 %files sysvmsg
3682 %defattr(644,root,root,755)
3683 %doc ext/sysvmsg/CREDITS
3684 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3685 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3686
3687 %files sysvsem
3688 %defattr(644,root,root,755)
3689 %doc ext/sysvsem/CREDITS
3690 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3691 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3692
3693 %files sysvshm
3694 %defattr(644,root,root,755)
3695 %doc ext/sysvshm/CREDITS
3696 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3697 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3698
3699 %files tests
3700 %defattr(644,root,root,755)
3701 %dir %{php_data_dir}/tests
3702 %dir %{php_data_dir}/tests/php
3703 %{php_data_dir}/tests/php/basic
3704 %{php_data_dir}/tests/php/classes
3705 %{php_data_dir}/tests/php/func
3706 %{php_data_dir}/tests/php/lang
3707 %{php_data_dir}/tests/php/output
3708 %{php_data_dir}/tests/php/run-test
3709 %{php_data_dir}/tests/php/security
3710 %{php_data_dir}/tests/php/strings
3711 %{php_data_dir}/tests/php/quicktester.inc
3712 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3713
3714 %if %{with tidy}
3715 %files tidy
3716 %defattr(644,root,root,755)
3717 %doc ext/tidy/{CREDITS,README}
3718 %doc ext/tidy/examples
3719 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3720 %attr(755,root,root) %{php_extensiondir}/tidy.so
3721 %endif
3722
3723 %files tokenizer
3724 %defattr(644,root,root,755)
3725 %doc ext/tokenizer/CREDITS
3726 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3727 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3728
3729 %if %{with wddx}
3730 %files wddx
3731 %defattr(644,root,root,755)
3732 %doc ext/wddx/CREDITS
3733 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3734 %attr(755,root,root) %{php_extensiondir}/wddx.so
3735 %endif
3736
3737 %files xml
3738 %defattr(644,root,root,755)
3739 %doc ext/xml/CREDITS
3740 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3741 %attr(755,root,root) %{php_extensiondir}/xml.so
3742
3743 %files xmlreader
3744 %defattr(644,root,root,755)
3745 %doc ext/xmlreader/{CREDITS,README,TODO}
3746 %doc ext/xmlreader/examples
3747 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3748 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3749
3750 %if %{with xmlrpc}
3751 %files xmlrpc
3752 %defattr(644,root,root,755)
3753 %doc ext/xmlrpc/CREDITS
3754 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3755 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3756 %endif
3757
3758 %files xmlwriter
3759 %defattr(644,root,root,755)
3760 %doc ext/xmlwriter/{CREDITS,TODO}
3761 %doc ext/xmlwriter/examples
3762 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3763 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3764
3765 %files xsl
3766 %defattr(644,root,root,755)
3767 %doc ext/xsl/CREDITS
3768 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3769 %attr(755,root,root) %{php_extensiondir}/xsl.so
3770
3771 %files zip
3772 %defattr(644,root,root,755)
3773 %doc ext/zip/{CREDITS,TODO}
3774 %doc ext/zip/examples
3775 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3776 %attr(755,root,root) %{php_extensiondir}/zip.so
3777
3778 %files zlib
3779 %defattr(644,root,root,755)
3780 %doc ext/zlib/CREDITS
3781 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3782 %attr(755,root,root) %{php_extensiondir}/zlib.so
This page took 0.307719 seconds and 4 git commands to generate.