2008-02-08 17:59:49 +00:00
|
|
|
Summary: RMC monitoring plug-in for xCAT
|
|
|
|
Name: xCAT-rmc
|
2008-06-02 13:02:07 +00:00
|
|
|
Version: 2.1
|
2008-02-08 17:59:49 +00:00
|
|
|
Release: snap%(date +"%Y%m%d%H%M")
|
2008-06-07 15:20:29 +00:00
|
|
|
Epoch: 2
|
2008-02-08 17:59:49 +00:00
|
|
|
License: EPL
|
|
|
|
Group: System Environment/Libraries
|
2008-06-03 17:50:32 +00:00
|
|
|
Source: xCAT-rmc-2.1.tar.gz
|
2008-02-08 17:59:49 +00:00
|
|
|
Packager: IBM Corp.
|
|
|
|
Vendor: IBM Corp.
|
|
|
|
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
|
|
|
|
Prefix: /opt/xcat
|
|
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root
|
|
|
|
%ifos linux
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
|
2008-06-19 16:50:18 +00:00
|
|
|
Requires: perl-xCAT >= %{epoch}:%{version}
|
|
|
|
Requires: xCAT-server >= %{epoch}:%{version}
|
2008-02-16 01:25:59 +00:00
|
|
|
|
2008-02-08 17:59:49 +00:00
|
|
|
Provides: xCAT-rmc = %{version}
|
|
|
|
|
|
|
|
%description
|
2008-06-19 16:50:18 +00:00
|
|
|
Provides RMC monitoring plug-in module for xCAT, configuration scripts, predefined conditions, responses and sensors.
|
2008-02-08 17:59:49 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%build
|
|
|
|
%install
|
|
|
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT_monitoring/rmc
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{prefix}/sbin/rmcmon
|
|
|
|
|
|
|
|
cp plugin/* $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT_monitoring
|
|
|
|
cp -r resources $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT_monitoring/rmc
|
|
|
|
|
|
|
|
cp scripts/perl/* $RPM_BUILD_ROOT/%{prefix}/sbin/rmcmon
|
|
|
|
chmod 755 $RPM_BUILD_ROOT/%{prefix}/sbin/rmcmon/*
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
#find $RPM_BUILD_ROOT -type f | sed -e "s@$RPM_BUILD_ROOT@/@" > files.list
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{prefix}
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
|