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