## 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 %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/sentriz/cliphist %global goipath go.senan.xyz/cliphist %global forgeurl https://github.com/sentriz/cliphist Version: 0.7.0 %gometa -L -f %global common_description %{expand: Wayland clipboard manager with support for multimedia.} %global golicenses LICENSE %global godocs CHANGELOG.md readme.md version.txt Name: cliphist Release: %autorelease Summary: Wayland clipboard manager with support for multimedia License: GPL-3.0-only URL: %{gourl} Source: %{gosource} Requires: wl-clipboard %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %if %{without bootstrap} %build %gobuild -o %{gobuilddir}/bin/cliphist %{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} %files %license LICENSE %doc CHANGELOG.md readme.md version.txt %{_bindir}/cliphist %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Wed Oct 29 2025 John Doe - 0.7.0-1 - Uncommitted changes ## END: Generated by rpmautospec