mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-22 10:23:46 +01:00
Added brocade spec file
This commit is contained in:
parent
a1a9efe2ab
commit
b7b6237413
40
check_brocade_env/trunk/nagios-okplugin-brocade.spec
Normal file
40
check_brocade_env/trunk/nagios-okplugin-brocade.spec
Normal file
@ -0,0 +1,40 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Summary: A Nagios plugin to check Brocade devices
|
||||
Name: nagios-okplugin-brocade
|
||||
Version: 0.0.3
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/System
|
||||
URL: http://opensource.ok.is/trac/wiki/Nagios-OKPlugin-Brocade
|
||||
Source0: http://opensource.ok.is/trac/browser/nagios-plugins/check_brocade/releases/nagios-okplugin-brocade-%{version}.tar.gz
|
||||
Requires: perl-Nagios-Plugin
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Packager: Tomas Edwardsson <tommi@ok.is>
|
||||
|
||||
|
||||
%description
|
||||
Checks Brocade devices
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
perl -pi -e "s|/usr/lib|%{_libdir}|g" check_brocade_env
|
||||
|
||||
%build
|
||||
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
install -D -p -m 0755 check_brocade_env %{buildroot}%{_libdir}/nagios/plugins/check_brocade_env
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README LICENSE
|
||||
%{_libdir}/nagios/plugins/*
|
||||
|
||||
%changelog
|
||||
* Mon Nov 21 2010 Tomas Edwardsson <tommi@ok.is> 0.0.3-1
|
||||
- Initial packaging
|
Loading…
Reference in New Issue
Block a user