[shinken] add manapages

david hannequin hvad at fedoraproject.org
Mon Jul 7 20:59:18 UTC 2014


commit d5ff987d084bd79d93d1d846c0b0195d61a55a95
Author: hvad <david.hannequin at gmail.com>
Date:   Sun Jun 15 01:32:41 2014 +0200

    add manapages

 shinken.8shinken |   55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 shinken.spec     |   10 +++++---
 2 files changed, 61 insertions(+), 4 deletions(-)
---
diff --git a/shinken.8shinken b/shinken.8shinken
new file mode 100644
index 0000000..615a4c2
--- /dev/null
+++ b/shinken.8shinken
@@ -0,0 +1,55 @@
+.TH shinken 8 "July 7, 2014" "Shinken User Manuals"
+.SH NAME
+.PP
+shinken - Shinken packs and modules manager
+.SH SYNOPSIS
+.PP
+shinken [OPTION]... \f[I]FILE\f[] 
+.SH DESCRIPTION
+.PP
+Shinken packs and modules manager
+.PP
+Shinken is a usefull tool to manage your Shinken packs and modules and 
+can be used to download packs and modules from \f[I]http://shinken.io\f[] and 
+also to publish yours.
+.SH OPTIONS
+.TP
+.B --version
+Show version number and exit
+.RS
+.RE
+.TP
+.B -A \f[I]API_KEY\f[], --api-keys \f[I]API_KEY\f[]
+Your API key for uploading the package to the
+Shinken.io website. If you don't have one, please go
+to your account page
+.RS
+.RE
+.TP
+.B -l, --list
+List available commands
+.RS
+.RE
+.TP
+.B --init
+Initialize/refill your shinken.ini file (default home directory)
+.RS
+.RE
+.TP
+.B -D
+Enable the debug mode
+.RS
+.RE
+.TP
+.B -c \f[I]INICONFIG\f[], --config \f[I]INICONFIG\f[]
+Path to your shinken.ini file.
+.RS
+.RE
+.TP
+.B -h, --help
+Print detailed help screen.
+.RS
+.RE
+.SH AUTHORS
+David Hannequin.
+Michael Leinartas.
diff --git a/shinken.spec b/shinken.spec
index 26e489b..9e06801 100644
--- a/shinken.spec
+++ b/shinken.spec
@@ -5,7 +5,7 @@
 Summary:        Python Monitoring tool
 Name:           shinken
 Version:        2.0.3 
-Release:        2%{?dist}
+Release:        3%{?dist}
 URL:            http://www.%{name}-monitoring.org
 Source0:        https://github.com/naparuba/%{name}/archive/%{version}.tar.gz 
 Source1:        %{name}-arbiter.service
@@ -20,6 +20,7 @@ Source9:        %{name}-reactionner.init
 Source10:       %{name}-scheduler.init
 Source11:       %{name}-receiver.init
 Source12:       %{name}-poller.init
+Source13:       %{name}.8shinken
 License:        AGPLv3+
 Requires:       python-simplejson 
 Requires:       python-pycurl  
@@ -100,7 +101,6 @@ Shinken receiver daemon
 
 %setup -q -n %{name}-%{version}
 
-
 # clean git files/
 find . -name '.gitignore' -exec rm -f {} \;
 
@@ -185,8 +185,7 @@ install -d -m0755 %{buildroot}%{_localstatedir}/run/%{name}
 
 install -d -m0755 %{buildroot}%{_mandir}/man8
 install -p -m0644 for_fedora/man/* %{buildroot}%{_mandir}/man8
-
-
+install -p -m0644 %{SOURCE13} %{buildroot}%{_mandir}/man8
 
 sed -i 's|#!/usr/bin/env python||g' %{buildroot}%{_localstatedir}/lib/%{name}/cli/desc/cli.py
 sed -i 's|#!/usr/bin/env python||g' %{buildroot}%{_localstatedir}/lib/%{name}/cli/shinkenio/cli.py
@@ -552,6 +551,9 @@ fi
 %attr(-,%{shinken_user} ,%{shinken_group}) %dir %{_localstatedir}/run/%{name}
 
 %changelog
+* Mon Jul 7 2014 David Hannequin <david.hannequin at gmail.com> - 2.0.3-3
+- Add shinken manpage.@
+
 * Thu Jul 3 2014 David Hannequin <david.hannequin at gmail.com> - 2.0.3-2
 - Delete python mysql require.
 


More information about the scm-commits mailing list