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