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