File monitoring-plugins-mumble.spec of Package monitoring-plugins-mumble
#
# spec file for package monitoring-plugins-mumble
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: monitoring-plugins-mumble
Version: 1
Release: 0
License: free for non-commercial use
Summary: Check users, channels and bans on your mumble server
Url: http://flatlineit.blogspot.de/2012/04/mumble-mumurd-nagios-plugin.html
Group: Server/Monitoring
Source1: check_mumble.py
Source2: monitoring-plugins-mumble-rpmlintrc
Patch1: monitoring-plugins-mumble-add_perfdata.patch
Requires: dbus-1-python
Requires: python
Recommends: mumble-server
BuildRequires: nagios-rpm-macros
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Checks if a murmurd is running, min and max number of users, channels and bans
via dbus interface.
%prep
%build
%install
install -Dm755 %{SOURCE1} %{buildroot}/%{nagios_plugindir}/check_mumble.py
cd %{buildroot}/%{nagios_plugindir}
patch -p0 < %{PATCH1}
cd -
%files
%defattr(-,root,root)
%dir %{nagios_libdir}
%dir %{nagios_plugindir}
%{nagios_plugindir}/check_mumble.py
%changelog