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