Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37550601
en ru br
ALT Linux repos
S:6.16-alt1
5.0: 4.02-alt1
4.1: 3.06-alt1
4.0: 2.31-alt1
3.0: 2.03-alt0.1

Other repositories
Upstream:3.08

Group :: File tools
RPM: clamtk

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: clamtk
Version: 4.02
Release: alt1

Summary: Easy to use front-end for ClamAV

Packager: Vitaly Lipatov <lav at altlinux.ru>

License: Perl
Group: File tools
Url: http://clamtk.sourceforge.net/

BuildArch: noarch
Source: http://prdownloads.sf.net/%name/%name-%version.tar.bz2
Source1: %name-ru.po
Patch: %name-gtk.patch

Requires: clamav >= 0.83
Requires(post,postun): desktop-file-utils

# Automatically added by buildreq on Mon Nov 03 2008 (-bi)

BuildRequires: desktop-file-utils perl-Config-Tiny perl-Date-Calc perl-File-Find-Rule perl-Gtk2 perl-Locale-gettext perl-libwww

BuildRequires: desktop-file-utils

%description
ClamTk is a front-end, point and click gui for ClamAV on Linux systems.
It supports easy signature-updates. It is meant to be lightweight and easy to use.

%prep
%setup -q
%patch
# we place it in standard place
%__subst "s|.*/usr/lib.*||g" %name

%install
install -D -m755 %name %buildroot%_bindir/%name
mkdir -p %buildroot%perl_vendor_privlib/ClamTk
cp lib/*.pm %buildroot%perl_vendor_privlib/ClamTk/

install -D -m0644 %name.png %buildroot%_pixmapsdir/%name.png
install -D -m0644 clamtk.1.gz %buildroot%_man1dir/clamtk.1.gz
install -D -m0644 clamtk.desktop %buildroot%_desktopdir/clamtk.desktop

msgfmt %SOURCE1 -o po/ru.mo

for n in po/*.mo; do
install -D -m0644 $n %buildroot%_datadir/locale/`basename $n .mo`/LC_MESSAGES/clamtk.mo
done

%find_lang %name

%post
%update_menus
%update_desktopdb

%postun
%clean_menus
%clean_desktopdb

%files -f %name.lang
%doc README DISCLAIMER CHANGES LICENSE
%_bindir/%name
%perl_vendor_privlib/ClamTk/
%_desktopdir/%name.desktop
%_pixmapsdir/%name.png
%_man1dir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin