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