1 |
Summary: Terminal multiplexer |
2 |
Name: tmux |
3 |
Version: 1.6 |
4 |
Release: %mkrel 1 |
5 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
6 |
# patch from fedora, CVE-2011-1496 |
7 |
Patch: tmux-1.6-dropping_unnecessary_privileges.diff |
8 |
License: BSD |
9 |
Group: Terminals |
10 |
Url: http://tmux.sourceforge.net/ |
11 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
12 |
BuildRequires: ncurses-devel, libevent-devel |
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 |
%prep |
21 |
%setup -q |
22 |
%patch -p1 |
23 |
|
24 |
%build |
25 |
%configure2_5x |
26 |
%make |
27 |
|
28 |
%install |
29 |
%__rm -rf %{buildroot} |
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 |
%clean |
36 |
%__rm -rf %{buildroot} |
37 |
|
38 |
%files |
39 |
%defattr(-,root,root) |
40 |
%doc FAQ NOTES TODO CHANGES examples/ |
41 |
%_bindir/tmux |
42 |
%_mandir/man1/tmux.* |
43 |
|
44 |
|
45 |
|