libbladeRF:
* Add SC16Q11 packed format support for improved bandwidth
efficiency.
* Add comprehensive gain calibration system with CSV
import/export.
* Add RX reordering and prime worker before RX enable.
* Add oversample feature with configurable gain controls.
* Improve GPIF buffer size support with larger 2048 sample
buffers.
* Add extensive test suite and regression testing framework.
* Fix various sync TX/RX initialization and timing issues.
FPGA:
* Add SC16Q11 packed format support to FIFO reader and writer.
* Add larger GPIF buffer support for improved USB throughput.
* Fix RX/TX DMA request prioritization and meta timestamp
handling.
* Add system and FX3 PLL clock control blocks.
* Fix timing issues and improve signal integrity.
Tools:
* Add bladeRF-power utility for RF power measurements with
CLI interface.
* Add bladeRF-fsk project as separate submodule.
* Add bladeRF-update utility for firmware and FPGA updates.
* Add comprehensive hardware-in-the-loop testing framework.
- Use tar_scm service to generate the source tarball.
- Drop ad9361.tar.xz
- this is now included in the bladRF tarball.
- Update patch:
* bladeRF-doxygen-no-timestamp.patch
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/bladeRF?expand=0&rev=52
154 lines
3.8 KiB
RPMSpec
154 lines
3.8 KiB
RPMSpec
#
|
|
# spec file for package bladeRF
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC and contributors
|
|
# Copyright (c) 2013-2015 Wojciech Kazubski, wk@ire.pw.edu.pl
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%define sover 2
|
|
%define libname lib%{name}%{sover}
|
|
%define libversion 2.6.0
|
|
%define release_name 2025.10
|
|
%define bladerf_group bladerf
|
|
%define use_syslog 0
|
|
|
|
Name: bladeRF
|
|
Version: 2025.10
|
|
Release: 0
|
|
Summary: SDR radio receiver
|
|
License: AGPL-3.0-or-later AND GPL-2.0-only
|
|
Group: Productivity/Hamradio/Other
|
|
URL: https://nuand.com/
|
|
#Git-Clone: https://github.com/Nuand/bladeRF.git
|
|
Source0: %{name}-%{release_name}.tar.xz
|
|
Patch0: bladeRF-doxygen-no-timestamp.patch
|
|
BuildRequires: cmake >= 3.5
|
|
BuildRequires: doxygen
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: git-core
|
|
BuildRequires: help2man
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: tecla-devel
|
|
BuildRequires: pkgconfig(libcurl)
|
|
BuildRequires: pkgconfig(libedit)
|
|
BuildRequires: pkgconfig(libusb-1.0)
|
|
BuildRequires: pkgconfig(ncursesw)
|
|
BuildRequires: pkgconfig(udev)
|
|
|
|
%description
|
|
The software for bladeRF USB 3.0 Superspeed Software Defined Radio.
|
|
|
|
%package -n %{libname}
|
|
Summary: SDR radio receiver library
|
|
Group: System/Libraries
|
|
Version: %{libversion}
|
|
Release: 0
|
|
Requires: %{name}-udev
|
|
|
|
%description -n %{libname}
|
|
Library for bladeRF, an SDR transceiver.
|
|
|
|
%package -n %{libname}-doc
|
|
Summary: Documentation for libbladeRF
|
|
Group: Documentation/HTML
|
|
Version: %{libversion}
|
|
Release: 0
|
|
|
|
%description -n %{libname}-doc
|
|
HTML documentation files for libbladeRF.
|
|
|
|
%package udev
|
|
Summary: Udev rules for bladeRF
|
|
Group: Hardware/Other
|
|
Requires(pre): shadow
|
|
|
|
%description udev
|
|
Udev rules for bladeRF.
|
|
|
|
%package devel
|
|
Summary: Development files for libbladeRF
|
|
Group: Development/Libraries/C and C++
|
|
Version: %{libversion}
|
|
Requires: %{libname} = %{libversion}
|
|
|
|
%description devel
|
|
Libraries and header files for developing applications that want to make
|
|
use of libbladerf.
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{name}-%{release_name}
|
|
|
|
%build
|
|
cd host
|
|
%cmake \
|
|
-DTAGGED_RELEASE=ON \
|
|
-DVERSION_INFO_EXTRA="" \
|
|
-DUDEV_RULES_PATH=%{_udevrulesdir} \
|
|
-DBLADERF_GROUP=%{bladerf_group} \
|
|
%if 0%{?use_syslog}
|
|
-DENABLE_LIBBLADERF_SYSLOG=ON \
|
|
%endif
|
|
-DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/lib%{name} \
|
|
-DBUILD_DOCUMENTATION=ON
|
|
%cmake_build
|
|
|
|
%install
|
|
cd host
|
|
%cmake_install
|
|
%fdupes %{buildroot}%{_docdir}
|
|
|
|
%check
|
|
%ctest
|
|
|
|
%ldconfig_scriptlets -n %{libname}
|
|
|
|
%pre udev
|
|
getent group %{bladerf_group} >/dev/null || groupadd -r %{bladerf_group}
|
|
|
|
%post udev
|
|
%udev_rules_update
|
|
|
|
%postun udev
|
|
%udev_rules_update
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc README.md CONTRIBUTORS
|
|
%{_bindir}/bladeRF-cli
|
|
%{_bindir}/bladeRF-fsk
|
|
%{_bindir}/bladeRF-power
|
|
%{_bindir}/bladeRF-update
|
|
%{_mandir}/man1/bladeRF-cli.1%{?ext_man}
|
|
|
|
%files udev
|
|
%{_udevrulesdir}/88-nuand-*.rules
|
|
|
|
%files -n %{libname}
|
|
%{_libdir}/libbladeRF.so.%{sover}*
|
|
|
|
%files -n %{libname}-doc
|
|
%{_docdir}/libbladeRF
|
|
|
|
%files devel
|
|
%{_libdir}/libbladeRF.so
|
|
%{_includedir}/bladeRF1.h
|
|
%{_includedir}/bladeRF2.h
|
|
%{_includedir}/libbladeRF.h
|
|
%{_libdir}/pkgconfig/libbladeRF.pc
|
|
%{_datadir}/cmake/bladeRF
|
|
|
|
%changelog
|