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