]> git.pld-linux.org Git - packages/php.git/blob - php.spec
- release 9 (rebuild with new rpm)
[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:        9
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 # 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
926 %description pear-additional_classes
927 PEAR - PHP Extension and Application Repository. Additional classes
928 which can't be found in pear packages.
929
930 %description pear-additional_classes -l pl
931 PEAR (PHP Extension and Application Repository) - Rozszerzenie PHP i
932 Repozytorium Aplikacji. Dodatkowe klasy, których nie ma w innych
933 pakietach peara.
934
935 %package pear-devel
936 Summary:        PEAR - PHP Extension and Application Repository
937 Summary(pl):    PEAR - Rozszerzenie PHP i Repozytorium Aplikacji
938 Group:          Development/Languages/PHP
939 Requires:       %{name}-cgi = %{version}
940 Requires:       %{name}-pcre = %{version}
941 Requires:       %{name}-xml = %{version}
942 Requires:       %{name}-pear
943 Requires:       %{name}-pear-PEAR-Command
944
945 %description pear-devel
946 PEAR - PHP Extension and Application Repository. This package contains
947 aplications needed to use pear from cvs.
948
949 %description pear-devel -l pl
950 PEAR (PHP Extension and Application Repository) - Rozszerzenie PHP i
951 Repozytorium Aplikacji. Ten pakiet zawiera aplikacje potrzebne do
952
953 %package pgsql
954 Summary:        PostgreSQL database module for PHP
955 Summary(pl):    Modu³ bazy danych PostgreSQL dla PHP
956 Group:          Libraries
957 PreReq:         %{name}-common = %{version}
958
959 %description pgsql
960 This is a dynamic shared object (DSO) for Apache that will add
961 PostgreSQL database support to PHP. If you need back-end support for
962 PostgreSQL, you should install this package in addition to the main
963 %{name} package.
964
965 %description pgsql -l pl
966 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
967
968 %description pgsql -l pt_BR
969 Um módulo para aplicações PHP que usam bancos de dados postgresql.
970
971 %package posix
972 Summary:        POSIX extension module for PHP
973 Summary(pl):    Modu³ POSIX dla PHP
974 Group:          Libraries
975 PreReq:         %{name}-common = %{version}
976
977 %description posix
978 This is a dynamic shared object (DSO) for Apache that will add POSIX
979 functions support to PHP.
980
981 %description posix -l pl
982 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
983
984 %package pspell
985 Summary:        pspell extension module for PHP
986 Summary(pl):    Modu³ pspell dla PHP
987 Group:          Libraries
988 PreReq:         %{name}-common = %{version}
989
990 %description pspell
991 This is a dynamic shared object (DSO) for Apache that will add pspell
992 support to PHP. It allows to check the spelling of a word and offer
993 suggestions.
994
995 %description pspell -l pl
996 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
997 sprawdzanie pisowni s³owa i sugerowanie poprawek.
998
999 %package recode
1000 Summary:        recode extension module for PHP
1001 Summary(pl):    Modu³ recode dla PHP
1002 Group:          Libraries
1003 PreReq:         %{name}-common = %{version}
1004 Requires:       recode >= 3.5d-3
1005
1006 %description recode
1007 This is a dynamic shared object (DSO) for Apache that will add recode
1008 support to PHP.
1009
1010 %description recode -l pl
1011 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1012 bibliotekê recode).
1013
1014 %package session
1015 Summary:        session extension module for PHP
1016 Summary(pl):    Modu³ session dla PHP
1017 Group:          Libraries
1018 PreReq:         %{name}-common = %{version}
1019
1020 %description session
1021 This is a dynamic shared object (DSO) for Apache that will add session
1022 support to PHP.
1023
1024 %description session -l pl
1025 Modu³ PHP dodaj±cy obs³ugê sesji.
1026
1027 %package shmop
1028 Summary:        Shared Memory Operations extension module for PHP
1029 Summary(pl):    Modu³ shmop dla PHP
1030 Group:          Libraries
1031 PreReq:         %{name}-common = %{version}
1032
1033 %description shmop
1034 This is a dynamic shared object (DSO) for Apache that will add Shared
1035 Memory Operations support to PHP.
1036
1037 Warning: this is an experimental module.
1038
1039 %description shmop -l pl
1040 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1041
1042 Uwaga: to jest modu³ eksperymentalny.
1043
1044 %package snmp
1045 Summary:        SNMP extension module for PHP
1046 Summary(pl):    Modu³ SNMP dla PHP
1047 Group:          Libraries
1048 PreReq:         %{name}-common = %{version}
1049
1050 %description snmp
1051 This is a dynamic shared object (DSO) for Apache that will add SNMP
1052 support to PHP.
1053
1054 %description snmp -l pl
1055 Modu³ PHP dodaj±cy obs³ugê SNMP.
1056
1057 %package sockets
1058 Summary:        sockets extension module for PHP
1059 Summary(pl):    Modu³ socket dla PHP
1060 Group:          Libraries
1061 PreReq:         %{name}-common = %{version}
1062
1063 %description sockets
1064 This is a dynamic shared object (DSO) for Apache that will add sockets
1065 support to PHP.
1066
1067 Warning: this is an experimental module.
1068
1069 %description sockets -l pl
1070 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1071
1072 Uwaga: to jest modu³ eksperymentalny.
1073
1074 %package sybase-ct
1075 Summary:        Sybase-CT extension module for PHP
1076 Summary(pl):    Modu³ Sybase-CT dla PHP
1077 Group:          Libraries
1078 PreReq:         %{name}-common = %{version}
1079
1080 %description sybase-ct
1081 This is a dynamic shared object (DSO) for Apache that will add Sybase
1082 and MS SQL databases support through CT-lib to PHP.
1083
1084 %description sybase-ct -l pl
1085 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1086 CT-lib.
1087
1088 %package sysvsem
1089 Summary:        SysV sem extension module for PHP
1090 Summary(pl):    Modu³ SysV sem dla PHP
1091 Group:          Libraries
1092 PreReq:         %{name}-common = %{version}
1093
1094 %description sysvsem
1095 This is a dynamic shared object (DSO) for Apache that will add SysV
1096 semafores support to PHP.
1097
1098 %description sysvsem -l pl
1099 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1100
1101 %package sysvshm
1102 Summary:        SysV shm extension module for PHP
1103 Summary(pl):    Modu³ SysV shm dla PHP
1104 Group:          Libraries
1105 PreReq:         %{name}-common = %{version}
1106
1107 %description sysvshm
1108 This is a dynamic shared object (DSO) for Apache that will add SysV
1109 Shared Memory support to PHP.
1110
1111 %description sysvshm -l pl
1112 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1113
1114 %package wddx
1115 Summary:        wddx extension module for PHP
1116 Summary(pl):    Modu³ wddx dla PHP
1117 Group:          Libraries
1118 PreReq:         %{name}-common = %{version}
1119 PreReq:         %{name}-session = %{version}
1120
1121 %description wddx
1122 This is a dynamic shared object (DSO) for Apache that will add wddx
1123 support to PHP.
1124
1125 %description wddx -l pl
1126 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1127
1128 %package xml
1129 Summary:        XML extension module for PHP
1130 Summary(pl):    Modu³ XML dla PHP
1131 Group:          Libraries
1132 PreReq:         %{name}-common = %{version}
1133
1134 %description xml
1135 This is a dynamic shared object (DSO) for Apache that will add XML
1136 support to PHP. This extension lets you create XML parsers and then
1137 define handlers for different XML events. If you want to be able to
1138 parse XML documents you should install this package in addition to the
1139 main %{name} package.
1140
1141 %description xml -l pl
1142 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1143 zwi±zanych z tymi plikami.
1144
1145 %package xmlrpc
1146 Summary:        xmlrpc extension module for PHP
1147 Summary(pl):    Modu³ xmlrpc dla PHP
1148 Group:          Libraries
1149 PreReq:         %{name}-common = %{version}
1150
1151 %description xmlrpc
1152 This is a dynamic shared object (DSO) for Apache that will add XMLRPC
1153 support to PHP.
1154
1155 Warning: this is an experimental module.
1156
1157 %description xmlrpc -l pl
1158 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1159
1160 Uwaga: to jest modu³ eksperymentalny.
1161
1162 %package xslt
1163 Summary:        xslt extension module for PHP
1164 Summary(pl):    Modu³ xslt dla PHP
1165 Group:          Libraries
1166 PreReq:         %{name}-common = %{version}
1167
1168 %description xslt
1169 This is a dynamic shared object (DSO) for Apache that will add xslt
1170 support to PHP.
1171
1172 %description xslt -l pl
1173 Modu³ PHP umo¿liwiaj±cy korzystanie z technologii xslt.
1174
1175 %package yaz
1176 Summary:        yaz extension module for PHP
1177 Summary(pl):    Modu³ yaz dla PHP
1178 Group:          Libraries
1179 PreReq:         %{name}-common = %{version}
1180
1181 %description yaz
1182 This is a dynamic shared object (DSO) for Apache that will add yaz
1183 support to PHP. yaz toolkit implements the Z39.50 protocol for
1184 information retrieval.
1185
1186 %description yaz -l pl
1187 Modu³ PHP umo¿liwiaj±cy korzystanie z yaz - implementacji protoko³u
1188 Z39.50 s³u¿±cego do pozyskiwania informacji.
1189
1190 %package yp
1191 Summary:        NIS (yp) extension module for PHP
1192 Summary(pl):    Modu³ NIS (yp) dla PHP
1193 Group:          Libraries
1194 PreReq:         %{name}-common = %{version}
1195
1196 %description yp
1197 This is a dynamic shared object (DSO) for Apache that will add NIS
1198 (Yellow Pages) support to PHP.
1199
1200 %description yp -l pl
1201 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
1202 wsparcie dla NIS (Yellow Pages).
1203
1204 %package zip
1205 Summary:        zip extension module for PHP
1206 Summary(pl):    Modu³ zip dla PHP
1207 Group:          Libraries
1208 PreReq:         %{name}-common = %{version}
1209
1210 %description zip
1211 This is a dynamic shared object (DSO) for Apache that will add ZZipLib
1212 (read-only access to ZIP archives) support to PHP.
1213
1214 %description zip -l pl
1215 Modu³ PHP umo¿liwiaj±cy korzystanie z bibliotekli ZZipLib
1216 (pozwalaj±cej na odczyt archiwów ZIP).
1217
1218 %package zlib
1219 Summary:        Zlib extension module for PHP
1220 Summary(pl):    Modu³ zlib dla PHP
1221 Group:          Libraries
1222 PreReq:         %{name}-common = %{version}
1223
1224 %description zlib
1225 This is a dynamic shared object (DSO) for Apache that will add
1226 compression (zlib) support to PHP.
1227
1228 %description zlib -l pl
1229 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji (poprzez bibliotekê zlib).
1230
1231 %prep
1232 %setup -q
1233 %patch0 -p1
1234 %patch1 -p1
1235 %patch2 -p1
1236 %patch3 -p1
1237 %patch4 -p1
1238 %patch5 -p1
1239 %patch6 -p1
1240 %patch7 -p1
1241 %patch8 -p1
1242 %patch9 -p1
1243 %patch10 -p1
1244 %patch11 -p1
1245 %patch12 -p1
1246 %patch13 -p1
1247 %patch14 -p1
1248 %patch15 -p1
1249 %patch16 -p1
1250 %patch17 -p1
1251 %patch18 -p1
1252 %patch19 -p1
1253 %patch20 -p1
1254
1255 install -d manual
1256 bzip2 -dc %{SOURCE4} | tar -xf - -C manual
1257
1258 %build
1259 CFLAGS="%{rpmcflags} -DEAPI=1 -I%{_prefix}/X11R6/include"
1260 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1261 ./buildconf
1262 %{__libtoolize}
1263 aclocal
1264 autoconf
1265 #for i in cgi fastcgi apxs ; do
1266 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
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 mkdir $RPM_BUILD_ROOT%{php_pear_dir}/{Auth,Auth_HTTP}
1410
1411 %clean
1412 rm -rf $RPM_BUILD_ROOT
1413
1414 %post
1415 %if ! %{_apache2}
1416 perl -pi -e 's|^#AddType application/x-httpd-php \.php|AddType application/x-httpd-php .php|' \
1417         /etc/httpd/httpd.conf
1418 %{_sbindir}/apxs -e -a -n php4 %{_pkglibdir}/libphp4.so 1>&2
1419 %endif
1420 if [ -f /var/lock/subsys/httpd ]; then
1421         /etc/rc.d/init.d/httpd restart 1>&2
1422 fi
1423
1424 %if %{_apache2}
1425 %postun
1426 if [ "$1" = "0" ]; then
1427         if [ -f /var/lock/subsys/httpd ]; then
1428                 /etc/rc.d/init.d/httpd restart 1>&2
1429         fi
1430 fi
1431 %else
1432 %preun
1433 if [ "$1" = "0" ]; then
1434         %{_sbindir}/apxs -e -A -n php4 %{_pkglibdir}/libphp4.so 1>&2
1435         perl -pi -e \
1436                 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
1437                 /etc/httpd/httpd.conf
1438         if [ -f /var/lock/subsys/httpd ]; then
1439                 /etc/rc.d/init.d/httpd restart 1>&2
1440         fi
1441 fi
1442 %endif
1443
1444 %post   common -p /sbin/ldconfig
1445 %postun common -p /sbin/ldconfig
1446
1447 %post bcmath
1448 %{_sbindir}/php-module-install install bcmath %{_sysconfdir}/php.ini
1449
1450 %preun bcmath
1451 if [ "$1" = "0" ]; then
1452         %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
1453 fi
1454
1455 %post bzip2
1456 %{_sbindir}/php-module-install install bz2 %{_sysconfdir}/php.ini
1457
1458 %preun bzip2
1459 if [ "$1" = "0" ]; then
1460         %{_sbindir}/php-module-install remove bz2 %{_sysconfdir}/php.ini
1461 fi
1462
1463 %post calendar
1464 %{_sbindir}/php-module-install install calendar %{_sysconfdir}/php.ini
1465
1466 %preun calendar
1467 if [ "$1" = "0" ]; then
1468         %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
1469 fi
1470
1471 %post cpdf
1472 %{_sbindir}/php-module-install install cpdf %{_sysconfdir}/php.ini
1473
1474 %preun cpdf
1475 if [ "$1" = "0" ]; then
1476         %{_sbindir}/php-module-install remove cpdf %{_sysconfdir}/php.ini
1477 fi
1478
1479 %post crack
1480 %{_sbindir}/php-module-install install crack %{_sysconfdir}/php.ini
1481
1482 %preun crack
1483 if [ "$1" = "0" ]; then
1484         %{_sbindir}/php-module-install remove crack %{_sysconfdir}/php.ini
1485 fi
1486
1487 %post ctype
1488 %{_sbindir}/php-module-install install ctype %{_sysconfdir}/php.ini
1489
1490 %preun ctype
1491 if [ "$1" = "0" ]; then
1492         %{_sbindir}/php-module-install remove ctype %{_sysconfdir}/php.ini
1493 fi
1494
1495 %post curl
1496 %{_sbindir}/php-module-install install curl %{_sysconfdir}/php.ini
1497
1498 %preun curl
1499 if [ "$1" = "0" ]; then
1500         %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
1501 fi
1502
1503 %post dba
1504 %{_sbindir}/php-module-install install dba %{_sysconfdir}/php.ini
1505
1506 %preun dba
1507 if [ "$1" = "0" ]; then
1508         %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
1509 fi
1510
1511 %post dbase
1512 %{_sbindir}/php-module-install install dbase %{_sysconfdir}/php.ini
1513
1514 %preun dbase
1515 if [ "$1" = "0" ]; then
1516         %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
1517 fi
1518
1519 %post dbx
1520 %{_sbindir}/php-module-install install dbx %{_sysconfdir}/php.ini
1521
1522 %preun dbx
1523 if [ "$1" = "0" ]; then
1524         %{_sbindir}/php-module-install remove dbx %{_sysconfdir}/php.ini
1525 fi
1526
1527 %post dio
1528 %{_sbindir}/php-module-install install dbx %{_sysconfdir}/php.ini
1529
1530 %preun dio
1531 if [ "$1" = "0" ]; then
1532         %{_sbindir}/php-module-install remove dbx %{_sysconfdir}/php.ini
1533 fi
1534
1535 %post domxml
1536 %{_sbindir}/php-module-install install domxml %{_sysconfdir}/php.ini
1537
1538 %preun domxml
1539 if [ "$1" = "0" ]; then
1540         %{_sbindir}/php-module-install remove domxml %{_sysconfdir}/php.ini
1541 fi
1542
1543 %post exif
1544 %{_sbindir}/php-module-install install exif %{_sysconfdir}/php.ini
1545
1546 %preun exif
1547 if [ "$1" = "0" ]; then
1548         %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
1549 fi
1550
1551 %post filepro
1552 %{_sbindir}/php-module-install install filepro %{_sysconfdir}/php.ini
1553
1554 %preun filepro
1555 if [ "$1" = "0" ]; then
1556         %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
1557 fi
1558
1559 %post ftp
1560 %{_sbindir}/php-module-install install ftp %{_sysconfdir}/php.ini
1561
1562 %preun ftp
1563 if [ "$1" = "0" ]; then
1564         %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
1565 fi
1566
1567 %post gd
1568 %{_sbindir}/php-module-install install gd %{_sysconfdir}/php.ini
1569
1570 %preun gd
1571 if [ "$1" = "0" ]; then
1572         %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
1573 fi
1574
1575 %post gettext
1576 %{_sbindir}/php-module-install install gettext %{_sysconfdir}/php.ini
1577
1578 %preun gettext
1579 if [ "$1" = "0" ]; then
1580         %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
1581 fi
1582
1583 %post gmp
1584 %{_sbindir}/php-module-install install gmp %{_sysconfdir}/php.ini
1585
1586 %preun gmp
1587 if [ "$1" = "0" ]; then
1588         %{_sbindir}/php-module-install remove gmp %{_sysconfdir}/php.ini
1589 fi
1590
1591 %post hyperwave
1592 %{_sbindir}/php-module-install install hyperwave %{_sysconfdir}/php.ini
1593
1594 %preun hyperwave
1595 if [ "$1" = "0" ]; then
1596         %{_sbindir}/php-module-install remove hyperwave %{_sysconfdir}/php.ini
1597 fi
1598
1599 %post iconv
1600 %{_sbindir}/php-module-install install iconv %{_sysconfdir}/php.ini
1601
1602 %preun iconv
1603 if [ "$1" = "0" ]; then
1604         %{_sbindir}/php-module-install remove iconv %{_sysconfdir}/php.ini
1605 fi
1606
1607 %post imap
1608 %{_sbindir}/php-module-install install imap %{_sysconfdir}/php.ini
1609
1610 %preun imap
1611 if [ "$1" = "0" ]; then
1612         %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
1613 fi
1614
1615 %post interbase
1616 %{_sbindir}/php-module-install install interbase %{_sysconfdir}/php.ini
1617
1618 %preun interbase
1619 if [ "$1" = "0" ]; then
1620         %{_sbindir}/php-module-install remove interbase %{_sysconfdir}/php.ini
1621 fi
1622
1623 %post java
1624 %{_sbindir}/php-module-install install java %{_sysconfdir}/php.ini
1625
1626 %preun java
1627 if [ "$1" = "0" ]; then
1628         %{_sbindir}/php-module-install remove java %{_sysconfdir}/php.ini
1629 fi
1630
1631 %post ldap
1632 %{_sbindir}/php-module-install install ldap %{_sysconfdir}/php.ini
1633
1634 %preun ldap
1635 if [ "$1" = "0" ]; then
1636         %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
1637 fi
1638
1639 %post mbstring
1640 %{_sbindir}/php-module-install install mbstring %{_sysconfdir}/php.ini
1641
1642 %preun mbstring
1643 if [ "$1" = "0" ]; then
1644         %{_sbindir}/php-module-install remove mbstring %{_sysconfdir}/php.ini
1645 fi
1646
1647 %post mcal
1648 %{_sbindir}/php-module-install install mcal %{_sysconfdir}/php.ini
1649
1650 %preun mcal
1651 if [ "$1" = "0" ]; then
1652         %{_sbindir}/php-module-install remove mcal %{_sysconfdir}/php.ini
1653 fi
1654
1655 %post mcrypt
1656 %{_sbindir}/php-module-install install mcrypt %{_sysconfdir}/php.ini
1657
1658 %preun mcrypt
1659 if [ "$1" = "0" ]; then
1660         %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
1661 fi
1662
1663 %post mhash
1664 %{_sbindir}/php-module-install install mhash %{_sysconfdir}/php.ini
1665
1666 %preun mhash
1667 if [ "$1" = "0" ]; then
1668         %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
1669 fi
1670
1671 %post ming
1672 %{_sbindir}/php-module-install install ming %{_sysconfdir}/php.ini
1673
1674 %preun ming
1675 if [ "$1" = "0" ]; then
1676         %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
1677 fi
1678
1679 %post mnogosearch
1680 %{_sbindir}/php-module-install install mnogosearch %{_sysconfdir}/php.ini
1681
1682 %preun mnogosearch
1683 if [ "$1" = "0" ]; then
1684         %{_sbindir}/php-module-install remove mnogosearch %{_sysconfdir}/php.ini
1685 fi
1686
1687 %post msession
1688 %{_sbindir}/php-module-install install msession %{_sysconfdir}/php.ini
1689
1690 %preun msession
1691 if [ "$1" = "0" ]; then
1692         %{_sbindir}/php-module-install remove msession %{_sysconfdir}/php.ini
1693 fi
1694
1695 %post mysql
1696 %{_sbindir}/php-module-install install mysql %{_sysconfdir}/php.ini
1697
1698 %preun mysql
1699 if [ "$1" = "0" ]; then
1700         %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
1701 fi
1702
1703 %post oci8
1704 %{_sbindir}/php-module-install install oci8 %{_sysconfdir}/php.ini
1705
1706 %preun oci8
1707 if [ "$1" = "0" ]; then
1708         %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
1709 fi
1710
1711 %post odbc
1712 %{_sbindir}/php-module-install install odbc %{_sysconfdir}/php.ini
1713
1714 %preun odbc
1715 if [ "$1" = "0" ]; then
1716         %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
1717 fi
1718
1719 %post openssl
1720 %{_sbindir}/php-module-install install openssl %{_sysconfdir}/php.ini
1721
1722 %preun openssl
1723 if [ "$1" = "0" ]; then
1724         %{_sbindir}/php-module-install remove openssl %{_sysconfdir}/php.ini
1725 fi
1726
1727 %post oracle
1728 %{_sbindir}/php-module-install install oracle %{_sysconfdir}/php.ini
1729
1730 %preun oracle
1731 if [ "$1" = "0" ]; then
1732         %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
1733 fi
1734
1735 %post overload
1736 %{_sbindir}/php-module-install install overload %{_sysconfdir}/php.ini
1737
1738 %preun overload
1739 if [ "$1" = "0" ]; then
1740         %{_sbindir}/php-module-install remove overload %{_sysconfdir}/php.ini
1741 fi
1742
1743 %post pcntl
1744 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php.ini
1745
1746 %preun pcntl
1747 if [ "$1" = "0" ]; then
1748         %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php.ini
1749 fi
1750
1751 %post pcre
1752 %{_sbindir}/php-module-install install pcre %{_sysconfdir}/php.ini
1753
1754 %preun pcre
1755 if [ "$1" = "0" ]; then
1756         %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
1757 fi
1758
1759 %post pdf
1760 %{_sbindir}/php-module-install install pdf %{_sysconfdir}/php.ini
1761
1762 %preun pdf
1763 if [ "$1" = "0" ]; then
1764         %{_sbindir}/php-module-install remove pdf %{_sysconfdir}/php.ini
1765 fi
1766
1767 %post pgsql
1768 %{_sbindir}/php-module-install install pgsql %{_sysconfdir}/php.ini
1769
1770 %preun pgsql
1771 if [ "$1" = "0" ]; then
1772         %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
1773 fi
1774
1775 %post posix
1776 %{_sbindir}/php-module-install install posix %{_sysconfdir}/php.ini
1777
1778 %preun posix
1779 if [ "$1" = "0" ]; then
1780         %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
1781 fi
1782
1783 %post pspell
1784 %{_sbindir}/php-module-install install pspell %{_sysconfdir}/php.ini
1785
1786 %preun pspell
1787 if [ "$1" = "0" ]; then
1788         %{_sbindir}/php-module-install remove pspell %{_sysconfdir}/php.ini
1789 fi
1790
1791 %post recode
1792 %{_sbindir}/php-module-install install recode %{_sysconfdir}/php.ini
1793
1794 %preun recode
1795 if [ "$1" = "0" ]; then
1796         %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
1797 fi
1798
1799 %post session
1800 %{_sbindir}/php-module-install install session %{_sysconfdir}/php.ini
1801
1802 %preun session
1803 if [ "$1" = "0" ]; then
1804         %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
1805 fi
1806
1807 %post shmop
1808 %{_sbindir}/php-module-install install shmop %{_sysconfdir}/php.ini
1809
1810 %preun shmop
1811 if [ "$1" = "0" ]; then
1812         %{_sbindir}/php-module-install remove shmop %{_sysconfdir}/php.ini
1813 fi
1814
1815 %post snmp
1816 %{_sbindir}/php-module-install install snmp %{_sysconfdir}/php.ini
1817
1818 %preun snmp
1819 if [ "$1" = "0" ]; then
1820         %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
1821 fi
1822
1823 %post sockets
1824 %{_sbindir}/php-module-install install sockets %{_sysconfdir}/php.ini
1825
1826 %preun sockets
1827 if [ "$1" = "0" ]; then
1828         %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
1829 fi
1830
1831 %post sybase-ct
1832 %{_sbindir}/php-module-install install sybase_ct %{_sysconfdir}/php.ini
1833
1834 %preun sybase-ct
1835 if [ "$1" = "0" ]; then
1836         %{_sbindir}/php-module-install remove sybase_ct %{_sysconfdir}/php.ini
1837 fi
1838
1839 %post sysvsem
1840 %{_sbindir}/php-module-install install sysvsem %{_sysconfdir}/php.ini
1841
1842 %preun sysvsem
1843 if [ "$1" = "0" ]; then
1844         %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
1845 fi
1846
1847 %post sysvshm
1848 %{_sbindir}/php-module-install install sysvshm %{_sysconfdir}/php.ini
1849
1850 %preun sysvshm
1851 if [ "$1" = "0" ]; then
1852         %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
1853 fi
1854
1855 %post wddx
1856 %{_sbindir}/php-module-install install wddx %{_sysconfdir}/php.ini
1857
1858 %preun wddx
1859 if [ "$1" = "0" ]; then
1860         %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
1861 fi
1862
1863 %post xml
1864 %{_sbindir}/php-module-install install xml %{_sysconfdir}/php.ini
1865
1866 %preun xml
1867 if [ "$1" = "0" ]; then
1868         %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
1869 fi
1870
1871 %post xmlrpc
1872 %{_sbindir}/php-module-install install xmlrpc %{_sysconfdir}/php.ini
1873
1874 %preun xmlrpc
1875 if [ "$1" = "0" ]; then
1876         %{_sbindir}/php-module-install remove xmlrpc %{_sysconfdir}/php.ini
1877 fi
1878
1879 %post xslt
1880 %{_sbindir}/php-module-install install xslt %{_sysconfdir}/php.ini
1881
1882 %preun xslt
1883 if [ "$1" = "0" ]; then
1884         %{_sbindir}/php-module-install remove xslt %{_sysconfdir}/php.ini
1885 fi
1886
1887 %post yaz
1888 %{_sbindir}/php-module-install install yaz %{_sysconfdir}/php.ini
1889
1890 %preun yaz
1891 if [ "$1" = "0" ]; then
1892         %{_sbindir}/php-module-install remove yaz %{_sysconfdir}/php.ini
1893 fi
1894
1895 %post yp
1896 %{_sbindir}/php-module-install install yp %{_sysconfdir}/php.ini
1897
1898 %preun yp
1899 if [ "$1" = "0" ]; then
1900         %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
1901 fi
1902
1903 %post zip
1904 %{_sbindir}/php-module-install install zip %{_sysconfdir}/php.ini
1905
1906 %preun zip
1907 if [ "$1" = "0" ]; then
1908         %{_sbindir}/php-module-install remove zip %{_sysconfdir}/php.ini
1909 fi
1910
1911 %post zlib
1912 %{_sbindir}/php-module-install install zlib %{_sysconfdir}/php.ini
1913
1914 %preun zlib
1915 if [ "$1" = "0" ]; then
1916         %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
1917 fi
1918
1919 %files
1920 %defattr(644,root,root,755)
1921 %if %{_apache2}
1922 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/httpd/httpd.conf/*_mod_php.conf
1923 %endif
1924 %attr(755,root,root) %{_libdir}/apache/libphp4.so
1925 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-apache.ini
1926
1927 %files cgi
1928 %defattr(644,root,root,755)
1929 %attr(755,root,root) %{_bindir}/php
1930 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cgi.ini
1931
1932 %files common
1933 %defattr(644,root,root,755)
1934 %doc CODING_STANDARDS CREDITS Zend/ZEND_CHANGES
1935 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
1936 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
1937
1938 %dir %{_sysconfdir}
1939 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
1940 %attr(730,root,http) %dir %verify(not group mode) /var/run/php
1941
1942 /home/httpd/icons/*
1943 %attr(755,root,root) %{_sbindir}/*
1944 %attr(755,root,root) %{_libdir}/libphp_common*.so.*.*.*
1945 %dir %{extensionsdir}
1946
1947 %files devel
1948 %defattr(644,root,root,755)
1949 %{_includedir}/php
1950 %{_libdir}/php/build
1951 %attr(755,root,root) %{_bindir}/phpextdist
1952 %attr(755,root,root) %{_bindir}/phpize
1953 %attr(755,root,root) %{_bindir}/php-config
1954
1955 %files doc
1956 %defattr(644,root,root,755)
1957 %doc manual/*
1958
1959 %files bcmath
1960 %defattr(644,root,root,755)
1961 %attr(755,root,root) %{extensionsdir}/bcmath.so
1962
1963 %files bzip2
1964 %defattr(644,root,root,755)
1965 %attr(755,root,root) %{extensionsdir}/bz2.so
1966
1967 %files calendar
1968 %defattr(644,root,root,755)
1969 %attr(755,root,root) %{extensionsdir}/calendar.so
1970
1971 %if %{?_with_cpdf:1}%{!?_with_cpdf:0}
1972 %files cpdf
1973 %defattr(644,root,root,755)
1974 %attr(755,root,root) %{extensionsdir}/cpdf.so
1975 %endif
1976
1977 %files crack
1978 %defattr(644,root,root,755)
1979 %attr(755,root,root) %{extensionsdir}/crack.so
1980
1981 %files ctype
1982 %defattr(644,root,root,755)
1983 %attr(755,root,root) %{extensionsdir}/ctype.so
1984
1985 %files curl
1986 %defattr(644,root,root,755)
1987 %attr(755,root,root) %{extensionsdir}/curl.so
1988
1989 %files dba
1990 %defattr(644,root,root,755)
1991 %attr(755,root,root) %{extensionsdir}/dba.so
1992
1993 %files dbase
1994 %defattr(644,root,root,755)
1995 %attr(755,root,root) %{extensionsdir}/dbase.so
1996
1997 %files dbx
1998 %defattr(644,root,root,755)
1999 %attr(755,root,root) %{extensionsdir}/dbx.so
2000
2001 %files dio
2002 %defattr(644,root,root,755)
2003 %attr(755,root,root) %{extensionsdir}/dio.so
2004
2005 %files domxml
2006 %defattr(644,root,root,755)
2007 %attr(755,root,root) %{extensionsdir}/domxml.so
2008
2009 %files exif
2010 %defattr(644,root,root,755)
2011 %attr(755,root,root) %{extensionsdir}/exif.so
2012
2013 %files filepro
2014 %defattr(644,root,root,755)
2015 %attr(755,root,root) %{extensionsdir}/filepro.so
2016
2017 %files ftp
2018 %defattr(644,root,root,755)
2019 %attr(755,root,root) %{extensionsdir}/ftp.so
2020
2021 %files gd
2022 %defattr(644,root,root,755)
2023 %attr(755,root,root) %{extensionsdir}/gd.so
2024
2025 %files gettext
2026 %defattr(644,root,root,755)
2027 %attr(755,root,root) %{extensionsdir}/gettext.so
2028
2029 %files gmp
2030 %defattr(644,root,root,755)
2031 %attr(755,root,root) %{extensionsdir}/gmp.so
2032
2033 %files hyperwave
2034 %defattr(644,root,root,755)
2035 %attr(755,root,root) %{extensionsdir}/hyperwave.so
2036
2037 %files iconv
2038 %defattr(644,root,root,755)
2039 %attr(755,root,root) %{extensionsdir}/iconv.so
2040
2041 %if %{?_without_imap:0}%{!?_without_imap:1}
2042 %files imap
2043 %defattr(644,root,root,755)
2044 %attr(755,root,root) %{extensionsdir}/imap.so
2045 %endif
2046
2047 %if %{?_with_interbase:1}%{!?_with_interbase:0}
2048 %files interbase
2049 %defattr(644,root,root,755)
2050 %attr(755,root,root) %{extensionsdir}/interbase.so
2051 %endif
2052
2053 %if %{?_with_java:1}%{!?_with_java:0}
2054 %files java
2055 %defattr(644,root,root,755)
2056 %attr(755,root,root) %{extensionsdir}/java.so
2057 %{_libdir}/php_java.jar
2058 %endif
2059
2060 %if %{?_without_ldap:0}%{!?_without_ldap:1}
2061 %files ldap
2062 %defattr(644,root,root,755)
2063 %attr(755,root,root) %{extensionsdir}/ldap.so
2064 %endif
2065
2066 %files mbstring
2067 %defattr(644,root,root,755)
2068 %attr(755,root,root) %{extensionsdir}/mbstring.so
2069
2070 %files mcal
2071 %defattr(644,root,root,755)
2072 %attr(755,root,root) %{extensionsdir}/mcal.so
2073
2074 %files mcrypt
2075 %defattr(644,root,root,755)
2076 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2077
2078 %files mhash
2079 %defattr(644,root,root,755)
2080 %attr(755,root,root) %{extensionsdir}/mhash.so
2081
2082 %files ming
2083 %defattr(644,root,root,755)
2084 %attr(755,root,root) %{extensionsdir}/ming.so
2085
2086 %files mnogosearch
2087 %defattr(644,root,root,755)
2088 %attr(755,root,root) %{extensionsdir}/mnogosearch.so
2089
2090 %if %{?_without_msession:0}%{!?_without_msession:1}
2091 %files msession
2092 %defattr(644,root,root,755)
2093 %attr(755,root,root) %{extensionsdir}/msession.so
2094 %endif
2095
2096 %files mysql
2097 %defattr(644,root,root,755)
2098 %attr(755,root,root) %{extensionsdir}/mysql.so
2099
2100 %if %{?_with_oci8:1}%{!?_with_oci8:0}
2101 %files oci8
2102 %defattr(644,root,root,755)
2103 %attr(755,root,root) %{extensionsdir}/oci8.so
2104 %endif
2105
2106 %if %{?_without_odbc:0}%{!?_without_odbc:1}
2107 %files odbc
2108 %defattr(644,root,root,755)
2109 %attr(755,root,root) %{extensionsdir}/odbc.so
2110 %endif
2111
2112 %if %{?_without_openssl:0}%{!?_without_odbc:1}
2113 %files openssl
2114 %defattr(644,root,root,755)
2115 %attr(755,root,root) %{extensionsdir}/openssl.so
2116 %endif
2117
2118 %if %{?_with_oracle:1}%{!?_with_oracle:0}
2119 %files oracle
2120 %defattr(644,root,root,755)
2121 %attr(755,root,root) %{extensionsdir}/oracle.so
2122 %endif
2123
2124 %files overload
2125 %defattr(644,root,root,755)
2126 %attr(755,root,root) %{extensionsdir}/overload.so
2127
2128 # disabled in 4.2.0 - it segfaults
2129 #%files pcntl
2130 #%defattr(644,root,root,755)
2131 #%attr(755,root,root) %{extensionsdir}/pcntl.so
2132
2133 %files pcre
2134 %defattr(644,root,root,755)
2135 %attr(755,root,root) %{extensionsdir}/pcre.so
2136
2137 %files pear
2138 %defattr(644,root,root,755)
2139 %dir %{php_pear_dir}
2140 %dir %{php_pear_dir}/Archive
2141 %dir %{php_pear_dir}/Auth
2142 %dir %{php_pear_dir}/Auth_HTTP
2143 %dir %{php_pear_dir}/Console
2144 %dir %{php_pear_dir}/Crypt
2145 %dir %{php_pear_dir}/Date
2146 %dir %{php_pear_dir}/DB
2147 %dir %{php_pear_dir}/File
2148 %dir %{php_pear_dir}/HTML
2149 %dir %{php_pear_dir}/HTTP
2150 %dir %{php_pear_dir}/Image
2151 %dir %{php_pear_dir}/Mail
2152 %dir %{php_pear_dir}/Net
2153 %dir %{php_pear_dir}/PEAR
2154 %dir %{php_pear_dir}/Schedule
2155 %dir %{php_pear_dir}/XML
2156
2157 %files pear-additional_classes
2158 %defattr(644,root,root,755)
2159 %doc pear/HTML/IT*.php
2160 %attr(644,root,root) %{php_pear_dir}/Crypt/HCEMD5.php
2161 %attr(644,root,root) %{php_pear_dir}/Date/Calc.php
2162 %attr(644,root,root) %{php_pear_dir}/Date/Human.php
2163 %attr(644,root,root) %{php_pear_dir}/File/Passwd.php
2164 %attr(644,root,root) %{php_pear_dir}/HTML/Form.php
2165 %attr(644,root,root) %{php_pear_dir}/HTML/Page.php
2166 %attr(644,root,root) %{php_pear_dir}/HTML/Processor.php
2167 %attr(644,root,root) %{php_pear_dir}/HTML/Select.php
2168 %attr(644,root,root) %{php_pear_dir}/HTTP/Compress.php
2169 %attr(644,root,root) %{php_pear_dir}/Net/SMTP.php
2170 %attr(644,root,root) %{php_pear_dir}/Schedule/At.php
2171
2172 %files pear-devel
2173 %defattr(644,root,root,755)
2174 %attr(755,root,root) %{_bindir}/pear
2175 %attr(755,root,root) %{_bindir}/pearize
2176 %attr(755,root,root) %{_bindir}/phptar
2177
2178 %files pdf
2179 %defattr(644,root,root,755)
2180 %attr(755,root,root) %{extensionsdir}/pdf.so
2181
2182 %files pgsql
2183 %defattr(644,root,root,755)
2184 %attr(755,root,root) %{extensionsdir}/pgsql.so
2185
2186 %files posix
2187 %defattr(644,root,root,755)
2188 %attr(755,root,root) %{extensionsdir}/posix.so
2189
2190 %files pspell
2191 %defattr(644,root,root,755)
2192 %attr(755,root,root) %{extensionsdir}/pspell.so
2193
2194 %if %{?_without_recode:0}%{!?_without_recode:1}
2195 %files recode
2196 %defattr(644,root,root,755)
2197 %attr(755,root,root) %{extensionsdir}/recode.so
2198 %endif
2199
2200 # session_mm doesn't work with shared session
2201 #%files session
2202 #%defattr(644,root,root,755)
2203 #%attr(755,root,root) %{extensionsdir}/session.so
2204
2205 %files shmop
2206 %defattr(644,root,root,755)
2207 %attr(755,root,root) %{extensionsdir}/shmop.so
2208
2209 %if %{?_without_snmp:0}%{!?_without_snmp:1}
2210 %files snmp
2211 %defattr(644,root,root,755)
2212 %attr(755,root,root) %{extensionsdir}/snmp.so
2213 %endif
2214
2215 %files sockets
2216 %defattr(644,root,root,755)
2217 %attr(755,root,root) %{extensionsdir}/sockets.so
2218
2219 %if %{?_with_sybase_ct:1}%{!?_with_sybase_ct:0}
2220 %files sybase-ct
2221 %defattr(644,root,root,755)
2222 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2223 %endif
2224
2225 %files sysvsem
2226 %defattr(644,root,root,755)
2227 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2228
2229 %files sysvshm
2230 %defattr(644,root,root,755)
2231 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2232
2233 %if %{?_without_wddx:0}%{!?_without_wddx:1}
2234 %files wddx
2235 %defattr(644,root,root,755)
2236 %attr(755,root,root) %{extensionsdir}/wddx.so
2237 %endif
2238
2239 %files xml
2240 %defattr(644,root,root,755)
2241 %attr(755,root,root) %{extensionsdir}/xml.so
2242
2243 %files xmlrpc
2244 %defattr(644,root,root,755)
2245 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
2246
2247 %if %{?_without_xslt:0}%{!?_without_xslt:1}
2248 %files xslt
2249 %defattr(644,root,root,755)
2250 %attr(755,root,root) %{extensionsdir}/xslt.so
2251 %endif
2252
2253 %files yaz
2254 %defattr(644,root,root,755)
2255 %attr(755,root,root) %{extensionsdir}/yaz.so
2256
2257 %files yp
2258 %defattr(644,root,root,755)
2259 %attr(755,root,root) %{extensionsdir}/yp.so
2260
2261 %files zip
2262 %defattr(644,root,root,755)
2263 %attr(755,root,root) %{extensionsdir}/zip.so
2264
2265 %files zlib
2266 %defattr(644,root,root,755)
2267 %attr(755,root,root) %{extensionsdir}/zlib.so
This page took 0.176221 seconds and 4 git commands to generate.