]> git.pld-linux.org Git - packages/xinput_calibrator.git/blame - xinput_calibrator.spec
- initial; based on fc spec
[packages/xinput_calibrator.git] / xinput_calibrator.spec
CommitLineData
afe8472e
AM
1Summary: A generic touchscreen calibration program for X.Org
2Name: xinput_calibrator
3Version: 0.7.5
4Release: 1
5License: MIT
6Group: X11/Applications
7URL: http://www.freedesktop.org/wiki/Software/xinput_calibrator
8Source0: https://github.com/tias/xinput_calibrator/archive/v%{version}.tar.gz
9# Source0-md5: b9fcb2c175a73e3c86af7688073de338
10BuildRequires: autoconf
11BuildRequires: automake
12BuildRequires: desktop-file-utils
13BuildRequires: gtk+2-devel
14BuildRequires: libtool
15BuildRequires: pkgconfig
16BuildRequires: xorg-lib-libXtst-devel
17
18%description
19xinput_calibrator is a program for calibrating your touchscreen, when
20using the X Window System. It currently features:
21 - works for any standard Xorg touchscreen driver (uses XInput
22 protocol)
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
26 - and more
27
28%prep
29%setup -q
30
31%build
32%{__libtoolize}
33%{__aclocal}
34%{__autoconf}
35%{__automake}
36%configure \
37 --with-gui=gtkmm \
38 --with-gui=x11
39
40%{__make}
41
42
43%install
44rm -rf $RPM_BUILD_ROOT
45
46%{__make} install \
47 INSTALL="install -p" \
48 DESTDIR=$RPM_BUILD_ROOT
49
50# Install xinput_calibrator.desktop :
51desktop-file-install \
52--dir=$RPM_BUILD_ROOT%{_desktopdir} \
53./scripts/%{name}.desktop
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc README Changelog
61%attr(755,root,root) %{_bindir}/%{name}
62%{_mandir}/man1/%{name}.1*
63%{_desktopdir}/%{name}.desktop
64%{_pixmapsdir}/%{name}.svg
65%{_pixmapsdir}/%{name}.xpm
This page took 0.054675 seconds and 4 git commands to generate.