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