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