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