]>
Commit | Line | Data |
---|---|---|
21dfa491 ZU |
1 | # TODO: |
2 | # - vim doesn't detect filetype | |
df1e8c4e ZU |
3 | Summary: tmux is a terminal multiplexer |
4 | Summary(hu.UTF-8): tmux egy terminál-sokszorozó | |
5 | Name: tmux | |
6 | Version: 1.1 | |
21dfa491 | 7 | Release: 1 |
df1e8c4e ZU |
8 | License: BSD |
9 | Group: Applications/Terminal | |
10 | Source0: http://dl.sourceforge.net/tmux/%{name}-%{version}.tar.gz | |
11 | # Source0-md5: faf2fc52ac3ae63d899f6fece2c112cd | |
12 | Source1: %{name}-filedetect.vim | |
13 | Patch0: %{name}-makefile.patch | |
6390aa10 | 14 | BuildRequires: ncurses-devel |
df1e8c4e ZU |
15 | URL: http://tmux.sourceforge.net/ |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | tmux is a terminal multiplexer: it enables a number of terminals (or | |
20 | windows), each running a separate program, to be created, accessed, | |
21 | and controlled from a single screen. tmux may be detached from a | |
22 | screen and continue running in the background, then later reattached. | |
23 | ||
24 | %description -l hu.UTF-8 | |
25 | tmux egy terminál-sokszorozó: terminálok (vagy ablakok) sokaságát | |
26 | hozhatd létre, mindegyikben egy külön program fut, létrehozhatsz, | |
27 | csatlakozhatsz és irányíthatod egyetlen képernyőről. tmux | |
28 | lecsatlakozhat a képernyőről és folytathatja a futását a háttérben, és | |
29 | később újracsatlakozhatsz. | |
30 | ||
31 | %package -n vim-syntax-tmux | |
32 | Summary: Vim syntax file to tmux config files | |
33 | Summary(hu.UTF-8): Vim syntax fájl a tmux konfigurációs fájljához | |
34 | Group: Applications/Editors/Vim | |
35 | ||
36 | %description -n vim-syntax-tmux | |
37 | Vim syntax file to tmux config files. | |
38 | ||
39 | %description -n vim-syntax-tmux -l hu.UTF-8 | |
40 | Vim syntax fájl a tmux konfigurációs fájljához. | |
41 | ||
42 | %prep | |
43 | %setup -q | |
44 | %patch0 -p1 | |
45 | ||
46 | %build | |
47 | ./configure | |
48 | CFLAGS="%{rpmcflags} -I/usr/include/ncursesw" %{__make} \ | |
49 | PREFIX=%{_prefix} | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT \ | |
56 | PREFIX=%{_prefix} | |
57 | ||
58 | install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{ftdetect,syntax} | |
59 | install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/ftdetect/tmux.vim | |
60 | install examples/tmux.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax | |
61 | ||
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %files | |
66 | %defattr(644,root,root,755) | |
67 | %doc CHANGES FAQ NOTES TODO examples/*.conf | |
68 | %attr(755,root,root) %{_bindir}/* | |
69 | %{_mandir}/man1/tmux* | |
70 | ||
71 | %files -n vim-syntax-tmux | |
72 | %defattr(644,root,root,755) | |
73 | %{_datadir}/vim/vimfiles/ftdetect/tmux.vim | |
74 | %{_datadir}/vim/vimfiles/syntax/tmux.vim |