File ebusd.spec of Package ebusd

#
# spec file for package ebusd
#
# Copyright (c) 2024 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#


Name:           ebusd
Version:        25.1
Release:        0
Summary:        Daemon for communication with eBUS heating systems 
License:        https://github.com/john30/ebusd
Group:          Productivity/Scientific/Electronics
URL:            https://github.com/john30/ebusd
Source:         https://github.com/john30/ebusd/archive/refs/tags/%{version}.tar.gz

BuildRequires:  cmake
BuildRequires:  gcc-c++


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

%prep
%autosetup -p1 -n ebusd-%{version}

%build
%cmake
%cmake_build

%install
%cmake_install

%files
%dir /etc/ebusd/
/etc/ebusd/knx.cfg
%{_bindir}/ebusctl
%{_bindir}/ebusd
%{_bindir}/ebuspicloader

%changelog
openSUSE Build Service is sponsored by