File qsstv.spec of Package qsstv
#
# spec file for package qsstv
#
# Copyright (c) 2014-2025 Walter Fey DL8FCL
#
# This file is under MIT license
Name: qsstv
Version: 9.5.8+git20250212
Release: 0
License: GPL-3.0-only
Summary: Qt-based SSTV and HAMDRM
Url: https://github.com/ON4QZ/QSSTV
Group: Productivity/Hamradio/Other
Source: %{name}-%{version}.tar.xz
Source1: qsstv.1
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt6Core)
BuildRequires: pkgconfig(Qt6Network)
BuildRequires: pkgconfig(Qt6Svg)
BuildRequires: pkgconfig(Qt6Xml)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(hamlib)
BuildRequires: pkgconfig(libopenjp2)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libv4l2)
%description
QSSTV is a program for receiving and transmitting SSTV and HAMDRM (sometimes
called DSSTV). It is compatible with most of MmSSTV and EasyPal
%prep
%autosetup -p1
%build
cd src
%qmake6 PREFIX=/usr
%make_build
%install
cd src
%make_install INSTALL_ROOT=%{buildroot}
install -D icons/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
install -Dm 644 ../%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
# Install man page borrowed from Debian
install -Dm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/qsstv.1
%files
%license COPYING
%doc README.md
%{_bindir}/*
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/applications/%{name}.desktop
%{_mandir}/man1/%{name}.1*
%changelog