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