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