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