Name: go-musicfox Version: 4.4.1 Release: 1%{?dist} Summary: Command-line Netease Cloud Music written in Go License: MIT URL: https://github.com/go-musicfox/go-musicfox Source0: %{name}-%{version}.tar.gz BuildRequires: golang gcc-objc flac-devel alsa-lib-devel git Requires: flac flac-libs alsa-lib BuildArch: x86_64 %description Command-line Netease Cloud Music written in Go. %prep %setup -q %build go mod download make %global _enable_debug_package 0 %global debug_package %{nil} %install install -d %{buildroot}%{_bindir} install -Dm755 bin/musicfox %{buildroot}%{_bindir}/go-musicfox %files %{_bindir}/go-musicfox %clean %changelog