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