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