]> git.pld-linux.org Git - packages/clamav-database.git/blob - clamav-database.spec
- pl fix
[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 clamava
4 Name:           clamav-database
5 Version:        0.88.7.%{database_version}
6 Release:        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 URL:            http://www.clamav.net/
14 Requires:       clamav
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Virus database for clamav (updated %{database_version}).
20
21 %description -l pl
22 Bazy wirusów dla clamava (aktualizowana %{database_version}).
23
24 %prep
25 %setup -qcT
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT{/var/lib/clamav,%{_sbindir}}
30
31 install %{SOURCE0} $RPM_BUILD_ROOT/var/lib/clamav
32 install %{SOURCE1} $RPM_BUILD_ROOT/var/lib/clamav
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %post   -p %{_sbindir}/clamav-post-updatedb
38
39 %files
40 %defattr(644,root,root,755)
41 %attr(644,clamav,root) %verify(not md5 mtime size) /var/lib/clamav/*.cvd
This page took 0.048567 seconds and 3 git commands to generate.