# Generated by go2rpm 1.6.0 %bcond_without check # https://github.com/mroach/rom64 %global goipath github.com/mroach/rom64 Version: 0.5.0 %gometa %global common_description %{expand: Nintendo 64 ROM utility written in Go: - List information about all ROMs in a directory - Show information about a single ROM - Convert a ROM file to the native (Z64, Big-endian) format - Validate the ROM's SHA-1 checksum against a list of known-good ROM dumps.} %global golicenses LICENSE %global godocs doc rom_info.md README.md Name: %{goname} Release: %autorelease Summary: Nintendo 64 ROM utility License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %package -n rom64 Summary: %{summary} %description -n rom64 %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/rom64 %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files -n rom64 %license LICENSE %doc doc rom_info.md README.md %{_bindir}/rom64 %gopkgfiles %changelog %autochangelog