# Generated by go2rpm 1 %bcond_without check # https://github.com/go-latex/latex %global goipath github.com/go-latex/latex %global commit 0806b477ea35f3350297b700aa3eab1c5391123a %gometa %global common_description %{expand: Go package for LaTeX.} %global golicenses LICENSE %global godocs AUTHORS CONTRIBUTORS README.md mtex/README.md Name: %{goname} Version: 0 Release: %mkrel 0.2 Summary: Go package for LaTeX Group: Development/Other # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/fogleman/gg) BuildRequires: golang(github.com/golang/freetype/truetype) BuildRequires: golang(github.com/jung-kurt/gofpdf) BuildRequires: golang(golang.org/x/image/font) BuildRequires: golang(golang.org/x/image/font/gofont/gobold) BuildRequires: golang(golang.org/x/image/font/gofont/gobolditalic) BuildRequires: golang(golang.org/x/image/font/gofont/goitalic) BuildRequires: golang(golang.org/x/image/font/gofont/goregular) BuildRequires: golang(golang.org/x/image/math/fixed) %if %{with check} # Tests BuildRequires: golang(github.com/go-fonts/dejavu/dejavusans) BuildRequires: golang(github.com/go-fonts/dejavu/dejavusansoblique) %endif %description %{common_description} %gopkg %prep %goprep %build for cmd in cmd/* mtex/symbols; 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 AUTHORS CONTRIBUTORS README.md mtex/README.md %{_bindir}/* %gopkgfiles %changelog * Wed Mar 16 2022 umeabot <umeabot> 0-0.2.mga9 + Revision: 1794583 - Mageia 9 Mass Rebuild * Fri Sep 11 2020 pterjan <pterjan> 0-0.1.mga8 + Revision: 1624812 - imported package golang-github-latex * Fri Sep 11 18:21:17 UTC 2020 Pascal Terjan <pterjan@mageia.org> - 0-0.1.20200911git0806b47 - Initial package