Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
booth
booth.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File booth.spec of Package booth
# # spec file for package booth # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Url: https://github.com/jjzhang/booth %if 0%{?suse_version} %define _libexecdir %{_libdir} %endif %define with_extra_warnings 0 %define with_debugging 0 %define without_fatal_warnings 1 %define with_resource_monitor 1 %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} %define pkg_group System Environment/Daemons %else %define pkg_group Productivity/Clustering/HA %endif Name: booth Summary: The Booth Cluster Ticket Manager Version: 0.1 Release: 0 License: GPL-2.0+ Group: Productivity/Clustering/HA Source: booth.tar.bz2 Source1: %name-rpmlintrc Patch1: booth-resource-monitor-build-issue.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on # 1.1.6-2 on SLES has latest ticket support Requires: pacemaker-ticket-support >= 2.0 BuildRequires: autoconf automake help2man pkgconfig BuildRequires: glib2-devel libglue-devel libxml2-devel %if %{with_resource_monitor} BuildRequires: libpacemaker-devel #pacemaker-libs-devel %endif %description Booth manages the ticket which authorizes one of the cluster sites located in geographical dispersed distances to run certain resources. It is designed to be an add-on of Pacemaker, which extends Pacemaker to support geographical dispersed clustering. Authors: -------- Jiaju Zhang <jjzhang@suse.de> %prep %setup -n booth %patch1 -p1 %build ./autogen.sh %configure \ %if %{with_resource_monitor} --enable-resource-monitor \ %endif --with-initddir=%{_initrddir} make %install make DESTDIR=$RPM_BUILD_ROOT install docdir=%{_defaultdocdir}/%{name} ln -s ../../etc/init.d/booth-arbitrator %{buildroot}/usr/sbin/rcbooth-arbitrator %check %if 0%{?run_build_tests} echo "%%run_build_tests set to %run_build_tests; including tests" make check %else echo "%%run_build_tests set to %run_build_tests; skipping tests" %endif %clean if [ -n "${RPM_BUILD_ROOT}" -a "${RPM_BUILD_ROOT}" != "/" ] then rm -rf $RPM_BUILD_ROOT fi %files %defattr(-,root,root) %{_sbindir}/booth %{_sbindir}/boothd %{_sbindir}/rcbooth-arbitrator %if %{with_resource_monitor} %{_sbindir}/booth_resource_monitord %endif %{_mandir}/man8/booth.8.gz %{_mandir}/man8/boothd.8.gz %dir /usr/lib/ocf %dir /usr/lib/ocf/resource.d %dir /usr/lib/ocf/resource.d/pacemaker %dir %{_sysconfdir}/booth %{_initddir}/booth-arbitrator /usr/lib/ocf/resource.d/pacemaker/booth-site %config %{_sysconfdir}/booth/booth.conf.example %doc README COPYING %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor