zarko pintar ccbaf8
Name:           easystroke
9ab39e
Version:        0.6.0
4145c1
Release:        27%{?dist}
zarko pintar ccbaf8
Summary:        Gesture-recognition application for X11
zarko pintar ccbaf8
License:        ISC
c47e4c
URL:            https://github.com/thjaeger/easystroke
zarko pintar ccbaf8
Source0:        http://downloads.sourceforge.net/easystroke/%{name}-%{version}.tar.gz
ca1e7f
Source1:	https://raw.githubusercontent.com/thjaeger/easystroke/master/easystroke.appdata.xml
9ab39e
Patch0:		easystroke-0.6.0-fix-desktop-file.patch
9d8669
# https://github.com/thjaeger/easystroke/commit/d14b2740bf3b0ec867d7a0abe4e1f64fb6687aba
9d8669
Patch1:		easystroke-0.6.0-gnome3-fix.patch
e40c1c
# Fix build with lambda (now that sigc++ dropped sigc::group)
e40c1c
Patch2:		easystroke-0.6.0-lambda.patch
618a15
# https://github.com/thjaeger/easystroke/pull/8
618a15
Patch3:		easystroke-0.6.0-abs.patch
03f374
BuildRequires:  gcc-c++
9ab39e
BuildRequires:  gtkmm30-devel
zarko pintar ccbaf8
BuildRequires:  dbus-glib-devel
zarko pintar ccbaf8
BuildRequires:  boost-devel
zarko pintar ccbaf8
BuildRequires:  libXtst-devel
zarko pintar ccbaf8
BuildRequires:  gettext
zarko pintar ccbaf8
BuildRequires:  desktop-file-utils
zarko pintar ccbaf8
BuildRequires:  intltool
d2a2fa
BuildRequires:  xorg-x11-server-devel
ca1e7f
BuildRequires:	libappstream-glib
da3caf
ExcludeArch:    s390 s390x
cb0e47
zarko pintar ccbaf8
%description
zarko pintar ccbaf8
Easystroke is a gesture-recognition application for X11. Gestures or strokes 
zarko pintar ccbaf8
are movements that you make with you mouse (or your pen, finger etc.) while 
zarko pintar ccbaf8
holding down a specific mouse button. Easystroke will execute certain actions 
zarko pintar ccbaf8
if it recognizes the stroke; currently easystroke can emulate key presses, 
zarko pintar ccbaf8
execute shell commands, hold down modifiers and emulate a scroll wheel. 
zarko pintar ccbaf8
zarko pintar ccbaf8
%prep
zarko pintar ccbaf8
%setup -q
9ab39e
%patch0 -p1 -b .fixme
9d8669
%patch1 -p1 -b .gnome3fix
e40c1c
%patch2 -p1 -b .lambda
618a15
%patch3 -p1 -b .abs
ca1e7f
cp -a %{SOURCE1} .
70f668
zarko pintar ccbaf8
# Resolve debuginfo
zarko pintar ccbaf8
sed -i 's|install -Ds|install -D|' Makefile
zarko pintar ccbaf8
# Preserve timestamps:
zarko pintar ccbaf8
sed -i 's|install |install -p |' Makefile
ca1e7f
# Use true system path
ca1e7f
sed -i 's|/usr/local|/usr|g' Makefile
zarko pintar ccbaf8
zarko pintar ccbaf8
%build
zarko pintar 43eb01
make  %{?_smp_mflags} CXX="g++ %{optflags}" CC="gcc -std=c99 %{optflags}"
zarko pintar ccbaf8
zarko pintar ccbaf8
%install
zarko pintar ccbaf8
make install PREFIX="%{_prefix}" DESTDIR=$RPM_BUILD_ROOT
ca1e7f
mkdir -p %{buildroot}/%{_datadir}/appdata
ca1e7f
cp -a %{name}.appdata.xml %{buildroot}/%{_datadir}/appdata/
zarko pintar ccbaf8
zarko pintar ccbaf8
%find_lang %{name}
zarko pintar ccbaf8
zarko pintar ccbaf8
%check
zarko pintar ccbaf8
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
ca1e7f
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata.xml
zarko pintar ccbaf8
zarko pintar ccbaf8
%files -f %{name}.lang
zarko pintar ccbaf8
%doc changelog LICENSE 
zarko pintar ccbaf8
%{_bindir}/%{name}
zarko pintar ccbaf8
%{_datadir}/applications/%{name}.desktop
zarko pintar ccbaf8
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
ca1e7f
%{_datadir}/appdata/%{name}.appdata.xml
zarko pintar ccbaf8
zarko pintar ccbaf8
%changelog
4145c1
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-27
4145c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4145c1
b1586e
* Thu Jan 24 2019 Jonathan Wakely <jwakely@redhat.com> - 0.6.0-26
b1586e
- Rebuilt for Boost 1.69
b1586e
58aa03
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-25
58aa03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
58aa03
679b65
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-24
679b65
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
679b65
ebbc4b
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 0.6.0-23
ebbc4b
- Rebuilt for Boost 1.66
ebbc4b
87dfa8
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.0-22
87dfa8
- Remove obsolete scriptlets
87dfa8
66fb97
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-21
66fb97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
66fb97
13dd7f
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-20
13dd7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
13dd7f
545d2d
* Wed Jul 19 2017 Jonathan Wakely <jwakely@redhat.com> - 0.6.0-19
545d2d
- Rebuilt for s390x binutils bug
545d2d
87de6c
* Mon Jul 03 2017 Jonathan Wakely <jwakely@redhat.com> - 0.6.0-18
87de6c
- Rebuilt for Boost 1.64
87de6c
e9d3d0
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-17
e9d3d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e9d3d0
618a15
* Sat Jan 28 2017 Jonathan Wakely <jwakely@redhat.com> - 0.6.0-16
618a15
- Rebuilt for Boost 1.63 and patched for GCC 7.
618a15
14e593
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-15
14e593
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
14e593
c47e4c
* Mon Feb 1 2016 Tom Callaway <spot@fedoraproject.org> - 0.6.0-14
c47e4c
- rebuild for boost
e40c1c
- fix build against sigc++ with lambda (and no sigc::group)
c47e4c
- update URL
c47e4c
fd4bdf
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.6.0-13
fd4bdf
- Rebuilt for Boost 1.59
fd4bdf
b888ab
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-12
b888ab
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
b888ab
f9576c
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.6.0-11
f9576c
- rebuild for Boost 1.58
f9576c
d93a82
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-10
d93a82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d93a82
747a27
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.6.0-9
747a27
- Rebuilt for GCC 5 C++11 ABI change
747a27
Petr Machata 00aad7
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 0.6.0-8
Petr Machata 00aad7
- Rebuild for boost 1.57.0
Petr Machata 00aad7
ca1e7f
* Tue Dec  9 2014 Tom Callaway <spot@fedoraproject.org> - 0.6.0-7
ca1e7f
- add appdata
ca1e7f
9d8669
* Tue Dec  2 2014 Tom Callaway <spot@fedoraproject.org> - 0.6.0-6
9d8669
- fix black squares issue on gnome 3 (bz1084308)
9d8669
6d6614
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-5
6d6614
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
6d6614
5ea701
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-4
5ea701
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5ea701
Petr Machata 32f633
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.6.0-3
Petr Machata 32f633
- Rebuild for boost 1.55.0
Petr Machata 32f633
fa4808
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 0.6.0-2
fa4808
- rebuild for boost 1.55.0
fa4808
9ab39e
* Tue Nov 19 2013 Tom Callaway <spot@fedoraproject.org> - 0.6.0-1
9ab39e
- update to 0.6.0
9ab39e
532947
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.5.1-8
532947
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
532947
Petr Machata 857a2d
* Sat Jul 27 2013 pmachata@redhat.com - 0.5.5.1-7
Petr Machata 857a2d
- Rebuild for boost 1.54.0
Petr Machata 857a2d
d2a2fa
* Mon Mar 25 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.5.5.1-6
d2a2fa
- Drop xorg sdk dependency as it's been provided by devel since F-9
d2a2fa
d4e13c
* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.5.5.1-5
d4e13c
- Rebuild for Boost-1.53.0
d4e13c
4ad800
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.5.5.1-4
4ad800
- Rebuild for Boost-1.53.0
4ad800
d6f969
* Sun Aug 12 2012 Kevin Fenzi <kevin@scrye.com> - 0.5.5.1-3
d6f969
- Rebuilt for new boost
d6f969
853f00
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.5.1-2
853f00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
853f00
8a0f5d
* Mon May 14 2012 Tom Callaway <spot@fedoraproject.org> - 0.5.5.1-1
8a0f5d
- update to 0.5.5.1
8a0f5d
659f67
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-4
659f67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
659f67
53e23e
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.5.4-3
53e23e
- Rebuild for new libpng
53e23e
da3caf
* Mon Aug  8 2011 Tom Callaway <spot@fedoraproject.org> - 0.5.4-2
da3caf
- rebuild against new boost
da3caf
- cleanup spec file
da3caf
2f24ec
* Thu Apr 21 2011 Tom Callaway <spot@fedoraproject.org> - 0.5.4-1
2f24ec
- update to 0.5.4
2f24ec
Kalev Lember bb2019
* Sun Apr 17 2011 Kalev Lember <kalev@smartlink.ee> - 0.5.3-5
Kalev Lember bb2019
- Rebuilt for boost 1.46.1 soname bump
Kalev Lember bb2019
2631fc
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-4
2631fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2631fc
cb0e47
* Thu Sep 02 2010 Dan Horรกk <dan[at]danny.cz> - 0.5.3-3
cb0e47
- no graphics on s390(x)
cb0e47
cd66dc
* Wed Aug 04 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.5.3-2
cd66dc
- Rebuild for Boost soname bump
cd66dc
- Update spec to match current guidelines
cd66dc
70f668
* Wed Mar 17 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 0.5.3-1
70f668
- update to 0.5.3
70f668
- drop timing patch (upstreamed)
70f668
- add patch to fix indirect linking issue
70f668
544a00
* Fri Jan 22 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.5.2-2
544a00
- Rebuild for Boost soname bump
544a00
zarko pintar 3f82cf
* Wed Jan 13 2010 Zarko Pintar <zarko.pintar@gmail.com> - 0.5.2-1
zarko pintar 3f82cf
- new version for XServer 1.7 and up
zarko pintar 3f82cf
zarko pintar 2f1ad2
* Wed Sep 09 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.9-1
zarko pintar 2f1ad2
- new version
122442
9ab39e
* Wed Jun 24 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.6-1
zarko pintar c304e5
- new version
zarko pintar c304e5
zarko pintar 43eb01
* Wed Jun 03 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.5-1
zarko pintar 43eb01
- new version
zarko pintar 43eb01
- added gcc4.3.0 patch and resolve optflags 
zarko pintar 43eb01
zarko pintar 43eb01
* Mon Jun 01 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.4-3
zarko pintar ccbaf8
- spec cleaning
zarko pintar ccbaf8
zarko pintar ccbaf8
* Fri May 29 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.4-2
zarko pintar ccbaf8
- resolved debuginfo
zarko pintar ccbaf8
zarko pintar ccbaf8
* Wed May 27 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.4-1
zarko pintar ccbaf8
- initial release