Name: choosenim Version: 0.8.4 Release: 1%{?dist} Summary: Tool for easily installing and managing multiple versions of the Nim programming language. License: BSD 3-Clause URL: https://github.com/dom96/choosenim/ # Source0: https://github.com/dom96/choosenim/archive/refs/tags/v%{version}.tar.gz Source0: https://github.com/dom96/choosenim/releases/download/v%{version}/choosenim-%{version}_linux_amd64 # BuildRequires: nim # Requires: %description %prep # ls -al %{_sourcedir} install %{_sourcedir}/choosenim-%{version}_linux_amd64 %{name} # %%autosetup %build # %%configure # %%make_build cat > choosenim.sh <<'EOF' PATH="$HOME/.nimble/bin:$PATH" EOF %install install -D %{name} %{buildroot}/%{_bindir}/%{name} install -D choosenim.sh %{buildroot}/%{_sysconfdir}/profile.d/choosenim.sh # %make_install %files # %license add-license-file-here # %doc add-docs-here %{_bindir}/%{name} %{_sysconfdir}/profile.d/choosenim.sh %changelog * Mon May 30 2022 Konrad -