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