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