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