# Generated by go2rpm 1.9.0 %bcond_without check # https://github.com/nwg-piotr/nwg-dock %global goipath github.com/nwg-piotr/nwg-dock Version: 0.3.9 %gometa -f %global common_description %{expand: Fully configurable (w/ command line arguments and css) dock, written in Go, aimed exclusively at sway Wayland compositor. It features pinned buttons, task buttons, the workspace switcher and the launcher button. The latter by default starts nwg-drawer or nwggrid (application grid) - if found. In the picture(s) below the dock has been shown together with nwg-panel. } %global golicenses LICENSE %global godocs README.md Name: nwg-dock Release: 1%{?dist} Summary: GTK3-based dock for sway License: MIT URL: %{gourl} Source: %{gosource} 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) BuildRequires: golang(github.com/dlasky/gotk3-layershell/layershell) BuildRequires: golang(github.com/allan-simon/go-singleinstance) %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/nwg-dock %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vd %{buildroot}%{_datadir}/%{name} install -m 0755 -vd %{buildroot}%{_datadir}/%{name}/images install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ install -m 0644 -vp config/* %{buildroot}%{_datadir}/%{name}/ install -m 0644 -vp images/* %{buildroot}%{_datadir}/%{name}/images/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc README.md %{_bindir}/* %{_datadir}/%{name} %gopkgfiles %changelog * Fri Sep 29 2023 Jerzy Drożdż  - 0.3.9-1 - Update to 0.3.9 * Thu Sep 28 2023 Jerzy Drożdż  - 0.3.8-1 - Update to 0.3.8 * Fri Sep 01 2023 Jerzy Drożdż  - 0.3.7-1 - Update to 0.3.7 * Sat Aug 05 2023 Jerzy Drożdż  - 0.3.6-1 - Update to 0.3.6 * Tue Aug 01 2023 Jerzy Drożdż - 0.3.5-2 - Golang packaging guidelines spec file * Mon Jul 03 2023 Jerzy Drożdż  - 0.3.5-1 - Update to 0.3.5 * Sun Jun 04 2023 Jerzy Drożdż  - 0.3.4-1 - Update to 0.3.4 * Thu Dec 29 2022 Jerzy Drożdż - 0.3.6-1 - Initial build