# TODO: # - vim doesn't detect filetype Summary: tmux - a terminal multiplexer Summary(hu.UTF-8): tmux egy terminál-sokszorozó Summary(pl.UTF-8): tmux - multiplekser terminali Name: tmux Version: 2.8 Release: 1 License: BSD Group: Applications/Terminal #Source0Download: https://github.com/tmux/tmux/releases Source0: https://github.com/tmux/tmux/releases/download/%{version}/%{name}-%{version}.tar.gz # Source0-md5: 79ff2929a6422e45b490daa895cca4a2 Source1: %{name}-filedetect.vim Source2: https://raw.githubusercontent.com/keith/tmux.vim/master/syntax/tmux.vim # Source2-md5: cd1169a1757b515b5c57816d339c6f72 Source3: https://raw.githubusercontent.com/przepompownia/tmux-bash-completion/master/completions/tmux # Source3-md5: 9040fcb0a16bc85309ac9eefb60c644f URL: http://tmux.github.io/ BuildRequires: autoconf BuildRequires: automake BuildRequires: libevent-devel BuildRequires: libutempter-devel BuildRequires: ncurses-devel BuildRequires: rpmbuild(macros) >= 1.673 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description tmux is a terminal multiplexer: it enables a number of terminals (or windows), each running a separate program, to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached. %description -l hu.UTF-8 tmux egy terminál-sokszorozó: terminálok (vagy ablakok) sokaságát hozhatd létre, mindegyikben egy külön program fut, létrehozhatsz, csatlakozhatsz és irányíthatod egyetlen képernyőről. tmux lecsatlakozhat a képernyőről és folytathatja a futását a háttérben, és később újracsatlakozhatsz. %description -l pl.UTF-8 tmux to multiplekser terminali: pozwala na tworzenie wielu terminali (lub okien) z osobnymi programami, dostęp do nich i sterowanie z pojedynczego ekranu. tmux może być odłączony od ekranu i nadal działać w tle, a następnie ponownie podłączony. %package -n vim-syntax-tmux Summary: Vim syntax file to tmux config files Summary(hu.UTF-8): Vim syntax fájl a tmux konfigurációs fájljához Summary(pl.UTF-8): Plik składni Vima dla plików konfiguracyjnych tmuksa Group: Applications/Editors/Vim Requires: vim-rt %description -n vim-syntax-tmux Vim syntax file to tmux config files. %description -n vim-syntax-tmux -l hu.UTF-8 Vim syntax fájl a tmux konfigurációs fájljához. %package -n bash-completion-tmux Summary: Bash completion for tmux Summary(pl.UTF-8): Bashowe dopełnianie poleceń dla tmuksa Group: Applications/Shells Requires: %{name} = %{version}-%{release} Requires: bash-completion >= 2.0 %description -n bash-completion-tmux This package provides bash-completion for tmux. %description -n bash-completion-tmux -l pl.UTF-8 Ten pakiet dostarcza bashowe dopełnianie składni dla polecenia tmux. %prep %setup -q %build #%{__aclocal} #%{__autoconf} %configure \ CPPFLAGS="%{rpmcppflags} -I/usr/include/ncursesw" %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ PREFIX=%{_prefix} install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{ftdetect,syntax} install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/ftdetect/tmux.vim install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax install -d $RPM_BUILD_ROOT%{bash_compdir} install %{SOURCE3} $RPM_BUILD_ROOT%{bash_compdir}/%{name} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc CHANGES README TODO %attr(755,root,root) %{_bindir}/tmux %{_mandir}/man1/tmux.1* %files -n vim-syntax-tmux %defattr(644,root,root,755) %{_datadir}/vim/vimfiles/ftdetect/tmux.vim %{_datadir}/vim/vimfiles/syntax/tmux.vim %files -n bash-completion-tmux %defattr(644,root,root,755) %{bash_compdir}/%{name}