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