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