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