mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-25 03:43:46 +01:00
Added spec file
This commit is contained in:
parent
11ae28ee51
commit
33984aa23f
39
check_bond.py/trunk/nagios-okplugin-bond.spec
Normal file
39
check_bond.py/trunk/nagios-okplugin-bond.spec
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
%define debug_package %{nil}
|
||||||
|
|
||||||
|
Summary: A Nagios plugin to check network bond devices
|
||||||
|
Name: nagios-okplugin-bond
|
||||||
|
Version: 0.0.1
|
||||||
|
Release: 1%{?dist}
|
||||||
|
License: GPLv2+
|
||||||
|
Group: Applications/System
|
||||||
|
URL: http://opensource.ok.is/trac/wiki/Nagios-OKPlugin-Bond
|
||||||
|
Source0: http://opensource.ok.is/trac/browser/nagios-plugins/check_bl/releases/%{name}-%{version}.tar.gz
|
||||||
|
Requires: nagios-plugins
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
Packager: Tomas Edwardsson <tommi@ok.is>
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
Checks the network bond device on a Linux machine
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
install -D -p -m 0755 check_bond %{buildroot}%{_libdir}/nagios/plugins/check_bond
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc README
|
||||||
|
%{_libdir}/nagios/plugins/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Mar 1 2010 Tomas Edwardsson <tommi@ok.is> 0.1-1
|
||||||
|
- Initial packaging
|
Loading…
Reference in New Issue
Block a user