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