1 |
# $Id: clamav.spec,v 1.5 2016/05/03 19:41:59 vip-ire Exp $ |
# $Id: clamav.spec,v 1.8 2018/10/24 11:37:38 dani Exp $ |
2 |
# Authority: dag |
# Authority: dag |
3 |
# Upstream: <clamav-devel$lists,sf,net> |
# Upstream: <clamav-devel$lists,sf,net> |
4 |
|
|
13 |
|
|
14 |
Summary: Anti-virus software |
Summary: Anti-virus software |
15 |
Name: clamav |
Name: clamav |
16 |
Version: 0.99.3 |
Version: 0.100.2 |
17 |
Release: 1%{?dist} |
Release: 2%{?dist} |
18 |
License: GPL |
License: GPL |
19 |
Group: Applications/System |
Group: Applications/System |
20 |
URL: http://www.clamav.net/ |
URL: http://www.clamav.net/ |
88 |
Requires(pre): /usr/sbin/useradd |
Requires(pre): /usr/sbin/useradd |
89 |
|
|
90 |
### Fedora Extras introduced them differently :( |
### Fedora Extras introduced them differently :( |
91 |
Obsoletes: clamav-update <= %{version}-%{release} |
Provides: clamav-update = %{version}-%{release} |
92 |
Obsoletes: clamav-data <= %{version}-%{release} |
Obsoletes: clamav-update < %{version}-%{release} |
93 |
|
Provides: clamav-data = %{version}-%{release} |
94 |
|
Obsoletes: clamav-data < %{version}-%{release} |
95 |
|
Obsoletes: clamav-data-empty <= %{version}-%{release} |
96 |
|
# Ugly to put these in the db-package, but needed |
97 |
|
# here to handle upgrades on EL5. |
98 |
|
Provides: clamav-filesystem = %{version}-%{release} |
99 |
|
Obsoletes: clamav-filesystem < %{version}-%{release} |
100 |
|
|
101 |
%description db |
%description db |
102 |
The actual virus database for %{name} |
The actual virus database for %{name} |
334 |
|
|
335 |
%files |
%files |
336 |
%defattr(-, root, root, 0755) |
%defattr(-, root, root, 0755) |
337 |
%doc AUTHORS BUGS ChangeLog COPYING FAQ INSTALL NEWS README |
%doc ChangeLog.md COPYING* INSTALL.md NEWS.md README.md |
338 |
%doc etc/freshclam.conf.sample |
%doc etc/freshclam.conf.sample |
339 |
%doc docs/*.pdf |
%doc docs/*.pdf |
340 |
### Remove test virus documents as they trigger clamav |
### Remove test virus documents as they trigger clamav |
342 |
%doc %{_mandir}/man1/sigtool.1* |
%doc %{_mandir}/man1/sigtool.1* |
343 |
%doc %{_mandir}/man1/clambc.1* |
%doc %{_mandir}/man1/clambc.1* |
344 |
%doc %{_mandir}/man1/clamscan.1* |
%doc %{_mandir}/man1/clamscan.1* |
|
%doc %{_mandir}/man1/clamsubmit.1* |
|
345 |
%doc %{_mandir}/man1/freshclam.1* |
%doc %{_mandir}/man1/freshclam.1* |
346 |
%doc %{_mandir}/man5/freshclam.conf.5* |
%doc %{_mandir}/man5/freshclam.conf.5* |
347 |
%config(noreplace) %{_sysconfdir}/freshclam.conf |
%config(noreplace) %{_sysconfdir}/freshclam.conf |
350 |
%{_bindir}/clamscan |
%{_bindir}/clamscan |
351 |
%{_bindir}/freshclam |
%{_bindir}/freshclam |
352 |
%{_bindir}/sigtool |
%{_bindir}/sigtool |
|
%{_bindir}/clamsubmit |
|
353 |
%{_libdir}/libclamav.so.* |
%{_libdir}/libclamav.so.* |
354 |
%{_libdir}/libclamunrar.so.* |
%{_libdir}/libclamunrar.so.* |
355 |
%{_libdir}/libclamunrar_iface.so.* |
%{_libdir}/libclamunrar_iface.so.* |
356 |
|
%{_libdir}/libclammspack.so.* |
357 |
# moved from -devel to here so clamd can work with rars when clamav-devel is not installed. |
# moved from -devel to here so clamd can work with rars when clamav-devel is not installed. |
358 |
%{_libdir}/libclamav.so |
%{_libdir}/libclamav.so |
359 |
%{_libdir}/libclamunrar.so |
%{_libdir}/libclamunrar.so |
360 |
%{_libdir}/libclamunrar_iface.so |
%{_libdir}/libclamunrar_iface.so |
361 |
|
%{_libdir}/libclammspack.so |
362 |
%exclude %{_sysconfdir}/freshclam.conf.sample |
%exclude %{_sysconfdir}/freshclam.conf.sample |
363 |
|
|
364 |
%files -n clamd |
%files -n clamd |
419 |
%{_bindir}/clamav-config |
%{_bindir}/clamav-config |
420 |
%{_includedir}/clamav.h |
%{_includedir}/clamav.h |
421 |
%{_libdir}/pkgconfig/libclamav.pc |
%{_libdir}/pkgconfig/libclamav.pc |
422 |
|
%{_libdir}/pkgconfig/libclammspack.pc |
423 |
%exclude %{_libdir}/libclamav.la |
%exclude %{_libdir}/libclamav.la |
424 |
%exclude %{_libdir}/libclamunrar.la |
%exclude %{_libdir}/libclamunrar.la |
425 |
%exclude %{_libdir}/libclamunrar_iface.la |
%exclude %{_libdir}/libclamunrar_iface.la |
426 |
|
%exclude %{_libdir}/libclammspack.la |
427 |
|
|
428 |
%changelog |
%changelog |
429 |
|
* Wed Mar 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.100.2-2.sme |
430 |
|
- Update clamav-db as per epel last spec file [SME: 10754] |
431 |
|
to add clamav-update as provides |
432 |
|
- |
433 |
|
* Wed Oct 24 2018 Daniel Berteaud <daniel@firewall-services.com> - 0.100.2-1.sme |
434 |
|
- Update to 0.100.2 [SME: 10578] |
435 |
|
|
436 |
|
* Wed Mar 14 2018 Daniel Berteaud <daniel@firewall-services.com> - 0.99.4-1.sme |
437 |
|
- Update to 0.99.4 [SME: 10528] |
438 |
|
|
439 |
* Sat Jan 27 2018 Daniel Berteaud <daniel@firewall-services.com> - 0.99.3-1.sme |
* Sat Jan 27 2018 Daniel Berteaud <daniel@firewall-services.com> - 0.99.3-1.sme |
440 |
- Update to 0.99.3 [SME: 10500] |
- Update to 0.99.3 [SME: 10500] |
441 |
|
|