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 URL: http://freecode.com/projects/avscan
12 BuildRequires: clamav-devel
13 BuildRequires: endeavour-devel >= 3
14 BuildRequires: gtk+-devel >= 1.2
15 BuildRequires: libstdc++-devel
16 Requires: endeavour >= 3
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 AVScan is an anti-virus scanner that uses the ClamAV library
21 (libclamav) and GTK+ 1.2. It allows you to create a list of scan items
22 for frequently scanned locations and features on-demand virus database
23 updating, manual drag and drop object scanning, and pausing and
24 resuming of scanning, all in a simple GUI environment.
26 %description -l pl.UTF-8
27 AVScan to skaner antywirusowy wykorzystujący bibliotekę narzędzia
28 ClamAV (libclamav) oraz GTK+ 1.2. Pozwala na tworzenie list elementów
29 do regularnego skanowania, umożliwia uaktualnianie na żądanie bazy
30 danych wirusów, ręczne przeciąganie obiektów do przeskanowania,
31 zatrzymywanie i wznawianie skanowania - wszystko w prostym środowisku
35 %setup -q -n %{name}-%{version}-openssl
43 CFLAGS="%{rpmcflags} -Wall \
44 `gtk-config --cflags` \
45 -DHAVE_CLAMAV `clamav-config --cflags` \
46 -DHAVE_LIBENDEAVOUR2 `endeavour2-base-config --cflags`"
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_bindir}
53 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
54 EDV_BIN_DIR=$RPM_BUILD_ROOT%{_libdir}/endeavour2/bin \
55 MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
58 # fix symlink to buildroot
59 ln -sf ../%{_lib}/endeavour2/bin/avscan $RPM_BUILD_ROOT%{_bindir}/avscan
61 bzip2 -d $RPM_BUILD_ROOT%{_mandir}/man1/*.bz2
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
68 %doc AUTHORS LICENSE README
69 %attr(755,root,root) %{_bindir}/avscan
70 %attr(755,root,root) %{_libdir}/endeavour2/bin/avscan
71 %{_datadir}/endeavour2/help/avscan
72 %{_mandir}/man1/avscan.1*