# Generated by go2rpm 1.18.0 %bcond check 1 %bcond bootstrap 0 %if %{with bootstrap} %global debug_package %{nil} %endif %if %{with bootstrap} %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif # https://github.com/nwg-piotr/nwg-look %global goipath github.com/nwg-piotr/nwg-look Version: 1.0.6 # REMOVE BEFORE SUBMITTING THIS FOR REVIEW # --- # New Fedora packages should use %%gometa -f, which makes the package # ExclusiveArch to %%golang_arches_future and thus excludes the package from # %%ix86. If the new package is needed as a dependency for another package, # please consider removing that package from %%ix86 in the same way, instead of # building more go packages for i686. If your package is not a leaf package, # you'll need to coordinate the removal of the package's dependents first. # --- # REMOVE BEFORE SUBMITTING THIS FOR REVIEW %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: 4%{?dist} Summary: GTK3 settings editor adapted to work in the wlroots environment. License: MIT URL: %{gourl} Source: %{gosource} %description This application is a part of the nwg-shell project. Nwg-look is a GTK settings editor, designed to work properly in wlroots-based Wayland environment. The look and feel is strongly influenced by LXAppearance, but nwg-look is intended to free the user from a few inconveniences: - It works natively on Wayland. You no longer need Xwayland, nor strange env variables for it to run. - It applies gsettings directly, with no need to use workarounds. You do not need to set gsettings in the sway config file. You do not need the import-gsettings script. %gopkg %prep %goprep -A %autopatch -p1 %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %if %{without bootstrap} %build %gobuild -o %{gobuilddir}/bin/nwg-look %{goipath} %endif %install %gopkginstall %if %{without bootstrap} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %endif %if %{without bootstrap} %if %{with check} %check %gocheck %endif %endif %if %{without bootstrap} %files %license LICENSE %doc README.md %{_bindir}/nwg-look %endif %gopkgfiles %changelog %autochangelog