]> git.pld-linux.org Git - packages/php.git/blob - php.spec
- better solution - override path, mailer binary not needed
[packages/php.git] / php.spec
1 #
2 # Automatic pear requirements finding:
3 %include        /usr/lib/rpm/macros.php
4
5 %define _apache2        %(rpm -q apache-devel 2> /dev/null | grep -Eq '\\-2\\.[0-9]+\\.' && echo 1 || echo 0)
6
7 %if %{_apache2}
8 %define _without_recode 1
9 %define _without_mm 1
10 %endif
11
12 %ifnarch %{ix86}
13 %define _without_msession 1
14 %endif
15
16 # Conditional build:
17 # _with_cpdf            - with cpdf extension module
18 # _with_interbase       - with InterBase extension module
19 # _with_java            - with Java extension module
20 # _with_oci8            - with Oracle oci8 extension module
21 # _with_oracle          - with oracle extension module
22 # _with_sybase_ct       - with Sybase-CT extension module
23 # _without_domxslt      - without DOM XSLT/EXSLT support in DOM XML extension module
24 # _without_imap         - without IMAP extension module
25 # _without_ldap         - without LDAP extension module
26 # _without_mm           - without mm support for session storage
27 # _without_msession     - without msession extension module
28 # _without_odbc         - without ODBC extension module
29 # _without_openssl      - with OpenSSL support
30 # _without_snmp         - without SNMP extension module
31 # _without_recode       - without recode extension module
32 # _without_wddx         - without WDDX extension module
33 # _without_xslt         - without XSLT extension module
34 Summary:        The PHP HTML-embedded scripting language for use with Apache
35 Summary(fr):    Le langage de script embarque-HTML PHP pour Apache
36 Summary(pl):    Jêzyk skryptowy PHP -- u¿ywany wraz z serwerem Apache
37 Summary(pt_BR): A linguagem de script PHP
38 Summary(ru):    PHP ÷ÅÒÓÉÉ 4 -- ÑÚÙË ÐÒÅÐÒÏÃÅÓÓÉÒÏ×ÁÎÉÑ HTML-ÆÁÊÌÏ×, ×ÙÐÏÌÎÑÅÍÙÊ ÎÁ ÓÅÒ×ÅÒÅ
39 Summary(uk):    PHP ÷ÅÒÓ¦§ 4 -- ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
40 Name:           php
41 Version:        4.2.1
42 Release:        7
43 Epoch:          3
44 Group:          Libraries
45 License:        The PHP license (see "LICENSE" file included in distribution)
46 Source0:        http://www.php.net/distributions/%{name}-%{version}.tar.bz2
47 Source1:        FAQ.%{name}
48 Source2:        %{name}.ini
49 Source3:        zend.gif
50 Source4:        http://www.php.net/distributions/manual/%{name}_manual_en.tar.bz2
51 Source5:        %{name}-module-install
52 Source6:        %{name}-mod_php.conf
53 Source7:        %{name}-cgi.ini
54 Source8:        %{name}-apache.ini
55 Patch0:         %{name}-shared.patch
56 Patch1:         %{name}-pldlogo.patch
57 Patch2:         %{name}-mysql-socket.patch
58 Patch3:         %{name}-mail.patch
59 Patch4:         %{name}-link-libs.patch
60 Patch5:         %{name}-fastcgi.patch
61 Patch6:         %{name}-no_php_pcre_in_SAPI_c.patch
62 Patch7:         %{name}-libpq_fs_h_path.patch
63 Patch8:         %{name}-wddx-fix.patch
64 Patch9:         %{name}-cpdf-fix.patch
65 Patch10:        %{name}-session-fix-shared.patch
66 Patch11:        %{name}-hyperwave-fix.patch
67 Patch12:        %{name}-openssl-for-ext-only.patch
68 Patch13:        %{name}-java-fix.patch
69 Patch14:        %{name}-mcal-shared-lib.patch
70 Patch15:        %{name}-msession-shared-lib.patch
71 Patch16:        %{name}-xmlrpc-includes.patch
72 Patch17:        %{name}-build_modules.patch
73 Patch18:        %{name}-sapi-ini-file.patch
74 Patch19:        %{name}-apache2_broken_macro.patch
75 Patch20:        %{name}-php_iconv_string_declaration.patch
76 Icon:           php4.gif
77 URL:            http://www.php.net/
78 BuildRequires:  apache-devel
79 BuildRequires:  autoconf >= 2.52
80 %{?_with_sybase_ct:BuildRequires:       autoconf >= 2.53}
81 BuildRequires:  automake >= 1.4d
82 BuildRequires:  bison
83 BuildRequires:  bzip2-devel
84 BuildRequires:  cracklib-devel >= 2.7-15
85 BuildRequires:  curl-devel
86 BuildRequires:  cyrus-sasl-devel
87 BuildRequires:  db3-devel >= 3.1.17
88 BuildRequires:  expat-devel
89 BuildRequires:  flex
90 %{?_with_sybase_ct:BuildRequires:       freetds-devel}
91 BuildRequires:  freetype-devel >= 2.0
92 BuildRequires:  gd-devel >= 2.0.1
93 BuildRequires:  gdbm-devel
94 BuildRequires:  gmp-devel
95 %{!?_without_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2 }
96 %{?_with_java:BuildRequires:    jdk >= 1.1}
97 %{?_with_cpdf:BuildRequires:    libcpdf-devel >= 2.02r1-2}
98 BuildRequires:  libjpeg-devel
99 BuildRequires:  libltdl-devel >= 1.4
100 BuildRequires:  libmcal-devel
101 BuildRequires:  libmcrypt-devel >= 2.4.4
102 BuildRequires:  libpng >= 1.0.8
103 BuildRequires:  libtiff-devel
104 BuildRequires:  libtool >= 0:1.4.2-9
105 BuildRequires:  libxml2-devel >= 2.2.7
106 %{!?_without_domxslt:BuildRequires:     libxslt >= 1.0.3}
107 BuildRequires:  mhash-devel
108 BuildRequires:  ming-devel >= 0.1.0
109 %{!?_without_mm:BuildRequires:  mm-devel >= 1.1.3}
110 BuildRequires:  mnogosearch-devel < 3.2.5
111 BuildRequires:  mysql-devel >= 3.23.32
112 %{!?_without_ldap:BuildRequires: openldap-devel >= 2.0}
113 %if %(expr %{?_without_openssl:0}%{!?_without_openssl:1} + %{?_without_ldap:0}%{!?_without_ldap:1})
114 BuildRequires:  openssl-devel >= 0.9.6a
115 %endif
116 BuildRequires:  pam-devel
117 BuildRequires:  pdflib-devel >= 4.0.0
118 BuildRequires:  perl
119 %{!?_without_msession:BuildRequires:    phoenix-devel}
120 BuildRequires:  pkgconfig
121 BuildRequires:  postgresql-devel
122 BuildRequires:  postgresql-backend-devel >= 7.2
123 BuildRequires:  pspell-devel
124 %{!?_without_recode:BuildRequires:      recode-devel >= 3.5d-3}
125 BuildRequires:  rpm-php-pearprov >= 4.0.2-80
126 %{!?_without_xslt:BuildRequires:        sablotron-devel}
127 BuildRequires:  t1lib-devel
128 %{!?_without_snmp:BuildRequires: ucd-snmp-devel >= 4.2.3}
129 %{!?_without_odbc:BuildRequires: unixODBC-devel}
130 BuildRequires:  xmlrpc-epi-devel
131 BuildRequires:  yaz-devel
132 BuildRequires:  zip
133 BuildRequires:  zlib-devel >= 1.0.9
134 BuildRequires:  zziplib-devel
135 #BuildRequires: fastcgi-devkit
136 # 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 %clean
1411 rm -rf $RPM_BUILD_ROOT
1412
1413 %post
1414 %if ! %{_apache2}
1415 perl -pi -e 's|^#AddType application/x-httpd-php \.php|AddType application/x-httpd-php .php|' \
1416         /etc/httpd/httpd.conf
1417 %{_sbindir}/apxs -e -a -n php4 %{_pkglibdir}/libphp4.so 1>&2
1418 %endif
1419 if [ -f /var/lock/subsys/httpd ]; then
1420         /etc/rc.d/init.d/httpd restart 1>&2
1421 fi
1422
1423 %if %{_apache2}
1424 %postun
1425 if [ "$1" = "0" ]; then
1426         if [ -f /var/lock/subsys/httpd ]; then
1427                 /etc/rc.d/init.d/httpd restart 1>&2
1428         fi
1429 fi
1430 %else
1431 %preun
1432 if [ "$1" = "0" ]; then
1433         %{_sbindir}/apxs -e -A -n php4 %{_pkglibdir}/libphp4.so 1>&2
1434         perl -pi -e \
1435                 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
1436                 /etc/httpd/httpd.conf
1437         if [ -f /var/lock/subsys/httpd ]; then
1438                 /etc/rc.d/init.d/httpd restart 1>&2
1439         fi
1440 fi
1441 %endif
1442
1443 %post   common -p /sbin/ldconfig
1444 %postun common -p /sbin/ldconfig
1445
1446 %post bcmath
1447 %{_sbindir}/php-module-install install bcmath %{_sysconfdir}/php.ini
1448
1449 %preun bcmath
1450 if [ "$1" = "0" ]; then
1451         %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
1452 fi
1453
1454 %post bzip2
1455 %{_sbindir}/php-module-install install bz2 %{_sysconfdir}/php.ini
1456
1457 %preun bzip2
1458 if [ "$1" = "0" ]; then
1459         %{_sbindir}/php-module-install remove bz2 %{_sysconfdir}/php.ini
1460 fi
1461
1462 %post calendar
1463 %{_sbindir}/php-module-install install calendar %{_sysconfdir}/php.ini
1464
1465 %preun calendar
1466 if [ "$1" = "0" ]; then
1467         %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
1468 fi
1469
1470 %post cpdf
1471 %{_sbindir}/php-module-install install cpdf %{_sysconfdir}/php.ini
1472
1473 %preun cpdf
1474 if [ "$1" = "0" ]; then
1475         %{_sbindir}/php-module-install remove cpdf %{_sysconfdir}/php.ini
1476 fi
1477
1478 %post crack
1479 %{_sbindir}/php-module-install install crack %{_sysconfdir}/php.ini
1480
1481 %preun crack
1482 if [ "$1" = "0" ]; then
1483         %{_sbindir}/php-module-install remove crack %{_sysconfdir}/php.ini
1484 fi
1485
1486 %post ctype
1487 %{_sbindir}/php-module-install install ctype %{_sysconfdir}/php.ini
1488
1489 %preun ctype
1490 if [ "$1" = "0" ]; then
1491         %{_sbindir}/php-module-install remove ctype %{_sysconfdir}/php.ini
1492 fi
1493
1494 %post curl
1495 %{_sbindir}/php-module-install install curl %{_sysconfdir}/php.ini
1496
1497 %preun curl
1498 if [ "$1" = "0" ]; then
1499         %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
1500 fi
1501
1502 %post dba
1503 %{_sbindir}/php-module-install install dba %{_sysconfdir}/php.ini
1504
1505 %preun dba
1506 if [ "$1" = "0" ]; then
1507         %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
1508 fi
1509
1510 %post dbase
1511 %{_sbindir}/php-module-install install dbase %{_sysconfdir}/php.ini
1512
1513 %preun dbase
1514 if [ "$1" = "0" ]; then
1515         %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
1516 fi
1517
1518 %post dbx
1519 %{_sbindir}/php-module-install install dbx %{_sysconfdir}/php.ini
1520
1521 %preun dbx
1522 if [ "$1" = "0" ]; then
1523         %{_sbindir}/php-module-install remove dbx %{_sysconfdir}/php.ini
1524 fi
1525
1526 %post dio
1527 %{_sbindir}/php-module-install install dbx %{_sysconfdir}/php.ini
1528
1529 %preun dio
1530 if [ "$1" = "0" ]; then
1531         %{_sbindir}/php-module-install remove dbx %{_sysconfdir}/php.ini
1532 fi
1533
1534 %post domxml
1535 %{_sbindir}/php-module-install install domxml %{_sysconfdir}/php.ini
1536
1537 %preun domxml
1538 if [ "$1" = "0" ]; then
1539         %{_sbindir}/php-module-install remove domxml %{_sysconfdir}/php.ini
1540 fi
1541
1542 %post exif
1543 %{_sbindir}/php-module-install install exif %{_sysconfdir}/php.ini
1544
1545 %preun exif
1546 if [ "$1" = "0" ]; then
1547         %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
1548 fi
1549
1550 %post filepro
1551 %{_sbindir}/php-module-install install filepro %{_sysconfdir}/php.ini
1552
1553 %preun filepro
1554 if [ "$1" = "0" ]; then
1555         %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
1556 fi
1557
1558 %post ftp
1559 %{_sbindir}/php-module-install install ftp %{_sysconfdir}/php.ini
1560
1561 %preun ftp
1562 if [ "$1" = "0" ]; then
1563         %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
1564 fi
1565
1566 %post gd
1567 %{_sbindir}/php-module-install install gd %{_sysconfdir}/php.ini
1568
1569 %preun gd
1570 if [ "$1" = "0" ]; then
1571         %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
1572 fi
1573
1574 %post gettext
1575 %{_sbindir}/php-module-install install gettext %{_sysconfdir}/php.ini
1576
1577 %preun gettext
1578 if [ "$1" = "0" ]; then
1579         %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
1580 fi
1581
1582 %post gmp
1583 %{_sbindir}/php-module-install install gmp %{_sysconfdir}/php.ini
1584
1585 %preun gmp
1586 if [ "$1" = "0" ]; then
1587         %{_sbindir}/php-module-install remove gmp %{_sysconfdir}/php.ini
1588 fi
1589
1590 %post hyperwave
1591 %{_sbindir}/php-module-install install hyperwave %{_sysconfdir}/php.ini
1592
1593 %preun hyperwave
1594 if [ "$1" = "0" ]; then
1595         %{_sbindir}/php-module-install remove hyperwave %{_sysconfdir}/php.ini
1596 fi
1597
1598 %post iconv
1599 %{_sbindir}/php-module-install install iconv %{_sysconfdir}/php.ini
1600
1601 %preun iconv
1602 if [ "$1" = "0" ]; then
1603         %{_sbindir}/php-module-install remove iconv %{_sysconfdir}/php.ini
1604 fi
1605
1606 %post imap
1607 %{_sbindir}/php-module-install install imap %{_sysconfdir}/php.ini
1608
1609 %preun imap
1610 if [ "$1" = "0" ]; then
1611         %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
1612 fi
1613
1614 %post interbase
1615 %{_sbindir}/php-module-install install interbase %{_sysconfdir}/php.ini
1616
1617 %preun interbase
1618 if [ "$1" = "0" ]; then
1619         %{_sbindir}/php-module-install remove interbase %{_sysconfdir}/php.ini
1620 fi
1621
1622 %post java
1623 %{_sbindir}/php-module-install install java %{_sysconfdir}/php.ini
1624
1625 %preun java
1626 if [ "$1" = "0" ]; then
1627         %{_sbindir}/php-module-install remove java %{_sysconfdir}/php.ini
1628 fi
1629
1630 %post ldap
1631 %{_sbindir}/php-module-install install ldap %{_sysconfdir}/php.ini
1632
1633 %preun ldap
1634 if [ "$1" = "0" ]; then
1635         %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
1636 fi
1637
1638 %post mbstring
1639 %{_sbindir}/php-module-install install mbstring %{_sysconfdir}/php.ini
1640
1641 %preun mbstring
1642 if [ "$1" = "0" ]; then
1643         %{_sbindir}/php-module-install remove mbstring %{_sysconfdir}/php.ini
1644 fi
1645
1646 %post mcal
1647 %{_sbindir}/php-module-install install mcal %{_sysconfdir}/php.ini
1648
1649 %preun mcal
1650 if [ "$1" = "0" ]; then
1651         %{_sbindir}/php-module-install remove mcal %{_sysconfdir}/php.ini
1652 fi
1653
1654 %post mcrypt
1655 %{_sbindir}/php-module-install install mcrypt %{_sysconfdir}/php.ini
1656
1657 %preun mcrypt
1658 if [ "$1" = "0" ]; then
1659         %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
1660 fi
1661
1662 %post mhash
1663 %{_sbindir}/php-module-install install mhash %{_sysconfdir}/php.ini
1664
1665 %preun mhash
1666 if [ "$1" = "0" ]; then
1667         %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
1668 fi
1669
1670 %post ming
1671 %{_sbindir}/php-module-install install ming %{_sysconfdir}/php.ini
1672
1673 %preun ming
1674 if [ "$1" = "0" ]; then
1675         %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
1676 fi
1677
1678 %post mnogosearch
1679 %{_sbindir}/php-module-install install mnogosearch %{_sysconfdir}/php.ini
1680
1681 %preun mnogosearch
1682 if [ "$1" = "0" ]; then
1683         %{_sbindir}/php-module-install remove mnogosearch %{_sysconfdir}/php.ini
1684 fi
1685
1686 %post msession
1687 %{_sbindir}/php-module-install install msession %{_sysconfdir}/php.ini
1688
1689 %preun msession
1690 if [ "$1" = "0" ]; then
1691         %{_sbindir}/php-module-install remove msession %{_sysconfdir}/php.ini
1692 fi
1693
1694 %post mysql
1695 %{_sbindir}/php-module-install install mysql %{_sysconfdir}/php.ini
1696
1697 %preun mysql
1698 if [ "$1" = "0" ]; then
1699         %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
1700 fi
1701
1702 %post oci8
1703 %{_sbindir}/php-module-install install oci8 %{_sysconfdir}/php.ini
1704
1705 %preun oci8
1706 if [ "$1" = "0" ]; then
1707         %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
1708 fi
1709
1710 %post odbc
1711 %{_sbindir}/php-module-install install odbc %{_sysconfdir}/php.ini
1712
1713 %preun odbc
1714 if [ "$1" = "0" ]; then
1715         %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
1716 fi
1717
1718 %post openssl
1719 %{_sbindir}/php-module-install install openssl %{_sysconfdir}/php.ini
1720
1721 %preun openssl
1722 if [ "$1" = "0" ]; then
1723         %{_sbindir}/php-module-install remove openssl %{_sysconfdir}/php.ini
1724 fi
1725
1726 %post oracle
1727 %{_sbindir}/php-module-install install oracle %{_sysconfdir}/php.ini
1728
1729 %preun oracle
1730 if [ "$1" = "0" ]; then
1731         %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
1732 fi
1733
1734 %post overload
1735 %{_sbindir}/php-module-install install overload %{_sysconfdir}/php.ini
1736
1737 %preun overload
1738 if [ "$1" = "0" ]; then
1739         %{_sbindir}/php-module-install remove overload %{_sysconfdir}/php.ini
1740 fi
1741
1742 %post pcntl
1743 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php.ini
1744
1745 %preun pcntl
1746 if [ "$1" = "0" ]; then
1747         %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php.ini
1748 fi
1749
1750 %post pcre
1751 %{_sbindir}/php-module-install install pcre %{_sysconfdir}/php.ini
1752
1753 %preun pcre
1754 if [ "$1" = "0" ]; then
1755         %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
1756 fi
1757
1758 %post pdf
1759 %{_sbindir}/php-module-install install pdf %{_sysconfdir}/php.ini
1760
1761 %preun pdf
1762 if [ "$1" = "0" ]; then
1763         %{_sbindir}/php-module-install remove pdf %{_sysconfdir}/php.ini
1764 fi
1765
1766 %post pgsql
1767 %{_sbindir}/php-module-install install pgsql %{_sysconfdir}/php.ini
1768
1769 %preun pgsql
1770 if [ "$1" = "0" ]; then
1771         %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
1772 fi
1773
1774 %post posix
1775 %{_sbindir}/php-module-install install posix %{_sysconfdir}/php.ini
1776
1777 %preun posix
1778 if [ "$1" = "0" ]; then
1779         %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
1780 fi
1781
1782 %post pspell
1783 %{_sbindir}/php-module-install install pspell %{_sysconfdir}/php.ini
1784
1785 %preun pspell
1786 if [ "$1" = "0" ]; then
1787         %{_sbindir}/php-module-install remove pspell %{_sysconfdir}/php.ini
1788 fi
1789
1790 %post recode
1791 %{_sbindir}/php-module-install install recode %{_sysconfdir}/php.ini
1792
1793 %preun recode
1794 if [ "$1" = "0" ]; then
1795         %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
1796 fi
1797
1798 %post session
1799 %{_sbindir}/php-module-install install session %{_sysconfdir}/php.ini
1800
1801 %preun session
1802 if [ "$1" = "0" ]; then
1803         %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
1804 fi
1805
1806 %post shmop
1807 %{_sbindir}/php-module-install install shmop %{_sysconfdir}/php.ini
1808
1809 %preun shmop
1810 if [ "$1" = "0" ]; then
1811         %{_sbindir}/php-module-install remove shmop %{_sysconfdir}/php.ini
1812 fi
1813
1814 %post snmp
1815 %{_sbindir}/php-module-install install snmp %{_sysconfdir}/php.ini
1816
1817 %preun snmp
1818 if [ "$1" = "0" ]; then
1819         %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
1820 fi
1821
1822 %post sockets
1823 %{_sbindir}/php-module-install install sockets %{_sysconfdir}/php.ini
1824
1825 %preun sockets
1826 if [ "$1" = "0" ]; then
1827         %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
1828 fi
1829
1830 %post sybase-ct
1831 %{_sbindir}/php-module-install install sybase_ct %{_sysconfdir}/php.ini
1832
1833 %preun sybase-ct
1834 if [ "$1" = "0" ]; then
1835         %{_sbindir}/php-module-install remove sybase_ct %{_sysconfdir}/php.ini
1836 fi
1837
1838 %post sysvsem
1839 %{_sbindir}/php-module-install install sysvsem %{_sysconfdir}/php.ini
1840
1841 %preun sysvsem
1842 if [ "$1" = "0" ]; then
1843         %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
1844 fi
1845
1846 %post sysvshm
1847 %{_sbindir}/php-module-install install sysvshm %{_sysconfdir}/php.ini
1848
1849 %preun sysvshm
1850 if [ "$1" = "0" ]; then
1851         %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
1852 fi
1853
1854 %post wddx
1855 %{_sbindir}/php-module-install install wddx %{_sysconfdir}/php.ini
1856
1857 %preun wddx
1858 if [ "$1" = "0" ]; then
1859         %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
1860 fi
1861
1862 %post xml
1863 %{_sbindir}/php-module-install install xml %{_sysconfdir}/php.ini
1864
1865 %preun xml
1866 if [ "$1" = "0" ]; then
1867         %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
1868 fi
1869
1870 %post xmlrpc
1871 %{_sbindir}/php-module-install install xmlrpc %{_sysconfdir}/php.ini
1872
1873 %preun xmlrpc
1874 if [ "$1" = "0" ]; then
1875         %{_sbindir}/php-module-install remove xmlrpc %{_sysconfdir}/php.ini
1876 fi
1877
1878 %post xslt
1879 %{_sbindir}/php-module-install install xslt %{_sysconfdir}/php.ini
1880
1881 %preun xslt
1882 if [ "$1" = "0" ]; then
1883         %{_sbindir}/php-module-install remove xslt %{_sysconfdir}/php.ini
1884 fi
1885
1886 %post yaz
1887 %{_sbindir}/php-module-install install yaz %{_sysconfdir}/php.ini
1888
1889 %preun yaz
1890 if [ "$1" = "0" ]; then
1891         %{_sbindir}/php-module-install remove yaz %{_sysconfdir}/php.ini
1892 fi
1893
1894 %post yp
1895 %{_sbindir}/php-module-install install yp %{_sysconfdir}/php.ini
1896
1897 %preun yp
1898 if [ "$1" = "0" ]; then
1899         %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
1900 fi
1901
1902 %post zip
1903 %{_sbindir}/php-module-install install zip %{_sysconfdir}/php.ini
1904
1905 %preun zip
1906 if [ "$1" = "0" ]; then
1907         %{_sbindir}/php-module-install remove zip %{_sysconfdir}/php.ini
1908 fi
1909
1910 %post zlib
1911 %{_sbindir}/php-module-install install zlib %{_sysconfdir}/php.ini
1912
1913 %preun zlib
1914 if [ "$1" = "0" ]; then
1915         %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
1916 fi
1917
1918 %files
1919 %defattr(644,root,root,755)
1920 %if %{_apache2}
1921 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/httpd/httpd.conf/*_mod_php.conf
1922 %endif
1923 %attr(755,root,root) %{_libdir}/apache/libphp4.so
1924 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-apache.ini
1925
1926 %files cgi
1927 %defattr(644,root,root,755)
1928 %attr(755,root,root) %{_bindir}/php
1929 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cgi.ini
1930
1931 %files common
1932 %defattr(644,root,root,755)
1933 %doc CODING_STANDARDS CREDITS Zend/ZEND_CHANGES
1934 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
1935 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
1936
1937 %dir %{_sysconfdir}
1938 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
1939 %attr(730,root,http) %dir %verify(not group mode) /var/run/php
1940
1941 /home/httpd/icons/*
1942 %attr(755,root,root) %{_sbindir}/*
1943 %attr(755,root,root) %{_libdir}/libphp_common*.so.*.*.*
1944 %dir %{extensionsdir}
1945
1946 %files devel
1947 %defattr(644,root,root,755)
1948 %{_includedir}/php
1949 %{_libdir}/php/build
1950 %attr(755,root,root) %{_bindir}/phpextdist
1951 %attr(755,root,root) %{_bindir}/phpize
1952 %attr(755,root,root) %{_bindir}/php-config
1953
1954 %files doc
1955 %defattr(644,root,root,755)
1956 %doc manual/*
1957
1958 %files bcmath
1959 %defattr(644,root,root,755)
1960 %attr(755,root,root) %{extensionsdir}/bcmath.so
1961
1962 %files bzip2
1963 %defattr(644,root,root,755)
1964 %attr(755,root,root) %{extensionsdir}/bz2.so
1965
1966 %files calendar
1967 %defattr(644,root,root,755)
1968 %attr(755,root,root) %{extensionsdir}/calendar.so
1969
1970 %if %{?_with_cpdf:1}%{!?_with_cpdf:0}
1971 %files cpdf
1972 %defattr(644,root,root,755)
1973 %attr(755,root,root) %{extensionsdir}/cpdf.so
1974 %endif
1975
1976 %files crack
1977 %defattr(644,root,root,755)
1978 %attr(755,root,root) %{extensionsdir}/crack.so
1979
1980 %files ctype
1981 %defattr(644,root,root,755)
1982 %attr(755,root,root) %{extensionsdir}/ctype.so
1983
1984 %files curl
1985 %defattr(644,root,root,755)
1986 %attr(755,root,root) %{extensionsdir}/curl.so
1987
1988 %files dba
1989 %defattr(644,root,root,755)
1990 %attr(755,root,root) %{extensionsdir}/dba.so
1991
1992 %files dbase
1993 %defattr(644,root,root,755)
1994 %attr(755,root,root) %{extensionsdir}/dbase.so
1995
1996 %files dbx
1997 %defattr(644,root,root,755)
1998 %attr(755,root,root) %{extensionsdir}/dbx.so
1999
2000 %files dio
2001 %defattr(644,root,root,755)
2002 %attr(755,root,root) %{extensionsdir}/dio.so
2003
2004 %files domxml
2005 %defattr(644,root,root,755)
2006 %attr(755,root,root) %{extensionsdir}/domxml.so
2007
2008 %files exif
2009 %defattr(644,root,root,755)
2010 %attr(755,root,root) %{extensionsdir}/exif.so
2011
2012 %files filepro
2013 %defattr(644,root,root,755)
2014 %attr(755,root,root) %{extensionsdir}/filepro.so
2015
2016 %files ftp
2017 %defattr(644,root,root,755)
2018 %attr(755,root,root) %{extensionsdir}/ftp.so
2019
2020 %files gd
2021 %defattr(644,root,root,755)
2022 %attr(755,root,root) %{extensionsdir}/gd.so
2023
2024 %files gettext
2025 %defattr(644,root,root,755)
2026 %attr(755,root,root) %{extensionsdir}/gettext.so
2027
2028 %files gmp
2029 %defattr(644,root,root,755)
2030 %attr(755,root,root) %{extensionsdir}/gmp.so
2031
2032 %files hyperwave
2033 %defattr(644,root,root,755)
2034 %attr(755,root,root) %{extensionsdir}/hyperwave.so
2035
2036 %files iconv
2037 %defattr(644,root,root,755)
2038 %attr(755,root,root) %{extensionsdir}/iconv.so
2039
2040 %if %{?_without_imap:0}%{!?_without_imap:1}
2041 %files imap
2042 %defattr(644,root,root,755)
2043 %attr(755,root,root) %{extensionsdir}/imap.so
2044 %endif
2045
2046 %if %{?_with_interbase:1}%{!?_with_interbase:0}
2047 %files interbase
2048 %defattr(644,root,root,755)
2049 %attr(755,root,root) %{extensionsdir}/interbase.so
2050 %endif
2051
2052 %if %{?_with_java:1}%{!?_with_java:0}
2053 %files java
2054 %defattr(644,root,root,755)
2055 %attr(755,root,root) %{extensionsdir}/java.so
2056 %{_libdir}/php_java.jar
2057 %endif
2058
2059 %if %{?_without_ldap:0}%{!?_without_ldap:1}
2060 %files ldap
2061 %defattr(644,root,root,755)
2062 %attr(755,root,root) %{extensionsdir}/ldap.so
2063 %endif
2064
2065 %files mbstring
2066 %defattr(644,root,root,755)
2067 %attr(755,root,root) %{extensionsdir}/mbstring.so
2068
2069 %files mcal
2070 %defattr(644,root,root,755)
2071 %attr(755,root,root) %{extensionsdir}/mcal.so
2072
2073 %files mcrypt
2074 %defattr(644,root,root,755)
2075 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2076
2077 %files mhash
2078 %defattr(644,root,root,755)
2079 %attr(755,root,root) %{extensionsdir}/mhash.so
2080
2081 %files ming
2082 %defattr(644,root,root,755)
2083 %attr(755,root,root) %{extensionsdir}/ming.so
2084
2085 %files mnogosearch
2086 %defattr(644,root,root,755)
2087 %attr(755,root,root) %{extensionsdir}/mnogosearch.so
2088
2089 %if %{?_without_msession:0}%{!?_without_msession:1}
2090 %files msession
2091 %defattr(644,root,root,755)
2092 %attr(755,root,root) %{extensionsdir}/msession.so
2093 %endif
2094
2095 %files mysql
2096 %defattr(644,root,root,755)
2097 %attr(755,root,root) %{extensionsdir}/mysql.so
2098
2099 %if %{?_with_oci8:1}%{!?_with_oci8:0}
2100 %files oci8
2101 %defattr(644,root,root,755)
2102 %attr(755,root,root) %{extensionsdir}/oci8.so
2103 %endif
2104
2105 %if %{?_without_odbc:0}%{!?_without_odbc:1}
2106 %files odbc
2107 %defattr(644,root,root,755)
2108 %attr(755,root,root) %{extensionsdir}/odbc.so
2109 %endif
2110
2111 %if %{?_without_openssl:0}%{!?_without_odbc:1}
2112 %files openssl
2113 %defattr(644,root,root,755)
2114 %attr(755,root,root) %{extensionsdir}/openssl.so
2115 %endif
2116
2117 %if %{?_with_oracle:1}%{!?_with_oracle:0}
2118 %files oracle
2119 %defattr(644,root,root,755)
2120 %attr(755,root,root) %{extensionsdir}/oracle.so
2121 %endif
2122
2123 %files overload
2124 %defattr(644,root,root,755)
2125 %attr(755,root,root) %{extensionsdir}/overload.so
2126
2127 # disabled in 4.2.0 - it segfaults
2128 #%files pcntl
2129 #%defattr(644,root,root,755)
2130 #%attr(755,root,root) %{extensionsdir}/pcntl.so
2131
2132 %files pcre
2133 %defattr(644,root,root,755)
2134 %attr(755,root,root) %{extensionsdir}/pcre.so
2135
2136 %files pear
2137 %defattr(644,root,root,755)
2138 %dir %{php_pear_dir}
2139 %dir %{php_pear_dir}/Archive
2140 %dir %{php_pear_dir}/Console
2141 %dir %{php_pear_dir}/Crypt
2142 %dir %{php_pear_dir}/Date
2143 %dir %{php_pear_dir}/DB
2144 %dir %{php_pear_dir}/File
2145 %dir %{php_pear_dir}/HTML
2146 %dir %{php_pear_dir}/HTTP
2147 %dir %{php_pear_dir}/Image
2148 %dir %{php_pear_dir}/Mail
2149 %dir %{php_pear_dir}/Net
2150 %dir %{php_pear_dir}/PEAR
2151 %dir %{php_pear_dir}/Schedule
2152 %dir %{php_pear_dir}/XML
2153
2154 %files pear-additional_classes
2155 %defattr(644,root,root,755)
2156 %doc pear/HTML/IT*.php
2157 %attr(644,root,root) %{php_pear_dir}/Crypt/HCEMD5.php
2158 %attr(644,root,root) %{php_pear_dir}/Date/Calc.php
2159 %attr(644,root,root) %{php_pear_dir}/Date/Human.php
2160 %attr(644,root,root) %{php_pear_dir}/HTML/Form.php
2161 %attr(644,root,root) %{php_pear_dir}/HTML/Page.php
2162 %attr(644,root,root) %{php_pear_dir}/HTML/Processor.php
2163 %attr(644,root,root) %{php_pear_dir}/HTML/Select.php
2164 %attr(644,root,root) %{php_pear_dir}/HTTP/Compress.php
2165 %attr(644,root,root) %{php_pear_dir}/Net/SMTP.php
2166 %attr(644,root,root) %{php_pear_dir}/Schedule/At.php
2167
2168 %files pear-devel
2169 %defattr(644,root,root,755)
2170 %attr(755,root,root) %{_bindir}/pear
2171 %attr(755,root,root) %{_bindir}/pearize
2172 %attr(755,root,root) %{_bindir}/phptar
2173
2174 %files pdf
2175 %defattr(644,root,root,755)
2176 %attr(755,root,root) %{extensionsdir}/pdf.so
2177
2178 %files pgsql
2179 %defattr(644,root,root,755)
2180 %attr(755,root,root) %{extensionsdir}/pgsql.so
2181
2182 %files posix
2183 %defattr(644,root,root,755)
2184 %attr(755,root,root) %{extensionsdir}/posix.so
2185
2186 %files pspell
2187 %defattr(644,root,root,755)
2188 %attr(755,root,root) %{extensionsdir}/pspell.so
2189
2190 %if %{?_without_recode:0}%{!?_without_recode:1}
2191 %files recode
2192 %defattr(644,root,root,755)
2193 %attr(755,root,root) %{extensionsdir}/recode.so
2194 %endif
2195
2196 # session_mm doesn't work with shared session
2197 #%files session
2198 #%defattr(644,root,root,755)
2199 #%attr(755,root,root) %{extensionsdir}/session.so
2200
2201 %files shmop
2202 %defattr(644,root,root,755)
2203 %attr(755,root,root) %{extensionsdir}/shmop.so
2204
2205 %if %{?_without_snmp:0}%{!?_without_snmp:1}
2206 %files snmp
2207 %defattr(644,root,root,755)
2208 %attr(755,root,root) %{extensionsdir}/snmp.so
2209 %endif
2210
2211 %files sockets
2212 %defattr(644,root,root,755)
2213 %attr(755,root,root) %{extensionsdir}/sockets.so
2214
2215 %if %{?_with_sybase_ct:1}%{!?_with_sybase_ct:0}
2216 %files sybase-ct
2217 %defattr(644,root,root,755)
2218 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2219 %endif
2220
2221 %files sysvsem
2222 %defattr(644,root,root,755)
2223 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2224
2225 %files sysvshm
2226 %defattr(644,root,root,755)
2227 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2228
2229 %if %{?_without_wddx:0}%{!?_without_wddx:1}
2230 %files wddx
2231 %defattr(644,root,root,755)
2232 %attr(755,root,root) %{extensionsdir}/wddx.so
2233 %endif
2234
2235 %files xml
2236 %defattr(644,root,root,755)
2237 %attr(755,root,root) %{extensionsdir}/xml.so
2238
2239 %files xmlrpc
2240 %defattr(644,root,root,755)
2241 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
2242
2243 %if %{?_without_xslt:0}%{!?_without_xslt:1}
2244 %files xslt
2245 %defattr(644,root,root,755)
2246 %attr(755,root,root) %{extensionsdir}/xslt.so
2247 %endif
2248
2249 %files yaz
2250 %defattr(644,root,root,755)
2251 %attr(755,root,root) %{extensionsdir}/yaz.so
2252
2253 %files yp
2254 %defattr(644,root,root,755)
2255 %attr(755,root,root) %{extensionsdir}/yp.so
2256
2257 %files zip
2258 %defattr(644,root,root,755)
2259 %attr(755,root,root) %{extensionsdir}/zip.so
2260
2261 %files zlib
2262 %defattr(644,root,root,755)
2263 %attr(755,root,root) %{extensionsdir}/zlib.so
This page took 0.206167 seconds and 4 git commands to generate.