%global commit0 5a59ea07513b24093bd90fad943ecf9543cf05bc %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global bumpver 27 Name: winetricks Version: 20260807 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 unrar unzip 7zip xz Requires: xdg-utils coreutils Requires: (aria2 or wget or curl) Requires: (zenity or kdialog) Requires: (perl if (wget and zenity)) Requires: wine %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 rm %{buildroot}/usr/share/bash-completion/completions/winetricks %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %files %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/metainfo/io.github.winetricks.Winetricks.metainfo.xml %changelog %autochangelog