- Add a manpage taken from debian

OBS-URL: https://build.opensuse.org/package/show/hardware/spacenavd?expand=0&rev=4
This commit is contained in:
Herbert Graeber 2016-10-27 17:53:35 +00:00 committed by Git OBS Bridge
parent c0c8f035a2
commit b5c543696f
3 changed files with 14 additions and 2 deletions

3
spacenavd.8.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4301762f5ef0698a1d42c701bfb56fba511cb355853e40b90e80f9b49d4d174
size 1425

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Oct 27 17:52:13 UTC 2016 - herbert@graeber-clan.de
- Add a manpage taken from debian
-------------------------------------------------------------------
Thu Oct 27 11:50:40 UTC 2016 - dan.weatherill@cantab.net

View File

@ -17,9 +17,10 @@ Group: Hardware/Other
License: GPL-3.0+
URL: http://spacenav.sourceforge.net
Source: %{name}-%{version}.tar.gz
Source1: spacenavd.8.gz
Source2: spnavrc
Source3: xinitrc-%{name}
SOurce4: %{name}.service
Source4: %{name}.service
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: xorg-x11
BuildRequires: xorg-x11-devel
@ -51,6 +52,8 @@ For more info on the spacenav project, visit: http://spacenav.sourceforge.net
%install
install -D -m 755 %{name} %{buildroot}%{_sbindir}/%{name}
install -D -m 755 spnavd_ctl %{buildroot}%{_bindir}/spnavd_ctl
install -D -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/spacenavd.8.gz
ln -sf spacenavd.8.gz $RPM_BUILD_ROOT%{_mandir}/man1/spnavd_ctl.8.gz
install -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/spnavrc
install -D -m 755 %{SOURCE3} %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/%{name}
ln -sf service $RPM_BUILD_ROOT%{_sbindir}/rc%{name}
@ -92,7 +95,8 @@ install -D -m 644 %{SOURCE4} %{buildroot}%{_unitdir}/%{name}.service
%if 0%{?has_systemd}
%{_unitdir}/%{name}.service
%endif
%{_mandir}/man1/spacenavd.8.gz
%{_mandir}/man1/spnavd_ctl.8.gz
%{_sysconfdir}/X11/xinit/xinitrc.d/spacenavd
%changelog