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