# Generated by go2rpm 1.10.0 %bcond_without check %global debug_package %{nil} # https://github.com/linuxdeepin/go-gir %global goipath github.com/linuxdeepin/go-gir Version: 3.0.4 %gometa -L -f %global common_description %{expand: Project go-gir-generator implements GObject-introspection based bindings generator for Go.} %global golicenses LICENSES/* %global godocs README.md Name: golang-github-linuxdeepin-gir Release: %autorelease Summary: GObject-introspection based bindings generator for Go License: GPL-3.0-only AND CC-BY-4.0 URL: %{gourl} Source: %{gosource} %if %{with check} BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gdk-3.0) BuildRequires: pkgconfig(gudev-1.0) %endif # Remove in f41 %global godevelheader %{expand: Obsoletes: deepin-gir-generator < 2.2.0-3 Provides: deepin-gir-generator = %{version}-%{release} } %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog