1 |
%define name tmux |
2 |
%define version 1.4 |
3 |
%define release %mkrel 1 |
4 |
|
5 |
Summary: Terminal multiplexer |
6 |
Name: %{name} |
7 |
Version: %{version} |
8 |
Release: %{release} |
9 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
10 |
License: BSD |
11 |
Group: Terminals |
12 |
Url: http://tmux.sourceforge.net/ |
13 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
14 |
BuildRequires: ncurses-devel, libevent-devel |
15 |
|
16 |
%description |
17 |
tmux is a "terminal multiplexer". It allows a number of terminals (or |
18 |
windows) to be accessed and controlled from a single terminal. It is |
19 |
intended to be a simple, modern, BSD-licensed alternative to programs |
20 |
such as GNU screen. |
21 |
|
22 |
%prep |
23 |
%setup -q |
24 |
|
25 |
%build |
26 |
./configure |
27 |
%make |
28 |
|
29 |
%install |
30 |
%__rm -rf %{buildroot} |
31 |
%__install -d %{buildroot}%{_bindir} |
32 |
%__install -m 755 tmux %{buildroot}%{_bindir} |
33 |
%__install -d %{buildroot}%{_mandir}/man1 |
34 |
%__install -m 644 tmux.1 %{buildroot}%{_mandir}/man1 |
35 |
|
36 |
%clean |
37 |
%__rm -rf %{buildroot} |
38 |
|
39 |
%files |
40 |
%defattr(-,root,root) |
41 |
%doc FAQ NOTES TODO CHANGES examples/ |
42 |
%_bindir/tmux |
43 |
%_mandir/man1/tmux.* |
44 |
|
45 |
|
46 |
|