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