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