Projects
Multimedia
welle-io
welle-io.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File welle-io.spec of Package welle-io (Revision 5)
Currently displaying revision
5
,
Show latest
# # spec file for package welle-io # # 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/ # %if 0%{?gcc_version} < 8 %define with_gcc 8 %endif Name: welle-io Version: 2.5~20240904.268a4d2 Release: 0 Summary: Receiver for DAB and DAB+ broadcast radio License: GPL-2.0-or-later Group: Productivity/Multimedia/Other URL: https://www.welle.io/ Source0: %{name}-%{version}.tar.xz BuildRequires: airspy-devel BuildRequires: alsa-devel BuildRequires: cmake BuildRequires: fftw-devel BuildRequires: flac-devel BuildRequires: gcc%{?with_gcc}-c++ BuildRequires: hicolor-icon-theme BuildRequires: libfaad-devel BuildRequires: libmp3lame-devel BuildRequires: mpg123-devel BuildRequires: qt6-charts-devel BuildRequires: qt6-multimedia-devel BuildRequires: qt6-quickcontrols2-devel BuildRequires: rtl-sdr-devel BuildRequires: soapy-sdr-devel BuildRequires: xdg-utils Requires: qt6-charts-imports Requires: qt6-multimedia-imports Requires: qt6-qt5compat-imports %description Receive digital audio broadcasts with your computer: welle.io is an open source DAB and DAB+ software defined radio (SDR) with direct support for RTL-SDR and other SDR hardware through SoapySDR. It supports high DPI and touch displays and it runs even on cheap computers. %package -n welle-cli Summary: Receiver for DAB and DAB+ broadcast radio: command line tool Group: Productivity/Multimedia/Other %description -n welle-cli Receive digital audio broadcasts with your computer: welle.io is an open source DAB and DAB+ software defined radio (SDR) with direct support for RTL-SDR and other SDR hardware through SoapySDR. This package contains the welle-cli command line tool that does not need GUI %prep %setup -q %build %if 0%{?with_gcc} export CXX=g++-%{with_gcc} export CC=gcc-%{with_gcc} %endif %cmake -DSOAPYSDR=1 -DRTLSDR=1 -DAIRSPY=1 -DFLAC=1 -DGIT_DESCRIBE=%{version} %cmake_build %check %if 0%{?with_gcc} export CXX=g++-%{with_gcc} export CC=gcc-%{with_gcc} %endif %ctest %install %cmake_install # move data of web interface to welle-cli subpackage install -dm 0755 %{buildroot}%{_datadir}/welle-cli mv %{buildroot}%{_datadir}/welle-io/html %{buildroot}%{_datadir}/welle-cli/html # create a launch script to use the web interface data from the right directory mv %{buildroot}%{_bindir}/welle-cli %{buildroot}%{_bindir}/welle-cli.bin cat > %{buildroot}%{_bindir}/welle-cli << EOF #!/bin/sh (cd %{_datadir}/welle-cli/html && %{_bindir}/welle-cli.bin "\$@") EOF chmod +x %{buildroot}%{_bindir}/welle-cli %files %license COPYING %{_bindir}/welle-io %{_datadir}/applications/welle-io.desktop %{_datadir}/icons/hicolor/*/apps/welle-io.png %{_datadir}/welle-io %{_datadir}/metainfo %{_mandir}/man1/welle-io.1%{?ext_man} %doc README.md AUTHORS THANKS %files -n welle-cli %{_bindir}/welle-cli* %{_datadir}/welle-cli %{_mandir}/man1/welle-cli.1%{?ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.