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