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