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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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: 2.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. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  15. BuildRequires: xorg-x11-server-sdk
  16. BuildRequires: libxkbfile-devel
  17. BuildRequires: xorg-x11-util-macros >= 1.3.0
  18. BuildRequires: mtdev-devel >= 1.0.10
  19. Requires: xorg-x11-server-Xorg
  20. Requires: mtdev >= 1.0.10
  21. %description
  22. This X input driver provides gestures support for multitouch touchpads,
  23. with or without an integrated button.
  24. %prep
  25. %setup -q -n %{tarball}-%{githash}
  26. %build
  27. aclocal
  28. autoheader
  29. autoconf
  30. libtoolize --copy --force
  31. automake -a --gnu --include-deps
  32. %configure --disable-static
  33. make
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make install DESTDIR=$RPM_BUILD_ROOT
  37. # FIXME: Remove all libtool archives (*.la) from modules directory. This
  38. # should be fixed in upstream Makefile.am or whatever.
  39. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %files
  43. %defattr(-,root,root,-)
  44. %doc COPYING CREDITS README.md
  45. %{driverdir}/mtrack_drv.so
  46. %changelog
  47. * Wed Nov 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-2.71abf32
  48. - rebuild with xserver-1.11.1.902
  49. * Fri Sep 23 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.2.0-1.71abf32
  50. - initial build for Vine Linux