]> git.pld-linux.org Git - packages/wl-clipboard.git/blame - wl-clipboard.spec
up to 2.2.1
[packages/wl-clipboard.git] / wl-clipboard.spec
CommitLineData
91804d72
JP
1Summary: Command-line copy/paste utilities for Wayland
2Name: wl-clipboard
e1b229de 3Version: 2.2.1
91804d72
JP
4Release: 1
5License: GPL v3+
6Group: Applications
7Source0: https://github.com/bugaevc/wl-clipboard/archive/v%{version}/%{name}-%{version}.tar.gz
e1b229de 8# Source0-md5: 9b128d99f5364e8bd0d3ddbfca9413d7
91804d72 9URL: https://github.com/bugaevc/wl-clipboard
cf4ef1d9 10BuildRequires: meson >= 0.47.0
91804d72 11BuildRequires: ninja
34377b90 12BuildRequires: pkgconfig
e37ccfa7 13BuildRequires: rpm-build >= 4.6
91804d72
JP
14BuildRequires: rpmbuild(macros) >= 1.752
15BuildRequires: wayland-devel
16BuildRequires: wayland-protocols >= 1.17
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20This project implements two command-line Wayland clipboard utilities,
21wl-copy and wl-paste, that let you easily copy data between the
22clipboard and Unix pipes, sockets, files and so on.
23
24%package -n bash-completion-wl-clipboard
25Summary: Bash completion for wl-clipboard
26Group: Applications/Shells
27Requires: %{name} = %{version}-%{release}
377a5dcc 28Requires: bash-completion >= 1:2.0
afb9c4fd 29BuildArch: noarch
91804d72
JP
30
31%description -n bash-completion-wl-clipboard
32Bash completion for wl-clipboard.
33
6144a015
JP
34%package -n fish-completion-wl-clipboard
35Summary: fish-completion for wl-clipboard
36Group: Applications/Shells
37Requires: %{name} = %{version}-%{release}
38Requires: fish
39BuildArch: noarch
40
41%description -n fish-completion-wl-clipboard
42fish-completion for wl-clipboard.
43
91804d72
JP
44%package -n zsh-completion-wl-clipboard
45Summary: ZSH completion for wl-clipboard
46Group: Applications/Shells
47Requires: %{name} = %{version}-%{release}
48Requires: zsh
afb9c4fd 49BuildArch: noarch
91804d72
JP
50
51%description -n zsh-completion-wl-clipboard
52ZSH completion for wl-clipboard.
53
54%prep
55%setup -q
56
57%build
58%meson build \
59 -Dzshcompletiondir=%{zsh_compdir}
60
61%ninja_build -C build
62
63%install
64rm -rf $RPM_BUILD_ROOT
65%ninja_install -C build
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files
71%defattr(644,root,root,755)
72%doc README.md
73%attr(755,root,root) %{_bindir}/wl-copy
74%attr(755,root,root) %{_bindir}/wl-paste
75%{_mandir}/man1/wl-clipboard.1*
76%{_mandir}/man1/wl-copy.1*
77%{_mandir}/man1/wl-paste.1*
78
79%files -n bash-completion-wl-clipboard
80%defattr(644,root,root,755)
81%{bash_compdir}/wl-copy
82%{bash_compdir}/wl-paste
83
6144a015
JP
84%files -n fish-completion-wl-clipboard
85%defattr(644,root,root,755)
86%{fish_compdir}/wl-copy.fish
87%{fish_compdir}/wl-paste.fish
88
91804d72
JP
89%files -n zsh-completion-wl-clipboard
90%defattr(644,root,root,755)
91%{zsh_compdir}/_wl-copy
92%{zsh_compdir}/_wl-paste
This page took 0.218866 seconds and 4 git commands to generate.