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 19 |
%define release 24 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
24 |
Patch13: smeserver-clamav-1.2.0-rmWeekly.patch |
Patch13: smeserver-clamav-1.2.0-rmWeekly.patch |
25 |
Patch14: smeserver-clamav-1.2.0-tags2general.patch |
Patch14: smeserver-clamav-1.2.0-tags2general.patch |
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 |
28 |
|
Patch17: smeserver-clamav-1.2.0-clamav93.patch |
29 |
|
Patch18: smeserver-clamav-1.2.0-add2general.patch |
30 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
31 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
32 |
Requires: e-smith-lib |
Requires: e-smith-lib |
33 |
Requires: clamav >= 0.90 |
Requires: clamav >= 0.93 |
34 |
Requires: clamd >= 0.90 |
Requires: clamd >= 0.93 |
35 |
Requires: clamav-db |
Requires: clamav-db |
36 |
Requires: e-smith-formmagick >= 1.4.0-9 |
Requires: e-smith-formmagick >= 1.4.0-12 |
37 |
Provides: e-smith-clamav |
Provides: e-smith-clamav |
38 |
Obsoletes: e-smith-clamav |
Obsoletes: e-smith-clamav |
39 |
|
Obsoletes: clamav-es |
40 |
|
Obsoletes: clamav-es-libs |
41 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
42 |
|
|
43 |
%description |
%description |
45 |
freshclam |
freshclam |
46 |
|
|
47 |
%changelog |
%changelog |
48 |
|
* Wed Apr 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-24 |
49 |
|
- Remove any /etc/cron.d/clamav file. We moved the content to /etc/crontab |
50 |
|
[SME: 1047], but we need to remove any leftover file from earlier template |
51 |
|
expansion, which, if present, could cause the nightly file scanning to be |
52 |
|
run twice. [SME: 4266] |
53 |
|
|
54 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-23 |
55 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4288] |
56 |
|
|
57 |
|
* Fri Apr 25 2008 Charlie Brady <charlie_brady@mitel.com> 1.2.0-22 |
58 |
|
- Add Obsoletes headers to force removal of clamav-es and |
59 |
|
clamav-es-libs. [SME 4167] |
60 |
|
|
61 |
|
* Fri Apr 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-21 |
62 |
|
- Update defaults for clamav 0.93 [SME: 4223] |
63 |
|
|
64 |
|
* Fri Apr 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-20 |
65 |
|
- Move cron template from cron.d to crontab [SME: 1047] |
66 |
|
|
67 |
* Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-19 |
* Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-19 |
68 |
- Fix clamav version string [SME: 4060] |
- Fix clamav version string [SME: 4060] |
69 |
|
|
318 |
%patch13 -p1 |
%patch13 -p1 |
319 |
%patch14 -p1 |
%patch14 -p1 |
320 |
%patch15 -p1 |
%patch15 -p1 |
321 |
|
%patch16 -p1 |
322 |
|
%patch17 -p1 |
323 |
|
%patch18 -p1 |
324 |
|
|
325 |
%build |
%build |
326 |
perl createlinks |
perl createlinks |
333 |
%pre |
%pre |
334 |
|
|
335 |
%post |
%post |
336 |
|
rm -f /etc/cron.d/clamav |
337 |
|
|
338 |
%install |
%install |
339 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |