# Copyright (C) 2008 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 DOWNLOADER rhel-ofed %define TARREV 4 Summary: OCS downloader for RHEL OFED kit Name: ocs-kit-rhel-ofed Version: 1.0 Release: 4 License: GPLv2 Group: System Environment/Base Vendor: Platform Computing Corporation BuildArch: noarch Source0: %{name}-%{version}.%{TARREV}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This package will retrieve the necessary pieces to make RHEL OFED 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-%{DOWNLOADER} $RPM_BUILD_ROOT/opt/kusu/sbin %clean rm -rf $RPM_BUILD_ROOT %files /opt/kusu/sbin/install-kit-%{DOWNLOADER} %pre %post %preun %postun %changelog * Tue Jan 6 2009 Kailash Sethuraman 0.8.7-3 - Converted downloader to python code * Fri Jul 4 2008 Mike Frisch 1.0-3 - Added retry loop to kit downloader (#111310)