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