1 Summary: AntiVirus Scanner
2 Summary(pl.UTF-8): Skaner antywirusowy
6 License: GPL v2 with OpenSSL exception
7 Group: X11/Applications
8 Source0: http://wolfsinger.com/~wolfpack/packages/%{name}-%{version}-openssl.tar.bz2
9 # Source0-md5: e8e76867fbdf4ddef9504b604db95667
10 Patch0: %{name}-verbose.patch
11 Patch1: %{name}-clamav.patch
12 URL: http://freecode.com/projects/avscan
13 BuildRequires: clamav-devel
14 BuildRequires: endeavour-devel >= 3
15 BuildRequires: gtk+-devel >= 1.2
16 BuildRequires: libstdc++-devel
17 Requires: endeavour >= 3
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 AVScan is an anti-virus scanner that uses the ClamAV library
22 (libclamav) and GTK+ 1.2. It allows you to create a list of scan items
23 for frequently scanned locations and features on-demand virus database
24 updating, manual drag and drop object scanning, and pausing and
25 resuming of scanning, all in a simple GUI environment.
27 %description -l pl.UTF-8
28 AVScan to skaner antywirusowy wykorzystujący bibliotekę narzędzia
29 ClamAV (libclamav) oraz GTK+ 1.2. Pozwala na tworzenie list elementów
30 do regularnego skanowania, umożliwia uaktualnianie na żądanie bazy
31 danych wirusów, ręczne przeciąganie obiektów do przeskanowania,
32 zatrzymywanie i wznawianie skanowania - wszystko w prostym środowisku
36 %setup -q -n %{name}-%{version}-openssl
45 CFLAGS="%{rpmcflags} -Wall \
46 `gtk-config --cflags` \
47 -DHAVE_CLAMAV `clamav-config --cflags` \
48 -DHAVE_LIBENDEAVOUR2 `endeavour2-base-config --cflags`"
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{_bindir}
55 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
56 EDV_BIN_DIR=$RPM_BUILD_ROOT%{_libdir}/endeavour2/bin \
57 MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
60 # fix symlink to buildroot
61 ln -sf ../%{_lib}/endeavour2/bin/avscan $RPM_BUILD_ROOT%{_bindir}/avscan
63 bzip2 -d $RPM_BUILD_ROOT%{_mandir}/man1/*.bz2
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
70 %doc AUTHORS LICENSE README
71 %attr(755,root,root) %{_bindir}/avscan
72 %attr(755,root,root) %{_libdir}/endeavour2/bin/avscan
73 %{_datadir}/endeavour2/help/avscan
74 %{_mandir}/man1/avscan.1*