2 |
%define name smeserver-clamav |
%define name smeserver-clamav |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 1.2.0 |
%define version 1.2.0 |
5 |
%define release 22 |
%define release 26 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
26 |
Patch15: smeserver-clamav-1.2.0-clamver.patch |
Patch15: smeserver-clamav-1.2.0-clamver.patch |
27 |
Patch16: smeserver-clamav-1.2.0-MoveCronTemplate.patch |
Patch16: smeserver-clamav-1.2.0-MoveCronTemplate.patch |
28 |
Patch17: smeserver-clamav-1.2.0-clamav93.patch |
Patch17: smeserver-clamav-1.2.0-clamav93.patch |
29 |
|
Patch18: smeserver-clamav-1.2.0-add2general.patch |
30 |
|
Patch19: smeserver-clamav-1.2.0-crontab.patch |
31 |
|
Patch20: smeserver-clamav-1.2.0-cleanlocale.patch |
32 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
33 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
34 |
Requires: e-smith-lib |
Requires: e-smith-lib |
35 |
|
Requires: e-smith-base |
36 |
Requires: clamav >= 0.93 |
Requires: clamav >= 0.93 |
37 |
Requires: clamd >= 0.93 |
Requires: clamd >= 0.93 |
38 |
Requires: clamav-db |
Requires: clamav-db |
39 |
Requires: e-smith-formmagick >= 1.4.0-9 |
Requires: e-smith-formmagick >= 1.4.0-12 |
40 |
Provides: e-smith-clamav |
Provides: e-smith-clamav |
41 |
Obsoletes: e-smith-clamav |
Obsoletes: e-smith-clamav |
42 |
Obsoletes: clamav-es |
Obsoletes: clamav-es |
44 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
45 |
|
|
46 |
%description |
%description |
47 |
e-smith server enhancement to configure and run clamd and |
SME Server enhancement to configure and run clamd and freshclam |
|
freshclam |
|
48 |
|
|
49 |
%changelog |
%changelog |
50 |
|
* Mon Sep 22 2008 Stephen Noble <support@dungog.net> 1.2.0-26 |
51 |
|
- Remove obsolete locale tags [SME: 4235] |
52 |
|
|
53 |
|
* Sun Aug 10 2008 Shad L. Lords <slords@mail.com> 1.2.0-25 |
54 |
|
- Remove links to crontab in all but clamav-update [SME: 4494] |
55 |
|
|
56 |
|
* Wed Apr 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-24 |
57 |
|
- Remove any /etc/cron.d/clamav file. We moved the content to /etc/crontab |
58 |
|
[SME: 1047], but we need to remove any leftover file from earlier template |
59 |
|
expansion, which, if present, could cause the nightly file scanning to be |
60 |
|
run twice. [SME: 4266] |
61 |
|
|
62 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-23 |
63 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4288] |
64 |
|
|
65 |
* Fri Apr 25 2008 Charlie Brady <charlie_brady@mitel.com> 1.2.0-22 |
* Fri Apr 25 2008 Charlie Brady <charlie_brady@mitel.com> 1.2.0-22 |
66 |
- Add Obsoletes headers to force removal of clamav-es and |
- Add Obsoletes headers to force removal of clamav-es and |
67 |
clamav-es-libs. [SME 4167] |
clamav-es-libs. [SME 4167] |
328 |
%patch15 -p1 |
%patch15 -p1 |
329 |
%patch16 -p1 |
%patch16 -p1 |
330 |
%patch17 -p1 |
%patch17 -p1 |
331 |
|
%patch18 -p1 |
332 |
|
%patch19 -p1 |
333 |
|
%patch20 -p1 |
334 |
|
|
335 |
%build |
%build |
336 |
perl createlinks |
perl createlinks |
343 |
%pre |
%pre |
344 |
|
|
345 |
%post |
%post |
346 |
|
rm -f /etc/cron.d/clamav |
347 |
|
|
348 |
%install |
%install |
349 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |