File mingw64-rtl_433.spec of Package mingw64-rtl_433
#
# spec file for package mingw64-rtl_433
#
# Copyright (c) 2015-2024, Martin Hauke <mardnh@gmx.de>
#
# 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 http://bugs.opensuse.org/
#
%define realname rtl_433
%define version_unconverted 23.11+git20240205
Name: mingw64-%{realname}
Version: 23.11+git20240205
Release: 0
Summary: Turns RTL2832 dongle into a 433.92MHz generic data receiver
License: GPL-2.0-only
Group: Productivity/Hamradio/Other
URL: https://github.com/merbanan/rtl_433.git
Source: %{realname}-%{version}.tar.xz
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-cmake
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem
BuildRequires: mingw64-rtl-sdr-devel
%{_mingw64_package_header_debug}
BuildArch: noarch
%description
An application using librtlsdr to decode the temperature from
wireless temperature sensors (433.92MHz)
%{_mingw64_debug_package}
%prep
%setup -q -n %{realname}-%{version}
%build
%{_mingw64_cmake}
%{_mingw64_make} VERBOSE=1 %{?_smp_mflags}
%install
install -Dm 0755 build/src/rtl_433.exe %{buildroot}/%{_mingw64_bindir}/rtl_433.exe
%files
%license COPYING
%doc AUTHORS README.md
%{_mingw64_bindir}/rtl_433.exe
%changelog