]> git.pld-linux.org Git - packages/tmux.git/blame - tmux.spec
- up to 2.3
[packages/tmux.git] / tmux.spec
CommitLineData
21dfa491
ZU
1# TODO:
2# - vim doesn't detect filetype
0a168b43 3Summary: tmux - a terminal multiplexer
df1e8c4e 4Summary(hu.UTF-8): tmux egy terminál-sokszorozó
0a168b43 5Summary(pl.UTF-8): tmux - multiplekser terminali
df1e8c4e 6Name: tmux
e1007db9 7Version: 2.3
ea24db7e 8Release: 1
df1e8c4e
ZU
9License: BSD
10Group: Applications/Terminal
1a940cea 11#Source0Download: https://github.com/tmux/tmux/releases
a018f7c2 12Source0: https://github.com/tmux/tmux/releases/download/%{version}/%{name}-%{version}.tar.gz
e1007db9 13# Source0-md5: fcfd1611d705d8b31df3c26ebc93bd3e
df1e8c4e 14Source1: %{name}-filedetect.vim
466bc6bc 15Source2: https://raw.githubusercontent.com/keith/tmux.vim/master/syntax/tmux.vim
e1007db9 16# Source2-md5: fa67c21c238fdcc29f04602e0eda22d1
466bc6bc 17Source3: https://raw.githubusercontent.com/przepompownia/tmux-bash-completion/master/completions/tmux
e1007db9 18# Source3-md5: 9040fcb0a16bc85309ac9eefb60c644f
a018f7c2 19URL: http://tmux.github.io/
05eab483 20BuildRequires: libevent-devel
ea24db7e 21BuildRequires: libutempter-devel
6390aa10 22BuildRequires: ncurses-devel
1a940cea 23BuildRequires: rpmbuild(macros) >= 1.673
df1e8c4e
ZU
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27tmux is a terminal multiplexer: it enables a number of terminals (or
28windows), each running a separate program, to be created, accessed,
29and controlled from a single screen. tmux may be detached from a
30screen and continue running in the background, then later reattached.
31
32%description -l hu.UTF-8
33tmux egy terminál-sokszorozó: terminálok (vagy ablakok) sokaságát
34hozhatd létre, mindegyikben egy külön program fut, létrehozhatsz,
35csatlakozhatsz és irányíthatod egyetlen képernyőről. tmux
36lecsatlakozhat a képernyőről és folytathatja a futását a háttérben, és
37később újracsatlakozhatsz.
38
0a168b43
JB
39%description -l pl.UTF-8
40tmux to multiplekser terminali: pozwala na tworzenie wielu terminali
41(lub okien) z osobnymi programami, dostęp do nich i sterowanie z
42pojedynczego ekranu. tmux może być odłączony od ekranu i nadal działać
43w tle, a następnie ponownie podłączony.
44
df1e8c4e
ZU
45%package -n vim-syntax-tmux
46Summary: Vim syntax file to tmux config files
47Summary(hu.UTF-8): Vim syntax fájl a tmux konfigurációs fájljához
0a168b43 48Summary(pl.UTF-8): Plik składni Vima dla plików konfiguracyjnych tmuksa
df1e8c4e 49Group: Applications/Editors/Vim
0a168b43 50Requires: vim-rt
df1e8c4e
ZU
51
52%description -n vim-syntax-tmux
53Vim syntax file to tmux config files.
54
55%description -n vim-syntax-tmux -l hu.UTF-8
56Vim syntax fájl a tmux konfigurációs fájljához.
57
ee0f9a2f
ZU
58%package -n bash-completion-tmux
59Summary: Bash completion for tmux
0a168b43 60Summary(pl.UTF-8): Bashowe dopełnianie poleceń dla tmuksa
596f5bca 61Group: Applications/Shells
0a168b43 62Requires: %{name} = %{version}-%{release}
1a940cea 63Requires: bash-completion >= 2.0
ee0f9a2f
ZU
64
65%description -n bash-completion-tmux
66This package provides bash-completion for tmux.
67
0a168b43
JB
68%description -n bash-completion-tmux -l pl.UTF-8
69Ten pakiet dostarcza bashowe dopełnianie składni dla polecenia tmux.
70
df1e8c4e
ZU
71%prep
72%setup -q
df1e8c4e
ZU
73
74%build
27a56cc0
AM
75%{__aclocal}
76%{__autoconf}
bdef13e9 77%configure \
1a940cea 78 CPPFLAGS="%{rpmcppflags} -I/usr/include/ncursesw"
bdef13e9 79
27a56cc0 80%{__make}
df1e8c4e
ZU
81
82%install
83rm -rf $RPM_BUILD_ROOT
84
85%{__make} install \
86 DESTDIR=$RPM_BUILD_ROOT \
87 PREFIX=%{_prefix}
88
89install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{ftdetect,syntax}
90install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/ftdetect/tmux.vim
466bc6bc 91install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
1a940cea
JB
92install -d $RPM_BUILD_ROOT%{bash_compdir}
93install %{SOURCE3} $RPM_BUILD_ROOT%{bash_compdir}/%{name}
df1e8c4e
ZU
94
95%clean
96rm -rf $RPM_BUILD_ROOT
97
98%files
99%defattr(644,root,root,755)
466bc6bc 100%doc CHANGES FAQ README TODO
0a168b43
JB
101%attr(755,root,root) %{_bindir}/tmux
102%{_mandir}/man1/tmux.1*
df1e8c4e
ZU
103
104%files -n vim-syntax-tmux
105%defattr(644,root,root,755)
106%{_datadir}/vim/vimfiles/ftdetect/tmux.vim
107%{_datadir}/vim/vimfiles/syntax/tmux.vim
ee0f9a2f
ZU
108
109%files -n bash-completion-tmux
110%defattr(644,root,root,755)
1a940cea 111%{bash_compdir}/%{name}
This page took 0.048498 seconds and 4 git commands to generate.