Name: sptlrx Version: 1.3.1 Release: 1%{?dist} Summary: Synchronized lyrics in your terminal License: MIT URL: https://github.com/raitonoberu/sptlrx Source0: %{name}-%{version}.tar.gz ExclusiveArch: x86_64 aarch64 BuildRequires: golang BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: make %description Synchronized lyrics in your terminal. %prep %setup -q -n %{name}-%{version} %build export GOPROXY=off export GOSUMDB=off export GONOSUMDB=* export GOPRIVATE=* export GOTOOLCHAIN=local export CGO_ENABLED=1 export CGO_CFLAGS="%{optflags}" export CGO_CPPFLAGS="%{optflags}" export CGO_CXXFLAGS="%{optflags}" export CGO_LDFLAGS="%{__global_ldflags}" go build -v -o %{name} -mod=vendor -buildmode=pie -trimpath -ldflags='-linkmode=external' %install install -Dpm 0755 %{name} %{buildroot}%{_bindir}/%{name} if [ -f man/%{name}.5 ]; then install -Dpm 0644 man/%{name}.5 %{buildroot}%{_mandir}/man5/%{name}.5 fi %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_mandir}/man5/%{name}.5* %changelog * Tue Apr 07 2026 you - 1.3.1-1 - Initial RPM release