File ebusd.spec of Package ebusd

#
# spec file for package ebusd
#
# Copyright (c) 2017 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/
#

Name:           ebusd
Version:	3.2
Release:	0
License:	GPL-3.0+
Summary:	eBUS Daemon
Url:		https://github.com/john30/ebusd
Group:		System/Utilities
Source:		ebusd-%{version}.tar.gz
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:  gcc-c++
BuildRequires:	glibc-devel
BuildRequires:	mosquitto-devel
#PreReq:
#Provides:
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:	mosquitto

%description
ebusd is a daemon for handling communication with eBUS devices connected to a
2-wire bus system ("energy bus" used by numerous heating systems).

%prep
%setup -q

%build
./autogen.sh
%configure
make %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot} %{?_smp_mflags}

%post

%postun

%files
/usr/bin/ebusctl
/usr/bin/ebusd
/usr/bin/ebusfeed
%defattr(-,root,root)
%doc ChangeLog.md README.md