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 18 |
%define release 25 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
23 |
Patch12: smeserver-clamav-1.2.0-entire.patch |
Patch12: smeserver-clamav-1.2.0-entire.patch |
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 |
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 |
|
Patch19: smeserver-clamav-1.2.0-crontab.patch |
31 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
32 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
33 |
Requires: e-smith-lib |
Requires: e-smith-lib |
34 |
Requires: clamav >= 0.90 |
Requires: e-smith-base |
35 |
Requires: clamd >= 0.90 |
Requires: clamav >= 0.93 |
36 |
|
Requires: clamd >= 0.93 |
37 |
Requires: clamav-db |
Requires: clamav-db |
38 |
Requires: e-smith-formmagick >= 1.4.0-9 |
Requires: e-smith-formmagick >= 1.4.0-12 |
39 |
Provides: e-smith-clamav |
Provides: e-smith-clamav |
40 |
Obsoletes: e-smith-clamav |
Obsoletes: e-smith-clamav |
41 |
|
Obsoletes: clamav-es |
42 |
|
Obsoletes: clamav-es-libs |
43 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
44 |
|
|
45 |
%description |
%description |
47 |
freshclam |
freshclam |
48 |
|
|
49 |
%changelog |
%changelog |
50 |
|
* Sun Aug 10 2008 Shad L. Lords <slords@mail.com> 1.2.0-25 |
51 |
|
- Remove links to crontab in all but clamav-update [SME: 4494] |
52 |
|
|
53 |
|
* Wed Apr 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-24 |
54 |
|
- Remove any /etc/cron.d/clamav file. We moved the content to /etc/crontab |
55 |
|
[SME: 1047], but we need to remove any leftover file from earlier template |
56 |
|
expansion, which, if present, could cause the nightly file scanning to be |
57 |
|
run twice. [SME: 4266] |
58 |
|
|
59 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-23 |
60 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4288] |
61 |
|
|
62 |
|
* Fri Apr 25 2008 Charlie Brady <charlie_brady@mitel.com> 1.2.0-22 |
63 |
|
- Add Obsoletes headers to force removal of clamav-es and |
64 |
|
clamav-es-libs. [SME 4167] |
65 |
|
|
66 |
|
* Fri Apr 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-21 |
67 |
|
- Update defaults for clamav 0.93 [SME: 4223] |
68 |
|
|
69 |
|
* Fri Apr 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-20 |
70 |
|
- Move cron template from cron.d to crontab [SME: 1047] |
71 |
|
|
72 |
|
* Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-19 |
73 |
|
- Fix clamav version string [SME: 4060] |
74 |
|
|
75 |
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.2.0-18 |
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.2.0-18 |
76 |
- Remove <base> tags now in general [SME: 3915] |
- Remove <base> tags now in general [SME: 3915] |
77 |
|
|
322 |
%patch12 -p1 |
%patch12 -p1 |
323 |
%patch13 -p1 |
%patch13 -p1 |
324 |
%patch14 -p1 |
%patch14 -p1 |
325 |
|
%patch15 -p1 |
326 |
|
%patch16 -p1 |
327 |
|
%patch17 -p1 |
328 |
|
%patch18 -p1 |
329 |
|
%patch19 -p1 |
330 |
|
|
331 |
%build |
%build |
332 |
perl createlinks |
perl createlinks |
339 |
%pre |
%pre |
340 |
|
|
341 |
%post |
%post |
342 |
|
rm -f /etc/cron.d/clamav |
343 |
|
|
344 |
%install |
%install |
345 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |