-%define database_version 20030621
+%define database_version 20030813
Summary: An anti-virus utility for Unix
Summary(pl): Antywirusowe narzêdzie dla Unixów
Name: clamav
--disable-clamav \
--with-dbdir=/var/lib/%{name}
%{__make}
+mv database/mirrors.txt{,.old}
+echo clamav.sourceforge.net >database/mirrors.txt
+cat database/mirrors.txt.old >>database/mirrors.txt
%install
rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_sbindir}/*
%attr(755,clamav,root) %dir /var/lib/%{name}
+%attr(644,clamav,root) %verify(not md5 size mtime) /var/lib/%{name}/mirrors.txt
%attr(640,clamav,root) %ghost %{_var}/log/%{name}.log
%attr(750,root,root) %{_sysconfdir}/cron.daily/%{name}
%attr(644,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/*.conf
%files database
%defattr(644,root,root,755)
%attr(644,clamav,root) %verify(not md5 size mtime) /var/lib/%{name}/*.db*
-%attr(644,clamav,root) %verify(not md5 size mtime) /var/lib/%{name}/mirrors.txt