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