# $Id$ # Authority: dag # Upstream: Dave M ### FIXME: do something with clamtk.xml (shared-mime-info) %{?dtag: %{expand: %%define %dtag 1}} %{?rh7:%define _without_freedesktop 1} %{?el2:%define _without_freedesktop 1} %define desktop_vendor rpmforge Summary: Easy to use front-end for ClamAV Name: clamtk Version: 3.09 Release: 1 License: Perl Group: Applications/File URL: http://clamtk.sourceforge.net/ Source: http://dl.sf.net/clamtk/clamtk-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %{!?_without_freedesktop:BuildRequires: desktop-file-utils} Requires: perl-Gtk2, perl-File-Find-Rule, perl-Date-Calc, perl-libwww-perl Requires: clamav >= 0.90, clamav-db Obsoletes: clamtk2 %description ClamTk is a front-end, point and click gui for ClamAV on Linux systems. It supports easy signature-updates. %prep %setup %build %install %{__rm} -rf %{buildroot} #%{__make} install DESTDIR="%{buildroot}" %{__install} -Dp -m0755 clamtk %{buildroot}%{_bindir}/clamtk %{__install} -Dp -m0644 clamtk.1.gz %{buildroot}%{_mandir}/man1/clamtk.1 %{__install} -Dp -m0644 clamtk.xpm %{buildroot}%{_datadir}/pixmaps/clamtk.xpm %{__install} -Dp -m0644 clamtk.png %{buildroot}%{_datadir}/pixmaps/clamtk.png %if %{?_without_freedesktop:1}0 %{__install} -Dp -m0644 clamtk.desktop %{buildroot}%{_datadir}/gnome/apps/Utilities/clamtk.desktop %else %{__install} -d -m0755 %{buildroot}%{_datadir}/applications/ desktop-file-install --delete-original \ --vendor %{desktop_vendor} \ --dir %{buildroot}%{_datadir}/applications \ --add-category X-Red-Hat-Base \ clamtk.desktop %endif %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc CHANGES DISCLAIMER LICENSE README %doc %{_mandir}/man1/clamtk.1* %{_bindir}/clamtk %{!?_without_freedesktop:%{_datadir}/applications/%{desktop_vendor}-clamtk.desktop} %{?_without_freedesktop:%{_datadir}/gnome/apps/Utilities/clamtk.desktop} %{_datadir}/pixmaps/clamtk.xpm %{_datadir}/pixmaps/clamtk.png %changelog * Tue May 27 2008 Dag Wieers - 3.09-1 - Updated to release 3.09. * Thu Feb 07 2008 Dag Wieers - 3.08-1 - Updated to release 3.08. * Sun May 13 2007 Dag Wieers - 2.32-1 - Updated to release 2.32. * Sun Mar 18 2007 Dag Wieers - 2.30-1 - Updated to release 2.30. * Fri Feb 23 2007 Dag Wieers - 2.28-1 - Updated to release 2.28. * Sun Jan 14 2007 Dries Verachtert - 2.27-1 - Updated to release 2.27. * Sun Nov 12 2006 Dries Verachtert - 2.26-1 - Updated to release 2.26. * Wed May 17 2006 Dag Wieers - 2.19-1 - Updated to release 2.19. * Mon May 08 2006 Dag Wieers - 2.14-1 - Updated to release 2.14. * Sun Jan 01 2006 Dag Wieers - 2.13-1 - Updated to release 2.13. * Wed Nov 30 2005 Dag Wieers - 2.10-1 - Updated to release 2.10. * Sun Aug 21 2005 Dag Wieers - 2.05-1 - Updated to release 2.05. * Mon Jul 11 2005 Dag Wieers - 2.03-1 - Updated to release 2.03. * Thu May 19 2005 Dag Wieers - 1.99-1 - Updated to release 1.99. * Thu May 05 2005 Dag Wieers - 1.97-1 - Updated to release 1.97. - Added changes from Dave M. * Wed Mar 30 2005 Dag Wieers - 1.0.10-1 - Initial package. (using DAR)