# Generated by go2rpm 1.9.0 %bcond_without check # https://github.com/dlasky/gotk3-layershell %global goipath github.com/dlasky/gotk3-layershell %global commit 5c5115f0d77479c452ef686e3d7f327f2a341b3c %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