[shinken/f20] new spec file

david hannequin hvad at fedoraproject.org
Tue Jul 8 06:07:05 UTC 2014


commit 99d926eb2b1c7d0bc6410f1980f7efbeddeb0006
Author: hvad <david.hannequin at gmail.com>
Date:   Sun Jun 15 02:50:49 2014 +0200

    new spec file

 shinken.spec |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/shinken.spec b/shinken.spec
index 26e489b..9e7bd85 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
@@ -543,7 +542,7 @@ fi
 %{_sbindir}/%{name}
 %{_sbindir}/%{name}-discovery
 %doc COPYING THANKS 
-%{_mandir}/man8/%{name}-*
+%{_mandir}/man8/%{name}*
 %config(noreplace) %{_sysconfdir}/%{name}
 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
 %config(noreplace) %{_sysconfdir}/tmpfiles.d/%{name}.conf
@@ -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