Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
79 lines (60 sloc) 1.83 KB
%bcond_with resource_monitor
%global alphatag @alphatag@
%global numcomm @numcomm@
%global dirty @dirty@
Name: booth
Version: @version@
Release: 1%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
Summary: The Booth Cluster Ticket Manager.
Group: System Environment/Daemons
License: GPLv2
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: booth
Requires: pacemaker
BuildRequires: autoconf automake libtool cluster-glue-libs-devel help2man
%if %{with resource-monitor}
BuildRequires: pacemaker-libs-devel
Booth manages the ticket which authorizes one of the cluster sites located in
geographically dispersed distances to run certain resources. It is designed to
be an add-on of Pacemaker, which extends Pacemaker to support geographically
distributed clustering.
%setup -q -n %{name}-%{version}
%configure \
%if %{with resource_monitor}
--enable-resource-monitor \
make all
#except check
#make check
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
rm -rf %{buildroot}
%doc %{_docdir}/booth/README
%doc %{_docdir}/booth/COPYING
%config %{_sysconfdir}/booth/booth.conf.example
%dir /usr/lib/ocf/resource.d/pacemaker/
%if %{with resource_monitor}
* @date@ Autotools generated version <> - @version@-1-@numcomm@.@alphatag@.@dirty@
- Autotools generated version