1 |
Summary: Terminal multiplexer |
2 |
Name: tmux |
3 |
Version: 2.8 |
4 |
Release: %mkrel 2 |
5 |
License: BSD |
6 |
Group: Terminals |
7 |
Url: http://tmux.github.io/ |
8 |
Source0: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz |
9 |
Patch0: CVE-2018-19387.patch |
10 |
|
11 |
BuildRequires: pkgconfig(ncurses) |
12 |
BuildRequires: pkgconfig(libevent) |
13 |
|
14 |
%description |
15 |
tmux is a "terminal multiplexer". It allows a number of terminals (or |
16 |
windows) to be accessed and controlled from a single terminal. It is |
17 |
intended to be a simple, modern, BSD-licensed alternative to programs |
18 |
such as GNU screen. |
19 |
|
20 |
|
21 |
%prep |
22 |
%setup -q |
23 |
%autopatch -p1 |
24 |
|
25 |
%build |
26 |
%configure2_5x |
27 |
%make_build |
28 |
|
29 |
%install |
30 |
%__install -d %{buildroot}%{_bindir} |
31 |
%__install -m 755 tmux %{buildroot}%{_bindir} |
32 |
%__install -d %{buildroot}%{_mandir}/man1 |
33 |
%__install -m 644 tmux.1 %{buildroot}%{_mandir}/man1 |
34 |
|
35 |
%files |
36 |
%doc README TODO CHANGES |
37 |
%{_bindir}/tmux |
38 |
%{_mandir}/man1/tmux.* |
39 |
|