# Generated by go2rpm 1.14.0 %bcond check 0 %bcond bootstrap 0 %global debug_package %{nil} %if %{with bootstrap} %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif # https://github.com/diamondburned/gotk4 %global goipath github.com/diamondburned/gotk4 Version: 0.3.1 %global tag pkg/v%{version} %global godevelheader %{expand: Requires: pkgconfig(atk) Requires: pkgconfig(cairo) Requires: pkgconfig(cairo-gobject) Requires: pkgconfig(gdk-3.0) Requires: pkgconfig(gdk-pixbuf-2.0) Requires: pkgconfig(gdk-x11-3.0) Requires: pkgconfig(gio-2.0) Requires: pkgconfig(glib-2.0) Requires: pkgconfig(gobject-2.0) Requires: pkgconfig(gobject-introspection-1.0) Requires: pkgconfig(graphene-1.0) Requires: pkgconfig(graphene-gobject-1.0) Requires: pkgconfig(gtk+-3.0) Requires: pkgconfig(gtk4) Requires: pkgconfig(gtk4-wayland) Requires: pkgconfig(gtk4-x11) Requires: pkgconfig(pango) Requires: pkgconfig(pangocairo) } %gometa -L -f %global common_description %{expand: Autogenerated GTK4 bindings for Go.} %global golicenses LICENSE.md pkg/LICENSE pkg/cairo/swizzle/LICENSE\\\ pkg/core/LICENSE %global godocs CONTRIBUTING.md README.md\\\ gir/girgen/strcases/capitalized.txt\\\ gir/girgen/strcases/replaced.txt Name: golang-github-diamondburned-gotk4 Release: %autorelease Summary: Autogenerated GTK4 bindings for Go License: AGPL-3.0-only AND ISC AND MPL-2.0 AND BSD-3-Clause URL: %{gourl} Source: %{gosource} Patch: gir.patch %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 %gocheck %endif %endif %gopkgfiles %changelog %autochangelog