File xinput_calibrator.spec of Package xinput_calibrator
#
# spec file for package xinput_calibrator
#
# Copyright (c) 2014 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 http://bugs.opensuse.org/
#
Name: xinput_calibrator
Version: 0.7.5
Release: 0
Summary: Utility to calibrate X Input devices
License: MIT and HPND
Group: System/X11/Utilities
Url: http://www.freedesktop.org/wiki/Software/xinput_calibrator
Source0: http://github.com/downloads/tias/xinput_calibrator/%{name}-%{version}.tar.gz
BuildRequires: update-desktop-files
BuildRequires: pkg-config
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xi) >= 1.2
BuildRequires: pkgconfig(inputproto) >= 1.5
BuildRequires: pkgconfig(xrandr)
BuildRequires: gcc-c++
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
xinput_calibrator is a tool to claibrate XInput devices.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%suse_update_desktop_file %{name} X-SuSE-Core-System X-SuSE-ControlCenter-System
%make_install
%files
%defattr(-,root,root)
%doc Changelog COPYING README
%{_bindir}/%name
%{_mandir}/man1/%name.1%{?ext_man}
/usr/share/applications/%{name}.desktop
/usr/share/pixmaps/%{name}.svg
/usr/share/pixmaps/%{name}.xpm
%changelog