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