]> git.pld-linux.org Git - packages/php.git/blob - php.spec
- release 0.9
[packages/php.git] / php.spec
1 #
2 # Automatic pear requirements finding:
3 %include        /usr/lib/rpm/macros.php
4
5 %define _apache2        %(rpm -q apache-devel 2> /dev/null | grep -Eq '\\-2\\.[0-9]+\\.' && echo 1 || echo 0)
6
7 %if %{_apache2}
8 %define _without_recode 1
9 %define _without_mm 1
10 %endif
11
12 %ifnarch %{ix86}
13 %define _without_msession 1
14 %endif
15
16 # Conditional build:
17 # _with_cpdf            - with cpdf extension module
18 # _with_interbase       - with InterBase extension module
19 # _with_java            - with Java extension module
20 # _with_oci8            - with Oracle oci8 extension module
21 # _with_oracle          - with oracle extension module
22 # _with_sybase_ct       - with Sybase-CT extension module
23 # _without_domxslt      - without DOM XSLT/EXSLT support in DOM XML extension module
24 # _without_imap         - without IMAP extension module
25 # _without_ldap         - without LDAP extension module
26 # _without_mm           - without mm support for session storage
27 # _without_msession     - without msession extension module
28 # _without_odbc         - without ODBC extension module
29 # _without_openssl      - with OpenSSL support
30 # _without_snmp         - without SNMP extension module
31 # _without_recode       - without recode extension module
32 # _without_wddx         - without WDDX extension module
33 # _without_xslt         - without XSLT extension module
34 Summary:        The PHP HTML-embedded scripting language for use with Apache
35 Summary(fr):    Le langage de script embarque-HTML PHP pour Apache
36 Summary(pl):    Jêzyk skryptowy PHP -- u¿ywany wraz z serwerem Apache
37 Summary(pt_BR): A linguagem de script PHP
38 Summary(ru):    PHP ÷ÅÒÓÉÉ 4 -- ÑÚÙË ÐÒÅÐÒÏÃÅÓÓÉÒÏ×ÁÎÉÑ HTML-ÆÁÊÌÏ×, ×ÙÐÏÌÎÑÅÍÙÊ ÎÁ ÓÅÒ×ÅÒÅ
39 Summary(uk):    PHP ÷ÅÒÓ¦§ 4 -- ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
40 Name:           php
41 Version:        4.2.2
42 Release:        0.9
43 Epoch:          3
44 Group:          Libraries
45 License:        The PHP license (see "LICENSE" file included in distribution)
46 Source0:        http://www.php.net/distributions/%{name}-%{version}.tar.bz2
47 Source1:        FAQ.%{name}
48 Source2:        %{name}.ini
49 Source3:        zend.gif
50 Source4:        http://www.php.net/distributions/manual/%{name}_manual_en.tar.bz2
51 Source5:        %{name}-module-install
52 Source6:        %{name}-mod_php.conf
53 Source7:        %{name}-cgi.ini
54 Source8:        %{name}-apache.ini
55 Patch0:         %{name}-shared.patch
56 Patch1:         %{name}-pldlogo.patch
57 Patch2:         %{name}-mysql-socket.patch
58 Patch3:         %{name}-mail.patch
59 Patch4:         %{name}-link-libs.patch
60 Patch5:         %{name}-fastcgi.patch
61 Patch6:         %{name}-no_php_pcre_in_SAPI_c.patch
62 Patch7:         %{name}-libpq_fs_h_path.patch
63 Patch8:         %{name}-wddx-fix.patch
64 Patch9:         %{name}-cpdf-fix.patch
65 Patch10:        %{name}-session-fix-shared.patch
66 Patch11:        %{name}-hyperwave-fix.patch
67 Patch12:        %{name}-openssl-for-ext-only.patch
68 Patch13:        %{name}-java-fix.patch
69 Patch14:        %{name}-mcal-shared-lib.patch
70 Patch15:        %{name}-msession-shared-lib.patch
71 Patch16:        %{name}-xmlrpc-includes.patch
72 Patch17:        %{name}-build_modules.patch
73 Patch18:        %{name}-sapi-ini-file.patch
74 Patch19:        %{name}-apache2_broken_macro.patch
75 Patch20:        %{name}-php_iconv_string_declaration.patch
76 Patch21:        %{name}-pear-cosmetic.patch
77 Icon:           php4.gif
78 URL:            http://www.php.net/
79 BuildRequires:  apache-devel
80 BuildRequires:  autoconf >= 2.52
81 %{?_with_sybase_ct:BuildRequires:       autoconf >= 2.53}
82 BuildRequires:  automake >= 1.4d
83 BuildRequires:  bison
84 BuildRequires:  bzip2-devel
85 BuildRequires:  cracklib-devel >= 2.7-15
86 BuildRequires:  curl-devel
87 BuildRequires:  cyrus-sasl-devel
88 BuildRequires:  db3-devel >= 3.1.17
89 BuildRequires:  expat-devel
90 BuildRequires:  flex
91 %{?_with_sybase_ct:BuildRequires:       freetds-devel}
92 BuildRequires:  freetype-devel >= 2.0
93 BuildRequires:  gd-devel >= 2.0.1
94 BuildRequires:  gdbm-devel
95 BuildRequires:  gmp-devel
96 %{!?_without_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2 }
97 %{?_with_java:BuildRequires:    jdk >= 1.1}
98 %{?_with_cpdf:BuildRequires:    libcpdf-devel >= 2.02r1-2}
99 BuildRequires:  libjpeg-devel
100 BuildRequires:  libltdl-devel >= 1.4
101 BuildRequires:  libmcal-devel
102 BuildRequires:  libmcrypt-devel >= 2.4.4
103 BuildRequires:  libpng >= 1.0.8
104 BuildRequires:  libtiff-devel
105 BuildRequires:  libtool >= 0:1.4.2-9
106 BuildRequires:  libxml2-devel >= 2.2.7
107 %{!?_without_domxslt:BuildRequires:     libxslt >= 1.0.3}
108 BuildRequires:  mhash-devel
109 BuildRequires:  ming-devel >= 0.1.0
110 %{!?_without_mm:BuildRequires:  mm-devel >= 1.1.3}
111 BuildRequires:  mnogosearch-devel < 3.2.5
112 BuildRequires:  mysql-devel >= 3.23.32
113 %{!?_without_ldap:BuildRequires: openldap-devel >= 2.0}
114 %if %(expr %{?_without_openssl:0}%{!?_without_openssl:1} + %{?_without_ldap:0}%{!?_without_ldap:1})
115 BuildRequires:  openssl-devel >= 0.9.6a
116 %endif
117 BuildRequires:  pam-devel
118 BuildRequires:  pdflib-devel >= 4.0.0
119 BuildRequires:  perl
120 %{!?_without_msession:BuildRequires:    phoenix-devel}
121 BuildRequires:  pkgconfig
122 BuildRequires:  postgresql-devel
123 BuildRequires:  postgresql-backend-devel >= 7.2
124 BuildRequires:  pspell-devel
125 %{!?_without_recode:BuildRequires:      recode-devel >= 3.5d-3}
126 BuildRequires:  rpm-php-pearprov >= 4.0.2-80
127 %{!?_without_xslt:BuildRequires:        sablotron-devel}
128 BuildRequires:  t1lib-devel
129 %{!?_without_snmp:BuildRequires: ucd-snmp-devel >= 4.2.3}
130 %{!?_without_odbc:BuildRequires: unixODBC-devel}
131 BuildRequires:  xmlrpc-epi-devel
132 BuildRequires:  yaz-devel
133 BuildRequires:  zip
134 BuildRequires:  zlib-devel >= 1.0.9
135 BuildRequires:  zziplib-devel
136 #BuildRequires: fastcgi-devkit
137 # apache 1.3 vs apache 2.0
138 %if %{_apache2}
139 PreReq:         apache >= 2.0.39
140 %else
141 PreReq:         apache(EAPI) < 2.0.0
142 PreReq:         apache(EAPI) >= 1.3.9
143 %endif
144 PreReq:         perl
145 PreReq:         %{_sbindir}/apxs
146 PreReq:         %{name}-common = %{version}
147 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
148 Obsoletes:      phpfi
149 Obsoletes:      apache-mod_php
150
151 %define         _sysconfdir     /etc/php
152 %define         extensionsdir   %{_libdir}/php
153
154 %description
155 PHP is an HTML-embedded scripting language. PHP attempts to make it
156 easy for developers to write dynamically generated web pages. PHP also
157 offers built-in database integration for several commercial and
158 non-commercial database management systems, so writing a
159 database-enabled web page with PHP is fairly simple. The most common
160 use of PHP coding is probably as a replacement for CGI scripts. The
161 mod_php module enables the Apache web server to understand and process
162 the embedded PHP language in web pages. This package contains PHP
163 version %{version}. If you use applications which specifically rely on
164 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
165 module contained in the phpfi package. If you're just starting with
166 PHP, you should install this package. You'll also need to install the
167 Apache web server.
168
169 %description -l fr
170 PHP est un langage de script embarque dans le HTM. PHP essaye de
171 rendre simple aux developpeurs d'ecrire des pages web generees
172 dynamiquement. PHP incorpore egalement une integration avec plusieurs
173 systemes de gestion de bases de donnees commerciaux et
174 non-connerciaux, qui rent facile la creation de pages web liees avec
175 des bases de donnees. L'utilisation la plus commune de PHP est
176 probablement en remplacement de scripts CGI. Le module mod_php permet
177 au serveur web apache de comprendre et de traiter le langage PHP
178 integre dans des pages web. Ce package contient PHP version
179 %{version}. Si vous utilisez des applications qui utilisent
180 specifiquement PHP/FI, vous devrez installer le module PHP/FI inclus
181 dans le package mod_php. Si vous debutez avec PHP, vous devriez
182 installer ce package. Vous aurez egalement besoin dinstaller le
183 serveur web Apache.
184
185 %description -l pl
186 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
187 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
188 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
189 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
190 zosta³a z jêzyków: C, Java i Perl.
191
192 %description -l pt_BR
193 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
194 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
195 com algumas características únicas, específicas ao PHP. O objetivo da
196 linguagem é permitir que desenvolvedores web escrevam páginas
197 dinamicamente geradas de forma rápida.
198
199 %description -l ru
200 PHP4 - ÜÔÏ ÑÚÙË ÎÁÐÉÓÁÎÉÑ ÓËÒÉÐÔÏ×, ×ÓÔÒÁÉ×ÁÅÍÙÈ × HTML-ËÏÄ. PHP
201 ÐÒÅÄÌÁÇÁÅÔ ÉÎÔÅÒÇÒÁÃÉÀ Ó ÍÎÏÖÅÓÔ×ÏÍ óõâä, ÐÏÜÔÏÍÕ ÎÁÐÉÓÁÎÉÅ ÓËÒÉÐÔÏ×
202 ÄÌÑ ÒÁÂÏÔÙ Ó ÂÁÚÁÍÉ ÄÁÎÎÙÈ ÏÔÎÏÓÉÔÅÌØÎÏ ÐÒÏÓÔÏ. îÁÉÂÏÌÅÅ ÐÏÐÕÌÑÒÎÏÅ
203 ÉÓÐÏÌØÚÏ×ÁÎÉÅ PHP - ÚÁÍÅÎÁ ÄÌÑ CGI ÓËÒÉÐÔÏ×.
204
205 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÁÍÏÄÏÓÔÁÔÏÞÎÕÀ (CGI) ×ÅÒÓÉÀ ÉÎÔÅÒÐÒÅÔÁÔÏÒÁ ÑÚÙËÁ.
206 ÷Ù ÄÏÌÖÎÙ ÔÁËÖÅ ÕÓÔÁÎÏ×ÉÔØ ÐÁËÅÔ %{name}-common. åÓÌÉ ×ÁÍ ÎÕÖÅÎ
207 ÉÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache, ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ
208 apache-php.
209
210 %description -l uk
211 PHP4 - ÃÅ ÍÏ×Á ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦×, ÝÏ ×ÂÕÄÏ×ÕÀÔØÓÑ × HTML-ËÏÄ. PHP
212 ÐÒÏÐÏÎÕ¤ ¦ÎÔÅÇÒÁæÀ Ú ÂÁÇÁÔØÍÁ óõâä, ÔÏÍÕ ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐԦנÄÌÑ
213 ÒÏÂÏÔÉ Ú ÂÁÚÁÍÉ ÄÁÎÉÈ ¤ ÄÏ×Ï̦ ÐÒÏÓÔÉÍ. îÁʦÌØÛ ÐÏÐÕÌÑÒÎÅ
214 ×ÉËÏÒÉÓÔÁÎÎÑ PHP - ÚÁͦÎÁ ÄÌÑ CGI ÓËÒÉÐÔ¦×.
215
216 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓÁÍÏÄÏÓÔÁÔÎÀ (CGI) ×ÅÒÓ¦À ¦ÎÔÅÒÐÒÅÔÁÔÏÒÁ ÍÏ×É. ÷É
217 ÍÁ¤ÔÅ ÔÁËÏÖ ×ÓÔÁÎÏ×ÉÔÉ ÐÁËÅÔ %{name}-common. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÅÎ
218 ¦ÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache, ×ÓÔÁÎÏצÔØ ÐÁËÅÔ apache-php.
219
220 %package cgi
221 Summary:        PHP as CGI program
222 Summary(pl):    PHP jako program CGI
223 Group:          Libraries
224 PreReq:         %{name}-common = %{version}
225
226 %description cgi
227 PHP as CGI program.
228
229 %description cgi -l pl
230 PHP jako program CGI.
231
232 %package common
233 Summary:        Common files nneded by both apache module and CGI
234 Summary(pl):    Wspólne pliki dla modu³u apacha i programu CGI
235 Summary(ru):    òÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ php
236 Summary(uk):    â¦Â̦ÏÔÅËÉ ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÄÌÑ php
237 Group:          Libraries
238 Provides:       %{name}-session = %{version}
239 Obsoletes:      %{name}-session <= %{epoch}:%{version}-%{release}
240
241 %description common
242 Common files needed by both apache module and CGI.
243
244 %description common -l pl
245 Wspólne pliki dla modu³u apacha i programu CGI.
246
247 %description common -l ru
248 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÏÂÝÉÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÎÙÈ ×ÁÒÉÁÎÔÏ× ÒÅÁÌÉÚÁÃÉÉ PHP
249 (ÓÁÍÏÄÏÓÔÁÔÏÞÎÏÊ É × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache).
250
251 %description common -l uk
252 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓЦÌØΦ ÆÁÊÌÉ ÄÌÑ Ò¦ÚÎÉÈ ×ÁÒ¦ÁÎԦנÒÅÁ̦ÚÁ槠PHP
253 (ÓÁÍÏÄÏÓÔÁÔÎØϧ ÔÁ × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache).
254
255 %package devel
256 Summary:        Files for PHP modules development
257 Summary(pl):    Pliki do kompilacji modu³ów PHP
258 Summary(pt_BR): Arquivos de desenvolvimento para PHP
259 Summary(ru):    ðÁËÅÔ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÏÓÔÒÏÅÎÉÑ ÒÁÓÛÉÒÅÎÉÊ PHP4
260 Summary(uk):    ðÁËÅÔ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÏÂÕÄÏ×É ÒÏÚÛÉÒÅÎØ PHP4
261 Group:          Development/Languages/PHP
262 Requires:       %{name}-common = %{version}
263
264 %description devel
265 The php-devel package lets you compile dynamic extensions to PHP.
266 Included here is the source for the php extensions. Instead of
267 recompiling the whole php binary to add support for, say, oracle,
268 install this package and use the new self-contained extensions
269 support. For more information, read the file
270 SELF-CONTAINED-EXTENSIONS.
271
272 %description devel -l pl
273 Pliki potrzebne do kompilacji modu³ów PHP.
274
275 %description devel -l pt_BR
276 Este pacote contém arquivos usados no desenvolvimento de programas ou
277 módulos PHP.
278
279 %description devel -l uk
280 ðÁËÅÔ php-devel ÄÁ¤ ÍÏÖÌÉצÓÔØ ËÏÍЦÌÀ×ÁÔÉ ÄÉÎÁͦÞΦ ÒÏÚÛÉÒÅÎÎÑ PHP.
281 äÏ ÐÁËÅÔÕ ×ËÌÀÞÅÎÏ ×ÉȦÄÎÉÊ ËÏÄ ÄÌÑ ÒÏÚÛÉÒÅÎØ. úÁͦÓÔØ ÐÏ×ÔÏÒÎϧ
282 ËÏÍЦÌÑ槠¦ÎÁÒÎÏÇÏ ÆÁÊÌÕ php ÄÌÑ ÄÏÄÁÎÎÑ, ÎÁÐÒÉËÌÁÄ, Ð¦ÄÔÒÉÍËÉ
283 oracle, ×ÓÔÁÎÏצÔØ ÃÅÊ ÐÁËÅÔ ÄÌÑ ËÏÍЦÌÑ槠ÏËÒÅÍÉÈ ÒÏÚÛÉÒÅÎØ.
284 äÅÔÁÌØΦÛÁ ¦ÎÆÏÒÍÁæѠ- × ÆÁÊ̦ SELF-CONTAINED-EXTENSIONS.
285
286 %description devel -l ru
287 ðÁËÅÔ php-devel ÄÁÅÔ ×ÏÚÍÏÖÎÏÓÔØ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÄÉÎÁÍÉÞÅÓËÉÅ ÒÁÓÛÉÒÅÎÉÑ
288 PHP. ðÁËÅÔ ×ËÌÀÞÁÅÔ ÉÓÈÏÄÎÙÊ ËÏÄ ÜÔÉÈ ÒÁÓÛÉÒÅÎÉÊ. ÷ÍÅÓÔÏ ÐÏ×ÔÏÒÎÏÊ
289 ËÏÍÐÉÌÑÃÉÉ ÂÉÎÁÒÎÏÇÏ ÆÁÊÌÁ php ÄÌÑ ÄÏÂÁ×ÌÅÎÉÑ, ÎÁÐÒÉÍÅÒ, ÐÏÄÄÅÒÖËÉ
290 oracle, ÕÓÔÁÎÏ×ÉÔÅ ÜÔÏÔ ÐÁËÅÔ ÄÌÑ ËÏÍÐÉÌÉÒÏ×ÁÎÉÑ ÏÔÄÅÌØÎÙÈ ÒÁÓÛÉÒÅÎÉÊ.
291 ðÏÄÒÏÂÎÏÓÔÉ - × ÆÁÊÌÅ SELF-CONTAINED-EXTENSIONS.
292
293 %package doc
294 Summary:        Online manual for PHP
295 Summary(pl):    Dokumentacja dla PHP
296 Summary(pt_BR): Manual da linguagem PHP, em formato HTML
297 Group:          Networking/Daemons
298 Obsoletes:      php-manual
299
300 %description doc
301 Comprehensive documentation for PHP, viewable through your web server,
302 too!
303
304 %description doc -l pl
305 Dokumentacja dla pakietu PHP. Mo¿na j± równie¿ ogl±daæ poprzez serwer
306 WWW.
307
308 %description doc -l pt_BR
309 Manual da linguagem PHP, em formato HTML.
310
311 %package bcmath
312 Summary:        bcmath extension module for PHP
313 Summary(pl):    Modu³ bcmath dla PHP
314 Group:          Libraries
315 PreReq:         %{name}-common = %{version}
316
317 %description bcmath
318 This is a dynamic shared object (DSO) for Apache that will add bc
319 style precision math functions support to PHP.
320
321 %description bcmath -l pl
322 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
323 matematycznych takich jak w programie bc.
324
325 %package bzip2
326 Summary:        Bzip2 extension module for PHP
327 Summary(pl):    Modu³ bzip2 dla PHP
328 Group:          Libraries
329 PreReq:         %{name}-common = %{version}
330
331 %description bzip2
332 This is a dynamic shared object (DSO) for Apache that will add
333 compression (bzip2) support to PHP.
334
335 %description bzip2 -l pl
336 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji (poprzez bibliotekê bzip2).
337
338 %package calendar
339 Summary:        Calendar extension module for PHP
340 Summary(pl):    Modu³ funkcji kalendarza dla PHP
341 Group:          Libraries
342 PreReq:         %{name}-common = %{version}
343
344 %description calendar
345 This is a dynamic shared object (DSO) for Apache that will add
346 calendar support to PHP.
347
348 %description calendar -l pl
349 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
350 wsparcie dla kalendarza.
351
352 %package cpdf
353 Summary:        cpdf extension module for PHP
354 Summary(pl):    Modu³ cpdf dla PHP
355 Group:          Libraries
356 PreReq:         %{name}-common = %{version}
357
358 %description cpdf
359 This is a dynamic shared object (DSO) for Apache that will add libcpdf
360 support to PHP.
361
362 %description cpdf -l pl
363 Modu³ PHP dodaj±cy obs³ugê biblioteki libcpdf.
364
365 %package crack
366 Summary:        crack extension module for PHP
367 Summary(pl):    Modu³ crack dla PHP
368 Group:          Libraries
369 PreReq:         %{name}-common = %{version}
370
371 %description crack
372 This is a dynamic shared object (DSO) for Apache that will add
373 cracklib support to PHP.
374
375 Warning: this is an experimental module.
376
377 %description crack -l pl
378 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki cracklib.
379
380 Uwaga: to jest modu³ eksperymentalny.
381
382 %package ctype
383 Summary:        ctype extension module for PHP
384 Summary(pl):    Modu³ ctype dla PHP
385 Group:          Libraries
386 PreReq:         %{name}-common = %{version}
387
388 %description ctype
389 This is a dynamic shared object (DSO) for Apache that will add ctype
390 support to PHP.
391
392 %description ctype -l pl
393 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
394
395 %package curl
396 Summary:        curl extension module for PHP
397 Summary(pl):    Modu³ curl dla PHP
398 Group:          Libraries
399 PreReq:         %{name}-common = %{version}
400
401 %description curl
402 This is a dynamic shared object (DSO) for Apache that will add curl
403 support to PHP.
404
405 %description curl -l pl
406 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
407
408 %package dba
409 Summary:        DBA extension module for PHP
410 Summary(pl):    Modu³ DBA dla PHP
411 Group:          Libraries
412 PreReq:         %{name}-common = %{version}
413
414 %description dba
415 This is a dynamic shared object (DSO) for Apache that will add
416 flat-file databases (DBA) support to PHP.
417
418 %description dba -l pl
419 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
420 wsparcie dla baz danych opartych na plikach (DBA).
421
422 %package dbase
423 Summary:        DBase extension module for PHP
424 Summary(pl):    Modu³ DBase dla PHP
425 Group:          Libraries
426 PreReq:         %{name}-common = %{version}
427
428 %description dbase
429 This is a dynamic shared object (DSO) for Apache that will add DBase
430 support to PHP.
431
432 %description dbase -l pl
433 Modu³ PHP ze wsparciem dla DBase.
434
435 %package dbx
436 Summary:        DBX extension module for PHP
437 Summary(pl):    Modu³ DBX dla PHP
438 Group:          Libraries
439 PreReq:         %{name}-common = %{version}
440
441 %description dbx
442 This is a dynamic shared object (DSO) for Apache that will add DB
443 abstraction layer to PHP. DBX supports odbc, mysql, pgsql, mssql,
444 fbsql and more.
445
446 %description dbx -l pl
447 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
448 warstwê abstrakcji do obs³ugi baz danych. DBX obs³uguje bazy odbc,
449 mysql, pgsql, mssql, fbsql i inne.
450
451 %package dio
452 Summary:        Direct I/O extension module for PHP
453 Summary(pl):    Modu³ Direct I/O dla PHP
454 Group:          Libraries
455 PreReq:         %{name}-common = %{version}
456
457 %description dio
458 This is a dynamic shared object (DSO) for Apache that will add direct
459 file I/O support to PHP.
460
461 Warning: this is an experimental module.
462
463 %description dio -l pl
464 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
465 obs³ugê bezpo¶rednich operacji I/O na plikach.
466
467 Uwaga: to jest modu³ eksperymentalny.
468
469 %package domxml
470 Summary:        DOM XML extension module for PHP
471 Summary(pl):    Modu³ DOM XML dla PHP
472 Group:          Libraries
473
474 %description domxml
475 This is a dynamic shared object (DSO) for Apache that will add DOM XML
476 support to PHP.
477
478 Warning: this is an experimental module.
479
480 %description domxml -l pl
481 Modu³ PHP dodaj±cy obs³ugê DOM XML.
482
483 Uwaga: to jest modu³ eksperymentalny.
484
485 %package exif
486 Summary:        exif extension module for PHP
487 Summary(pl):    Modu³ exif dla PHP
488 Group:          Libraries
489 PreReq:         %{name}-common = %{version}
490
491 %description exif
492 This is a dynamic shared object (DSO) for Apache that will add exif
493 support to PHP.
494
495 %description exif -l pl
496 Modu³ PHP dodaj±cy obs³ugê plików EXIF.
497
498 %package filepro
499 Summary:        filePro extension module for PHP
500 Summary(pl):    Modu³ filePro dla PHP
501 Group:          Libraries
502 PreReq:         %{name}-common = %{version}
503
504 %description filepro
505 This is a dynamic shared object (DSO) for Apache that will add PHP
506 support for read-only access to filePro databases.
507
508 %description filepro -l pl
509 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
510 mo¿liwo¶æ dostêpu (tylko do odczytu) do baz danych filePro.
511
512 %package ftp
513 Summary:        FTP extension module for PHP
514 Summary(pl):    Modu³ FTP dla PHP
515 Group:          Libraries
516 PreReq:         %{name}-common = %{version}
517
518 %description ftp
519 This is a dynamic shared object (DSO) for Apache that will add FTP
520 support to PHP.
521
522 %description ftp -l pl
523 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
524
525 %package gd
526 Summary:        GD extension module for PHP
527 Summary:        Modu³ GD dla PHP
528 Group:          Libraries
529 PreReq:         %{name}-common = %{version}
530
531 %description gd
532 This is a dynamic shared object (DSO) for Apache that will add GD
533 support to PHP. You should install this package in addition to the
534 main %{name} package if you want to create and manipulate images with
535 PHP.
536
537 %description gd -l pl
538 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD - do obróbki
539 obrazków z poziomu PHP.
540
541 %package gettext
542 Summary:        gettext extension module for PHP
543 Summary(pl):    Modu³ gettext dla PHP
544 Group:          Libraries
545 PreReq:         %{name}-common = %{version}
546
547 %description gettext
548 This is a dynamic shared object (DSO) for Apache that will add gettext
549 support to PHP.
550
551 %description gettext -l pl
552 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
553
554 %package gmp
555 Summary:        gmp extension module for PHP
556 Summary(pl):    Modu³ gmp dla PHP
557 Group:          Libraries
558 PreReq:         %{name}-common = %{version}
559
560 %description gmp
561 This is a dynamic shared object (DSO) for Apache that will add
562 arbitrary length number support with GNU MP library to PHP.
563
564 %description gmp -l pl
565 Modu³ PHP umorzliwiaj±cy korzystanie z biblioteki gmp.
566
567 %package hyperwave
568 Summary:        Hyperwave extension module for PHP
569 Summary(pl):    Modu³ Hyperwave dla PHP
570 Group:          Libraries
571 PreReq:         %{name}-common = %{version}
572
573 %description hyperwave
574 This is a dynamic shared object (DSO) for Apache that will add
575 Hyperwave support to PHP.
576
577 %description hyperwave -l pl
578 Modu³ PHP dodaj±cy obs³ugê Hyperwave.
579
580 %package iconv
581 Summary:        iconv extension module for PHP
582 Summary(pl):    Modu³ iconv dla PHP
583 Group:          Libraries
584 PreReq:         %{name}-common = %{version}
585
586 %description iconv
587 This is a dynamic shared object (DSO) for Apache that will add iconv
588 support to PHP.
589
590 %description iconv -l pl
591 Modu³ PHP dodaj±cy obs³ugê iconv.
592
593 %package imap
594 Summary:        IMAP extension module for PHP
595 Summary(pl):    Modu³ IMAP dla PHP
596 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
597 Group:          Libraries
598 PreReq:         %{name}-common = %{version}
599
600 %description imap
601 This is a dynamic shared object (DSO) for Apache that will add IMAP
602 support to PHP.
603
604 %description imap -l pl
605 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
606
607 %description imap -l pt_BR
608 Um módulo para aplicações PHP que usam IMAP.
609
610 %package interbase
611 Summary:        Interbase database module for PHP
612 Summary(pl):    Modu³ bazy danych Interbase dla PHP
613 Group:          Libraries
614 PreReq:         %{name}-common = %{version}
615 Autoreq:        false
616
617 %description interbase
618 This is a dynamic shared object (DSO) for Apache that will add
619 InterBase database support to PHP. If you need back-end support for
620 InterBase, you should install this package in addition to the main
621 %{name} package.
622
623 %description interbase -l pl
624 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych InterBase.
625
626 %package java
627 Summary:        Java extension module for PHP
628 Summary(pl):    Modu³ Javy dla PHP
629 Group:          Libraries
630 PreReq:         %{name}-common = %{version}
631
632 %description java
633 This is a dynamic shared object (DSO) for Apache that will add JAVA
634 support to PHP. This extension provides a simple and effective means
635 for creating and invoking methods on Java objects from PHP.
636
637 %description java -l pl
638 Modu³ PHP dodaj±cy wsparcie dla Javy. Umo¿liwia odwo³ywanie siê do
639 obiektów Javy z poziomu PHP.
640
641 %package ldap
642 Summary:        LDAP extension module for PHP
643 Summary(pl):    Modu³ LDAP dla PHP
644 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
645 Group:          Libraries
646 PreReq:         %{name}-common = %{version}
647
648 %description ldap
649 This is a dynamic shared object (DSO) for Apache that will add LDAP
650 support to PHP.
651
652 %description ldap -l pl
653 Modu³ PHP dodaj±cy obs³ugê LDAP.
654
655 %description ldap -l pt_BR
656 Um módulo para aplicações PHP que usam LDAP.
657 %package mbstring
658 Summary:        mbstring extension module for PHP
659 Summary(pl):    Modu³ mbstring dla PHP
660 Group:          Libraries
661 PreReq:         %{name}-common = %{version}
662
663 %description mbstring
664 This is a dynamic shared object (DSO) for Apache that will add
665 multibyte string support to PHP.
666
667 %description mbstring -l pl
668 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
669
670 %package mcal
671 Summary:        mcal extension module for PHP
672 Summary(pl):    Modu³ mcal dla PHP
673 Group:          Libraries
674 PreReq:         %{name}-common = %{version}
675
676 %description mcal
677 This is a dynamic shared object (DSO) for Apache that will add mcal
678 (Modular Calendar Access Library) support to PHP.
679
680 %description mcal -l pl
681 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki mcal (daj±cej dostêp
682 do kalendarzy).
683
684 %package mcrypt
685 Summary:        mcrypt extension module for PHP
686 Summary(pl):    Modu³ mcrypt dla PHP
687 Group:          Libraries
688 PreReq:         %{name}-common = %{version}
689
690 %description mcrypt
691 This is a dynamic shared object (DSO) for Apache that will add mcrypt
692 support to PHP.
693
694 %description mcrypt -l pl
695 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
696
697 %package mhash
698 Summary:        mhash extension module for PHP
699 Summary(pl):    Modu³ mhash dla PHP
700 Group:          Libraries
701 PreReq:         %{name}-common = %{version}
702
703 %description mhash
704 This is a dynamic shared object (DSO) for Apache that will add mhash
705 support to PHP.
706
707 %description mhash -l pl
708 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
709
710 %package ming
711 Summary:        ming extension module for PHP
712 Summary(pl):    Modu³ ming dla PHP
713 Group:          Libraries
714 PreReq:         %{name}-common = %{version}
715
716 %description ming
717 This is a dynamic shared object (DSO) for Apache that will add ming
718 (Flash - .swf files) support to PHP.
719
720 %description ming -l pl
721 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
722 ming.
723
724 %package mnogosearch
725 Summary:        mnoGoSearch extension module for PHP
726 Summary(pl):    Modu³ mnoGoSearch dla PHP
727 Group:          Libraries
728 PreReq:         %{name}-common = %{version}
729
730 %description mnogosearch
731 This is a dynamic shared object (DSO) for Apache that will allow you
732 to access mnoGoSearch free search engine in PHP.
733
734 %description mnogosearch -l pl
735 Modu³ PHP dodaj±cy pozwalaj±cy na dostêp do wolnodostêpnego silnika
736 wyszukiwarki mnoGoSearch.
737
738 %package msession
739 Summary:        msession extension module for PHP
740 Summary(pl):    Modu³ msession dla PHP
741 Group:          Libraries
742 PreReq:         %{name}-common = %{version}
743
744 %description msession
745 This is a dynamic shared object (DSO) for Apache that will allow you
746 to use msession in PHP. msession is a high speed session daemon which
747 can run either locally or remotely. It is designed to provide
748 consistent session management for a PHP web farm.
749
750 %description msession -l pl
751 Modu³ PHP dodaj±cy umo¿liwiaj±cy korzystanie z demona msession. Jest
752 to demon szybkiej obs³ugi sesji, który mo¿e dzia³aæ lokalnie lub na
753 innej maszynie. S³u¿y do zapewniania spójnej obs³ugi sesji dla farmy
754 serwerów.
755
756 %package mysql
757 Summary:        MySQL database module for PHP
758 Summary(pl):    Modu³ bazy danych MySQL dla PHP
759 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
760 Group:          Libraries
761 PreReq:         %{name}-common = %{version}
762
763 %description mysql
764 This is a dynamic shared object (DSO) for Apache that will add MySQL
765 database support to PHP. If you need back-end support for MySQL, you
766 should install this package in addition to the main %{name} package.
767
768 %description mysql -l pl
769 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
770
771 %description mysql -l pt_BR
772 Um módulo para aplicações PHP que usam bancos de dados MySQL.
773
774 %package oci8
775 Summary:        Oracle 8 database module for PHP
776 Summary(pl):    Modu³ bazy danych Oracle 8 dla PHP
777 Group:          Libraries
778 PreReq:         %{name}-common = %{version}
779 Autoreq:        false
780
781 %description oci8
782 This is a dynamic shared object (DSO) for Apache that will add Oracle
783 7 and Oracle 8 database support to PHP through Oracle8 Call-Interface
784 (OCI8).
785
786 %description oci8 -l pl
787 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7 i Oracle 8
788 poprzez interfejs Oracle8 Call-Interface (OCI8).
789
790 %package odbc
791 Summary:        ODBC extension module for PHP
792 Summary(pl):    Modu³ ODBC dla PHP
793 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
794 Group:          Libraries
795 PreReq:         %{name}-common = %{version}
796 Requires:       unixODBC >= 2.1.1-3
797
798 %description odbc
799 This is a dynamic shared object (DSO) for Apache that will add ODBC
800 support to PHP.
801
802 %description odbc -l pl
803 Modu³ PHP ze wsparciem dla ODBC.
804
805 %description odbc -l pt_BR
806 Um módulo para aplicações PHP que usam ODBC.
807
808 %package openssl
809 Summary:        OpenSSL extension module for PHP
810 Summary(pl):    Modu³ OpenSSL dla PHP
811 Group:          Libraries
812 PreReq:         %{name}-common = %{version}
813
814 %description openssl
815 This is a dynamic shared object (DSO) for Apache that will add OpenSSL
816 support to PHP.
817
818 Warning: this is an experimental module.
819
820 %description openssl -l pl
821 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki OpenSSL.
822
823 Uwaga: to jest modu³ eksperymentalny.
824
825 %package oracle
826 Summary:        Oracle 7 database module for PHP
827 Summary(pl):    Modu³ bazy danych Oracle 7 dla PHP
828 Group:          Libraries
829 PreReq:         %{name}-common = %{version}
830 Autoreq:        false
831
832 %description oracle
833 This is a dynamic shared object (DSO) for Apache that will add Oracle
834 7 database support to PHP.
835
836 %description oracle -l pl
837 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7.
838
839 %package overload
840 Summary:        Overload extension module for PHP
841 Summary(pl):    Modu³ Overload dla PHP
842 Group:          Libraries
843 PreReq:         %{name}-common = %{version}
844
845 %description overload
846 This is a dynamic shared object (DSO) for Apache that will add
847 user-space object overloading support to PHP.
848
849 Warning: this is an experimental module.
850
851 %description overload -l pl
852 Modu³ PHP umo¿liwiaj±cy przeci±¿anie obiektów.
853
854 Uwaga: to jest modu³ eksperymentalny.
855
856 %package pcntl
857 Summary:        Process Control extension module for PHP
858 Summary(pl):    Modu³ Process Control dla PHP
859 Group:          Libraries
860 PreReq:         %{name}-common = %{version}
861
862 %description pcntl
863 This is a dynamic shared object (DSO) for Apache that will add process
864 spawning and control support to PHP. It supports functions like
865 fork(), waitpid(), signal() etc.
866
867 Warning: this is an experimental module. Also, don't use it in
868 webserver environment!
869
870 %description pcntl -l pl
871 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
872 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
873
874 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
875 u¿ywania z serwerem WWW - nie próbuj tego!
876
877 %package pcre
878 Summary:        PCRE extension module for PHP
879 Summary(pl):    Modu³ PCRE dla PHP
880 Group:          Libraries
881 PreReq:         %{name}-common = %{version}
882
883 %description pcre
884 This is a dynamic shared object (DSO) for Apache that will add Perl
885 Compatible Regular Expression support to PHP.
886
887 %description pcre -l pl
888 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
889 (Perl Compatible Regular Expressions)
890
891 %package pdf
892 Summary:        libPDF module for PHP
893 Summary(pl):    Modu³ do tworzenia plików PDF dla PHP
894 Group:          Libraries
895 PreReq:         %{name}-common = %{version}
896 PreReq:         pdflib
897
898 %description pdf
899 This is a dynamic shared object (DSO) for Apache that will add PDF
900 support to PHP.
901
902 %description pdf -l pl
903 Modu³ PHP umo¿liwiaj±cy tworzenie plików PDF. Wykorzystuje bibliotekê
904 pdflib.
905
906 %package pgsql
907 Summary:        PostgreSQL database module for PHP
908 Summary(pl):    Modu³ bazy danych PostgreSQL dla PHP
909 Group:          Libraries
910 PreReq:         %{name}-common = %{version}
911
912 %description pgsql
913 This is a dynamic shared object (DSO) for Apache that will add
914 PostgreSQL database support to PHP. If you need back-end support for
915 PostgreSQL, you should install this package in addition to the main
916 %{name} package.
917
918 %description pgsql -l pl
919 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
920
921 %description pgsql -l pt_BR
922 Um módulo para aplicações PHP que usam bancos de dados postgresql.
923
924 %package posix
925 Summary:        POSIX extension module for PHP
926 Summary(pl):    Modu³ POSIX dla PHP
927 Group:          Libraries
928 PreReq:         %{name}-common = %{version}
929
930 %description posix
931 This is a dynamic shared object (DSO) for Apache that will add POSIX
932 functions support to PHP.
933
934 %description posix -l pl
935 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
936
937 %package pspell
938 Summary:        pspell extension module for PHP
939 Summary(pl):    Modu³ pspell dla PHP
940 Group:          Libraries
941 PreReq:         %{name}-common = %{version}
942
943 %description pspell
944 This is a dynamic shared object (DSO) for Apache that will add pspell
945 support to PHP. It allows to check the spelling of a word and offer
946 suggestions.
947
948 %description pspell -l pl
949 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
950 sprawdzanie pisowni s³owa i sugerowanie poprawek.
951
952 %package recode
953 Summary:        recode extension module for PHP
954 Summary(pl):    Modu³ recode dla PHP
955 Group:          Libraries
956 PreReq:         %{name}-common = %{version}
957 Requires:       recode >= 3.5d-3
958
959 %description recode
960 This is a dynamic shared object (DSO) for Apache that will add recode
961 support to PHP.
962
963 %description recode -l pl
964 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
965 bibliotekê recode).
966
967 %package session
968 Summary:        session extension module for PHP
969 Summary(pl):    Modu³ session dla PHP
970 Group:          Libraries
971 PreReq:         %{name}-common = %{version}
972
973 %description session
974 This is a dynamic shared object (DSO) for Apache that will add session
975 support to PHP.
976
977 %description session -l pl
978 Modu³ PHP dodaj±cy obs³ugê sesji.
979
980 %package shmop
981 Summary:        Shared Memory Operations extension module for PHP
982 Summary(pl):    Modu³ shmop dla PHP
983 Group:          Libraries
984 PreReq:         %{name}-common = %{version}
985
986 %description shmop
987 This is a dynamic shared object (DSO) for Apache that will add Shared
988 Memory Operations support to PHP.
989
990 Warning: this is an experimental module.
991
992 %description shmop -l pl
993 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
994
995 Uwaga: to jest modu³ eksperymentalny.
996
997 %package snmp
998 Summary:        SNMP extension module for PHP
999 Summary(pl):    Modu³ SNMP dla PHP
1000 Group:          Libraries
1001 PreReq:         %{name}-common = %{version}
1002
1003 %description snmp
1004 This is a dynamic shared object (DSO) for Apache that will add SNMP
1005 support to PHP.
1006
1007 %description snmp -l pl
1008 Modu³ PHP dodaj±cy obs³ugê SNMP.
1009
1010 %package sockets
1011 Summary:        sockets extension module for PHP
1012 Summary(pl):    Modu³ socket dla PHP
1013 Group:          Libraries
1014 PreReq:         %{name}-common = %{version}
1015
1016 %description sockets
1017 This is a dynamic shared object (DSO) for Apache that will add sockets
1018 support to PHP.
1019
1020 Warning: this is an experimental module.
1021
1022 %description sockets -l pl
1023 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1024
1025 Uwaga: to jest modu³ eksperymentalny.
1026
1027 %package sybase-ct
1028 Summary:        Sybase-CT extension module for PHP
1029 Summary(pl):    Modu³ Sybase-CT dla PHP
1030 Group:          Libraries
1031 PreReq:         %{name}-common = %{version}
1032
1033 %description sybase-ct
1034 This is a dynamic shared object (DSO) for Apache that will add Sybase
1035 and MS SQL databases support through CT-lib to PHP.
1036
1037 %description sybase-ct -l pl
1038 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1039 CT-lib.
1040
1041 %package sysvsem
1042 Summary:        SysV sem extension module for PHP
1043 Summary(pl):    Modu³ SysV sem dla PHP
1044 Group:          Libraries
1045 PreReq:         %{name}-common = %{version}
1046
1047 %description sysvsem
1048 This is a dynamic shared object (DSO) for Apache that will add SysV
1049 semafores support to PHP.
1050
1051 %description sysvsem -l pl
1052 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1053
1054 %package sysvshm
1055 Summary:        SysV shm extension module for PHP
1056 Summary(pl):    Modu³ SysV shm dla PHP
1057 Group:          Libraries
1058 PreReq:         %{name}-common = %{version}
1059
1060 %description sysvshm
1061 This is a dynamic shared object (DSO) for Apache that will add SysV
1062 Shared Memory support to PHP.
1063
1064 %description sysvshm -l pl
1065 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1066
1067 %package wddx
1068 Summary:        wddx extension module for PHP
1069 Summary(pl):    Modu³ wddx dla PHP
1070 Group:          Libraries
1071 PreReq:         %{name}-common = %{version}
1072 PreReq:         %{name}-session = %{version}
1073
1074 %description wddx
1075 This is a dynamic shared object (DSO) for Apache that will add wddx
1076 support to PHP.
1077
1078 %description wddx -l pl
1079 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1080
1081 %package xml
1082 Summary:        XML extension module for PHP
1083 Summary(pl):    Modu³ XML dla PHP
1084 Group:          Libraries
1085 PreReq:         %{name}-common = %{version}
1086
1087 %description xml
1088 This is a dynamic shared object (DSO) for Apache that will add XML
1089 support to PHP. This extension lets you create XML parsers and then
1090 define handlers for different XML events. If you want to be able to
1091 parse XML documents you should install this package in addition to the
1092 main %{name} package.
1093
1094 %description xml -l pl
1095 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1096 zwi±zanych z tymi plikami.
1097
1098 %package xmlrpc
1099 Summary:        xmlrpc extension module for PHP
1100 Summary(pl):    Modu³ xmlrpc dla PHP
1101 Group:          Libraries
1102 PreReq:         %{name}-common = %{version}
1103
1104 %description xmlrpc
1105 This is a dynamic shared object (DSO) for Apache that will add XMLRPC
1106 support to PHP.
1107
1108 Warning: this is an experimental module.
1109
1110 %description xmlrpc -l pl
1111 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1112
1113 Uwaga: to jest modu³ eksperymentalny.
1114
1115 %package xslt
1116 Summary:        xslt extension module for PHP
1117 Summary(pl):    Modu³ xslt dla PHP
1118 Group:          Libraries
1119 PreReq:         %{name}-common = %{version}
1120
1121 %description xslt
1122 This is a dynamic shared object (DSO) for Apache that will add xslt
1123 support to PHP.
1124
1125 %description xslt -l pl
1126 Modu³ PHP umo¿liwiaj±cy korzystanie z technologii xslt.
1127
1128 %package yaz
1129 Summary:        yaz extension module for PHP
1130 Summary(pl):    Modu³ yaz dla PHP
1131 Group:          Libraries
1132 PreReq:         %{name}-common = %{version}
1133
1134 %description yaz
1135 This is a dynamic shared object (DSO) for Apache that will add yaz
1136 support to PHP. yaz toolkit implements the Z39.50 protocol for
1137 information retrieval.
1138
1139 %description yaz -l pl
1140 Modu³ PHP umo¿liwiaj±cy korzystanie z yaz - implementacji protoko³u
1141 Z39.50 s³u¿±cego do pozyskiwania informacji.
1142
1143 %package yp
1144 Summary:        NIS (yp) extension module for PHP
1145 Summary(pl):    Modu³ NIS (yp) dla PHP
1146 Group:          Libraries
1147 PreReq:         %{name}-common = %{version}
1148
1149 %description yp
1150 This is a dynamic shared object (DSO) for Apache that will add NIS
1151 (Yellow Pages) support to PHP.
1152
1153 %description yp -l pl
1154 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
1155 wsparcie dla NIS (Yellow Pages).
1156
1157 %package zip
1158 Summary:        zip extension module for PHP
1159 Summary(pl):    Modu³ zip dla PHP
1160 Group:          Libraries
1161 PreReq:         %{name}-common = %{version}
1162
1163 %description zip
1164 This is a dynamic shared object (DSO) for Apache that will add ZZipLib
1165 (read-only access to ZIP archives) support to PHP.
1166
1167 %description zip -l pl
1168 Modu³ PHP umo¿liwiaj±cy korzystanie z bibliotekli ZZipLib
1169 (pozwalaj±cej na odczyt archiwów ZIP).
1170
1171 %package zlib
1172 Summary:        Zlib extension module for PHP
1173 Summary(pl):    Modu³ zlib dla PHP
1174 Group:          Libraries
1175 PreReq:         %{name}-common = %{version}
1176
1177 %description zlib
1178 This is a dynamic shared object (DSO) for Apache that will add
1179 compression (zlib) support to PHP.
1180
1181 %description zlib -l pl
1182 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji (poprzez bibliotekê zlib).
1183
1184 %package pear
1185 Summary:        PEAR - PHP Extension and Application Repository
1186 Summary(pl):    PEAR - Rozszerzenie PHP i Repozytorium Aplikacji
1187 Group:          Development/Languages/PHP
1188 Requires:       %{name}-pcre = %{version}
1189 Requires:       %{name}-xml = %{version}
1190
1191 %description pear
1192 PEAR - PHP Extension and Application Repository.
1193
1194 %description pear -l pl
1195 PEAR (PHP Extension and Application Repository) - Rozszerzenie PHP i
1196 Repozytorium Aplikacji.
1197
1198 %package pear-additional_classes
1199 Summary:        PEAR - PHP Extension and Application Repository
1200 Summary(pl):    PEAR - Rozszerzenie PHP i Repozytorium Aplikacji
1201 Group:          Development/Languages/PHP
1202 Requires:       %{name}-pcre = %{version}
1203 Requires:       %{name}-pear
1204
1205 %description pear-additional_classes
1206 PEAR - PHP Extension and Application Repository. Additional classes
1207 which can't be found in pear packages.
1208
1209 %description pear-additional_classes -l pl
1210 PEAR (PHP Extension and Application Repository) - Rozszerzenie PHP i
1211 Repozytorium Aplikacji. Dodatkowe klasy, których nie ma w innych
1212 pakietach peara.
1213
1214 %package pear-devel
1215 Summary:        PEAR - PHP Extension and Application Repository
1216 Summary(pl):    PEAR - Rozszerzenie PHP i Repozytorium Aplikacji
1217 Group:          Development/Languages/PHP
1218 Requires:       %{name}-cgi = %{version}
1219 Requires:       %{name}-pcre = %{version}
1220 Requires:       %{name}-xml = %{version}
1221 Requires:       %{name}-pear
1222 Requires:       %{name}-pear-PEAR-Command
1223
1224 %description pear-devel
1225 PEAR - PHP Extension and Application Repository. This package contains
1226 aplications needed to use pear from cvs.
1227
1228 %description pear-devel -l pl
1229 PEAR (PHP Extension and Application Repository) - Rozszerzenie PHP i
1230 Repozytorium Aplikacji. Ten pakiet zawiera aplikacje potrzebne do
1231
1232 %prep
1233 %setup -q
1234 %patch0 -p1
1235 %patch1 -p1
1236 %patch2 -p1
1237 %patch3 -p1
1238 %patch4 -p1
1239 %patch5 -p1
1240 %patch6 -p1
1241 %patch7 -p1
1242 %patch8 -p1
1243 %patch9 -p1
1244 %patch10 -p1
1245 %patch11 -p1
1246 %patch12 -p1
1247 %patch13 -p1
1248 %patch14 -p1
1249 %patch15 -p1
1250 %patch16 -p1
1251 %patch17 -p1
1252 %patch18 -p1
1253 %patch19 -p1
1254 %patch20 -p1
1255 %patch21 -p1
1256
1257 install -d manual
1258 bzip2 -dc %{SOURCE4} | tar -xf - -C manual
1259
1260 %build
1261 CFLAGS="%{rpmcflags} -DEAPI=1 -I%{_prefix}/X11R6/include"
1262 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1263 ./buildconf
1264 %{__libtoolize}
1265 aclocal
1266 autoconf
1267 #for i in cgi fastcgi apxs ; do
1268 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1269 for i in cgi apxs ; do
1270 %configure \
1271         `[ $i = cgi ] && echo --enable-discard-path` \
1272         `[ $i = fastcgi ] && echo --enable-discard-path --with-fastcgi=%{_prefix}` \
1273 %if %{_apache2}
1274         `[ $i = apxs ] && echo --with-apxs2=%{_sbindir}/apxs` \
1275 %else
1276         `[ $i = apxs ] && echo --with-apxs=%{_sbindir}/apxs` \
1277 %endif
1278         --with-config-file-path=%{_sysconfdir} \
1279         --with-exec-dir=%{_bindir} \
1280         --%{!?debug:dis}%{?debug:en}able-debug \
1281         --enable-bcmath=shared \
1282         --enable-calendar=shared \
1283         --disable-cli \
1284         --enable-ctype=shared \
1285         --enable-dba=shared \
1286         --enable-dbx=shared \
1287         --enable-dio=shared \
1288         --enable-exif=shared \
1289         --enable-ftp=shared \
1290         --enable-gd-native-ttf \
1291         --enable-magic-quotes \
1292         --enable-mbstring=shared --disable-mbstr-enc-trans --enable-mbregex \
1293         --enable-overload=shared \
1294         --disable-pcntl \
1295         --enable-posix=shared \
1296         --enable-session \
1297         --enable-shared \
1298         --enable-shmop=shared \
1299         --enable-sysvsem=shared \
1300         --enable-sysvshm=shared \
1301         --enable-track-vars \
1302         --enable-trans-sid \
1303         --enable-safe-mode \
1304         --enable-sockets=shared \
1305         --enable-ucd-snmp-hack \
1306         %{!?_without_wddx:--enable-wddx=shared} \
1307         --enable-xml=shared \
1308         %{!?_without_xslt:--enable-xslt=shared} \
1309         --enable-yp=shared \
1310         --with-bz2=shared \
1311         %{?_with_cpdf:--with-cpdflib=shared} \
1312         --with-crack=shared \
1313         --with-curl=shared \
1314         --without-db2 \
1315         --with-db3 \
1316         --with-dbase=shared \
1317         --with-dom=shared \
1318         %{!?_without_domxslt:--with-dom-xslt=shared --with-dom-exslt=shared} \
1319         --with-expat-dir=shared,/usr \
1320         --with-iconv=shared \
1321         --with-filepro=shared \
1322         --with-freetype-dir=shared \
1323         --with-gettext=shared \
1324         --with-gd=shared \
1325         --with-gdbm \
1326         --with-gmp=shared \
1327         --with-hyperwave=shared \
1328         %{!?_without_imap:--with-imap=shared --with-imap-ssl} \
1329         %{?_with_interbase:--with-interbase=shared} \
1330         %{?_with_java:--with-java} \
1331         --with-jpeg-dir=shared,/usr \
1332         %{!?_without_ldap:--with-ldap=shared} \
1333         --with-mcal=shared,/usr \
1334         --with-mcrypt=shared \
1335         --with-mhash=shared \
1336         --with-ming=shared \
1337         %{!?_without_mm:--with-mm} \
1338         --with-mnogosearch=shared,/usr \
1339         %{!?_without_msession:--with-msession=shared} \
1340         --with-mysql=shared,/usr \
1341         --with-mysql-sock=/var/lib/mysql/mysql.sock \
1342         %{?_with_oci8:--with-oci8=shared} \
1343         %{!?_without_openssl:--with-openssl=shared} \
1344         %{?_with_oracle:--with-oracle=shared} \
1345         --with-pcre-regex=shared \
1346         --with-pdflib=shared \
1347         --with-pear=%{php_pear_dir} \
1348         --with-pgsql=shared,/usr \
1349         --with-png-dir=shared,/usr \
1350         --with-pspell=shared \
1351         %{!?_without_recode:--with-recode=shared} \
1352         --with-regex=php \
1353         --with-sablot-js=shared,no \
1354         %{!?_without_snmp:--with-snmp=shared} \
1355         %{?_with_sybase_ct:--with-sybase-ct=shared,/usr} \
1356         --with-t1lib=shared \
1357         --with-tiff-dir=shared,/usr \
1358         %{!?_without_odbc:--with-unixODBC=shared} \
1359         --with-xmlrpc=shared,/usr \
1360         %{!?_without_xslt:--with-xslt-sablot=shared} \
1361         --with-yaz=shared \
1362         --with-zip=shared \
1363         --with-zlib=shared \
1364         --with-zlib-dir=shared
1365 done
1366
1367 # for now session_mm doesn't work with shared session module...
1368 # --enable-session=shared
1369 # %{?_without_mm:--with-mm=shared,no}%{!?_without_mm:--with-mm=shared}
1370
1371 # TODO --with-pspell=/usr,shared (pspell missing)
1372 #       --with-qtdom=shared
1373
1374 %{__make}
1375 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" -C sapi/cgi
1376
1377 # Kill -rpath from php binary and libphp4.so
1378 perl -pi -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
1379 perl -pi -e 's|^runpath_var=.*|runpath_var=|g' libtool
1380 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" php
1381
1382 perl -pi -e 's|^hardcode_into_libs=.*|hardcode_into_libs=no|g' libtool
1383 rm libphp4.la ; %{__make} libphp4.la
1384
1385 %install
1386 rm -rf $RPM_BUILD_ROOT
1387 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache},%{_sysconfdir}/{apache,cgi}} \
1388         $RPM_BUILD_ROOT/home/httpd/icons \
1389         $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1390         $RPM_BUILD_ROOT/var/run/php \
1391         $RPM_BUILD_ROOT/etc/httpd/httpd.conf
1392
1393 %{__make} install \
1394         INSTALL_ROOT=$RPM_BUILD_ROOT \
1395         INSTALL_IT="install libs/libphp4.so $RPM_BUILD_ROOT%{_libdir}/apache/ ; install libs/libphp_common*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}"
1396
1397 %{?_with_java:install ext/java/php_java.jar $RPM_BUILD_ROOT%{_libdir}}
1398
1399 install .libs/php $RPM_BUILD_ROOT%{_bindir}/php
1400
1401 install %{SOURCE2}              $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1402 install %{SOURCE7} %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}
1403 install %{SOURCE3} php.gif $RPM_BUILD_ROOT/home/httpd/icons
1404 install %{SOURCE5} $RPM_BUILD_ROOT%{_sbindir}
1405 install %{SOURCE6} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1406
1407 install %{SOURCE1} .
1408
1409 mv -f Zend/LICENSE{,.Zend}
1410
1411 mkdir $RPM_BUILD_ROOT%{php_pear_dir}/{Auth,Auth_HTTP,Science}
1412
1413 %clean
1414 rm -rf $RPM_BUILD_ROOT
1415
1416 %post
1417 %if ! %{_apache2}
1418 perl -pi -e 's|^#AddType application/x-httpd-php \.php|AddType application/x-httpd-php .php|' \
1419         /etc/httpd/httpd.conf
1420 %{_sbindir}/apxs -e -a -n php4 %{_pkglibdir}/libphp4.so 1>&2
1421 %endif
1422 if [ -f /var/lock/subsys/httpd ]; then
1423         /etc/rc.d/init.d/httpd restart 1>&2
1424 fi
1425
1426 %if %{_apache2}
1427 %postun
1428 if [ "$1" = "0" ]; then
1429         if [ -f /var/lock/subsys/httpd ]; then
1430                 /etc/rc.d/init.d/httpd restart 1>&2
1431         fi
1432 fi
1433 %else
1434 %preun
1435 if [ "$1" = "0" ]; then
1436         %{_sbindir}/apxs -e -A -n php4 %{_pkglibdir}/libphp4.so 1>&2
1437         perl -pi -e \
1438                 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
1439                 /etc/httpd/httpd.conf
1440         if [ -f /var/lock/subsys/httpd ]; then
1441                 /etc/rc.d/init.d/httpd restart 1>&2
1442         fi
1443 fi
1444 %endif
1445
1446 %post   common -p /sbin/ldconfig
1447 %postun common -p /sbin/ldconfig
1448
1449 %post bcmath
1450 %{_sbindir}/php-module-install install bcmath %{_sysconfdir}/php.ini
1451
1452 %preun bcmath
1453 if [ "$1" = "0" ]; then
1454         %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
1455 fi
1456
1457 %post bzip2
1458 %{_sbindir}/php-module-install install bz2 %{_sysconfdir}/php.ini
1459
1460 %preun bzip2
1461 if [ "$1" = "0" ]; then
1462         %{_sbindir}/php-module-install remove bz2 %{_sysconfdir}/php.ini
1463 fi
1464
1465 %post calendar
1466 %{_sbindir}/php-module-install install calendar %{_sysconfdir}/php.ini
1467
1468 %preun calendar
1469 if [ "$1" = "0" ]; then
1470         %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
1471 fi
1472
1473 %post cpdf
1474 %{_sbindir}/php-module-install install cpdf %{_sysconfdir}/php.ini
1475
1476 %preun cpdf
1477 if [ "$1" = "0" ]; then
1478         %{_sbindir}/php-module-install remove cpdf %{_sysconfdir}/php.ini
1479 fi
1480
1481 %post crack
1482 %{_sbindir}/php-module-install install crack %{_sysconfdir}/php.ini
1483
1484 %preun crack
1485 if [ "$1" = "0" ]; then
1486         %{_sbindir}/php-module-install remove crack %{_sysconfdir}/php.ini
1487 fi
1488
1489 %post ctype
1490 %{_sbindir}/php-module-install install ctype %{_sysconfdir}/php.ini
1491
1492 %preun ctype
1493 if [ "$1" = "0" ]; then
1494         %{_sbindir}/php-module-install remove ctype %{_sysconfdir}/php.ini
1495 fi
1496
1497 %post curl
1498 %{_sbindir}/php-module-install install curl %{_sysconfdir}/php.ini
1499
1500 %preun curl
1501 if [ "$1" = "0" ]; then
1502         %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
1503 fi
1504
1505 %post dba
1506 %{_sbindir}/php-module-install install dba %{_sysconfdir}/php.ini
1507
1508 %preun dba
1509 if [ "$1" = "0" ]; then
1510         %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
1511 fi
1512
1513 %post dbase
1514 %{_sbindir}/php-module-install install dbase %{_sysconfdir}/php.ini
1515
1516 %preun dbase
1517 if [ "$1" = "0" ]; then
1518         %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
1519 fi
1520
1521 %post dbx
1522 %{_sbindir}/php-module-install install dbx %{_sysconfdir}/php.ini
1523
1524 %preun dbx
1525 if [ "$1" = "0" ]; then
1526         %{_sbindir}/php-module-install remove dbx %{_sysconfdir}/php.ini
1527 fi
1528
1529 %post dio
1530 %{_sbindir}/php-module-install install dbx %{_sysconfdir}/php.ini
1531
1532 %preun dio
1533 if [ "$1" = "0" ]; then
1534         %{_sbindir}/php-module-install remove dbx %{_sysconfdir}/php.ini
1535 fi
1536
1537 %post domxml
1538 %{_sbindir}/php-module-install install domxml %{_sysconfdir}/php.ini
1539
1540 %preun domxml
1541 if [ "$1" = "0" ]; then
1542         %{_sbindir}/php-module-install remove domxml %{_sysconfdir}/php.ini
1543 fi
1544
1545 %post exif
1546 %{_sbindir}/php-module-install install exif %{_sysconfdir}/php.ini
1547
1548 %preun exif
1549 if [ "$1" = "0" ]; then
1550         %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
1551 fi
1552
1553 %post filepro
1554 %{_sbindir}/php-module-install install filepro %{_sysconfdir}/php.ini
1555
1556 %preun filepro
1557 if [ "$1" = "0" ]; then
1558         %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
1559 fi
1560
1561 %post ftp
1562 %{_sbindir}/php-module-install install ftp %{_sysconfdir}/php.ini
1563
1564 %preun ftp
1565 if [ "$1" = "0" ]; then
1566         %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
1567 fi
1568
1569 %post gd
1570 %{_sbindir}/php-module-install install gd %{_sysconfdir}/php.ini
1571
1572 %preun gd
1573 if [ "$1" = "0" ]; then
1574         %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
1575 fi
1576
1577 %post gettext
1578 %{_sbindir}/php-module-install install gettext %{_sysconfdir}/php.ini
1579
1580 %preun gettext
1581 if [ "$1" = "0" ]; then
1582         %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
1583 fi
1584
1585 %post gmp
1586 %{_sbindir}/php-module-install install gmp %{_sysconfdir}/php.ini
1587
1588 %preun gmp
1589 if [ "$1" = "0" ]; then
1590         %{_sbindir}/php-module-install remove gmp %{_sysconfdir}/php.ini
1591 fi
1592
1593 %post hyperwave
1594 %{_sbindir}/php-module-install install hyperwave %{_sysconfdir}/php.ini
1595
1596 %preun hyperwave
1597 if [ "$1" = "0" ]; then
1598         %{_sbindir}/php-module-install remove hyperwave %{_sysconfdir}/php.ini
1599 fi
1600
1601 %post iconv
1602 %{_sbindir}/php-module-install install iconv %{_sysconfdir}/php.ini
1603
1604 %preun iconv
1605 if [ "$1" = "0" ]; then
1606         %{_sbindir}/php-module-install remove iconv %{_sysconfdir}/php.ini
1607 fi
1608
1609 %post imap
1610 %{_sbindir}/php-module-install install imap %{_sysconfdir}/php.ini
1611
1612 %preun imap
1613 if [ "$1" = "0" ]; then
1614         %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
1615 fi
1616
1617 %post interbase
1618 %{_sbindir}/php-module-install install interbase %{_sysconfdir}/php.ini
1619
1620 %preun interbase
1621 if [ "$1" = "0" ]; then
1622         %{_sbindir}/php-module-install remove interbase %{_sysconfdir}/php.ini
1623 fi
1624
1625 %post java
1626 %{_sbindir}/php-module-install install java %{_sysconfdir}/php.ini
1627
1628 %preun java
1629 if [ "$1" = "0" ]; then
1630         %{_sbindir}/php-module-install remove java %{_sysconfdir}/php.ini
1631 fi
1632
1633 %post ldap
1634 %{_sbindir}/php-module-install install ldap %{_sysconfdir}/php.ini
1635
1636 %preun ldap
1637 if [ "$1" = "0" ]; then
1638         %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
1639 fi
1640
1641 %post mbstring
1642 %{_sbindir}/php-module-install install mbstring %{_sysconfdir}/php.ini
1643
1644 %preun mbstring
1645 if [ "$1" = "0" ]; then
1646         %{_sbindir}/php-module-install remove mbstring %{_sysconfdir}/php.ini
1647 fi
1648
1649 %post mcal
1650 %{_sbindir}/php-module-install install mcal %{_sysconfdir}/php.ini
1651
1652 %preun mcal
1653 if [ "$1" = "0" ]; then
1654         %{_sbindir}/php-module-install remove mcal %{_sysconfdir}/php.ini
1655 fi
1656
1657 %post mcrypt
1658 %{_sbindir}/php-module-install install mcrypt %{_sysconfdir}/php.ini
1659
1660 %preun mcrypt
1661 if [ "$1" = "0" ]; then
1662         %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
1663 fi
1664
1665 %post mhash
1666 %{_sbindir}/php-module-install install mhash %{_sysconfdir}/php.ini
1667
1668 %preun mhash
1669 if [ "$1" = "0" ]; then
1670         %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
1671 fi
1672
1673 %post ming
1674 %{_sbindir}/php-module-install install ming %{_sysconfdir}/php.ini
1675
1676 %preun ming
1677 if [ "$1" = "0" ]; then
1678         %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
1679 fi
1680
1681 %post mnogosearch
1682 %{_sbindir}/php-module-install install mnogosearch %{_sysconfdir}/php.ini
1683
1684 %preun mnogosearch
1685 if [ "$1" = "0" ]; then
1686         %{_sbindir}/php-module-install remove mnogosearch %{_sysconfdir}/php.ini
1687 fi
1688
1689 %post msession
1690 %{_sbindir}/php-module-install install msession %{_sysconfdir}/php.ini
1691
1692 %preun msession
1693 if [ "$1" = "0" ]; then
1694         %{_sbindir}/php-module-install remove msession %{_sysconfdir}/php.ini
1695 fi
1696
1697 %post mysql
1698 %{_sbindir}/php-module-install install mysql %{_sysconfdir}/php.ini
1699
1700 %preun mysql
1701 if [ "$1" = "0" ]; then
1702         %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
1703 fi
1704
1705 %post oci8
1706 %{_sbindir}/php-module-install install oci8 %{_sysconfdir}/php.ini
1707
1708 %preun oci8
1709 if [ "$1" = "0" ]; then
1710         %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
1711 fi
1712
1713 %post odbc
1714 %{_sbindir}/php-module-install install odbc %{_sysconfdir}/php.ini
1715
1716 %preun odbc
1717 if [ "$1" = "0" ]; then
1718         %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
1719 fi
1720
1721 %post openssl
1722 %{_sbindir}/php-module-install install openssl %{_sysconfdir}/php.ini
1723
1724 %preun openssl
1725 if [ "$1" = "0" ]; then
1726         %{_sbindir}/php-module-install remove openssl %{_sysconfdir}/php.ini
1727 fi
1728
1729 %post oracle
1730 %{_sbindir}/php-module-install install oracle %{_sysconfdir}/php.ini
1731
1732 %preun oracle
1733 if [ "$1" = "0" ]; then
1734         %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
1735 fi
1736
1737 %post overload
1738 %{_sbindir}/php-module-install install overload %{_sysconfdir}/php.ini
1739
1740 %preun overload
1741 if [ "$1" = "0" ]; then
1742         %{_sbindir}/php-module-install remove overload %{_sysconfdir}/php.ini
1743 fi
1744
1745 %post pcntl
1746 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php.ini
1747
1748 %preun pcntl
1749 if [ "$1" = "0" ]; then
1750         %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php.ini
1751 fi
1752
1753 %post pcre
1754 %{_sbindir}/php-module-install install pcre %{_sysconfdir}/php.ini
1755
1756 %preun pcre
1757 if [ "$1" = "0" ]; then
1758         %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
1759 fi
1760
1761 %post pdf
1762 %{_sbindir}/php-module-install install pdf %{_sysconfdir}/php.ini
1763
1764 %preun pdf
1765 if [ "$1" = "0" ]; then
1766         %{_sbindir}/php-module-install remove pdf %{_sysconfdir}/php.ini
1767 fi
1768
1769 %post pgsql
1770 %{_sbindir}/php-module-install install pgsql %{_sysconfdir}/php.ini
1771
1772 %preun pgsql
1773 if [ "$1" = "0" ]; then
1774         %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
1775 fi
1776
1777 %post posix
1778 %{_sbindir}/php-module-install install posix %{_sysconfdir}/php.ini
1779
1780 %preun posix
1781 if [ "$1" = "0" ]; then
1782         %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
1783 fi
1784
1785 %post pspell
1786 %{_sbindir}/php-module-install install pspell %{_sysconfdir}/php.ini
1787
1788 %preun pspell
1789 if [ "$1" = "0" ]; then
1790         %{_sbindir}/php-module-install remove pspell %{_sysconfdir}/php.ini
1791 fi
1792
1793 %post recode
1794 %{_sbindir}/php-module-install install recode %{_sysconfdir}/php.ini
1795
1796 %preun recode
1797 if [ "$1" = "0" ]; then
1798         %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
1799 fi
1800
1801 %post session
1802 %{_sbindir}/php-module-install install session %{_sysconfdir}/php.ini
1803
1804 %preun session
1805 if [ "$1" = "0" ]; then
1806         %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
1807 fi
1808
1809 %post shmop
1810 %{_sbindir}/php-module-install install shmop %{_sysconfdir}/php.ini
1811
1812 %preun shmop
1813 if [ "$1" = "0" ]; then
1814         %{_sbindir}/php-module-install remove shmop %{_sysconfdir}/php.ini
1815 fi
1816
1817 %post snmp
1818 %{_sbindir}/php-module-install install snmp %{_sysconfdir}/php.ini
1819
1820 %preun snmp
1821 if [ "$1" = "0" ]; then
1822         %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
1823 fi
1824
1825 %post sockets
1826 %{_sbindir}/php-module-install install sockets %{_sysconfdir}/php.ini
1827
1828 %preun sockets
1829 if [ "$1" = "0" ]; then
1830         %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
1831 fi
1832
1833 %post sybase-ct
1834 %{_sbindir}/php-module-install install sybase_ct %{_sysconfdir}/php.ini
1835
1836 %preun sybase-ct
1837 if [ "$1" = "0" ]; then
1838         %{_sbindir}/php-module-install remove sybase_ct %{_sysconfdir}/php.ini
1839 fi
1840
1841 %post sysvsem
1842 %{_sbindir}/php-module-install install sysvsem %{_sysconfdir}/php.ini
1843
1844 %preun sysvsem
1845 if [ "$1" = "0" ]; then
1846         %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
1847 fi
1848
1849 %post sysvshm
1850 %{_sbindir}/php-module-install install sysvshm %{_sysconfdir}/php.ini
1851
1852 %preun sysvshm
1853 if [ "$1" = "0" ]; then
1854         %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
1855 fi
1856
1857 %post wddx
1858 %{_sbindir}/php-module-install install wddx %{_sysconfdir}/php.ini
1859
1860 %preun wddx
1861 if [ "$1" = "0" ]; then
1862         %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
1863 fi
1864
1865 %post xml
1866 %{_sbindir}/php-module-install install xml %{_sysconfdir}/php.ini
1867
1868 %preun xml
1869 if [ "$1" = "0" ]; then
1870         %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
1871 fi
1872
1873 %post xmlrpc
1874 %{_sbindir}/php-module-install install xmlrpc %{_sysconfdir}/php.ini
1875
1876 %preun xmlrpc
1877 if [ "$1" = "0" ]; then
1878         %{_sbindir}/php-module-install remove xmlrpc %{_sysconfdir}/php.ini
1879 fi
1880
1881 %post xslt
1882 %{_sbindir}/php-module-install install xslt %{_sysconfdir}/php.ini
1883
1884 %preun xslt
1885 if [ "$1" = "0" ]; then
1886         %{_sbindir}/php-module-install remove xslt %{_sysconfdir}/php.ini
1887 fi
1888
1889 %post yaz
1890 %{_sbindir}/php-module-install install yaz %{_sysconfdir}/php.ini
1891
1892 %preun yaz
1893 if [ "$1" = "0" ]; then
1894         %{_sbindir}/php-module-install remove yaz %{_sysconfdir}/php.ini
1895 fi
1896
1897 %post yp
1898 %{_sbindir}/php-module-install install yp %{_sysconfdir}/php.ini
1899
1900 %preun yp
1901 if [ "$1" = "0" ]; then
1902         %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
1903 fi
1904
1905 %post zip
1906 %{_sbindir}/php-module-install install zip %{_sysconfdir}/php.ini
1907
1908 %preun zip
1909 if [ "$1" = "0" ]; then
1910         %{_sbindir}/php-module-install remove zip %{_sysconfdir}/php.ini
1911 fi
1912
1913 %post zlib
1914 %{_sbindir}/php-module-install install zlib %{_sysconfdir}/php.ini
1915
1916 %preun zlib
1917 if [ "$1" = "0" ]; then
1918         %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
1919 fi
1920
1921 %files
1922 %defattr(644,root,root,755)
1923 %if %{_apache2}
1924 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/httpd/httpd.conf/*_mod_php.conf
1925 %endif
1926 %attr(755,root,root) %{_libdir}/apache/libphp4.so
1927 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-apache.ini
1928
1929 %files cgi
1930 %defattr(644,root,root,755)
1931 %attr(755,root,root) %{_bindir}/php
1932 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cgi.ini
1933
1934 %files common
1935 %defattr(644,root,root,755)
1936 %doc CODING_STANDARDS CREDITS Zend/ZEND_CHANGES
1937 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
1938 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
1939
1940 %dir %{_sysconfdir}
1941 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
1942 %attr(730,root,http) %dir %verify(not group mode) /var/run/php
1943
1944 /home/httpd/icons/*
1945 %attr(755,root,root) %{_sbindir}/*
1946 %attr(755,root,root) %{_libdir}/libphp_common*.so.*.*.*
1947 %dir %{extensionsdir}
1948
1949 %files devel
1950 %defattr(644,root,root,755)
1951 %{_includedir}/php
1952 %{_libdir}/php/build
1953 %attr(755,root,root) %{_bindir}/phpextdist
1954 %attr(755,root,root) %{_bindir}/phpize
1955 %attr(755,root,root) %{_bindir}/php-config
1956
1957 %files doc
1958 %defattr(644,root,root,755)
1959 %doc manual/*
1960
1961 %files bcmath
1962 %defattr(644,root,root,755)
1963 %attr(755,root,root) %{extensionsdir}/bcmath.so
1964
1965 %files bzip2
1966 %defattr(644,root,root,755)
1967 %attr(755,root,root) %{extensionsdir}/bz2.so
1968
1969 %files calendar
1970 %defattr(644,root,root,755)
1971 %attr(755,root,root) %{extensionsdir}/calendar.so
1972
1973 %if %{?_with_cpdf:1}%{!?_with_cpdf:0}
1974 %files cpdf
1975 %defattr(644,root,root,755)
1976 %attr(755,root,root) %{extensionsdir}/cpdf.so
1977 %endif
1978
1979 %files crack
1980 %defattr(644,root,root,755)
1981 %attr(755,root,root) %{extensionsdir}/crack.so
1982
1983 %files ctype
1984 %defattr(644,root,root,755)
1985 %attr(755,root,root) %{extensionsdir}/ctype.so
1986
1987 %files curl
1988 %defattr(644,root,root,755)
1989 %attr(755,root,root) %{extensionsdir}/curl.so
1990
1991 %files dba
1992 %defattr(644,root,root,755)
1993 %attr(755,root,root) %{extensionsdir}/dba.so
1994
1995 %files dbase
1996 %defattr(644,root,root,755)
1997 %attr(755,root,root) %{extensionsdir}/dbase.so
1998
1999 %files dbx
2000 %defattr(644,root,root,755)
2001 %attr(755,root,root) %{extensionsdir}/dbx.so
2002
2003 %files dio
2004 %defattr(644,root,root,755)
2005 %attr(755,root,root) %{extensionsdir}/dio.so
2006
2007 %files domxml
2008 %defattr(644,root,root,755)
2009 %attr(755,root,root) %{extensionsdir}/domxml.so
2010
2011 %files exif
2012 %defattr(644,root,root,755)
2013 %attr(755,root,root) %{extensionsdir}/exif.so
2014
2015 %files filepro
2016 %defattr(644,root,root,755)
2017 %attr(755,root,root) %{extensionsdir}/filepro.so
2018
2019 %files ftp
2020 %defattr(644,root,root,755)
2021 %attr(755,root,root) %{extensionsdir}/ftp.so
2022
2023 %files gd
2024 %defattr(644,root,root,755)
2025 %attr(755,root,root) %{extensionsdir}/gd.so
2026
2027 %files gettext
2028 %defattr(644,root,root,755)
2029 %attr(755,root,root) %{extensionsdir}/gettext.so
2030
2031 %files gmp
2032 %defattr(644,root,root,755)
2033 %attr(755,root,root) %{extensionsdir}/gmp.so
2034
2035 %files hyperwave
2036 %defattr(644,root,root,755)
2037 %attr(755,root,root) %{extensionsdir}/hyperwave.so
2038
2039 %files iconv
2040 %defattr(644,root,root,755)
2041 %attr(755,root,root) %{extensionsdir}/iconv.so
2042
2043 %if %{?_without_imap:0}%{!?_without_imap:1}
2044 %files imap
2045 %defattr(644,root,root,755)
2046 %attr(755,root,root) %{extensionsdir}/imap.so
2047 %endif
2048
2049 %if %{?_with_interbase:1}%{!?_with_interbase:0}
2050 %files interbase
2051 %defattr(644,root,root,755)
2052 %attr(755,root,root) %{extensionsdir}/interbase.so
2053 %endif
2054
2055 %if %{?_with_java:1}%{!?_with_java:0}
2056 %files java
2057 %defattr(644,root,root,755)
2058 %attr(755,root,root) %{extensionsdir}/java.so
2059 %{_libdir}/php_java.jar
2060 %endif
2061
2062 %if %{?_without_ldap:0}%{!?_without_ldap:1}
2063 %files ldap
2064 %defattr(644,root,root,755)
2065 %attr(755,root,root) %{extensionsdir}/ldap.so
2066 %endif
2067
2068 %files mbstring
2069 %defattr(644,root,root,755)
2070 %attr(755,root,root) %{extensionsdir}/mbstring.so
2071
2072 %files mcal
2073 %defattr(644,root,root,755)
2074 %attr(755,root,root) %{extensionsdir}/mcal.so
2075
2076 %files mcrypt
2077 %defattr(644,root,root,755)
2078 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2079
2080 %files mhash
2081 %defattr(644,root,root,755)
2082 %attr(755,root,root) %{extensionsdir}/mhash.so
2083
2084 %files ming
2085 %defattr(644,root,root,755)
2086 %attr(755,root,root) %{extensionsdir}/ming.so
2087
2088 %files mnogosearch
2089 %defattr(644,root,root,755)
2090 %attr(755,root,root) %{extensionsdir}/mnogosearch.so
2091
2092 %if %{?_without_msession:0}%{!?_without_msession:1}
2093 %files msession
2094 %defattr(644,root,root,755)
2095 %attr(755,root,root) %{extensionsdir}/msession.so
2096 %endif
2097
2098 %files mysql
2099 %defattr(644,root,root,755)
2100 %attr(755,root,root) %{extensionsdir}/mysql.so
2101
2102 %if %{?_with_oci8:1}%{!?_with_oci8:0}
2103 %files oci8
2104 %defattr(644,root,root,755)
2105 %attr(755,root,root) %{extensionsdir}/oci8.so
2106 %endif
2107
2108 %if %{?_without_odbc:0}%{!?_without_odbc:1}
2109 %files odbc
2110 %defattr(644,root,root,755)
2111 %attr(755,root,root) %{extensionsdir}/odbc.so
2112 %endif
2113
2114 %if %{?_without_openssl:0}%{!?_without_openssl:1}
2115 %files openssl
2116 %defattr(644,root,root,755)
2117 %attr(755,root,root) %{extensionsdir}/openssl.so
2118 %endif
2119
2120 %if %{?_with_oracle:1}%{!?_with_oracle:0}
2121 %files oracle
2122 %defattr(644,root,root,755)
2123 %attr(755,root,root) %{extensionsdir}/oracle.so
2124 %endif
2125
2126 %files overload
2127 %defattr(644,root,root,755)
2128 %attr(755,root,root) %{extensionsdir}/overload.so
2129
2130 # disabled in 4.2.0 - it segfaults
2131 #%files pcntl
2132 #%defattr(644,root,root,755)
2133 #%attr(755,root,root) %{extensionsdir}/pcntl.so
2134
2135 %files pcre
2136 %defattr(644,root,root,755)
2137 %attr(755,root,root) %{extensionsdir}/pcre.so
2138
2139 %files pdf
2140 %defattr(644,root,root,755)
2141 %attr(755,root,root) %{extensionsdir}/pdf.so
2142
2143 %files pgsql
2144 %defattr(644,root,root,755)
2145 %attr(755,root,root) %{extensionsdir}/pgsql.so
2146
2147 %files posix
2148 %defattr(644,root,root,755)
2149 %attr(755,root,root) %{extensionsdir}/posix.so
2150
2151 %files pspell
2152 %defattr(644,root,root,755)
2153 %attr(755,root,root) %{extensionsdir}/pspell.so
2154
2155 %if %{?_without_recode:0}%{!?_without_recode:1}
2156 %files recode
2157 %defattr(644,root,root,755)
2158 %attr(755,root,root) %{extensionsdir}/recode.so
2159 %endif
2160
2161 # session_mm doesn't work with shared session
2162 #%files session
2163 #%defattr(644,root,root,755)
2164 #%attr(755,root,root) %{extensionsdir}/session.so
2165
2166 %files shmop
2167 %defattr(644,root,root,755)
2168 %attr(755,root,root) %{extensionsdir}/shmop.so
2169
2170 %if %{?_without_snmp:0}%{!?_without_snmp:1}
2171 %files snmp
2172 %defattr(644,root,root,755)
2173 %attr(755,root,root) %{extensionsdir}/snmp.so
2174 %endif
2175
2176 %files sockets
2177 %defattr(644,root,root,755)
2178 %attr(755,root,root) %{extensionsdir}/sockets.so
2179
2180 %if %{?_with_sybase_ct:1}%{!?_with_sybase_ct:0}
2181 %files sybase-ct
2182 %defattr(644,root,root,755)
2183 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2184 %endif
2185
2186 %files sysvsem
2187 %defattr(644,root,root,755)
2188 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2189
2190 %files sysvshm
2191 %defattr(644,root,root,755)
2192 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2193
2194 %if %{?_without_wddx:0}%{!?_without_wddx:1}
2195 %files wddx
2196 %defattr(644,root,root,755)
2197 %attr(755,root,root) %{extensionsdir}/wddx.so
2198 %endif
2199
2200 %files xml
2201 %defattr(644,root,root,755)
2202 %attr(755,root,root) %{extensionsdir}/xml.so
2203
2204 %files xmlrpc
2205 %defattr(644,root,root,755)
2206 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
2207
2208 %if %{?_without_xslt:0}%{!?_without_xslt:1}
2209 %files xslt
2210 %defattr(644,root,root,755)
2211 %attr(755,root,root) %{extensionsdir}/xslt.so
2212 %endif
2213
2214 %files yaz
2215 %defattr(644,root,root,755)
2216 %attr(755,root,root) %{extensionsdir}/yaz.so
2217
2218 %files yp
2219 %defattr(644,root,root,755)
2220 %attr(755,root,root) %{extensionsdir}/yp.so
2221
2222 %files zip
2223 %defattr(644,root,root,755)
2224 %attr(755,root,root) %{extensionsdir}/zip.so
2225
2226 %files zlib
2227 %defattr(644,root,root,755)
2228 %attr(755,root,root) %{extensionsdir}/zlib.so
2229
2230 %files pear
2231 %defattr(644,root,root,755)
2232 %dir %{php_pear_dir}
2233 %dir %{php_pear_dir}/Archive
2234 %dir %{php_pear_dir}/Auth
2235 %dir %{php_pear_dir}/Auth_HTTP
2236 %dir %{php_pear_dir}/Console
2237 %dir %{php_pear_dir}/Crypt
2238 %dir %{php_pear_dir}/Date
2239 %dir %{php_pear_dir}/DB
2240 %dir %{php_pear_dir}/File
2241 %dir %{php_pear_dir}/HTML
2242 %dir %{php_pear_dir}/HTTP
2243 %dir %{php_pear_dir}/Image
2244 %dir %{php_pear_dir}/Mail
2245 %dir %{php_pear_dir}/Net
2246 %dir %{php_pear_dir}/PEAR
2247 %dir %{php_pear_dir}/Schedule
2248 %dir %{php_pear_dir}/Science
2249 %dir %{php_pear_dir}/XML
2250
2251 %files pear-additional_classes
2252 %defattr(644,root,root,755)
2253 %attr(644,root,root) %{php_pear_dir}/Crypt/HCEMD5.php
2254 %attr(644,root,root) %{php_pear_dir}/Date/Calc.php
2255 %attr(644,root,root) %{php_pear_dir}/Date/Human.php
2256 %attr(644,root,root) %{php_pear_dir}/File/Passwd.php
2257 %attr(644,root,root) %{php_pear_dir}/HTML/Form.php
2258 %attr(644,root,root) %{php_pear_dir}/HTML/IT*.php
2259 %attr(644,root,root) %{php_pear_dir}/HTML/Page.php
2260 %attr(644,root,root) %{php_pear_dir}/HTML/Processor.php
2261 %attr(644,root,root) %{php_pear_dir}/HTML/Select.php
2262 %attr(644,root,root) %{php_pear_dir}/HTTP/Compress.php
2263 %attr(644,root,root) %{php_pear_dir}/Schedule/At.php
2264
2265 %files pear-devel
2266 %defattr(644,root,root,755)
2267 %attr(755,root,root) %{_bindir}/pear
2268 %attr(755,root,root) %{_bindir}/pearize
2269 %attr(755,root,root) %{_bindir}/phptar
This page took 0.226063 seconds and 4 git commands to generate.