Summary: A gesture-recognition application for X11 Name: easystroke Version: 0.6.0 Release: %mkrel 21 Group: Accessibility License: ISC Url: http://easystroke.sourceforge.net/ Source0: https://downloads.sourceforge.net/easystroke/%{name}-%{version}.tar.gz Patch0: easystroke-0.6.0-fix-desktop-file.patch # fix build with libsigc++ 2.6; also build in C++11 mode # (not sure if the lambda is correct, but seems to work) Patch1: replace-sigc-group-with-lambda.patch # https://github.com/thjaeger/easystroke/pull/8 Patch3: easystroke-0.6.0-abs.patch BuildRequires: pkgconfig(gdkmm-3.0) BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xfixes) BuildRequires: pkgconfig(xtst) BuildRequires: pkgconfig(xorg-server) BuildRequires: boost-devel BuildRequires: intltool BuildRequires: help2man %description Easystroke is a gesture-recognition application for X11. 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. The program was designed with Tablet PCs in mind and can be used effectively even without access to a keyboard. Easystroke tries to provide an intuitive and efficient user interface, while at the same time being highly configurable and offering many advanced features. %prep %setup -q %autopatch -p1 # fix PREFIX sed -i -e 's:/usr/local:%{_prefix}:' Makefile # do not strip binary sed -i -e 's:install -Ds:install -D:g' Makefile %build %make_build CXX="g++ %{optflags}" \ CC="gcc -std=c99 %{optflags}" \ LDFLAGS="%{ldflags}" # man page make man %install %make_install # man page install install -D -m644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 %find_lang %{name} %files -f %{name}.lang %doc LICENSE changelog %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_mandir}/man1/%{name}*