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