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