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