nagios-plugins-linux/nagios-plugins-linux.spec

59 lines
1.8 KiB
RPMSpec
Raw Normal View History

Name: nagios-plugins-linux
Version: 10
Release: 1mamba
Summary: Nagios plugins for Linux
Group: Network/Monitoring
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: https://sites.google.com/site/davidemadrisan/nagios-monitoring/linux-os
Source: https://sites.google.com/site/davidemadrisan/files/nagios-plugins-linux-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 nagios-plugins-linux' to get the list of build requirements.
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A suite of Nagios/NRPE plugins for monitoring Linux servers and appliances.
%debug_package
%prep
%setup -q
%build
%configure --libexecdir=%{_libdir}/nagios/plugins
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_clock
%{_libdir}/nagios/plugins/check_cpu
%{_libdir}/nagios/plugins/check_ifmountfs
%{_libdir}/nagios/plugins/check_iowait
%{_libdir}/nagios/plugins/check_load
%{_libdir}/nagios/plugins/check_memory
%{_libdir}/nagios/plugins/check_multipath
%{_libdir}/nagios/plugins/check_nbprocs
%{_libdir}/nagios/plugins/check_network
%{_libdir}/nagios/plugins/check_paging
%{_libdir}/nagios/plugins/check_readonlyfs
%{_libdir}/nagios/plugins/check_swap
%{_libdir}/nagios/plugins/check_tcpcount
%{_libdir}/nagios/plugins/check_temperature
%{_libdir}/nagios/plugins/check_uptime
%{_libdir}/nagios/plugins/check_users
%doc AUTHORS COPYING README
%changelog
* Mon May 19 2014 Davide Madrisan <davide.madrisan@gmail.com> 10-1mamba
- package created using the webbuild interface