# Generated by go2rpm %bcond_without check # https://gitlab.com/golang-commonmark/linkify %global goipath gitlab.com/golang-commonmark/linkify %global forgeurl https://gitlab.com/golang-commonmark/linkify %global commit c22b7bdb117955ff2cc0e3724083d35e3419d71e %gometa %global goaltipaths github.com/golang-commonmark/linkify %global common_description %{expand: Package linkify provides a way to find what looks like links in plain text.} %global golicenses LICENSE %global godocs README.md genfsm/suffixes.txt Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Find what looks like links in plain text # Upstream license specification: BSD-2-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(golang.org/x/text/unicode/rangetable) %description %{common_description} %gopkg %prep %goprep %build for cmd in genfsm; 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 genfsm/suffixes.txt %{_bindir}/* %gopkgfiles %changelog * Wed May 15 21:27:02 CEST 2019 Robert-André Mauchin - 0-0.1.20190515gitc22b7bd - Initial package