2010-11-21 15:12:13 +01:00
|
|
|
%define debug_package %{nil}
|
|
|
|
|
|
|
|
Summary: A Nagios plugin to check Brocade devices
|
|
|
|
Name: nagios-okplugin-brocade
|
2014-02-20 19:03:50 +01:00
|
|
|
Version: 0.0.5
|
2018-05-10 01:00:16 +02:00
|
|
|
Release: 2%{?dist}
|
2010-11-21 15:12:13 +01:00
|
|
|
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)
|
2018-05-10 01:00:16 +02:00
|
|
|
Packager: Gardar Thorsteinsson <gardar@ok.is>
|
2010-11-21 15:12:13 +01:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
Checks Brocade devices
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
perl -pi -e "s|/usr/lib|%{_libdir}|g" check_brocade_env
|
|
|
|
|
2018-05-10 01:00:16 +02:00
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude}|}^perl\\(utils\\)
|
|
|
|
|
2010-11-21 15:12:13 +01:00
|
|
|
%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
|
2018-05-10 01:00:16 +02:00
|
|
|
* Fri May 09 2018 Gardar Thorsteinsson <gardar@ok.is> 0.0.5-2
|
|
|
|
- filter out perl-utils dep
|
|
|
|
|
2014-02-20 19:03:50 +01:00
|
|
|
* Thu Feb 20 2014 Pall Sigurdsson <palli@opensource.is> 0.0.5-1
|
|
|
|
-
|
|
|
|
|
2012-03-12 17:08:56 +01:00
|
|
|
* Mon Mar 12 2012 Pall Sigurdsson <palli@opensource.is> 0.0.4-1
|
|
|
|
- new package built with tito
|
|
|
|
|
2010-11-21 15:12:13 +01:00
|
|
|
* Mon Nov 21 2010 Tomas Edwardsson <tommi@ok.is> 0.0.3-1
|
|
|
|
- Initial packaging
|