-
-
Notifications
You must be signed in to change notification settings - Fork 62
/
xpanes.spec
46 lines (37 loc) · 1.28 KB
/
xpanes.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Name: xpanes
Summary: Awesome tmux-based terminal divider
Version: 4.2.0
Group: Applications
License: MIT
Release: %(date '+%'s)
URL: https://github.com/greymd/tmux-xpanes
Source: https://github.com/greymd/tmux-xpanes/archive/v%{version}.tar.gz
BuildArch: noarch
Vendor: Yamada, Yasuhiro <yamada at gr3.ie>
Requires: tmux
Provides: tmux-xpanes = %{version}-%{release}
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%description
xpanes or tmux-xpanes (alias of xpanes) commands have following features:
- Split tmux window into multiple panes
- Construct command lines & execute them on the panes
- Runnable from outside of tmux session
- Runnable from inside of tmux session
- Record operation log
- Flexible layout arrangement for panes
- Display pane title on each pane
- Generate command lines from standard input (Pipe mode)
%prep
%setup -q -n tmux-xpanes-%{version}
%install
install -d -m 0755 %{buildroot}%{_mandir}/man1 %{buildroot}%{_bindir}
%{__cp} -a man/*.1 %{buildroot}%{_mandir}/man1/
%{__cp} -a bin/* %{buildroot}%{_bindir}/
%files
%defattr(0644, root, root, 0755)
%doc README.md CONTRIBUTING.md
%license LICENSE
%{_mandir}/man1/*
%attr(0755, root, root) %{_bindir}/*
%clean
%{__rm} -rf %{buildroot}