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