# Generated by go2rpm %bcond check 1 %global debug_package %{nil} # https://github.com/linuxdeepin/go-gir-generator %global goipath github.com/linuxdeepin/go-gir Version: 3.0.4 %gometa -L %global common_description %{expand: Project go-gir-generator implements GObject-introspection based bindings generator for Go.} %global golicenses LICENSE %global godocs CHANGELOG.md README.md Name: deepin-gir-generator Release: %autorelease Summary: GObject-introspection based bindings generator for Go License: GPL-3.0-or-later URL: %{gourl} Source0: %{gosource} %if %{with check} BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gdk-3.0) BuildRequires: pkgconfig(gudev-1.0) %endif %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog