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