xorg-x11-drv-joystick-vl.spec 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. %define tarball xf86-input-joystick
  2. %define moduledir %(pkg-config xorg-server --variable=moduledir )
  3. %define driverdir %{moduledir}/input
  4. Summary: Xorg X11 joystick input driver
  5. Summary(ja): Xorg X11 joystick 入力ドライバ
  6. Name: xorg-x11-drv-joystick
  7. Version: 1.6.1
  8. Release: 1%{?_dist_release}
  9. URL: http://www.x.org
  10. License: MIT
  11. Group: User Interface/X Hardware Support
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
  14. ExcludeArch: s390 s390x
  15. BuildRequires: xorg-x11-server-sdk >= 1.6
  16. BuildRequires: xorg-x11-proto-devel >= 7.2-10
  17. Requires: xorg-x11-server-Xorg
  18. %description
  19. X.Org X11 joystick input driver.
  20. %package devel
  21. Summary: Development Package for Xorg X11 joystick input driver
  22. Summary: Xorg X11 joystick 入力ドライバの開発パッケージ
  23. Group: Development/System
  24. Requires: %{name} = %{version}-%{release}
  25. %description devel
  26. Development Package for Xorg X11 joystick input driver
  27. %prep
  28. %setup -q -n %{tarball}-%{version}
  29. %build
  30. %configure --disable-static
  31. make
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. make install DESTDIR=$RPM_BUILD_ROOT
  35. # FIXME: Remove all libtool archives (*.la) from modules directory. This
  36. # should be fixed in upstream Makefile.am or whatever.
  37. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %files
  41. %defattr(-,root,root,-)
  42. %{driverdir}/joystick_drv.so
  43. %{_mandir}/man4/joystick.4*
  44. %files devel
  45. %defattr(-,root,root,-)
  46. %{_includedir}/xorg/joystick-properties.h
  47. %{_libdir}/pkgconfig/xorg-joystick.pc
  48. %changelog
  49. * Sun Mar 25 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  50. - new upstream release
  51. * Wed Nov 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
  52. - rebuild with xserver-1.11.1.902
  53. * Sat May 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  54. - new upstream release
  55. - delete Patch0
  56. * Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-5
  57. - rebuild with xserver-1.10.0
  58. - add Patch0 (xf86-input-joystick_git20101216.patch)
  59. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-4
  60. - rebuild with xserver-1.9.2
  61. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-3
  62. - rebuild with rpm-4.8.1 for pkg-config file
  63. * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-2
  64. - rebuild with xserver-1.8rc
  65. * Sun Mar 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-1
  66. - Initial build for Vine Linux