]> git.pld-linux.org Git - packages/php.git/blob - php.spec
- Release 5: removed conflict with php-pear-Date
[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:        5
44 Epoch:          3
45 Group:          Libraries
46 License:        The PHP license (see "LICENSE" file included in distribution)
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 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 %patch21 -p1
1257 %patch22 -p1
1258 cp php.ini-dist php.ini
1259 %patch23
1260
1261 install -d manual
1262 bzip2 -dc %{SOURCE3} | tar -xf - -C manual
1263
1264 %build
1265 CFLAGS="%{rpmcflags} -DEAPI=1 -I%{_prefix}/X11R6/include"
1266 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1267 ./buildconf
1268 %{__libtoolize}
1269 aclocal
1270 autoconf
1271 #for i in cgi fastcgi apxs ; do
1272 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1273 for i in cgi apxs ; do
1274 %configure \
1275         `[ $i = cgi ] && echo --enable-discard-path` \
1276         `[ $i = fastcgi ] && echo --enable-discard-path --with-fastcgi=%{_prefix}` \
1277 %if %{_apache2}
1278         `[ $i = apxs ] && echo --with-apxs2=%{_sbindir}/apxs` \
1279 %else
1280         `[ $i = apxs ] && echo --with-apxs=%{_sbindir}/apxs` \
1281 %endif
1282         --with-config-file-path=%{_sysconfdir} \
1283         --with-exec-dir=%{_bindir} \
1284         --%{!?debug:dis}%{?debug:en}able-debug \
1285         --enable-bcmath=shared \
1286         --enable-calendar=shared \
1287         --disable-cli \
1288         --enable-ctype=shared \
1289         --enable-dba=shared \
1290         --enable-dbx=shared \
1291         --enable-dio=shared \
1292         --enable-exif=shared \
1293         --enable-ftp=shared \
1294         --enable-gd-native-ttf \
1295         --enable-magic-quotes \
1296         --enable-mbstring=shared --disable-mbstr-enc-trans --enable-mbregex \
1297         --enable-overload=shared \
1298         --disable-pcntl \
1299         --enable-posix=shared \
1300         --enable-session \
1301         --enable-shared \
1302         --enable-shmop=shared \
1303         --enable-sysvsem=shared \
1304         --enable-sysvshm=shared \
1305         --enable-track-vars \
1306         --enable-trans-sid \
1307         --enable-safe-mode \
1308         --enable-sockets=shared \
1309         --enable-ucd-snmp-hack \
1310         %{!?_without_wddx:--enable-wddx=shared} \
1311         --enable-xml=shared \
1312         %{!?_without_xslt:--enable-xslt=shared} \
1313         --enable-yp=shared \
1314         --with-bz2=shared \
1315         %{?_with_cpdf:--with-cpdflib=shared} \
1316         --with-crack=shared \
1317         --with-curl=shared \
1318         --without-db2 \
1319         --with-db3 \
1320         --with-dbase=shared \
1321         --with-dom=shared \
1322         %{!?_without_domxslt:--with-dom-xslt=shared --with-dom-exslt=shared} \
1323         --with-expat-dir=shared,/usr \
1324         --with-iconv=shared \
1325         --with-filepro=shared \
1326         --with-freetype-dir=shared \
1327         --with-gettext=shared \
1328         --with-gd=shared \
1329         --with-gdbm \
1330         --with-gmp=shared \
1331         --with-hyperwave=shared \
1332         %{!?_without_imap:--with-imap=shared --with-imap-ssl} \
1333         %{?_with_interbase:--with-interbase=shared} \
1334         %{?_with_java:--with-java} \
1335         --with-jpeg-dir=shared,/usr \
1336         %{!?_without_ldap:--with-ldap=shared} \
1337         --with-mcal=shared,/usr \
1338         --with-mcrypt=shared \
1339         --with-mhash=shared \
1340         --with-ming=shared \
1341         %{!?_without_mm:--with-mm} \
1342         --with-mnogosearch=shared,/usr \
1343         %{!?_without_msession:--with-msession=shared} \
1344         --with-mysql=shared,/usr \
1345         --with-mysql-sock=/var/lib/mysql/mysql.sock \
1346         %{?_with_oci8:--with-oci8=shared} \
1347         %{!?_without_openssl:--with-openssl=shared} \
1348         %{?_with_oracle:--with-oracle=shared} \
1349         --with-pcre-regex=shared \
1350         %{!?_without_pdf:--with-pdflib=shared} \
1351         --with-pear=%{php_pear_dir} \
1352         --with-pgsql=shared,/usr \
1353         --with-png-dir=shared,/usr \
1354         --with-pspell=shared \
1355         %{!?_without_recode:--with-recode=shared} \
1356         --with-regex=php \
1357         --with-sablot-js=shared,no \
1358         %{!?_without_snmp:--with-snmp=shared} \
1359         %{?_with_sybase_ct:--with-sybase-ct=shared,/usr} \
1360         --with-t1lib=shared \
1361         --with-tiff-dir=shared,/usr \
1362         %{!?_without_odbc:--with-unixODBC=shared} \
1363         --with-xmlrpc=shared,/usr \
1364         %{!?_without_xslt:--with-xslt-sablot=shared} \
1365         --with-yaz=shared \
1366         --with-zip=shared \
1367         --with-zlib=shared \
1368         --with-zlib-dir=shared
1369 done
1370
1371 # for now session_mm doesn't work with shared session module...
1372 # --enable-session=shared
1373 # %{?_without_mm:--with-mm=shared,no}%{!?_without_mm:--with-mm=shared}
1374
1375 # TODO --with-pspell=/usr,shared (pspell missing)
1376 #       --with-qtdom=shared
1377
1378 %{__make}
1379 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" -C sapi/cgi
1380
1381 # Kill -rpath from php binary and libphp4.so
1382 perl -pi -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
1383 perl -pi -e 's|^runpath_var=.*|runpath_var=|g' libtool
1384 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" php
1385
1386 perl -pi -e 's|^hardcode_into_libs=.*|hardcode_into_libs=no|g' libtool
1387 rm libphp4.la ; %{__make} libphp4.la
1388
1389 %install
1390 rm -rf $RPM_BUILD_ROOT
1391 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache},%{_sysconfdir}/{apache,cgi}} \
1392         $RPM_BUILD_ROOT/home/httpd/icons \
1393         $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1394         $RPM_BUILD_ROOT/var/run/php \
1395         $RPM_BUILD_ROOT/etc/httpd/httpd.conf
1396
1397 %{__make} install \
1398         INSTALL_ROOT=$RPM_BUILD_ROOT \
1399         INSTALL_IT="install libs/libphp4.so $RPM_BUILD_ROOT%{_libdir}/apache/ ; install libs/libphp_common*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}"
1400
1401 %{?_with_java:install ext/java/php_java.jar $RPM_BUILD_ROOT%{_libdir}}
1402
1403 install .libs/php $RPM_BUILD_ROOT%{_bindir}/php
1404
1405 install php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1406 install %{SOURCE6} %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}
1407 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/httpd/icons
1408 install %{SOURCE4} $RPM_BUILD_ROOT%{_sbindir}
1409 install %{SOURCE5} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1410
1411 install %{SOURCE1} .
1412
1413 mv -f Zend/LICENSE{,.Zend}
1414
1415 mkdir $RPM_BUILD_ROOT%{php_pear_dir}/{Auth,Auth_HTTP,Science}
1416
1417 %clean
1418 rm -rf $RPM_BUILD_ROOT
1419
1420 %post
1421 %if ! %{_apache2}
1422 perl -pi -e 's|^#AddType application/x-httpd-php \.php|AddType application/x-httpd-php .php|' \
1423         /etc/httpd/httpd.conf
1424 %{_sbindir}/apxs -e -a -n php4 %{_pkglibdir}/libphp4.so 1>&2
1425 %endif
1426 if [ -f /var/lock/subsys/httpd ]; then
1427         /etc/rc.d/init.d/httpd restart 1>&2
1428 fi
1429
1430 %if %{_apache2}
1431 %postun
1432 if [ "$1" = "0" ]; then
1433         if [ -f /var/lock/subsys/httpd ]; then
1434                 /etc/rc.d/init.d/httpd restart 1>&2
1435         fi
1436 fi
1437 %else
1438 %preun
1439 if [ "$1" = "0" ]; then
1440         %{_sbindir}/apxs -e -A -n php4 %{_pkglibdir}/libphp4.so 1>&2
1441         perl -pi -e \
1442                 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
1443                 /etc/httpd/httpd.conf
1444         if [ -f /var/lock/subsys/httpd ]; then
1445                 /etc/rc.d/init.d/httpd restart 1>&2
1446         fi
1447 fi
1448 %endif
1449
1450 %post   common -p /sbin/ldconfig
1451 %postun common -p /sbin/ldconfig
1452
1453 %post bcmath
1454 %{_sbindir}/php-module-install install bcmath %{_sysconfdir}/php.ini
1455
1456 %preun bcmath
1457 if [ "$1" = "0" ]; then
1458         %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
1459 fi
1460
1461 %post bzip2
1462 %{_sbindir}/php-module-install install bz2 %{_sysconfdir}/php.ini
1463
1464 %preun bzip2
1465 if [ "$1" = "0" ]; then
1466         %{_sbindir}/php-module-install remove bz2 %{_sysconfdir}/php.ini
1467 fi
1468
1469 %post calendar
1470 %{_sbindir}/php-module-install install calendar %{_sysconfdir}/php.ini
1471
1472 %preun calendar
1473 if [ "$1" = "0" ]; then
1474         %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
1475 fi
1476
1477 %post cpdf
1478 %{_sbindir}/php-module-install install cpdf %{_sysconfdir}/php.ini
1479
1480 %preun cpdf
1481 if [ "$1" = "0" ]; then
1482         %{_sbindir}/php-module-install remove cpdf %{_sysconfdir}/php.ini
1483 fi
1484
1485 %post crack
1486 %{_sbindir}/php-module-install install crack %{_sysconfdir}/php.ini
1487
1488 %preun crack
1489 if [ "$1" = "0" ]; then
1490         %{_sbindir}/php-module-install remove crack %{_sysconfdir}/php.ini
1491 fi
1492
1493 %post ctype
1494 %{_sbindir}/php-module-install install ctype %{_sysconfdir}/php.ini
1495
1496 %preun ctype
1497 if [ "$1" = "0" ]; then
1498         %{_sbindir}/php-module-install remove ctype %{_sysconfdir}/php.ini
1499 fi
1500
1501 %post curl
1502 %{_sbindir}/php-module-install install curl %{_sysconfdir}/php.ini
1503
1504 %preun curl
1505 if [ "$1" = "0" ]; then
1506         %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
1507 fi
1508
1509 %post dba
1510 %{_sbindir}/php-module-install install dba %{_sysconfdir}/php.ini
1511
1512 %preun dba
1513 if [ "$1" = "0" ]; then
1514         %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
1515 fi
1516
1517 %post dbase
1518 %{_sbindir}/php-module-install install dbase %{_sysconfdir}/php.ini
1519
1520 %preun dbase
1521 if [ "$1" = "0" ]; then
1522         %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
1523 fi
1524
1525 %post dbx
1526 %{_sbindir}/php-module-install install dbx %{_sysconfdir}/php.ini
1527
1528 %preun dbx
1529 if [ "$1" = "0" ]; then
1530         %{_sbindir}/php-module-install remove dbx %{_sysconfdir}/php.ini
1531 fi
1532
1533 %post dio
1534 %{_sbindir}/php-module-install install dbx %{_sysconfdir}/php.ini
1535
1536 %preun dio
1537 if [ "$1" = "0" ]; then
1538         %{_sbindir}/php-module-install remove dbx %{_sysconfdir}/php.ini
1539 fi
1540
1541 %post domxml
1542 %{_sbindir}/php-module-install install domxml %{_sysconfdir}/php.ini
1543
1544 %preun domxml
1545 if [ "$1" = "0" ]; then
1546         %{_sbindir}/php-module-install remove domxml %{_sysconfdir}/php.ini
1547 fi
1548
1549 %post exif
1550 %{_sbindir}/php-module-install install exif %{_sysconfdir}/php.ini
1551
1552 %preun exif
1553 if [ "$1" = "0" ]; then
1554         %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
1555 fi
1556
1557 %post filepro
1558 %{_sbindir}/php-module-install install filepro %{_sysconfdir}/php.ini
1559
1560 %preun filepro
1561 if [ "$1" = "0" ]; then
1562         %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
1563 fi
1564
1565 %post ftp
1566 %{_sbindir}/php-module-install install ftp %{_sysconfdir}/php.ini
1567
1568 %preun ftp
1569 if [ "$1" = "0" ]; then
1570         %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
1571 fi
1572
1573 %post gd
1574 %{_sbindir}/php-module-install install gd %{_sysconfdir}/php.ini
1575
1576 %preun gd
1577 if [ "$1" = "0" ]; then
1578         %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
1579 fi
1580
1581 %post gettext
1582 %{_sbindir}/php-module-install install gettext %{_sysconfdir}/php.ini
1583
1584 %preun gettext
1585 if [ "$1" = "0" ]; then
1586         %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
1587 fi
1588
1589 %post gmp
1590 %{_sbindir}/php-module-install install gmp %{_sysconfdir}/php.ini
1591
1592 %preun gmp
1593 if [ "$1" = "0" ]; then
1594         %{_sbindir}/php-module-install remove gmp %{_sysconfdir}/php.ini
1595 fi
1596
1597 %post hyperwave
1598 %{_sbindir}/php-module-install install hyperwave %{_sysconfdir}/php.ini
1599
1600 %preun hyperwave
1601 if [ "$1" = "0" ]; then
1602         %{_sbindir}/php-module-install remove hyperwave %{_sysconfdir}/php.ini
1603 fi
1604
1605 %post iconv
1606 %{_sbindir}/php-module-install install iconv %{_sysconfdir}/php.ini
1607
1608 %preun iconv
1609 if [ "$1" = "0" ]; then
1610         %{_sbindir}/php-module-install remove iconv %{_sysconfdir}/php.ini
1611 fi
1612
1613 %post imap
1614 %{_sbindir}/php-module-install install imap %{_sysconfdir}/php.ini
1615
1616 %preun imap
1617 if [ "$1" = "0" ]; then
1618         %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
1619 fi
1620
1621 %post interbase
1622 %{_sbindir}/php-module-install install interbase %{_sysconfdir}/php.ini
1623
1624 %preun interbase
1625 if [ "$1" = "0" ]; then
1626         %{_sbindir}/php-module-install remove interbase %{_sysconfdir}/php.ini
1627 fi
1628
1629 %post java
1630 %{_sbindir}/php-module-install install java %{_sysconfdir}/php.ini
1631
1632 %preun java
1633 if [ "$1" = "0" ]; then
1634         %{_sbindir}/php-module-install remove java %{_sysconfdir}/php.ini
1635 fi
1636
1637 %post ldap
1638 %{_sbindir}/php-module-install install ldap %{_sysconfdir}/php.ini
1639
1640 %preun ldap
1641 if [ "$1" = "0" ]; then
1642         %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
1643 fi
1644
1645 %post mbstring
1646 %{_sbindir}/php-module-install install mbstring %{_sysconfdir}/php.ini
1647
1648 %preun mbstring
1649 if [ "$1" = "0" ]; then
1650         %{_sbindir}/php-module-install remove mbstring %{_sysconfdir}/php.ini
1651 fi
1652
1653 %post mcal
1654 %{_sbindir}/php-module-install install mcal %{_sysconfdir}/php.ini
1655
1656 %preun mcal
1657 if [ "$1" = "0" ]; then
1658         %{_sbindir}/php-module-install remove mcal %{_sysconfdir}/php.ini
1659 fi
1660
1661 %post mcrypt
1662 %{_sbindir}/php-module-install install mcrypt %{_sysconfdir}/php.ini
1663
1664 %preun mcrypt
1665 if [ "$1" = "0" ]; then
1666         %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
1667 fi
1668
1669 %post mhash
1670 %{_sbindir}/php-module-install install mhash %{_sysconfdir}/php.ini
1671
1672 %preun mhash
1673 if [ "$1" = "0" ]; then
1674         %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
1675 fi
1676
1677 %post ming
1678 %{_sbindir}/php-module-install install ming %{_sysconfdir}/php.ini
1679
1680 %preun ming
1681 if [ "$1" = "0" ]; then
1682         %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
1683 fi
1684
1685 %post mnogosearch
1686 %{_sbindir}/php-module-install install mnogosearch %{_sysconfdir}/php.ini
1687
1688 %preun mnogosearch
1689 if [ "$1" = "0" ]; then
1690         %{_sbindir}/php-module-install remove mnogosearch %{_sysconfdir}/php.ini
1691 fi
1692
1693 %post msession
1694 %{_sbindir}/php-module-install install msession %{_sysconfdir}/php.ini
1695
1696 %preun msession
1697 if [ "$1" = "0" ]; then
1698         %{_sbindir}/php-module-install remove msession %{_sysconfdir}/php.ini
1699 fi
1700
1701 %post mysql
1702 %{_sbindir}/php-module-install install mysql %{_sysconfdir}/php.ini
1703
1704 %preun mysql
1705 if [ "$1" = "0" ]; then
1706         %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
1707 fi
1708
1709 %post oci8
1710 %{_sbindir}/php-module-install install oci8 %{_sysconfdir}/php.ini
1711
1712 %preun oci8
1713 if [ "$1" = "0" ]; then
1714         %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
1715 fi
1716
1717 %post odbc
1718 %{_sbindir}/php-module-install install odbc %{_sysconfdir}/php.ini
1719
1720 %preun odbc
1721 if [ "$1" = "0" ]; then
1722         %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
1723 fi
1724
1725 %post openssl
1726 %{_sbindir}/php-module-install install openssl %{_sysconfdir}/php.ini
1727
1728 %preun openssl
1729 if [ "$1" = "0" ]; then
1730         %{_sbindir}/php-module-install remove openssl %{_sysconfdir}/php.ini
1731 fi
1732
1733 %post oracle
1734 %{_sbindir}/php-module-install install oracle %{_sysconfdir}/php.ini
1735
1736 %preun oracle
1737 if [ "$1" = "0" ]; then
1738         %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
1739 fi
1740
1741 %post overload
1742 %{_sbindir}/php-module-install install overload %{_sysconfdir}/php.ini
1743
1744 %preun overload
1745 if [ "$1" = "0" ]; then
1746         %{_sbindir}/php-module-install remove overload %{_sysconfdir}/php.ini
1747 fi
1748
1749 %post pcntl
1750 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php.ini
1751
1752 %preun pcntl
1753 if [ "$1" = "0" ]; then
1754         %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php.ini
1755 fi
1756
1757 %post pcre
1758 %{_sbindir}/php-module-install install pcre %{_sysconfdir}/php.ini
1759
1760 %preun pcre
1761 if [ "$1" = "0" ]; then
1762         %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
1763 fi
1764
1765 %post pdf
1766 %{_sbindir}/php-module-install install pdf %{_sysconfdir}/php.ini
1767
1768 %preun pdf
1769 if [ "$1" = "0" ]; then
1770         %{_sbindir}/php-module-install remove pdf %{_sysconfdir}/php.ini
1771 fi
1772
1773 %post pgsql
1774 %{_sbindir}/php-module-install install pgsql %{_sysconfdir}/php.ini
1775
1776 %preun pgsql
1777 if [ "$1" = "0" ]; then
1778         %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
1779 fi
1780
1781 %post posix
1782 %{_sbindir}/php-module-install install posix %{_sysconfdir}/php.ini
1783
1784 %preun posix
1785 if [ "$1" = "0" ]; then
1786         %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
1787 fi
1788
1789 %post pspell
1790 %{_sbindir}/php-module-install install pspell %{_sysconfdir}/php.ini
1791
1792 %preun pspell
1793 if [ "$1" = "0" ]; then
1794         %{_sbindir}/php-module-install remove pspell %{_sysconfdir}/php.ini
1795 fi
1796
1797 %post recode
1798 %{_sbindir}/php-module-install install recode %{_sysconfdir}/php.ini
1799
1800 %preun recode
1801 if [ "$1" = "0" ]; then
1802         %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
1803 fi
1804
1805 %post session
1806 %{_sbindir}/php-module-install install session %{_sysconfdir}/php.ini
1807
1808 %preun session
1809 if [ "$1" = "0" ]; then
1810         %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
1811 fi
1812
1813 %post shmop
1814 %{_sbindir}/php-module-install install shmop %{_sysconfdir}/php.ini
1815
1816 %preun shmop
1817 if [ "$1" = "0" ]; then
1818         %{_sbindir}/php-module-install remove shmop %{_sysconfdir}/php.ini
1819 fi
1820
1821 %post snmp
1822 %{_sbindir}/php-module-install install snmp %{_sysconfdir}/php.ini
1823
1824 %preun snmp
1825 if [ "$1" = "0" ]; then
1826         %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
1827 fi
1828
1829 %post sockets
1830 %{_sbindir}/php-module-install install sockets %{_sysconfdir}/php.ini
1831
1832 %preun sockets
1833 if [ "$1" = "0" ]; then
1834         %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
1835 fi
1836
1837 %post sybase-ct
1838 %{_sbindir}/php-module-install install sybase_ct %{_sysconfdir}/php.ini
1839
1840 %preun sybase-ct
1841 if [ "$1" = "0" ]; then
1842         %{_sbindir}/php-module-install remove sybase_ct %{_sysconfdir}/php.ini
1843 fi
1844
1845 %post sysvsem
1846 %{_sbindir}/php-module-install install sysvsem %{_sysconfdir}/php.ini
1847
1848 %preun sysvsem
1849 if [ "$1" = "0" ]; then
1850         %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
1851 fi
1852
1853 %post sysvshm
1854 %{_sbindir}/php-module-install install sysvshm %{_sysconfdir}/php.ini
1855
1856 %preun sysvshm
1857 if [ "$1" = "0" ]; then
1858         %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
1859 fi
1860
1861 %post wddx
1862 %{_sbindir}/php-module-install install wddx %{_sysconfdir}/php.ini
1863
1864 %preun wddx
1865 if [ "$1" = "0" ]; then
1866         %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
1867 fi
1868
1869 %post xml
1870 %{_sbindir}/php-module-install install xml %{_sysconfdir}/php.ini
1871
1872 %preun xml
1873 if [ "$1" = "0" ]; then
1874         %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
1875 fi
1876
1877 %post xmlrpc
1878 %{_sbindir}/php-module-install install xmlrpc %{_sysconfdir}/php.ini
1879
1880 %preun xmlrpc
1881 if [ "$1" = "0" ]; then
1882         %{_sbindir}/php-module-install remove xmlrpc %{_sysconfdir}/php.ini
1883 fi
1884
1885 %post xslt
1886 %{_sbindir}/php-module-install install xslt %{_sysconfdir}/php.ini
1887
1888 %preun xslt
1889 if [ "$1" = "0" ]; then
1890         %{_sbindir}/php-module-install remove xslt %{_sysconfdir}/php.ini
1891 fi
1892
1893 %post yaz
1894 %{_sbindir}/php-module-install install yaz %{_sysconfdir}/php.ini
1895
1896 %preun yaz
1897 if [ "$1" = "0" ]; then
1898         %{_sbindir}/php-module-install remove yaz %{_sysconfdir}/php.ini
1899 fi
1900
1901 %post yp
1902 %{_sbindir}/php-module-install install yp %{_sysconfdir}/php.ini
1903
1904 %preun yp
1905 if [ "$1" = "0" ]; then
1906         %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
1907 fi
1908
1909 %post zip
1910 %{_sbindir}/php-module-install install zip %{_sysconfdir}/php.ini
1911
1912 %preun zip
1913 if [ "$1" = "0" ]; then
1914         %{_sbindir}/php-module-install remove zip %{_sysconfdir}/php.ini
1915 fi
1916
1917 %post zlib
1918 %{_sbindir}/php-module-install install zlib %{_sysconfdir}/php.ini
1919
1920 %preun zlib
1921 if [ "$1" = "0" ]; then
1922         %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
1923 fi
1924
1925 %files
1926 %defattr(644,root,root,755)
1927 %if %{_apache2}
1928 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/httpd/httpd.conf/*_mod_php.conf
1929 %endif
1930 %attr(755,root,root) %{_libdir}/apache/libphp4.so
1931 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-apache.ini
1932
1933 %files cgi
1934 %defattr(644,root,root,755)
1935 %attr(755,root,root) %{_bindir}/php
1936 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cgi.ini
1937
1938 %files common
1939 %defattr(644,root,root,755)
1940 %doc php.ini-*
1941 %doc CODING_STANDARDS CREDITS Zend/ZEND_CHANGES
1942 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
1943 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
1944
1945 %dir %{_sysconfdir}
1946 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
1947 %attr(730,root,http) %dir %verify(not group mode) /var/run/php
1948
1949 /home/httpd/icons/*
1950 %attr(755,root,root) %{_sbindir}/*
1951 %attr(755,root,root) %{_libdir}/libphp_common*.so.*.*.*
1952 %dir %{extensionsdir}
1953
1954 %files devel
1955 %defattr(644,root,root,755)
1956 %{_includedir}/php
1957 %{_libdir}/php/build
1958 %attr(755,root,root) %{_bindir}/phpextdist
1959 %attr(755,root,root) %{_bindir}/phpize
1960 %attr(755,root,root) %{_bindir}/php-config
1961
1962 %files doc
1963 %defattr(644,root,root,755)
1964 %doc manual/*
1965
1966 %files bcmath
1967 %defattr(644,root,root,755)
1968 %attr(755,root,root) %{extensionsdir}/bcmath.so
1969
1970 %files bzip2
1971 %defattr(644,root,root,755)
1972 %attr(755,root,root) %{extensionsdir}/bz2.so
1973
1974 %files calendar
1975 %defattr(644,root,root,755)
1976 %attr(755,root,root) %{extensionsdir}/calendar.so
1977
1978 %if %{?_with_cpdf:1}%{!?_with_cpdf:0}
1979 %files cpdf
1980 %defattr(644,root,root,755)
1981 %attr(755,root,root) %{extensionsdir}/cpdf.so
1982 %endif
1983
1984 %files crack
1985 %defattr(644,root,root,755)
1986 %attr(755,root,root) %{extensionsdir}/crack.so
1987
1988 %files ctype
1989 %defattr(644,root,root,755)
1990 %attr(755,root,root) %{extensionsdir}/ctype.so
1991
1992 %files curl
1993 %defattr(644,root,root,755)
1994 %attr(755,root,root) %{extensionsdir}/curl.so
1995
1996 %files dba
1997 %defattr(644,root,root,755)
1998 %attr(755,root,root) %{extensionsdir}/dba.so
1999
2000 %files dbase
2001 %defattr(644,root,root,755)
2002 %attr(755,root,root) %{extensionsdir}/dbase.so
2003
2004 %files dbx
2005 %defattr(644,root,root,755)
2006 %attr(755,root,root) %{extensionsdir}/dbx.so
2007
2008 %files dio
2009 %defattr(644,root,root,755)
2010 %attr(755,root,root) %{extensionsdir}/dio.so
2011
2012 %files domxml
2013 %defattr(644,root,root,755)
2014 %attr(755,root,root) %{extensionsdir}/domxml.so
2015
2016 %files exif
2017 %defattr(644,root,root,755)
2018 %attr(755,root,root) %{extensionsdir}/exif.so
2019
2020 %files filepro
2021 %defattr(644,root,root,755)
2022 %attr(755,root,root) %{extensionsdir}/filepro.so
2023
2024 %files ftp
2025 %defattr(644,root,root,755)
2026 %attr(755,root,root) %{extensionsdir}/ftp.so
2027
2028 %files gd
2029 %defattr(644,root,root,755)
2030 %attr(755,root,root) %{extensionsdir}/gd.so
2031
2032 %files gettext
2033 %defattr(644,root,root,755)
2034 %attr(755,root,root) %{extensionsdir}/gettext.so
2035
2036 %files gmp
2037 %defattr(644,root,root,755)
2038 %attr(755,root,root) %{extensionsdir}/gmp.so
2039
2040 %files hyperwave
2041 %defattr(644,root,root,755)
2042 %attr(755,root,root) %{extensionsdir}/hyperwave.so
2043
2044 %files iconv
2045 %defattr(644,root,root,755)
2046 %attr(755,root,root) %{extensionsdir}/iconv.so
2047
2048 %if %{?_without_imap:0}%{!?_without_imap:1}
2049 %files imap
2050 %defattr(644,root,root,755)
2051 %attr(755,root,root) %{extensionsdir}/imap.so
2052 %endif
2053
2054 %if %{?_with_interbase:1}%{!?_with_interbase:0}
2055 %files interbase
2056 %defattr(644,root,root,755)
2057 %attr(755,root,root) %{extensionsdir}/interbase.so
2058 %endif
2059
2060 %if %{?_with_java:1}%{!?_with_java:0}
2061 %files java
2062 %defattr(644,root,root,755)
2063 %attr(755,root,root) %{extensionsdir}/java.so
2064 %{_libdir}/php_java.jar
2065 %endif
2066
2067 %if %{?_without_ldap:0}%{!?_without_ldap:1}
2068 %files ldap
2069 %defattr(644,root,root,755)
2070 %attr(755,root,root) %{extensionsdir}/ldap.so
2071 %endif
2072
2073 %files mbstring
2074 %defattr(644,root,root,755)
2075 %attr(755,root,root) %{extensionsdir}/mbstring.so
2076
2077 %files mcal
2078 %defattr(644,root,root,755)
2079 %attr(755,root,root) %{extensionsdir}/mcal.so
2080
2081 %files mcrypt
2082 %defattr(644,root,root,755)
2083 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2084
2085 %files mhash
2086 %defattr(644,root,root,755)
2087 %attr(755,root,root) %{extensionsdir}/mhash.so
2088
2089 %files ming
2090 %defattr(644,root,root,755)
2091 %attr(755,root,root) %{extensionsdir}/ming.so
2092
2093 %files mnogosearch
2094 %defattr(644,root,root,755)
2095 %attr(755,root,root) %{extensionsdir}/mnogosearch.so
2096
2097 %if %{?_without_msession:0}%{!?_without_msession:1}
2098 %files msession
2099 %defattr(644,root,root,755)
2100 %attr(755,root,root) %{extensionsdir}/msession.so
2101 %endif
2102
2103 %files mysql
2104 %defattr(644,root,root,755)
2105 %attr(755,root,root) %{extensionsdir}/mysql.so
2106
2107 %if %{?_with_oci8:1}%{!?_with_oci8:0}
2108 %files oci8
2109 %defattr(644,root,root,755)
2110 %attr(755,root,root) %{extensionsdir}/oci8.so
2111 %endif
2112
2113 %if %{?_without_odbc:0}%{!?_without_odbc:1}
2114 %files odbc
2115 %defattr(644,root,root,755)
2116 %attr(755,root,root) %{extensionsdir}/odbc.so
2117 %endif
2118
2119 %if %{?_without_openssl:0}%{!?_without_openssl:1}
2120 %files openssl
2121 %defattr(644,root,root,755)
2122 %attr(755,root,root) %{extensionsdir}/openssl.so
2123 %endif
2124
2125 %if %{?_with_oracle:1}%{!?_with_oracle:0}
2126 %files oracle
2127 %defattr(644,root,root,755)
2128 %attr(755,root,root) %{extensionsdir}/oracle.so
2129 %endif
2130
2131 %files overload
2132 %defattr(644,root,root,755)
2133 %attr(755,root,root) %{extensionsdir}/overload.so
2134
2135 # disabled in 4.2.0 - it segfaults
2136 #%files pcntl
2137 #%defattr(644,root,root,755)
2138 #%attr(755,root,root) %{extensionsdir}/pcntl.so
2139
2140 %files pcre
2141 %defattr(644,root,root,755)
2142 %attr(755,root,root) %{extensionsdir}/pcre.so
2143
2144 %if %{?_without_pdf:0}%{!?_without_pdf:1}
2145 %files pdf
2146 %defattr(644,root,root,755)
2147 %attr(755,root,root) %{extensionsdir}/pdf.so
2148 %endif
2149
2150 %files pgsql
2151 %defattr(644,root,root,755)
2152 %attr(755,root,root) %{extensionsdir}/pgsql.so
2153
2154 %files posix
2155 %defattr(644,root,root,755)
2156 %attr(755,root,root) %{extensionsdir}/posix.so
2157
2158 %files pspell
2159 %defattr(644,root,root,755)
2160 %attr(755,root,root) %{extensionsdir}/pspell.so
2161
2162 %if %{?_without_recode:0}%{!?_without_recode:1}
2163 %files recode
2164 %defattr(644,root,root,755)
2165 %attr(755,root,root) %{extensionsdir}/recode.so
2166 %endif
2167
2168 # session_mm doesn't work with shared session
2169 #%files session
2170 #%defattr(644,root,root,755)
2171 #%attr(755,root,root) %{extensionsdir}/session.so
2172
2173 %files shmop
2174 %defattr(644,root,root,755)
2175 %attr(755,root,root) %{extensionsdir}/shmop.so
2176
2177 %if %{?_without_snmp:0}%{!?_without_snmp:1}
2178 %files snmp
2179 %defattr(644,root,root,755)
2180 %attr(755,root,root) %{extensionsdir}/snmp.so
2181 %endif
2182
2183 %files sockets
2184 %defattr(644,root,root,755)
2185 %attr(755,root,root) %{extensionsdir}/sockets.so
2186
2187 %if %{?_with_sybase_ct:1}%{!?_with_sybase_ct:0}
2188 %files sybase-ct
2189 %defattr(644,root,root,755)
2190 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2191 %endif
2192
2193 %files sysvsem
2194 %defattr(644,root,root,755)
2195 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2196
2197 %files sysvshm
2198 %defattr(644,root,root,755)
2199 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2200
2201 %if %{?_without_wddx:0}%{!?_without_wddx:1}
2202 %files wddx
2203 %defattr(644,root,root,755)
2204 %attr(755,root,root) %{extensionsdir}/wddx.so
2205 %endif
2206
2207 %files xml
2208 %defattr(644,root,root,755)
2209 %attr(755,root,root) %{extensionsdir}/xml.so
2210
2211 %files xmlrpc
2212 %defattr(644,root,root,755)
2213 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
2214
2215 %if %{?_without_xslt:0}%{!?_without_xslt:1}
2216 %files xslt
2217 %defattr(644,root,root,755)
2218 %attr(755,root,root) %{extensionsdir}/xslt.so
2219 %endif
2220
2221 %files yaz
2222 %defattr(644,root,root,755)
2223 %attr(755,root,root) %{extensionsdir}/yaz.so
2224
2225 %files yp
2226 %defattr(644,root,root,755)
2227 %attr(755,root,root) %{extensionsdir}/yp.so
2228
2229 %files zip
2230 %defattr(644,root,root,755)
2231 %attr(755,root,root) %{extensionsdir}/zip.so
2232
2233 %files zlib
2234 %defattr(644,root,root,755)
2235 %attr(755,root,root) %{extensionsdir}/zlib.so
2236
2237 %files pear
2238 %defattr(644,root,root,755)
2239 %dir %{php_pear_dir}
2240 %dir %{php_pear_dir}/Archive
2241 %dir %{php_pear_dir}/Auth
2242 %dir %{php_pear_dir}/Auth_HTTP
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}/HTTP
2250 %dir %{php_pear_dir}/Image
2251 %dir %{php_pear_dir}/Mail
2252 %dir %{php_pear_dir}/Net
2253 %dir %{php_pear_dir}/PEAR
2254 %dir %{php_pear_dir}/Schedule
2255 %dir %{php_pear_dir}/Science
2256 %dir %{php_pear_dir}/XML
2257
2258 %files pear-additional_classes
2259 %defattr(644,root,root,755)
2260 %attr(644,root,root) %{php_pear_dir}/Crypt/HCEMD5.php
2261 %attr(644,root,root) %{php_pear_dir}/Date/Calc.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.240634 seconds and 4 git commands to generate.