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