[xinput_calibrator] Initial import (#749320).

fantom fantom at fedoraproject.org
Tue Nov 8 21:34:14 UTC 2011


commit ed281b2b44edca40437fc283e2136f754641a77d
Author: Casper <Casper at Blackbird.(none)>
Date:   Tue Nov 8 22:33:35 2011 +0100

    Initial import (#749320).

 .gitignore             |    1 +
 sources                |    1 +
 xinput_calibrator.spec |   58 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8df2a21 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/xinput_calibrator-0.7.5.tar.gz
diff --git a/sources b/sources
index e69de29..5bd4f2a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+20da0a2055a5a75962add8c6b44f60fa  xinput_calibrator-0.7.5.tar.gz
diff --git a/xinput_calibrator.spec b/xinput_calibrator.spec
new file mode 100644
index 0000000..c47cb2f
--- /dev/null
+++ b/xinput_calibrator.spec
@@ -0,0 +1,58 @@
+Name:           xinput_calibrator
+Version:        0.7.5
+Release:        2%{?dist}
+Summary:        A generic touchscreen calibration program for X.Org
+Group:          Applications/System
+License:        MIT
+URL:            http://www.freedesktop.org/wiki/Software/xinput_calibrator
+Source0:        http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-%{version}.tar.gz
+BuildRequires:  desktop-file-utils
+BuildRequires:  libXtst-devel
+BuildRequires:  gtk2-devel
+#Requires
+
+
+%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
+
+
+%build
+%configure --with-gui=gtkmm \
+           --with-gui=x11
+make %{?_smp_mflags}
+
+
+%install
+make install INSTALL="install -p" DESTDIR=%{buildroot}
+# Install xinput_calibrator.desktop :
+desktop-file-install                       \
+--dir=%{buildroot}%{_datadir}/applications \
+./scripts/%{name}.desktop
+
+
+%files
+%doc README COPYING Changelog
+%{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1.*
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/pixmaps/%{name}.svg
+%{_datadir}/pixmaps/%{name}.xpm
+
+
+%changelog
+* Wed Nov 04 2011 Matthieu Saulnier <casper.le.fantom at gmail.com> 0.7.5-2
+- minor cleanup spec file
+
+* Tue Oct 25 2011 Matthieu Saulnier <casper.le.fantom at gmail.com> 0.7.5-1
+- initial RPM


More information about the scm-commits mailing list