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