Last active
November 9, 2015 19:43
-
-
Save gsora/1a2e4b7224fd0da9c499 to your computer and use it in GitHub Desktop.
SPEC file to build xf86-input-mtrack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Name: xorg-x11-drv-mtrack | |
| Version: git | |
| Release: 1%{?dist} | |
| Summary: Multitouch touchpad driver | |
| License: GPLv2 | |
| URL: https://github.com/p2rkw/xf86-input-mtrack/ | |
| Source0: https://github.com/p2rkw/xf86-input-mtrack/ | |
| BuildRequires: xorg-x11-util-macros xorg-x11-server-devel mtdev-devel | |
| Requires: mtdev | |
| %description | |
| An Xorg driver for multitouch trackpads. Supports any trackpad whose kernel driver uses the slotted multitouch protocol. For more information on the protocol see the kernel documentation. | |
| This driver is compatible with Xorg server versions 1.7 to 1.12. It requires the mtdev library to operate. | |
| %prep | |
| git clone https://github.com/p2rkw/xf86-input-mtrack/ $RPM_BUILD_DIR | |
| %build | |
| autoreconf --install | |
| ./configure --with-xorg-module-dir=/usr/lib64/xorg/modules | |
| make %{?_smp_mflags} | |
| %install | |
| rm -rf $RPM_BUILD_ROOT | |
| %make_install | |
| libtool --finish %{_buildrootdir}/xorg-x11-mtrack*/usr/lib64/xorg/modules/input | |
| %files | |
| %doc | |
| /usr/local/lib/xorg/modules/input/mtrack_drv.la | |
| /usr/local/lib/xorg/modules/input/mtrack_drv.so | |
| %changelog | |
| * Mon Nov 9 2015 Gianguido Sorà | |
| - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment