File xstroke.spec of Package xstroke

# spec file for package xstroke (Version 0.6)
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           xstroke
BuildRequires:  gtk2-devel update-desktop-files
Version:        0.6
Release:        226
Summary:        Fullscreen gesture recognition for X
License:        GPL v2 or later
# PreReq:       %fillup_prereq %insserv_prereq 
Group:          Hardware/Mobile
AutoReqProv:    on
Source:         xstroke-%{version}.tar.bz2
Source1:        xstroke.png
Source2:        xstroke.desktop
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

xstroke is a full-screen gesture recognition program for the X Window
System. It captures gestures performed with a pointer device, (such as
a mouse, a stylus, or a pen/tablet), recognizes the gestures and
performs actions based on the gestures.

    Carl Worth <>

%{?suse_update_config:%{suse_update_config -f . }}
libtoolize --force
autoreconf -f --install 

CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./configure --prefix=%{_prefix} --mandir=%{_mandir} --sysconfdir=%{_sysconfdir} --with-libdir=%{_libdir}

make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} libdir=%{_libdir} install
%if %suse_version>1030
%suse_update_desktop_file -i -G "Fullscreen Gesture Recognition" xstroke Utility Accessibility
%suse_update_desktop_file -i xstroke Utility Accessibility
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/pixmaps
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
cp -pr AUTHORS COPYING INSTALL ChangeLog NEWS README TODO $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/




%defattr(-, root, root)
%dir %{_sysconfdir}/xstroke
%config %{_sysconfdir}/xstroke/alphabet
%doc %{_defaultdocdir}/%{name}

* Sun Aug 12 2007
- disable start-up notification under KDE
- fix GenericName capitalization for after 10.3
* Mon Jan 08 2007
- Fixed b.n.c #222484: added GenericName
* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Wed Sep 28 2005
- add norootforbuild
* Sat May 07 2005
- added desktopfile and icon for menu entry
* Wed Jan 19 2005
- added various files into doc-dir
* Tue Jan 18 2005
- initial version
openSUSE Build Service is sponsored by