[packages/wl-clipboard] new

atler atler at pld-linux.org
Sat Feb 13 14:15:34 CET 2021


commit 91804d72cac6fd561ed01be53ad89a8d15dc259a
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Feb 13 14:14:44 2021 +0100

    new

 wl-clipboard.spec | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)
---
diff --git a/wl-clipboard.spec b/wl-clipboard.spec
new file mode 100644
index 0000000..93672cd
--- /dev/null
+++ b/wl-clipboard.spec
@@ -0,0 +1,75 @@
+Summary:	Command-line copy/paste utilities for Wayland
+Name:		wl-clipboard
+Version:	2.0.0
+Release:	1
+License:	GPL v3+
+Group:		Applications
+Source0:	https://github.com/bugaevc/wl-clipboard/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	cb34e27547e3ed7f70051933b76a39f4
+URL:		https://github.com/bugaevc/wl-clipboard
+BuildRequires:	meson >= 0.44.0
+BuildRequires:	ninja
+BuildRequires:	rpmbuild(macros) >= 1.752
+BuildRequires:	wayland-devel
+BuildRequires:	wayland-protocols >= 1.17
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+%package -n bash-completion-wl-clipboard
+Summary:	Bash completion for wl-clipboard
+Group:		Applications/Shells
+Requires:	%{name} = %{version}-%{release}
+Requires:	bash-completion >= 2.0
+%{?noarchpackage}
+
+%description -n bash-completion-wl-clipboard
+Bash completion for wl-clipboard.
+
+%package -n zsh-completion-wl-clipboard
+Summary:	ZSH completion for wl-clipboard
+Group:		Applications/Shells
+Requires:	%{name} = %{version}-%{release}
+Requires:	zsh
+%{?noarchpackage}
+
+%description -n zsh-completion-wl-clipboard
+ZSH completion for wl-clipboard.
+
+%prep
+%setup -q
+
+%build
+%meson build \
+	-Dzshcompletiondir=%{zsh_compdir}
+
+%ninja_build -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_bindir}/wl-copy
+%attr(755,root,root) %{_bindir}/wl-paste
+%{_mandir}/man1/wl-clipboard.1*
+%{_mandir}/man1/wl-copy.1*
+%{_mandir}/man1/wl-paste.1*
+
+%files -n bash-completion-wl-clipboard
+%defattr(644,root,root,755)
+%{bash_compdir}/wl-copy
+%{bash_compdir}/wl-paste
+
+%files -n zsh-completion-wl-clipboard
+%defattr(644,root,root,755)
+%{zsh_compdir}/_wl-copy
+%{zsh_compdir}/_wl-paste
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wl-clipboard.git/commitdiff/91804d72cac6fd561ed01be53ad89a8d15dc259a



More information about the pld-cvs-commit mailing list