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