File lgogdownloader.spec of Package lgogdownloader

#
# spec file for package lgogdownloader
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2012-2014 Klaus Singvogel, Kaierberg, Germany.
#
# 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:           lgogdownloader
Version:        3.12
Release:        0
Summary:        GOGDownloader command line tool for Linux
License:        WTFPL
Group:          Amusements/Games/Other
URL:            https://github.com/Sude-/lgogdownloader
Source:         https://github.com/Sude-/lgogdownloader/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  boost-devel
BuildRequires:  cmake >= 3.5.0
BuildRequires:  gcc-c++
BuildRequires:  help2man
BuildRequires:  libboost_date_time-devel
BuildRequires:  libboost_filesystem-devel
BuildRequires:  libboost_iostreams-devel
BuildRequires:  libboost_program_options-devel
BuildRequires:  libboost_regex-devel
BuildRequires:  libboost_system-devel
BuildRequires:  libqt5-qtwebengine-devel
BuildRequires:  pkgconfig
BuildRequires:  rhash-devel
BuildRequires:  pkgconfig(htmlcxx)
BuildRequires:  pkgconfig(jsoncpp)
BuildRequires:  pkgconfig(libcurl)
BuildRequires:  pkgconfig(tinyxml2)
BuildRequires:  pkgconfig(zlib)

%description
An open source downloader to GOG.com for Linux users using the same
API as the official GOGDownloader

%prep
%setup -q

%build
%cmake -DUSE_QT_GUI=ON
%make_build

%install
%cmake_install

%files
%license COPYING
%attr(755,root,root) %{_bindir}/%{name}
%{_mandir}/man1/%{name}*

%changelog
openSUSE Build Service is sponsored by