Blob Blame History Raw
# 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          64bca66f6ad31f726def3d4a5ebc0d947fa875d7

%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.5%{?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 Aug 05 13:26:08 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.5.20200805git64bca66
- Bump to commit 64bca66f6ad31f726def3d4a5ebc0d947fa875d7

* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Wed May 15 21:27:02 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20190701gitc22b7bd
- Initial package