diff --git a/spacenavd.8.gz b/spacenavd.8.gz new file mode 100644 index 0000000..b5fd0d3 --- /dev/null +++ b/spacenavd.8.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4301762f5ef0698a1d42c701bfb56fba511cb355853e40b90e80f9b49d4d174 +size 1425 diff --git a/spacenavd.changes b/spacenavd.changes index cf5151b..2811c4e 100644 --- a/spacenavd.changes +++ b/spacenavd.changes @@ -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 diff --git a/spacenavd.spec b/spacenavd.spec index fd28b05..9da4f16 100644 --- a/spacenavd.spec +++ b/spacenavd.spec @@ -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