1 |
Name: xsel |
2 |
Version: 1.2.0 |
3 |
Release: %mkrel 9 |
4 |
Summary: Command line clipboard and X selection tool |
5 |
Group: System/X11 |
6 |
License: MIT |
7 |
URL: http://www.vergenet.net/~conrad/software/xsel/ |
8 |
Source0: http://www.vergenet.net/~conrad/software/xsel/download/xsel-%{version}.tar.gz |
9 |
# Applied upstream (BZ#690214) |
10 |
Patch0: xsel-1.2.0-MAX_NUM_TARGETS.patch |
11 |
# Patches for rhbz#1529894, taken from https://github.com/kfish/xsel/pull/16 |
12 |
Patch3: xsel-1.2.0-do-not-terminate-string.patch |
13 |
Patch4: xsel-1.2.0-send-correct-event.patch |
14 |
# TODO: forward upstream |
15 |
Patch5: xsel-1.2.0-fix-buffer-overflow.patch |
16 |
BuildRequires: pkgconfig(sm) |
17 |
BuildRequires: pkgconfig(xt) |
18 |
BuildRequires: pkgconfig(xext) |
19 |
|
20 |
%description |
21 |
XSel is a command line or script utility, similar to xclip, that can copy the |
22 |
primary and secondary X selection, or any highlighted text, to or from a file, |
23 |
stdin or stdout. It can also append to and delete the clipboard or buffer that |
24 |
you would paste with the middle mouse button. |
25 |
|
26 |
%prep |
27 |
%setup -q |
28 |
%autopatch -p1 |
29 |
|
30 |
%build |
31 |
%configure |
32 |
%make_build |
33 |
|
34 |
%install |
35 |
%make_install |
36 |
|
37 |
%files |
38 |
%doc AUTHORS ChangeLog COPYING README |
39 |
%{_mandir}/man1/xsel.1* |
40 |
%{_bindir}/xsel |
41 |
|