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