Name: bottles-soda-experimental Version: 11.0.32 Release: 100.2.1%{?dist} Summary: Soda 11 experimental Wine runner for Bottles (11.0-32) License: LGPL-2.1-or-later URL: https://github.com/bottlesdevs/wine %global runner soda-11.0-32-experimental %ifarch x86_64 %global soda_arch x86_64 %global source_md5 b5f85741615e6a0551fa6506c569d0da %else %ifarch aarch64 %global soda_arch aarch64 %global source_md5 a1cc6d19c0df631166d8a484873b7363 %else %{error:Unsupported architecture} %endif %endif Source0: https://github.com/bottlesdevs/wine/releases/download/%{runner}/%{runner}-%{soda_arch}.tar.xz Source1: bottles-soda-import %description Precompiled experimental Soda 11 Wine runner used by Bottles. Use bottles-soda-import as the regular user to copy the runner into native Bottles' runner directory. This package does not install Bottles itself. %prep printf '%%s %%s\n' '%{source_md5}' '%{SOURCE0}' | md5sum -c - %setup -q -T -c -n %{name}-%{version} tar -xf %{SOURCE0} test -x '%{runner}/bin/wine' %build %install install -dm755 %{buildroot}%{_prefix}/libexec/bottles-soda-experimental cp -a '%{runner}' %{buildroot}%{_prefix}/libexec/bottles-soda-experimental/ install -Dm755 %{SOURCE1} %{buildroot}%{_bindir}/bottles-soda-import %files %{_bindir}/bottles-soda-import %{_prefix}/libexec/bottles-soda-experimental/%{runner}/