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