diff --git a/README.md b/README.md index 25e022f..9c88976 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # clamtk-kde +A small utility (servicemenu) to allow right-click virus scanning from within Dolphin. + diff --git a/clamtk-kde.spec b/clamtk-kde.spec new file mode 100644 index 0000000..16172fd --- /dev/null +++ b/clamtk-kde.spec @@ -0,0 +1,51 @@ +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 +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 0.15-1mamba +- package created by silvan using the webbuild interface