File xinput-calibrator.spec of Package xinput-calibrator
#
# spec file for package xinput-calibrator
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (C) 2010 Nand Ltd.
#
# 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 http://bugs.opensuse.org/
#
Name: xinput-calibrator
Version: 0.7.5_20140203
Release: 0
Url: http://www.freedesktop.org/wiki/Software/xinput_calibrator
Summary: A generic touchscreen calibration program for X.Org
License: MIT
Group: System/X11/Utilities
Source0: tokoyami-xinput_calibrator-v0.7.5-113-gcac3ca7.tar.gz
Patch0: xinput_calibrator-desktop.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libXi-devel
BuildRequires: libXrandr-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: xorg-x11-libXext-devel
%description
xinput_calibrator is a program for calibrating your touchscreen, when using the X Window System.
It currently features:
- works for any standard Xorg touchscreen driver (uses XInput protocol)
- mis-click detection (prevents bogus calibration)
- dynamically recalibrates the evdev driver
- outputs the calibration as xorg.conf.d snippet or HAL policy file
- and more
%prep
%setup -q -n tokoyami-xinput_calibrator-cac3ca7
%patch0 -p1
%build
autoreconf -vi
%configure --with-gui=x11
make %{?_smp_mflags}
%install
%makeinstall
%__rm %{buildroot}%{_bindir}/tester
%suse_update_desktop_file xinput_calibrator
%files
%defattr(-,root,root)
%doc README COPYING Changelog
%{_bindir}/*
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%doc %{_mandir}/man1/*
%changelog