# Generated by go2rpm 1.9.0 %bcond_without check # https://github.com/dlasky/gotk3-layershell %global goipath github.com/dlasky/gotk3-layershell %global commit b0c42cd8474f4ccbe50e68ac6b15491c4faf6bb9 %global godevelheader %{expand: Requires: golang(github.com/gotk3/gotk3/gdk) Requires: golang(github.com/gotk3/gotk3/gtk) Requires: pkgconfig(gtk-layer-shell-0) } %gometa -f %global common_description %{expand: Gotk3 addon module that provides gtk_layer_shell compatibiility.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: %autorelease -p Summary: Gotk3 addon module that provides gtk_layer_shell compatibiility License: MIT URL: %{gourl} Source: %{gosource} BuildRequires: golang(github.com/gotk3/gotk3/gdk) BuildRequires: golang(github.com/gotk3/gotk3/gtk) BuildRequires: pkgconfig(gtk-layer-shell-0) %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/gotk3-layershell %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc README.md %{_bindir}/* %gopkgfiles %changelog %autochangelog