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