]> git.pld-linux.org Git - packages/tmux.git/blame - tmux.spec
- 1.6
[packages/tmux.git] / tmux.spec
CommitLineData
21dfa491
ZU
1# TODO:
2# - vim doesn't detect filetype
ed019aa1 3# - pass LDFLAGS (fix as-needed problem first)
df1e8c4e
ZU
4Summary: tmux is a terminal multiplexer
5Summary(hu.UTF-8): tmux egy terminál-sokszorozó
6Name: tmux
2b9632dd 7Version: 1.6
1d23b601 8Release: 3
df1e8c4e
ZU
9License: BSD
10Group: Applications/Terminal
596f5bca 11Source0: http://downloads.sourceforge.net/tmux/%{name}-%{version}.tar.gz
2b9632dd 12# Source0-md5: 3e37db24aa596bf108a0442a81c845b3
df1e8c4e 13Source1: %{name}-filedetect.vim
27a56cc0 14Patch0: %{name}-term.patch
596f5bca 15URL: http://tmux.sourceforge.net/
05eab483 16BuildRequires: libevent-devel
6390aa10 17BuildRequires: ncurses-devel
df1e8c4e
ZU
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21tmux is a terminal multiplexer: it enables a number of terminals (or
22windows), each running a separate program, to be created, accessed,
23and controlled from a single screen. tmux may be detached from a
24screen and continue running in the background, then later reattached.
25
26%description -l hu.UTF-8
27tmux egy terminál-sokszorozó: terminálok (vagy ablakok) sokaságát
28hozhatd létre, mindegyikben egy külön program fut, létrehozhatsz,
29csatlakozhatsz és irányíthatod egyetlen képernyőről. tmux
30lecsatlakozhat a képernyőről és folytathatja a futását a háttérben, és
31később újracsatlakozhatsz.
32
33%package -n vim-syntax-tmux
34Summary: Vim syntax file to tmux config files
35Summary(hu.UTF-8): Vim syntax fájl a tmux konfigurációs fájljához
36Group: Applications/Editors/Vim
37
38%description -n vim-syntax-tmux
39Vim syntax file to tmux config files.
40
41%description -n vim-syntax-tmux -l hu.UTF-8
42Vim syntax fájl a tmux konfigurációs fájljához.
43
ee0f9a2f
ZU
44%package -n bash-completion-tmux
45Summary: Bash completion for tmux
596f5bca 46Group: Applications/Shells
76318820 47Requires: bash-completion
ee0f9a2f
ZU
48
49%description -n bash-completion-tmux
50This package provides bash-completion for tmux.
51
df1e8c4e
ZU
52%prep
53%setup -q
27a56cc0 54%patch0 -p1
df1e8c4e
ZU
55
56%build
27a56cc0
AM
57%{__aclocal}
58%{__autoconf}
bdef13e9 59%configure \
27a56cc0 60 CPPFLAGS="-I/usr/include/ncursesw"
bdef13e9 61
27a56cc0 62%{__make}
df1e8c4e
ZU
63
64%install
65rm -rf $RPM_BUILD_ROOT
66
67%{__make} install \
68 DESTDIR=$RPM_BUILD_ROOT \
69 PREFIX=%{_prefix}
70
71install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{ftdetect,syntax}
72install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/ftdetect/tmux.vim
73install examples/tmux.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
ee0f9a2f
ZU
74install -d $RPM_BUILD_ROOT%{_datadir}/bash-completion
75install examples/bash_completion_tmux.sh $RPM_BUILD_ROOT%{_datadir}/bash-completion/%{name}
76install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
77ln -s ../../%{_datadir}/bash-completion/%{name} $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
df1e8c4e
ZU
78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%files
83%defattr(644,root,root,755)
84%doc CHANGES FAQ NOTES TODO examples/*.conf
85%attr(755,root,root) %{_bindir}/*
86%{_mandir}/man1/tmux*
87
88%files -n vim-syntax-tmux
89%defattr(644,root,root,755)
90%{_datadir}/vim/vimfiles/ftdetect/tmux.vim
91%{_datadir}/vim/vimfiles/syntax/tmux.vim
ee0f9a2f
ZU
92
93%files -n bash-completion-tmux
94%defattr(644,root,root,755)
95%{_sysconfdir}/bash_completion.d/%{name}
96%{_datadir}/bash-completion/%{name}
This page took 0.036646 seconds and 4 git commands to generate.