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