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 23 |
%define release 25 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
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 |
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: e-smith-base |
35 |
Requires: clamav >= 0.93 |
Requires: clamav >= 0.93 |
36 |
Requires: clamd >= 0.93 |
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 |
Obsoletes: clamav-es |
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 |
* 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 |
- 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 |
* 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 |
- Add Obsoletes headers to force removal of clamav-es and |
326 |
%patch16 -p1 |
%patch16 -p1 |
327 |
%patch17 -p1 |
%patch17 -p1 |
328 |
%patch18 -p1 |
%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 |