1 | %define tarball BlueDragonX-xf86-input-mtrack |
---|
2 | %define moduledir %(pkg-config xorg-server --variable=moduledir ) |
---|
3 | %define driverdir %{moduledir}/input |
---|
4 | %define githash 71abf32 |
---|
5 | |
---|
6 | Summary: Xorg X11 Multitouch Trackpad Driver |
---|
7 | Summary(ja): Xorg X11 マルチタッチトラックパッド用ドライバ |
---|
8 | Name: xorg-x11-drv-mtrack |
---|
9 | Version: 0.2.0 |
---|
10 | Release: 5.git%{githash}%{?_dist_release} |
---|
11 | URL: https://github.com/BlueDragonX/xf86-input-mtrack |
---|
12 | License: GPLv2+ |
---|
13 | Group: User Interface/X Hardware Support |
---|
14 | |
---|
15 | Source0: %{tarball}-v%{version}-1-g%{githash}.tar.gz |
---|
16 | Patch0: xf86-input-mtrack_0.2.0-3.debian-drop-mtrack-test.patch |
---|
17 | |
---|
18 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
19 | BuildRequires: xorg-x11-server-sdk |
---|
20 | BuildRequires: libxkbfile-devel |
---|
21 | BuildRequires: xorg-x11-util-macros >= 1.3.0 |
---|
22 | BuildRequires: mtdev-devel >= 1.0.10 |
---|
23 | Requires: xorg-x11-server-Xorg |
---|
24 | Requires: mtdev >= 1.0.10 |
---|
25 | |
---|
26 | Vendor: Project Vine |
---|
27 | Distribution: Vine Linux |
---|
28 | |
---|
29 | %description |
---|
30 | This X input driver provides gestures support for multitouch touchpads, |
---|
31 | with or without an integrated button. |
---|
32 | |
---|
33 | %prep |
---|
34 | %setup -q -n %{tarball}-%{githash} |
---|
35 | %patch0 -p1 -b .mtrack |
---|
36 | |
---|
37 | %build |
---|
38 | aclocal |
---|
39 | autoheader |
---|
40 | autoconf |
---|
41 | libtoolize --copy --force |
---|
42 | automake -a --gnu --include-deps |
---|
43 | %configure --disable-static |
---|
44 | make |
---|
45 | |
---|
46 | %install |
---|
47 | rm -rf $RPM_BUILD_ROOT |
---|
48 | |
---|
49 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
50 | |
---|
51 | # FIXME: Remove all libtool archives (*.la) from modules directory. This |
---|
52 | # should be fixed in upstream Makefile.am or whatever. |
---|
53 | find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f -- |
---|
54 | |
---|
55 | %clean |
---|
56 | rm -rf $RPM_BUILD_ROOT |
---|
57 | |
---|
58 | %files |
---|
59 | %defattr(-,root,root,-) |
---|
60 | %doc COPYING CREDITS README.md |
---|
61 | %{driverdir}/mtrack_drv.so |
---|
62 | |
---|
63 | %changelog |
---|
64 | * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-4.71abf32 |
---|
65 | - rebuild with VineSeed environment |
---|
66 | |
---|
67 | * Sun May 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-4.71abf32 |
---|
68 | - rebuild with xserver-1.14.1 |
---|
69 | |
---|
70 | * Mon May 21 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.2.0-3.71abf32 |
---|
71 | - added xf86-input-mtrack_0.2.0-3.debian-drop-mtrack-test.patch from Debian sid |
---|
72 | |
---|
73 | * Wed Nov 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-2.71abf32 |
---|
74 | - rebuild with xserver-1.11.1.902 |
---|
75 | |
---|
76 | * Fri Sep 23 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.2.0-1.71abf32 |
---|
77 | - initial build for Vine Linux |
---|