%global pkgvers 0 %global scdate0 20251008 %global schash0 2a5d381f68fd05d5b3c0e7db56c36892ea99b4ae %global branch0 master %global source0 https://github.com/pothosware/SoapyUHD.git %global sshort0 %{expand:%%{lua:print(('%{schash0}'):sub(1,8))}} Name: SoapyUHD Version: 0.4.1 Release: %{scdate0}.%{pkgvers}.git%{sshort0}%{?dist} Summary: Soapy UHD License: GPLv3 URL: https://github.com/pothosware/SoapyUHD BuildRequires: cmake git gcc-c++ uhd-devel SoapySDR-devel %global __cmake_in_source_build 1 %description Soapy SDR plugins for UHD supported SDR devices %prep %setup -T -c -n %{name} git clone --depth 1 -n -b %{branch0} %{source0} . git fetch --depth 1 origin %{schash0} git reset --hard %{schash0} git log --format=fuller %build mkdir -p build pushd build %cmake .. -Wno-dev \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_SKIP_BUILD_RPATH=ON \ -DCMAKE_VERBOSE_MAKEFILE=OFF \ -DCMAKE_BUILD_TYPE=RelWithDebInfo make %{?_smp_mflags} popd %install rm -rf %{buildroot} pushd build make install DESTDIR=%{buildroot} popd %files %doc README.md %license COPYING %{_libdir}/* %changelog * Tue Aug 21 2018 Balint Cristian - github update releases