File monitoring-plugins-ipmi-sensor3.spec of Package monitoring-plugins-ipmi-sensorv3

#
# spec file for package monitoring-plugins-smb
#
# Copyright (c) 2017 SUSE LINUX Products 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-ipmi-sensor3
Version:        3.12
Release:        0
License:        GPL-3.0+
Summary:        Nagios/Icinga plugin to check IPMI sensors
Group:          System/Monitoring
Url:            https://github.com/thomas-krenn/check_ipmi_sensor_v3
Source:         https://github.com/thomas-krenn/check_ipmi_sensor_v3/archive/v%{version}.tar.gz
Requires:       freeipmi >= 0.5.1
Requires:       perl(IPC::Run)
BuildRequires:  nagios-rpm-macros
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Conflicts:      monitoring-plugins-ipmi-sensor2
Conflicts:      monitoring-plugins-ipmi-sensor1

%description 
Uses freeipmi to check IPMI sensors. Senser can be checked at once, in groups or individually.
Performance data is provided.
 

%prep
%setup -q -n check_ipmi_sensor_v3-%{version}

%build
# make goes here

%install
%{__install} -D -d %{buildroot}%{nagios_plugindir}
%{__install} -m 0755 check_ipmi_sensor %{buildroot}%{nagios_plugindir}/check_ipmi_sensor

%files
%defattr(-,root,root)
%dir /usr/lib/nagios
%dir %{nagios_plugindir}
%attr(0755,root,root) %{nagios_plugindir}/check_ipmi_sensor
%doc COPYING changelog.txt README

%changelog
openSUSE Build Service is sponsored by