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