%global git_date 20250811 %global git_hash 2c55e27 %global git_ver 3.17 %global rel 1 %global src_name %{name}-%{git_date}-%{git_hash}.tar.xz Name: lgogdownloader Version: %{git_ver}^%{git_date}g%{git_hash} Release: %{rel}%{?dist} Summary: GOG.com download client License: WTFPL URL: https://github.com/Sude-/lgogdownloader Source0: %{src_name} BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: help2man BuildRequires: binutils BuildRequires: pkgconfig(tidy) BuildRequires: pkgconfig(htmlcxx) BuildRequires: pkgconfig(jsoncpp) BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(tinyxml2) BuildRequires: pkgconfig(zlib) BuildRequires: boost-devel BuildRequires: rhash-devel ##BuildRequires: pkgconfig(Qt6WebEngineCore) %description LGOGDownloader is an unofficial GOG.com downloader for Linux users. It uses the same API as the official GOG Galaxy. %prep %autosetup -n %{name} %build %cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_BUILD_TYPE=Release -DUSE_QT_GUI=OFF %cmake_build %install %cmake_install %files %license COPYING %{_bindir}/lgogdownloader %{_mandir}/man1/lgogdownloader.1.* %changelog %autochangelog