Name: kaption Version: 0.0.9 Release: %mkrel 1 Source0: http://kde-apps.org/CONTENT/content-files/139302-%{name}-%{version}.tar.gz Summary: KDE Graphic Editor License: GPLv2 Group: Graphical desktop/KDE Url: http://kde-apps.org/content/show.php/Kaption?content=139302 BuildRequires: kdelibs4-devel Requires: kdebase4-runtime %description Kaption is a KDE utility similar to Jing or Skitch (not yet as powerful as them ;)). Kaption is an app that sits in the systray, left clicking the icon you can capture a screen region to draw arrows, boxes and text on it, than you can save the result. %prep %setup -q %build %cmake_kde4 %make %install rm -rf %{buildroot} %{makeinstall_std} -C build # remove shebang perl -pi -e 's,#!/usr/bin/env xdg-open,,' %{buildroot}%{_kde_applicationsdir}/%{name}.desktop %find_lang %name --with-html %clean rm -rf %{buildroot} %files -f %name.lang %defattr(-,root,root) %doc AUTHORS CHANGELOG COPYING INSTALL README TODO %{_bindir}/%{name} %{_kde_applicationsdir}/%{name}.desktop %{_kde_appsdir}/%{name}/ %{_datadir}/config.kcfg/%{name}.kcfg %changelog * Sat May 07 2011 ahmad <ahmad> 0.0.9-1.mga1 + Revision: 95718 - imported package kaption