Summary: Terminal multiplexer Name: tmux Version: 1.5 Release: %mkrel 1 Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz # patch from fedora, CVE-2011-1496 Patch: tmux-1.0-04_dropping_unnecessary_privileges.diff License: BSD Group: Terminals Url: http://tmux.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: ncurses-devel, libevent-devel %description tmux is a "terminal multiplexer". It allows a number of terminals (or windows) to be accessed and controlled from a single terminal. It is intended to be a simple, modern, BSD-licensed alternative to programs such as GNU screen. %prep %setup -q %patch -p1 %build %configure2_5x %make %install %__rm -rf %{buildroot} %__install -d %{buildroot}%{_bindir} %__install -m 755 tmux %{buildroot}%{_bindir} %__install -d %{buildroot}%{_mandir}/man1 %__install -m 644 tmux.1 %{buildroot}%{_mandir}/man1 %clean %__rm -rf %{buildroot} %files %defattr(-,root,root) %doc FAQ NOTES TODO CHANGES examples/ %_bindir/tmux %_mandir/man1/tmux.*