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