]> git.pld-linux.org Git - packages/arcavir.git/blob - arcavir.spec
- PLD init
[packages/arcavir.git] / arcavir.spec
1 #
2 # Conditional build:
3 %bcond_without  md5sum  # don't check md5sum for antivirus database (useful
4 Summary:        An anti-virus utility for Unix
5 Summary(pl):    Antywirusowe narzêdzie dla Uniksów
6 Name:           arcacmd
7 Version:        2.6
8 Release:        1
9 License:        This program will be for free till the end of year 2004 (see licence.txt)
10 Group:          Applications
11 Source0:        http://arcabit.pl/download/linux/%{name}-linux%{version}-bundle-20060731.tgz
12 # Source0-md5:  ffc56e252fbb05b60fa80255140a81d8
13 URL:            http://arcabit.pl/
14 ExclusiveArch:  %{ix86} %{x8664}
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Arcavir is anti-virus scanner for Unix.
19
20 %description -l pl
21 Arcavir jest skanerem antywirusowym dla systemów uniksowych.
22
23 %package bases
24 Summary:        Arcavir Antivirus databases
25 Summary(pl):    Bazy antywirusowe arcavir
26 Group:          Applications
27
28 %description bases
29
30 %description bases -l pl
31
32 ###
33 %package updater
34 Summary:        Arcavir Antivirus database updater
35 Summary(pl):    Aktualizator baz antywirusowych arcavir
36 Group:          Applications
37 Requires:       /usr/bin/wget
38 Requires:       bc
39 Requires:       coreutils
40
41 %description updater
42 This package contains antivirus databases updater.
43
44 %description updater -l pl
45 Pakiet ten zawiera aktualizator baz antywirusowych.
46
47 %prep
48 %setup -q -n inst
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_datadir}/arcacmd/bases/tmp,%{_bindir},%{_sbindir},%{_mandir}/man1,%{_sysconfdir}}
53
54 cd files/
55 install arcacmd $RPM_BUILD_ROOT%{_bindir}
56 install arcaupdate $RPM_BUILD_ROOT%{_sbindir}
57 cd docs
58 install arcacmd.1.gz $RPM_BUILD_ROOT%{_mandir}/man1
59 cd ..
60 install arcacmdg.conf $RPM_BUILD_ROOT%{_sysconfdir}
61 install arcacmdl.conf.template $RPM_BUILD_ROOT%{_sysconfdir}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc
69 %attr(755,root,root) %{_bindir}/arcacmd
70 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/arcacmdg.conf
71
72 %files bases
73 %defattr(644,root,root,755)
74 #%verify(not md5 mtime size) %{_var}/lib/%{name}/mksbase?.dat
75
76 %files updater
77 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_sbindir}/arcaupdate
This page took 0.140725 seconds and 4 git commands to generate.