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