1 |
Name: squidclamav |
2 |
Version: 7.1 |
3 |
Release: 1%{?dist} |
4 |
Summary: A c-icap module for ClamAV |
5 |
|
6 |
Group: Applications/System |
7 |
License: GPLv3+ |
8 |
URL: http://squidclamav.darold.net/ |
9 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
10 |
BuildRequires: clamav-devel >= 0.82 |
11 |
BuildRequires: curl-devel >= 7.12.1 |
12 |
BuildRequires: c-icap-devel |
13 |
Requires: c-icap |
14 |
|
15 |
%description |
16 |
SquidClamav is an antivirus for Squid proxy based on the |
17 |
Awards winnings ClamAv anti-virus toolkit. |
18 |
|
19 |
%prep |
20 |
%setup -q |
21 |
|
22 |
%build |
23 |
%configure --prefix=%{_prefix} |
24 |
%{__make} |
25 |
|
26 |
%install |
27 |
%{__rm} -rf $RPM_BUILD_ROOT |
28 |
# set up path structure |
29 |
%{__install} -d -m 0755 %{buildroot}/%{_sysconfdir}/c-icap |
30 |
|
31 |
# Make distrib files |
32 |
%{__make} install \ |
33 |
DESTDIR=%{buildroot} |
34 |
# README will be handled in %doc |
35 |
%{__rm} -f %{buildroot}%{_datadir}/%{name}/README |
36 |
# Remove .la file |
37 |
%{__rm} -f %{buildroot}%{_libdir}/c_icap/%{name}.la |
38 |
|
39 |
%clean |
40 |
%{__rm} -rf $RPM_BUILD_ROOT |
41 |
|
42 |
%files |
43 |
%defattr(0644,root,root,0755) |
44 |
%doc ChangeLog INSTALL README |
45 |
%attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/c-icap/squidclamav.conf |
46 |
%{_sysconfdir}/c-icap/squidclamav.conf.default |
47 |
%{_libdir}/c_icap/%{name}.* |
48 |
%{_datadir}/c_icap/templates/squidclamav |
49 |
%{_mandir}/man1/squidclamav.1* |
50 |
%{_libexecdir}/%{name}/clwarn.cgi* |
51 |
|
52 |
%changelog |
53 |
* Wed Apr 17 2019 Daniel Berteaud <daniel@firewall-services.com> 7.1-1 |
54 |
- Update to 7.1 (daniel@firewall-services.com) |
55 |
- Update tito to use GitLfsBuilder (daniel@firewall-services.com) |
56 |
- Track tgz with LFS (daniel@firewall-services.com) |
57 |
|
58 |
* Tue Feb 20 2018 Daniel Berteaud <daniel@firewall-services.com> 6.16-3 |
59 |
- Update summary and description to match v6 (daniel@firewall-services.com) |
60 |
- Remove .la file |
61 |
* Sun Feb 18 2018 Daniel Berteaud <daniel@firewall-services.com> 6.16-1 |
62 |
- Clean changelog (daniel@firewall-services.com) |
63 |
- Remove README from /usr/share/squidclamav (daniel@firewall-services.com) |
64 |
- Include cgi (daniel@firewall-services.com) |
65 |
- Don't try to include non existing lib (daniel@firewall-services.com) |
66 |
|
67 |
* Sun Feb 18 2018 Daniel Berteaud <daniel@firewall-services.com> 6.16-0.beta3 |
68 |
- Update to 6.16 |
69 |
- Build using tito |
70 |
- Adapt spec for v 6 (daniel@firewall-services.com) |
71 |
|
72 |
* Fri Nov 15 2013 Daniel Berteaud <daniel@firewall-services.com> - 5.11-2 |
73 |
- Spec file cleanup |
74 |
|
75 |
* Tue Nov 27 2012 Daniel Berteaud <daniel@firewall-services.com> - 5.11-1 |
76 |
- update to 5.11 |
77 |
|
78 |
* Tue Oct 16 2012 Daniel Berteaud <daniel@firewall-services.com> - 5.9-1 |
79 |
- update to 5.9 |
80 |
|
81 |
* Tue Sep 11 2012 Daniel Berteaud <daniel@firewall-services.com> - 5.8-1 |
82 |
- update to 5.8 |
83 |
|
84 |
* Wed Mar 3 2010 Gilles Darold <gilles@darold.net> |
85 |
- Update to 5.2. |
86 |
- Add copy of clwarn.cgi.ru_RU into libexecdir. |
87 |
|
88 |
* Wed Feb 10 2010 Gilles Darold <gilles@darold.net> |
89 |
- Update to 5.1. |
90 |
|
91 |
* Wed Jan 27 2010 Gordan Bobic <gordan@bobich.net> |
92 |
- Update for squidclamav 4.2 |
93 |
|
94 |
* Tue Jan 12 2010 Gordan Bobic <gordan@bobich.net> |
95 |
- Initial fork from the PLD spec file, update for squidclamav 4.1 |
96 |
|