File openbfdd.spec of Package openbfdd

#
# spec file for package openbfdd
#
# Copyright (c) 2016, Martin Hauke <mardnh@gmx.de>
#
# 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/
#


Name:           openbfdd
Version:        0.5.3
Release:        0
Summary:        An open source implementation of the BFD protocol
License:        BSD-3-Clause
Group:          Productivity/Networking/Other
Url:            https://github.com/dyninc/OpenBFDD
Source:         http://cdn.dyn.com/OpenBFDD/%{name}-%{version}.tar.gz
BuildRequires:  gcc-c++
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
OpenBFDD is an open source package that provides a software based
implantation of the Bidirectional Forwarding Detection (BFD) protocol. It
is designed to run on a server. Its primary purpose is to allow the
administrator to quickly take the server off-line when the core service,
such as a bind or unbound server, goes down. This is done by providing a
BFD "beacon", bfdd-beacon, that can communicate with a properly
configured, BFD enabled, router. A control utility, bfdd-control, can be
used to configure the running bfdd-beacon daemon, and to change the state
of its BFD sessions.

%prep
%setup -q
# fix file permissions
chmod -x AUTHORS ChangeLog LICENSE NEWS README TODO

%build
%configure
make %{?_smp_mflags}

%install
%make_install

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog LICENSE NEWS README
%{_bindir}/bfdd-beacon
%{_bindir}/bfdd-control
%{_mandir}/man8/bfdd-beacon.8%{ext_man}
%{_mandir}/man8/bfdd-control.8%{ext_man}

%changelog
openSUSE Build Service is sponsored by