# 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 subversion 4 Summary: Lava Kit Name: kit-lava Version: 1.0 Release: 11 License: GPLv2 Group: System Environment/Base Vendor: Platform Computing Inc BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot #BuildArch: noarch Source: kit-lava-%{version}.%{subversion}.tar.gz URL: http://www.platform.com %description This package is destined for the installer node and serves as an information container for the database for the Lava kit %prep %setup -q -n %{name} %build %install rm -rf $RPM_BUILD_ROOT cfmdir=$RPM_BUILD_ROOT/cfm docdir=$RPM_BUILD_ROOT/www plugdir=$RPM_BUILD_ROOT/plugins mkdir -p $cfmdir mkdir -p $docdir/kit_lava_doc_source # Add your own plugins if needed mkdir -p $plugdir/addhost mkdir -p $plugdir/genconfig /usr/bin/install -m 444 kitinfo $RPM_BUILD_ROOT /usr/bin/install -m 444 cfm/*.py $cfmdir /usr/bin/install -m 444 docs/*.html $docdir /usr/bin/install -m 444 docs/COPYING $docdir /usr/bin/install -m 444 docs/lava_admin_1.0.pdf $docdir /usr/bin/install -m 444 docs/lava_using_1.0.pdf $docdir cp -R docs/kit_lava_doc_source $docdir /usr/bin/install -m 444 plugins/addhost/*.py $plugdir/addhost /usr/bin/install -m 444 plugins/genconfig/*.py $plugdir/genconfig %clean rm -rf $RPM_BUILD_ROOT %files /kitinfo # documentation /www/index.html /www/readme.html /www/COPYING /www/lava_admin_1.0.pdf /www/lava_using_1.0.pdf /www/kit_lava_doc_source/* # plugins /plugins/addhost/10-lava_1_0.py* /plugins/genconfig/lavacluster_1_0.py* /plugins/genconfig/lavahosts_1_0.py* /plugins/genconfig/lavaconf_1_0.py* # cfm scripts /cfm/lava.rc.py* %pre %post %preun %postun %changelog * Wed Feb 4 2009 Meng Kuan 1.0-11 - Port lava kit to Kit ASK 0.2. * Tue Feb 3 2009 Meng Kuan 1.0-10 - Final release of the old-style kits * Thu Sep 25 2008 Mike Frisch 1.0-9 - Use static uid/gid when adding lavaadmin user/group * Tue May 27 2008 Shawn Starr 1.0-7 - Create user in case component is used on a different node group * Tue May 27 2008 Gerry Wen 1.0-6 - Add wrapper script for MPICH2 mpiexec * Thu Mar 27 2008 Mike Frisch 1.0-5 - Removed AutoReq tag at the request of Red Hat - Do not remove user in postun * Thu Mar 20 2008 Mike Frisch 1.0-4 - Change location of Kusu installer lock file