File qt-ft8.spec of Package qt-ft8
#
# spec file for package qt-ft8
#
# Copyright (c) 2025, 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 https://bugs.opensuse.org/
#
Name: qt-ft8
Version: 0.9
Release: 0
Summary: A FT8 decoder
License: GPL-2.0-only
URL: https://github.com/JvanKatwijk/qt-ft8/
Source: https://github.com/JvanKatwijk/qt-ft8/archive/refs/tags/Qt=FT8-%{version}.tar.gz#/%{name}-Qt-FT8-%{version}.tar.gz
Patch1: qt-ft8-fix-qwt-include.patch
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: qt6-base-common-devel
BuildRequires: qwt6-qt6-devel
BuildRequires: pkgconfig(Qt6Core)
BuildRequires: pkgconfig(Qt6Network)
BuildRequires: pkgconfig(Qt6Widgets)
BuildRequires: pkgconfig(Qt6Xml)
BuildRequires: pkgconfig(fftw3f)
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(portaudio-2.0)
BuildRequires: pkgconfig(samplerate)
BuildRequires: pkgconfig(sndfile)
%description
A FT8 decoder.
%prep
%autosetup -p1 -n %{name}-Qt-FT8-%{version}
%build
%qmake6
%make_build
%install
install -Dm 0755 linux-bin/qt-ft8 %{buildroot}%{_bindir}/qt-ft8
install -Dm 0644 qt-ft8.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
install -Dm 0644 qt-ft8.desktop %{buildroot}/%{_datadir}/applications/%{name}.desktop
%files
%license COPYING
%doc README.md
%{_bindir}/qt-ft8
%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
%{_datadir}/applications/%{name}.desktop
%changelog