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