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