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