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