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