]> git.pld-linux.org Git - packages/php.git/blob - php.spec
- typo
[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.18
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 -xe %{_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 '1,/^---/d;/^===/,$d' > tests-failed.log
2104 sed -ne '/\[.*\]/{s/\(.*\) \[\(.*\)\]/# \1\nmv \2{,.skip}/p}' tests-failed.log \
2105         >> %{_sourcedir}/skip-tests.sh
2106
2107 failed=$(wc -l < tests-failed.log)
2108 if [ "$failed" != 0 ]; then
2109         exit 1
2110 fi
2111 %endif
2112
2113 %install
2114 rm -rf $RPM_BUILD_ROOT
2115 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2116         $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2117         $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2118         $RPM_BUILD_ROOT%{_mandir}/man1 \
2119
2120 # install the Apache modules' files
2121 %{__make} install-headers install-build install-modules install-programs \
2122         INSTALL_ROOT=$RPM_BUILD_ROOT
2123
2124 # install Apache1 DSO module
2125 %if %{with apache1}
2126 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2127 %endif
2128
2129 # install Apache2 DSO module
2130 %if %{with apache2}
2131 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2132 %endif
2133
2134 # install litespeed sapi
2135 %if %{with litespeed}
2136 libtool --silent --mode=install install sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/php.litespeed
2137 %endif
2138
2139 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2140 # fix install paths, avoid evil rpaths
2141 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2142 # better solution?
2143 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
2144
2145 # install CGI/FCGI
2146 libtool --silent --mode=install install sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.cgi
2147 ln -sf php.cgi $RPM_BUILD_ROOT%{_bindir}/php.fcgi
2148
2149 # install FCGI PM
2150 %if %{with fpm}
2151 libtool --silent --mode=install install sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_bindir}/php.fpm
2152 cp -a sapi/fpm/php-fpm.1 $RPM_BUILD_ROOT%{_mandir}/man1/php-fpm.1
2153 cp -a sapi/fpm/php_fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}/fpm.conf
2154 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2155 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/php-fpm
2156 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2157 cp -a %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/php-fpm
2158 %endif
2159
2160 # install CLI
2161 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
2162 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
2163 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
2164 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
2165
2166 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2167
2168 install -d $RPM_BUILD_ROOT%{_sysconfdir}
2169 cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2170 cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2171 cp -a %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini
2172
2173 %if %{with apache1}
2174 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2175 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2176 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2177 %endif
2178
2179 %if %{with apache2}
2180 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2181 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2182 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2183 %endif
2184
2185 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2186 cp -a conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2187
2188 # per SAPI ini directories
2189 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2190
2191 # for CLI SAPI only
2192 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2193
2194 # use system automake and {lib,sh}tool
2195 %if "%{pld_release}" != "ac"
2196         ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
2197         for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2198                 ln -snf %{_aclocaldir}/${i} $RPM_BUILD_ROOT%{_libdir}/php/build
2199         done
2200         ln -snf %{_datadir}/libtool/config/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2201 %else
2202         ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
2203         ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
2204 %endif
2205 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
2206
2207 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
2208 # isn't installed by install-headers make target, we do it manually here.
2209 # this header file is required by e.g. filter PECL extension
2210 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
2211 # for php-pecl-mailparse
2212 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2213 cp -a ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2214
2215 # tests
2216 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2217 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2218 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2219
2220 %clean
2221 rm -rf $RPM_BUILD_ROOT
2222
2223 %post -n apache1-mod_php
2224 if [ "$1" = "1" ]; then
2225         %service -q apache restart
2226 fi
2227
2228 %postun -n apache1-mod_php
2229 if [ "$1" = "0" ]; then
2230         %service -q apache restart
2231 fi
2232
2233 %post -n apache-mod_php
2234 if [ "$1" = "1" ]; then
2235         %service -q httpd restart
2236 fi
2237
2238 %postun -n apache-mod_php
2239 if [ "$1" = "0" ]; then
2240         %service -q httpd restart
2241 fi
2242
2243 %pre fpm
2244 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2245
2246 %post fpm
2247 /sbin/chkconfig --add php-fpm
2248 %service php-fpm restart
2249
2250 %preun fpm
2251 if [ "$1" = 0 ]; then
2252         %service php-fpm stop
2253         /sbin/chkconfig --del php-fpm
2254 fi
2255
2256 %postun fpm
2257 if [ "$1" = "0" ]; then
2258         %userremove http
2259 fi
2260
2261 %post   common -p /sbin/ldconfig
2262 %postun common -p /sbin/ldconfig
2263
2264 %posttrans common
2265 # minimizing apache restarts logics. we restart webserver:
2266 #
2267 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2268 # 2. first install of extension (post: $1 = 1)
2269 # 2. uninstall of extension (postun: $1 == 0)
2270 #
2271 # the strict internal deps between extensions (and apache modules) and
2272 # common package are very important for all this to work.
2273
2274 # restart webserver at the end of transaction
2275 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2276 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2277
2278 %if %{with apache1}
2279 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
2280 sed -i -e '
2281         /^AddType application\/x-httpd-php \.php/s,^,#,
2282         /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
2283 ' /etc/apache/apache.conf
2284 %service -q apache restart
2285 %endif
2286
2287 %if %{with apache2}
2288 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1
2289 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
2290 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
2291         cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
2292         mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2293 fi
2294 %endif
2295
2296 # common macros called at extension post/postun scriptlet
2297 %define extension_scripts() \
2298 %post %1 \
2299 if [ "$1" = "1" ]; then \
2300         %php_webserver_restart \
2301 fi \
2302 \
2303 %postun %1 \
2304 if [ "$1" = "0" ]; then \
2305         %php_webserver_restart \
2306 fi
2307 %{nil}
2308
2309 # extension scripts defines
2310 %extension_scripts bcmath
2311 %extension_scripts bzip2
2312 %extension_scripts calendar
2313 %extension_scripts ctype
2314 %extension_scripts curl
2315 %extension_scripts dba
2316 %extension_scripts dom
2317 %extension_scripts exif
2318 %extension_scripts fdf
2319 %extension_scripts fileinfo
2320 %extension_scripts filter
2321 %extension_scripts ftp
2322 %extension_scripts gd
2323 %extension_scripts gettext
2324 %extension_scripts gmp
2325 %extension_scripts hash
2326 %extension_scripts iconv
2327 %extension_scripts imap
2328 %extension_scripts interbase
2329 %extension_scripts intl
2330 %extension_scripts json
2331 %extension_scripts ldap
2332 %extension_scripts mbstring
2333 %extension_scripts mcrypt
2334 %extension_scripts mssql
2335 %extension_scripts mysql
2336 %extension_scripts mysqli
2337 %extension_scripts oci8
2338 %extension_scripts odbc
2339 %extension_scripts openssl
2340 %extension_scripts pcre
2341 %extension_scripts pdo-dblib
2342 %extension_scripts pdo-firebird
2343 %extension_scripts pdo-mysql
2344 %extension_scripts pdo-odbc
2345 %extension_scripts pdo-pgsql
2346 %extension_scripts pdo-sqlite
2347 %extension_scripts pgsql
2348 %extension_scripts phar
2349 %extension_scripts posix
2350 %extension_scripts pspell
2351 %extension_scripts recode
2352 %extension_scripts session
2353 %extension_scripts shmop
2354 %extension_scripts snmp
2355 %extension_scripts soap
2356 %extension_scripts sockets
2357 %extension_scripts spl
2358 %extension_scripts sqlite
2359 %extension_scripts sqlite3
2360 %extension_scripts sybase-ct
2361 %extension_scripts sysvmsg
2362 %extension_scripts sysvsem
2363 %extension_scripts sysvshm
2364 %extension_scripts tidy
2365 %extension_scripts tokenizer
2366 %extension_scripts wddx
2367 %extension_scripts xml
2368 %extension_scripts xmlreader
2369 %extension_scripts xmlrpc
2370 %extension_scripts xmlwriter
2371 %extension_scripts xsl
2372 %extension_scripts zip
2373 %extension_scripts zlib
2374
2375 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2376 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2377
2378 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2379 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bzip2\.so/d' %{_sysconfdir}/php.ini
2380
2381 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2382 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2383
2384 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2385 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2386
2387 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2388 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2389
2390 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2391 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2392
2393 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2394 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini
2395
2396 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2397 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2398
2399 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2400 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2401
2402 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2403 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2404
2405 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2406 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2407
2408 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2409 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2410
2411 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2412 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2413
2414 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2415 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2416
2417 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2418 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2419
2420 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2421 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2422
2423 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2424 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2425
2426 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2427 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2428
2429 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2430 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2431
2432 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2433 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2434
2435 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2436 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2437
2438 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2439 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini
2440
2441 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2442 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2443
2444 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2445 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2446
2447 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2448 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2449
2450 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2451 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2452         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2453 fi
2454 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2455         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2456 fi
2457
2458 %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1
2459 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcre\.so/d' %{_sysconfdir}/php.ini
2460
2461 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2462 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2463
2464 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2465 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2466
2467 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2468 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2469
2470 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2471 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2472         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2473 fi
2474 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2475         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2476 fi
2477
2478 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2479 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2480
2481 %triggerun session -- %{name}-session < 4:5.0.4-9.1
2482 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*session\.so/d' %{_sysconfdir}/php.ini
2483
2484 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2485 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2486
2487 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2488 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2489
2490 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2491 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini
2492
2493 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2494 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2495
2496 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2497 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini
2498
2499 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2500 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini
2501
2502 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2503 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2504
2505 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2506 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2507
2508 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2509 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2510
2511 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2512 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini
2513
2514 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2515 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2516
2517 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2518 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2519
2520 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2521 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2522
2523 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2524 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini
2525
2526 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2527 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2528
2529 %if %{with apache1}
2530 %files -n apache1-mod_php
2531 %defattr(644,root,root,755)
2532 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2533 %dir %{_sysconfdir}/apache.d
2534 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2535 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2536 %endif
2537
2538 %if %{with apache2}
2539 %files -n apache-mod_php
2540 %defattr(644,root,root,755)
2541 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2542 %dir %{_sysconfdir}/apache2handler.d
2543 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2544 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2545 %endif
2546
2547 %if %{with litespeed}
2548 %files litespeed
2549 %defattr(644,root,root,755)
2550 %attr(755,root,root) %{_sbindir}/php.litespeed
2551 %endif
2552
2553 %files cgi
2554 %defattr(644,root,root,755)
2555 %dir %{_sysconfdir}/cgi-fcgi.d
2556 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2557 %attr(755,root,root) %{_bindir}/php.cgi
2558 %attr(755,root,root) %{_bindir}/php.fcgi
2559
2560 %files cli
2561 %defattr(644,root,root,755)
2562 %dir %{_sysconfdir}/cli.d
2563 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2564 %attr(755,root,root) %{_bindir}/php.cli
2565 %{_mandir}/man1/php.1*
2566 %{_mandir}/man1/php.cli.1*
2567
2568 %files program
2569 %defattr(644,root,root,755)
2570 %attr(755,root,root) %{_bindir}/php
2571
2572 %if %{with fpm}
2573 %files fpm
2574 %defattr(644,root,root,755)
2575 %doc %lang(ru) sapi/fpm/readme-ru.markdown
2576 %doc sapi/fpm/nginx-site-conf.sample
2577 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.conf
2578 %attr(755,root,root) %{_bindir}/php.fpm
2579 %{_mandir}/man1/php-fpm.1*
2580 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/php-fpm
2581 %attr(754,root,root) /etc/rc.d/init.d/php-fpm
2582 %endif
2583
2584 %files common
2585 %defattr(644,root,root,755)
2586 %doc php.ini-*
2587 %doc CREDITS Zend/ZEND_CHANGES
2588 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2589 %doc README.PHP4-TO-PHP5-THIN-CHANGES
2590 %doc README.namespaces
2591
2592 %dir %{_sysconfdir}
2593 %dir %{_sysconfdir}/conf.d
2594 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2595 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2596 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2597 %dir %{php_extensiondir}
2598
2599 %doc ext/session/mod_files.sh
2600
2601 %files devel
2602 %defattr(644,root,root,755)
2603 %doc README.UNIX-BUILD-SYSTEM
2604 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2605 %doc CODING_STANDARDS README.EXTENSIONS README.PARAMETER_PARSING_API README.STREAMS
2606 %doc README.SUBMITTING_PATCH README.TESTING README.TESTING2
2607 %attr(755,root,root) %{_bindir}/phpize
2608 %attr(755,root,root) %{_bindir}/php-config
2609 %attr(755,root,root) %{_libdir}/libphp_common.so
2610 %{_libdir}/libphp_common.la
2611 %{_includedir}/php
2612 %{_libdir}/php/build
2613 %{_mandir}/man1/php-config.1*
2614 %{_mandir}/man1/phpize.1*
2615
2616 %files bcmath
2617 %defattr(644,root,root,755)
2618 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2619 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2620
2621 %files bzip2
2622 %defattr(644,root,root,755)
2623 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2624 %attr(755,root,root) %{php_extensiondir}/bz2.so
2625
2626 %files calendar
2627 %defattr(644,root,root,755)
2628 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2629 %attr(755,root,root) %{php_extensiondir}/calendar.so
2630
2631 %files ctype
2632 %defattr(644,root,root,755)
2633 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2634 %attr(755,root,root) %{php_extensiondir}/ctype.so
2635
2636 %if %{with curl}
2637 %files curl
2638 %defattr(644,root,root,755)
2639 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2640 %attr(755,root,root) %{php_extensiondir}/curl.so
2641 %endif
2642
2643 %files dba
2644 %defattr(644,root,root,755)
2645 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2646 %attr(755,root,root) %{php_extensiondir}/dba.so
2647
2648 %files dom
2649 %defattr(644,root,root,755)
2650 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2651 %attr(755,root,root) %{php_extensiondir}/dom.so
2652
2653 %if %{with fdf}
2654 %files fdf
2655 %defattr(644,root,root,755)
2656 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2657 %attr(755,root,root) %{php_extensiondir}/fdf.so
2658 %endif
2659
2660 %files fileinfo
2661 %defattr(644,root,root,755)
2662 %doc README.input_filter
2663 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
2664 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
2665
2666 %if %{with filter}
2667 %files filter
2668 %defattr(644,root,root,755)
2669 %doc README.input_filter
2670 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2671 %attr(755,root,root) %{php_extensiondir}/filter.so
2672 %endif
2673
2674 %files exif
2675 %defattr(644,root,root,755)
2676 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2677 %attr(755,root,root) %{php_extensiondir}/exif.so
2678
2679 %files ftp
2680 %defattr(644,root,root,755)
2681 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2682 %attr(755,root,root) %{php_extensiondir}/ftp.so
2683
2684 %files gd
2685 %defattr(644,root,root,755)
2686 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2687 %attr(755,root,root) %{php_extensiondir}/gd.so
2688
2689 %files gettext
2690 %defattr(644,root,root,755)
2691 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2692 %attr(755,root,root) %{php_extensiondir}/gettext.so
2693
2694 %files gmp
2695 %defattr(644,root,root,755)
2696 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2697 %attr(755,root,root) %{php_extensiondir}/gmp.so
2698
2699 %files hash
2700 %defattr(644,root,root,755)
2701 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2702 %attr(755,root,root) %{php_extensiondir}/hash.so
2703
2704 %files iconv
2705 %defattr(644,root,root,755)
2706 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2707 %attr(755,root,root) %{php_extensiondir}/iconv.so
2708
2709 %if %{with imap}
2710 %files imap
2711 %defattr(644,root,root,755)
2712 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2713 %attr(755,root,root) %{php_extensiondir}/imap.so
2714 %endif
2715
2716 %if %{with interbase}
2717 %files interbase
2718 %defattr(644,root,root,755)
2719 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2720 %attr(755,root,root) %{php_extensiondir}/interbase.so
2721 %endif
2722
2723 %files intl
2724 %defattr(644,root,root,755)
2725 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
2726 %attr(755,root,root) %{php_extensiondir}/intl.so
2727
2728 %files json
2729 %defattr(644,root,root,755)
2730 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
2731 %attr(755,root,root) %{php_extensiondir}/json.so
2732
2733 %if %{with ldap}
2734 %files ldap
2735 %defattr(644,root,root,755)
2736 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2737 %attr(755,root,root) %{php_extensiondir}/ldap.so
2738 %endif
2739
2740 %files mbstring
2741 %defattr(644,root,root,755)
2742 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2743 %attr(755,root,root) %{php_extensiondir}/mbstring.so
2744
2745 %files mcrypt
2746 %defattr(644,root,root,755)
2747 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2748 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
2749
2750 %if %{with mssql}
2751 %files mssql
2752 %defattr(644,root,root,755)
2753 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2754 %attr(755,root,root) %{php_extensiondir}/mssql.so
2755 %endif
2756
2757 %files mysql
2758 %defattr(644,root,root,755)
2759 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2760 %attr(755,root,root) %{php_extensiondir}/mysql.so
2761
2762 %if %{with mysqli}
2763 %files mysqli
2764 %defattr(644,root,root,755)
2765 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2766 %attr(755,root,root) %{php_extensiondir}/mysqli.so
2767 %endif
2768
2769 %if %{with oci8}
2770 %files oci8
2771 %defattr(644,root,root,755)
2772 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2773 %attr(755,root,root) %{php_extensiondir}/oci8.so
2774 %endif
2775
2776 %if %{with odbc}
2777 %files odbc
2778 %defattr(644,root,root,755)
2779 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2780 %attr(755,root,root) %{php_extensiondir}/odbc.so
2781 %endif
2782
2783 %if %{with openssl}
2784 %files openssl
2785 %defattr(644,root,root,755)
2786 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2787 %attr(755,root,root) %{php_extensiondir}/openssl.so
2788 %endif
2789
2790 %files pcntl
2791 %defattr(644,root,root,755)
2792 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
2793 %attr(755,root,root) %{php_extensiondir}/pcntl.so
2794
2795 %if %{with pcre}
2796 %files pcre
2797 %defattr(644,root,root,755)
2798 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
2799 %attr(755,root,root) %{php_extensiondir}/pcre.so
2800 %endif
2801
2802 %files pdo
2803 %defattr(644,root,root,755)
2804 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2805 %attr(755,root,root) %{php_extensiondir}/pdo.so
2806
2807 %if %{with mssql} || %{with sybase_ct}
2808 %files pdo-dblib
2809 %defattr(644,root,root,755)
2810 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2811 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
2812 %endif
2813
2814 %if %{with interbase} && !%{with interbase_inst}
2815 %files pdo-firebird
2816 %defattr(644,root,root,755)
2817 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2818 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
2819 %endif
2820
2821 %files pdo-mysql
2822 %defattr(644,root,root,755)
2823 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2824 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
2825
2826 %if %{with oci8}
2827 %files pdo-oci
2828 %defattr(644,root,root,755)
2829 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2830 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
2831 %endif
2832
2833 %if %{with odbc}
2834 %files pdo-odbc
2835 %defattr(644,root,root,755)
2836 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2837 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
2838 %endif
2839
2840 %if %{with pgsql}
2841 %files pdo-pgsql
2842 %defattr(644,root,root,755)
2843 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2844 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
2845 %endif
2846
2847 %if %{with sqlite}
2848 %files pdo-sqlite
2849 %defattr(644,root,root,755)
2850 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2851 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
2852 %endif
2853
2854 %if %{with pgsql}
2855 %files pgsql
2856 %defattr(644,root,root,755)
2857 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2858 %attr(755,root,root) %{php_extensiondir}/pgsql.so
2859 %endif
2860
2861 %if %{with phar}
2862 %files phar
2863 %defattr(644,root,root,755)
2864 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
2865 %attr(755,root,root) %{php_extensiondir}/phar.so
2866 %endif
2867
2868 %files posix
2869 %defattr(644,root,root,755)
2870 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2871 %attr(755,root,root) %{php_extensiondir}/posix.so
2872
2873 %if %{with pspell}
2874 %files pspell
2875 %defattr(644,root,root,755)
2876 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2877 %attr(755,root,root) %{php_extensiondir}/pspell.so
2878 %endif
2879
2880 %files readline
2881 %defattr(644,root,root,755)
2882 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2883 %attr(755,root,root) %{php_extensiondir}/readline.so
2884
2885 %if %{with recode}
2886 %files recode
2887 %defattr(644,root,root,755)
2888 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2889 %attr(755,root,root) %{php_extensiondir}/recode.so
2890 %endif
2891
2892 %files simplexml
2893 %defattr(644,root,root,755)
2894 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2895 %attr(755,root,root) %{php_extensiondir}/simplexml.so
2896
2897 %files session
2898 %defattr(644,root,root,755)
2899 %doc ext/session/mod_files.sh
2900 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/session.ini
2901 %attr(755,root,root) %{php_extensiondir}/session.so
2902
2903 %files shmop
2904 %defattr(644,root,root,755)
2905 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2906 %attr(755,root,root) %{php_extensiondir}/shmop.so
2907
2908 %if %{with snmp}
2909 %files snmp
2910 %defattr(644,root,root,755)
2911 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2912 %attr(755,root,root) %{php_extensiondir}/snmp.so
2913 %endif
2914
2915 %files soap
2916 %defattr(644,root,root,755)
2917 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2918 %attr(755,root,root) %{php_extensiondir}/soap.so
2919
2920 %files sockets
2921 %defattr(644,root,root,755)
2922 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2923 %attr(755,root,root) %{php_extensiondir}/sockets.so
2924
2925 %files spl
2926 %defattr(644,root,root,755)
2927 %doc ext/spl/{CREDITS,README,TODO}
2928 %doc ext/spl/examples
2929 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
2930 %attr(755,root,root) %{php_extensiondir}/spl.so
2931
2932 %if %{with sqlite}
2933 %files sqlite
2934 %defattr(644,root,root,755)
2935 %doc ext/sqlite/{README,TODO,CREDITS}
2936 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2937 %attr(755,root,root) %{php_extensiondir}/sqlite.so
2938 %endif
2939
2940 %if %{with sqlite3}
2941 %files sqlite3
2942 %defattr(644,root,root,755)
2943 %doc ext/sqlite3/CREDITS
2944 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
2945 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
2946 %endif
2947
2948 %if %{with sybase_ct}
2949 %files sybase-ct
2950 %defattr(644,root,root,755)
2951 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2952 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
2953 %endif
2954
2955 %files sysvmsg
2956 %defattr(644,root,root,755)
2957 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2958 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
2959
2960 %files sysvsem
2961 %defattr(644,root,root,755)
2962 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2963 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
2964
2965 %files sysvshm
2966 %defattr(644,root,root,755)
2967 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2968 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
2969
2970 %files tests
2971 %defattr(644,root,root,755)
2972 %dir %{php_data_dir}/tests/php
2973 %{php_data_dir}/tests/php/basic
2974 %{php_data_dir}/tests/php/classes
2975 %{php_data_dir}/tests/php/func
2976 %{php_data_dir}/tests/php/lang
2977 %{php_data_dir}/tests/php/output
2978 %{php_data_dir}/tests/php/run-test
2979 %{php_data_dir}/tests/php/security
2980 %{php_data_dir}/tests/php/strings
2981 %{php_data_dir}/tests/php/quicktester.inc
2982 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
2983
2984 %if %{with tidy}
2985 %files tidy
2986 %defattr(644,root,root,755)
2987 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2988 %attr(755,root,root) %{php_extensiondir}/tidy.so
2989 %endif
2990
2991 %files tokenizer
2992 %defattr(644,root,root,755)
2993 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2994 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
2995
2996 %if %{with wddx}
2997 %files wddx
2998 %defattr(644,root,root,755)
2999 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3000 %attr(755,root,root) %{php_extensiondir}/wddx.so
3001 %endif
3002
3003 %files xml
3004 %defattr(644,root,root,755)
3005 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3006 %attr(755,root,root) %{php_extensiondir}/xml.so
3007
3008 %files xmlreader
3009 %defattr(644,root,root,755)
3010 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3011 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3012
3013 %if %{with xmlrpc}
3014 %files xmlrpc
3015 %defattr(644,root,root,755)
3016 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3017 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3018 %endif
3019
3020 %files xmlwriter
3021 %defattr(644,root,root,755)
3022 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3023 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3024
3025 %files xsl
3026 %defattr(644,root,root,755)
3027 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3028 %attr(755,root,root) %{php_extensiondir}/xsl.so
3029
3030 %files zip
3031 %defattr(644,root,root,755)
3032 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3033 %attr(755,root,root) %{php_extensiondir}/zip.so
3034
3035 %files zlib
3036 %defattr(644,root,root,755)
3037 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3038 %attr(755,root,root) %{php_extensiondir}/zlib.so
This page took 0.62209 seconds and 3 git commands to generate.