]> git.pld-linux.org Git - packages/php.git/blob - php.spec
da3c11074d76c2a7fcd50bf3404afa5500544a65
[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_interbase       - with InterBase extension module       (BR: proprietary libs)
19 # _with_java            - with Java extension module            (BR: jdk)
20 # _with_oci8            - with Oracle oci8 extension module     (BR: proprietary libs)
21 # _with_oracle          - with oracle extension module          (BR: proprietary libs)
22 # _with_pcntl           - with pcntl extension module           (problems: SEGV on exit)
23 # _without_cpdf         - without cpdf extension module
24 # _without_curl         - without CURL extension module
25 # _without_domxslt      - without DOM XSLT/EXSLT support in DOM XML extension module
26 # _without_gif          - build GD extension module with gd library without GIF support
27 # _without_imap         - without IMAP extension module
28 # _without_ldap         - without LDAP extension module
29 # _without_mhash        - without mhash extension module
30 # _without_ming         - without ming extension module
31 # _without_mm           - without mm support for session storage
32 # _without_mnogosearch  - without mnogosearch extension module
33 # _without_msession     - without msession extension module
34 # _without_odbc         - without ODBC extension module
35 # _without_openssl      - without OpenSSL support and OpenSSL extension module
36 # _without_pcre         - without PCRE extension module
37 # _without_pdf          - without PDF extension module
38 # _without_pspell       - without pspell extension module
39 # _without_pgsql        - without PostgreSQL extension module
40 # _without_snmp         - without SNMP extension module
41 # _without_recode       - without recode extension module
42 # _without_sybase_ct    - without Sybase-CT extension module
43 # _without_wddx         - without WDDX extension module
44 # _without_xml          - without XML extension module
45 # _without_xmlrpc       - without XML-RPC extension module
46 # _without_xslt         - without XSLT extension module
47
48 Summary:        The PHP HTML-embedded scripting language for use with Apache
49 Summary(fr):    Le langage de script embarque-HTML PHP pour Apache
50 Summary(pl):    Jêzyk skryptowy PHP -- u¿ywany wraz z serwerem Apache
51 Summary(pt_BR): A linguagem de script PHP
52 Summary(ru):    PHP ÷ÅÒÓÉÉ 4 -- ÑÚÙË ÐÒÅÐÒÏÃÅÓÓÉÒÏ×ÁÎÉÑ HTML-ÆÁÊÌÏ×, ×ÙÐÏÌÎÑÅÍÙÊ ÎÁ ÓÅÒ×ÅÒÅ
53 Summary(uk):    PHP ÷ÅÒÓ¦§ 4 -- ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
54 Name:           php
55 Version:        4.2.3
56 Release:        10
57 Epoch:          3
58 Group:          Libraries
59 License:        PHP
60 Source0:        http://static.php.net/www.php.net/distributions/%{name}-%{version}.tar.bz2
61 # Source0-md5:  a0c7531f3d53a7736742c780f72a0f41
62 Source1:        FAQ.%{name}
63 Source2:        zend.gif
64 Source3:        http://www.php.net/distributions/manual/%{name}_manual_en.tar.bz2
65 # Source3-md5:  d89cb5124f95d2c30fb0d0e2dfe5de4e
66 Source4:        %{name}-module-install
67 Source5:        %{name}-mod_php.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}-php_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}-wrap.patch
95 Icon:           php4.gif
96 URL:            http://www.php.net/
97 BuildRequires:  apache-devel
98 BuildRequires:  autoconf >= 2.53
99 BuildRequires:  automake >= 1.4d
100 BuildRequires:  bison
101 BuildRequires:  bzip2-devel
102 BuildRequires:  cracklib-devel >= 2.7-15
103 %{!?_without_curl:BuildRequires:        curl-devel}
104 BuildRequires:  cyrus-sasl-devel
105 BuildRequires:  db3-devel >= 3.1.17
106 %if %(expr %{?_without_xml:0}%{!?_without_xml:1} + %{?_without_xmlrpc:0}%{!?_without_xmlrpc:1})
107 BuildRequires:  expat-devel
108 %endif
109 BuildRequires:  flex
110 %{!?_without_sybase_ct:BuildRequires:   freetds-devel}
111 BuildRequires:  freetype-devel >= 2.0
112 BuildRequires:  gd-devel >= 2.0.1
113 %{!?_without_gif:BuildRequires: gd-devel(gif)}
114 %{?_without_gif:BuildConflicts: gd-devel(gif)}
115 BuildRequires:  gdbm-devel
116 BuildRequires:  gmp-devel
117 %{!?_without_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2 }
118 %{?_with_java:BuildRequires:    jdk >= 1.1}
119 %{!?_without_cpdf:BuildRequires:        libcpdf-devel >= 2.02r1-2}
120 BuildRequires:  libjpeg-devel
121 BuildRequires:  libltdl-devel >= 1.4
122 BuildRequires:  libmcal-devel
123 BuildRequires:  libmcrypt-devel >= 2.4.4
124 BuildRequires:  libpng >= 1.0.8
125 BuildRequires:  libtiff-devel
126 BuildRequires:  libtool >= 0:1.4.2-9
127 %{!?_without_xml:BuildRequires: libxml2-devel >= 2.2.7}
128 %{!?_without_domxslt:BuildRequires:     libxslt-devel >= 1.0.3}
129 %{!?_without_mhash:BuildRequires:       mhash-devel}
130 %{!?_without_ming:BuildRequires:        ming-devel >= 0.1.0}
131 %{!?_without_mm:BuildRequires:  mm-devel >= 1.1.3}
132 %{!?_without_mnogosearch:BuildRequires: mnogosearch-devel >= 3.2.6}
133 BuildRequires:  mysql-devel >= 3.23.32
134 %{!?_without_ldap:BuildRequires: openldap-devel >= 2.0}
135 %if %(expr %{?_without_openssl:0}%{!?_without_openssl:1} + %{?_without_ldap:0}%{!?_without_ldap:1})
136 BuildRequires:  openssl-devel >= 0.9.6a
137 %endif
138 BuildRequires:  pam-devel
139 %{!?_without_pdf:BuildRequires: pdflib-devel >= 4.0.0}
140 BuildRequires:  perl
141 %{!?_without_msession:BuildRequires:    phoenix-devel}
142 %{!?_without_pgsql:BuildRequires:       postgresql-devel}
143 %{!?_without_pgsql:BuildRequires:       postgresql-backend-devel >= 7.2}
144 %{!?_without_pspell:BuildRequires:      pspell-devel}
145 %{!?_without_recode:BuildRequires:      recode-devel >= 3.5d-3}
146 BuildRequires:  rpm-php-pearprov >= 4.0.2-100
147 %{!?_without_xslt:BuildRequires:        sablotron-devel}
148 BuildRequires:  t1lib-devel
149 %{!?_without_snmp:BuildRequires: ucd-snmp-devel >= 4.2.6}
150 %{!?_without_odbc:BuildRequires: unixODBC-devel}
151 %{!?_without_xmlrpc:BuildRequires:      xmlrpc-epi-devel}
152 BuildRequires:  yaz-devel
153 BuildRequires:  zip
154 BuildRequires:  zlib-devel >= 1.0.9
155 BuildRequires:  zziplib-devel
156 #BuildRequires: fastcgi-devkit
157 # apache 1.3 vs apache 2.0
158 %if %{_apache2}
159 PreReq:         apache >= 2.0.40
160 %requires_eq    apache
161 %else
162 PreReq:         apache(EAPI) < 2.0.0
163 PreReq:         apache(EAPI) >= 1.3.9
164 %endif
165 PreReq:         perl
166 PreReq:         /usr/sbin/apxs
167 PreReq:         %{name}-common = %{version}
168 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
169 Obsoletes:      phpfi
170 Obsoletes:      apache-mod_php
171
172 %define         _sysconfdir     /etc/php
173 %define         extensionsdir   %{_libdir}/php
174
175 %description
176 PHP is an HTML-embedded scripting language. PHP attempts to make it
177 easy for developers to write dynamically generated web pages. PHP also
178 offers built-in database integration for several commercial and
179 non-commercial database management systems, so writing a
180 database-enabled web page with PHP is fairly simple. The most common
181 use of PHP coding is probably as a replacement for CGI scripts. The
182 mod_php module enables the Apache web server to understand and process
183 the embedded PHP language in web pages. This package contains PHP
184 version %{version}. If you use applications which specifically rely on
185 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
186 module contained in the phpfi package. If you're just starting with
187 PHP, you should install this package. You'll also need to install the
188 Apache web server.
189
190 %description -l fr
191 PHP est un langage de script embarque dans le HTM. PHP essaye de
192 rendre simple aux developpeurs d'ecrire des pages web generees
193 dynamiquement. PHP incorpore egalement une integration avec plusieurs
194 systemes de gestion de bases de donnees commerciaux et
195 non-connerciaux, qui rent facile la creation de pages web liees avec
196 des bases de donnees. L'utilisation la plus commune de PHP est
197 probablement en remplacement de scripts CGI. Le module mod_php permet
198 au serveur web apache de comprendre et de traiter le langage PHP
199 integre dans des pages web. Ce package contient PHP version
200 %{version}. Si vous utilisez des applications qui utilisent
201 specifiquement PHP/FI, vous devrez installer le module PHP/FI inclus
202 dans le package mod_php. Si vous debutez avec PHP, vous devriez
203 installer ce package. Vous aurez egalement besoin dinstaller le
204 serveur web Apache.
205
206 %description -l pl
207 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
208 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
209 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
210 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
211 zosta³a z jêzyków: C, Java i Perl.
212
213 %description -l pt_BR
214 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
215 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
216 com algumas características únicas, específicas ao PHP. O objetivo da
217 linguagem é permitir que desenvolvedores web escrevam páginas
218 dinamicamente geradas de forma rápida.
219
220 %description -l ru
221 PHP4 - ÜÔÏ ÑÚÙË ÎÁÐÉÓÁÎÉÑ ÓËÒÉÐÔÏ×, ×ÓÔÒÁÉ×ÁÅÍÙÈ × HTML-ËÏÄ. PHP
222 ÐÒÅÄÌÁÇÁÅÔ ÉÎÔÅÒÇÒÁÃÉÀ Ó ÍÎÏÖÅÓÔ×ÏÍ óõâä, ÐÏÜÔÏÍÕ ÎÁÐÉÓÁÎÉÅ ÓËÒÉÐÔÏ×
223 ÄÌÑ ÒÁÂÏÔÙ Ó ÂÁÚÁÍÉ ÄÁÎÎÙÈ ÏÔÎÏÓÉÔÅÌØÎÏ ÐÒÏÓÔÏ. îÁÉÂÏÌÅÅ ÐÏÐÕÌÑÒÎÏÅ
224 ÉÓÐÏÌØÚÏ×ÁÎÉÅ PHP - ÚÁÍÅÎÁ ÄÌÑ CGI ÓËÒÉÐÔÏ×.
225
226 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÁÍÏÄÏÓÔÁÔÏÞÎÕÀ (CGI) ×ÅÒÓÉÀ ÉÎÔÅÒÐÒÅÔÁÔÏÒÁ ÑÚÙËÁ.
227 ÷Ù ÄÏÌÖÎÙ ÔÁËÖÅ ÕÓÔÁÎÏ×ÉÔØ ÐÁËÅÔ %{name}-common. åÓÌÉ ×ÁÍ ÎÕÖÅÎ
228 ÉÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache, ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ
229 apache-php.
230
231 %description -l uk
232 PHP4 - ÃÅ ÍÏ×Á ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦×, ÝÏ ×ÂÕÄÏ×ÕÀÔØÓÑ × HTML-ËÏÄ. PHP
233 ÐÒÏÐÏÎÕ¤ ¦ÎÔÅÇÒÁæÀ Ú ÂÁÇÁÔØÍÁ óõâä, ÔÏÍÕ ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐԦנÄÌÑ
234 ÒÏÂÏÔÉ Ú ÂÁÚÁÍÉ ÄÁÎÉÈ ¤ ÄÏ×Ï̦ ÐÒÏÓÔÉÍ. îÁʦÌØÛ ÐÏÐÕÌÑÒÎÅ
235 ×ÉËÏÒÉÓÔÁÎÎÑ PHP - ÚÁͦÎÁ ÄÌÑ CGI ÓËÒÉÐÔ¦×.
236
237 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓÁÍÏÄÏÓÔÁÔÎÀ (CGI) ×ÅÒÓ¦À ¦ÎÔÅÒÐÒÅÔÁÔÏÒÁ ÍÏ×É. ÷É
238 ÍÁ¤ÔÅ ÔÁËÏÖ ×ÓÔÁÎÏ×ÉÔÉ ÐÁËÅÔ %{name}-common. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÅÎ
239 ¦ÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache, ×ÓÔÁÎÏצÔØ ÐÁËÅÔ apache-php.
240
241 %package cgi
242 Summary:        PHP as CGI program
243 Summary(pl):    PHP jako program CGI
244 Group:          Libraries
245 PreReq:         %{name}-common = %{version}
246
247 %description cgi
248 PHP as CGI program.
249
250 %description cgi -l pl
251 PHP jako program CGI.
252
253 %package common
254 Summary:        Common files nneded by both apache module and CGI
255 Summary(pl):    Wspólne pliki dla modu³u apacha i programu CGI
256 Summary(ru):    òÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ php
257 Summary(uk):    â¦Â̦ÏÔÅËÉ ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÄÌÑ php
258 Group:          Libraries
259 Provides:       %{name}-session = %{version}
260 Obsoletes:      %{name}-session <= %{epoch}:%{version}-%{release}
261
262 %description common
263 Common files needed by both apache module and CGI.
264
265 %description common -l pl
266 Wspólne pliki dla modu³u apacha i programu CGI.
267
268 %description common -l ru
269 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÏÂÝÉÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÎÙÈ ×ÁÒÉÁÎÔÏ× ÒÅÁÌÉÚÁÃÉÉ PHP
270 (ÓÁÍÏÄÏÓÔÁÔÏÞÎÏÊ É × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache).
271
272 %description common -l uk
273 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓЦÌØΦ ÆÁÊÌÉ ÄÌÑ Ò¦ÚÎÉÈ ×ÁÒ¦ÁÎԦנÒÅÁ̦ÚÁ槠PHP
274 (ÓÁÍÏÄÏÓÔÁÔÎØϧ ÔÁ × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache).
275
276 %package devel
277 Summary:        Files for PHP modules development
278 Summary(pl):    Pliki do kompilacji modu³ów PHP
279 Summary(pt_BR): Arquivos de desenvolvimento para PHP
280 Summary(ru):    ðÁËÅÔ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÏÓÔÒÏÅÎÉÑ ÒÁÓÛÉÒÅÎÉÊ PHP4
281 Summary(uk):    ðÁËÅÔ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÏÂÕÄÏ×É ÒÏÚÛÉÒÅÎØ PHP4
282 Group:          Development/Languages/PHP
283 Requires:       %{name}-common = %{version}
284
285 %description devel
286 The php-devel package lets you compile dynamic extensions to PHP.
287 Included here is the source for the php extensions. Instead of
288 recompiling the whole php binary to add support for, say, oracle,
289 install this package and use the new self-contained extensions
290 support. For more information, read the file
291 SELF-CONTAINED-EXTENSIONS.
292
293 %description devel -l pl
294 Pliki potrzebne do kompilacji modu³ów PHP.
295
296 %description devel -l pt_BR
297 Este pacote contém arquivos usados no desenvolvimento de programas ou
298 módulos PHP.
299
300 %description devel -l uk
301 ðÁËÅÔ php-devel ÄÁ¤ ÍÏÖÌÉצÓÔØ ËÏÍЦÌÀ×ÁÔÉ ÄÉÎÁͦÞΦ ÒÏÚÛÉÒÅÎÎÑ PHP.
302 äÏ ÐÁËÅÔÕ ×ËÌÀÞÅÎÏ ×ÉȦÄÎÉÊ ËÏÄ ÄÌÑ ÒÏÚÛÉÒÅÎØ. úÁͦÓÔØ ÐÏ×ÔÏÒÎϧ
303 ËÏÍЦÌÑ槠¦ÎÁÒÎÏÇÏ ÆÁÊÌÕ php ÄÌÑ ÄÏÄÁÎÎÑ, ÎÁÐÒÉËÌÁÄ, Ð¦ÄÔÒÉÍËÉ
304 oracle, ×ÓÔÁÎÏצÔØ ÃÅÊ ÐÁËÅÔ ÄÌÑ ËÏÍЦÌÑ槠ÏËÒÅÍÉÈ ÒÏÚÛÉÒÅÎØ.
305 äÅÔÁÌØΦÛÁ ¦ÎÆÏÒÍÁæѠ- × ÆÁÊ̦ SELF-CONTAINED-EXTENSIONS.
306
307 %description devel -l ru
308 ðÁËÅÔ php-devel ÄÁÅÔ ×ÏÚÍÏÖÎÏÓÔØ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÄÉÎÁÍÉÞÅÓËÉÅ ÒÁÓÛÉÒÅÎÉÑ
309 PHP. ðÁËÅÔ ×ËÌÀÞÁÅÔ ÉÓÈÏÄÎÙÊ ËÏÄ ÜÔÉÈ ÒÁÓÛÉÒÅÎÉÊ. ÷ÍÅÓÔÏ ÐÏ×ÔÏÒÎÏÊ
310 ËÏÍÐÉÌÑÃÉÉ ÂÉÎÁÒÎÏÇÏ ÆÁÊÌÁ php ÄÌÑ ÄÏÂÁ×ÌÅÎÉÑ, ÎÁÐÒÉÍÅÒ, ÐÏÄÄÅÒÖËÉ
311 oracle, ÕÓÔÁÎÏ×ÉÔÅ ÜÔÏÔ ÐÁËÅÔ ÄÌÑ ËÏÍÐÉÌÉÒÏ×ÁÎÉÑ ÏÔÄÅÌØÎÙÈ ÒÁÓÛÉÒÅÎÉÊ.
312 ðÏÄÒÏÂÎÏÓÔÉ - × ÆÁÊÌÅ SELF-CONTAINED-EXTENSIONS.
313
314 %package doc
315 Summary:        Online manual for PHP
316 Summary(pl):    Dokumentacja dla PHP
317 Summary(pt_BR): Manual da linguagem PHP, em formato HTML
318 Group:          Networking/Daemons
319 Obsoletes:      php-manual
320
321 %description doc
322 Comprehensive documentation for PHP, viewable through your web server,
323 too!
324
325 %description doc -l pl
326 Dokumentacja dla pakietu PHP. Mo¿na j± równie¿ ogl±daæ poprzez serwer
327 WWW.
328
329 %description doc -l pt_BR
330 Manual da linguagem PHP, em formato HTML.
331
332 %package bcmath
333 Summary:        bcmath extension module for PHP
334 Summary(pl):    Modu³ bcmath dla PHP
335 Group:          Libraries
336 Requires(post,preun):   %{name}-common = %{version}
337 Requires:               %{name}-common = %{version}
338
339 %description bcmath
340 This is a dynamic shared object (DSO) for Apache that will add bc
341 style precision math functions support to PHP.
342
343 %description bcmath -l pl
344 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
345 matematycznych takich jak w programie bc.
346
347 %package bzip2
348 Summary:        Bzip2 extension module for PHP
349 Summary(pl):    Modu³ bzip2 dla PHP
350 Group:          Libraries
351 Requires(post,preun):   %{name}-common = %{version}
352 Requires:               %{name}-common = %{version}
353
354 %description bzip2
355 This is a dynamic shared object (DSO) for Apache that will add
356 compression (bzip2) support to PHP.
357
358 %description bzip2 -l pl
359 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji (poprzez bibliotekê bzip2).
360
361 %package calendar
362 Summary:        Calendar extension module for PHP
363 Summary(pl):    Modu³ funkcji kalendarza dla PHP
364 Group:          Libraries
365 Requires(post,preun):   %{name}-common = %{version}
366 Requires:               %{name}-common = %{version}
367
368 %description calendar
369 This is a dynamic shared object (DSO) for Apache that will add
370 calendar support to PHP.
371
372 %description calendar -l pl
373 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
374 wsparcie dla kalendarza.
375
376 %package cpdf
377 Summary:        cpdf extension module for PHP
378 Summary(pl):    Modu³ cpdf dla PHP
379 Group:          Libraries
380 Requires(post,preun):   %{name}-common = %{version}
381 Requires:               %{name}-common = %{version}
382
383 %description cpdf
384 This is a dynamic shared object (DSO) for Apache that will add libcpdf
385 support to PHP.
386
387 %description cpdf -l pl
388 Modu³ PHP dodaj±cy obs³ugê biblioteki libcpdf.
389
390 %package crack
391 Summary:        crack extension module for PHP
392 Summary(pl):    Modu³ crack dla PHP
393 Group:          Libraries
394 Requires(post,preun):   %{name}-common = %{version}
395 Requires:               %{name}-common = %{version}
396
397 %description crack
398 This is a dynamic shared object (DSO) for Apache that will add
399 cracklib support to PHP.
400
401 Warning: this is an experimental module.
402
403 %description crack -l pl
404 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki cracklib.
405
406 Uwaga: to jest modu³ eksperymentalny.
407
408 %package ctype
409 Summary:        ctype extension module for PHP
410 Summary(pl):    Modu³ ctype dla PHP
411 Group:          Libraries
412 Requires(post,preun):   %{name}-common = %{version}
413 Requires:               %{name}-common = %{version}
414
415 %description ctype
416 This is a dynamic shared object (DSO) for Apache that will add ctype
417 support to PHP.
418
419 %description ctype -l pl
420 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
421
422 %package curl
423 Summary:        curl extension module for PHP
424 Summary(pl):    Modu³ curl dla PHP
425 Group:          Libraries
426 Requires(post,preun):   %{name}-common = %{version}
427 Requires:               %{name}-common = %{version}
428
429 %description curl
430 This is a dynamic shared object (DSO) for Apache that will add curl
431 support to PHP.
432
433 %description curl -l pl
434 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
435
436 %package dba
437 Summary:        DBA extension module for PHP
438 Summary(pl):    Modu³ DBA dla PHP
439 Group:          Libraries
440 Requires(post,preun):   %{name}-common = %{version}
441 Requires:               %{name}-common = %{version}
442
443 %description dba
444 This is a dynamic shared object (DSO) for Apache that will add
445 flat-file databases (DBA) support to PHP.
446
447 %description dba -l pl
448 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
449 wsparcie dla baz danych opartych na plikach (DBA).
450
451 %package dbase
452 Summary:        DBase extension module for PHP
453 Summary(pl):    Modu³ DBase dla PHP
454 Group:          Libraries
455 Requires(post,preun):   %{name}-common = %{version}
456 Requires:               %{name}-common = %{version}
457
458 %description dbase
459 This is a dynamic shared object (DSO) for Apache that will add DBase
460 support to PHP.
461
462 %description dbase -l pl
463 Modu³ PHP ze wsparciem dla DBase.
464
465 %package dbx
466 Summary:        DBX extension module for PHP
467 Summary(pl):    Modu³ DBX dla PHP
468 Group:          Libraries
469 Requires(post,preun):   %{name}-common = %{version}
470 Requires:               %{name}-common = %{version}
471
472 %description dbx
473 This is a dynamic shared object (DSO) for Apache that will add DB
474 abstraction layer to PHP. DBX supports odbc, mysql, pgsql, mssql,
475 fbsql and more.
476
477 %description dbx -l pl
478 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
479 warstwê abstrakcji do obs³ugi baz danych. DBX obs³uguje bazy odbc,
480 mysql, pgsql, mssql, fbsql i inne.
481
482 %package dio
483 Summary:        Direct I/O extension module for PHP
484 Summary(pl):    Modu³ Direct I/O dla PHP
485 Group:          Libraries
486 Requires(post,preun):   %{name}-common = %{version}
487 Requires:               %{name}-common = %{version}
488
489 %description dio
490 This is a dynamic shared object (DSO) for Apache that will add direct
491 file I/O support to PHP.
492
493 Warning: this is an experimental module.
494
495 %description dio -l pl
496 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
497 obs³ugê bezpo¶rednich operacji I/O na plikach.
498
499 Uwaga: to jest modu³ eksperymentalny.
500
501 %package domxml
502 Summary:        DOM XML extension module for PHP
503 Summary(pl):    Modu³ DOM XML dla PHP
504 Group:          Libraries
505 Requires(post,preun):   %{name}-common = %{version}
506 Requires:               %{name}-common = %{version}
507
508 %description domxml
509 This is a dynamic shared object (DSO) for Apache that will add DOM XML
510 support to PHP.
511
512 Warning: this is an experimental module.
513
514 %description domxml -l pl
515 Modu³ PHP dodaj±cy obs³ugê DOM XML.
516
517 Uwaga: to jest modu³ eksperymentalny.
518
519 %package exif
520 Summary:        exif extension module for PHP
521 Summary(pl):    Modu³ exif dla PHP
522 Group:          Libraries
523 Requires(post,preun):   %{name}-common = %{version}
524 Requires:               %{name}-common = %{version}
525
526 %description exif
527 This is a dynamic shared object (DSO) for Apache that will add exif
528 support to PHP.
529
530 %description exif -l pl
531 Modu³ PHP dodaj±cy obs³ugê plików EXIF.
532
533 %package filepro
534 Summary:        filePro extension module for PHP
535 Summary(pl):    Modu³ filePro dla PHP
536 Group:          Libraries
537 Requires(post,preun):   %{name}-common = %{version}
538 Requires:               %{name}-common = %{version}
539
540 %description filepro
541 This is a dynamic shared object (DSO) for Apache that will add PHP
542 support for read-only access to filePro databases.
543
544 %description filepro -l pl
545 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
546 mo¿liwo¶æ dostêpu (tylko do odczytu) do baz danych filePro.
547
548 %package ftp
549 Summary:        FTP extension module for PHP
550 Summary(pl):    Modu³ FTP dla PHP
551 Group:          Libraries
552 Requires(post,preun):   %{name}-common = %{version}
553 Requires:               %{name}-common = %{version}
554
555 %description ftp
556 This is a dynamic shared object (DSO) for Apache that will add FTP
557 support to PHP.
558
559 %description ftp -l pl
560 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
561
562 %package gd
563 Summary:        GD extension module for PHP
564 Summary:        Modu³ GD dla PHP
565 Group:          Libraries
566 Requires(post,preun):   %{name}-common = %{version}
567 Requires:               %{name}-common = %{version}
568 %{!?_without_gif:Requires:      gd(gif)}
569 %{!?_without_gif:Provides:      %{name}-gd(gif) = %{epoch}:%{version}-%{release}}
570
571 %description gd
572 This is a dynamic shared object (DSO) for Apache that will add GD
573 support to PHP. You should install this package in addition to the
574 main %{name} package if you want to create and manipulate images with
575 PHP.
576
577 %description gd -l pl
578 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD - do obróbki
579 obrazków z poziomu PHP.
580
581 %package gettext
582 Summary:        gettext extension module for PHP
583 Summary(pl):    Modu³ gettext dla PHP
584 Group:          Libraries
585 Requires(post,preun):   %{name}-common = %{version}
586 Requires:               %{name}-common = %{version}
587
588 %description gettext
589 This is a dynamic shared object (DSO) for Apache that will add gettext
590 support to PHP.
591
592 %description gettext -l pl
593 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
594
595 %package gmp
596 Summary:        gmp extension module for PHP
597 Summary(pl):    Modu³ gmp dla PHP
598 Group:          Libraries
599 Requires(post,preun):   %{name}-common = %{version}
600 Requires:               %{name}-common = %{version}
601
602 %description gmp
603 This is a dynamic shared object (DSO) for Apache that will add
604 arbitrary length number support with GNU MP library to PHP.
605
606 %description gmp -l pl
607 Modu³ PHP umorzliwiaj±cy korzystanie z biblioteki gmp.
608
609 %package hyperwave
610 Summary:        Hyperwave extension module for PHP
611 Summary(pl):    Modu³ Hyperwave dla PHP
612 Group:          Libraries
613 Requires(post,preun):   %{name}-common = %{version}
614 Requires:               %{name}-common = %{version}
615
616 %description hyperwave
617 This is a dynamic shared object (DSO) for Apache that will add
618 Hyperwave support to PHP.
619
620 %description hyperwave -l pl
621 Modu³ PHP dodaj±cy obs³ugê Hyperwave.
622
623 %package iconv
624 Summary:        iconv extension module for PHP
625 Summary(pl):    Modu³ iconv dla PHP
626 Group:          Libraries
627 Requires(post,preun):   %{name}-common = %{version}
628 Requires:               %{name}-common = %{version}
629
630 %description iconv
631 This is a dynamic shared object (DSO) for Apache that will add iconv
632 support to PHP.
633
634 %description iconv -l pl
635 Modu³ PHP dodaj±cy obs³ugê iconv.
636
637 %package imap
638 Summary:        IMAP extension module for PHP
639 Summary(pl):    Modu³ IMAP dla PHP
640 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
641 Group:          Libraries
642 Requires(post,preun):   %{name}-common = %{version}
643 Requires:               %{name}-common = %{version}
644
645 %description imap
646 This is a dynamic shared object (DSO) for Apache that will add IMAP
647 support to PHP.
648
649 %description imap -l pl
650 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
651
652 %description imap -l pt_BR
653 Um módulo para aplicações PHP que usam IMAP.
654
655 %package interbase
656 Summary:        Interbase database module for PHP
657 Summary(pl):    Modu³ bazy danych Interbase dla PHP
658 Group:          Libraries
659 Requires(post,preun):   %{name}-common = %{version}
660 Requires:               %{name}-common = %{version}
661 Autoreq:        false
662
663 %description interbase
664 This is a dynamic shared object (DSO) for Apache that will add
665 InterBase database support to PHP. If you need back-end support for
666 InterBase, you should install this package in addition to the main
667 %{name} package.
668
669 %description interbase -l pl
670 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych InterBase.
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%{_prefix}/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=%{_prefix}` \
1363 %if %{_apache2}
1364         `[ $i = apxs ] && echo --with-apxs2=%{_sbindir}/apxs` \
1365 %else
1366         `[ $i = apxs ] && echo --with-apxs=%{_sbindir}/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         --without-db2 \
1405         --with-db3 \
1406         --with-dbase=shared \
1407         --with-dom=shared \
1408         %{!?_without_domxslt:--with-dom-xslt=shared --with-dom-exslt=shared} \
1409 %if %(expr %{?_without_xml:0}%{!?_without_xml:1} + %{?_without_xmlrpc:0}%{!?_without_xmlrpc:1})
1410         --with-expat-dir=shared,/usr \
1411 %else
1412         --without-expat-dir \
1413 %endif
1414         --with-iconv=shared \
1415         --with-filepro=shared \
1416         --with-freetype-dir=shared \
1417         --with-gettext=shared \
1418         --with-gd=shared \
1419         --with-gdbm \
1420         --with-gmp=shared \
1421         --with-hyperwave=shared \
1422         %{!?_without_imap:--with-imap=shared --with-imap-ssl} \
1423         %{?_with_interbase:--with-interbase=shared} \
1424         %{?_with_java:--with-java=/usr/lib/java} \
1425         --with-jpeg-dir=shared,/usr \
1426         %{!?_without_ldap:--with-ldap=shared} \
1427         --with-mcal=shared,/usr \
1428         --with-mcrypt=shared \
1429         %{!?_without_mhash:--with-mhash=shared} \
1430         %{!?_without_ming:--with-ming=shared} \
1431         %{!?_without_mm:--with-mm} \
1432         %{?_without_mnogosearch:--without-mnogosearch}%{!?_without_mnogosearch:--with-mnogosearch=shared,/usr} \
1433         %{!?_without_msession:--with-msession=shared}%{?_without_msession:--without-msession} \
1434         --with-mysql=shared,/usr \
1435         --with-mysql-sock=/var/lib/mysql/mysql.sock \
1436         %{?_with_oci8:--with-oci8=shared} \
1437         %{!?_without_openssl:--with-openssl=shared} \
1438         %{?_with_oracle:--with-oracle=shared} \
1439         %{?_without_pcre:--without-pcre-regex}%{!?_without_pcre:--with-pcre-regex=shared} \
1440         %{!?_without_pdf:--with-pdflib=shared} \
1441         --with-pear=%{php_pear_dir} \
1442         %{?_without_pgsql:--without-pgsql}%{!?_without_pgsql:--with-pgsql=shared,/usr} \
1443         --with-png-dir=shared,/usr \
1444         %{!?_without_pspell:--with-pspell=shared} \
1445         %{!?_without_recode:--with-recode=shared} \
1446         --with-regex=php \
1447         --with-sablot-js=shared,no \
1448         %{!?_without_snmp:--with-snmp=shared} \
1449         %{!?_without_sybase_ct:--with-sybase-ct=shared,/usr} \
1450         --with-t1lib=shared \
1451         --with-tiff-dir=shared,/usr \
1452         %{!?_without_odbc:--with-unixODBC=shared} \
1453         %{?_without_xmlrpc:--without-xmlrpc}%{!?_without_xmlrpc:--with-xmlrpc=shared,/usr} \
1454         %{!?_without_xslt:--with-xslt-sablot=shared} \
1455         --with-yaz=shared \
1456         --with-zip=shared \
1457         --with-zlib=shared \
1458         --with-zlib-dir=shared
1459 done
1460
1461 # for now session_mm doesn't work with shared session module...
1462 # --enable-session=shared
1463 # %{?_without_mm:--with-mm=shared,no}%{!?_without_mm:--with-mm=shared}
1464
1465 # TODO:
1466 #       --with-qtdom=shared
1467
1468 %{__make}
1469 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" -C sapi/cgi
1470
1471 # Kill -rpath from php binary and libphp4.so
1472 perl -pi -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
1473 perl -pi -e 's|^runpath_var=.*|runpath_var=|g' libtool
1474 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" php
1475
1476 perl -pi -e 's|^hardcode_into_libs=.*|hardcode_into_libs=no|g' libtool
1477 rm libphp4.la ; %{__make} libphp4.la
1478
1479 %install
1480 rm -rf $RPM_BUILD_ROOT
1481 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache},%{_sysconfdir}/{apache,cgi}} \
1482         $RPM_BUILD_ROOT/home/httpd/icons \
1483         $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1484         $RPM_BUILD_ROOT/var/run/php \
1485         $RPM_BUILD_ROOT/etc/httpd/httpd.conf
1486
1487 %{__make} install \
1488         INSTALL_ROOT=$RPM_BUILD_ROOT \
1489         INSTALL_IT="install libs/libphp4.so $RPM_BUILD_ROOT%{_libdir}/apache/ ; install libs/libphp_common*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}"
1490
1491 %{?_with_java:install ext/java/php_java.jar $RPM_BUILD_ROOT%{_libdir}}
1492
1493 install .libs/php $RPM_BUILD_ROOT%{_bindir}/php
1494
1495 install php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1496 install %{SOURCE6} %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}
1497 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/httpd/icons
1498 install %{SOURCE4} $RPM_BUILD_ROOT%{_sbindir}
1499 install %{SOURCE5} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1500
1501 install %{SOURCE1} .
1502
1503 mv -f Zend/LICENSE{,.Zend}
1504
1505 mkdir $RPM_BUILD_ROOT%{php_pear_dir}/{Auth,Science,HTML/Template}
1506
1507 %clean
1508 rm -rf $RPM_BUILD_ROOT
1509
1510 %post
1511 %if ! %{_apache2}
1512 perl -pi -e 's|^#AddType application/x-httpd-php \.php|AddType application/x-httpd-php .php|' \
1513         /etc/httpd/httpd.conf
1514 %{apxs} -e -a -n php4 %{_pkglibdir}/libphp4.so 1>&2
1515 %endif
1516 if [ -f /var/lock/subsys/httpd ]; then
1517         /etc/rc.d/init.d/httpd restart 1>&2
1518 fi
1519
1520 %if %{_apache2}
1521 %postun
1522 if [ "$1" = "0" ]; then
1523         if [ -f /var/lock/subsys/httpd ]; then
1524                 /etc/rc.d/init.d/httpd restart 1>&2
1525         fi
1526 fi
1527 %else
1528 %preun
1529 if [ "$1" = "0" ]; then
1530         %{apxs} -e -A -n php4 %{_pkglibdir}/libphp4.so 1>&2
1531         perl -pi -e \
1532                 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
1533                 /etc/httpd/httpd.conf
1534         if [ -f /var/lock/subsys/httpd ]; then
1535                 /etc/rc.d/init.d/httpd restart 1>&2
1536         fi
1537 fi
1538 %endif
1539
1540 %post   common -p /sbin/ldconfig
1541 %postun common -p /sbin/ldconfig
1542
1543 %post bcmath
1544 %{_sbindir}/php-module-install install bcmath %{_sysconfdir}/php.ini
1545
1546 %preun bcmath
1547 if [ "$1" = "0" ]; then
1548         %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
1549 fi
1550
1551 %post bzip2
1552 %{_sbindir}/php-module-install install bz2 %{_sysconfdir}/php.ini
1553
1554 %preun bzip2
1555 if [ "$1" = "0" ]; then
1556         %{_sbindir}/php-module-install remove bz2 %{_sysconfdir}/php.ini
1557 fi
1558
1559 %post calendar
1560 %{_sbindir}/php-module-install install calendar %{_sysconfdir}/php.ini
1561
1562 %preun calendar
1563 if [ "$1" = "0" ]; then
1564         %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
1565 fi
1566
1567 %post cpdf
1568 %{_sbindir}/php-module-install install cpdf %{_sysconfdir}/php.ini
1569
1570 %preun cpdf
1571 if [ "$1" = "0" ]; then
1572         %{_sbindir}/php-module-install remove cpdf %{_sysconfdir}/php.ini
1573 fi
1574
1575 %post crack
1576 %{_sbindir}/php-module-install install crack %{_sysconfdir}/php.ini
1577
1578 %preun crack
1579 if [ "$1" = "0" ]; then
1580         %{_sbindir}/php-module-install remove crack %{_sysconfdir}/php.ini
1581 fi
1582
1583 %post ctype
1584 %{_sbindir}/php-module-install install ctype %{_sysconfdir}/php.ini
1585
1586 %preun ctype
1587 if [ "$1" = "0" ]; then
1588         %{_sbindir}/php-module-install remove ctype %{_sysconfdir}/php.ini
1589 fi
1590
1591 %post curl
1592 %{_sbindir}/php-module-install install curl %{_sysconfdir}/php.ini
1593
1594 %preun curl
1595 if [ "$1" = "0" ]; then
1596         %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
1597 fi
1598
1599 %post dba
1600 %{_sbindir}/php-module-install install dba %{_sysconfdir}/php.ini
1601
1602 %preun dba
1603 if [ "$1" = "0" ]; then
1604         %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
1605 fi
1606
1607 %post dbase
1608 %{_sbindir}/php-module-install install dbase %{_sysconfdir}/php.ini
1609
1610 %preun dbase
1611 if [ "$1" = "0" ]; then
1612         %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
1613 fi
1614
1615 %post dbx
1616 %{_sbindir}/php-module-install install dbx %{_sysconfdir}/php.ini
1617
1618 %preun dbx
1619 if [ "$1" = "0" ]; then
1620         %{_sbindir}/php-module-install remove dbx %{_sysconfdir}/php.ini
1621 fi
1622
1623 %post dio
1624 %{_sbindir}/php-module-install install dbx %{_sysconfdir}/php.ini
1625
1626 %preun dio
1627 if [ "$1" = "0" ]; then
1628         %{_sbindir}/php-module-install remove dbx %{_sysconfdir}/php.ini
1629 fi
1630
1631 %post domxml
1632 %{_sbindir}/php-module-install install domxml %{_sysconfdir}/php.ini
1633
1634 %preun domxml
1635 if [ "$1" = "0" ]; then
1636         %{_sbindir}/php-module-install remove domxml %{_sysconfdir}/php.ini
1637 fi
1638
1639 %post exif
1640 %{_sbindir}/php-module-install install exif %{_sysconfdir}/php.ini
1641
1642 %preun exif
1643 if [ "$1" = "0" ]; then
1644         %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
1645 fi
1646
1647 %post filepro
1648 %{_sbindir}/php-module-install install filepro %{_sysconfdir}/php.ini
1649
1650 %preun filepro
1651 if [ "$1" = "0" ]; then
1652         %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
1653 fi
1654
1655 %post ftp
1656 %{_sbindir}/php-module-install install ftp %{_sysconfdir}/php.ini
1657
1658 %preun ftp
1659 if [ "$1" = "0" ]; then
1660         %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
1661 fi
1662
1663 %post gd
1664 %{_sbindir}/php-module-install install gd %{_sysconfdir}/php.ini
1665
1666 %preun gd
1667 if [ "$1" = "0" ]; then
1668         %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
1669 fi
1670
1671 %post gettext
1672 %{_sbindir}/php-module-install install gettext %{_sysconfdir}/php.ini
1673
1674 %preun gettext
1675 if [ "$1" = "0" ]; then
1676         %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
1677 fi
1678
1679 %post gmp
1680 %{_sbindir}/php-module-install install gmp %{_sysconfdir}/php.ini
1681
1682 %preun gmp
1683 if [ "$1" = "0" ]; then
1684         %{_sbindir}/php-module-install remove gmp %{_sysconfdir}/php.ini
1685 fi
1686
1687 %post hyperwave
1688 %{_sbindir}/php-module-install install hyperwave %{_sysconfdir}/php.ini
1689
1690 %preun hyperwave
1691 if [ "$1" = "0" ]; then
1692         %{_sbindir}/php-module-install remove hyperwave %{_sysconfdir}/php.ini
1693 fi
1694
1695 %post iconv
1696 %{_sbindir}/php-module-install install iconv %{_sysconfdir}/php.ini
1697
1698 %preun iconv
1699 if [ "$1" = "0" ]; then
1700         %{_sbindir}/php-module-install remove iconv %{_sysconfdir}/php.ini
1701 fi
1702
1703 %post imap
1704 %{_sbindir}/php-module-install install imap %{_sysconfdir}/php.ini
1705
1706 %preun imap
1707 if [ "$1" = "0" ]; then
1708         %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
1709 fi
1710
1711 %post interbase
1712 %{_sbindir}/php-module-install install interbase %{_sysconfdir}/php.ini
1713
1714 %preun interbase
1715 if [ "$1" = "0" ]; then
1716         %{_sbindir}/php-module-install remove interbase %{_sysconfdir}/php.ini
1717 fi
1718
1719 %post java
1720 %{_sbindir}/php-module-install install java %{_sysconfdir}/php.ini
1721
1722 %preun java
1723 if [ "$1" = "0" ]; then
1724         %{_sbindir}/php-module-install remove java %{_sysconfdir}/php.ini
1725 fi
1726
1727 %post ldap
1728 %{_sbindir}/php-module-install install ldap %{_sysconfdir}/php.ini
1729
1730 %preun ldap
1731 if [ "$1" = "0" ]; then
1732         %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
1733 fi
1734
1735 %post mbstring
1736 %{_sbindir}/php-module-install install mbstring %{_sysconfdir}/php.ini
1737
1738 %preun mbstring
1739 if [ "$1" = "0" ]; then
1740         %{_sbindir}/php-module-install remove mbstring %{_sysconfdir}/php.ini
1741 fi
1742
1743 %post mcal
1744 %{_sbindir}/php-module-install install mcal %{_sysconfdir}/php.ini
1745
1746 %preun mcal
1747 if [ "$1" = "0" ]; then
1748         %{_sbindir}/php-module-install remove mcal %{_sysconfdir}/php.ini
1749 fi
1750
1751 %post mcrypt
1752 %{_sbindir}/php-module-install install mcrypt %{_sysconfdir}/php.ini
1753
1754 %preun mcrypt
1755 if [ "$1" = "0" ]; then
1756         %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
1757 fi
1758
1759 %post mhash
1760 %{_sbindir}/php-module-install install mhash %{_sysconfdir}/php.ini
1761
1762 %preun mhash
1763 if [ "$1" = "0" ]; then
1764         %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
1765 fi
1766
1767 %post ming
1768 %{_sbindir}/php-module-install install ming %{_sysconfdir}/php.ini
1769
1770 %preun ming
1771 if [ "$1" = "0" ]; then
1772         %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
1773 fi
1774
1775 %post mnogosearch
1776 %{_sbindir}/php-module-install install mnogosearch %{_sysconfdir}/php.ini
1777
1778 %preun mnogosearch
1779 if [ "$1" = "0" ]; then
1780         %{_sbindir}/php-module-install remove mnogosearch %{_sysconfdir}/php.ini
1781 fi
1782
1783 %post msession
1784 %{_sbindir}/php-module-install install msession %{_sysconfdir}/php.ini
1785
1786 %preun msession
1787 if [ "$1" = "0" ]; then
1788         %{_sbindir}/php-module-install remove msession %{_sysconfdir}/php.ini
1789 fi
1790
1791 %post mysql
1792 %{_sbindir}/php-module-install install mysql %{_sysconfdir}/php.ini
1793
1794 %preun mysql
1795 if [ "$1" = "0" ]; then
1796         %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
1797 fi
1798
1799 %post oci8
1800 %{_sbindir}/php-module-install install oci8 %{_sysconfdir}/php.ini
1801
1802 %preun oci8
1803 if [ "$1" = "0" ]; then
1804         %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
1805 fi
1806
1807 %post odbc
1808 %{_sbindir}/php-module-install install odbc %{_sysconfdir}/php.ini
1809
1810 %preun odbc
1811 if [ "$1" = "0" ]; then
1812         %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
1813 fi
1814
1815 %post openssl
1816 %{_sbindir}/php-module-install install openssl %{_sysconfdir}/php.ini
1817
1818 %preun openssl
1819 if [ "$1" = "0" ]; then
1820         %{_sbindir}/php-module-install remove openssl %{_sysconfdir}/php.ini
1821 fi
1822
1823 %post oracle
1824 %{_sbindir}/php-module-install install oracle %{_sysconfdir}/php.ini
1825
1826 %preun oracle
1827 if [ "$1" = "0" ]; then
1828         %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
1829 fi
1830
1831 %post overload
1832 %{_sbindir}/php-module-install install overload %{_sysconfdir}/php.ini
1833
1834 %preun overload
1835 if [ "$1" = "0" ]; then
1836         %{_sbindir}/php-module-install remove overload %{_sysconfdir}/php.ini
1837 fi
1838
1839 %post pcntl
1840 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php-cgi.ini
1841
1842 %preun pcntl
1843 if [ "$1" = "0" ]; then
1844         %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php-cgi.ini
1845 fi
1846
1847 %post pcre
1848 %{_sbindir}/php-module-install install pcre %{_sysconfdir}/php.ini
1849
1850 %preun pcre
1851 if [ "$1" = "0" ]; then
1852         %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
1853 fi
1854
1855 %post pdf
1856 %{_sbindir}/php-module-install install pdf %{_sysconfdir}/php.ini
1857
1858 %preun pdf
1859 if [ "$1" = "0" ]; then
1860         %{_sbindir}/php-module-install remove pdf %{_sysconfdir}/php.ini
1861 fi
1862
1863 %post pgsql
1864 %{_sbindir}/php-module-install install pgsql %{_sysconfdir}/php.ini
1865
1866 %preun pgsql
1867 if [ "$1" = "0" ]; then
1868         %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
1869 fi
1870
1871 %post posix
1872 %{_sbindir}/php-module-install install posix %{_sysconfdir}/php.ini
1873
1874 %preun posix
1875 if [ "$1" = "0" ]; then
1876         %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
1877 fi
1878
1879 %post pspell
1880 %{_sbindir}/php-module-install install pspell %{_sysconfdir}/php.ini
1881
1882 %preun pspell
1883 if [ "$1" = "0" ]; then
1884         %{_sbindir}/php-module-install remove pspell %{_sysconfdir}/php.ini
1885 fi
1886
1887 %post recode
1888 %{_sbindir}/php-module-install install recode %{_sysconfdir}/php.ini
1889
1890 %preun recode
1891 if [ "$1" = "0" ]; then
1892         %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
1893 fi
1894
1895 %post session
1896 %{_sbindir}/php-module-install install session %{_sysconfdir}/php.ini
1897
1898 %preun session
1899 if [ "$1" = "0" ]; then
1900         %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
1901 fi
1902
1903 %post shmop
1904 %{_sbindir}/php-module-install install shmop %{_sysconfdir}/php.ini
1905
1906 %preun shmop
1907 if [ "$1" = "0" ]; then
1908         %{_sbindir}/php-module-install remove shmop %{_sysconfdir}/php.ini
1909 fi
1910
1911 %post snmp
1912 %{_sbindir}/php-module-install install snmp %{_sysconfdir}/php.ini
1913
1914 %preun snmp
1915 if [ "$1" = "0" ]; then
1916         %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
1917 fi
1918
1919 %post sockets
1920 %{_sbindir}/php-module-install install sockets %{_sysconfdir}/php.ini
1921
1922 %preun sockets
1923 if [ "$1" = "0" ]; then
1924         %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
1925 fi
1926
1927 %post sybase-ct
1928 %{_sbindir}/php-module-install install sybase_ct %{_sysconfdir}/php.ini
1929
1930 %preun sybase-ct
1931 if [ "$1" = "0" ]; then
1932         %{_sbindir}/php-module-install remove sybase_ct %{_sysconfdir}/php.ini
1933 fi
1934
1935 %post sysvsem
1936 %{_sbindir}/php-module-install install sysvsem %{_sysconfdir}/php.ini
1937
1938 %preun sysvsem
1939 if [ "$1" = "0" ]; then
1940         %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
1941 fi
1942
1943 %post sysvshm
1944 %{_sbindir}/php-module-install install sysvshm %{_sysconfdir}/php.ini
1945
1946 %preun sysvshm
1947 if [ "$1" = "0" ]; then
1948         %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
1949 fi
1950
1951 %post wddx
1952 %{_sbindir}/php-module-install install wddx %{_sysconfdir}/php.ini
1953
1954 %preun wddx
1955 if [ "$1" = "0" ]; then
1956         %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
1957 fi
1958
1959 %post xml
1960 %{_sbindir}/php-module-install install xml %{_sysconfdir}/php.ini
1961
1962 %preun xml
1963 if [ "$1" = "0" ]; then
1964         %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
1965 fi
1966
1967 %post xmlrpc
1968 %{_sbindir}/php-module-install install xmlrpc %{_sysconfdir}/php.ini
1969
1970 %preun xmlrpc
1971 if [ "$1" = "0" ]; then
1972         %{_sbindir}/php-module-install remove xmlrpc %{_sysconfdir}/php.ini
1973 fi
1974
1975 %post xslt
1976 %{_sbindir}/php-module-install install xslt %{_sysconfdir}/php.ini
1977
1978 %preun xslt
1979 if [ "$1" = "0" ]; then
1980         %{_sbindir}/php-module-install remove xslt %{_sysconfdir}/php.ini
1981 fi
1982
1983 %post yaz
1984 %{_sbindir}/php-module-install install yaz %{_sysconfdir}/php.ini
1985
1986 %preun yaz
1987 if [ "$1" = "0" ]; then
1988         %{_sbindir}/php-module-install remove yaz %{_sysconfdir}/php.ini
1989 fi
1990
1991 %post yp
1992 %{_sbindir}/php-module-install install yp %{_sysconfdir}/php.ini
1993
1994 %preun yp
1995 if [ "$1" = "0" ]; then
1996         %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
1997 fi
1998
1999 %post zip
2000 %{_sbindir}/php-module-install install zip %{_sysconfdir}/php.ini
2001
2002 %preun zip
2003 if [ "$1" = "0" ]; then
2004         %{_sbindir}/php-module-install remove zip %{_sysconfdir}/php.ini
2005 fi
2006
2007 %post zlib
2008 %{_sbindir}/php-module-install install zlib %{_sysconfdir}/php.ini
2009
2010 %preun zlib
2011 if [ "$1" = "0" ]; then
2012         %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
2013 fi
2014
2015 %files
2016 %defattr(644,root,root,755)
2017 %if %{_apache2}
2018 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/httpd/httpd.conf/*_mod_php.conf
2019 %endif
2020 %attr(755,root,root) %{_libdir}/apache/libphp4.so
2021 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-apache.ini
2022
2023 %files cgi
2024 %defattr(644,root,root,755)
2025 %attr(755,root,root) %{_bindir}/php
2026 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cgi.ini
2027
2028 %files common
2029 %defattr(644,root,root,755)
2030 %doc php.ini-*
2031 %doc CODING_STANDARDS CREDITS Zend/ZEND_CHANGES
2032 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2033 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2034
2035 %dir %{_sysconfdir}
2036 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
2037 %attr(730,root,http) %dir %verify(not group mode) /var/run/php
2038
2039 /home/httpd/icons/*
2040 %attr(755,root,root) %{_sbindir}/*
2041 %attr(755,root,root) %{_libdir}/libphp_common*.so.*.*.*
2042 %dir %{extensionsdir}
2043
2044 %files devel
2045 %defattr(644,root,root,755)
2046 %{_includedir}/php
2047 %{_libdir}/php/build
2048 %attr(755,root,root) %{_bindir}/phpextdist
2049 %attr(755,root,root) %{_bindir}/phpize
2050 %attr(755,root,root) %{_bindir}/php-config
2051
2052 %files doc
2053 %defattr(644,root,root,755)
2054 %doc manual/*
2055
2056 %files bcmath
2057 %defattr(644,root,root,755)
2058 %attr(755,root,root) %{extensionsdir}/bcmath.so
2059
2060 %files bzip2
2061 %defattr(644,root,root,755)
2062 %attr(755,root,root) %{extensionsdir}/bz2.so
2063
2064 %files calendar
2065 %defattr(644,root,root,755)
2066 %attr(755,root,root) %{extensionsdir}/calendar.so
2067
2068 %if %{?_without_cpdf:0}%{!?_without_cpdf:1}
2069 %files cpdf
2070 %defattr(644,root,root,755)
2071 %attr(755,root,root) %{extensionsdir}/cpdf.so
2072 %endif
2073
2074 %files crack
2075 %defattr(644,root,root,755)
2076 %attr(755,root,root) %{extensionsdir}/crack.so
2077
2078 %files ctype
2079 %defattr(644,root,root,755)
2080 %attr(755,root,root) %{extensionsdir}/ctype.so
2081
2082 %if %{!?_without_curl:1}%{?_without_curl:0}
2083 %files curl
2084 %defattr(644,root,root,755)
2085 %attr(755,root,root) %{extensionsdir}/curl.so
2086 %endif
2087
2088 %files dba
2089 %defattr(644,root,root,755)
2090 %attr(755,root,root) %{extensionsdir}/dba.so
2091
2092 %files dbase
2093 %defattr(644,root,root,755)
2094 %attr(755,root,root) %{extensionsdir}/dbase.so
2095
2096 %files dbx
2097 %defattr(644,root,root,755)
2098 %attr(755,root,root) %{extensionsdir}/dbx.so
2099
2100 %files dio
2101 %defattr(644,root,root,755)
2102 %attr(755,root,root) %{extensionsdir}/dio.so
2103
2104 %files domxml
2105 %defattr(644,root,root,755)
2106 %attr(755,root,root) %{extensionsdir}/domxml.so
2107
2108 %files exif
2109 %defattr(644,root,root,755)
2110 %attr(755,root,root) %{extensionsdir}/exif.so
2111
2112 %files filepro
2113 %defattr(644,root,root,755)
2114 %attr(755,root,root) %{extensionsdir}/filepro.so
2115
2116 %files ftp
2117 %defattr(644,root,root,755)
2118 %attr(755,root,root) %{extensionsdir}/ftp.so
2119
2120 %files gd
2121 %defattr(644,root,root,755)
2122 %attr(755,root,root) %{extensionsdir}/gd.so
2123
2124 %files gettext
2125 %defattr(644,root,root,755)
2126 %attr(755,root,root) %{extensionsdir}/gettext.so
2127
2128 %files gmp
2129 %defattr(644,root,root,755)
2130 %attr(755,root,root) %{extensionsdir}/gmp.so
2131
2132 %files hyperwave
2133 %defattr(644,root,root,755)
2134 %attr(755,root,root) %{extensionsdir}/hyperwave.so
2135
2136 %files iconv
2137 %defattr(644,root,root,755)
2138 %attr(755,root,root) %{extensionsdir}/iconv.so
2139
2140 %if %{?_without_imap:0}%{!?_without_imap:1}
2141 %files imap
2142 %defattr(644,root,root,755)
2143 %attr(755,root,root) %{extensionsdir}/imap.so
2144 %endif
2145
2146 %if %{?_with_interbase:1}%{!?_with_interbase:0}
2147 %files interbase
2148 %defattr(644,root,root,755)
2149 %attr(755,root,root) %{extensionsdir}/interbase.so
2150 %endif
2151
2152 %if %{?_with_java:1}%{!?_with_java:0}
2153 %files java
2154 %defattr(644,root,root,755)
2155 %attr(755,root,root) %{extensionsdir}/java.so
2156 %{_libdir}/php_java.jar
2157 %endif
2158
2159 %if %{?_without_ldap:0}%{!?_without_ldap:1}
2160 %files ldap
2161 %defattr(644,root,root,755)
2162 %attr(755,root,root) %{extensionsdir}/ldap.so
2163 %endif
2164
2165 %files mbstring
2166 %defattr(644,root,root,755)
2167 %attr(755,root,root) %{extensionsdir}/mbstring.so
2168
2169 %files mcal
2170 %defattr(644,root,root,755)
2171 %attr(755,root,root) %{extensionsdir}/mcal.so
2172
2173 %files mcrypt
2174 %defattr(644,root,root,755)
2175 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2176
2177 %if %{!?_without_mhash:1}%{?_without_mhash:0}
2178 %files mhash
2179 %defattr(644,root,root,755)
2180 %attr(755,root,root) %{extensionsdir}/mhash.so
2181 %endif
2182
2183 %if %{!?_without_ming:1}%{?_without_ming:0}
2184 %files ming
2185 %defattr(644,root,root,755)
2186 %attr(755,root,root) %{extensionsdir}/ming.so
2187 %endif
2188
2189 %if %{!?_without_mnogosearch:1}%{?_without_mnogosearch:0}
2190 %files mnogosearch
2191 %defattr(644,root,root,755)
2192 %attr(755,root,root) %{extensionsdir}/mnogosearch.so
2193 %endif
2194
2195 %if %{?_without_msession:0}%{!?_without_msession:1}
2196 %files msession
2197 %defattr(644,root,root,755)
2198 %attr(755,root,root) %{extensionsdir}/msession.so
2199 %endif
2200
2201 %files mysql
2202 %defattr(644,root,root,755)
2203 %attr(755,root,root) %{extensionsdir}/mysql.so
2204
2205 %if %{?_with_oci8:1}%{!?_with_oci8:0}
2206 %files oci8
2207 %defattr(644,root,root,755)
2208 %attr(755,root,root) %{extensionsdir}/oci8.so
2209 %endif
2210
2211 %if %{?_without_odbc:0}%{!?_without_odbc:1}
2212 %files odbc
2213 %defattr(644,root,root,755)
2214 %attr(755,root,root) %{extensionsdir}/odbc.so
2215 %endif
2216
2217 %if %{?_without_openssl:0}%{!?_without_openssl:1}
2218 %files openssl
2219 %defattr(644,root,root,755)
2220 %attr(755,root,root) %{extensionsdir}/openssl.so
2221 %endif
2222
2223 %if %{?_with_oracle:1}%{!?_with_oracle:0}
2224 %files oracle
2225 %defattr(644,root,root,755)
2226 %attr(755,root,root) %{extensionsdir}/oracle.so
2227 %endif
2228
2229 %files overload
2230 %defattr(644,root,root,755)
2231 %attr(755,root,root) %{extensionsdir}/overload.so
2232
2233 %if %{?_with_pcntl:1}%{!?_with_pcntl:0}
2234 %files pcntl
2235 %defattr(644,root,root,755)
2236 %attr(755,root,root) %{extensionsdir}/pcntl.so
2237 %endif
2238
2239 %if %{?_without_pcre:0}%{!?_without_pcre:1}
2240 %files pcre
2241 %defattr(644,root,root,755)
2242 %attr(755,root,root) %{extensionsdir}/pcre.so
2243 %endif
2244
2245 %if %{?_without_pdf:0}%{!?_without_pdf:1}
2246 %files pdf
2247 %defattr(644,root,root,755)
2248 %attr(755,root,root) %{extensionsdir}/pdf.so
2249 %endif
2250
2251 %if %{!?_without_pgsql:1}%{?_without_pgsql:0}
2252 %files pgsql
2253 %defattr(644,root,root,755)
2254 %attr(755,root,root) %{extensionsdir}/pgsql.so
2255 %endif
2256
2257 %files posix
2258 %defattr(644,root,root,755)
2259 %attr(755,root,root) %{extensionsdir}/posix.so
2260
2261 %if %{!?_without_pspell:1}%{?_without_pspell:0}
2262 %files pspell
2263 %defattr(644,root,root,755)
2264 %attr(755,root,root) %{extensionsdir}/pspell.so
2265 %endif
2266
2267 %if %{?_without_recode:0}%{!?_without_recode:1}
2268 %files recode
2269 %defattr(644,root,root,755)
2270 %attr(755,root,root) %{extensionsdir}/recode.so
2271 %endif
2272
2273 # session_mm doesn't work with shared session
2274 #%files session
2275 #%defattr(644,root,root,755)
2276 #%attr(755,root,root) %{extensionsdir}/session.so
2277
2278 %files shmop
2279 %defattr(644,root,root,755)
2280 %attr(755,root,root) %{extensionsdir}/shmop.so
2281
2282 %if %{?_without_snmp:0}%{!?_without_snmp:1}
2283 %files snmp
2284 %defattr(644,root,root,755)
2285 %attr(755,root,root) %{extensionsdir}/snmp.so
2286 %endif
2287
2288 %files sockets
2289 %defattr(644,root,root,755)
2290 %attr(755,root,root) %{extensionsdir}/sockets.so
2291
2292 %if %{?_without_sybase_ct:0}%{!?_without_sybase_ct:1}
2293 %files sybase-ct
2294 %defattr(644,root,root,755)
2295 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2296 %endif
2297
2298 %files sysvsem
2299 %defattr(644,root,root,755)
2300 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2301
2302 %files sysvshm
2303 %defattr(644,root,root,755)
2304 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2305
2306 %if %{?_without_wddx:0}%{!?_without_wddx:1}
2307 %files wddx
2308 %defattr(644,root,root,755)
2309 %attr(755,root,root) %{extensionsdir}/wddx.so
2310 %endif
2311
2312 %if %{?_without_xml:0}%{!?_without_xml:1}
2313 %files xml
2314 %defattr(644,root,root,755)
2315 %attr(755,root,root) %{extensionsdir}/xml.so
2316 %endif
2317
2318 %if %{?_without_xmlrpc:0}%{!?_without_xmlrpc:1}
2319 %files xmlrpc
2320 %defattr(644,root,root,755)
2321 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
2322 %endif
2323
2324 %if %{?_without_xslt:0}%{!?_without_xslt:1}
2325 %files xslt
2326 %defattr(644,root,root,755)
2327 %attr(755,root,root) %{extensionsdir}/xslt.so
2328 %endif
2329
2330 %files yaz
2331 %defattr(644,root,root,755)
2332 %attr(755,root,root) %{extensionsdir}/yaz.so
2333
2334 %files yp
2335 %defattr(644,root,root,755)
2336 %attr(755,root,root) %{extensionsdir}/yp.so
2337
2338 %files zip
2339 %defattr(644,root,root,755)
2340 %attr(755,root,root) %{extensionsdir}/zip.so
2341
2342 %files zlib
2343 %defattr(644,root,root,755)
2344 %attr(755,root,root) %{extensionsdir}/zlib.so
2345
2346 %files pear
2347 %defattr(644,root,root,755)
2348 %dir %{php_pear_dir}
2349 %dir %{php_pear_dir}/Archive
2350 %dir %{php_pear_dir}/Auth
2351 %dir %{php_pear_dir}/Console
2352 %dir %{php_pear_dir}/Crypt
2353 %dir %{php_pear_dir}/Date
2354 %dir %{php_pear_dir}/DB
2355 %dir %{php_pear_dir}/File
2356 %dir %{php_pear_dir}/HTML
2357 %dir %{php_pear_dir}/HTML/Template
2358 %dir %{php_pear_dir}/HTTP
2359 %dir %{php_pear_dir}/Image
2360 %dir %{php_pear_dir}/Mail
2361 %dir %{php_pear_dir}/Net
2362 %dir %{php_pear_dir}/PEAR
2363 %dir %{php_pear_dir}/Schedule
2364 %dir %{php_pear_dir}/Science
2365 %dir %{php_pear_dir}/XML
2366
2367 %files pear-additional_classes
2368 %defattr(644,root,root,755)
2369 %attr(644,root,root) %{php_pear_dir}/Crypt/HCEMD5.php
2370 %attr(644,root,root) %{php_pear_dir}/File/Passwd.php
2371 %attr(644,root,root) %{php_pear_dir}/HTML/Form.php
2372 %attr(644,root,root) %{php_pear_dir}/HTML/IT*.php
2373 %attr(644,root,root) %{php_pear_dir}/HTML/Page.php
2374 %attr(644,root,root) %{php_pear_dir}/HTML/Processor.php
2375 %attr(644,root,root) %{php_pear_dir}/HTML/Select.php
2376 %attr(644,root,root) %{php_pear_dir}/HTTP/Compress.php
2377 %attr(644,root,root) %{php_pear_dir}/Schedule/At.php
2378
2379 %files pear-devel
2380 %defattr(644,root,root,755)
2381 # in proper class now
2382 #%attr(755,root,root) %{_bindir}/pear
2383 %attr(755,root,root) %{_bindir}/pearize
2384 %attr(755,root,root) %{_bindir}/phptar
This page took 0.190602 seconds and 2 git commands to generate.