diff --git a/init-spacenavd b/init-spacenavd deleted file mode 100644 index b897f78..0000000 --- a/init-spacenavd +++ /dev/null @@ -1,103 +0,0 @@ -#!/bin/sh -# -# /etc/init.d/spacenavd -# and its symbolic link -# /usr/sbin/rcspacenavd -# -### BEGIN INIT INFO -# Provides: spacenavd -# Required-Start: $syslog $remote_fs -# Should-Start: -# Required-Stop: $syslog $remote_fs -# Should-Stop: -# Default-Start: 3 5 -# Default-Stop: 0 1 2 6 -# Short-Description: spacenavd daemon for 3d connexion devices -# Description: Start spacenavd to control 3d connexion devices -### END INIT INFO -# - -# Check for missing binaries (stale symlinks should not happen) -# Note: Special treatment of stop for LSB conformance -SPACENAVD_BIN=/usr/sbin/spacenavd -test -x $SPACENAVD_BIN || { echo "$SPACENAVD_BIN not installed"; - if [ "$1" = "stop" ]; then exit 0; - else exit 5; fi; } - -# Check for existence of needed config file and read it -#SPACENAVD_CONFIG=/etc/sysconfig/spacenavd -#test -r $SPACENAVD_CONFIG || { echo "$SPACENAVD_CONFIG not existing"; -# if [ "$1" = "stop" ]; then exit 0; -# else exit 6; fi; } - -# Read config -#. $SPACENAVD_CONFIG - -. /etc/rc.status - -# Reset status of this service -rc_reset - -case "$1" in - start) - echo -n "Starting spacenavd" - /sbin/startproc $SPACENAVD_BIN - - # Remember status and be verbose - rc_status -v - ;; - stop) - echo -n "Shutting down spacenavd" - /sbin/killproc -TERM $SPACENAVD_BIN - - # Remember status and be verbose - rc_status -v - ;; - try-restart|condrestart) - if test "$1" = "condrestart"; then - echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}" - fi - $0 status - if test $? = 0; then - $0 restart - else - rc_reset # Not running is not a failure. - fi - # Remember status and be quiet - rc_status - ;; - restart) - $0 stop - $0 start - - # Remember status and be quiet - rc_status - ;; - force-reload) - echo -n "Reload service spacenavd" - ## if it supports it: - /sbin/killproc -HUP $SPACENAVD_BIN - touch /var/run/spnavd.pid - rc_status -v - ;; - reload) - # If it supports signaling: - echo -n "Reload service spacenavd" - /sbin/killproc -HUP $SPACENAVD_BIN - touch /var/run/spnavd.pid - rc_status -v - ;; - status) - echo -n "Checking for service spacenavd" - /sbin/checkproc $SPACENAVD_BIN - rc_status -v - ;; - probe) - test /etc/spnavrc -nt /var/run/spnavd.pid && echo reload - ;; - *) - echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload|probe}" - exit 1 - ;; -esac -rc_exit diff --git a/spacenavd-0.5.tar.bz2 b/spacenavd-0.5.tar.bz2 deleted file mode 100644 index e15f228..0000000 --- a/spacenavd-0.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b172eb02d53965bf2704580c562a48ec273e4d792fafe3303352a570b5b62d24 -size 36811 diff --git a/spacenavd-0.6.tar.gz b/spacenavd-0.6.tar.gz new file mode 100644 index 0000000..ebe258b --- /dev/null +++ b/spacenavd-0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2d203bf96c5a959590146a43fe5d6e5e8c5c38a8b2f55aa199d967d0d88d0ab +size 54730 diff --git a/spacenavd.changes b/spacenavd.changes index c342d8e..992a583 100644 --- a/spacenavd.changes +++ b/spacenavd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 2 20:45:40 UTC 2015 - herbert@graeber-clan.de + +- Update to version 0.6 +- Remove init file + ------------------------------------------------------------------- Sun Sep 8 13:59:19 UTC 2013 - herbert@graeber-clan.de diff --git a/spacenavd.spec b/spacenavd.spec index 5b540b6..81f3943 100644 --- a/spacenavd.spec +++ b/spacenavd.spec @@ -10,14 +10,13 @@ # norootforbuild Name: spacenavd -Version: 0.5 +Version: 0.6 Release: 0 Summary: Daemon for 3D connexion devices Group: Hardware/Other License: GPL-3.0+ URL: http://spacenav.sourceforge.net -Source: %{name}-%{version}.tar.bz2 -Source1: init-%{name} +Source: %{name}-%{version}.tar.gz Source2: spnavrc Source3: xinitrc-%{name} SOurce4: %{name}.service @@ -51,10 +50,9 @@ 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 755 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/%{name} install -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/spnavrc install -D -m 755 %{SOURCE3} %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/%{name} -ln -s ../..%{_sysconfdir}/init.d/%{name} $RPM_BUILD_ROOT%{_sbindir}/rc%{name} +ln -sf service $RPM_BUILD_ROOT%{_sbindir}/rc%{name} %if 0%{?has_systemd} install -D -m 644 %{SOURCE4} %{buildroot}%{_unitdir}/%{name}.service %endif @@ -90,7 +88,6 @@ install -D -m 644 %{SOURCE4} %{buildroot}%{_unitdir}/%{name}.service %{_sbindir}/rc%{name} %{_bindir}/spnavd_ctl %config(noreplace) %{_sysconfdir}/spnavrc -%{_sysconfdir}/init.d/%{name} %if 0%{?has_systemd} %{_unitdir}/%{name}.service %endif