]> git.pld-linux.org Git - packages/xinput_calibrator.git/commitdiff
- initial; based on fc spec master auto/th/xinput_calibrator-0.7.5-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 2 Jun 2014 20:03:50 +0000 (22:03 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 2 Jun 2014 20:03:50 +0000 (22:03 +0200)
xinput_calibrator.spec [new file with mode: 0644]

diff --git a/xinput_calibrator.spec b/xinput_calibrator.spec
new file mode 100644 (file)
index 0000000..d37a65d
--- /dev/null
@@ -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
This page took 0.092189 seconds and 4 git commands to generate.