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