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