# Generated by go2rpm 1.9.0 %bcond_without check # https://code.rocketnine.space/tslocum/cbind %global archivename cbind %global archiveext tar.gz %global goipath code.rocketnine.space/tslocum/cbind %global forgeurl https://code.rocketnine.space/tslocum/cbind %global forgesetupargs -n %{archivename} Version: 0.1.5 %gometa -f %global common_description %{expand: # FIXME} %global golicenses LICENSE %global godocs CHANGELOG README.md Name: %{goname} Release: %autorelease Summary: None License: MIT URL: %{gourl} Source: %{forgeurl}/archive/v%{version}.tar.gz BuildRequires: golang(github.com/gdamore/tcell/v2) %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build for cmd in whichkeybind; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc CHANGELOG README.md %{_bindir}/* %gopkgfiles %changelog * Thu Jun 08 2023 Jerzy Drożdż - 0.1.5-1 - Initial build