clamtk-kde/clamtk-kde.spec

52 lines
1.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: clamtk-kde
Version: 0.15
Release: 1mamba
Summary: A small utility (servicemenu) to allow right-click virus scanning from within Dolphin
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://clamtk.sourceforge.net/
Source: https://bitbucket.org/dave_theunsub/clamtk-kde/downloads/clamtk-kde-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: kdelibs-devel
Requires: clamtk
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A small utility (servicemenu) to allow right-click virus scanning from within Dolphin.
%prep
%setup -q
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m0644 clamtk-kde.desktop %{buildroot}%{_kde4_servicesdir}/clamtk-kde.desktop
install -D -m0644 clamtk-kde.1.gz %{buildroot}%{_mandir}/man1/clamtk-kde.1.gz
install -D -m0644 clamtk-kde.desktop %{buildroot}%{_kde4_xdgappsdir}/clamtk-kde.desktop
install -D -m0644 clamtk-kde.png %{buildroot}%{_kde4_icondir}/hicolor/128x128/clamtk-kde.png
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%posttrans
update-desktop-database -q >/dev/null 2>&1
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1
:
%files
%defattr(-,root,root)
%{_kde4_xdgappsdir}/clamtk-kde.desktop
%{_kde4_icondir}/hicolor/128x128/clamtk-kde.png
%{_kde4_servicesdir}/clamtk-kde.desktop
%{_mandir}/man1/clamtk-kde.1*
%doc LICENSE
%changelog
* Tue Nov 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15-1mamba
- package created by silvan using the webbuild interface