## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # 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: dos2unix 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 dos2unix README.md %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 ## START: Generated by rpmautospec * Tue Aug 27 2024 Neal Gompa - 0.6.4.1-1 - Initial package for Fedora (rhbz#2308057) ## END: Generated by rpmautospec