# Generated by go2rpm 1.9.0 %bcond_without check # https://github.com/nwg-piotr/nwg-drawer %global goipath github.com/nwg-piotr/nwg-drawer Version: 0.3.9 %gometa -f %global common_description %{expand: Application drawer for wlroots-based Wayland compositors.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 2%{?dist} Summary: Application drawer for wlroots-based Wayland compositors License: MIT URL: %{gourl} Source: %{gosource} BuildRequires: golang(github.com/fsnotify/fsnotify) BuildRequires: golang(github.com/allan-simon/go-singleinstance) BuildRequires: golang(github.com/dlasky/gotk3-layershell/layershell) BuildRequires: golang(github.com/gotk3/gotk3/gdk) BuildRequires: golang(github.com/gotk3/gotk3/glib) BuildRequires: golang(github.com/gotk3/gotk3/gtk) BuildRequires: golang(github.com/joshuarubin/go-sway) BuildRequires: golang(github.com/sirupsen/logrus) Suggests: (foot or alacritty) Suggests: thunar %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/nwg-drawer %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vd %{buildroot}%{_datadir}/%{name}/desktop-directories/ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ install -m 0755 -vp desktop-directories/* %{buildroot}%{_datadir}/%{name}/desktop-directories/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc README.md %{_bindir}/* %{_datadir}/%{name} %gopkgfiles %changelog * Tue Aug 01 2023 Jerzy Drożdż - 0.3.9-2 - Golang packaging guidelines spec file * Fri Jul 28 2023 Jerzy Drożdż  - 0.3.9-1 - Update to 0.3.9 * Mon Feb 27 2023 Jerzy Drożdż - 0.3.8-1 - Update to 0.3.8 * Fri Dec 30 2022 Jerzy Drożdż - 0.3.6-3 - Added README.md as docs - Changed build process * Thu Dec 29 2022 Jerzy Drożdż - 0.3.6-2 - Added missing LICENSE * Thu Dec 29 2022 Jerzy Drożdż - 0.3.6-1 - Initial build