]> git.pld-linux.org Git - packages/php.git/blob - php.spec
- simplify extension script macros
[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.14
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 hash
664 Summary:        HASH Message Digest Framework
665 Summary(pl):    szkielet do obliczania skrótów wiadomo¶ci
666 Group:          Libraries
667 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
668 Provides:       php(hash)
669
670 %description hash
671 Native implementations of common message digest algorithms using a
672 generic factory method.
673
674 %description hash -l pl
675 Natywne implementacje popularnych algorytmów obliczania skrótów
676 wiadomo¶ci przy u¿yciu wspólnego interfejsu.
677
678 %package iconv
679 Summary:        iconv extension module for PHP
680 Summary(pl):    Modu³ iconv dla PHP
681 Group:          Libraries
682 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
683 Provides:       php(iconv)
684
685 %description iconv
686 This is a dynamic shared object (DSO) for PHP that will add iconv
687 support.
688
689 %description iconv -l pl
690 Modu³ PHP dodaj±cy obs³ugê iconv.
691
692 %package imap
693 Summary:        IMAP extension module for PHP
694 Summary(pl):    Modu³ IMAP dla PHP
695 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
696 Group:          Libraries
697 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
698 Provides:       php(imap)
699
700 %description imap
701 This is a dynamic shared object (DSO) for PHP that will add IMAP
702 support.
703
704 %description imap -l pl
705 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
706
707 %description imap -l pt_BR
708 Um módulo para aplicações PHP que usam IMAP.
709
710 %package interbase
711 Summary:        InterBase/Firebird database module for PHP
712 Summary(pl):    Modu³ bazy danych InterBase/Firebird dla PHP
713 Group:          Libraries
714 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
715 Provides:       php(interbase)
716 %{?with_interbase_inst:Autoreq: false}
717
718 %description interbase
719 This is a dynamic shared object (DSO) for PHP that will add InterBase
720 and Firebird database support.
721
722 %description interbase -l pl
723 Modu³ PHP umo¿liwiaj±cy dostêp do baz danych InterBase i Firebird.
724
725 %package json
726 Summary:        PHP C extension for JSON serialization
727 Summary(pl):    rozszerzenie C PHP dla serializacji JSON
728 Group:          Libraries
729 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
730 Provides:       php(json)
731
732 %description json
733 php-json is an extremely fast PHP C extension for JSON (JavaScript
734 Object Notation) serialisation.
735
736 %description json -l pl
737 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
738 (JavaScript Object Notation).
739
740 %package ldap
741 Summary:        LDAP extension module for PHP
742 Summary(pl):    Modu³ LDAP dla PHP
743 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
744 Group:          Libraries
745 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
746 Provides:       php(ldap)
747
748 %description ldap
749 This is a dynamic shared object (DSO) for PHP that will add LDAP
750 support.
751
752 %description ldap -l pl
753 Modu³ PHP dodaj±cy obs³ugê LDAP.
754
755 %description ldap -l pt_BR
756 Um módulo para aplicações PHP que usam LDAP.
757
758 %package mbstring
759 Summary:        mbstring extension module for PHP
760 Summary(pl):    Modu³ mbstring dla PHP
761 Group:          Libraries
762 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
763 Provides:       php(mbstring)
764
765 %description mbstring
766 This is a dynamic shared object (DSO) for PHP that will add multibyte
767 string support.
768
769 %description mbstring -l pl
770 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
771
772 %package mcrypt
773 Summary:        mcrypt extension module for PHP
774 Summary(pl):    Modu³ mcrypt dla PHP
775 Group:          Libraries
776 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
777 Provides:       php(mcrypt)
778
779 %description mcrypt
780 This is a dynamic shared object (DSO) for PHP that will add mcrypt
781 support.
782
783 %description mcrypt -l pl
784 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
785
786 %package mhash
787 Summary:        mhash extension module for PHP
788 Summary(pl):    Modu³ mhash dla PHP
789 Group:          Libraries
790 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
791 Provides:       php(mhash)
792
793 %description mhash
794 This is a dynamic shared object (DSO) for PHP that will add mhash
795 support.
796
797 %description mhash -l pl
798 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
799
800 %package mime_magic
801 Summary:        mime_magic extension module for PHP
802 Summary(pl):    Modu³ mime_magic dla PHP
803 Group:          Libraries
804 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
805 Requires:       /usr/share/file/magic.mime
806 Provides:       php(mime_magic)
807
808 %description mime_magic
809 This PHP module adds support for MIME type lookup via file magic
810 numbers using magic.mime database.
811
812 %description mime_magic -l pl
813 Modu³ PHP dodaj±cy obs³ugê wyszukiwania typów MIME wed³ug magicznych
814 znaczników plików z u¿yciem bazy danych magic.mime.
815
816 %package ming
817 Summary:        ming extension module for PHP
818 Summary(pl):    Modu³ ming dla PHP
819 Group:          Libraries
820 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
821 Provides:       php(ming)
822
823 %description ming
824 This is a dynamic shared object (DSO) for PHP that will add ming
825 (Flash - .swf files) support.
826
827 %description ming -l pl
828 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
829 ming.
830
831 %package mssql
832 Summary:        MS SQL extension module for PHP
833 Summary(pl):    Modu³ MS SQL dla PHP
834 Group:          Libraries
835 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
836 Provides:       php(mssql)
837
838 %description mssql
839 This is a dynamic shared object (DSO) for PHP that will add MS SQL
840 databases support through FreeTDS library.
841
842 %description mssql -l pl
843 Modu³ PHP dodaj±cy obs³ugê baz danych MS SQL poprzez bibliotekê
844 FreeTDS.
845
846 %package mysql
847 Summary:        MySQL database module for PHP
848 Summary(pl):    Modu³ bazy danych MySQL dla PHP
849 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
850 Group:          Libraries
851 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
852 Provides:       php(mysql)
853
854 %description mysql
855 This is a dynamic shared object (DSO) for PHP that will add MySQL
856 database support.
857
858 %description mysql -l pl
859 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
860
861 %description mysql -l pt_BR
862 Um módulo para aplicações PHP que usam bancos de dados MySQL.
863
864 %package mysqli
865 Summary:        MySQLi module for PHP
866 Summary(pl):    Modu³ MySQLi dla PHP
867 Group:          Libraries
868 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
869 Requires:       mysql-libs >= 4.1.0
870 Provides:       php(mysqli)
871
872 %description mysqli
873 This is a dynamic shared object (DSO) for PHP that will add MySQLi
874 (Improved MySQL) support. The difference between it and mysql module
875 is that it provides access to functionality of MySQL 4.1 and above.
876
877 %description mysqli -l pl
878 Modu³ PHP umo¿liwiaj±cy udoskonalony dostêp do bazy danych MySQL.
879 Ró¿nic± miêdzy nim a modu³em mysql jest dostêp do funkcjonalno¶ci
880 MySQL w wersji 4.1 i nowszych.
881
882 %package ncurses
883 Summary:        ncurses module for PHP
884 Summary(pl):    Modu³ ncurses dla PHP
885 Group:          Libraries
886 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
887 Provides:       php(ncurses)
888
889 %description ncurses
890 This PHP module adds support for ncurses functions (only for cli and
891 cgi SAPIs).
892
893 %description ncurses -l pl
894 Modu³ PHP dodaj±cy obs³ugê funkcji ncurses (tylko do SAPI cli i cgi).
895
896 %package oci8
897 Summary:        Oracle 8+ database module for PHP
898 Summary(pl):    Modu³ bazy danych Oracle 8+ dla PHP
899 Group:          Libraries
900 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
901 Provides:       php(oci8)
902 Autoreq:        false
903
904 %description oci8
905 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
906 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
907
908 %description oci8 -l pl
909 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7, 8, 9 i 10
910 poprzez interfejs Oracle8 Call-Interface (OCI8).
911
912 %package odbc
913 Summary:        ODBC extension module for PHP
914 Summary(pl):    Modu³ ODBC dla PHP
915 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
916 Group:          Libraries
917 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
918 Requires:       unixODBC >= 2.1.1-3
919 Provides:       php(odbc)
920
921 %description odbc
922 This is a dynamic shared object (DSO) for PHP that will add ODBC
923 support.
924
925 %description odbc -l pl
926 Modu³ PHP ze wsparciem dla ODBC.
927
928 %description odbc -l pt_BR
929 Um módulo para aplicações PHP que usam ODBC.
930
931 %package openssl
932 Summary:        OpenSSL extension module for PHP
933 Summary(pl):    Modu³ OpenSSL dla PHP
934 Group:          Libraries
935 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
936 Provides:       php(openssl)
937
938 %description openssl
939 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
940 support.
941
942 Warning: this is an experimental module.
943
944 %description openssl -l pl
945 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki OpenSSL.
946
947 Uwaga: to jest modu³ eksperymentalny.
948
949 %package pcntl
950 Summary:        Process Control extension module for PHP
951 Summary(pl):    Modu³ Process Control dla PHP
952 Group:          Libraries
953 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
954 Provides:       php(pcntl)
955
956 %description pcntl
957 This is a dynamic shared object (DSO) for PHP that will add process
958 spawning and control support. It supports functions like fork(),
959 waitpid(), signal() etc.
960
961 Warning: this is an experimental module. Also, don't use it in
962 webserver environment!
963
964 %description pcntl -l pl
965 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
966 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
967
968 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
969 u¿ywania z serwerem WWW - nie próbuj tego!
970
971 %package pdo
972 Summary:        PHP Data Objects (PDO)
973 Summary(pl):    Obs³uga PHP Data Objects (PDO)
974 Group:          Libraries
975 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
976 Provides:       php(pdo)
977 Obsoletes:      php-pecl-PDO
978
979 %description pdo
980 This is a dynamic shared object (DSO) for PHP that will add PDO
981 support.
982
983 %description pdo -l pl
984 Modu³ PHP dodaj±cy obs³ugê PDO (PHP Data Objects).
985
986 %package pdo-dblib
987 Summary:        PHP Data Objects (PDO) FreeTDS support
988 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± FreeTDS
989 Group:          Libraries
990 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
991 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
992 Provides:       php(dblib)
993
994 %description pdo-dblib
995 This is a dynamic shared object (DSO) for PHP that will add PDO
996 FreeTDS support.
997
998 %description pdo-dblib -l pl
999 Modu³ dla PHP dodaj±cy obs³ugê baz danych FreeTDS za po¶rednictwem
1000 interfejsu PDO.
1001
1002 %package pdo-firebird
1003 Summary:        PHP Data Objects (PDO) Firebird support
1004 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± Firebirda
1005 Group:          Libraries
1006 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1007 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1008 Provides:       php(pdo-firebird)
1009 Obsoletes:      php-pecl-PDO_FIREBIRD
1010
1011 %description pdo-firebird
1012 This is a dynamic shared object (DSO) for PHP that will add PDO
1013 Firebird support.
1014
1015 %description pdo-firebird -l pl
1016 Modu³ dla PHP dodaj±cy obs³ugê baz danych Firebird za po¶rednictwem
1017 interfejsu PDO.
1018
1019 %package pdo-mysql
1020 Summary:        PHP Data Objects (PDO) MySQL support
1021 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± MySQL-a
1022 Group:          Libraries
1023 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1024 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1025 Provides:       php(pdo-mysql)
1026 Obsoletes:      php-pecl-PDO_MYSQL
1027
1028 %description pdo-mysql
1029 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1030 support.
1031
1032 %description pdo-mysql -l pl
1033 Modu³ dla PHP dodaj±cy obs³ugê baz danych MySQL za po¶rednictwem
1034 interfejsu PDO.
1035
1036 %package pdo-oci
1037 Summary:        PHP Data Objects (PDO) Oracle support
1038 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± Oracle'a
1039 Group:          Libraries
1040 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1041 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1042 Provides:       php(pdo-oci)
1043 Obsoletes:      php-pecl-PDO_OCI
1044
1045 %description pdo-oci
1046 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1047 support.
1048
1049 %description pdo-oci -l pl
1050 Modu³ dla PHP dodaj±cy obs³ugê baz danych Oracle za po¶rednictwem
1051 interfejsu PDO.
1052
1053 %package pdo-odbc
1054 Summary:        PHP Data Objects (PDO) ODBC support
1055 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± ODBC
1056 Group:          Libraries
1057 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1058 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1059 Provides:       php(pdo-odbc)
1060 Obsoletes:      php-pecl-PDO_ODBC
1061
1062 %description pdo-odbc
1063 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1064 support.
1065
1066 %description pdo-odbc -l pl
1067 Modu³ dla PHP dodaj±cy obs³ugê baz danych ODBC za po¶rednictwem
1068 interfejsu PDO.
1069
1070 %package pdo-pgsql
1071 Summary:        PHP Data Objects (PDO) PostgreSQL support
1072 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± PostgreSQL-a
1073 Group:          Libraries
1074 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1075 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1076 Provides:       php(pdo-pgsql)
1077 Obsoletes:      php-pecl-PDO_PGSQL
1078
1079 %description pdo-pgsql
1080 This is a dynamic shared object (DSO) for PHP that will add PDO
1081 PostgreSQL support.
1082
1083 %description pdo-pgsql -l pl
1084 Modu³ dla PHP dodaj±cy obs³ugê baz danych PostgreSQL za po¶rednictwem
1085 interfejsu PDO.
1086
1087 %package pdo-sqlite
1088 Summary:        PHP Data Objects (PDO) SQLite support
1089 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± SQLite
1090 Group:          Libraries
1091 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1092 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1093 Provides:       php(pdo-sqlite)
1094 Obsoletes:      php-pecl-PDO_SQLITE
1095
1096 %description pdo-sqlite
1097 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1098 support.
1099
1100 %description pdo-sqlite -l pl
1101 Modu³ dla PHP dodaj±cy obs³ugê baz danych SQLite za po¶rednictwem
1102 interfejsu PDO.
1103
1104 %package pgsql
1105 Summary:        PostgreSQL database module for PHP
1106 Summary(pl):    Modu³ bazy danych PostgreSQL dla PHP
1107 Group:          Libraries
1108 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1109 Provides:       php(pgsql)
1110
1111 %description pgsql
1112 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1113 database support.
1114
1115 %description pgsql -l pl
1116 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
1117
1118 %description pgsql -l pt_BR
1119 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1120
1121 %package posix
1122 Summary:        POSIX extension module for PHP
1123 Summary(pl):    Modu³ POSIX dla PHP
1124 Group:          Libraries
1125 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1126 Provides:       php(posix)
1127
1128 %description posix
1129 This is a dynamic shared object (DSO) for PHP that will add POSIX
1130 functions support to PHP.
1131
1132 %description posix -l pl
1133 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
1134
1135 %package pspell
1136 Summary:        pspell extension module for PHP
1137 Summary(pl):    Modu³ pspell dla PHP
1138 Group:          Libraries
1139 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1140 Provides:       php(pspell)
1141
1142 %description pspell
1143 This is a dynamic shared object (DSO) for PHP that will add pspell
1144 support to PHP. It allows to check the spelling of a word and offer
1145 suggestions.
1146
1147 %description pspell -l pl
1148 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
1149 sprawdzanie pisowni s³owa i sugerowanie poprawek.
1150
1151 %package readline
1152 Summary:        readline extension module for PHP
1153 Summary(pl):    Modu³ readline dla PHP
1154 Group:          Libraries
1155 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
1156 Provides:       php(readline)
1157
1158 %description readline
1159 This PHP module adds support for readline functions (only for cli and
1160 cgi SAPIs).
1161
1162 %description readline -l pl
1163 Modu³ PHP dodaj±cy obs³ugê funkcji readline (tylko do SAPI cli i cgi).
1164
1165 %package recode
1166 Summary:        recode extension module for PHP
1167 Summary(pl):    Modu³ recode dla PHP
1168 Group:          Libraries
1169 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1170 Requires:       recode >= 3.5d-3
1171 Provides:       php(recode)
1172
1173 %description recode
1174 This is a dynamic shared object (DSO) for PHP that will add recode
1175 support.
1176
1177 %description recode -l pl
1178 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1179 bibliotekê recode).
1180
1181 %package shmop
1182 Summary:        Shared Memory Operations extension module for PHP
1183 Summary(pl):    Modu³ shmop dla PHP
1184 Group:          Libraries
1185 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1186 Provides:       php(shmop)
1187
1188 %description shmop
1189 This is a dynamic shared object (DSO) for PHP that will add Shared
1190 Memory Operations support.
1191
1192 Warning: this is an experimental module.
1193
1194 %description shmop -l pl
1195 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1196
1197 Uwaga: to jest modu³ eksperymentalny.
1198
1199 %package simplexml
1200 Summary:        Simple XML extension module for PHP
1201 Summary(pl):    Modu³ prostego rozszerzenia XML dla PHP
1202 Group:          Libraries
1203 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1204 Provides:       php(simplexml)
1205
1206 %description simplexml
1207 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1208 support.
1209
1210 %description simplexml -l pl
1211 Modu³ PHP dodaj±cy obs³ugê prostego XML-a.
1212
1213 %package snmp
1214 Summary:        SNMP extension module for PHP
1215 Summary(pl):    Modu³ SNMP dla PHP
1216 Group:          Libraries
1217 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1218 Requires:       %{name}-sockets = %{epoch}:%{version}-%{release}
1219 Provides:       php(snmp)
1220
1221 %description snmp
1222 This is a dynamic shared object (DSO) for PHP that will add SNMP
1223 support.
1224
1225 %description snmp -l pl
1226 Modu³ PHP dodaj±cy obs³ugê SNMP.
1227
1228 %package soap
1229 Summary:        soap extension module for PHP
1230 Summary(pl):    Modu³ soap dla PHP
1231 Group:          Libraries
1232 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1233 Provides:       php(soap)
1234
1235 %description soap
1236 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1237 support.
1238
1239 %description soap -l pl
1240 Modu³ PHP dodaj±cy obs³ugê SOAP/WSDL.
1241
1242 %package sockets
1243 Summary:        sockets extension module for PHP
1244 Summary(pl):    Modu³ socket dla PHP
1245 Group:          Libraries
1246 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1247 Provides:       php(sockets)
1248
1249 %description sockets
1250 This is a dynamic shared object (DSO) for PHP that will add sockets
1251 support.
1252
1253 Warning: this is an experimental module.
1254
1255 %description sockets -l pl
1256 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1257
1258 Uwaga: to jest modu³ eksperymentalny.
1259
1260 %package sqlite
1261 Summary:        SQLite extension module for PHP
1262 Summary(pl):    Modu³ SQLite dla PHP
1263 Group:          Libraries
1264 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1265 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1266 Provides:       php(sqlite)
1267
1268 %description sqlite
1269 SQLite is a C library that implements an embeddable SQL database
1270 engine. Programs that link with the SQLite library can have SQL
1271 database access without running a separate RDBMS process.
1272
1273 SQLite is not a client library used to connect to a big database
1274 server. SQLite is the server. The SQLite library reads and writes
1275 directly to and from the database files on disk.
1276
1277 %description sqlite -l pl
1278 SQLite jest napisan± w C bibliotek± implementuj±c± osadzalny silnik
1279 bazodanowy SQL. Program linkuj±cy siê z bibliotek± SQLite mo¿e mieæ
1280 dostêp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1281 RDBMS.
1282
1283 SQLite to nie klient baz danych - biblioteka nie ³±czy siê z serwerami
1284 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1285 zapisuje dane bezpo¶rednio z/do plików baz danych znajduj±cych siê na
1286 dysku.
1287
1288 %package sybase
1289 Summary:        Sybase DB extension module for PHP
1290 Summary(pl):    Modu³ Sybase DB dla PHP
1291 Group:          Libraries
1292 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1293 Provides:       php(sybase)
1294 Obsoletes:      php-sybase-ct
1295
1296 %description sybase
1297 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1298 MS SQL databases support through SYBDB library. Currently Sybase
1299 module is not maintained. Using Sybase-CT module is recommended
1300 instead.
1301
1302 %description sybase -l pl
1303 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1304 bibliotekê SYBDB. W chwili obecnej modu³ Sybase nie jest wspierany.
1305 Zaleca siê u¿ywanie modu³u Sybase-CT.
1306
1307 %package sybase-ct
1308 Summary:        Sybase-CT extension module for PHP
1309 Summary(pl):    Modu³ Sybase-CT dla PHP
1310 Group:          Libraries
1311 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1312 Provides:       php(sybase-ct)
1313 Obsoletes:      php-sybase
1314
1315 %description sybase-ct
1316 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1317 MS SQL databases support through CT-lib.
1318
1319 %description sybase-ct -l pl
1320 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1321 CT-lib.
1322
1323 %package sysvmsg
1324 Summary:        SysV msg extension module for PHP
1325 Summary(pl):    Modu³ SysV msg dla PHP
1326 Group:          Libraries
1327 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1328 Provides:       php(sysvmsg)
1329
1330 %description sysvmsg
1331 This is a dynamic shared object (DSO) for PHP that will add SysV
1332 message queues support.
1333
1334 %description sysvmsg -l pl
1335 Modu³ PHP umo¿liwiaj±cy korzystanie z kolejek komunikatów SysV.
1336
1337 %package sysvsem
1338 Summary:        SysV sem extension module for PHP
1339 Summary(pl):    Modu³ SysV sem dla PHP
1340 Group:          Libraries
1341 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1342 Provides:       php(sysvsem)
1343
1344 %description sysvsem
1345 This is a dynamic shared object (DSO) for PHP that will add SysV
1346 semaphores support.
1347
1348 %description sysvsem -l pl
1349 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1350
1351 %package sysvshm
1352 Summary:        SysV shm extension module for PHP
1353 Summary(pl):    Modu³ SysV shm dla PHP
1354 Group:          Libraries
1355 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1356 Provides:       php(sysvshm)
1357
1358 %description sysvshm
1359 This is a dynamic shared object (DSO) for PHP that will add SysV
1360 Shared Memory support.
1361
1362 %description sysvshm -l pl
1363 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1364
1365 %package tidy
1366 Summary:        Tidy extension module for PHP
1367 Summary(pl):    Modu³ Tidy dla PHP
1368 Group:          Libraries
1369 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1370 Requires:       tidy
1371 Provides:       php(tidy)
1372
1373 %description tidy
1374 This is a dynamic shared object (DSO) for PHP that will add Tidy
1375 support.
1376
1377 %description tidy -l pl
1378 Modu³ PHP umo¿liwiaj±cy korzystanie z tidy.
1379
1380 %package tokenizer
1381 Summary:        tokenizer extension module for PHP
1382 Summary(pl):    Modu³ rozszerzenia tokenizer dla PHP
1383 Group:          Libraries
1384 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1385 Provides:       php(tokenizer)
1386
1387 %description tokenizer
1388 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1389 support.
1390
1391 %description tokenizer -l pl
1392 Modu³ PHP dodaj±cy obs³ugê tokenizera do PHP.
1393
1394 %package wddx
1395 Summary:        wddx extension module for PHP
1396 Summary(pl):    Modu³ wddx dla PHP
1397 Group:          Libraries
1398 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1399 #Requires:      %{name}-session = %{epoch}:%{version}-%{release}
1400 Requires:       %{name}-xml = %{epoch}:%{version}-%{release}
1401 Provides:       php(wddx)
1402
1403 %description wddx
1404 This is a dynamic shared object (DSO) for PHP that will add wddx
1405 support.
1406
1407 %description wddx -l pl
1408 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1409
1410 %package xml
1411 Summary:        XML extension module for PHP
1412 Summary(pl):    Modu³ XML dla PHP
1413 Group:          Libraries
1414 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1415 Provides:       php(xml)
1416
1417 %description xml
1418 This is a dynamic shared object (DSO) for PHP that will add XML
1419 support. This extension lets you create XML parsers and then define
1420 handlers for different XML events.
1421
1422 %description xml -l pl
1423 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1424 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1425 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1426
1427 %package xmlreader
1428 Summary:        XML Reader extension module for PHP
1429 Summary(pl):    Modu³ XML Reader dla PHP
1430 Group:          Libraries
1431 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1432 Requires:       %{name}-dom = %{epoch}:%{version}-%{release}
1433 Provides:       php(xmlreader)
1434
1435 %description xmlreader
1436 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1437 support. The XMLReader extension is an XML Pull parser. The reader
1438 acts as a cursor going forward on the document stream and stopping at
1439 each node on the way.
1440
1441 %description xmlreader -l pl
1442 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML w trybie Pull. Czytnik
1443 dzia³a jako kursor przechodz±cy przez strumieñ dokumentu i
1444 zatrzymuj±cy siê naka¿dym wê¼le po drodze.
1445
1446 %package xmlrpc
1447 Summary:        xmlrpc extension module for PHP
1448 Summary(pl):    Modu³ xmlrpc dla PHP
1449 Group:          Libraries
1450 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1451 Provides:       php(xmlrpc)
1452
1453 %description xmlrpc
1454 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1455 support.
1456
1457 Warning: this is an experimental module.
1458
1459 %description xmlrpc -l pl
1460 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1461
1462 Uwaga: to jest modu³ eksperymentalny.
1463
1464 %package xmlwriter
1465 Summary:        provides fast, non-cached, forward-only means to write XML data
1466 Summary(pl):    szybka, nie cachowana metoda zapisu danych w formacie XML
1467 Group:          Libraries
1468 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1469 Provides:       php(xmlwriter)
1470
1471 %description xmlwriter
1472 This extension wraps the libxml xmlWriter API. Represents a writer
1473 that provides a non-cached, forward-only means of generating streams
1474 or files containing XML data.
1475
1476 %description xmlwriter -l pl
1477 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obs³ugê
1478 zapisu dostarczaj±c± nie cachowanych metod generowania strumieni lub
1479 plików zawieraj±cych dane XML.
1480
1481 %package xsl
1482 Summary:        xsl extension module for PHP
1483 Summary(pl):    Modu³ xsl dla PHP
1484 Group:          Libraries
1485 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1486 Requires:       libxslt >= 1.0.18
1487 # actually not true, functionality is similar, but API differs
1488 Provides:       php(xsl)
1489 Obsoletes:      php-xslt <= 3:4.3.8-1
1490
1491 %description xsl
1492 This is a dynamic shared object (DSO) for PHP that will add new XSL
1493 support (using libxslt).
1494
1495 %description xsl -l pl
1496 Modu³ PHP dodaj±cy now± obs³ugê XSLT (przy u¿yciu libxslt).
1497
1498 %package zip
1499 Summary:        Zip management extension
1500 Summary(pl):    Zarz±dzanie archiwami zip
1501 Group:          Libraries
1502 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1503 Provides:       php(zip)
1504
1505 %description zip
1506 Zip is an extension to create, modify and read zip files.
1507
1508 %description zip -l pl
1509 Zip jest rozszerzeniem umo¿liwiaj±cym tworzenie, modyfikacjê oraz
1510 odczyt archiwów zip.
1511
1512 %package zlib
1513 Summary:        Zlib extension module for PHP
1514 Summary(pl):    Modu³ zlib dla PHP
1515 Group:          Libraries
1516 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1517 Provides:       php(zlib)
1518
1519 %description zlib
1520 This is a dynamic shared object (DSO) for PHP that will add zlib
1521 compression support to PHP.
1522
1523 %description zlib -l pl
1524 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1525
1526 %prep
1527 %setup -q
1528 %patch36 -p1
1529 %patch0 -p1
1530 %patch1 -p1
1531 %patch2 -p1
1532 %patch3 -p1
1533 %patch4 -p1
1534
1535 %patch6 -p1
1536 %patch7 -p1
1537 %patch8 -p1
1538
1539 cp php.ini-dist php.ini
1540 %patch10 -p1
1541 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1542 # conditionally...
1543 %patch11 -p1
1544 %patch14 -p1
1545 %patch15 -p1
1546 %patch16 -p1
1547 %patch17 -p1
1548 %patch18 -p1
1549 %patch19 -p1
1550 %patch20 -p1
1551 %patch21 -p1
1552 #%patch23 -p1 # UPDATE?
1553 %patch24 -p1
1554 %patch26 -p1
1555
1556 %if %{with hardening}
1557 zcat %{SOURCE8} | patch -p1 || exit 1
1558 patch -p1 < %{PATCH30} || exit 1
1559 %endif
1560 %patch31 -p1
1561 %patch32 -p1
1562 %patch33 -p1
1563 %{?with_versioning:%patch35 -p1}
1564 %if "%{_lib}" == "lib64"
1565 %patch38 -p1
1566 %endif
1567 %patch39 -p1
1568
1569 # conflict seems to be resolved by recode patches
1570 rm -f ext/recode/config9.m4
1571
1572 # remove all bundled libraries not to link with them accidentally
1573 #rm -rf ext/sqlite/libsqlite
1574 #rm -rf ext/bcmath/libbcmath
1575 #rm -rf ext/date/lib
1576 #rm -rf ext/dba/libcdb
1577 #rm -rf ext/dba/libflatfile
1578 #rm -rf ext/dba/libinifile
1579 #rm -rf ext/gd/libgd
1580 #rm -rf ext/mbstring/libmbfl
1581 #rm -rf ext/mbstring/oniguruma
1582 rm -rf ext/pcre/pcrelib
1583 rm -rf ext/pdo_sqlite/sqlite
1584 #rm -rf ext/soap/interop
1585 rm -rf ext/xmlrpc/libxmlrpc
1586
1587 %build
1588 if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then
1589         echo "Set %%define php_api_version to $API and rerun."
1590         exit 1
1591 fi
1592
1593 if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then
1594         echo "Set %%define zend_module_api to $API and rerun."
1595         exit 1
1596 fi
1597
1598 if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then
1599         echo "Set %%define zend_extension_api to $API and rerun."
1600         exit 1
1601 fi
1602
1603 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1604 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1605         rm -f Makefile.{fcgi,cgi,cli,apxs{1,2}} # now remove Makefile copies
1606         %{__libtoolize}
1607         %{__aclocal}
1608         ./buildconf --force
1609         touch _built-conf
1610 fi
1611 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1612
1613 sapis="
1614 %if %{with fcgi}
1615 fcgi
1616 %endif
1617 cgi cli
1618 %if %{with apache1}
1619 apxs1
1620 %endif
1621 %if %{with apache2}
1622 apxs2
1623 %endif
1624 "
1625 for sapi in $sapis; do
1626         [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1627
1628         %configure \
1629         `
1630         case $sapi in
1631         cgi)
1632                 echo --enable-discard-path --enable-force-cgi-redirect
1633         ;;
1634         cli)
1635                 echo --disable-cgi
1636         ;;
1637         fcgi)
1638                 echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect
1639         ;;
1640         apxs1)
1641                 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
1642                 echo --with-apxs=%{apxs1} --with-apache-version=$ver
1643         ;;
1644         apxs2)
1645                 ver=%(rpm -q --qf '%%{version}' apache-apxs)
1646                 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
1647         ;;
1648         esac
1649         ` \
1650 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1651         --cache-file=config.cache \
1652 %endif
1653         --with-libdir=%{_lib} \
1654         --with-config-file-path=%{_sysconfdir} \
1655         --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1656         --with-exec-dir=%{_bindir} \
1657         --%{!?debug:dis}%{?debug:en}able-debug \
1658         %{?with_zts:--enable-maintainer-zts} \
1659         --enable-inline-optimization \
1660         --enable-memory-limit \
1661         --enable-bcmath=shared \
1662         --enable-calendar=shared \
1663         --enable-ctype=shared \
1664         --enable-dba=shared \
1665         --with-inifile \
1666         --with-flatfile \
1667         --enable-dom=shared \
1668         --enable-exif=shared \
1669         --enable-ftp=shared \
1670         --enable-gd-native-ttf \
1671         --enable-gd-jus-conf \
1672         --enable-libxml \
1673         --enable-magic-quotes \
1674         --enable-mbstring=shared,all \
1675         --enable-mbregex \
1676         --enable-pcntl=shared \
1677         --enable-pdo=shared \
1678         --enable-json=shared \
1679         --enable-hash=shared \
1680         --enable-xmlwriter=shared \
1681 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
1682         --with-pdo-dblib=shared \
1683 %endif
1684 %if %{with interbase} && !%{with interbase_inst}
1685         --with-pdo-firebird=shared \
1686 %endif
1687         --with-pdo-mysql=shared \
1688         %{?with_oci8:--with-pdo-oci=shared} \
1689         %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1690         %{?with_pgsql:--with-pdo-pgsql=shared} \
1691         %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
1692         --enable-posix=shared \
1693         --enable-reflection \
1694         --enable-session \
1695         --enable-shared \
1696         --enable-shmop=shared \
1697         --enable-simplexml \
1698         --enable-sysvmsg=shared \
1699         --enable-sysvsem=shared \
1700         --enable-sysvshm=shared \
1701         --enable-track-vars \
1702         --enable-trans-sid \
1703         --enable-safe-mode \
1704         --enable-soap=shared \
1705         --enable-sockets=shared \
1706         --enable-tokenizer=shared \
1707         --enable-ucd-snmp-hack \
1708         %{?with_wddx:--enable-wddx=shared} \
1709         --enable-xml=shared \
1710         --enable-xmlreader=shared \
1711         --with-bz2=shared \
1712         %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1713         %{?with_db3:--with-db3}%{!?with_db3:--with-db4} \
1714         --enable-dbase=shared \
1715 %if %{with xmlrpc}
1716         --with-expat-dir=shared,/usr \
1717 %else
1718         --without-expat-dir \
1719 %endif
1720         %{?with_fdf:--with-fdftk=shared} \
1721         --with-iconv=shared \
1722         --with-freetype-dir=shared \
1723         --with-gettext=shared \
1724         --with-gd=shared,/usr \
1725         --with-gdbm \
1726         --with-gmp=shared \
1727         %{?with_imap:--with-imap=shared --with-imap-ssl} \
1728         %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1729         --with-jpeg-dir=/usr \
1730         %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1731         --with-mcrypt=shared \
1732         %{?with_mhash:--with-mhash=shared} \
1733         %{?with_mime_magic:--with-mime-magic=shared,/usr/share/file/magic.mime}%{!?with_mime_magic:--disable-mime-magic} \
1734         %{?with_ming:--with-ming=shared} \
1735         %{?with_mm:--with-mm} \
1736         %{?with_mssql:--with-mssql=shared} \
1737         --with-mysql=shared,/usr \
1738         --with-mysql-sock=/var/lib/mysql/mysql.sock \
1739         %{?with_mysqli:--with-mysqli=shared} \
1740         --with-ncurses=shared \
1741         %{?with_oci8:--with-oci8=shared} \
1742         %{?with_openssl:--with-openssl=shared} \
1743         --with-kerberos \
1744         %{!?with_pcre:--without-pcre-regex --disable-filter}%{?with_pcre:--with-pcre-regex=/usr} \
1745         --with-pear=%{php_pear_dir} \
1746         %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1747         --with-png-dir=/usr \
1748         %{?with_pspell:--with-pspell=shared} \
1749         --with-readline=shared \
1750         %{?with_recode:--with-recode=shared} \
1751         --with-regex=php \
1752         --without-sablot-js \
1753         %{?with_snmp:--with-snmp=shared} \
1754         %{?with_sybase:--with-sybase=shared,/usr} \
1755         %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1756         %{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1757         --with-t1lib=shared \
1758         %{?with_tidy:--with-tidy=shared} \
1759         --with-tiff-dir=/usr \
1760         %{?with_odbc:--with-unixODBC=shared,/usr} \
1761         %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1762         --with-xsl=shared \
1763         --with-zlib=shared \
1764         --with-zlib-dir=shared,/usr \
1765         --enable-zip=shared,/usr \
1766
1767         cp -f Makefile Makefile.$sapi
1768         cp -f main/php_config.h php_config.h.$sapi
1769 done
1770
1771 # must make this first, so modules can link against it.
1772 %{__make} libphp_common.la
1773 %{__make} build-modules
1774
1775 %if %{with apache1}
1776 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1777 %endif
1778
1779 %if %{with apache2}
1780 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1781 %endif
1782
1783 # FCGI
1784 %if %{with fcgi}
1785 cp -af php_config.h.fcgi main/php_config.h
1786 %{__make} sapi/cgi/php -f Makefile.fcgi
1787 cp -r sapi/cgi sapi/fcgi
1788 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1789 %endif
1790
1791 # CGI
1792 cp -af php_config.h.cgi main/php_config.h
1793 %{__make} sapi/cgi/php -f Makefile.cgi
1794
1795 # CLI
1796 cp -af php_config.h.cli main/php_config.h
1797 %{__make} sapi/cli/php -f Makefile.cli
1798
1799 %install
1800 rm -rf $RPM_BUILD_ROOT
1801 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
1802         $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
1803         $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1804         $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/httpd.conf} \
1805         $RPM_BUILD_ROOT%{_mandir}/man1 \
1806
1807 # install the apache modules' files
1808 %{__make} install-headers install-build install-modules install-programs \
1809         INSTALL_ROOT=$RPM_BUILD_ROOT
1810
1811 # install apache1 DSO module
1812 %if %{with apache1}
1813 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
1814 %endif
1815
1816 # install apache2 DSO module
1817 %if %{with apache2}
1818 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
1819 %endif
1820
1821 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1822 # fix install paths, avoid evil rpaths
1823 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
1824 # better solution?
1825 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
1826
1827 # install CGI
1828 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php.cgi
1829
1830 # install FCGI
1831 %if %{with fcgi}
1832 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php.fcgi
1833 %endif
1834
1835 # install CLI
1836 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
1837 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
1838 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
1839
1840 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1841
1842 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1843 %if %{with fcgi}
1844 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1845 %endif
1846 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1847 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1848 install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini
1849
1850 %if %{with apache1}
1851 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
1852 install %{SOURCE3} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
1853 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1854 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
1855 %endif
1856
1857 %if %{with apache2}
1858 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1859 install %{SOURCE3} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1860 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1861 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
1862 %endif
1863
1864 cp -f Zend/LICENSE{,.Zend}
1865
1866 # Generate stub .ini files for each subpackage
1867 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1868 for so in modules/*.so; do
1869         mod=$(basename $so .so)
1870         conf="%{_sysconfdir}/conf.d/${mod}.ini"
1871         # xml needs to be loaded before wddx
1872         [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_${mod}.ini"
1873         cat > $RPM_BUILD_ROOT${conf} <<EOF
1874 ; Enable ${mod} extension module
1875 extension=${mod}.so
1876 EOF
1877 done
1878
1879 # per SAPI ini directories
1880 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi,cli,cgi-fcgi,apache,apache2handler}.d
1881
1882 # for CLI SAPI only
1883 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{ncurses,pcntl,readline}.ini,cli.d}
1884
1885 # use system automake and {lib,sh}tool
1886 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
1887 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
1888 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
1889 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
1890
1891 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
1892 # isn't installed by install-headers make target, we do it manually here.
1893 # this header file is required by e.g. filter PECL extension
1894 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
1895
1896 %clean
1897 rm -rf $RPM_BUILD_ROOT
1898
1899 %post -n apache1-mod_php
1900 if [ "$1" = "1" ]; then
1901         %service -q apache restart
1902 fi
1903
1904 %postun -n apache1-mod_php
1905 if [ "$1" = "0" ]; then
1906         %service -q apache restart
1907 fi
1908
1909 %post -n apache-mod_php
1910 if [ "$1" = "1" ]; then
1911         %service -q httpd restart
1912 fi
1913
1914 %postun -n apache-mod_php
1915 if [ "$1" = "0" ]; then
1916         %service -q httpd restart
1917 fi
1918
1919 %post   common -p /sbin/ldconfig
1920 %postun common -p /sbin/ldconfig
1921
1922 %posttrans common
1923 # minimizing apache restarts logics. we restart webserver:
1924 #
1925 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1926 # 2. first install of extension (post: $1 = 1)
1927 # 2. uninstall of extension (postun: $1 == 0)
1928 #
1929 # the strict internal deps between extensions (and apache modules) and
1930 # common package are very important for all this to work.
1931
1932 # restart webserver at the end of transaction
1933 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
1934 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
1935
1936 %if %{with apache1}
1937 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
1938 sed -i -e '
1939         /^AddType application\/x-httpd-php \.php/s,^,#,
1940         /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
1941 ' /etc/apache/apache.conf
1942 %service -q apache restart
1943 %endif
1944
1945 %if %{with apache2}
1946 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
1947 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1948 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1949         cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1950         mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
1951 fi
1952 %endif
1953
1954 # macro called at extension post scriptlet
1955 %define extension_post \
1956 if [ "$1" = "1" ]; then \
1957         [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1958         [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1959 fi
1960
1961 # macro called at extension postun scriptlet
1962 %define extension_postun \
1963 if [ "$1" = "0" ]; then \
1964         [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1965         [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1966 fi
1967
1968 %define extension_scripts() \
1969 %post %1 \
1970 %extension_post \
1971 \
1972 %postun %1 \
1973 %extension_postun
1974
1975 # extension scripts defines
1976 %extension_scripts bcmath
1977 %extension_scripts bzip2
1978 %extension_scripts calendar
1979 %extension_scripts ctype
1980 %extension_scripts curl
1981 %extension_scripts dba
1982 %extension_scripts dbase
1983 %extension_scripts dom
1984 %extension_scripts exif
1985 %extension_scripts fdf
1986 %extension_scripts ftp
1987 %extension_scripts gd
1988 %extension_scripts gettext
1989 %extension_scripts gmp
1990 %extension_scripts hash
1991 %extension_scripts iconv
1992 %extension_scripts imap
1993 %extension_scripts interbase
1994 %extension_scripts json
1995 %extension_scripts ldap
1996 %extension_scripts mbstring
1997 %extension_scripts mcrypt
1998 %extension_scripts mhash
1999 %extension_scripts mime_magic
2000 %extension_scripts ming
2001 %extension_scripts mssql
2002 %extension_scripts mysql
2003 %extension_scripts mysqli
2004 %extension_scripts oci8
2005 %extension_scripts odbc
2006 %extension_scripts openssl
2007 %extension_scripts pdo-dblib
2008 %extension_scripts pdo-firebird
2009 %extension_scripts pdo-mysql
2010 %extension_scripts pdo-odbc
2011 %extension_scripts pdo-pgsql
2012 %extension_scripts pdo-sqlite
2013 %extension_scripts pgsql
2014 %extension_scripts posix
2015 %extension_scripts pspell
2016 %extension_scripts recode
2017 %extension_scripts shmop
2018 %extension_scripts snmp
2019 %extension_scripts soap
2020 %extension_scripts sockets
2021 %extension_scripts sqlite
2022 %extension_scripts sybase
2023 %extension_scripts sybase-ct
2024 %extension_scripts sysvmsg
2025 %extension_scripts sysvsem
2026 %extension_scripts sysvshm
2027 %extension_scripts tidy
2028 %extension_scripts tokenizer
2029 %extension_scripts wddx
2030 %extension_scripts xml
2031 %extension_scripts xmlreader
2032 %extension_scripts xmlrpc
2033 %extension_scripts xmlwriter
2034 %extension_scripts xsl
2035 %extension_scripts zip
2036 %extension_scripts zlib
2037
2038 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2039 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2040
2041 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2042 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bzip2\.so/d' %{_sysconfdir}/php.ini
2043
2044 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2045 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2046
2047 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2048 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2049
2050 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2051 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2052
2053 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2054 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2055
2056 %triggerun dbase -- %{name}-dbase < 4:5.0.4-9.1
2057 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbase\.so/d' %{_sysconfdir}/php.ini
2058
2059 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2060 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini
2061
2062 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2063 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2064
2065 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2066 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2067
2068 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2069 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2070
2071 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2072 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2073
2074 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2075 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2076
2077 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2078 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2079
2080 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2081 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2082
2083 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2084 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2085
2086 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2087 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2088
2089 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2090 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2091
2092 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2093 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2094
2095 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2096 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2097
2098 %triggerun mhash -- %{name}-mhash < 4:5.0.4-9.1
2099 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mhash\.so/d' %{_sysconfdir}/php.ini
2100
2101 %triggerun mime_magic -- %{name}-mime_magic < 4:5.0.4-9.1
2102 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mime_magic\.so/d' %{_sysconfdir}/php.ini
2103
2104 %triggerun ming -- %{name}-ming < 4:5.0.4-9.1
2105 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ming\.so/d' %{_sysconfdir}/php.ini
2106
2107 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2108 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2109
2110 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2111 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2112
2113 %triggerun ncurses -- %{name}-ncurses < 4:5.1.2-9.5
2114 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2115         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cgi.ini
2116 fi
2117 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2118         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cli.ini
2119 fi
2120
2121 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2122 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini
2123
2124 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2125 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2126
2127 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2128 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2129
2130 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2131 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2132
2133 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2134 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2135         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2136 fi
2137 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2138         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2139 fi
2140
2141 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2142 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2143
2144 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2145 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2146
2147 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2148 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2149
2150 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2151 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2152         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2153 fi
2154 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2155         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2156 fi
2157
2158 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2159 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2160
2161 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2162 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2163
2164 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2165 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2166
2167 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2168 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini
2169
2170 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2171 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2172
2173 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2174 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini
2175
2176 %triggerun sybase -- %{name}-sybase < 4:5.0.4-9.1
2177 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase\.so/d' %{_sysconfdir}/php.ini
2178
2179 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2180 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini
2181
2182 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2183 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2184
2185 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2186 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2187
2188 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2189 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2190
2191 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2192 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini
2193
2194 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2195 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2196
2197 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2198 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2199
2200 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2201 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2202
2203 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2204 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini
2205
2206 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2207 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2208
2209 %if %{with apache1}
2210 %files -n apache1-mod_php
2211 %defattr(644,root,root,755)
2212 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2213 %dir %{_sysconfdir}/apache.d
2214 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2215 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2216 /home/services/apache/icons/*
2217 %endif
2218
2219 %if %{with apache2}
2220 %files -n apache-mod_php
2221 %defattr(644,root,root,755)
2222 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php.conf
2223 %dir %{_sysconfdir}/apache2handler.d
2224 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2225 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2226 /home/services/httpd/icons/*
2227 %endif
2228
2229 %if %{with fcgi}
2230 %files fcgi
2231 %defattr(644,root,root,755)
2232 %doc sapi/cgi/README.FastCGI
2233 %dir %{_sysconfdir}/cgi-fcgi.d
2234 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2235 %attr(755,root,root) %{_bindir}/php.fcgi
2236 %endif
2237
2238 %files cgi
2239 %defattr(644,root,root,755)
2240 %dir %{_sysconfdir}/cgi.d
2241 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2242 %attr(755,root,root) %{_bindir}/php.cgi
2243
2244 %files cli
2245 %defattr(644,root,root,755)
2246 %dir %{_sysconfdir}/cli.d
2247 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2248 %attr(755,root,root) %{_bindir}/php.cli
2249 %{_mandir}/man1/php.1*
2250 %{_mandir}/man1/php.cli.1*
2251
2252 %files program
2253 %defattr(644,root,root,755)
2254 %attr(755,root,root) %{_bindir}/php
2255
2256 %files common
2257 %defattr(644,root,root,755)
2258 %doc php.ini-*
2259 %doc CREDITS Zend/ZEND_CHANGES
2260 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2261
2262 %dir %{_sysconfdir}
2263 %dir %{_sysconfdir}/conf.d
2264 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2265 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2266 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2267 %dir %{extensionsdir}
2268
2269 %doc ext/session/mod_files.sh
2270
2271 %files devel
2272 %defattr(644,root,root,755)
2273 %doc README.UNIX-BUILD-SYSTEM
2274 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2275 %doc CODING_STANDARDS
2276 %attr(755,root,root) %{_bindir}/phpize
2277 %attr(755,root,root) %{_bindir}/php-config
2278 %attr(755,root,root) %{_libdir}/libphp_common.so
2279 %{_libdir}/libphp_common.la
2280 %{_includedir}/php
2281 %{_libdir}/php/build
2282 %{_mandir}/man1/*
2283
2284 %files bcmath
2285 %defattr(644,root,root,755)
2286 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2287 %attr(755,root,root) %{extensionsdir}/bcmath.so
2288
2289 %files bzip2
2290 %defattr(644,root,root,755)
2291 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2292 %attr(755,root,root) %{extensionsdir}/bz2.so
2293
2294 %files calendar
2295 %defattr(644,root,root,755)
2296 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2297 %attr(755,root,root) %{extensionsdir}/calendar.so
2298
2299 %files ctype
2300 %defattr(644,root,root,755)
2301 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2302 %attr(755,root,root) %{extensionsdir}/ctype.so
2303
2304 %if %{with curl}
2305 %files curl
2306 %defattr(644,root,root,755)
2307 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2308 %attr(755,root,root) %{extensionsdir}/curl.so
2309 %endif
2310
2311 %files dba
2312 %defattr(644,root,root,755)
2313 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2314 %attr(755,root,root) %{extensionsdir}/dba.so
2315
2316 %files dbase
2317 %defattr(644,root,root,755)
2318 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2319 %attr(755,root,root) %{extensionsdir}/dbase.so
2320
2321 %files dom
2322 %defattr(644,root,root,755)
2323 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2324 %attr(755,root,root) %{extensionsdir}/dom.so
2325
2326 %if %{with fdf}
2327 %files fdf
2328 %defattr(644,root,root,755)
2329 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2330 %attr(755,root,root) %{extensionsdir}/fdf.so
2331 %endif
2332
2333 %files exif
2334 %defattr(644,root,root,755)
2335 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2336 %attr(755,root,root) %{extensionsdir}/exif.so
2337
2338 %files ftp
2339 %defattr(644,root,root,755)
2340 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2341 %attr(755,root,root) %{extensionsdir}/ftp.so
2342
2343 %files gd
2344 %defattr(644,root,root,755)
2345 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2346 %attr(755,root,root) %{extensionsdir}/gd.so
2347
2348 %files gettext
2349 %defattr(644,root,root,755)
2350 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2351 %attr(755,root,root) %{extensionsdir}/gettext.so
2352
2353 %files gmp
2354 %defattr(644,root,root,755)
2355 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2356 %attr(755,root,root) %{extensionsdir}/gmp.so
2357
2358 %files hash
2359 %defattr(644,root,root,755)
2360 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2361 %attr(755,root,root) %{extensionsdir}/hash.so
2362
2363 %files iconv
2364 %defattr(644,root,root,755)
2365 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2366 %attr(755,root,root) %{extensionsdir}/iconv.so
2367
2368 %if %{with imap}
2369 %files imap
2370 %defattr(644,root,root,755)
2371 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2372 %attr(755,root,root) %{extensionsdir}/imap.so
2373 %endif
2374
2375 %if %{with interbase}
2376 %files interbase
2377 %defattr(644,root,root,755)
2378 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2379 %attr(755,root,root) %{extensionsdir}/interbase.so
2380 %endif
2381
2382 %files json
2383 %defattr(644,root,root,755)
2384 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
2385 %attr(755,root,root) %{extensionsdir}/json.so
2386
2387 %if %{with ldap}
2388 %files ldap
2389 %defattr(644,root,root,755)
2390 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2391 %attr(755,root,root) %{extensionsdir}/ldap.so
2392 %endif
2393
2394 %files mbstring
2395 %defattr(644,root,root,755)
2396 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2397 %attr(755,root,root) %{extensionsdir}/mbstring.so
2398
2399 %files mcrypt
2400 %defattr(644,root,root,755)
2401 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2402 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2403
2404 %if %{with mhash}
2405 %files mhash
2406 %defattr(644,root,root,755)
2407 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2408 %attr(755,root,root) %{extensionsdir}/mhash.so
2409 %endif
2410
2411 %if %{with mime_magic}
2412 %files mime_magic
2413 %defattr(644,root,root,755)
2414 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2415 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2416 %endif
2417
2418 %if %{with ming}
2419 %files ming
2420 %defattr(644,root,root,755)
2421 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2422 %attr(755,root,root) %{extensionsdir}/ming.so
2423 %endif
2424
2425 %if %{with mssql}
2426 %files mssql
2427 %defattr(644,root,root,755)
2428 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2429 %attr(755,root,root) %{extensionsdir}/mssql.so
2430 %endif
2431
2432 %files mysql
2433 %defattr(644,root,root,755)
2434 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2435 %attr(755,root,root) %{extensionsdir}/mysql.so
2436
2437 %if %{with mysqli}
2438 %files mysqli
2439 %defattr(644,root,root,755)
2440 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2441 %attr(755,root,root) %{extensionsdir}/mysqli.so
2442 %endif
2443
2444 %files ncurses
2445 %defattr(644,root,root,755)
2446 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/ncurses.ini
2447 %attr(755,root,root) %{extensionsdir}/ncurses.so
2448
2449 %if %{with oci8}
2450 %files oci8
2451 %defattr(644,root,root,755)
2452 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2453 %attr(755,root,root) %{extensionsdir}/oci8.so
2454 %endif
2455
2456 %if %{with odbc}
2457 %files odbc
2458 %defattr(644,root,root,755)
2459 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2460 %attr(755,root,root) %{extensionsdir}/odbc.so
2461 %endif
2462
2463 %if %{with openssl}
2464 %files openssl
2465 %defattr(644,root,root,755)
2466 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2467 %attr(755,root,root) %{extensionsdir}/openssl.so
2468 %endif
2469
2470 %files pcntl
2471 %defattr(644,root,root,755)
2472 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2473 %attr(755,root,root) %{extensionsdir}/pcntl.so
2474
2475 %files pdo
2476 %defattr(644,root,root,755)
2477 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2478 %attr(755,root,root) %{extensionsdir}/pdo.so
2479
2480 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
2481 %files pdo-dblib
2482 %defattr(644,root,root,755)
2483 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2484 %attr(755,root,root) %{extensionsdir}/pdo_dblib.so
2485 %endif
2486
2487 %if %{with interbase} && !%{with interbase_inst}
2488 %files pdo-firebird
2489 %defattr(644,root,root,755)
2490 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2491 %attr(755,root,root) %{extensionsdir}/pdo_firebird.so
2492 %endif
2493
2494 %files pdo-mysql
2495 %defattr(644,root,root,755)
2496 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2497 %attr(755,root,root) %{extensionsdir}/pdo_mysql.so
2498
2499 %if %{with oci8}
2500 %files pdo-oci
2501 %defattr(644,root,root,755)
2502 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2503 %attr(755,root,root) %{extensionsdir}/pdo_oci.so
2504 %endif
2505
2506 %if %{with odbc}
2507 %files pdo-odbc
2508 %defattr(644,root,root,755)
2509 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2510 %attr(755,root,root) %{extensionsdir}/pdo_odbc.so
2511 %endif
2512
2513 %if %{with pgsql}
2514 %files pdo-pgsql
2515 %defattr(644,root,root,755)
2516 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2517 %attr(755,root,root) %{extensionsdir}/pdo_pgsql.so
2518 %endif
2519
2520 %if %{with sqlite}
2521 %files pdo-sqlite
2522 %defattr(644,root,root,755)
2523 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2524 %attr(755,root,root) %{extensionsdir}/pdo_sqlite.so
2525 %endif
2526
2527 %if %{with pgsql}
2528 %files pgsql
2529 %defattr(644,root,root,755)
2530 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2531 %attr(755,root,root) %{extensionsdir}/pgsql.so
2532 %endif
2533
2534 %files posix
2535 %defattr(644,root,root,755)
2536 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2537 %attr(755,root,root) %{extensionsdir}/posix.so
2538
2539 %if %{with pspell}
2540 %files pspell
2541 %defattr(644,root,root,755)
2542 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2543 %attr(755,root,root) %{extensionsdir}/pspell.so
2544 %endif
2545
2546 %files readline
2547 %defattr(644,root,root,755)
2548 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2549 %attr(755,root,root) %{extensionsdir}/readline.so
2550
2551 %if %{with recode}
2552 %files recode
2553 %defattr(644,root,root,755)
2554 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2555 %attr(755,root,root) %{extensionsdir}/recode.so
2556 %endif
2557
2558 %if 0
2559 # simplexml is needed by spl, and spl can't be built shared as of now (5.1.0RC3)
2560 %files simplexml
2561 %defattr(644,root,root,755)
2562 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2563 %attr(755,root,root) %{extensionsdir}/simplexml.so
2564 %endif
2565
2566 %files shmop
2567 %defattr(644,root,root,755)
2568 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2569 %attr(755,root,root) %{extensionsdir}/shmop.so
2570
2571 %if %{with snmp}
2572 %files snmp
2573 %defattr(644,root,root,755)
2574 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2575 %attr(755,root,root) %{extensionsdir}/snmp.so
2576 %endif
2577
2578 %files soap
2579 %defattr(644,root,root,755)
2580 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2581 %attr(755,root,root) %{extensionsdir}/soap.so
2582
2583 %files sockets
2584 %defattr(644,root,root,755)
2585 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2586 %attr(755,root,root) %{extensionsdir}/sockets.so
2587
2588 %if %{with sqlite}
2589 %files sqlite
2590 %defattr(644,root,root,755)
2591 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2592 %attr(755,root,root) %{extensionsdir}/sqlite.so
2593 %endif
2594
2595 %if %{with sybase}
2596 %files sybase
2597 %defattr(644,root,root,755)
2598 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
2599 %attr(755,root,root) %{extensionsdir}/sybase.so
2600 %endif
2601
2602 %if %{with sybase_ct}
2603 %files sybase-ct
2604 %defattr(644,root,root,755)
2605 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2606 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2607 %endif
2608
2609 %files sysvmsg
2610 %defattr(644,root,root,755)
2611 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2612 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
2613
2614 %files sysvsem
2615 %defattr(644,root,root,755)
2616 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2617 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2618
2619 %files sysvshm
2620 %defattr(644,root,root,755)
2621 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2622 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2623
2624 %if %{with tidy}
2625 %files tidy
2626 %defattr(644,root,root,755)
2627 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2628 %attr(755,root,root) %{extensionsdir}/tidy.so
2629 %endif
2630
2631 %files tokenizer
2632 %defattr(644,root,root,755)
2633 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2634 %attr(755,root,root) %{extensionsdir}/tokenizer.so
2635
2636 %if %{with wddx}
2637 %files wddx
2638 %defattr(644,root,root,755)
2639 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2640 %attr(755,root,root) %{extensionsdir}/wddx.so
2641 %endif
2642
2643 %files xml
2644 %defattr(644,root,root,755)
2645 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
2646 %attr(755,root,root) %{extensionsdir}/xml.so
2647
2648 %files xmlreader
2649 %defattr(644,root,root,755)
2650 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
2651 %attr(755,root,root) %{extensionsdir}/xmlreader.so
2652
2653 %if %{with xmlrpc}
2654 %files xmlrpc
2655 %defattr(644,root,root,755)
2656 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
2657 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
2658 %endif
2659
2660 %files xmlwriter
2661 %defattr(644,root,root,755)
2662 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
2663 %attr(755,root,root) %{extensionsdir}/xmlwriter.so
2664
2665 %files xsl
2666 %defattr(644,root,root,755)
2667 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
2668 %attr(755,root,root) %{extensionsdir}/xsl.so
2669
2670 %files zip
2671 %defattr(644,root,root,755)
2672 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
2673 %attr(755,root,root) %{extensionsdir}/zip.so
2674
2675 %files zlib
2676 %defattr(644,root,root,755)
2677 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
2678 %attr(755,root,root) %{extensionsdir}/zlib.so
This page took 0.253869 seconds and 4 git commands to generate.