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