%global commit0 3483ce867ee10aa084843e97b8f31c9489d6e93d %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global bumpver 17 Name: winetricks Version: 20260126 Release: %{bumpver}.git%{shortcommit0} Summary: Winetricks is an easy way to work around problems in Wine License: LGPL-2.1-or-later URL: https://github.com/Winetricks/winetricks Source0: %{url}/archive/%{commit0}.tar.gz BuildArch: noarch BuildRequires: desktop-file-utils BuildRequires: make Requires: cabextract gzip unzip wget which Requires: hicolor-icon-theme Requires: wine-common Requires: zenity %description Winetricks is an easy way to work around common problems in Wine. It has a menu of supported games/apps for which it can do all the workarounds automatically. It also lets you install missing DLLs or tweak various Wine settings individually. %prep %autosetup -n %{name}-%{commit0} %install %make_install %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %files %license COPYING debian/copyright %doc README.md %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %{_datadir}/applications/%{name}.desktop %{_datadir}/bash-completion/completions/%{name} %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/metainfo/io.github.winetricks.Winetricks.metainfo.xml %changelog %autochangelog