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