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