forked from pool/spacenavd
- 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:
parent
c0c8f035a2
commit
b5c543696f
3
spacenavd.8.gz
Normal file
3
spacenavd.8.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c4301762f5ef0698a1d42c701bfb56fba511cb355853e40b90e80f9b49d4d174
|
||||||
|
size 1425
|
@ -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
|
Thu Oct 27 11:50:40 UTC 2016 - dan.weatherill@cantab.net
|
||||||
|
|
||||||
|
@ -17,9 +17,10 @@ Group: Hardware/Other
|
|||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
URL: http://spacenav.sourceforge.net
|
URL: http://spacenav.sourceforge.net
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
|
Source1: spacenavd.8.gz
|
||||||
Source2: spnavrc
|
Source2: spnavrc
|
||||||
Source3: xinitrc-%{name}
|
Source3: xinitrc-%{name}
|
||||||
SOurce4: %{name}.service
|
Source4: %{name}.service
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: xorg-x11
|
BuildRequires: xorg-x11
|
||||||
BuildRequires: xorg-x11-devel
|
BuildRequires: xorg-x11-devel
|
||||||
@ -51,6 +52,8 @@ For more info on the spacenav project, visit: http://spacenav.sourceforge.net
|
|||||||
%install
|
%install
|
||||||
install -D -m 755 %{name} %{buildroot}%{_sbindir}/%{name}
|
install -D -m 755 %{name} %{buildroot}%{_sbindir}/%{name}
|
||||||
install -D -m 755 spnavd_ctl %{buildroot}%{_bindir}/spnavd_ctl
|
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 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/spnavrc
|
||||||
install -D -m 755 %{SOURCE3} %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/%{name}
|
install -D -m 755 %{SOURCE3} %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/%{name}
|
||||||
ln -sf service $RPM_BUILD_ROOT%{_sbindir}/rc%{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}
|
%if 0%{?has_systemd}
|
||||||
%{_unitdir}/%{name}.service
|
%{_unitdir}/%{name}.service
|
||||||
%endif
|
%endif
|
||||||
|
%{_mandir}/man1/spacenavd.8.gz
|
||||||
|
%{_mandir}/man1/spnavd_ctl.8.gz
|
||||||
%{_sysconfdir}/X11/xinit/xinitrc.d/spacenavd
|
%{_sysconfdir}/X11/xinit/xinitrc.d/spacenavd
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user