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