# Generated by go2rpm %bcond_without check # https://github.com/knieriem/markdown %global goipath github.com/knieriem/markdown %global commit 325ec6c40dd46f6b39ddfd2e3021697a726894bb %gometa %global common_description %{expand: This is an implementation of John Gruber's markdown in Go. It is a translation of peg-markdown, written by John MacFarlane in C, into Go. It is using a modified version of Andrew J Snodgrass' PEG parser peg -- now supporting LEG grammars --, which itself is based on the parser used by peg-markdown. Support for HTML and groff mm output is implemented, but LaTeX output has not been ported. The output is identical to that of peg-markdown.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 8%{?dist} Summary: Translation of peg-markdown into Go # peg-markdown is released under both the GPL and MIT licenses # peg is BSD License: BSD and (GPLv2+ or MIT) URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %build %gobuild -o %{gobuilddir}/bin/go-peg-markdown %{goipath}/cmd/markdown %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}/* %gopkgfiles %changelog * Mon Jun 03 17:39:29 CEST 2019 Robert-André Mauchin - 0-8.20190603git325ec6c - Update to new macros * Fri Feb 01 2019 Fedora Release Engineering - 0-7.git325ec6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0-6.git325ec6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0-5.git325ec6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0-4.git325ec6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-3.git325ec6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-2.git325ec6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Oct 13 2016 Ben Rosser - 0-1.git325ec6c - First package for Fedora