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