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