1 Summary: A generic touchscreen calibration program for X.Org
2 Name: xinput_calibrator
6 Group: X11/Applications
7 URL: http://www.freedesktop.org/wiki/Software/xinput_calibrator
8 Source0: https://github.com/tias/xinput_calibrator/archive/v%{version}.tar.gz
9 # Source0-md5: b9fcb2c175a73e3c86af7688073de338
10 BuildRequires: autoconf
11 BuildRequires: automake
12 BuildRequires: desktop-file-utils
13 BuildRequires: gtk+2-devel
14 BuildRequires: libtool
15 BuildRequires: pkgconfig
16 BuildRequires: xorg-lib-libXtst-devel
19 xinput_calibrator is a program for calibrating your touchscreen, when
20 using the X Window System. It currently features:
21 - works for any standard Xorg touchscreen driver (uses XInput
23 - mis-click detection (prevents bogus calibration)
24 - dynamically recalibrates the evdev driver
25 - outputs the calibration as xorg.conf.d snippet or HAL policy file
44 rm -rf $RPM_BUILD_ROOT
47 INSTALL="install -p" \
48 DESTDIR=$RPM_BUILD_ROOT
50 # Install xinput_calibrator.desktop :
51 desktop-file-install \
52 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
53 ./scripts/%{name}.desktop
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
61 %attr(755,root,root) %{_bindir}/%{name}
62 %{_mandir}/man1/%{name}.1*
63 %{_desktopdir}/%{name}.desktop
64 %{_pixmapsdir}/%{name}.svg
65 %{_pixmapsdir}/%{name}.xpm