Name: CubicSDR Version: 0.2.7 Release: 8%{?dist} Summary: Cross-Platform Software-Defined Radio Panadapter # The primary license of CubicSDR is GPLv2+. # There are multiple third party libraries bundled in the source of CubicSDR. # external/loadpng/ and external/tinyxml/ use the zlib/libpng license # external/rs232/, external/liquid-dsp/, src/util/DataTree* use the MIT/X11 (BSD like) license # Note: external/hamlib/ and external/rtaudio/ are provided by the source, but at # build and run time we use system-provided copies of these libraries License: GPLv2+ and MIT and zlib URL: https://cubicsdr.com Source0: https://github.com/cjcliffe/%{name}/archive/refs/tags/%{name}-%{version}.tar.gz Source1: CubicSDR Patch0: gdk-backend-desktop.patch # Upstream includes local copies of librs232 and tinyxml unfortunately. # https://github.com/cjcliffe/CubicSDR/issues/670 Provides: bundled(librs232) = 0.21 Provides: bundled(tinyxml) = 2.6.2 # Upstream includes local copy of lodepng not present in Fedora already Provides: bundled(lodepng) = 20180809 BuildRequires: cmake gcc-c++ desktop-file-utils # Library dependencies BuildRequires: SoapySDR-devel BuildRequires: wxGTK-devel BuildRequires: hamlib-devel BuildRequires: fftw-devel BuildRequires: rtaudio-devel BuildRequires: liquid-dsp-devel >= 1.4.0 %description CubicSDR is a cross-platform Software-Defined Radio application which allows you to navigate the radio spectrum and demodulate any signals you might discover. It currently includes several common analog demodulation schemes such as AM and FM and will support digital modes in the future. %prep %autosetup -n %{name}-%{version} -p1 %build %cmake -Wno-dev -DCMAKE_BUILD_TYPE=Release -DUSE_HAMLIB=1 -DUSE_SYSTEM_RTAUDIO=1 %cmake_build %install %cmake_install desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop # Move executable to libexecdir, leave CLI start script in bindir mkdir -p %{buildroot}/%{_libexecdir}/%{name} mv %{buildroot}/%{_bindir}/CubicSDR %{buildroot}/%{_libexecdir}/%{name}/%{name} install -m 0755 %{SOURCE1} %{buildroot}/%{_bindir}/%{name} %files %license LICENSE %{_libexecdir}/* %{_bindir}/* # Upstream includes local copies of Bitstream Vera fonts # https://github.com/cjcliffe/CubicSDR/issues/669 %{_datadir}/cubicsdr/ %{_datadir}/applications/%{name}.desktop %changelog * Wed Nov 23 2022 Scott Talbert - 0.2.7-8 - Rebuild due to wxGLCanvas ABI change * Mon Nov 07 2022 Richard Shaw - 0.2.7-7 - Rebuild for hamlib 4.5. * Mon Jul 25 2022 Scott Talbert - 0.2.7-6 - Rebuild for wxGTK 3.2.0 * Wed Jul 20 2022 Fedora Release Engineering - 0.2.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 10 2022 Scott Talbert - 0.2.7-4 - Rebuild for wxGTK 3.1.7 * Tue Apr 12 2022 Scott Talbert - 0.2.7-3 - Rebuild for wxGTK 3.1.6 * Mon Feb 7 2022 Matt Domsch - 0.2.7-2 - rebuild for liquid-dsp rebuild * Sat Feb 5 2022 Matt Domsch - 0.2.7-1 - Upstream 0.2.7 * Wed Jan 19 2022 Fedora Release Engineering - 0.2.5-22.20210814git0248e5a - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 23 2021 Richard Shaw - 0.2.5-21.20210814git0248e5a - Rebuild for hamlib 4.4. * Thu Dec 23 2021 Richard Shaw - 0.2.5-19.20210814git0248e5a - Rebuild for hamlib 4.4. * Tue Oct 12 2021 Richard Shaw - 0.2.5-18.20210814git0248e5a - Rebuild for hamlib 4.3.1. * Tue Aug 17 2021 Matt Domsch - 0.2.5-17.20200824git4f1db55 - Upstream latest snapshot with hamlib 4.2 support - exclude unneeded external/ files from git-generated tarball, reduces size from 36MB to 2MB. - Rebuilt for SoapySDR 0.8.1 * Wed Jul 21 2021 Fedora Release Engineering - 0.2.5-16.20200824git4f1db55 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 30 2021 Richard Shaw - 0.2.5-15.20200824git4f1db55 - Rebuild for hamlib 4.2. * Tue May 04 2021 Scott Talbert - 0.2.5-14.20200824git4f1db55 - Rebuild for wxWidgets 3.1.5 * Sun Feb 07 2021 Richard Shaw - 0.2.5-13.20200824git4f1db55 - Rebuild for hamlib 4.1. * Tue Feb 02 2021 Richard Shaw - 0.2.5-12.20200824git4f1db55 - Rebuild for hamlib 4.1. * Mon Jan 25 2021 Fedora Release Engineering - 0.2.5-11.20200824git4f1db55 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Nov 10 2020 Matt Domsch - 0.2.5-10.20200824git4f1db55 - upstream snapshot. Zero-to-right by SHIFT+Right Click on the frequency digits. * Sun Aug 09 2020 Scott Talbert - 0.2.5-9.20200226gitd2f9333 - Rebuild for wxWidgets 3.1.4 (for real) * Sat Aug 08 2020 Scott Talbert - 0.2.5-8.20200226gitd2f9333 - Rebuild for wxWidgets 3.1.4 * Sun Aug 2 2020 Matt Domsch - 0.2.5-7.20200226gitd2f9333 - F33 cmakes fixes * Sat Aug 01 2020 Fedora Release Engineering - 0.2.5-6.20200226gitd2f9333 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.2.5-5.20200226gitd2f9333 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Apr 20 2020 Matt Domsch 0.2.5-4.20200407gitd2f9333 - rebuild for hamlib-devel 4.0.0 * Thu Apr 9 2020 Matt Domsch 0.2.5-3.20200407gitd2f9333 - move executable to libexecdir - delete unused external libraries source tarball - address review comments, spec file cleanups * Wed Apr 8 2020 Matt Domsch 0.2.5-2.20200407gitd2f9333 - move env GDK_BACKEND=x11 into the desktop start file * Tue Apr 7 2020 Matt Domsch 0.2.5-1.20200407gitd2f9333 - Latest upstream plus newer liquid-dsp library * Tue Jan 28 2020 Fedora Release Engineering - 0.2.4-4.20180806gita7e4d91 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 0.2.4-3.20180806gita7e4d91 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 0.2.4-2.20180806gita7e4d91 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Aug 7 2018 Matt Domsch 0.2.4-1.20180806gita7e4d91 - Initial Fedora packaging