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