# Generated by go2rpm 1.8.1 # # This specfile is licensed under: # SPDX-License-Identifier: MIT # License text: https://spdx.org/licenses/MIT.html # SPDX-FileCopyrightText: 2022 Maxwell G # SPDX-FileCopyrightText: Fedora Project Authors %bcond_without check # https://github.com/emersion/go-msgauth %global goipath github.com/emersion/go-msgauth Version: 0.6.6 %gometa -f %global common_description %{expand: A Go library and tools for DKIM, DMARC and Authentication-Results.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: A Go library and tools for DKIM, DMARC and Authentication-Results License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build for cmd in cmd/* ; 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 README.md %{_bindir}/{dkim-keygen,dkim-milter,dkim-verify,dmarc-lookup} %gopkgfiles %changelog %autochangelog