1 |
misc |
95522 |
Name: xsel |
2 |
|
|
Version: 1.2.0 |
3 |
umeabot |
1834639 |
Release: %mkrel 10 |
4 |
misc |
95522 |
Summary: Command line clipboard and X selection tool |
5 |
stormi |
97672 |
Group: System/X11 |
6 |
misc |
95522 |
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 |
daviddavid |
1549244 |
# 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 |
ovitters |
1147135 |
BuildRequires: pkgconfig(xt) |
18 |
|
|
BuildRequires: pkgconfig(xext) |
19 |
misc |
95522 |
|
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 |
ovitters |
878814 |
%autopatch -p1 |
29 |
misc |
95522 |
|
30 |
|
|
%build |
31 |
wally |
1481091 |
%configure |
32 |
daviddavid |
1549244 |
%make_build |
33 |
misc |
95522 |
|
34 |
|
|
%install |
35 |
daviddavid |
926007 |
%make_install |
36 |
misc |
95522 |
|
37 |
|
|
%files |
38 |
|
|
%doc AUTHORS ChangeLog COPYING README |
39 |
daviddavid |
1549244 |
%{_mandir}/man1/xsel.1* |
40 |
misc |
95522 |
%{_bindir}/xsel |
41 |
|
|
|