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