2 # - vim doesn't detect filetype
3 Summary: tmux - a terminal multiplexer
4 Summary(hu.UTF-8): tmux egy terminál-sokszorozó
5 Summary(pl.UTF-8): tmux - multiplekser terminali
10 Group: Applications/Terminal
11 #Source0Download: https://github.com/tmux/tmux/releases
12 Source0: https://github.com/tmux/tmux/releases/download/%{version}/%{name}-%{version}.tar.gz
13 # Source0-md5: fcfd1611d705d8b31df3c26ebc93bd3e
14 Source1: %{name}-filedetect.vim
15 Source2: https://raw.githubusercontent.com/keith/tmux.vim/master/syntax/tmux.vim
16 # Source2-md5: fa67c21c238fdcc29f04602e0eda22d1
17 Source3: https://raw.githubusercontent.com/przepompownia/tmux-bash-completion/master/completions/tmux
18 # Source3-md5: 9040fcb0a16bc85309ac9eefb60c644f
19 URL: http://tmux.github.io/
20 BuildRequires: libevent-devel
21 BuildRequires: libutempter-devel
22 BuildRequires: ncurses-devel
23 BuildRequires: rpmbuild(macros) >= 1.673
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 tmux is a terminal multiplexer: it enables a number of terminals (or
28 windows), each running a separate program, to be created, accessed,
29 and controlled from a single screen. tmux may be detached from a
30 screen and continue running in the background, then later reattached.
32 %description -l hu.UTF-8
33 tmux egy terminál-sokszorozó: terminálok (vagy ablakok) sokaságát
34 hozhatd létre, mindegyikben egy külön program fut, létrehozhatsz,
35 csatlakozhatsz és irányíthatod egyetlen képernyőről. tmux
36 lecsatlakozhat a képernyőről és folytathatja a futását a háttérben, és
37 később újracsatlakozhatsz.
39 %description -l pl.UTF-8
40 tmux to multiplekser terminali: pozwala na tworzenie wielu terminali
41 (lub okien) z osobnymi programami, dostęp do nich i sterowanie z
42 pojedynczego ekranu. tmux może być odłączony od ekranu i nadal działać
43 w tle, a następnie ponownie podłączony.
45 %package -n vim-syntax-tmux
46 Summary: Vim syntax file to tmux config files
47 Summary(hu.UTF-8): Vim syntax fájl a tmux konfigurációs fájljához
48 Summary(pl.UTF-8): Plik składni Vima dla plików konfiguracyjnych tmuksa
49 Group: Applications/Editors/Vim
52 %description -n vim-syntax-tmux
53 Vim syntax file to tmux config files.
55 %description -n vim-syntax-tmux -l hu.UTF-8
56 Vim syntax fájl a tmux konfigurációs fájljához.
58 %package -n bash-completion-tmux
59 Summary: Bash completion for tmux
60 Summary(pl.UTF-8): Bashowe dopełnianie poleceń dla tmuksa
61 Group: Applications/Shells
62 Requires: %{name} = %{version}-%{release}
63 Requires: bash-completion >= 2.0
65 %description -n bash-completion-tmux
66 This package provides bash-completion for tmux.
68 %description -n bash-completion-tmux -l pl.UTF-8
69 Ten pakiet dostarcza bashowe dopełnianie składni dla polecenia tmux.
78 CPPFLAGS="%{rpmcppflags} -I/usr/include/ncursesw"
83 rm -rf $RPM_BUILD_ROOT
86 DESTDIR=$RPM_BUILD_ROOT \
89 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{ftdetect,syntax}
90 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/ftdetect/tmux.vim
91 install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
92 install -d $RPM_BUILD_ROOT%{bash_compdir}
93 install %{SOURCE3} $RPM_BUILD_ROOT%{bash_compdir}/%{name}
96 rm -rf $RPM_BUILD_ROOT
99 %defattr(644,root,root,755)
100 %doc CHANGES FAQ README TODO
101 %attr(755,root,root) %{_bindir}/tmux
102 %{_mandir}/man1/tmux.1*
104 %files -n vim-syntax-tmux
105 %defattr(644,root,root,755)
106 %{_datadir}/vim/vimfiles/ftdetect/tmux.vim
107 %{_datadir}/vim/vimfiles/syntax/tmux.vim
109 %files -n bash-completion-tmux
110 %defattr(644,root,root,755)
111 %{bash_compdir}/%{name}