## START: Set by rpmautospec ## (rpmautospec version 0.7.2) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %define debug_package %{nil} Name: umu-launcher Version: 1.1.2 Release: %autorelease Summary: Unified launcher for Windows games on Linux License: GPL-3.0-only URL: https://github.com/Open-Wine-Components/%{name} Source0: %{url}/archive/refs/tags/%{version}.tar.gz BuildRequires: desktop-file-utils BuildRequires: python3-devel BuildRequires: meson >= 0.54.0 BuildRequires: ninja-build BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: scdoc # Python3 libraries missed by the wheel script BuildRequires: python3dist(build) BuildRequires: python3dist(installer) %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 -p1 %generate_buildrequires %pyproject_buildrequires %build # Not 100% sure about this one ./configure.sh --prefix=/usr %make_build %install %make_install #appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/net.%{name}.Lutris.metainfo.xml #desktop-file-install --dir=%{buildroot}%{_datadir}/applications share/applications/net.%{name}.Lutris.desktop %files %{python3_sitelib}/umu/ %{python3_sitearch}/umu/ %{python3_sitelib}/umu_launcher-%{version}.dist-info/ %{_mandir}/man1/umu.1.gz %{_mandir}/man5/umu.5.gz %{_datadir}/steam/compatibilitytools.d/umu-launcher/ %{_bindir}/umu-run %changelog ## START: Generated by rpmautospec * Mon Oct 14 2024 John Doe - 1.1.2-1 - Uncommitted changes ## END: Generated by rpmautospec