[packages/xinput_calibrator] - initial; based on fc spec

arekm arekm at pld-linux.org
Mon Jun 2 22:29:56 CEST 2014


commit afe8472e1f25671569d6f68ab7b0841f02479579
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jun 2 22:03:50 2014 +0200

    - initial; based on fc spec

 xinput_calibrator.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
---
diff --git a/xinput_calibrator.spec b/xinput_calibrator.spec
new file mode 100644
index 0000000..d37a65d
--- /dev/null
+++ b/xinput_calibrator.spec
@@ -0,0 +1,65 @@
+Summary:	A generic touchscreen calibration program for X.Org
+Name:		xinput_calibrator
+Version:	0.7.5
+Release:	1
+License:	MIT
+Group:		X11/Applications
+URL:		http://www.freedesktop.org/wiki/Software/xinput_calibrator
+Source0:	https://github.com/tias/xinput_calibrator/archive/v%{version}.tar.gz
+# Source0-md5:	b9fcb2c175a73e3c86af7688073de338
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	desktop-file-utils
+BuildRequires:	gtk+2-devel
+BuildRequires:	libtool
+BuildRequires:	pkgconfig
+BuildRequires:	xorg-lib-libXtst-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
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+	--with-gui=gtkmm \
+	--with-gui=x11
+
+%{__make}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	INSTALL="install -p" \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# Install xinput_calibrator.desktop :
+desktop-file-install                       \
+--dir=$RPM_BUILD_ROOT%{_desktopdir} \
+./scripts/%{name}.desktop
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README Changelog
+%attr(755,root,root) %{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1*
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.svg
+%{_pixmapsdir}/%{name}.xpm
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xinput_calibrator.git/commitdiff/afe8472e1f25671569d6f68ab7b0841f02479579



More information about the pld-cvs-commit mailing list