Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Ports
sbd
sbd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sbd.spec of Package sbd
# # spec file for package sbd # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 Lars Marowsky-Bree # # 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/ # %global commit 1.3.0+20170530.a0bc43b Name: sbd Version: 1.3.0 Release: 0 Summary: Storage-based death License: GPL-2.0+ Group: Productivity/Clustering/HA Url: https://github.com/ClusterLabs/sbd Source: %{name}-%{commit}.tar.bz2 Patch1: sbd-cleanup_servant_by_pid-static.patch Patch2: bug-1047372_sbd-SBD_WATCHDOG-compatibility.patch Patch3: bug-1046421_sbd-enable-pacemaker-integration-by-default.patch Patch4: bug-1047376_sbd-not-use-watchdog-conflicting-options.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: e2fsprogs-devel BuildRequires: libaio-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(corosync) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libqb) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(pacemaker) BuildRequires: pkgconfig(pacemaker-cib) BuildRequires: pkgconfig(uuid) Requires(post): %fillup_prereq Conflicts: ClusterTools2 < 2.3.2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %{?systemd_requires} %description This package contains the storage-based death functionality. %prep %autosetup -n %{name}-%{commit} -p1 %build autoreconf -fvi %configure make %{?_smp_mflags} %install make DESTDIR=%{buildroot} LIBDIR=%{_libdir} install install -D -m 0755 src/sbd.sh %{buildroot}%{_datadir}/sbd/sbd.sh install -D -m 0644 src/sbd.service %{buildroot}/%{_unitdir}/sbd.service install -D -m 0644 src/sbd_remote.service %{buildroot}/%{_unitdir}/sbd_remote.service ln -s service %{buildroot}%{_sbindir}/rcsbd ln -s service %{buildroot}%{_sbindir}/rcsbd_remote mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates install -m 0644 src/sbd.sysconfig %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.sbd %post %service_add_post sbd.service %service_add_post sbd_remote.service if [ ! -e %{_sysconfdir}/sysconfig/sbd ]; then %fillup_only sbd fi %pre %service_add_pre sbd.service %service_add_pre sbd_remote.service %preun %service_del_preun -n sbd.service %service_del_preun -n sbd_remote.service %postun %service_del_postun -n sbd.service %service_del_postun -n sbd_remote.service %files %defattr(-,root,root) %{_libdir}/stonith/plugins/external/sbd %{_sbindir}/sbd %{_sbindir}/rcsbd %{_sbindir}/rcsbd_remote %{_datadir}/sbd %{_mandir}/man8/sbd* %{_unitdir}/sbd.service %{_unitdir}/sbd_remote.service %{_localstatedir}/adm/fillup-templates/sysconfig.sbd %doc 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