]>
Commit | Line | Data |
---|---|---|
21dfa491 ZU |
1 | # TODO: |
2 | # - vim doesn't detect filetype | |
ed019aa1 | 3 | # - pass LDFLAGS (fix as-needed problem first) |
0a168b43 | 4 | Summary: tmux - a terminal multiplexer |
df1e8c4e | 5 | Summary(hu.UTF-8): tmux egy terminál-sokszorozó |
0a168b43 | 6 | Summary(pl.UTF-8): tmux - multiplekser terminali |
df1e8c4e | 7 | Name: tmux |
0d7dc440 | 8 | Version: 1.9a |
6f3db414 | 9 | Release: 1 |
df1e8c4e ZU |
10 | License: BSD |
11 | Group: Applications/Terminal | |
596f5bca | 12 | Source0: http://downloads.sourceforge.net/tmux/%{name}-%{version}.tar.gz |
0d7dc440 | 13 | # Source0-md5: b07601711f96f1d260b390513b509a2d |
df1e8c4e | 14 | Source1: %{name}-filedetect.vim |
596f5bca | 15 | URL: http://tmux.sourceforge.net/ |
05eab483 | 16 | BuildRequires: libevent-devel |
6390aa10 | 17 | BuildRequires: ncurses-devel |
df1e8c4e ZU |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | tmux is a terminal multiplexer: it enables a number of terminals (or | |
22 | windows), each running a separate program, to be created, accessed, | |
23 | and controlled from a single screen. tmux may be detached from a | |
24 | screen and continue running in the background, then later reattached. | |
25 | ||
26 | %description -l hu.UTF-8 | |
27 | tmux egy terminál-sokszorozó: terminálok (vagy ablakok) sokaságát | |
28 | hozhatd létre, mindegyikben egy külön program fut, létrehozhatsz, | |
29 | csatlakozhatsz és irányíthatod egyetlen képernyőről. tmux | |
30 | lecsatlakozhat a képernyőről és folytathatja a futását a háttérben, és | |
31 | később újracsatlakozhatsz. | |
32 | ||
0a168b43 JB |
33 | %description -l pl.UTF-8 |
34 | tmux to multiplekser terminali: pozwala na tworzenie wielu terminali | |
35 | (lub okien) z osobnymi programami, dostęp do nich i sterowanie z | |
36 | pojedynczego ekranu. tmux może być odłączony od ekranu i nadal działać | |
37 | w tle, a następnie ponownie podłączony. | |
38 | ||
df1e8c4e ZU |
39 | %package -n vim-syntax-tmux |
40 | Summary: Vim syntax file to tmux config files | |
41 | Summary(hu.UTF-8): Vim syntax fájl a tmux konfigurációs fájljához | |
0a168b43 | 42 | Summary(pl.UTF-8): Plik składni Vima dla plików konfiguracyjnych tmuksa |
df1e8c4e | 43 | Group: Applications/Editors/Vim |
0a168b43 | 44 | Requires: vim-rt |
df1e8c4e ZU |
45 | |
46 | %description -n vim-syntax-tmux | |
47 | Vim syntax file to tmux config files. | |
48 | ||
49 | %description -n vim-syntax-tmux -l hu.UTF-8 | |
50 | Vim syntax fájl a tmux konfigurációs fájljához. | |
51 | ||
ee0f9a2f ZU |
52 | %package -n bash-completion-tmux |
53 | Summary: Bash completion for tmux | |
0a168b43 | 54 | Summary(pl.UTF-8): Bashowe dopełnianie poleceń dla tmuksa |
596f5bca | 55 | Group: Applications/Shells |
0a168b43 | 56 | Requires: %{name} = %{version}-%{release} |
76318820 | 57 | Requires: bash-completion |
ee0f9a2f ZU |
58 | |
59 | %description -n bash-completion-tmux | |
60 | This package provides bash-completion for tmux. | |
61 | ||
0a168b43 JB |
62 | %description -n bash-completion-tmux -l pl.UTF-8 |
63 | Ten pakiet dostarcza bashowe dopełnianie składni dla polecenia tmux. | |
64 | ||
df1e8c4e ZU |
65 | %prep |
66 | %setup -q | |
df1e8c4e ZU |
67 | |
68 | %build | |
27a56cc0 AM |
69 | %{__aclocal} |
70 | %{__autoconf} | |
bdef13e9 | 71 | %configure \ |
27a56cc0 | 72 | CPPFLAGS="-I/usr/include/ncursesw" |
bdef13e9 | 73 | |
27a56cc0 | 74 | %{__make} |
df1e8c4e ZU |
75 | |
76 | %install | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %{__make} install \ | |
80 | DESTDIR=$RPM_BUILD_ROOT \ | |
81 | PREFIX=%{_prefix} | |
82 | ||
83 | install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{ftdetect,syntax} | |
84 | install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/ftdetect/tmux.vim | |
85 | install examples/tmux.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax | |
ee0f9a2f ZU |
86 | install -d $RPM_BUILD_ROOT%{_datadir}/bash-completion |
87 | install examples/bash_completion_tmux.sh $RPM_BUILD_ROOT%{_datadir}/bash-completion/%{name} | |
88 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d | |
89 | ln -s ../../%{_datadir}/bash-completion/%{name} $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d | |
df1e8c4e ZU |
90 | |
91 | %clean | |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
94 | %files | |
95 | %defattr(644,root,root,755) | |
98216505 | 96 | %doc CHANGES FAQ README TODO examples/*.conf |
0a168b43 JB |
97 | %attr(755,root,root) %{_bindir}/tmux |
98 | %{_mandir}/man1/tmux.1* | |
df1e8c4e ZU |
99 | |
100 | %files -n vim-syntax-tmux | |
101 | %defattr(644,root,root,755) | |
102 | %{_datadir}/vim/vimfiles/ftdetect/tmux.vim | |
103 | %{_datadir}/vim/vimfiles/syntax/tmux.vim | |
ee0f9a2f ZU |
104 | |
105 | %files -n bash-completion-tmux | |
106 | %defattr(644,root,root,755) | |
107 | %{_sysconfdir}/bash_completion.d/%{name} | |
108 | %{_datadir}/bash-completion/%{name} |