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