source: projects/specs/trunk/x/xorg-x11-drv-mtrack/xorg-x11-drv-mtrack-vl.spec @ 6206

Revision 6206, 1.9 KB checked in by munepi, 12 years ago (diff)

added xf86-input-mtrack_0.2.0-3.debian-drop-mtrack-test.patch from Debian sid

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