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