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