File easystroke.spec of Package easystroke
# spec for package easystroke
Name: easystroke
Version: 0.4.11
Release: 1
Summary: Gesture-recognition application for X11
License: ISC
Group: Hardware/Mobile
URL: http://easystroke.sourceforge.net/
Source0: easystroke-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: make gcc gcc-c++ gtkmm2-devel glib2-devel dbus-1-glib-devel boost-devel intltool help2man update-desktop-files
%description
Gestures or strokes are movements that you make with you mouse (or your pen, finger etc.) while holding down a specific mouse button. Easystroke will execute certain actions if it recognizes the stroke; currently easystroke can emulate key presses, execute shell commands, hold down modifiers and emulate a scroll wheel.
Authors:
--------
Tom Jaeger
%prep
%setup -q
%build
make PREFIX=/usr
make man
%install
make DESTDIR=%buildroot PREFIX=/usr install
mkdir -p %{buildroot}%{_mandir}/man1
cp %{name}.1 %{buildroot}%{_mandir}/man1
#install -m 0644 %{name}.svg %{buildroot}%_iconsdir/hicolor/scalable/apps/%{name}.svg
#install -m 644 %{name}.desktop %buildroot/%_datadir/applications/%{name}.desktop
%suse_update_desktop_file -i %name Utility
%find_lang %name
%clean
rm -fr %buildroot
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/%{name}
%doc LICENSE changelog
%{_mandir}/man1/easystroke.1.gz
%{_datadir}/applications/%{name}.desktop
#%_iconsdir/hicolor/scalable/apps/%{name}.svg
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%changelog