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