Name: qlog Version: 0.47.1 Release: %autorelease Summary: Qt Logging program for ham-radio operators License: GPL-3.0-or-later Url: https://github.com/foldynl/QLog ExclusiveArch: x86_64 aarch64 Source0: https://github.com/foldynl/QLog/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: desktop-file-utils BuildRequires: hamlib-devel BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtcharts-devel BuildRequires: qt5-qtserialport-devel BuildRequires: qt5-qtwebchannel-devel BuildRequires: qt5-qtwebengine-devel BuildRequires: qt5-qtwebsockets-devel Buildrequires: qtkeychain-qt5-devel BuildRequires: sqlite-devel BuildRequires: zlib-ng-compat-devel %description QLog is an Amateur Radio logging application for Linux, Windows and Mac OS. It is based on the Qt 5 framework and uses SQLite as database backend. %prep %autosetup -n QLog-%{version} %build %{qmake_qt5} PREFIX=%{_prefix} -r %{_qt5_qmake_flags} QMAKE_LFLAGS="${RPM_LD_FLAGS} -Wl,--as-needed" %make_build %install %make_install INSTALL_ROOT=%{buildroot} desktop-file-install --delete-original --dir=%{buildroot}%{_datadir}/applications %{buildroot}/%{_datadir}/applications/%{name}.desktop %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %files %license LICENSE %doc README.md Changelog %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/256x256/apps/%{name}.png %{_metainfodir}/* %changelog %autochangelog