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