# 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# # %define TARREV 3 Summary: OCS downloader for Nagios kit Name: ocs-kit-nagios Version: 2.12 Release: 3 License: GPLv2 Group: System Environment/Base Vendor: Platform Computing Corporation BuildArch: noarch Source0: %{name}-%{version}.%{TARREV}.tar.gz Requires: yum-utils BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This package will retrieve the necessary pieces to make Nagios available to the OCS installer. %prep %setup -q -n %{name} %build %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/opt/kusu/sbin install -m755 install-kit-nagios $RPM_BUILD_ROOT/opt/kusu/sbin %clean rm -rf $RPM_BUILD_ROOT %files # TODO: include all documentation and other files that should be installed # with the kit /opt/kusu/sbin/install-kit-nagios %pre %post %preun %postun %changelog * Tue Jan 6 2009 Kailash Sethuraman 2.12-3 - Converted downloader to python code * Fri Jul 4 2008 Mike Frisch 2.12-2 - Added retry loop to kit downloader (#111310) * Mon May 26 2008 Shawn Starr 2.12-1 - Updated to Nagios 2.12 Bugzilla #445512 * Fri May 23 2008 Mike Frisch 2.11-1 - Updated to Nagios 2.11 (#108561)