]> git.pld-linux.org Git - packages/tmux.git/blob - tmux.spec
af5000574c7673c47cff35eb152f312f032e849f
[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.9a
8 Release:        1
9 License:        BSD
10 Group:          Applications/Terminal
11 Source0:        http://downloads.sourceforge.net/tmux/%{name}-%{version}.tar.gz
12 # Source0-md5:  b07601711f96f1d260b390513b509a2d
13 Source1:        %{name}-filedetect.vim
14 URL:            http://tmux.sourceforge.net/
15 BuildRequires:  libevent-devel
16 BuildRequires:  ncurses-devel
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 %package -n bash-completion-tmux
44 Summary:        Bash completion for tmux
45 Group:          Applications/Shells
46 Requires:       bash-completion
47
48 %description -n bash-completion-tmux
49 This package provides bash-completion for tmux.
50
51 %prep
52 %setup -q
53
54 %build
55 %{__aclocal}
56 %{__autoconf}
57 %configure \
58         CPPFLAGS="-I/usr/include/ncursesw"
59
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT \
67         PREFIX=%{_prefix}
68
69 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{ftdetect,syntax}
70 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/ftdetect/tmux.vim
71 install examples/tmux.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
72 install -d $RPM_BUILD_ROOT%{_datadir}/bash-completion
73 install examples/bash_completion_tmux.sh $RPM_BUILD_ROOT%{_datadir}/bash-completion/%{name}
74 install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
75 ln -s ../../%{_datadir}/bash-completion/%{name} $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files
81 %defattr(644,root,root,755)
82 %doc CHANGES FAQ README TODO examples/*.conf
83 %attr(755,root,root) %{_bindir}/*
84 %{_mandir}/man1/tmux*
85
86 %files -n vim-syntax-tmux
87 %defattr(644,root,root,755)
88 %{_datadir}/vim/vimfiles/ftdetect/tmux.vim
89 %{_datadir}/vim/vimfiles/syntax/tmux.vim
90
91 %files -n bash-completion-tmux
92 %defattr(644,root,root,755)
93 %{_sysconfdir}/bash_completion.d/%{name}
94 %{_datadir}/bash-completion/%{name}
This page took 0.026053 seconds and 2 git commands to generate.