File ODR-DabMux.spec of Package ODR-DabMux

#
# spec file for package ODR-DabMux
#
# Copyright (c) 2017-2025, 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:           ODR-DabMux
Version:        5.4.1
Release:        0
Summary:        DAB (Digital Audio Broadcasting) multiplexer
License:        GPL-3.0-or-later
Group:          Productivity/Hamradio/Other
URL:            https://www.opendigitalradio.org/
#Git-Clone:     https://github.com/Opendigitalradio/ODR-DabMux.git
Source:         https://github.com/Opendigitalradio/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0:         0001-Increase-min-boost-version-to-v1.71-and-remove-boost.patch
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gcc-c++
BuildRequires:  libcurl-devel
BuildRequires:  zeromq-devel >= 4.0.0
BuildRequires:  libboost_thread-devel
BuildRequires:  boost-devel

%description
ODR-DabMux implements a DAB multiplexer that combines all audio and data
inputs into an ETI output. It can be used off-line (i.e. not real-time) to generate
ETI data for later processing, or in a real-time streaming scenario (e.g. in a
transmitter).

%prep
%autosetup -p1
sed -i -e 's|#!%{_bindir}/env python|#!%{_bindir}/python3|g' \
  doc/show_dabmux_stats.py \
  doc/stats_dabmux_munin.py \
  doc/zmq_remote.py

%build
autoreconf -fiv
%configure \
  --enable-output-raw
%make_build

%install
%make_install

%files
%license COPYING LICENCE
%doc AUTHORS ChangeLog INSTALL.md README.md
%doc doc/
%{_bindir}/odr-dabmux
%{_bindir}/odr-zmq2farsync
%{_bindir}/zmqinput-keygen
%{_mandir}/man1/odr-dabmux.1%{?ext_man}

%changelog
openSUSE Build Service is sponsored by