]>
Commit | Line | Data |
---|---|---|
1b31c0ea ER |
1 | Summary: Multitouch X input driver |
2 | Name: xorg-driver-input-mtrack | |
c624cabd ER |
3 | Version: 0.3.0 |
4 | Release: 1 | |
5 | Epoch: 1 | |
1b31c0ea ER |
6 | License: GPL v2+ |
7 | Group: X11/Applications | |
8 | URL: https://github.com/BlueDragonX/xf86-input-mtrack | |
c624cabd ER |
9 | Source0: https://github.com/BlueDragonX/xf86-input-mtrack/archive/v%{version}.tar.gz?/mtrack-%{version}.tgz |
10 | # Source0-md5: 111803d7728036d3ab75c587adf23130 | |
1b31c0ea | 11 | Source1: xf86-input-mtrack.conf |
1b31c0ea ER |
12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
14 | BuildRequires: libtool | |
15 | BuildRequires: mtdev-devel >= 1.1.0 | |
1b31c0ea | 16 | BuildRequires: xorg-util-util-macros |
dacc34fc | 17 | BuildRequires: xorg-xserver-server-devel |
1b31c0ea ER |
18 | %{?requires_xorg_xserver_xinput} |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | This X input driver provides gestures support for multitouch | |
23 | touchpads, in particular those with integrated button. | |
24 | ||
25 | %prep | |
c624cabd | 26 | %setup -q -n xf86-input-mtrack-%{version} |
1b31c0ea ER |
27 | |
28 | %build | |
29 | %{__libtoolize} | |
30 | %{__aclocal} | |
31 | %{__autoconf} | |
32 | %{__autoheader} | |
33 | %{__automake} | |
34 | %configure | |
35 | %{__make} | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | %{__make} install \ | |
40 | DESTDIR=$RPM_BUILD_ROOT | |
41 | ||
38f94935 ER |
42 | install -d $RPM_BUILD_ROOT/etc/X11/xorg.conf.d |
43 | cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/40-xf86-input-mtrack.conf | |
1b31c0ea ER |
44 | |
45 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/input/*.la | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc README.md CREDITS | |
38f94935 | 53 | %config(noreplace) %verify(not md5 mtime size) /etc/X11/xorg.conf.d/40-xf86-input-mtrack.conf |
1b31c0ea | 54 | %attr(755,root,root) %{_libdir}/xorg/modules/input/mtrack_drv.so |