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