]> git.pld-linux.org Git - packages/php.git/blob - php.spec
- noted TODO
[packages/php.git] / php.spec
1 #
2 # TODO:
3 # - cannot find libexpat for XML module,
4 #   with --with-expat-dir=/usr finds, but xmlrpc is built as static
5 # - libphp4.so is linked with -lnsl
6 # - msession.so isn't linked with -lphoenix
7 # - odbc.so isn't linked with -lodbc*
8 # - wddx.so isn't linked with anything except libc
9 #
10 # Automatic pear requirements finding:
11 %include        /usr/lib/rpm/macros.php
12
13 %define _apache2        %(rpm -q apache-devel 2> /dev/null | grep -Eq '\\-2\\.[0-9]+\\.' && echo 1 || echo 0)
14 %define         apxs            /usr/sbin/apxs
15
16 %if %{_apache2}
17 %define _without_recode 1
18 %define _without_mm 1
19 %endif
20
21 %ifnarch %{ix86}
22 %define _without_msession 1
23 %endif
24
25 # Conditional build:
26 # _with_db3             - use db3 packages instead of db (4.x) for Berkeley DB support
27 # _with_interbase_inst  - use InterBase install., not Firebird  (BR: proprietary libs)
28 # _with_java            - with Java extension module            (BR: jdk)
29 # _with_oci8            - with Oracle oci8 extension module     (BR: proprietary libs)
30 # _with_oracle          - with oracle extension module          (BR: proprietary libs)
31 # _with_pcntl           - with pcntl extension module           (problems: SEGV on exit)
32 # _without_cpdf         - without cpdf extension module
33 # _without_curl         - without CURL extension module
34 # _without_domxslt      - without DOM XSLT/EXSLT support in DOM XML extension module
35 # _without_gif          - build GD extension module with gd library without GIF support
36 # _without_imap         - without IMAP extension module
37 # _without_interbase    - without InterBase extension module
38 # _without_ldap         - without LDAP extension module
39 # _without_mhash        - without mhash extension module
40 # _without_ming         - without ming extension module
41 # _without_mm           - without mm support for session storage
42 # _without_mnogosearch  - without mnogosearch extension module
43 # _without_msession     - without msession extension module
44 # _without_odbc         - without ODBC extension module
45 # _without_openssl      - without OpenSSL support and OpenSSL extension module
46 # _without_pcre         - without PCRE extension module
47 # _without_pdf          - without PDF extension module
48 # _without_pspell       - without pspell extension module
49 # _without_pgsql        - without PostgreSQL extension module
50 # _without_snmp         - without SNMP extension module
51 # _without_recode       - without recode extension module
52 # _without_sybase_ct    - without Sybase-CT extension module
53 # _without_wddx         - without WDDX extension module
54 # _without_xml          - without XML extension module
55 # _without_xmlrpc       - without XML-RPC extension module
56 # _without_xslt         - without XSLT extension module
57
58 Summary:        The PHP HTML-embedded scripting language for use with Apache
59 Summary(fr):    Le langage de script embarque-HTML PHP pour Apache
60 Summary(pl):    Jêzyk skryptowy PHP -- u¿ywany wraz z serwerem Apache
61 Summary(pt_BR): A linguagem de script PHP
62 Summary(ru):    PHP ÷ÅÒÓÉÉ 4 -- ÑÚÙË ÐÒÅÐÒÏÃÅÓÓÉÒÏ×ÁÎÉÑ HTML-ÆÁÊÌÏ×, ×ÙÐÏÌÎÑÅÍÙÊ ÎÁ ÓÅÒ×ÅÒÅ
63 Summary(uk):    PHP ÷ÅÒÓ¦§ 4 -- ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
64 Name:           php
65 Version:        4.3.0
66 Release:        0.1
67 Epoch:          3
68 Group:          Libraries
69 License:        PHP
70 Source0:        http://www.php.net/distributions/%{name}-%{version}.tar.bz2
71 Source1:        FAQ.%{name}
72 Source2:        zend.gif
73 Source3:        http://www.php.net/distributions/manual/%{name}_manual_en.tar.bz2
74 Source4:        %{name}-module-install
75 Source5:        %{name}-mod_%{name}.conf
76 Source6:        %{name}-cgi.ini
77 Source7:        %{name}-apache.ini
78 Patch0:         %{name}-shared.patch
79 Patch1:         %{name}-pldlogo.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
1223 %description yaz
1224 This is a dynamic shared object (DSO) for Apache that will add yaz
1225 support to PHP. yaz toolkit implements the Z39.50 protocol for
1226 information retrieval.
1227
1228 %description yaz -l pl
1229 Modu³ PHP umo¿liwiaj±cy korzystanie z yaz - implementacji protoko³u
1230 Z39.50 s³u¿±cego do pozyskiwania informacji.
1231
1232 %package yp
1233 Summary:        NIS (yp) extension module for PHP
1234 Summary(pl):    Modu³ NIS (yp) dla PHP
1235 Group:          Libraries
1236 Requires(post,preun):%{name}-common = %{version}
1237 Requires:       %{name}-common = %{version}
1238
1239 %description yp
1240 This is a dynamic shared object (DSO) for Apache that will add NIS
1241 (Yellow Pages) support to PHP.
1242
1243 %description yp -l pl
1244 Dynamiczny obiekt wspó³dzielony (DSO) dla Apache'a, dodaj±cy do PHP
1245 wsparcie dla NIS (Yellow Pages).
1246
1247 %package zip
1248 Summary:        zip extension module for PHP
1249 Summary(pl):    Modu³ zip dla PHP
1250 Group:          Libraries
1251 Requires(post,preun):%{name}-common = %{version}
1252 Requires:       %{name}-common = %{version}
1253
1254 %description zip
1255 This is a dynamic shared object (DSO) for Apache that will add ZZipLib
1256 (read-only access to ZIP archives) support to PHP.
1257
1258 %description zip -l pl
1259 Modu³ PHP umo¿liwiaj±cy korzystanie z bibliotekli ZZipLib
1260 (pozwalaj±cej na odczyt archiwów ZIP).
1261
1262 %package zlib
1263 Summary:        Zlib extension module for PHP
1264 Summary(pl):    Modu³ zlib dla PHP
1265 Group:          Libraries
1266 Requires(post,preun):%{name}-common = %{version}
1267 Requires:       %{name}-common = %{version}
1268
1269 %description zlib
1270 This is a dynamic shared object (DSO) for Apache that will add
1271 compression (zlib) support to PHP.
1272
1273 %description zlib -l pl
1274 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji (poprzez bibliotekê zlib).
1275
1276 %package pear
1277 Summary:        PEAR - PHP Extension and Application Repository
1278 Summary(pl):    PEAR - Rozszerzenie PHP i Repozytorium Aplikacji
1279 Group:          Development/Languages/PHP
1280 Requires:       %{name}-pcre = %{version}
1281 Requires:       %{name}-xml = %{version}
1282
1283 %description pear
1284 PEAR - PHP Extension and Application Repository.
1285
1286 %description pear -l pl
1287 PEAR (PHP Extension and Application Repository) - Rozszerzenie PHP i
1288 Repozytorium Aplikacji.
1289
1290 %package pear-additional_classes
1291 Summary:        PEAR - PHP Extension and Application Repository
1292 Summary(pl):    PEAR - Rozszerzenie PHP i Repozytorium Aplikacji
1293 Group:          Development/Languages/PHP
1294 Requires:       %{name}-pcre = %{version}
1295 Requires:       %{name}-pear
1296
1297 %description pear-additional_classes
1298 PEAR - PHP Extension and Application Repository. Additional classes
1299 which can't be found in pear packages.
1300
1301 %description pear-additional_classes -l pl
1302 PEAR (PHP Extension and Application Repository) - Rozszerzenie PHP i
1303 Repozytorium Aplikacji. Dodatkowe klasy, których nie ma w innych
1304 pakietach peara.
1305
1306 %package pear-devel
1307 Summary:        PEAR - PHP Extension and Application Repository
1308 Summary(pl):    PEAR - Rozszerzenie PHP i Repozytorium Aplikacji
1309 Group:          Development/Languages/PHP
1310 Requires:       %{name}-cgi = %{version}
1311 Requires:       %{name}-pcre = %{version}
1312 Requires:       %{name}-xml = %{version}
1313 Requires:       %{name}-pear
1314 Requires:       %{name}-pear-PEAR-Command
1315
1316 %description pear-devel
1317 PEAR - PHP Extension and Application Repository. This package contains
1318 aplications needed to use pear from cvs.
1319
1320 %description pear-devel -l pl
1321 PEAR (PHP Extension and Application Repository) - Rozszerzenie PHP i
1322 Repozytorium Aplikacji. Ten pakiet zawiera aplikacje potrzebne do
1323
1324 %prep
1325 %setup -q
1326 #%patch0 -p1    -- needs update!
1327 %patch1 -p1
1328 #%patch2 -p1    -- obsolete
1329 %patch3 -p1
1330 #%patch4 -p1    -- seems obsolete
1331 #%patch5 -p1    -- obsolete (fastcgi SAPI removed)
1332 %patch6 -p1
1333 #%patch7 -p1    -- partially obsolete, the rest to check (too many changes)
1334 %patch8 -p1
1335 #%patch9 -p1    -- obsolete
1336 %patch10 -p1
1337 #%patch11 -p1   -- obsolete (openssl used also in common part)
1338 #%patch12 -p1   -- needs update? to check
1339 %patch13 -p1
1340 %patch14 -p1
1341 %patch15 -p1
1342 #%patch16 -p1   -- uhm... php allows _separate_ (not included) php-${SAPI}.ini files now
1343 #%patch17 -p1   -- obsolete
1344 #%patch18 -p1   -- obsolete? - no such file
1345 #%patch19 -p1   -- obsolete
1346 cp php.ini-dist php.ini
1347 %patch20 -p1
1348 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1349 # conditionally...
1350 %patch21 -p1
1351 %patch22 -p1
1352 #%patch23 -p1   -- obsolete
1353 %patch24 -p1
1354
1355 install -d manual
1356 bzip2 -dc %{SOURCE3} | tar -xf - -C manual
1357
1358 %build
1359 CFLAGS="%{rpmcflags} -DEAPI=1 -I/usr/X11R6/include"
1360 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1361 ./buildconf
1362 %{__libtoolize}
1363 %{__aclocal}
1364 autoconf
1365 #for i in cgi fastcgi apxs ; do
1366 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1367 for i in cgi apxs ; do
1368 %configure \
1369         `[ $i = cgi ] && echo --enable-discard-path` \
1370         `[ $i = fastcgi ] && echo --enable-discard-path --with-fastcgi=/usr` \
1371 %if %{_apache2}
1372         `[ $i = apxs ] && echo --with-apxs2=%{apxs}` \
1373 %else
1374         `[ $i = apxs ] && echo --with-apxs=%{apxs}` \
1375 %endif
1376         --with-config-file-path=%{_sysconfdir} \
1377         --with-exec-dir=%{_bindir} \
1378         --%{!?debug:dis}%{?debug:en}able-debug \
1379         --enable-bcmath=shared \
1380         --enable-calendar=shared \
1381         --disable-cli \
1382         --enable-ctype=shared \
1383         --enable-dba=shared \
1384         --enable-dbx=shared \
1385         --enable-dio=shared \
1386         --enable-exif=shared \
1387         --enable-ftp=shared \
1388         --enable-gd-native-ttf \
1389         --enable-magic-quotes \
1390         --enable-mbstring=shared --disable-mbstr-enc-trans --enable-mbregex \
1391         --enable-overload=shared \
1392         %{?_with_pcntl:--enable-pcntl=shared}%{!?_with_pcntl:--disable-pcntl} \
1393         --enable-posix=shared \
1394         --enable-session \
1395         --enable-shared \
1396         --enable-shmop=shared \
1397         --enable-sysvsem=shared \
1398         --enable-sysvshm=shared \
1399         --enable-track-vars \
1400         --enable-trans-sid \
1401         --enable-safe-mode \
1402         --enable-sockets=shared \
1403         --enable-ucd-snmp-hack \
1404         %{!?_without_wddx:--enable-wddx=shared} \
1405         %{?_without_xml:--disable-xml}%{!?_without_xml:--enable-xml=shared} \
1406         %{!?_without_xslt:--enable-xslt=shared} \
1407         --enable-yp=shared \
1408         --with-bz2=shared \
1409         %{!?_without_cpdf:--with-cpdflib=shared} \
1410         --with-crack=shared \
1411         %{?_without_curl:--without-curl}%{!?_without_curl:--with-curl=shared} \
1412         %{?_with_db3:--with-db3}%{!?_with_db3:--with-db4} \
1413         --with-dbase=shared \
1414         --with-dom=shared \
1415         %{!?_without_domxslt:--with-dom-xslt=shared --with-dom-exslt=shared} \
1416 %if %(expr %{?_without_xml:0}%{!?_without_xml:1} + %{?_without_xmlrpc:0}%{!?_without_xmlrpc:1})
1417         --with-expat-dir=shared,/usr \
1418 %else
1419         --without-expat-dir \
1420 %endif
1421         --with-iconv=shared \
1422         --with-filepro=shared \
1423         --with-freetype-dir=shared \
1424         --with-gettext=shared \
1425         --with-gd=shared \
1426         --with-gdbm \
1427         --with-gmp=shared \
1428         --with-hyperwave=shared \
1429         %{!?_without_imap:--with-imap=shared --with-imap-ssl} \
1430         %{!?_without_interbase:--with-interbase=shared%{!?_with_interbase_inst:,/usr}} \
1431         %{?_with_java:--with-java=/usr/lib/java} \
1432         --with-jpeg-dir=shared,/usr \
1433         %{!?_without_ldap:--with-ldap=shared} \
1434         --with-mcal=shared,/usr \
1435         --with-mcrypt=shared \
1436         %{!?_without_mhash:--with-mhash=shared} \
1437         %{!?_without_ming:--with-ming=shared} \
1438         %{!?_without_mm:--with-mm} \
1439         %{?_without_mnogosearch:--without-mnogosearch}%{!?_without_mnogosearch:--with-mnogosearch=shared,/usr} \
1440         %{!?_without_msession:--with-msession=shared}%{?_without_msession:--without-msession} \
1441         --with-mysql=shared,/usr \
1442         --with-mysql-sock=/var/lib/mysql/mysql.sock \
1443         %{?_with_oci8:--with-oci8=shared} \
1444         %{!?_without_openssl:--with-openssl=shared} \
1445         %{?_with_oracle:--with-oracle=shared} \
1446         %{?_without_pcre:--without-pcre-regex}%{!?_without_pcre:--with-pcre-regex=shared} \
1447         %{!?_without_pdf:--with-pdflib=shared} \
1448         --with-pear=%{php_pear_dir} \
1449         %{?_without_pgsql:--without-pgsql}%{!?_without_pgsql:--with-pgsql=shared,/usr} \
1450         --with-png-dir=shared,/usr \
1451         %{!?_without_pspell:--with-pspell=shared} \
1452         %{!?_without_recode:--with-recode=shared} \
1453         --with-regex=php \
1454         --without-sablot-js \
1455         %{!?_without_snmp:--with-snmp=shared} \
1456         %{!?_without_sybase_ct:--with-sybase-ct=shared,/usr} \
1457         --with-t1lib=shared \
1458         --with-tiff-dir=shared,/usr \
1459         %{!?_without_odbc:--with-unixODBC=shared} \
1460         %{?_without_xmlrpc:--without-xmlrpc}%{!?_without_xmlrpc:--with-xmlrpc=shared,/usr} \
1461         %{!?_without_xslt:--with-xslt-sablot=shared} \
1462         --with-yaz=shared \
1463         --with-zip=shared \
1464         --with-zlib=shared \
1465         --with-zlib-dir=shared,/usr
1466 done
1467
1468 #       --with-sablot-js=shared,no
1469
1470 # for now session_mm doesn't work with shared session module...
1471 # --enable-session=shared
1472 # %{?_without_mm:--with-mm=shared,no}%{!?_without_mm:--with-mm=shared}
1473
1474 # TODO:
1475 #       --with-qtdom=shared
1476
1477 %{__make}
1478 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" -C sapi/cgi
1479
1480 # Kill -rpath from php binary and libphp4.so
1481 perl -pi -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
1482 perl -pi -e 's|^runpath_var=.*|runpath_var=|g' libtool
1483 %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" php
1484
1485 perl -pi -e 's|^hardcode_into_libs=.*|hardcode_into_libs=no|g' libtool
1486 rm libphp4.la ; %{__make} libphp4.la
1487
1488 %install
1489 rm -rf $RPM_BUILD_ROOT
1490 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache},%{_sysconfdir}/{apache,cgi}} \
1491         $RPM_BUILD_ROOT/home/services/httpd/icons \
1492         $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1493         $RPM_BUILD_ROOT/var/run/php \
1494         $RPM_BUILD_ROOT/etc/httpd/httpd.conf
1495
1496 %{__make} install \
1497         INSTALL_ROOT=$RPM_BUILD_ROOT \
1498         INSTALL_IT="install libs/libphp4.so $RPM_BUILD_ROOT%{_libdir}/apache/ ; install libs/libphp_common*.so.*.*.* $RPM_BUILD_ROOT%{_libdir}"
1499
1500 %{?_with_java:install ext/java/php_java.jar $RPM_BUILD_ROOT%{_libdir}}
1501
1502 install .libs/php $RPM_BUILD_ROOT%{_bindir}/php
1503
1504 install php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1505 install %{SOURCE6} %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}
1506 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1507 install %{SOURCE4} $RPM_BUILD_ROOT%{_sbindir}
1508 install %{SOURCE5} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1509
1510 install %{SOURCE1} .
1511
1512 mv -f Zend/LICENSE{,.Zend}
1513
1514 mkdir $RPM_BUILD_ROOT%{php_pear_dir}/{Auth,Science,HTML/Template}
1515
1516 %clean
1517 rm -rf $RPM_BUILD_ROOT
1518
1519 %post
1520 %if ! %{_apache2}
1521 perl -pi -e 's|^#AddType application/x-httpd-php \.php|AddType application/x-httpd-php .php|' \
1522         /etc/httpd/httpd.conf
1523 %{apxs} -e -a -n php4 %{_pkglibdir}/libphp4.so 1>&2
1524 %endif
1525 if [ -f /var/lock/subsys/httpd ]; then
1526         /etc/rc.d/init.d/httpd restart 1>&2
1527 fi
1528
1529 %if %{_apache2}
1530 %postun
1531 if [ "$1" = "0" ]; then
1532         if [ -f /var/lock/subsys/httpd ]; then
1533                 /etc/rc.d/init.d/httpd restart 1>&2
1534         fi
1535 fi
1536 %else
1537 %preun
1538 if [ "$1" = "0" ]; then
1539         %{apxs} -e -A -n php4 %{_pkglibdir}/libphp4.so 1>&2
1540         perl -pi -e \
1541                 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
1542                 /etc/httpd/httpd.conf
1543         if [ -f /var/lock/subsys/httpd ]; then
1544                 /etc/rc.d/init.d/httpd restart 1>&2
1545         fi
1546 fi
1547 %endif
1548
1549 %post   common -p /sbin/ldconfig
1550 %postun common -p /sbin/ldconfig
1551
1552 %post bcmath
1553 %{_sbindir}/php-module-install install bcmath %{_sysconfdir}/php.ini
1554
1555 %preun bcmath
1556 if [ "$1" = "0" ]; then
1557         %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
1558 fi
1559
1560 %post bzip2
1561 %{_sbindir}/php-module-install install bz2 %{_sysconfdir}/php.ini
1562
1563 %preun bzip2
1564 if [ "$1" = "0" ]; then
1565         %{_sbindir}/php-module-install remove bz2 %{_sysconfdir}/php.ini
1566 fi
1567
1568 %post calendar
1569 %{_sbindir}/php-module-install install calendar %{_sysconfdir}/php.ini
1570
1571 %preun calendar
1572 if [ "$1" = "0" ]; then
1573         %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
1574 fi
1575
1576 %post cpdf
1577 %{_sbindir}/php-module-install install cpdf %{_sysconfdir}/php.ini
1578
1579 %preun cpdf
1580 if [ "$1" = "0" ]; then
1581         %{_sbindir}/php-module-install remove cpdf %{_sysconfdir}/php.ini
1582 fi
1583
1584 %post crack
1585 %{_sbindir}/php-module-install install crack %{_sysconfdir}/php.ini
1586
1587 %preun crack
1588 if [ "$1" = "0" ]; then
1589         %{_sbindir}/php-module-install remove crack %{_sysconfdir}/php.ini
1590 fi
1591
1592 %post ctype
1593 %{_sbindir}/php-module-install install ctype %{_sysconfdir}/php.ini
1594
1595 %preun ctype
1596 if [ "$1" = "0" ]; then
1597         %{_sbindir}/php-module-install remove ctype %{_sysconfdir}/php.ini
1598 fi
1599
1600 %post curl
1601 %{_sbindir}/php-module-install install curl %{_sysconfdir}/php.ini
1602
1603 %preun curl
1604 if [ "$1" = "0" ]; then
1605         %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
1606 fi
1607
1608 %post dba
1609 %{_sbindir}/php-module-install install dba %{_sysconfdir}/php.ini
1610
1611 %preun dba
1612 if [ "$1" = "0" ]; then
1613         %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
1614 fi
1615
1616 %post dbase
1617 %{_sbindir}/php-module-install install dbase %{_sysconfdir}/php.ini
1618
1619 %preun dbase
1620 if [ "$1" = "0" ]; then
1621         %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
1622 fi
1623
1624 %post dbx
1625 %{_sbindir}/php-module-install install dbx %{_sysconfdir}/php.ini
1626
1627 %preun dbx
1628 if [ "$1" = "0" ]; then
1629         %{_sbindir}/php-module-install remove dbx %{_sysconfdir}/php.ini
1630 fi
1631
1632 %post dio
1633 %{_sbindir}/php-module-install install dbx %{_sysconfdir}/php.ini
1634
1635 %preun dio
1636 if [ "$1" = "0" ]; then
1637         %{_sbindir}/php-module-install remove dbx %{_sysconfdir}/php.ini
1638 fi
1639
1640 %post domxml
1641 %{_sbindir}/php-module-install install domxml %{_sysconfdir}/php.ini
1642
1643 %preun domxml
1644 if [ "$1" = "0" ]; then
1645         %{_sbindir}/php-module-install remove domxml %{_sysconfdir}/php.ini
1646 fi
1647
1648 %post exif
1649 %{_sbindir}/php-module-install install exif %{_sysconfdir}/php.ini
1650
1651 %preun exif
1652 if [ "$1" = "0" ]; then
1653         %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
1654 fi
1655
1656 %post filepro
1657 %{_sbindir}/php-module-install install filepro %{_sysconfdir}/php.ini
1658
1659 %preun filepro
1660 if [ "$1" = "0" ]; then
1661         %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
1662 fi
1663
1664 %post ftp
1665 %{_sbindir}/php-module-install install ftp %{_sysconfdir}/php.ini
1666
1667 %preun ftp
1668 if [ "$1" = "0" ]; then
1669         %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
1670 fi
1671
1672 %post gd
1673 %{_sbindir}/php-module-install install gd %{_sysconfdir}/php.ini
1674
1675 %preun gd
1676 if [ "$1" = "0" ]; then
1677         %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
1678 fi
1679
1680 %post gettext
1681 %{_sbindir}/php-module-install install gettext %{_sysconfdir}/php.ini
1682
1683 %preun gettext
1684 if [ "$1" = "0" ]; then
1685         %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
1686 fi
1687
1688 %post gmp
1689 %{_sbindir}/php-module-install install gmp %{_sysconfdir}/php.ini
1690
1691 %preun gmp
1692 if [ "$1" = "0" ]; then
1693         %{_sbindir}/php-module-install remove gmp %{_sysconfdir}/php.ini
1694 fi
1695
1696 %post hyperwave
1697 %{_sbindir}/php-module-install install hyperwave %{_sysconfdir}/php.ini
1698
1699 %preun hyperwave
1700 if [ "$1" = "0" ]; then
1701         %{_sbindir}/php-module-install remove hyperwave %{_sysconfdir}/php.ini
1702 fi
1703
1704 %post iconv
1705 %{_sbindir}/php-module-install install iconv %{_sysconfdir}/php.ini
1706
1707 %preun iconv
1708 if [ "$1" = "0" ]; then
1709         %{_sbindir}/php-module-install remove iconv %{_sysconfdir}/php.ini
1710 fi
1711
1712 %post imap
1713 %{_sbindir}/php-module-install install imap %{_sysconfdir}/php.ini
1714
1715 %preun imap
1716 if [ "$1" = "0" ]; then
1717         %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
1718 fi
1719
1720 %post interbase
1721 %{_sbindir}/php-module-install install interbase %{_sysconfdir}/php.ini
1722
1723 %preun interbase
1724 if [ "$1" = "0" ]; then
1725         %{_sbindir}/php-module-install remove interbase %{_sysconfdir}/php.ini
1726 fi
1727
1728 %post java
1729 %{_sbindir}/php-module-install install java %{_sysconfdir}/php.ini
1730
1731 %preun java
1732 if [ "$1" = "0" ]; then
1733         %{_sbindir}/php-module-install remove java %{_sysconfdir}/php.ini
1734 fi
1735
1736 %post ldap
1737 %{_sbindir}/php-module-install install ldap %{_sysconfdir}/php.ini
1738
1739 %preun ldap
1740 if [ "$1" = "0" ]; then
1741         %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
1742 fi
1743
1744 %post mbstring
1745 %{_sbindir}/php-module-install install mbstring %{_sysconfdir}/php.ini
1746
1747 %preun mbstring
1748 if [ "$1" = "0" ]; then
1749         %{_sbindir}/php-module-install remove mbstring %{_sysconfdir}/php.ini
1750 fi
1751
1752 %post mcal
1753 %{_sbindir}/php-module-install install mcal %{_sysconfdir}/php.ini
1754
1755 %preun mcal
1756 if [ "$1" = "0" ]; then
1757         %{_sbindir}/php-module-install remove mcal %{_sysconfdir}/php.ini
1758 fi
1759
1760 %post mcrypt
1761 %{_sbindir}/php-module-install install mcrypt %{_sysconfdir}/php.ini
1762
1763 %preun mcrypt
1764 if [ "$1" = "0" ]; then
1765         %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
1766 fi
1767
1768 %post mhash
1769 %{_sbindir}/php-module-install install mhash %{_sysconfdir}/php.ini
1770
1771 %preun mhash
1772 if [ "$1" = "0" ]; then
1773         %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
1774 fi
1775
1776 %post ming
1777 %{_sbindir}/php-module-install install ming %{_sysconfdir}/php.ini
1778
1779 %preun ming
1780 if [ "$1" = "0" ]; then
1781         %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
1782 fi
1783
1784 %post mnogosearch
1785 %{_sbindir}/php-module-install install mnogosearch %{_sysconfdir}/php.ini
1786
1787 %preun mnogosearch
1788 if [ "$1" = "0" ]; then
1789         %{_sbindir}/php-module-install remove mnogosearch %{_sysconfdir}/php.ini
1790 fi
1791
1792 %post msession
1793 %{_sbindir}/php-module-install install msession %{_sysconfdir}/php.ini
1794
1795 %preun msession
1796 if [ "$1" = "0" ]; then
1797         %{_sbindir}/php-module-install remove msession %{_sysconfdir}/php.ini
1798 fi
1799
1800 %post mysql
1801 %{_sbindir}/php-module-install install mysql %{_sysconfdir}/php.ini
1802
1803 %preun mysql
1804 if [ "$1" = "0" ]; then
1805         %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
1806 fi
1807
1808 %post oci8
1809 %{_sbindir}/php-module-install install oci8 %{_sysconfdir}/php.ini
1810
1811 %preun oci8
1812 if [ "$1" = "0" ]; then
1813         %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
1814 fi
1815
1816 %post odbc
1817 %{_sbindir}/php-module-install install odbc %{_sysconfdir}/php.ini
1818
1819 %preun odbc
1820 if [ "$1" = "0" ]; then
1821         %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
1822 fi
1823
1824 %post openssl
1825 %{_sbindir}/php-module-install install openssl %{_sysconfdir}/php.ini
1826
1827 %preun openssl
1828 if [ "$1" = "0" ]; then
1829         %{_sbindir}/php-module-install remove openssl %{_sysconfdir}/php.ini
1830 fi
1831
1832 %post oracle
1833 %{_sbindir}/php-module-install install oracle %{_sysconfdir}/php.ini
1834
1835 %preun oracle
1836 if [ "$1" = "0" ]; then
1837         %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
1838 fi
1839
1840 %post overload
1841 %{_sbindir}/php-module-install install overload %{_sysconfdir}/php.ini
1842
1843 %preun overload
1844 if [ "$1" = "0" ]; then
1845         %{_sbindir}/php-module-install remove overload %{_sysconfdir}/php.ini
1846 fi
1847
1848 %post pcntl
1849 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php-cgi.ini
1850
1851 %preun pcntl
1852 if [ "$1" = "0" ]; then
1853         %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php-cgi.ini
1854 fi
1855
1856 %post pcre
1857 %{_sbindir}/php-module-install install pcre %{_sysconfdir}/php.ini
1858
1859 %preun pcre
1860 if [ "$1" = "0" ]; then
1861         %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
1862 fi
1863
1864 %post pdf
1865 %{_sbindir}/php-module-install install pdf %{_sysconfdir}/php.ini
1866
1867 %preun pdf
1868 if [ "$1" = "0" ]; then
1869         %{_sbindir}/php-module-install remove pdf %{_sysconfdir}/php.ini
1870 fi
1871
1872 %post pgsql
1873 %{_sbindir}/php-module-install install pgsql %{_sysconfdir}/php.ini
1874
1875 %preun pgsql
1876 if [ "$1" = "0" ]; then
1877         %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
1878 fi
1879
1880 %post posix
1881 %{_sbindir}/php-module-install install posix %{_sysconfdir}/php.ini
1882
1883 %preun posix
1884 if [ "$1" = "0" ]; then
1885         %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
1886 fi
1887
1888 %post pspell
1889 %{_sbindir}/php-module-install install pspell %{_sysconfdir}/php.ini
1890
1891 %preun pspell
1892 if [ "$1" = "0" ]; then
1893         %{_sbindir}/php-module-install remove pspell %{_sysconfdir}/php.ini
1894 fi
1895
1896 %post recode
1897 %{_sbindir}/php-module-install install recode %{_sysconfdir}/php.ini
1898
1899 %preun recode
1900 if [ "$1" = "0" ]; then
1901         %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
1902 fi
1903
1904 %post session
1905 %{_sbindir}/php-module-install install session %{_sysconfdir}/php.ini
1906
1907 %preun session
1908 if [ "$1" = "0" ]; then
1909         %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
1910 fi
1911
1912 %post shmop
1913 %{_sbindir}/php-module-install install shmop %{_sysconfdir}/php.ini
1914
1915 %preun shmop
1916 if [ "$1" = "0" ]; then
1917         %{_sbindir}/php-module-install remove shmop %{_sysconfdir}/php.ini
1918 fi
1919
1920 %post snmp
1921 %{_sbindir}/php-module-install install snmp %{_sysconfdir}/php.ini
1922
1923 %preun snmp
1924 if [ "$1" = "0" ]; then
1925         %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
1926 fi
1927
1928 %post sockets
1929 %{_sbindir}/php-module-install install sockets %{_sysconfdir}/php.ini
1930
1931 %preun sockets
1932 if [ "$1" = "0" ]; then
1933         %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
1934 fi
1935
1936 %post sybase-ct
1937 %{_sbindir}/php-module-install install sybase_ct %{_sysconfdir}/php.ini
1938
1939 %preun sybase-ct
1940 if [ "$1" = "0" ]; then
1941         %{_sbindir}/php-module-install remove sybase_ct %{_sysconfdir}/php.ini
1942 fi
1943
1944 %post sysvsem
1945 %{_sbindir}/php-module-install install sysvsem %{_sysconfdir}/php.ini
1946
1947 %preun sysvsem
1948 if [ "$1" = "0" ]; then
1949         %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
1950 fi
1951
1952 %post sysvshm
1953 %{_sbindir}/php-module-install install sysvshm %{_sysconfdir}/php.ini
1954
1955 %preun sysvshm
1956 if [ "$1" = "0" ]; then
1957         %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
1958 fi
1959
1960 %post wddx
1961 %{_sbindir}/php-module-install install wddx %{_sysconfdir}/php.ini
1962
1963 %preun wddx
1964 if [ "$1" = "0" ]; then
1965         %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
1966 fi
1967
1968 %post xml
1969 %{_sbindir}/php-module-install install xml %{_sysconfdir}/php.ini
1970
1971 %preun xml
1972 if [ "$1" = "0" ]; then
1973         %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
1974 fi
1975
1976 %post xmlrpc
1977 %{_sbindir}/php-module-install install xmlrpc %{_sysconfdir}/php.ini
1978
1979 %preun xmlrpc
1980 if [ "$1" = "0" ]; then
1981         %{_sbindir}/php-module-install remove xmlrpc %{_sysconfdir}/php.ini
1982 fi
1983
1984 %post xslt
1985 %{_sbindir}/php-module-install install xslt %{_sysconfdir}/php.ini
1986
1987 %preun xslt
1988 if [ "$1" = "0" ]; then
1989         %{_sbindir}/php-module-install remove xslt %{_sysconfdir}/php.ini
1990 fi
1991
1992 %post yaz
1993 %{_sbindir}/php-module-install install yaz %{_sysconfdir}/php.ini
1994
1995 %preun yaz
1996 if [ "$1" = "0" ]; then
1997         %{_sbindir}/php-module-install remove yaz %{_sysconfdir}/php.ini
1998 fi
1999
2000 %post yp
2001 %{_sbindir}/php-module-install install yp %{_sysconfdir}/php.ini
2002
2003 %preun yp
2004 if [ "$1" = "0" ]; then
2005         %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
2006 fi
2007
2008 %post zip
2009 %{_sbindir}/php-module-install install zip %{_sysconfdir}/php.ini
2010
2011 %preun zip
2012 if [ "$1" = "0" ]; then
2013         %{_sbindir}/php-module-install remove zip %{_sysconfdir}/php.ini
2014 fi
2015
2016 %post zlib
2017 %{_sbindir}/php-module-install install zlib %{_sysconfdir}/php.ini
2018
2019 %preun zlib
2020 if [ "$1" = "0" ]; then
2021         %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
2022 fi
2023
2024 %files
2025 %defattr(644,root,root,755)
2026 %if %{_apache2}
2027 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/httpd/httpd.conf/*_mod_php.conf
2028 %endif
2029 %attr(755,root,root) %{_libdir}/apache/libphp4.so
2030 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-apache.ini
2031
2032 %files cgi
2033 %defattr(644,root,root,755)
2034 %attr(755,root,root) %{_bindir}/php
2035 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cgi.ini
2036
2037 %files common
2038 %defattr(644,root,root,755)
2039 %doc php.ini-*
2040 %doc CODING_STANDARDS CREDITS Zend/ZEND_CHANGES
2041 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2042 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2043
2044 %dir %{_sysconfdir}
2045 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
2046 %attr(730,root,http) %dir %verify(not group mode) /var/run/php
2047
2048 /home/services/httpd/icons/*
2049 %attr(755,root,root) %{_sbindir}/*
2050 %attr(755,root,root) %{_libdir}/libphp_common*.so.*.*.*
2051 %dir %{extensionsdir}
2052
2053 %files devel
2054 %defattr(644,root,root,755)
2055 %{_includedir}/php
2056 %{_libdir}/php/build
2057 %attr(755,root,root) %{_bindir}/phpextdist
2058 %attr(755,root,root) %{_bindir}/phpize
2059 %attr(755,root,root) %{_bindir}/php-config
2060
2061 %files doc
2062 %defattr(644,root,root,755)
2063 %doc manual/*
2064
2065 %files bcmath
2066 %defattr(644,root,root,755)
2067 %attr(755,root,root) %{extensionsdir}/bcmath.so
2068
2069 %files bzip2
2070 %defattr(644,root,root,755)
2071 %attr(755,root,root) %{extensionsdir}/bz2.so
2072
2073 %files calendar
2074 %defattr(644,root,root,755)
2075 %attr(755,root,root) %{extensionsdir}/calendar.so
2076
2077 %if %{?_without_cpdf:0}%{!?_without_cpdf:1}
2078 %files cpdf
2079 %defattr(644,root,root,755)
2080 %attr(755,root,root) %{extensionsdir}/cpdf.so
2081 %endif
2082
2083 %files crack
2084 %defattr(644,root,root,755)
2085 %attr(755,root,root) %{extensionsdir}/crack.so
2086
2087 %files ctype
2088 %defattr(644,root,root,755)
2089 %attr(755,root,root) %{extensionsdir}/ctype.so
2090
2091 %if %{!?_without_curl:1}%{?_without_curl:0}
2092 %files curl
2093 %defattr(644,root,root,755)
2094 %attr(755,root,root) %{extensionsdir}/curl.so
2095 %endif
2096
2097 %files dba
2098 %defattr(644,root,root,755)
2099 %attr(755,root,root) %{extensionsdir}/dba.so
2100
2101 %files dbase
2102 %defattr(644,root,root,755)
2103 %attr(755,root,root) %{extensionsdir}/dbase.so
2104
2105 %files dbx
2106 %defattr(644,root,root,755)
2107 %attr(755,root,root) %{extensionsdir}/dbx.so
2108
2109 %files dio
2110 %defattr(644,root,root,755)
2111 %attr(755,root,root) %{extensionsdir}/dio.so
2112
2113 %files domxml
2114 %defattr(644,root,root,755)
2115 %attr(755,root,root) %{extensionsdir}/domxml.so
2116
2117 %files exif
2118 %defattr(644,root,root,755)
2119 %attr(755,root,root) %{extensionsdir}/exif.so
2120
2121 %files filepro
2122 %defattr(644,root,root,755)
2123 %attr(755,root,root) %{extensionsdir}/filepro.so
2124
2125 %files ftp
2126 %defattr(644,root,root,755)
2127 %attr(755,root,root) %{extensionsdir}/ftp.so
2128
2129 %files gd
2130 %defattr(644,root,root,755)
2131 %attr(755,root,root) %{extensionsdir}/gd.so
2132
2133 %files gettext
2134 %defattr(644,root,root,755)
2135 %attr(755,root,root) %{extensionsdir}/gettext.so
2136
2137 %files gmp
2138 %defattr(644,root,root,755)
2139 %attr(755,root,root) %{extensionsdir}/gmp.so
2140
2141 %files hyperwave
2142 %defattr(644,root,root,755)
2143 %attr(755,root,root) %{extensionsdir}/hyperwave.so
2144
2145 %files iconv
2146 %defattr(644,root,root,755)
2147 %attr(755,root,root) %{extensionsdir}/iconv.so
2148
2149 %if %{?_without_imap:0}%{!?_without_imap:1}
2150 %files imap
2151 %defattr(644,root,root,755)
2152 %attr(755,root,root) %{extensionsdir}/imap.so
2153 %endif
2154
2155 %if %{?_without_interbase:0}%{!?_without_interbase:1}
2156 %files interbase
2157 %defattr(644,root,root,755)
2158 %attr(755,root,root) %{extensionsdir}/interbase.so
2159 %endif
2160
2161 %if %{?_with_java:1}%{!?_with_java:0}
2162 %files java
2163 %defattr(644,root,root,755)
2164 %attr(755,root,root) %{extensionsdir}/java.so
2165 %{_libdir}/php_java.jar
2166 %endif
2167
2168 %if %{?_without_ldap:0}%{!?_without_ldap:1}
2169 %files ldap
2170 %defattr(644,root,root,755)
2171 %attr(755,root,root) %{extensionsdir}/ldap.so
2172 %endif
2173
2174 %files mbstring
2175 %defattr(644,root,root,755)
2176 %attr(755,root,root) %{extensionsdir}/mbstring.so
2177
2178 %files mcal
2179 %defattr(644,root,root,755)
2180 %attr(755,root,root) %{extensionsdir}/mcal.so
2181
2182 %files mcrypt
2183 %defattr(644,root,root,755)
2184 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2185
2186 %if %{!?_without_mhash:1}%{?_without_mhash:0}
2187 %files mhash
2188 %defattr(644,root,root,755)
2189 %attr(755,root,root) %{extensionsdir}/mhash.so
2190 %endif
2191
2192 %if %{!?_without_ming:1}%{?_without_ming:0}
2193 %files ming
2194 %defattr(644,root,root,755)
2195 %attr(755,root,root) %{extensionsdir}/ming.so
2196 %endif
2197
2198 %if %{!?_without_mnogosearch:1}%{?_without_mnogosearch:0}
2199 %files mnogosearch
2200 %defattr(644,root,root,755)
2201 %attr(755,root,root) %{extensionsdir}/mnogosearch.so
2202 %endif
2203
2204 %if %{?_without_msession:0}%{!?_without_msession:1}
2205 %files msession
2206 %defattr(644,root,root,755)
2207 %attr(755,root,root) %{extensionsdir}/msession.so
2208 %endif
2209
2210 %files mysql
2211 %defattr(644,root,root,755)
2212 %attr(755,root,root) %{extensionsdir}/mysql.so
2213
2214 %if %{?_with_oci8:1}%{!?_with_oci8:0}
2215 %files oci8
2216 %defattr(644,root,root,755)
2217 %attr(755,root,root) %{extensionsdir}/oci8.so
2218 %endif
2219
2220 %if %{?_without_odbc:0}%{!?_without_odbc:1}
2221 %files odbc
2222 %defattr(644,root,root,755)
2223 %attr(755,root,root) %{extensionsdir}/odbc.so
2224 %endif
2225
2226 %if %{?_without_openssl:0}%{!?_without_openssl:1}
2227 %files openssl
2228 %defattr(644,root,root,755)
2229 %attr(755,root,root) %{extensionsdir}/openssl.so
2230 %endif
2231
2232 %if %{?_with_oracle:1}%{!?_with_oracle:0}
2233 %files oracle
2234 %defattr(644,root,root,755)
2235 %attr(755,root,root) %{extensionsdir}/oracle.so
2236 %endif
2237
2238 %files overload
2239 %defattr(644,root,root,755)
2240 %attr(755,root,root) %{extensionsdir}/overload.so
2241
2242 %if %{?_with_pcntl:1}%{!?_with_pcntl:0}
2243 %files pcntl
2244 %defattr(644,root,root,755)
2245 %attr(755,root,root) %{extensionsdir}/pcntl.so
2246 %endif
2247
2248 %if %{?_without_pcre:0}%{!?_without_pcre:1}
2249 %files pcre
2250 %defattr(644,root,root,755)
2251 %attr(755,root,root) %{extensionsdir}/pcre.so
2252 %endif
2253
2254 %if %{?_without_pdf:0}%{!?_without_pdf:1}
2255 %files pdf
2256 %defattr(644,root,root,755)
2257 %attr(755,root,root) %{extensionsdir}/pdf.so
2258 %endif
2259
2260 %if %{!?_without_pgsql:1}%{?_without_pgsql:0}
2261 %files pgsql
2262 %defattr(644,root,root,755)
2263 %attr(755,root,root) %{extensionsdir}/pgsql.so
2264 %endif
2265
2266 %files posix
2267 %defattr(644,root,root,755)
2268 %attr(755,root,root) %{extensionsdir}/posix.so
2269
2270 %if %{!?_without_pspell:1}%{?_without_pspell:0}
2271 %files pspell
2272 %defattr(644,root,root,755)
2273 %attr(755,root,root) %{extensionsdir}/pspell.so
2274 %endif
2275
2276 %if %{?_without_recode:0}%{!?_without_recode:1}
2277 %files recode
2278 %defattr(644,root,root,755)
2279 %attr(755,root,root) %{extensionsdir}/recode.so
2280 %endif
2281
2282 # session_mm doesn't work with shared session
2283 #%files session
2284 #%defattr(644,root,root,755)
2285 #%attr(755,root,root) %{extensionsdir}/session.so
2286
2287 %files shmop
2288 %defattr(644,root,root,755)
2289 %attr(755,root,root) %{extensionsdir}/shmop.so
2290
2291 %if %{?_without_snmp:0}%{!?_without_snmp:1}
2292 %files snmp
2293 %defattr(644,root,root,755)
2294 %attr(755,root,root) %{extensionsdir}/snmp.so
2295 %endif
2296
2297 %files sockets
2298 %defattr(644,root,root,755)
2299 %attr(755,root,root) %{extensionsdir}/sockets.so
2300
2301 %if %{?_without_sybase_ct:0}%{!?_without_sybase_ct:1}
2302 %files sybase-ct
2303 %defattr(644,root,root,755)
2304 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2305 %endif
2306
2307 %files sysvsem
2308 %defattr(644,root,root,755)
2309 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2310
2311 %files sysvshm
2312 %defattr(644,root,root,755)
2313 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2314
2315 %if %{?_without_wddx:0}%{!?_without_wddx:1}
2316 %files wddx
2317 %defattr(644,root,root,755)
2318 %attr(755,root,root) %{extensionsdir}/wddx.so
2319 %endif
2320
2321 %if %{?_without_xml:0}%{!?_without_xml:1}
2322 %files xml
2323 %defattr(644,root,root,755)
2324 %attr(755,root,root) %{extensionsdir}/xml.so
2325 %endif
2326
2327 %if %{?_without_xmlrpc:0}%{!?_without_xmlrpc:1}
2328 %files xmlrpc
2329 %defattr(644,root,root,755)
2330 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
2331 %endif
2332
2333 %if %{?_without_xslt:0}%{!?_without_xslt:1}
2334 %files xslt
2335 %defattr(644,root,root,755)
2336 %attr(755,root,root) %{extensionsdir}/xslt.so
2337 %endif
2338
2339 %files yaz
2340 %defattr(644,root,root,755)
2341 %attr(755,root,root) %{extensionsdir}/yaz.so
2342
2343 %files yp
2344 %defattr(644,root,root,755)
2345 %attr(755,root,root) %{extensionsdir}/yp.so
2346
2347 %files zip
2348 %defattr(644,root,root,755)
2349 %attr(755,root,root) %{extensionsdir}/zip.so
2350
2351 %files zlib
2352 %defattr(644,root,root,755)
2353 %attr(755,root,root) %{extensionsdir}/zlib.so
2354
2355 %files pear
2356 %defattr(644,root,root,755)
2357 %dir %{php_pear_dir}
2358 %dir %{php_pear_dir}/Archive
2359 %dir %{php_pear_dir}/Auth
2360 %dir %{php_pear_dir}/Console
2361 %dir %{php_pear_dir}/Crypt
2362 %dir %{php_pear_dir}/Date
2363 %dir %{php_pear_dir}/DB
2364 %dir %{php_pear_dir}/File
2365 %dir %{php_pear_dir}/HTML
2366 %dir %{php_pear_dir}/HTML/Template
2367 %dir %{php_pear_dir}/HTTP
2368 %dir %{php_pear_dir}/Image
2369 %dir %{php_pear_dir}/Mail
2370 %dir %{php_pear_dir}/Net
2371 %dir %{php_pear_dir}/PEAR
2372 %dir %{php_pear_dir}/Schedule
2373 %dir %{php_pear_dir}/Science
2374 %dir %{php_pear_dir}/XML
2375
2376 %files pear-additional_classes
2377 %defattr(644,root,root,755)
2378 %attr(644,root,root) %{php_pear_dir}/Crypt/HCEMD5.php
2379 %attr(644,root,root) %{php_pear_dir}/File/Passwd.php
2380 %attr(644,root,root) %{php_pear_dir}/HTML/Form.php
2381 %attr(644,root,root) %{php_pear_dir}/HTML/IT*.php
2382 %attr(644,root,root) %{php_pear_dir}/HTML/Page.php
2383 %attr(644,root,root) %{php_pear_dir}/HTML/Processor.php
2384 %attr(644,root,root) %{php_pear_dir}/HTML/Select.php
2385 %attr(644,root,root) %{php_pear_dir}/HTTP/Compress.php
2386 %attr(644,root,root) %{php_pear_dir}/Schedule/At.php
2387
2388 %files pear-devel
2389 %defattr(644,root,root,755)
2390 # in proper class now
2391 #%attr(755,root,root) %{_bindir}/pear
2392 %attr(755,root,root) %{_bindir}/pearize
2393 %attr(755,root,root) %{_bindir}/phptar
This page took 0.385107 seconds and 3 git commands to generate.