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