SHARE
TWEET

Untitled

a guest Apr 27th, 2017 168 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. %define name    xboxdrv
  2. %define version 0.8.8
  3. %define release %mkrel 1
  4.  
  5. Name:           %{name}
  6. Summary:        xboxdrv is a Xbox/Xbox360 gamepad driver for Linux.
  7. Version:        %{version}
  8. Release:        %{release}
  9. Source0:        https://github.com/xboxdrv/xboxdrv/archive/stable.zip
  10. URL:            https://github.com/xboxdrv/xboxdrv
  11.  
  12. Group:          System/Kernel and hardware
  13. BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  14. License:        GPL
  15.  
  16.  
  17. BuildRequires:  g++
  18. BuildRequires:  libusb-1.0
  19. BuildRequires:  pkg-config
  20. BuildRequires:  libudev
  21. BuildRequires:  boost
  22. BuildRequires:  scons
  23. BuildRequires:  uinput
  24. BuildRequires:  git
  25. BuildRequires:  X11
  26. BuildRequires:  libdbus
  27. BuildRequires:  glib
  28.  
  29. Requires:       scons
  30.  
  31. %description
  32. Xboxdrv is Xbox/Xbox360 gamepad driver for Linux that works in userspace. It is an alternative to the xpad kernel driver and has support for Xbox1 gamepads, Xbox360 USB gamepads and Xbox360 wireless gamepads. The Xbox360 guitar and some Xbox1 dancemats minght work too. TheXbox360 racing wheel is not supported, but shouldn't be to hard to add if somebody is interested.
  33.  
  34. Some basic support for the Xbox360 Chatpad on USB controller is provided, Chatpad on wireless ones is not supported. The headset is not supported, but you can dump raw data from it.
  35.  
  36. This driver is only of interest if the xpad kernel driver doesn't work for you or if you want more configurability. If the xpad kernel driver works for you there is no need to try this driver.
  37.  
  38. Newest version of the driver can be found at:
  39.  
  40.  * http://pingus.seul.org/~grumbel/xboxdrv/
  41.  
  42. The development version can be optained via:
  43.  
  44.  * git clone http://pingus.seul.org/~grumbel/xboxdrv.git
  45.  
  46. %setup -q -a 1
  47.  
  48. %build
  49. %configure2_5x
  50. %make
  51.  
  52. %install
  53. rm -rf $RPM_BUILD_ROOT
  54. %makeinstall
  55.  
  56. %clean
  57. rm -rf $RPM_BUILD_ROOT
  58.  
  59. %files
  60. %defattr(-,root,root)
  61. %doc README NEWS COPYING AUTHORS
  62. %{_mandir}/doc/xboxdrv.1
  63. %{_mandir}/doc/xboxrdv-daemon.1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top