Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > by-pkgid > 5c9b7dd7496334eca45f87ae2ce74e0f > files > 2

nagios-snmp-plugins-1.0-2mdk.src.rpm

Summary:	Plugins for Nagios to monitor remote disk and processes via SNMP
Name:		nagios-snmp-plugins
Version:	1.0
Release:	%mkrel 2
License:	GPL
Group:		Networking/Other
URL:		ftp://ftp.hometree.net:/pub/nagios-snmp-plugins/
Source0:	%{name}-%{version}.tar.bz2
BuildRequires:	net-snmp-devel
BuildRequires:	autoconf2.5
BuildRequires:	automake1.7
Provides:	netsaint-plugins
BuildRoot:	%{_tmppath}/%{name}-buildroot

%description
These plugins allow you to monitor disk space and running processes on
a remote machine via SNMP.

%prep

%setup -q

%build
export WANT_AUTOCONF_2_5="1"
libtoolize --copy --force; aclocal-1.7; autoheader; automake-1.7 --copy --add-missing; autoconf

%configure2_5x

%make

%install
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}

install -d %{buildroot}%{_libdir}/nagios/plugins
install -m0755 check_snmp_disk %{buildroot}%{_libdir}/nagios/plugins/
install -m0755 check_snmp_proc %{buildroot}%{_libdir}/nagios/plugins/

%clean
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README AUTHORS NEWS
%attr(0755,root,root) %{_libdir}/nagios/plugins/check_snmp_disk
%attr(0755,root,root) %{_libdir}/nagios/plugins/check_snmp_proc

%changelog
* Sun Apr 03 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 1.0-2mdk
- use the %%mkrel macro

* Sun May 30 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 1.0-1mdk
- initial cooker contrib
- used parts of the provided spec file