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