# Generated by go2rpm 1.3 %bcond_without check # https://github.com/ruudk/golang-pdf417 %global goipath github.com/ruudk/golang-pdf417 %global commit 1af4ab5afa58c956c53ed723dee66437498b9415 %gometa %global common_description %{expand: This library encodes data to a PixelGrid that can be used to display the barcode. You can use the PixelGrid to draw the barcode on anything.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Port of pdf417-php by ihabunek in Golang License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/boombuler/barcode) BuildRequires: golang(github.com/jung-kurt/gofpdf) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep rm -rf examples %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Tue Dec 22 12:39:17 CET 2020 Robert-André Mauchin - 0-0.1.20201222git1af4ab5 - Initial package