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