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