# Generated by go2rpm %bcond_without check # https://github.com/jung-kurt/gofpdf %global goipath github.com/jung-kurt/gofpdf Version: 2.7.1 %gometa %global common_description %{expand: Package Gofpdf implements a PDF document generator with high level support for text, drawing and images.} %global golicenses LICENSE %global godocs doc README.md document.md Name: %{goname} Release: 1%{?dist} Summary: PDF document generator with high level support for text, drawing and images License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %build for cmd in makefont; 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 doc README.md checklist.txt document.md text/20k_c1.txt text/20k_c2.txt %doc text/countries.txt text/utf-8test.txt text/utf-8test2.txt %{_bindir}/* %gopkgfiles %changelog * Fri May 17 00:00:15 CEST 2019 Robert-André Mauchin - 2.7.1-1 - Initial package