#
# Red Hat Resource Group Manager RPM spec file.
# 

%define vers @VERS@
%define rel @REL@

Summary: Open Source HA Resource Group Failover for Red Hat Enterprise Linux
Name: rgmanager
Version: %vers
Release: %rel
License: GPL,LGPL
Group: System Environment/Base
Source: %{name}-%{version}-%{release}.tar.gz
Buildroot: %{_tmppath}/%{name}-%{version}-buildroot
Requires: chkconfig initscripts glibc ncurses libxml2 bash grep sed gawk
Requires: magma ccs
Requires: net-tools mount /sbin/findfs /bin/bash
Provides: rgmanager
Obsoletes: clumanager
BuildRequires: glibc-devel ncurses-devel libxml2-devel /bin/grep
BuildRequires: magma ccs-devel magma-devel

%description
Red Hat Resource Group Manager provides high availability of critical server
applications in the event of planned or unplanned system downtime.

%prep
%setup -q
%configure

%build
make

%install
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README AUTHORS COPYING
/usr/share/rgmanager/*
/usr/sbin/*

%post

%preun

%postun

%changelog
* Tue Oct 25 2004 Chris Feist <cfeist@redhat.com> 1.9.4
- Build against latest set of libs and update sources.
* Mon Oct 25 2004 Chris Feist <cfeist@redhat.com> 1.9.3
- Build against latest set of libs and update sources.
* Tue Aug 17 2004 Jon Brassow <jbrassow@redhat.com> 1.9.2-2
- Build against latest set of libs.
* Fri Aug 13 2004 Lon Hohberger <lhh@redhat.com> 1.9.2-1
- Fix up specfile

* Fri Aug 13 2004 Lon Hohberger <lhh@redhat.com> 1.9.1-1
- Work around bug in VF code with sledgehammer approach

* Fri Aug 13 2004 Lon Hohberger <lhh@redhat.com> 1.9.0-1
- Initial build.
