xorg-x11-drv-mtrack-vl.spec 1.9 KB

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