## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.18.0 %bcond check 1 # https://github.com/nwg-piotr/nwg-drawer %global goipath github.com/nwg-piotr/nwg-drawer Version: 0.7.4 %gometa -L -f Name: nwg-drawer Release: %autorelease Summary: Application drawer for wlroots-based Wayland compositors # Generated by go-vendor-tools License: Apache-2.0 AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 URL: %{gourl} Source0: %{gosource} # Generated by go-vendor-tools Source1: %{archivename}-vendor.tar.bz2 Source2: go-vendor-tools.toml BuildRequires: go-vendor-tools BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtk-layer-shell-0) BuildRequires: pkgconfig(gobject-introspection-1.0) %description Application drawer for wlroots-based Wayland compositors. %prep %goprep -p1 tar -xf %{S:1} %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %build %global gomodulesmode GO111MODULE=on %gobuild -o %{gobuilddir}/bin/nwg-drawer %{goipath} %install %go_vendor_license_install -c %{S:2} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ install -m 0755 -vd %{buildroot}%{_datadir}/%{name}/desktop-directories install -m 0644 -vp desktop-directories/* %{buildroot}%{_datadir}/%{name}/desktop-directories/ install -m 0755 -vd %{buildroot}%{_datadir}/%{name}/img install -m 0644 -vp img/* %{buildroot}%{_datadir}/%{name}/img/ install -m 0644 -vp drawer.css %{buildroot}%{_datadir}/%{name}/ %check %go_vendor_license_check -c %{S:2} %if %{with check} %gocheck2 %endif %files -f %{go_vendor_license_filelist} %doc README.md %{_bindir}/nwg-drawer %{_datadir}/nwg-drawer/ %changelog ## START: Generated by rpmautospec * Tue Dec 30 2025 Yaakov Selkowitz - 0.7.4-1 - Uncommitted changes * Sun Oct 12 2025 Maxwell G - 0.4.9-7 - Rebuild for golang 1.25.2 * Fri Oct 10 2025 Alejandro Sáez - 0.4.9-6 - rebuild * Fri Aug 15 2025 Maxwell G - 0.4.9-5 - Rebuild for golang-1.25.0 * Thu Jul 24 2025 Fedora Release Engineering - 0.4.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Fri Jan 17 2025 Fedora Release Engineering - 0.4.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Aug 28 2024 Neal Gompa - 0.4.9-2 - Install nwg-drawer assets * Tue Aug 27 2024 Neal Gompa - 0.4.9-1 - Initial package for Fedora (rhbz#2308062) ## END: Generated by rpmautospec