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