add: terra-wl-clipboard (#923)

* add: wl-clipboard

* terra- prefix
This commit is contained in:
madomado
2024-02-07 02:07:38 +08:00
committed by GitHub
parent 41a62aac67
commit b75e0629c9
3 changed files with 41 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "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
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("bugaevc/wl-clipboard"));