# 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: kusu-nodeinstaller.spec 1335 2007-06-14 11:06:48Z najib $ # %define subversion 6 Summary: kusu-nodeinstaller module runtime Name: kusu-nodeinstaller Version: 5.2 Release: 1 License: GPLv2 Group: System Environment/Base Vendor: Platform Computing Inc. BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot AutoReq: no Source: %{name}-%{version}.%{subversion}.tar.gz Buildrequires: gcc, python, python-devel, patch BuildArch: noarch %description This package installs the kusu-nodeinstaller module runtime. %prep %setup -n %{name} -q %build %install %define _approot /opt/kusu rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_approot} install -d $RPM_BUILD_ROOT/%{_approot}/bin install -m755 bin/updatestate $RPM_BUILD_ROOT/%{_approot}/bin install -m755 bin/nodeinstaller $RPM_BUILD_ROOT/%{_approot}/bin install -d $RPM_BUILD_ROOT/%{_approot}/lib/python/kusu/nodeinstaller install -m644 lib/__init__.py $RPM_BUILD_ROOT/%{_approot}/lib/python/kusu/nodeinstaller install -m644 lib/niifun.py $RPM_BUILD_ROOT/%{_approot}/lib/python/kusu/nodeinstaller install -m644 lib/nodeinstall.py $RPM_BUILD_ROOT/%{_approot}/lib/python/kusu/nodeinstaller install -m644 lib/partitionfilterchain.py $RPM_BUILD_ROOT/%{_approot}/lib/python/kusu/nodeinstaller install -m644 lib/partition.py $RPM_BUILD_ROOT/%{_approot}/lib/python/kusu/nodeinstaller %pre %post %preun %postun %clean rm -rf %{buildroot} %files %{_approot} %changelog * Thu Aug 21 2008 Mark Black 5.1-7 - Reving tar file for RH * Thu Jul 31 2008 Mark Black 5.1-6 - Reset version/revision after switching build to trunk * Fri May 30 2008 Mike Frisch 5.1-5 - Detect duplicate MBRs and disambiguate them for both master and node (#108240) * Thu Apr 3 2008 Mike Frisch 5.1-4 - Fixes for partitioning related issues