# 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.4.9 %gometa -f %global common_description %{expand: Application drawer for wlroots-based Wayland compositors.} %global golicenses LICENSE %global godocs README.md Name: nwg-drawer Release: 1%{?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 * Sun Jun 30 2024 Jerzy Drożdż  - 0.4.9-1 - Update to 0.4.9 * Tue Jun 18 2024 Jerzy Drożdż  - 0.4.8-1 - Update to 0.4.8 * Thu Feb 08 2024 Jerzy Drożdż  - 0.4.7-1 - Update to 0.4.7 * Tue Feb 06 2024 Jerzy Drożdż  - 0.4.6-1 - Update to 0.4.6 * Mon Feb 05 2024 Jerzy Drożdż  - 0.4.5-1 - Update to 0.4.5 * Thu Dec 14 2023 Jerzy Drożdż - 0.4.3-2 - Fixed package name * Fri Dec 01 2023 Jerzy Drożdż  - 0.4.3-1 - Update to 0.4.3 * Wed Nov 22 2023 Jerzy Drożdż  - 0.4.2-1 - Update to 0.4.2 * Sat Nov 18 2023 Jerzy Drożdż  - 0.4.1-1 - Update to 0.4.1 * Wed Nov 08 2023 Jerzy Drożdż  - 0.4.0-1 - Update to 0.4.0 * 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