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