1 |
Summary: Terminal multiplexer |
Summary: Terminal multiplexer |
2 |
Name: tmux |
Name: tmux |
3 |
Version: 1.6 |
Version: 1.7 |
4 |
Release: %mkrel 1 |
Release: %mkrel 1 |
5 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
|
# patch from fedora, CVE-2011-1496 |
|
|
Patch: tmux-1.6-dropping_unnecessary_privileges.diff |
|
6 |
License: BSD |
License: BSD |
7 |
Group: Terminals |
Group: Terminals |
8 |
Url: http://tmux.sourceforge.net/ |
Url: http://tmux.sourceforge.net/ |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
|
9 |
BuildRequires: ncurses-devel, libevent-devel |
BuildRequires: ncurses-devel, libevent-devel |
10 |
|
|
11 |
%description |
%description |
16 |
|
|
17 |
%prep |
%prep |
18 |
%setup -q |
%setup -q |
|
%patch -p1 |
|
19 |
|
|
20 |
%build |
%build |
21 |
%configure2_5x |
%configure2_5x |
22 |
%make |
%make |
23 |
|
|
24 |
%install |
%install |
|
%__rm -rf %{buildroot} |
|
25 |
%__install -d %{buildroot}%{_bindir} |
%__install -d %{buildroot}%{_bindir} |
26 |
%__install -m 755 tmux %{buildroot}%{_bindir} |
%__install -m 755 tmux %{buildroot}%{_bindir} |
27 |
%__install -d %{buildroot}%{_mandir}/man1 |
%__install -d %{buildroot}%{_mandir}/man1 |
28 |
%__install -m 644 tmux.1 %{buildroot}%{_mandir}/man1 |
%__install -m 644 tmux.1 %{buildroot}%{_mandir}/man1 |
29 |
|
|
|
%clean |
|
|
%__rm -rf %{buildroot} |
|
|
|
|
30 |
%files |
%files |
|
%defattr(-,root,root) |
|
31 |
%doc FAQ NOTES TODO CHANGES examples/ |
%doc FAQ NOTES TODO CHANGES examples/ |
32 |
%_bindir/tmux |
%_bindir/tmux |
33 |
%_mandir/man1/tmux.* |
%_mandir/man1/tmux.* |
|
|
|
|
|
|
|
|
|