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