Name: easystroke Version: 0.6.0 Release: 6%{?dist} Summary: Gesture-recognition application for X11 Group: User Interface/X Hardware Support License: ISC URL: http://easystroke.sourceforge.net/ Source0: http://downloads.sourceforge.net/easystroke/%{name}-%{version}.tar.gz Patch0: easystroke-0.6.0-fix-desktop-file.patch # https://github.com/thjaeger/easystroke/commit/d14b2740bf3b0ec867d7a0abe4e1f64fb6687aba Patch1: easystroke-0.6.0-gnome3-fix.patch BuildRequires: gtkmm30-devel BuildRequires: dbus-glib-devel BuildRequires: boost-devel BuildRequires: libXtst-devel BuildRequires: gettext BuildRequires: desktop-file-utils BuildRequires: intltool BuildRequires: xorg-x11-server-devel ExcludeArch: s390 s390x %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. %prep %setup -q %patch0 -p1 -b .fixme %patch1 -p1 -b .gnome3fix # Resolve debuginfo sed -i 's|install -Ds|install -D|' Makefile # Preserve timestamps: sed -i 's|install |install -p |' Makefile %build make %{?_smp_mflags} CXX="g++ %{optflags}" CC="gcc -std=c99 %{optflags}" %install make install PREFIX="%{_prefix}" DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} %check desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %doc changelog LICENSE %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %changelog * Tue Dec 2 2014 Tom Callaway - 0.6.0-6 - fix black squares issue on gnome 3 (bz1084308) * Sat Aug 16 2014 Fedora Release Engineering - 0.6.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri May 23 2014 Petr Machata - 0.6.0-3 - Rebuild for boost 1.55.0 * Fri May 23 2014 David Tardon - 0.6.0-2 - rebuild for boost 1.55.0 * Tue Nov 19 2013 Tom Callaway - 0.6.0-1 - update to 0.6.0 * Sat Aug 03 2013 Fedora Release Engineering - 0.5.5.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Jul 27 2013 pmachata@redhat.com - 0.5.5.1-7 - Rebuild for boost 1.54.0 * Mon Mar 25 2013 Peter Robinson 0.5.5.1-6 - Drop xorg sdk dependency as it's been provided by devel since F-9 * Sun Feb 10 2013 Denis Arnaud - 0.5.5.1-5 - Rebuild for Boost-1.53.0 * Sat Feb 09 2013 Denis Arnaud - 0.5.5.1-4 - Rebuild for Boost-1.53.0 * Sun Aug 12 2012 Kevin Fenzi - 0.5.5.1-3 - Rebuilt for new boost * Wed Jul 18 2012 Fedora Release Engineering - 0.5.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon May 14 2012 Tom Callaway - 0.5.5.1-1 - update to 0.5.5.1 * Fri Jan 13 2012 Fedora Release Engineering - 0.5.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 06 2011 Adam Jackson - 0.5.4-3 - Rebuild for new libpng * Mon Aug 8 2011 Tom Callaway - 0.5.4-2 - rebuild against new boost - cleanup spec file * Thu Apr 21 2011 Tom Callaway - 0.5.4-1 - update to 0.5.4 * Sun Apr 17 2011 Kalev Lember - 0.5.3-5 - Rebuilt for boost 1.46.1 soname bump * Tue Feb 08 2011 Fedora Release Engineering - 0.5.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Sep 02 2010 Dan HorĂ¡k - 0.5.3-3 - no graphics on s390(x) * Wed Aug 04 2010 Rahul Sundaram - 0.5.3-2 - Rebuild for Boost soname bump - Update spec to match current guidelines * Wed Mar 17 2010 Tom "spot" Callaway - 0.5.3-1 - update to 0.5.3 - drop timing patch (upstreamed) - add patch to fix indirect linking issue * Fri Jan 22 2010 Rahul Sundaram - 0.5.2-2 - Rebuild for Boost soname bump * Wed Jan 13 2010 Zarko Pintar - 0.5.2-1 - new version for XServer 1.7 and up * Wed Sep 09 2009 Zarko Pintar - 0.4.9-1 - new version * Wed Jun 24 2009 Zarko Pintar - 0.4.6-1 - new version * Wed Jun 03 2009 Zarko Pintar - 0.4.5-1 - new version - added gcc4.3.0 patch and resolve optflags * Mon Jun 01 2009 Zarko Pintar - 0.4.4-3 - spec cleaning * Fri May 29 2009 Zarko Pintar - 0.4.4-2 - resolved debuginfo * Wed May 27 2009 Zarko Pintar - 0.4.4-1 - initial release