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