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