%global long_commit 7f360de5e7f8d92944dd5ccd75ed6b923644afee %global short_commit %(echo %{long_commit} | cut -c1-7) Name: umu-launcher Version: 1.4.0^%(date +%%Y%%m%%d)git%{short_commit} Release: 2%{?dist} Summary: Unified launcher for Windows games on Linux. License: GPL-3.0-only URL: https://github.com/Open-Wine-Components/umu-launcher Source: %{url}/archive/%{long_commit}.tar.gz BuildRequires: git BuildRequires: wget BuildRequires: cargo BuildRequires: meson BuildRequires: cmake BuildRequires: ninja-build BuildRequires: rpm-build BuildRequires: g++ BuildRequires: gcc-c++ BuildRequires: scdoc BuildRequires: python BuildRequires: python3 BuildRequires: python3-{devel,build,installer,hatchling,hatch-vcs,wheel,pyzstd,xlib,urllib3} BuildRequires: libzstd-devel Requires: ge-proton Requires: python Requires: python3 Requires: python3-{xlib,pyzstd,cbor2,xxhash} Requires: libzstd %description This is a unified launcher for Windows games on Linux. It is essentially a copy of the Steam Runtime Tools and Steam Linux Runtime that Valve uses for Proton, with some modifications made so that it can be used outside of Steam. %prep %autosetup -n %{name}-%{long_commit} %build ./configure.sh --prefix=/usr --use-system-pyzstd --use-system-urllib make %install make DESTDIR=%{buildroot} PYTHONDIR=%{python3_sitelib} install %files %license LICENSE %doc README.md %{_bindir}/umu-run %{_datadir}/man/ %{python3_sitelib}/umu* %changelog %autochangelog