# Generated by go2rpm 1.14.0 %bcond check 1 %bcond bootstrap 0 %global debug_package %{nil} %if %{with bootstrap} %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif # https://github.com/gotk3/gotk3 %global goipath github.com/gotk3/gotk3 Version: 0.6.4.1 %gometa -L -f %global godevelheader %{expand: Requires: pkgconfig(cairo) Requires: pkgconfig(cairo-gobject) Requires: pkgconfig(gdk-3.0) Requires: pkgconfig(gio-2.0) Requires: pkgconfig(glib-2.0) Requires: pkgconfig(gobject-2.0) Requires: pkgconfig(gtk+-3.0) Requires: pkgconfig(pango) } %global common_description %{expand: Go bindings for GTK3.} %global golicenses LICENSE %global godocs CHANGES.md CONTRIBUTIONS.md README.md Name: golang-github-gotk3 Release: %autorelease Summary: Go bindings for GTK3 License: ISC URL: %{gourl} Source: %{gosource} BuildRequires: gcc BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(cairo-gobject) BuildRequires: pkgconfig(gdk-3.0) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(pango) BuildRequires: xwayland-run %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %install %gopkginstall %if %{without bootstrap} %if %{with check} %check # gtk needs a display server running during the test %gocheck -d gtk %endif %endif %gopkgfiles %changelog %autochangelog