Compare commits
23 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63e4255f36 | ||
|
|
9d5f710c62 | ||
|
|
4c98bf60be | ||
|
|
670d9ba419 | ||
|
|
80489c06b0 | ||
|
|
168a54b1b7 | ||
|
|
b5dc7e97f2 | ||
|
|
61d250ff86 | ||
| d8e89f9c3c | |||
| 821396b792 | |||
|
|
75785b6dc2 | ||
|
|
b4b56b703f | ||
|
|
e2f5a6ef0e | ||
|
|
8eb8cb0312 | ||
|
|
32b902e06e | ||
|
|
874012e098 | ||
|
|
c99b821bef | ||
|
|
1834a963e3 | ||
| ed42da49ec | |||
|
|
b8016e6d6b | ||
|
|
f83fa08fc4 | ||
|
|
72c010b699 | ||
|
|
3a98227acd |
5 changed files with 1 additions and 98 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
/xboxdrv-linux-0.8.5.tar.bz2
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Orphaned for 6+ weeks
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
7f20b12361770bbff9414a7c6d522c25 xboxdrv-linux-0.8.5.tar.bz2
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
[Unit]
|
||||
Description=Xbox controller driver daemon
|
||||
Documentation=man:xboxdrv(1)
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
User=root
|
||||
PIDFile=/var/run/xboxdrv.pid
|
||||
ExecStart=/bin/xboxdrv --daemon --detach --pid-file /var/run/xboxdrv.pid --dbus disabled --silent --deadzone 4000 --deadzone-trigger 10%
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
84
xboxdrv.spec
84
xboxdrv.spec
|
|
@ -1,84 +0,0 @@
|
|||
Name: xboxdrv
|
||||
Version: 0.8.5
|
||||
Release: 2%{?dist}
|
||||
Summary: Userspace Xbox/Xbox360 Gamepad Driver for Linux
|
||||
|
||||
License: GPLv3
|
||||
URL: http://pingus.seul.org/~grumbel/xboxdrv/
|
||||
Source0: http://pingus.seul.org/~grumbel/xboxdrv/%name-linux-%version.tar.bz2
|
||||
Source1: xboxdrv.service
|
||||
|
||||
BuildRequires: SDL-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: mesa-libGL-devel
|
||||
BuildRequires: scons
|
||||
BuildRequires: libusbx-devel
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: dbus-glib-devel
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
Requires: dbus-python
|
||||
|
||||
%description
|
||||
This is a 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,
|
||||
both first and third party.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-linux-%{version}
|
||||
|
||||
|
||||
%build
|
||||
make PREFIX=/usr %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install PREFIX=/usr DESTDIR=%{buildroot}
|
||||
install -D -m644 %SOURCE1 %{buildroot}%{_unitdir}/%{name}.service
|
||||
#TODO fix dbus/hal stuff to make xboxdrvctrl usable again
|
||||
rm -f %{buildroot}/%{_bindir}/xboxdrvctl
|
||||
chmod 644 %{buildroot}%{_mandir}/man1/xboxdrv*
|
||||
|
||||
|
||||
%preun
|
||||
if [ $1 -eq 0 ] ; then
|
||||
# Package removal, not upgrade
|
||||
/bin/systemctl --no-reload disable %{name}.service > /dev/null 2>&1 || :
|
||||
/bin/systemctl stop %{name}.service > /dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
if [ $1 -eq 1 ] ; then
|
||||
# Initial installation
|
||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||
if [ $1 -ge 1 ] ; then
|
||||
# Package upgrade, not uninstall
|
||||
/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
|
||||
%files
|
||||
%{_bindir}/xboxdrv
|
||||
%{_mandir}/man1/xboxdrv*
|
||||
%{_unitdir}/%{name}.service
|
||||
%doc PROTOCOL NEWS AUTHORS COPYING README examples
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jun 04 2013 Marcel Wysocki <maci@satgnu.net> - 0.8.5-2
|
||||
- spec cleanups
|
||||
- fix man page permission
|
||||
|
||||
* Sun May 26 2013 Marcel Wysocki <maci@satgnu.net> - 0.8.5-1
|
||||
- initial fedora port
|
||||
Loading…
Add table
Add a link
Reference in a new issue