1 |
%define version 0.1.0 |
2 |
%define release 3 |
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 |
Patch0: smeserver-clamav-unofficial-sigs-0.1.0-bz11597-sme10.patch |
14 |
|
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArchitectures: noarch |
17 |
BuildRequires: e-smith-devtools |
18 |
|
19 |
Requires: clamav-unofficial-sigs |
20 |
Requires: smeserver-clamav |
21 |
|
22 |
%description |
23 |
Configure unofficial ClamAV signatures on SME Server |
24 |
|
25 |
%changelog |
26 |
* Mon Jun 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.0-3.sme |
27 |
- migrate script [SME: 11597] |
28 |
fix missing urlhaus folder |
29 |
|
30 |
* Sun Jun 12 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.0-2.sme |
31 |
- import to SME10 [SME: 11597] |
32 |
rewrite the configuraiton using os.conf |
33 |
add event on installation |
34 |
systemd compatible |
35 |
about backup ready, need comment out and new dep |
36 |
|
37 |
* Wed Jun 10 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.1.0-1 |
38 |
- initial release |
39 |
|
40 |
%prep |
41 |
%setup -q -n %{name}-%{version} |
42 |
%patch0 -p1 |
43 |
rm -rf root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf |
44 |
|
45 |
%build |
46 |
perl createlinks |
47 |
|
48 |
%install |
49 |
/bin/rm -rf $RPM_BUILD_ROOT |
50 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
51 |
/bin/rm -f %{name}-%{version}-filelist |
52 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
53 |
> %{name}-%{version}-filelist |
54 |
|
55 |
%files -f %{name}-%{version}-filelist |
56 |
%defattr(-,root,root) |
57 |
|
58 |
%clean |
59 |
rm -rf $RPM_BUILD_ROOT |
60 |
|
61 |
%pre |
62 |
|
63 |
%post |
64 |
|
65 |
%preun |
66 |
|