]> git.pld-linux.org Git - packages/tmux.git/blob - tmux.spec
- more TODO
[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.3
8 Release:        1
9 License:        BSD
10 Group:          Applications/Terminal
11 Source0:        http://dl.sourceforge.net/tmux/%{name}-%{version}.tar.gz
12 # Source0-md5:  96e60cb206de2db0610b9fb6a64c2251
13 Source1:        %{name}-filedetect.vim
14 Patch0:         %{name}-makefile.patch
15 BuildRequires:  libevent-devel
16 BuildRequires:  ncurses-devel
17 URL:            http://tmux.sourceforge.net/
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 %prep
45 %setup -q
46 %patch0 -p1
47
48 %build
49 ./configure
50 CFLAGS="%{rpmcflags} -I/usr/include/ncursesw" %{__make} \
51         CC="%{__cc}" \
52         PREFIX=%{_prefix}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT \
59         PREFIX=%{_prefix}
60
61 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{ftdetect,syntax}
62 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/ftdetect/tmux.vim
63 install examples/tmux.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc CHANGES FAQ NOTES TODO examples/*.conf
71 %attr(755,root,root) %{_bindir}/*
72 %{_mandir}/man1/tmux*
73
74 %files -n vim-syntax-tmux
75 %defattr(644,root,root,755)
76 %{_datadir}/vim/vimfiles/ftdetect/tmux.vim
77 %{_datadir}/vim/vimfiles/syntax/tmux.vim
This page took 0.064665 seconds and 4 git commands to generate.