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