SPECS: clamav-database.spec (NEW) - separated database from clamav...

glen glen at pld-linux.org
Wed Dec 27 12:42:17 CET 2006


Author: glen                         Date: Wed Dec 27 11:42:17 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separated database from clamav.spec
- database updated to 20061227

---- Files affected:
SPECS:
   clamav-database.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/clamav-database.spec
diff -u /dev/null SPECS/clamav-database.spec:1.1
--- /dev/null	Wed Dec 27 12:42:17 2006
+++ SPECS/clamav-database.spec	Wed Dec 27 12:42:12 2006
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+%define		database_version	20061227
+Summary:	Virus database for clamav
+Summary(pl):	Bazy wirusów dla clamav
+Name:		clamav-database
+Version:	0.88.7.%{database_version}
+Release:	0.1
+License:	GPL
+Group:		Applications/Databases
+Source0:	http://db.local.clamav.net/daily.cvd
+# Source0-md5:	03769468fc0f2b563bc3ec5de295a4ae
+Source1:	http://db.local.clamav.net/main.cvd
+# Source1-md5:	347c99544205184fbc1bd23fd7cfd782
+Source2:	clamav-post-updatedb
+URL:		http://www.clamav.net/
+Requires:	clamav
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Virus database for clamav (updated %{database_version}).
+
+%description -l pl
+Bazy wirusów dla clamav (aktualizowana %{database_version}).
+
+%prep
+%setup -qcT
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{/var/lib/clamav,%{_sbindir}}
+
+install %{SOURCE0} $RPM_BUILD_ROOT/var/lib/clamav
+install %{SOURCE1} $RPM_BUILD_ROOT/var/lib/clamav
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sbindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p %{_sbindir}/clamav-post-updatedb
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/clamav-post-updatedb
+%attr(644,clamav,root) %verify(not md5 mtime size) /var/lib/clamav/*.cvd
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/12/27 11:42:12  glen
+- separated database from clamav.spec
+- database updated to 20061227
+
================================================================


More information about the pld-cvs-commit mailing list