File JS8Call-improved.spec of Package JS8Call-improved

#
# spec file for package JS8Call-improved
#
# Copyright (c) 2025-2026 Walter Fey DL8FCL
#
# This file is under MIT license

Name:           JS8Call-improved
Version:        2.6.0~git20260311
Release:        0
Summary:        Weak-signal amateur radio communications
License:        GPL-3.0-only
Group:          Productivity/Hamradio/Other
Url:            https://github.com/JS8Call-improved/JS8Call-improved
Source0:        %{name}-%{version}.tar.xz
Source1:        JS8Call-improved.desktop
Source2:        JS8Call_User_Guide.pdf
Patch0:         JS8Call-improved-version.diff

BuildRequires:  cmake
BuildRequires:  fftw3-threads-devel
BuildRequires:  libboost_thread-devel >= 1.77
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(Qt6Concurrent)
BuildRequires:  pkgconfig(Qt6Multimedia)
BuildRequires:  pkgconfig(Qt6SerialPort)
BuildRequires:  pkgconfig(Qt6Widgets)
BuildRequires:  pkgconfig(hamlib)
BuildRequires:  pkgconfig(libudev)

Recommends:     %{name}-doc

%description
JS8Call-improved is continued development of the original JS8Call project.
JS8Call is a derivative of the WSJT-X application, restructured and redesigned
for keyboard-to-keyboard message passing.

%package        doc
Summary:        JS8Call-improved documentation
Group:          Documentation/Other
Requires:       %{name} = %{version}
BuildArch:      noarch

%description    doc
JS8Call-improved is continued development of the original JS8Call project.
JS8Call is a derivative of the WSJT-X application, restructured and redesigned
for keyboard-to-keyboard message passing.

%prep
%autosetup -p1 

%build
%cmake
%cmake_build

%install
install -D build/JS8Call %{buildroot}%{_bindir}/%{name}
install -Dm 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop
install -Dm 644 icons/Unix/js8call_icon.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
install -Dm 644  %{SOURCE2} %{buildroot}%{_docdir}/%{name}/JS8Call_User_Guide.pdf

%files
%doc README.md
%license LICENSE
%{_bindir}/*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png

%files doc
%{_docdir}/%{name}/JS8Call_User_Guide.pdf

%changelog
openSUSE Build Service is sponsored by