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