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