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