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