]> git.pld-linux.org Git - packages/clamav-database.git/blob - clamav-database.spec
6daaee148a2bb644b11dc0572e84fd8f315d5c88
[packages/clamav-database.git] / clamav-database.spec
1 %define         database_version        20061227
2 Summary:        Virus database for clamav
3 Summary(pl):    Bazy wirusów dla clamav
4 Name:           clamav-database
5 Version:        0.88.7.%{database_version}
6 Release:        0.1
7 License:        GPL
8 Group:          Applications/Databases
9 Source0:        http://db.local.clamav.net/daily.cvd
10 # Source0-md5:  03769468fc0f2b563bc3ec5de295a4ae
11 Source1:        http://db.local.clamav.net/main.cvd
12 # Source1-md5:  347c99544205184fbc1bd23fd7cfd782
13 Source2:        clamav-post-updatedb
14 URL:            http://www.clamav.net/
15 Requires:       clamav
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Virus database for clamav (updated %{database_version}).
21
22 %description -l pl
23 Bazy wirusów dla clamav (aktualizowana %{database_version}).
24
25 %prep
26 %setup -qcT
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT{/var/lib/clamav,%{_sbindir}}
31
32 install %{SOURCE0} $RPM_BUILD_ROOT/var/lib/clamav
33 install %{SOURCE1} $RPM_BUILD_ROOT/var/lib/clamav
34 install %{SOURCE2} $RPM_BUILD_ROOT%{_sbindir}
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %post   -p %{_sbindir}/clamav-post-updatedb
40
41 %files
42 %defattr(644,root,root,755)
43 %attr(755,root,root) %{_sbindir}/clamav-post-updatedb
44 %attr(644,clamav,root) %verify(not md5 mtime size) /var/lib/clamav/*.cvd
This page took 0.021109 seconds and 2 git commands to generate.