]> git.pld-linux.org Git - packages/php4.git/blob - php4.spec
- %service -q, because only apache package should say to start apache, not php packages
[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.48%{?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 -q 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 -q 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 -q apache restart \
1945         [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q 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 -q apache restart \
1952         [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q 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 # compensate missing restart of earlier -common package.
1962 %triggerpostun common -- %{name}-common < 3:4.4.0-4.42
1963 [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart
1964 [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart
1965
1966 %if %{with apache2}
1967 %triggerpostun -- php4 < 3:4.3.11-4.16
1968 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1969 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1970         cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1971         mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
1972 fi
1973 # extra trigger, if they did not upgrade to 3:4.4.0-2 but still had old php-apache.ini
1974 %triggerpostun -n apache-mod_php4 -- apache-mod_php4 < 3:4.4.0-2.16
1975 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1976 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1977         cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1978         mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
1979 fi
1980 %endif
1981
1982 %post bcmath
1983 %extension_post
1984
1985 %postun bcmath
1986 %extension_postun
1987
1988 %post bzip2
1989 %extension_post
1990
1991 %postun bzip2
1992 %extension_postun
1993
1994 %post calendar
1995 %extension_post
1996
1997 %postun calendar
1998 %extension_postun
1999
2000 %post cpdf
2001 %extension_post
2002
2003 %postun cpdf
2004 %extension_postun
2005
2006 %post crack
2007 %extension_post
2008
2009 %postun crack
2010 %extension_postun
2011
2012 %post ctype
2013 %extension_post
2014
2015 %postun ctype
2016 %extension_postun
2017
2018 %post curl
2019 %extension_post
2020
2021 %postun curl
2022 %extension_postun
2023
2024 %post db
2025 %extension_post
2026
2027 %postun db
2028 %extension_postun
2029
2030 %post dba
2031 %extension_post
2032
2033 %postun dba
2034 %extension_postun
2035
2036 %post dbase
2037 %extension_post
2038
2039 %postun dbase
2040 %extension_postun
2041
2042 %post dbx
2043 %extension_post
2044
2045 %postun dbx
2046 %extension_postun
2047
2048 %post dio
2049 %extension_post
2050
2051 %postun dio
2052 %extension_postun
2053
2054 %post domxml
2055 %extension_post
2056
2057 %postun domxml
2058 %extension_postun
2059
2060 %post exif
2061 %extension_post
2062
2063 %postun exif
2064 %extension_postun
2065
2066 %post fdf
2067 %extension_post
2068
2069 %postun fdf
2070 %extension_postun
2071
2072 %post filepro
2073 %extension_post
2074
2075 %postun filepro
2076 %extension_postun
2077
2078 %post fribidi
2079 %extension_post
2080
2081 %postun fribidi
2082 %extension_postun
2083
2084 %post ftp
2085 %extension_post
2086
2087 %postun ftp
2088 %extension_postun
2089
2090 %post gd
2091 %extension_post
2092
2093 %postun gd
2094 %extension_postun
2095
2096 %post gettext
2097 %extension_post
2098
2099 %postun gettext
2100 %extension_postun
2101
2102 %post gmp
2103 %extension_post
2104
2105 %postun gmp
2106 %extension_postun
2107
2108 %post hyperwave
2109 %extension_post
2110
2111 %postun hyperwave
2112 %extension_postun
2113
2114 %post iconv
2115 %extension_post
2116
2117 %postun iconv
2118 %extension_postun
2119
2120 %post imap
2121 %extension_post
2122
2123 %postun imap
2124 %extension_postun
2125
2126 %post interbase
2127 %extension_post
2128
2129 %postun interbase
2130 %extension_postun
2131
2132 %post java
2133 %extension_post
2134
2135 %postun java
2136 %extension_postun
2137
2138 %post ldap
2139 %extension_post
2140
2141 %postun ldap
2142 %extension_postun
2143
2144 %post mbstring
2145 %extension_post
2146
2147 %postun mbstring
2148 %extension_postun
2149
2150 %post mcal
2151 %extension_post
2152
2153 %postun mcal
2154 %extension_postun
2155
2156 %post mcrypt
2157 %extension_post
2158
2159 %postun mcrypt
2160 %extension_postun
2161
2162 %post mhash
2163 %extension_post
2164
2165 %postun mhash
2166 %extension_postun
2167
2168 %post mime_magic
2169 %extension_post
2170
2171 %postun mime_magic
2172 %extension_postun
2173
2174 %post ming
2175 %extension_post
2176
2177 %postun ming
2178 %extension_postun
2179
2180 %post mnogosearch
2181 %extension_post
2182
2183 %postun mnogosearch
2184 %extension_postun
2185
2186 %post msession
2187 %extension_post
2188
2189 %postun msession
2190 %extension_postun
2191
2192 %post mssql
2193 %extension_post
2194
2195 %postun mssql
2196 %extension_postun
2197
2198 %post mysql
2199 %extension_post
2200
2201 %postun mysql
2202 %extension_postun
2203
2204 %post ncurses
2205 # NOTE: only for cli/cgi
2206 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2207         %{_sbindir}/php4-module-install install ncurses %{_sysconfdir}/php-cgi.ini
2208 fi
2209 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2210         %{_sbindir}/php4-module-install install ncurses %{_sysconfdir}/php-cli.ini
2211 fi
2212
2213 %preun ncurses
2214 if [ "$1" = "0" ]; then
2215         if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2216                 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove ncurses %{_sysconfdir}/php-cgi.ini
2217         fi
2218         if [ -f %{_sysconfdir}/php-cli.ini ]; then
2219                 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove ncurses %{_sysconfdir}/php-cli.ini
2220         fi
2221 fi
2222
2223 %post oci8
2224 %extension_post
2225
2226 %postun oci8
2227 %extension_postun
2228
2229 %post odbc
2230 %extension_post
2231
2232 %postun odbc
2233 %extension_postun
2234
2235 %post oracle
2236 %extension_post
2237
2238 %postun oracle
2239 %extension_postun
2240
2241 %post overload
2242 %extension_post
2243
2244 %postun overload
2245 %extension_postun
2246
2247 %post pcntl
2248 # NOTE: only for cli/cgi
2249 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2250         %{_sbindir}/php4-module-install install pcntl %{_sysconfdir}/php-cgi.ini
2251 fi
2252 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2253         %{_sbindir}/php4-module-install install pcntl %{_sysconfdir}/php-cli.ini
2254 fi
2255
2256 %preun pcntl
2257 if [ "$1" = "0" ]; then
2258         if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2259                 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove pcntl %{_sysconfdir}/php-cgi.ini
2260         fi
2261         if [ -f %{_sysconfdir}/php-cli.ini ]; then
2262                 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove pcntl %{_sysconfdir}/php-cli.ini
2263         fi
2264 fi
2265
2266 %post pcre
2267 %extension_post
2268
2269 %postun pcre
2270 %extension_postun
2271
2272 %post pdf
2273 %extension_post
2274
2275 %postun pdf
2276 %extension_postun
2277
2278 %post pgsql
2279 %extension_post
2280
2281 %postun pgsql
2282 %extension_postun
2283
2284 %post posix
2285 %extension_post
2286
2287 %postun posix
2288 %extension_postun
2289
2290 %post pspell
2291 %extension_post
2292
2293 %postun pspell
2294 %extension_postun
2295
2296 %post qtdom
2297 %extension_post
2298
2299 %postun qtdom
2300 %extension_postun
2301
2302 %post readline
2303 # NOTE: only for cli/cgi
2304 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2305         %{_sbindir}/php4-module-install install readline %{_sysconfdir}/php-cgi.ini
2306 fi
2307 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2308         %{_sbindir}/php4-module-install install readline %{_sysconfdir}/php-cli.ini
2309 fi
2310
2311 %preun readline
2312 if [ "$1" = "0" ]; then
2313         if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2314                 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove readline %{_sysconfdir}/php-cgi.ini
2315         fi
2316         if [ -f %{_sysconfdir}/php-cli.ini ]; then
2317                 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove readline %{_sysconfdir}/php-cli.ini
2318         fi
2319 fi
2320
2321 %post recode
2322 %extension_post
2323
2324 %postun recode
2325 %extension_postun
2326
2327 %post session
2328 %extension_post
2329
2330 %postun session
2331 %extension_postun
2332
2333 %post shmop
2334 %extension_post
2335
2336 %postun shmop
2337 %extension_postun
2338
2339 %post snmp
2340 %extension_post
2341
2342 %postun snmp
2343 %extension_postun
2344
2345 %post sockets
2346 %extension_post
2347
2348 %postun sockets
2349 %extension_postun
2350
2351 %post sybase
2352 %extension_post
2353
2354 %postun sybase
2355 %extension_postun
2356
2357 %post sybase-ct
2358 %extension_post
2359
2360 %postun sybase-ct
2361 %extension_postun
2362
2363 %post sysvmsg
2364 %extension_post
2365
2366 %postun sysvmsg
2367 %extension_postun
2368
2369 %post sysvsem
2370 %extension_post
2371
2372 %postun sysvsem
2373 %extension_postun
2374
2375 %post sysvshm
2376 %extension_post
2377
2378 %postun sysvshm
2379 %extension_postun
2380
2381 %post wddx
2382 %extension_post
2383
2384 %postun wddx
2385 %extension_postun
2386
2387 %post xml
2388 %extension_post
2389
2390 %postun xml
2391 %extension_postun
2392
2393 %post xmlrpc
2394 %extension_post
2395
2396 %postun xmlrpc
2397 %extension_postun
2398
2399 %post xslt
2400 %extension_post
2401
2402 %postun xslt
2403 %extension_postun
2404
2405 %post yaz
2406 %extension_post
2407
2408 %postun yaz
2409 %extension_postun
2410
2411 %post yp
2412 %extension_post
2413
2414 %postun yp
2415 %extension_postun
2416
2417 %post zip
2418 %extension_post
2419
2420 %postun zip
2421 %extension_postun
2422
2423 %post zlib
2424 %extension_post
2425
2426 %postun zlib
2427 %extension_postun
2428
2429 # openssl trigger on common package. it removes shared openssl module from php.ini, if it was there.
2430 %triggerun common -- %{name}-openssl < 3:4.4.0-4
2431 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove openssl %{_sysconfdir}/php.ini
2432
2433 %triggerun bcmath -- %{name}-bcmath < 3:4.4.0-2.1
2434 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove bcmath %{_sysconfdir}/php.ini
2435
2436 %triggerun bzip2 -- %{name}-bzip2 < 3:4.4.0-2.1
2437 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove bz2 %{_sysconfdir}/php.ini
2438
2439 %triggerun calendar -- %{name}-calendar < 3:4.4.0-2.1
2440 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove calendar %{_sysconfdir}/php.ini
2441
2442 %triggerun cpdf -- %{name}-cpdf < 3:4.4.0-2.1
2443 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove cpdf %{_sysconfdir}/php.ini
2444
2445 %triggerun crack -- %{name}-crack < 3:4.4.0-2.1
2446 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove crack %{_sysconfdir}/php.ini
2447
2448 %triggerun ctype -- %{name}-ctype < 3:4.4.0-2.1
2449 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove ctype %{_sysconfdir}/php.ini
2450
2451 %triggerun curl -- %{name}-curl < 3:4.4.0-2.1
2452 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove curl %{_sysconfdir}/php.ini
2453
2454 %triggerun db -- %{name}-db < 3:4.4.0-2.1
2455 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove db %{_sysconfdir}/php.ini
2456
2457 %triggerun dba -- %{name}-dba < 3:4.4.0-2.1
2458 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove dba %{_sysconfdir}/php.ini
2459
2460 %triggerun dbase -- %{name}-dbase < 3:4.4.0-2.1
2461 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove dbase %{_sysconfdir}/php.ini
2462
2463 %triggerun dbx -- %{name}-dbx < 3:4.4.0-2.1
2464 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove dbx %{_sysconfdir}/php.ini
2465
2466 %triggerun dio -- %{name}-dio < 3:4.4.0-2.1
2467 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove dio %{_sysconfdir}/php.ini
2468
2469 %triggerun domxml -- %{name}-domxml < 3:4.4.0-2.1
2470 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove domxml %{_sysconfdir}/php.ini
2471
2472 %triggerun exif -- %{name}-exif < 3:4.4.0-2.1
2473 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove exif %{_sysconfdir}/php.ini
2474
2475 %triggerun fdf -- %{name}-fdf < 3:4.4.0-2.1
2476 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove fdf %{_sysconfdir}/php.ini
2477
2478 %triggerun filepro -- %{name}-filepro < 3:4.4.0-2.1
2479 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove filepro %{_sysconfdir}/php.ini
2480
2481 %triggerun fribidi -- %{name}-fribidi < 3:4.4.0-2.1
2482 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove fribidi %{_sysconfdir}/php.ini
2483
2484 %triggerun ftp -- %{name}-ftp < 3:4.4.0-2.1
2485 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove ftp %{_sysconfdir}/php.ini
2486
2487 %triggerun gd -- %{name}-gd < 3:4.4.0-2.1
2488 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove gd %{_sysconfdir}/php.ini
2489
2490 %triggerun gettext -- %{name}-gettext < 3:4.4.0-2.1
2491 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove gettext %{_sysconfdir}/php.ini
2492
2493 %triggerun gmp -- %{name}-gmp < 3:4.4.0-2.1
2494 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove gmp %{_sysconfdir}/php.ini
2495
2496 %triggerun hyperwave -- %{name}-hyperwave < 3:4.4.0-2.1
2497 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove hyperwave %{_sysconfdir}/php.ini
2498
2499 %triggerun iconv -- %{name}-iconv < 3:4.4.0-2.1
2500 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove iconv %{_sysconfdir}/php.ini
2501
2502 %triggerun imap -- %{name}-imap < 3:4.4.0-2.1
2503 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove imap %{_sysconfdir}/php.ini
2504
2505 %triggerun interbase -- %{name}-interbase < 3:4.4.0-2.1
2506 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove interbase %{_sysconfdir}/php.ini
2507
2508 %triggerun java -- %{name}-java < 3:4.4.0-2.1
2509 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove java %{_sysconfdir}/php.ini
2510
2511 %triggerun ldap -- %{name}-ldap < 3:4.4.0-2.1
2512 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove ldap %{_sysconfdir}/php.ini
2513
2514 %triggerun mbstring -- %{name}-mbstring < 3:4.4.0-2.1
2515 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove mbstring %{_sysconfdir}/php.ini
2516
2517 %triggerun mcal -- %{name}-mcal < 3:4.4.0-2.1
2518 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove mcal %{_sysconfdir}/php.ini
2519
2520 %triggerun mcrypt -- %{name}-mcrypt < 3:4.4.0-2.1
2521 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove mcrypt %{_sysconfdir}/php.ini
2522
2523 %triggerun mhash -- %{name}-mhash < 3:4.4.0-2.1
2524 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove mhash %{_sysconfdir}/php.ini
2525
2526 %triggerun mime_magic -- %{name}-mime_magic < 3:4.4.0-2.1
2527 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove mime_magic %{_sysconfdir}/php.ini
2528
2529 %triggerun ming -- %{name}-ming < 3:4.4.0-2.1
2530 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove ming %{_sysconfdir}/php.ini
2531
2532 %triggerun mnogosearch -- %{name}-mnogosearch < 3:4.4.0-2.1
2533 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove mnogosearch %{_sysconfdir}/php.ini
2534
2535 %triggerun msession -- %{name}-msession < 3:4.4.0-2.1
2536 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove msession %{_sysconfdir}/php.ini
2537
2538 %triggerun mssql -- %{name}-mssql < 3:4.4.0-2.1
2539 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove mssql %{_sysconfdir}/php.ini
2540
2541 %triggerun mysql -- %{name}-mysql < 3:4.4.0-2.1
2542 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove mysql %{_sysconfdir}/php.ini
2543
2544 %triggerun oci8 -- %{name}-oci8 < 3:4.4.0-2.1
2545 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove oci8 %{_sysconfdir}/php.ini
2546
2547 %triggerun odbc -- %{name}-odbc < 3:4.4.0-2.1
2548 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove odbc %{_sysconfdir}/php.ini
2549
2550 %triggerun oracle -- %{name}-oracle < 3:4.4.0-2.1
2551 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove oracle %{_sysconfdir}/php.ini
2552
2553 %triggerun overload -- %{name}-overload < 3:4.4.0-2.1
2554 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove overload %{_sysconfdir}/php.ini
2555
2556 %triggerun pcre -- %{name}-pcre < 3:4.4.0-2.1
2557 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove pcre %{_sysconfdir}/php.ini
2558
2559 %triggerun pdf -- %{name}-pdf < 3:4.4.0-2.1
2560 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove pdf %{_sysconfdir}/php.ini
2561
2562 %triggerun pgsql -- %{name}-pgsql < 3:4.4.0-2.1
2563 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove pgsql %{_sysconfdir}/php.ini
2564
2565 %triggerun posix -- %{name}-posix < 3:4.4.0-2.1
2566 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove posix %{_sysconfdir}/php.ini
2567
2568 %triggerun pspell -- %{name}-pspell < 3:4.4.0-2.1
2569 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove pspell %{_sysconfdir}/php.ini
2570
2571 %triggerun qtdom -- %{name}-qtdom < 3:4.4.0-2.1
2572 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove qtdom %{_sysconfdir}/php.ini
2573
2574 %triggerun recode -- %{name}-recode < 3:4.4.0-2.1
2575 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove recode %{_sysconfdir}/php.ini
2576
2577 %triggerun session -- %{name}-session < 3:4.4.0-2.1
2578 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove session %{_sysconfdir}/php.ini
2579
2580 %triggerun shmop -- %{name}-shmop < 3:4.4.0-2.1
2581 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove shmop %{_sysconfdir}/php.ini
2582
2583 %triggerun snmp -- %{name}-snmp < 3:4.4.0-2.1
2584 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove snmp %{_sysconfdir}/php.ini
2585
2586 %triggerun sockets -- %{name}-sockets < 3:4.4.0-2.1
2587 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove sockets %{_sysconfdir}/php.ini
2588
2589 %triggerun sybase -- %{name}-sybase < 3:4.4.0-2.1
2590 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove sybase %{_sysconfdir}/php.ini
2591
2592 %triggerun sybase-ct -- %{name}-sybase-ct < 3:4.4.0-2.1
2593 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove sybase_ct %{_sysconfdir}/php.ini
2594
2595 %triggerun sysvmsg -- %{name}-sysvmsg < 3:4.4.0-2.1
2596 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove sysvmsg %{_sysconfdir}/php.ini
2597
2598 %triggerun sysvsem -- %{name}-sysvsem < 3:4.4.0-2.1
2599 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove sysvsem %{_sysconfdir}/php.ini
2600
2601 %triggerun sysvshm -- %{name}-sysvshm < 3:4.4.0-2.1
2602 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove sysvshm %{_sysconfdir}/php.ini
2603
2604 %triggerun wddx -- %{name}-wddx < 3:4.4.0-2.1
2605 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove wddx %{_sysconfdir}/php.ini
2606
2607 %triggerun xml -- %{name}-xml < 3:4.4.0-2.1
2608 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove xml %{_sysconfdir}/php.ini
2609
2610 %triggerun xmlrpc -- %{name}-xmlrpc < 3:4.4.0-2.1
2611 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove xmlrpc %{_sysconfdir}/php.ini
2612
2613 %triggerun xslt -- %{name}-xslt < 3:4.4.0-2.1
2614 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove xslt %{_sysconfdir}/php.ini
2615
2616 %triggerun yaz -- %{name}-yaz < 3:4.4.0-2.1
2617 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove yaz %{_sysconfdir}/php.ini
2618
2619 %triggerun yp -- %{name}-yp < 3:4.4.0-2.1
2620 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove yp %{_sysconfdir}/php.ini
2621
2622 %triggerun zip -- %{name}-zip < 3:4.4.0-2.1
2623 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove zip %{_sysconfdir}/php.ini
2624
2625 %triggerun zlib -- %{name}-zlib < 3:4.4.0-2.1
2626 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove zlib %{_sysconfdir}/php.ini
2627
2628 %if %{with apache1}
2629 %files -n apache1-mod_php4
2630 %defattr(644,root,root,755)
2631 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/apache/conf.d/*_mod_php4.conf
2632 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-apache.ini
2633 %attr(755,root,root) %{_libdir}/apache1/libphp4.so
2634 /home/services/apache/icons/*
2635 %endif
2636
2637 %if %{with apache2}
2638 %files -n apache-mod_php4
2639 %defattr(644,root,root,755)
2640 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/httpd/httpd.conf/*_mod_php4.conf
2641 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-apache2handler.ini
2642 %attr(755,root,root) %{_libdir}/apache/libphp4.so
2643 /home/services/httpd/icons/*
2644 %endif
2645
2646 %files fcgi
2647 %defattr(644,root,root,755)
2648 %attr(755,root,root) %{_bindir}/php4.fcgi
2649 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cgi-fcgi.ini
2650
2651 %files cgi
2652 %defattr(644,root,root,755)
2653 %attr(755,root,root) %{_bindir}/php4.cgi
2654 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cgi.ini
2655
2656 %files cli
2657 %defattr(644,root,root,755)
2658 %attr(755,root,root) %{_bindir}/php4.cli
2659 # TODO
2660 # - what about _bindir/php symlink?
2661 # - do it same way link /usr/src/linux is done, ie each package updates symlink
2662 %attr(755,root,root) %{_bindir}/php4
2663 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cli.ini
2664 %{_mandir}/man1/php4.1*
2665
2666 %files common
2667 %defattr(644,root,root,755)
2668 %doc php.ini-*
2669 %doc CODING_STANDARDS CREDITS Zend/ZEND_CHANGES
2670 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2671 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2672
2673 %dir %{_sysconfdir}
2674 %dir %{_sysconfdir}/conf.d
2675 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
2676 %attr(770,root,http) %dir %verify(not group mode) /var/run/php
2677 %attr(755,root,root) %{_sbindir}/php4-module-install
2678 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2679 %dir %{extensionsdir}
2680
2681 %files devel
2682 %defattr(644,root,root,755)
2683 %attr(755,root,root) %{_bindir}/phpize
2684 %attr(755,root,root) %{_bindir}/php-config
2685 %attr(755,root,root) %{_libdir}/libphp_common.so
2686 # FIXME: how exactly this is needed? as it contains libdir for apache1 or apache2
2687 %{_libdir}/libphp_common.la
2688 %{_includedir}/php
2689 %{_libdir}/php/build
2690 %{_mandir}/man1/php-config.1*
2691 %{_mandir}/man1/phpize.1*
2692
2693 %files bcmath
2694 %defattr(644,root,root,755)
2695 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/bcmath.ini
2696 %attr(755,root,root) %{extensionsdir}/bcmath.so
2697
2698 %files bzip2
2699 %defattr(644,root,root,755)
2700 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/bz2.ini
2701 %attr(755,root,root) %{extensionsdir}/bz2.so
2702
2703 %files calendar
2704 %defattr(644,root,root,755)
2705 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/calendar.ini
2706 %attr(755,root,root) %{extensionsdir}/calendar.so
2707
2708 %if %{with cpdf}
2709 %files cpdf
2710 %defattr(644,root,root,755)
2711 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/cpdf.ini
2712 %attr(755,root,root) %{extensionsdir}/cpdf.so
2713 %endif
2714
2715 %files crack
2716 %defattr(644,root,root,755)
2717 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/crack.ini
2718 %attr(755,root,root) %{extensionsdir}/crack.so
2719
2720 %files ctype
2721 %defattr(644,root,root,755)
2722 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/ctype.ini
2723 %attr(755,root,root) %{extensionsdir}/ctype.so
2724
2725 %if %{with curl}
2726 %files curl
2727 %defattr(644,root,root,755)
2728 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/curl.ini
2729 %attr(755,root,root) %{extensionsdir}/curl.so
2730 %endif
2731
2732 %files db
2733 %defattr(644,root,root,755)
2734 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/db.ini
2735 %attr(755,root,root) %{extensionsdir}/db.so
2736
2737 %files dba
2738 %defattr(644,root,root,755)
2739 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/dba.ini
2740 %attr(755,root,root) %{extensionsdir}/dba.so
2741
2742 %files dbase
2743 %defattr(644,root,root,755)
2744 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/dbase.ini
2745 %attr(755,root,root) %{extensionsdir}/dbase.so
2746
2747 %files dbx
2748 %defattr(644,root,root,755)
2749 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/dbx.ini
2750 %attr(755,root,root) %{extensionsdir}/dbx.so
2751
2752 %files dio
2753 %defattr(644,root,root,755)
2754 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/dio.ini
2755 %attr(755,root,root) %{extensionsdir}/dio.so
2756
2757 %if %{with xml}
2758 %files domxml
2759 %defattr(644,root,root,755)
2760 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/domxml.ini
2761 %attr(755,root,root) %{extensionsdir}/domxml.so
2762 %endif
2763
2764 %if %{with fdf}
2765 %files fdf
2766 %defattr(644,root,root,755)
2767 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/fdf.ini
2768 %attr(755,root,root) %{extensionsdir}/fdf.so
2769 %endif
2770
2771 %files exif
2772 %defattr(644,root,root,755)
2773 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/exif.ini
2774 %attr(755,root,root) %{extensionsdir}/exif.so
2775
2776 %files filepro
2777 %defattr(644,root,root,755)
2778 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/filepro.ini
2779 %attr(755,root,root) %{extensionsdir}/filepro.so
2780
2781 %if %{with fribidi}
2782 %files fribidi
2783 %defattr(644,root,root,755)
2784 %doc ext/fribidi/{CREDITS,README}
2785 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/fribidi.ini
2786 %attr(755,root,root) %{extensionsdir}/fribidi.so
2787 %endif
2788
2789 %files ftp
2790 %defattr(644,root,root,755)
2791 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/ftp.ini
2792 %attr(755,root,root) %{extensionsdir}/ftp.so
2793
2794 %files gd
2795 %defattr(644,root,root,755)
2796 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/gd.ini
2797 %attr(755,root,root) %{extensionsdir}/gd.so
2798
2799 %files gettext
2800 %defattr(644,root,root,755)
2801 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/gettext.ini
2802 %attr(755,root,root) %{extensionsdir}/gettext.so
2803
2804 %files gmp
2805 %defattr(644,root,root,755)
2806 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/gmp.ini
2807 %attr(755,root,root) %{extensionsdir}/gmp.so
2808
2809 %files hyperwave
2810 %defattr(644,root,root,755)
2811 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/hyperwave.ini
2812 %attr(755,root,root) %{extensionsdir}/hyperwave.so
2813
2814 %files iconv
2815 %defattr(644,root,root,755)
2816 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/iconv.ini
2817 %attr(755,root,root) %{extensionsdir}/iconv.so
2818
2819 %if %{with imap}
2820 %files imap
2821 %defattr(644,root,root,755)
2822 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/imap.ini
2823 %attr(755,root,root) %{extensionsdir}/imap.so
2824 %endif
2825
2826 %if %{with interbase}
2827 %files interbase
2828 %defattr(644,root,root,755)
2829 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/interbase.ini
2830 %attr(755,root,root) %{extensionsdir}/interbase.so
2831 %endif
2832
2833 %if %{with java}
2834 %files java
2835 %defattr(644,root,root,755)
2836 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/java.ini
2837 %attr(755,root,root) %{extensionsdir}/java.so
2838 %{extensionsdir}/php_java.jar
2839 %endif
2840
2841 %if %{with ldap}
2842 %files ldap
2843 %defattr(644,root,root,755)
2844 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/ldap.ini
2845 %attr(755,root,root) %{extensionsdir}/ldap.so
2846 %endif
2847
2848 %files mbstring
2849 %defattr(644,root,root,755)
2850 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mbstring.ini
2851 %attr(755,root,root) %{extensionsdir}/mbstring.so
2852
2853 %files mcal
2854 %defattr(644,root,root,755)
2855 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mcal.ini
2856 %attr(755,root,root) %{extensionsdir}/mcal.so
2857
2858 %files mcrypt
2859 %defattr(644,root,root,755)
2860 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mcrypt.ini
2861 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2862
2863 %if %{with mhash}
2864 %files mhash
2865 %defattr(644,root,root,755)
2866 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mhash.ini
2867 %attr(755,root,root) %{extensionsdir}/mhash.so
2868 %endif
2869
2870 %files mime_magic
2871 %defattr(644,root,root,755)
2872 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mime_magic.ini
2873 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2874
2875 %if %{with ming}
2876 %files ming
2877 %defattr(644,root,root,755)
2878 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/ming.ini
2879 %attr(755,root,root) %{extensionsdir}/ming.so
2880 %endif
2881
2882 %if %{with mnogosearch}
2883 %files mnogosearch
2884 %defattr(644,root,root,755)
2885 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mnogosearch.ini
2886 %attr(755,root,root) %{extensionsdir}/mnogosearch.so
2887 %endif
2888
2889 %if %{with msession}
2890 %files msession
2891 %defattr(644,root,root,755)
2892 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/msession.ini
2893 %attr(755,root,root) %{extensionsdir}/msession.so
2894 %endif
2895
2896 %if %{with mssql}
2897 %files mssql
2898 %defattr(644,root,root,755)
2899 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mssql.ini
2900 %attr(755,root,root) %{extensionsdir}/mssql.so
2901 %endif
2902
2903 %files mysql
2904 %defattr(644,root,root,755)
2905 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mysql.ini
2906 %attr(755,root,root) %{extensionsdir}/mysql.so
2907
2908 %files ncurses
2909 %defattr(644,root,root,755)
2910 %attr(755,root,root) %{extensionsdir}/ncurses.so
2911
2912 %if %{with oci8}
2913 %files oci8
2914 %defattr(644,root,root,755)
2915 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/oci8.ini
2916 %attr(755,root,root) %{extensionsdir}/oci8.so
2917 %endif
2918
2919 %if %{with odbc}
2920 %files odbc
2921 %defattr(644,root,root,755)
2922 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/odbc.ini
2923 %attr(755,root,root) %{extensionsdir}/odbc.so
2924 %endif
2925
2926 %if %{with oracle}
2927 %files oracle
2928 %defattr(644,root,root,755)
2929 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/oracle.ini
2930 %attr(755,root,root) %{extensionsdir}/oracle.so
2931 %endif
2932
2933 %files overload
2934 %defattr(644,root,root,755)
2935 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/overload.ini
2936 %attr(755,root,root) %{extensionsdir}/overload.so
2937
2938 %files pcntl
2939 %defattr(644,root,root,755)
2940 %attr(755,root,root) %{extensionsdir}/pcntl.so
2941
2942 %if %{with pcre}
2943 %files pcre
2944 %defattr(644,root,root,755)
2945 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/pcre.ini
2946 %attr(755,root,root) %{extensionsdir}/pcre.so
2947 %endif
2948
2949 %if %{with pdf}
2950 %files pdf
2951 %defattr(644,root,root,755)
2952 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/pdf.ini
2953 %attr(755,root,root) %{extensionsdir}/pdf.so
2954 %endif
2955
2956 %if %{with pgsql}
2957 %files pgsql
2958 %defattr(644,root,root,755)
2959 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/pgsql.ini
2960 %attr(755,root,root) %{extensionsdir}/pgsql.so
2961 %endif
2962
2963 %files posix
2964 %defattr(644,root,root,755)
2965 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/posix.ini
2966 %attr(755,root,root) %{extensionsdir}/posix.so
2967
2968 %if %{with pspell}
2969 %files pspell
2970 %defattr(644,root,root,755)
2971 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/pspell.ini
2972 %attr(755,root,root) %{extensionsdir}/pspell.so
2973 %endif
2974
2975 %if %{with qtdom}
2976 %files qtdom
2977 %defattr(644,root,root,755)
2978 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/qtdom.ini
2979 %attr(755,root,root) %{extensionsdir}/qtdom.so
2980 %endif
2981
2982 %files readline
2983 %defattr(644,root,root,755)
2984 %attr(755,root,root) %{extensionsdir}/readline.so
2985
2986 %if %{with recode}
2987 %files recode
2988 %defattr(644,root,root,755)
2989 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/recode.ini
2990 %attr(755,root,root) %{extensionsdir}/recode.so
2991 %endif
2992
2993 # session_mm doesn't work with shared session
2994 #%files session
2995 #%defattr(644,root,root,755)
2996 #%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/session.ini
2997 #%attr(755,root,root) %{extensionsdir}/session.so
2998
2999 %files shmop
3000 %defattr(644,root,root,755)
3001 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/shmop.ini
3002 %attr(755,root,root) %{extensionsdir}/shmop.so
3003
3004 %if %{with snmp}
3005 %files snmp
3006 %defattr(644,root,root,755)
3007 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/snmp.ini
3008 %attr(755,root,root) %{extensionsdir}/snmp.so
3009 %endif
3010
3011 %files sockets
3012 %defattr(644,root,root,755)
3013 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sockets.ini
3014 %attr(755,root,root) %{extensionsdir}/sockets.so
3015
3016 %if %{with sybase}
3017 %files sybase
3018 %defattr(644,root,root,755)
3019 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sybase.ini
3020 %attr(755,root,root) %{extensionsdir}/sybase.so
3021
3022 %files sybase-ct
3023 %defattr(644,root,root,755)
3024 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sybase_ct.ini
3025 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
3026 %endif
3027
3028 %files sysvmsg
3029 %defattr(644,root,root,755)
3030 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sysvmsg.ini
3031 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
3032
3033 %files sysvsem
3034 %defattr(644,root,root,755)
3035 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sysvsem.ini
3036 %attr(755,root,root) %{extensionsdir}/sysvsem.so
3037
3038 %files sysvshm
3039 %defattr(644,root,root,755)
3040 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sysvshm.ini
3041 %attr(755,root,root) %{extensionsdir}/sysvshm.so
3042
3043 %if %{with wddx}
3044 %files wddx
3045 %defattr(644,root,root,755)
3046 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/wddx.ini
3047 %attr(755,root,root) %{extensionsdir}/wddx.so
3048 %endif
3049
3050 %if %{with xml}
3051 %files xml
3052 %defattr(644,root,root,755)
3053 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/xml.ini
3054 %attr(755,root,root) %{extensionsdir}/xml.so
3055 %endif
3056
3057 %if %{with xmlrpc}
3058 %files xmlrpc
3059 %defattr(644,root,root,755)
3060 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/xmlrpc.ini
3061 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
3062 %endif
3063
3064 %if %{with xslt}
3065 %files xslt
3066 %defattr(644,root,root,755)
3067 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/xslt.ini
3068 %attr(755,root,root) %{extensionsdir}/xslt.so
3069 %endif
3070
3071 %if %{with yaz}
3072 %files yaz
3073 %defattr(644,root,root,755)
3074 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/yaz.ini
3075 %attr(755,root,root) %{extensionsdir}/yaz.so
3076 %endif
3077
3078 %files yp
3079 %defattr(644,root,root,755)
3080 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/yp.ini
3081 %attr(755,root,root) %{extensionsdir}/yp.so
3082
3083 %files zip
3084 %defattr(644,root,root,755)
3085 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/zip.ini
3086 %attr(755,root,root) %{extensionsdir}/zip.so
3087
3088 %files zlib
3089 %defattr(644,root,root,755)
3090 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/zlib.ini
3091 %attr(755,root,root) %{extensionsdir}/zlib.so
This page took 0.243244 seconds and 3 git commands to generate.