2012-12-04 18:57:37 +00:00
|
|
|
%define version %(cat Version)
|
|
|
|
BuildArch: noarch
|
|
|
|
%define name xCAT-genesis-builder
|
|
|
|
Release: snap%(date +"%Y%m%d%H%M")
|
|
|
|
Epoch: 1
|
|
|
|
AutoReq: false
|
2014-07-02 22:52:10 +00:00
|
|
|
Requires: ipmitool screen btrfs-progs lldpad rpm-build compat-libstdc++-33
|
2012-12-04 18:57:37 +00:00
|
|
|
Prefix: /opt/xcat
|
|
|
|
AutoProv: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
|
|
|
Group: System/Utilities
|
|
|
|
License: EPL
|
|
|
|
Vendor: IBM Corp.
|
|
|
|
Summary: Tooling to create xCAT's discovery/maintenance/debugging environment
|
|
|
|
URL: http://xcat.org
|
|
|
|
Source1: xCAT-genesis-builder.tar.bz2
|
|
|
|
|
|
|
|
Buildroot: %{_localstatedir}/tmp/xCAT-genesis-builder
|
|
|
|
Packager: IBM Corp.
|
|
|
|
|
|
|
|
%Description
|
|
|
|
Genesis (Genesis Enhanced Netboot Environment for System Information and Servicing) is xCAT's netboot environment designed to perform hardware and firmware inventory, perform firmware updates/configuration, and perform troubleshooting.
|
|
|
|
%Prep
|
|
|
|
|
|
|
|
|
|
|
|
%Build
|
|
|
|
|
|
|
|
%Install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/xcat/netboot/genesis/builder
|
|
|
|
cd $RPM_BUILD_ROOT/%{prefix}/share/xcat/netboot/genesis/builder
|
|
|
|
tar jxvf %{SOURCE1}
|
|
|
|
chmod +x $RPM_BUILD_ROOT/%{prefix}/share/xcat/netboot/genesis/builder/buildrpm
|
|
|
|
cd -
|
|
|
|
|
|
|
|
|
|
|
|
%Files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc LICENSE.html
|
2014-08-20 08:55:55 +00:00
|
|
|
/opt/xcat/share/xcat/netboot/genesis/builder
|