diff --git a/anda/tools/wl-clipboard/anda.hcl b/anda/tools/wl-clipboard/anda.hcl new file mode 100644 index 0000000000..8f34eb2480 --- /dev/null +++ b/anda/tools/wl-clipboard/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "terra-wl-clipboard.spec" + } +} diff --git a/anda/tools/wl-clipboard/terra-wl-clipboard.spec b/anda/tools/wl-clipboard/terra-wl-clipboard.spec new file mode 100644 index 0000000000..9e21a4ae21 --- /dev/null +++ b/anda/tools/wl-clipboard/terra-wl-clipboard.spec @@ -0,0 +1,35 @@ +Name: terra-wl-clipboard +Version: 2.2.1 +Release: 1%?dist +Summary: Command-line copy/paste utilities for Wayland +License: GPL-3.0 +URL: https://github.com/bugaevc/wl-clipboard +Source0: %url/archive/refs/tags/v%version.tar.gz +Requires: xdg-utils mailcap +#? Requires: wayland +BuildRequires: git-core meson wayland-protocols-devel gcc pkgconfig(wayland-client) redhat-rpm-config +Provides: wl-clipboard = %version + +%description +This project implements two command-line Wayland clipboard utilities, wl-copy and wl-paste, +that let you easily copy data between the clipboard and Unix pipes, sockets, files and so on. + +%prep +%autosetup -n wl-clipboard-%version + +%build +%meson +%meson_build + +%install +%meson_install + +%files +%_bindir/wl-* +%bash_completions_dir/wl-* +%fish_completions_dir/wl-* +%zsh_completions_dir/_wl-* +%_mandir/man1/wl-*.1.gz + +%changelog +%autochangelog diff --git a/anda/tools/wl-clipboard/update.rhai b/anda/tools/wl-clipboard/update.rhai new file mode 100644 index 0000000000..f920657e15 --- /dev/null +++ b/anda/tools/wl-clipboard/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("bugaevc/wl-clipboard"));