%global github_owner merbanan %global github_name rtl_433 %global github_commit b605a3d2a7df02eae5e3405469e79810dfa0b7a3 %global debug_package %{nil} %define build_timestamp %(date +"%Y%m%d") Name: %{github_name} Version: %{build_timestamp} Release: %{github_commit} Summary: Program to decode radio transmissions from devices on the ISM bands (and other frequencies) License: GPL-2.0-only URL: https://github.com/%{github_owner}/%{github_name} Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{name}-%{github_commit}.tar.gz BuildRequires: cmake BuildRequires: libusb-devel BuildRequires: rtl-sdr-devel BuildRequires: make BuildRequires: gcc-c++ Requires: rtl-sdr-devel %description Program to decode radio transmissions from devices on the ISM bands (and other frequencies) %prep %setup -n %{name}-%{github_commit} %build ./do_build.sh %install # The do_build.sh does not output to _bindir. install -p -D -m 755 ./build/src/rtl_433 %{buildroot}%{_bindir}/rtl_433 %files %license COPYING %doc AUTHORS README.md %{_bindir}/rtl_433 %changelog * Sat Apr 11 2020 Thomas Vassilian - 1-1 - initial build for fc31