[shinken/f19] new spec file
david hannequin
hvad at fedoraproject.org
Wed Jul 23 16:36:21 UTC 2014
commit 6402c997c9016a275dd6c4fa10efd53e4b434659
Author: hvad <david.hannequin at gmail.com>
Date: Sat Jul 19 05:42:24 2014 +0200
new spec file
shinken.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/shinken.spec b/shinken.spec
index 887cbe3..0e80be2 100644
--- a/shinken.spec
+++ b/shinken.spec
@@ -5,7 +5,7 @@
Summary: Python Monitoring tool
Name: shinken
Version: 2.0.3
-Release: 6%{?dist}
+Release: 7%{?dist}
URL: http://www.%{name}-monitoring.org
Source0: https://github.com/naparuba/%{name}/archive/%{version}.tar.gz
Source1: %{name}-arbiter.service
@@ -21,6 +21,7 @@ Source10: %{name}-scheduler.init
Source11: %{name}-receiver.init
Source12: %{name}-poller.init
Source13: %{name}.8shinken
+Source14: path.cfg
License: AGPLv3+
Requires: python-simplejson
Requires: python-pycurl
@@ -151,6 +152,7 @@ install -p -m0644 for_fedora/etc/objects/contacts/nagiosadmin.cfg %{buildroot}%{
install -p -m0644 for_fedora/etc/objects/hosts/localhost.cfg %{buildroot}%{_sysconfdir}/%{name}/hosts/localhost.cfg
install -p -m0644 for_fedora/etc/objects/services/linux_disks.cfg %{buildroot}%{_sysconfdir}/%{name}/services/linux_disks.cfg
install -p -m0644 for_fedora/etc/contactgroups.cfg %{buildroot}%{_sysconfdir}/%{name}/contactgroups/contactgroups.cfg
+install -p -m0644 %{SOURCE14} %{buildroot}%{_sysconfdir}/%{name}/resource.d
%if %{with_systemd}
install -d -m0755 %{buildroot}%{_unitdir}
@@ -187,6 +189,7 @@ 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
sed -i 's|#!/usr/bin/env python||g' %{buildroot}%{_localstatedir}/lib/%{name}/cli/doc/cli.py
@@ -549,6 +552,9 @@ fi
%attr(-,%{shinken_user} ,%{shinken_group}) %dir %{_localstatedir}/run/%{name}
%changelog
+* Wed Jul 23 2014 David Hannequin <david.hannequin at gmail.com> - 2.0.3-7
+- Add path.cfg file.
+
* Wed Jul 23 2014 David Hannequin <david.hannequin at gmail.com> - 2.0.3-6
- Fix init SysV scripts.
More information about the scm-commits
mailing list