File check_mk-cifs.spec of Package check_mk-cifs
#
# spec file for package check_mk-cifs
#
# Copyright (c) 2013 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: check_mk-cifs
Version: 20120830
Release: 0
Summary: Check_mk plugin for cifs monitoring on Linux
License: GPL-2.0
Group: System/Monitoring
Url: http://wiki.mhcsoftware.de/cifs_und_smb_cecks
Source0: cifs
Source1: cifsmounts
BuildRequires: check_mk
BuildRequires: check_mk-agent
BuildRequires: nagios-rpm-macros
Requires: check_mk
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Check_mk plugin for cifs monitoring on Linux
%package -n check_mk-agent-cifs
Summary: Check_mk plugin for cifs monitoring on Linux server part
Group: System/Monitoring
Requires: check_mk-agent
%description -n check_mk-agent-cifs
Check_mk plugin for cifs monitoring on Linux server part
%prep
%build
%install
install -d -m 755 %{buildroot}%{livestatus_agentsdir}/plugins
install -d -m 755 %{buildroot}%{_datadir}/check_mk/checks
install -p -m 755 %{SOURCE0} %{buildroot}%{livestatus_agentsdir}/plugins/cifs
install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/check_mk/checks/cifsmounts
%files
%defattr(-,root,root,-)
%{_datadir}/check_mk/checks/cifsmounts
%files -n check_mk-agent-cifs
%defattr(-,root,root,-)
%{livestatus_agentsdir}/plugins/cifs
%changelog