1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-24 03:13:47 +01:00
nagios-plugins/okc-get_network_stat/nagios-okplugin-get_network_stat.spec

47 lines
1.1 KiB
RPMSpec
Raw Normal View History

2014-04-02 17:34:07 +02:00
%define debug_package %{nil}
Summary: A Nagios plugin to get network statistics over NRPE
Name: nagios-okplugin-get_network_stat
Version: 1.0.1
2014-04-02 17:34:07 +02:00
Release: 1%{?dist}
License: GPLv2+
Group: Applications/System
URL: https://github.com/opinkerfi/nagios-plugins/okc-get_network_stat
Source0: https://github.com/opinkerfi/nagios-plugins/okc-get_network_stat/%{name}-%{version}.tar.gz
Requires: nagios-plugins-nrpe
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Packager: Tomas Edwardsson <tommi@tommi.org>
BuildArch: noarch
%description
A Nagios plugin to get network statistics over NRPE
%prep
%setup -q
%build
%install
rm -rf %{buildroot}
install -D -p -m 0755 okc-get_network_stat %{buildroot}%{_libdir}/nagios/plugins/okc-get_network_stat
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
#%doc README LICENSE
#%{_libdir}/nagios/plugins/*
%{_libdir}/nagios/plugins/okc-get_network_stat
%changelog
* Wed Apr 02 2014 Tomas Edwardsson <tommi@tommi.org> 1.0.1-1
- new package built with tito
2014-04-02 17:34:07 +02:00
* Wed Apr 2 2014 Tomas Edwardsson <tommi@tommi.org> 1.0.0-1
- Initial release