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