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