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