]> git.pld-linux.org Git - packages/tmux.git/blob - tmux.spec
- ncurses-devel BR
[packages/tmux.git] / tmux.spec
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 BuildRequires:  ncurses-devel
13 URL:            http://tmux.sourceforge.net/
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 tmux is a terminal multiplexer: it enables a number of terminals (or
18 windows), each running a separate program, to be created, accessed,
19 and controlled from a single screen. tmux may be detached from a
20 screen and continue running in the background, then later reattached.
21
22 %description -l hu.UTF-8
23 tmux egy terminál-sokszorozó: terminálok (vagy ablakok) sokaságát
24 hozhatd létre, mindegyikben egy külön program fut, létrehozhatsz,
25 csatlakozhatsz és irányíthatod egyetlen képernyőről. tmux
26 lecsatlakozhat a képernyőről és folytathatja a futását a háttérben, és
27 később újracsatlakozhatsz.
28
29 %package -n vim-syntax-tmux
30 Summary:        Vim syntax file to tmux config files
31 Summary(hu.UTF-8):      Vim syntax fájl a tmux konfigurációs fájljához
32 Group:          Applications/Editors/Vim
33
34 %description -n vim-syntax-tmux
35 Vim syntax file to tmux config files.
36
37 %description -n vim-syntax-tmux -l hu.UTF-8
38 Vim syntax fájl a tmux konfigurációs fájljához.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43
44 %build
45 ./configure
46 CFLAGS="%{rpmcflags} -I/usr/include/ncursesw" %{__make} \
47         PREFIX=%{_prefix}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT \
54         PREFIX=%{_prefix}
55
56 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{ftdetect,syntax}
57 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/ftdetect/tmux.vim
58 install examples/tmux.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc CHANGES FAQ NOTES TODO examples/*.conf
66 %attr(755,root,root) %{_bindir}/*
67 %{_mandir}/man1/tmux*
68
69 %files -n vim-syntax-tmux
70 %defattr(644,root,root,755)
71 %{_datadir}/vim/vimfiles/ftdetect/tmux.vim
72 %{_datadir}/vim/vimfiles/syntax/tmux.vim
This page took 0.080508 seconds and 4 git commands to generate.