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