]> git.pld-linux.org Git - packages/tmux.git/blobdiff - tmux.spec
- pl
[packages/tmux.git] / tmux.spec
index 0ca8ef4db7fde57e0e2b0e53ad81446a33485f3c..87a353ee49d1e8bc7f3f6ae3f0083f1a640fcf75 100644 (file)
--- a/tmux.spec
+++ b/tmux.spec
@@ -1,19 +1,20 @@
 # TODO:
 # - vim doesn't detect filetype
-Summary:       tmux is a terminal multiplexer
+# - pass LDFLAGS (fix as-needed problem first)
+Summary:       tmux - a terminal multiplexer
 Summary(hu.UTF-8):     tmux egy terminál-sokszorozó
+Summary(pl.UTF-8):     tmux - multiplekser terminali
 Name:          tmux
-Version:       1.2
+Version:       1.9a
 Release:       1
 License:       BSD
 Group:         Applications/Terminal
-Source0:       http://dl.sourceforge.net/tmux/%{name}-%{version}.tar.gz
-# Source0-md5: 748fbe7bb5f86812e19bd6005ff21a5a
+Source0:       http://downloads.sourceforge.net/tmux/%{name}-%{version}.tar.gz
+# Source0-md5: b07601711f96f1d260b390513b509a2d
 Source1:       %{name}-filedetect.vim
-Patch0:                %{name}-makefile.patch
+URL:           http://tmux.sourceforge.net/
 BuildRequires: libevent-devel
 BuildRequires: ncurses-devel
-URL:           http://tmux.sourceforge.net/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -29,10 +30,18 @@ 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.
@@ -40,15 +49,29 @@ 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
+
+%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
-%patch0 -p1
 
 %build
-./configure
-CFLAGS="%{rpmcflags} -I/usr/include/ncursesw" %{__make} \
-       CC="%{__cc}" \
-       PREFIX=%{_prefix}
+%{__aclocal}
+%{__autoconf}
+%configure \
+       CPPFLAGS="-I/usr/include/ncursesw"
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -60,17 +83,26 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{ftdetect,syntax}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/ftdetect/tmux.vim
 install examples/tmux.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
+install -d $RPM_BUILD_ROOT%{_datadir}/bash-completion
+install examples/bash_completion_tmux.sh $RPM_BUILD_ROOT%{_datadir}/bash-completion/%{name}
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
+ln -s ../../%{_datadir}/bash-completion/%{name} $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES FAQ NOTES TODO examples/*.conf
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/tmux*
+%doc CHANGES FAQ README TODO examples/*.conf
+%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)
+%{_sysconfdir}/bash_completion.d/%{name}
+%{_datadir}/bash-completion/%{name}
This page took 0.073455 seconds and 4 git commands to generate.