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