## 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-menu %global goipath github.com/nwg-piotr/nwg-menu Version: 0.1.9 %gometa -L -f Name: nwg-menu Release: %autorelease Summary: MenuStart plugin to nwg-panel, also capable of working standalone # Generated by go-vendor-tools License: BSD-3-Clause AND ISC AND MIT 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) %description MenuStart plugin to nwg-panel, also capable of working standalone. %prep %goprep -A %setup -q -T -D -a1 %{forgesetupargs} %autopatch -p1 %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %build %global gomodulesmode GO111MODULE=on %gobuild -o %{gobuilddir}/bin/nwg-menu %{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} install -m 0644 -vp menu-start.css %{buildroot}%{_datadir}/%{name}/ install -m 0755 -vd %{buildroot}%{_datadir}/%{name}/desktop-directories install -m 0644 -vp desktop-directories/* %{buildroot}%{_datadir}/%{name}/desktop-directories/ %check %go_vendor_license_check -c %{S:2} %if %{with check} %gocheck2 %endif %files -f %{go_vendor_license_filelist} %doc README.md %{_bindir}/nwg-menu %{_datadir}/nwg-menu/ %changelog ## START: Generated by rpmautospec * Tue Dec 30 2025 John Doe - 0.1.9-1 - Uncommitted changes ## END: Generated by rpmautospec