File heroic-epic-integration.spec of Package heroic-epic-integration
#
# spec file for package heroic-epic-integration
#
# Copyright (c) 2025 SUSE LLC
#
# 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: heroic-epic-integration
Version: 0.4
Release: 0
Summary: Wrapper process for games launched through Heroic Games Launcher
License: MIT
URL: https://github.com/Etaash-mathamsetty/heroic-epic-integration
Source: %{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: zlib-devel
BuildRequires: libopenssl-devel
BuildRequires: qt6-base-devel
BuildRequires: qt6-tools-devel
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-gcc-c++
BuildArch: noarch
%description
This package provides a small helper tool to assist Heroic Games Launcher
with specific tasks related to the Epic Games Store.
%prep
%setup -q -n %{name}-%{version}
%build
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=../windows.cmake ..
make
%install
mkdir -p %{buildroot}%{_libexecdir}/heroic-epic-integration
cp build/heroic-epic-integration.exe %{buildroot}%{_libexecdir}/heroic-epic-integration/EpicGamesLauncher.exe
%check
# Nothing to do
%files
%license LICENSE
%doc README.md
%dir %{_libexecdir}/heroic-epic-integration
%{_libexecdir}/heroic-epic-integration/EpicGamesLauncher.exe
%changelog