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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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: 6.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. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. %description
  25. This X input driver provides gestures support for multitouch touchpads,
  26. with or without an integrated button.
  27. %prep
  28. %setup -q -n %{tarball}-%{githash}
  29. %patch0 -p1 -b .mtrack
  30. %build
  31. aclocal
  32. autoheader
  33. autoconf
  34. libtoolize --copy --force
  35. automake -a --gnu --include-deps
  36. %configure --disable-static
  37. make
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. make install DESTDIR=$RPM_BUILD_ROOT
  41. # FIXME: Remove all libtool archives (*.la) from modules directory. This
  42. # should be fixed in upstream Makefile.am or whatever.
  43. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %files
  47. %defattr(-,root,root,-)
  48. %doc COPYING CREDITS README.md
  49. %{driverdir}/mtrack_drv.so
  50. %changelog
  51. * Thu Jul 10 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-6.71abf32
  52. - rebuild with xserver-1.15.2
  53. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-5.71abf32
  54. - rebuild with VineSeed environment
  55. * Sun May 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-4.71abf32
  56. - rebuild with xserver-1.14.1
  57. * Mon May 21 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.2.0-3.71abf32
  58. - added xf86-input-mtrack_0.2.0-3.debian-drop-mtrack-test.patch from Debian sid
  59. * Wed Nov 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-2.71abf32
  60. - rebuild with xserver-1.11.1.902
  61. * Fri Sep 23 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.2.0-1.71abf32
  62. - initial build for Vine Linux