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