# Generated by go2rpm 1.14.0 %global tag 1.1.1 %bcond check 1 %bcond bootstrap 0 %if %{with bootstrap} %global debug_package %{nil} %endif # https://github.com/nwg-piotr/nwg-look %global goipath github.com/nwg-piotr/nwg-look Version: %{tag} %gometa -L -f %global common_description %{expand: GTK3 settings editor adapted to work in the wlroots environment.} %global golicenses LICENSE %global godocs README.md Name: nwg-look Release: %autorelease Summary: GTK3 settings editor adapted to work in the wlroots environment License: MIT URL: %{gourl} # upstream tags carry a v prefix; %gosource drops it Source: %{gourl}/archive/v%{tag}/%{name}-%{tag}.tar.gz Source: vendor-%{version}.tar.gz Source: bundle_go_deps_for_rpm.sh BuildRequires: desktop-file-utils BuildRequires: pkgconfig(cairo-gobject) BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(gdk-3.0) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(pango) Requires: /usr/bin/gsettings Requires: xcur2png %description %{common_description} %prep %goprep -A %setup -q -T -D -a 1 #autopatch -p1 %if %{without bootstrap} %build %gobuild -o %{gobuilddir}/bin/nwg-look %{goipath} %endif %install %if %{without bootstrap} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ install -Dpm0644 stuff/main.glade -t %{buildroot}%{_datadir}/nwg-look install -Dpm0644 langs/* -t %{buildroot}%{_datadir}/nwg-look/langs install -Dpm0644 stuff/nwg-look.desktop -t %{buildroot}%{_datadir}/applications install -Dpm0644 stuff/nwg-look.svg -t %{buildroot}%{_datadir}/pixmaps %endif %if %{without bootstrap} %if %{with check} %check %gocheck desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %endif %endif %if %{without bootstrap} %files %license vendor/modules.txt %license LICENSE %doc README.md %{_bindir}/nwg-look %{_datadir}/%{name}/ %{_datadir}/applications/nwg-look.desktop %{_datadir}/pixmaps/nwg-look.svg %endif %changelog * Fri May 08 2026 Lachlan Marie - 1.1.1-1 - Update to 1.1.1 * Thu May 07 2026 Lachlan Marie - 1.1.0-1 - Update to 1.1.0 * Mon Mar 23 2026 Lachlan Marie - 1.0.6-1 - Update to 1.0.6