]> git.pld-linux.org Git - packages/clamav-database.git/commitdiff
- separated database from clamav.spec
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 27 Dec 2006 11:42:12 +0000 (11:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- database updated to 20061227

Changed files:
    clamav-database.spec -> 1.1

clamav-database.spec [new file with mode: 0644]

diff --git a/clamav-database.spec b/clamav-database.spec
new file mode 100644 (file)
index 0000000..6daaee1
--- /dev/null
@@ -0,0 +1,44 @@
+%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
This page took 0.076642 seconds and 4 git commands to generate.