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