# Copyright (C) 2007 Platform Computing Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of version 2 of the GNU General Public License as # published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA # # # $Id$ # %define subversion 1 Summary: Contributed nagios plugin for memory checking Name: nagios-mem-plugin Version: 1.0 Release: 2 License: Public Domain Group: Applications/System Vendor: Platform Computing Corporation Source0: %{name}-%{version}.%{subversion}.tar.gz URL: http://www.nagiosexchange.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot Requires: nrpe %description This package provides a plugin to check physical memory %prep %setup -q -n %{name} %build %install mkdir -p $RPM_BUILD_ROOT/%{_libdir}/nagios/plugins install -D -m 0755 check_mem $RPM_BUILD_ROOT/%{_libdir}/nagios/plugins %clean rm -rf $RPM_BUILD_ROOT %pre %post %preun %postun %files %defattr(-,root,root,-) %{_libdir}/nagios/plugins/check_mem %changelog * Thu Sep 11 2008 Mike Frisch 1.0-2 - Modified to install in architecture specific location * Tue Jan 30 2008 Shawn Starr 1.0-1 - Initial package.