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