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
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