Name: cliphist Version: 0.7.0 Release: 3%{?dist} Summary: Wayland clipboard manager with support for multimedia. License: GPL-3.0-only URL: https://github.com/sentriz/cliphist Source: https://github.com/sentriz/cliphist/archive/refs/tags/v%{version}.tar.gz ExclusiveArch: x86_64 BuildRequires: git-core BuildRequires: golang BuildRequires: zstd Requires: wl-clipboard Requires: xdg-utils %description Clipboard history “manager” for Wayland. - Write clipboard changes to a history file. - Recall history with dmenu, rofi, wofi (or whatever other picker you like). - Both text and images are supported. - Clipboard is preserved byte-for-byte. - Leading/trailing whitespace, no whitespace, or newlines are preserved. - Won’t break fancy editor selections like Vim wordwise, linewise, or block mode. - No concept of a picker, only pipes. %prep %autosetup %build go build %install %{__mkdir} -p %{buildroot}%{_bindir}/ %{__install} -Dm755 %{name} %{buildroot}%{_bindir}/ %files %license LICENSE %doc readme.md CHANGELOG.md %{_bindir}/%{name} %changelog %autochangelog