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