1 |
%define version 0.1.0 |
2 |
%define release 1 |
3 |
%define name smeserver-clamav-unofficial-sigs |
4 |
|
5 |
|
6 |
Summary:Unofficial ClamAV signature integration |
7 |
Name: %{name} |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Applications/System |
12 |
Source: %{name}-%{version}.tar.gz |
13 |
|
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildArchitectures: noarch |
16 |
BuildRequires: e-smith-devtools |
17 |
|
18 |
Requires: clamav-unofficial-sigs |
19 |
Requires: smeserver-clamav |
20 |
|
21 |
%description |
22 |
Configure unofficial ClamAV signatures on SME Server |
23 |
|
24 |
%changelog |
25 |
* Wed Jun 10 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.1.0-1 |
26 |
- initial release |
27 |
|
28 |
%prep |
29 |
%setup -q -n %{name}-%{version} |
30 |
|
31 |
%build |
32 |
perl createlinks |
33 |
|
34 |
%install |
35 |
/bin/rm -rf $RPM_BUILD_ROOT |
36 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
37 |
/bin/rm -f %{name}-%{version}-filelist |
38 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
39 |
> %{name}-%{version}-filelist |
40 |
|
41 |
%files -f %{name}-%{version}-filelist |
42 |
%defattr(-,root,root) |
43 |
|
44 |
%clean |
45 |
rm -rf $RPM_BUILD_ROOT |
46 |
|
47 |
%pre |
48 |
|
49 |
%post |
50 |
|
51 |
%preun |
52 |
|