2024-01-05 21:24:02 +01:00
|
|
|
Name: clamtk
|
2024-01-05 21:24:03 +01:00
|
|
|
Version: 5.25
|
2024-01-05 21:24:02 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A frontend for ClamAV using Perl and Gtk+ graphics libraries
|
|
|
|
Group: Graphical Desktop/Applications/Security
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://clamtk.sourceforge.net/
|
2024-01-05 21:24:03 +01:00
|
|
|
Source: https://bitbucket.org/davem_/clamtk/downloads/clamtk-%{version}.tar.xz
|
2024-01-05 21:24:02 +01:00
|
|
|
License: GPL, Artistic
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl-Glib
|
|
|
|
BuildRequires: perl-Gtk2
|
|
|
|
BuildRequires: perl-JSON
|
|
|
|
BuildRequires: perl-libwww
|
|
|
|
BuildRequires: perl-Locale-gettext
|
|
|
|
BuildRequires: perl-Text-CSV
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 21:24:03 +01:00
|
|
|
Requires: perl-IO-Socket-SSL
|
2024-01-05 21:24:02 +01:00
|
|
|
Requires: clamav
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
ClamTk is a frontend for ClamAV using Perl and Gtk+ graphics libraries.
|
|
|
|
It is intended to be an easy to use, light-weight, on-demand scanner for Linux systems
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{perl_sitelib}/ClamTk
|
|
|
|
cp lib/*.pm %{buildroot}%{perl_sitelib}/ClamTk/
|
|
|
|
install -D -m0755 clamtk %{buildroot}%{_bindir}/clamtk
|
|
|
|
install -D -m0644 clamtk.1.gz %{buildroot}%{_mandir}/man1/clamtk.1.gz
|
|
|
|
install -D -m0644 clamtk.desktop %{buildroot}%{_datadir}/applications/clamtk.desktop
|
|
|
|
install -D -m0644 images/clamtk.png %{buildroot}%{_datadir}/pixmaps/clamtk.png
|
|
|
|
install -D -m0644 images/clamtk.xpm %{buildroot}%{_datadir}/pixmaps/clamtk.xpm
|
|
|
|
|
|
|
|
for f in po/*.mo; do
|
|
|
|
MOLANG=`basename $f | sed "s|\.mo||"`
|
|
|
|
install -D -m0644 $f %{buildroot}%{_datadir}/locale/$MOLANG/LC_MESSAGES/%{name}.mo
|
|
|
|
done
|
|
|
|
|
|
|
|
%find_lang %{name} || touch %{name}.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
update-desktop-database -q >/dev/null 2>&1
|
|
|
|
:
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/clamtk
|
|
|
|
%dir %{perl_sitelib}/ClamTk
|
|
|
|
%{perl_sitelib}/ClamTk/*.pm
|
|
|
|
%{_datadir}/applications/clamtk.desktop
|
|
|
|
%{_mandir}/man1/clamtk.1.gz
|
|
|
|
%{_datadir}/pixmaps/clamtk.png
|
|
|
|
%{_datadir}/pixmaps/clamtk.xpm
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:24:03 +01:00
|
|
|
* Sat Dec 23 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.25-1mamba
|
|
|
|
- update to 5.25
|
|
|
|
|
2024-01-05 21:24:03 +01:00
|
|
|
* Sun Nov 20 2016 Automatic Build System <autodist@mambasoft.it> 5.24-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:24:03 +01:00
|
|
|
* Mon Feb 01 2016 Automatic Build System <autodist@mambasoft.it> 5.20-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:24:03 +01:00
|
|
|
* Fri May 22 2015 Automatic Build System <autodist@mambasoft.it> 5.18-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:24:03 +01:00
|
|
|
* Sun May 03 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.17-1mamba
|
|
|
|
- update to 5.17
|
|
|
|
- require perl-IO-Socket-SSL
|
|
|
|
|
2024-01-05 21:24:03 +01:00
|
|
|
* Fri Mar 20 2015 Automatic Build System <autodist@mambasoft.it> 5.15-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:24:03 +01:00
|
|
|
* Sat Jan 31 2015 Automatic Build System <autodist@mambasoft.it> 5.13-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:24:03 +01:00
|
|
|
* Sun Dec 28 2014 Automatic Build System <autodist@mambasoft.it> 5.12-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:24:03 +01:00
|
|
|
* Sun Nov 23 2014 Automatic Build System <autodist@mambasoft.it> 5.11-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:24:02 +01:00
|
|
|
* Mon Oct 20 2014 Automatic Build System <autodist@mambasoft.it> 5.10-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:24:02 +01:00
|
|
|
* Sun Sep 21 2014 Automatic Build System <autodist@mambasoft.it> 5.09-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:24:02 +01:00
|
|
|
* Thu Jul 10 2014 Automatic Build System <autodist@mambasoft.it> 5.07-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:24:02 +01:00
|
|
|
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 5.06-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:24:02 +01:00
|
|
|
* Tue Nov 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 5.00-1mamba
|
|
|
|
- package created by silvan using the webbuild interface
|