2013-09-14 00:51:08 +02:00
|
|
|
#
|
|
|
|
# spec file for package spacenavd
|
|
|
|
#
|
2024-02-22 22:11:55 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2013-09-14 00:51:08 +02:00
|
|
|
# Copyright (c) 2009,2011,2013 Herbert Graeber
|
|
|
|
#
|
2018-02-16 21:12:18 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-08-27 22:44:01 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-09-14 00:51:08 +02:00
|
|
|
#
|
|
|
|
|
2018-02-16 21:12:18 +01:00
|
|
|
|
|
|
|
Name: spacenavd
|
2022-12-26 18:17:16 +01:00
|
|
|
Version: 1.2
|
2018-02-16 21:12:18 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Daemon for 3Dconnexion devices
|
2018-08-27 22:44:01 +02:00
|
|
|
License: GPL-3.0-or-later
|
2018-02-16 21:12:18 +01:00
|
|
|
Group: Hardware/Other
|
2018-08-27 22:44:01 +02:00
|
|
|
URL: http://spacenav.sourceforge.net
|
2021-03-16 22:06:53 +01:00
|
|
|
Source: https://github.com/FreeSpacenav/spacenavd/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
2018-02-16 21:12:18 +01:00
|
|
|
Source1: spacenavd.8.gz
|
|
|
|
Source2: spnavrc
|
|
|
|
Source3: xinitrc-%{name}
|
Accepting request 972858 from home:hgraeber:branches:hardware
- Update to version 1.0
* Implemented hugely improved spacenav protocol v1. It includes future
expandability provisions, and adds support for a wealth of new capabilities
for clients, including:
+ device information queries (number of buttons and axes, device identification...).
+ configuration management (allows configuration tools like spnavcfg to be
regular clients without special priviledges).
+ new events, with event selection mechanism (device change, config change,
raw axis, raw button).
* Improved configuration file handling. Spacenavd now saves changes to the file,
and does so while retaining user changes, including comments and empty lines,
and modifying existing lines when possible.
* Added device level axis remapping (non-configurable), to normalize axis
assignments across all known devices, to avoid having to change the configuration
every time a different device is connected.
* Added initial USB device support on FreeBSD.
* Added the ability to bind buttons to actions like sensitivity changes or axis muting.
* Added XTEST support for keyboard event injection, which works much more reliably.
Falls back to XSendEvent if XTEST is unavailable.
* Fixed serial magellan spacemouse compatibility over USB-serial converters with the PL2303 UART.
* Added --cfgdir= build option, to change the configuration file directory.
* Fixed MacOS X build.
* Fixed LED staying on on startup if it was configured otherwise.
* Fixed inconsistent handling of the logging method selection arguments.
* Fixed spacenavd terminating with SIGPIPE when clients disconnected ungracefully.
* Build fixes and improvements.
OBS-URL: https://build.opensuse.org/request/show/972858
OBS-URL: https://build.opensuse.org/package/show/hardware/spacenavd?expand=0&rev=22
2022-04-26 13:32:30 +02:00
|
|
|
Patch1: spacenavd-fix-pidfile.patch
|
2021-11-23 15:08:47 +01:00
|
|
|
Patch2: harden_spacenavd.service.patch
|
2018-08-27 22:44:01 +02:00
|
|
|
BuildRequires: pkgconfig
|
2020-04-01 09:01:55 +02:00
|
|
|
BuildRequires: systemd-rpm-macros
|
2018-02-16 21:12:18 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2020-04-01 09:01:55 +02:00
|
|
|
%{?systemd_requires}
|
2018-02-16 21:12:18 +01:00
|
|
|
Requires: xdpyinfo
|
2018-08-27 22:44:01 +02:00
|
|
|
Supplements: modalias(usb:v046DpC603d*dc*dsc*dp*ic*isc*ip*)
|
|
|
|
Supplements: modalias(usb:v046DpC605d*dc*dsc*dp*ic*isc*ip*)
|
|
|
|
Supplements: modalias(usb:v046DpC606d*dc*dsc*dp*ic*isc*ip*)
|
|
|
|
Supplements: modalias(usb:v046DpC621d*dc*dsc*dp*ic*isc*ip*)
|
|
|
|
Supplements: modalias(usb:v046DpC623d*dc*dsc*dp*ic*isc*ip*)
|
|
|
|
Supplements: modalias(usb:v046DpC625d*dc*dsc*dp*ic*isc*ip*)
|
|
|
|
Supplements: modalias(usb:v046DpC626d*dc*dsc*dp*ic*isc*ip*)
|
|
|
|
Supplements: modalias(usb:v046DpC627d*dc*dsc*dp*ic*isc*ip*)
|
|
|
|
Supplements: modalias(usb:v046DpC628d*dc*dsc*dp*ic*isc*ip*)
|
|
|
|
Supplements: modalias(usb:v046DpC629d*dc*dsc*dp*ic*isc*ip*)
|
|
|
|
Supplements: modalias(usb:v046DpC62bd*dc*dsc*dp*ic*isc*ip*)
|
|
|
|
Supplements: modalias(usb:v046DpC640d*dc*dsc*dp*ic*isc*ip*)
|
2021-03-16 22:06:53 +01:00
|
|
|
Supplements: modalias(usb:v256FpC62Fd*dc*dsc*dp*ic*isc*ip*)
|
|
|
|
Supplements: modalias(usb:v256FpC631d*dc*dsc*dp*ic*isc*ip*)
|
|
|
|
Supplements: modalias(usb:v256FpC632d*dc*dsc*dp*ic*isc*ip*)
|
|
|
|
Supplements: modalias(usb:v256FpC633d*dc*dsc*dp*ic*isc*ip*)
|
|
|
|
Supplements: modalias(usb:v256FpC634d*dc*dsc*dp*ic*isc*ip*)
|
|
|
|
Supplements: modalias(usb:v256FpC635d*dc*dsc*dp*ic*isc*ip*)
|
|
|
|
Supplements: modalias(usb:v256FpC636d*dc*dsc*dp*ic*isc*ip*)
|
2013-09-14 00:51:08 +02:00
|
|
|
|
|
|
|
%description
|
2016-10-30 21:23:51 +01:00
|
|
|
Spacenavd is a free software replacement user-space driver (daemon)
|
|
|
|
for 3Dconnexion's 6-degree-of-freedoms input devices. It is
|
|
|
|
compatible with the original 3dxsrv daemon, and works perfectly with
|
|
|
|
any program that was written for the 3Dconnexion driver.
|
2018-08-27 22:44:01 +02:00
|
|
|
|
|
|
|
%prep
|
2024-02-22 22:11:55 +01:00
|
|
|
%autosetup -p1
|
2013-09-14 00:51:08 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2018-08-27 22:44:01 +02:00
|
|
|
make %{?_smp_mflags} opt="%{optflags}"
|
2013-09-14 00:51:08 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
install -D -m 755 %{name} %{buildroot}%{_sbindir}/%{name}
|
|
|
|
install -D -m 755 spnavd_ctl %{buildroot}%{_bindir}/spnavd_ctl
|
2016-10-27 20:11:48 +02:00
|
|
|
install -D -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man8/spacenavd.8.gz
|
2018-08-27 22:44:01 +02:00
|
|
|
ln -sf spacenavd.8.gz %{buildroot}%{_mandir}/man8/spnavd_ctl.8.gz
|
2013-09-14 00:51:08 +02:00
|
|
|
install -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/spnavrc
|
|
|
|
install -D -m 755 %{SOURCE3} %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/%{name}
|
2018-08-27 22:44:01 +02:00
|
|
|
ln -sf service %{buildroot}%{_sbindir}/rc%{name}
|
Accepting request 972858 from home:hgraeber:branches:hardware
- Update to version 1.0
* Implemented hugely improved spacenav protocol v1. It includes future
expandability provisions, and adds support for a wealth of new capabilities
for clients, including:
+ device information queries (number of buttons and axes, device identification...).
+ configuration management (allows configuration tools like spnavcfg to be
regular clients without special priviledges).
+ new events, with event selection mechanism (device change, config change,
raw axis, raw button).
* Improved configuration file handling. Spacenavd now saves changes to the file,
and does so while retaining user changes, including comments and empty lines,
and modifying existing lines when possible.
* Added device level axis remapping (non-configurable), to normalize axis
assignments across all known devices, to avoid having to change the configuration
every time a different device is connected.
* Added initial USB device support on FreeBSD.
* Added the ability to bind buttons to actions like sensitivity changes or axis muting.
* Added XTEST support for keyboard event injection, which works much more reliably.
Falls back to XSendEvent if XTEST is unavailable.
* Fixed serial magellan spacemouse compatibility over USB-serial converters with the PL2303 UART.
* Added --cfgdir= build option, to change the configuration file directory.
* Fixed MacOS X build.
* Fixed LED staying on on startup if it was configured otherwise.
* Fixed inconsistent handling of the logging method selection arguments.
* Fixed spacenavd terminating with SIGPIPE when clients disconnected ungracefully.
* Build fixes and improvements.
OBS-URL: https://build.opensuse.org/request/show/972858
OBS-URL: https://build.opensuse.org/package/show/hardware/spacenavd?expand=0&rev=22
2022-04-26 13:32:30 +02:00
|
|
|
install -D -m 644 contrib/systemd/%{name}.service %{buildroot}%{_unitdir}/%{name}.service
|
2013-09-14 00:51:08 +02:00
|
|
|
|
|
|
|
%post
|
|
|
|
%fillup_only -n %{name}
|
|
|
|
%service_add_post %{name}.service
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%service_del_postun %{name}.service
|
|
|
|
|
|
|
|
%pre
|
|
|
|
%service_add_pre %{name}.service
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%service_del_preun %{name}.service
|
|
|
|
|
|
|
|
%files
|
2018-08-27 22:44:01 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc README.md
|
2022-09-25 18:53:40 +02:00
|
|
|
%doc doc/example-spnavrc
|
|
|
|
%doc doc/spnavrc_smouse_ent
|
|
|
|
%doc doc/spnavrc_spilot
|
2013-09-14 00:51:08 +02:00
|
|
|
%{_sbindir}/%{name}
|
|
|
|
%{_sbindir}/rc%{name}
|
|
|
|
%{_bindir}/spnavd_ctl
|
|
|
|
%config(noreplace) %{_sysconfdir}/spnavrc
|
|
|
|
%{_unitdir}/%{name}.service
|
2018-08-27 22:44:01 +02:00
|
|
|
%{_mandir}/man8/spacenavd.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/spnavd_ctl.8%{?ext_man}
|
2016-10-30 21:23:51 +01:00
|
|
|
%{_sysconfdir}/X11/xinit/
|
2013-09-14 00:51:08 +02:00
|
|
|
|
|
|
|
%changelog
|