]> git.pld-linux.org Git - packages/clamav-unofficial-sigs.git/blobdiff - clamav-unofficial-sigs.spec
- R: curl
[packages/clamav-unofficial-sigs.git] / clamav-unofficial-sigs.spec
index a09279b81e633418124dd1f3323003cf3d0b27d6..cfc478f4d852f31f12bb26a7a22d72b7bd0f05df 100644 (file)
@@ -10,7 +10,8 @@ Source0:      http://www.inetmsg.com/pub/%{name}.tar.gz
 URL:           http://www.sanesecurity.co.uk/download_scripts_linux.htm
 Requires:      rsync
 Requires:      clamav
-Requires:      crond
+Requires:      crondaemon
+Requires:      curl
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -33,7 +34,7 @@ MalwarePatrol (www.malware.com.br), i OITC (http://www.oitc.com/winnow/clamsigs)
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_sysconfdir}/{logrotate.d,cron.d}}
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_sysconfdir}/{logrotate.d,cron.d},/var/lib/%{name}}
 install clamav-unofficial-sigs.sh clamd-status.sh $RPM_BUILD_ROOT%{_sbindir}
 install clamav-unofficial-sigs.8 $RPM_BUILD_ROOT%{_mandir}/man8/
 install clamav-unofficial-sigs.conf $RPM_BUILD_ROOT%{_sysconfdir}
@@ -42,6 +43,8 @@ install clamav-unofficial-sigs-logrotate $RPM_BUILD_ROOT%{_sysconfdir}/logrotate
 
 sed -e 's@/usr/local/bin/@%{_sbindir}/@g' -e 's@/usr/local/etc/@%{_sysconfdir}/@g' -i $RPM_BUILD_ROOT%{_sysconfdir}/*.d/%{name}
 
+sed -e 's@/usr/unofficial-dbs@/var/lib/%{name}@g' -i $RPM_BUILD_ROOT%{_sysconfdir}/clamav-unofficial-sigs.conf
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -53,3 +56,4 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_sbindir}/*
 %{_sysconfdir}/*/%{name}
 %{_mandir}/man8/*
+%dir /var/lib/%{name}
This page took 0.067092 seconds and 4 git commands to generate.