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