479536
Name:           tmux
479536
Version:        1.8
479536
Release:        2%{?dist}
479536
Summary:        A terminal multiplexer
479536
479536
Group:          Applications/System
479536
# Most of the source is ISC licensed; some of the files in compat/ are 2 and
479536
# 3 clause BSD licensed.
479536
License:        ISC and BSD
479536
URL:            http://sourceforge.net/projects/tmux
479536
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
479536
479536
BuildRequires:  ncurses-devel
479536
BuildRequires:  libevent-devel
479536
479536
%description
479536
tmux is a "terminal multiplexer."  It enables a number of terminals (or
479536
windows) to be accessed and controlled from a single terminal.  tmux is
479536
intended to be a simple, modern, BSD-licensed alternative to programs such
479536
as GNU Screen.
479536
479536
%prep
479536
%setup -q
479536
479536
%build
479536
%configure
479536
make %{?_smp_mflags} LDFLAGS="%{optflags}"
479536
479536
%install
479536
rm -rf %{buildroot}
479536
make install DESTDIR=%{buildroot} INSTALLBIN="install -p -m 755" INSTALLMAN="install -p -m 644"
479536
479536
%post
479536
if [ ! -f %{_sysconfdir}/shells ] ; then
479536
    echo "%{_bindir}/tmux" > %{_sysconfdir}/shells
479536
else
479536
    grep -q "^%{_bindir}/tmux$" %{_sysconfdir}/shells || echo "%{_bindir}/tmux" >> %{_sysconfdir}/shells
479536
fi
479536
479536
%postun
479536
if [ $1 -eq 0 ] && [ -f %{_sysconfdir}/shells ]; then
479536
    sed -i '\!^%{_bindir}/tmux$!d' %{_sysconfdir}/shells
479536
fi
479536
479536
%files
479536
%defattr(-,root,root,-)
479536
%doc CHANGES FAQ TODO examples/
479536
%{_bindir}/tmux
479536
%{_mandir}/man1/tmux.1.*
479536
479536
%changelog
479536
* Mon Jun 10 2013 Petr Ĺ abata <contyk@redhat.com> - 1.8-2
479536
- Remove tmux from the shells file upon package removal (#972633)
479536
479536
* Sat Apr 13 2013 Sven Lankes <sven@lank.es> 1.8-1
479536
- New upstream release
479536
479536
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-2
479536
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
479536
479536
* Sat Oct 13 2012 Sven Lankes <sven@lank.es> 1.7-1
479536
- New upstream release
479536
479536
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
479536
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
479536
479536
* Tue Jan 31 2012 Sven Lankes <sven@lank.es> 1.6-1
479536
- New upstream release
479536
479536
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
479536
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
479536
479536
* Tue Nov 01 2011 Sven Lankes <sven@lank.es> 1.5-1
479536
- New upstream release
479536
- Do the right thing (tm) and revert to $upstream-behaviour: 
479536
   No longer install tmux setgid and no longer use /var/run/tmux 
479536
   for sockets. Use "tmux -S /var/run/tmux/tmux-`id -u`/default attach"
479536
   if you need to access an "old" tmux session
479536
- tmux can be used as a login shell so add it to /etc/shells
479536
479536
* Sat Apr 16 2011 Sven Lankes <sven@lank.es> 1.4-4
479536
- Add /var/run/tmp to tmpdir.d - fixes rhbz 656704 and 697134
479536
479536
* Sun Apr 10 2011 Sven Lankes <sven@lank.es> 1.4-3
479536
- Fix CVE-2011-1496
479536
- Fixes rhbz #693824
479536
479536
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
479536
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
479536
479536
* Tue Dec 28 2010 Filipe Rosset <rosset.filipe@gmail.com> 1.4-1
479536
- New upstream release
479536
479536
* Fri Aug 06 2010 Filipe Rosset <filiperosset@fedoraproject.org> 1.3-2
479536
- Rebuild for F-13
479536
479536
* Mon Jul 19 2010 Sven Lankes <sven@lank.es> 1.3-1
479536
- New upstream release
479536
479536
* Sun Mar 28 2010 Sven Lankes <sven@lank.es> 1.2-1
479536
- New upstream release
479536
- rediff writehard patch
479536
479536
* Mon Nov 09 2009 Sven Lankes <sven@lank.es> 1.1-1
479536
- New upstream release
479536
479536
* Sun Nov 01 2009 Sven Lankes <sven@lank.es> 1.0-2
479536
- Add debian patches
479536
- Add tmux group for improved socket handling
479536
479536
* Sat Oct 24 2009 Sven Lankes <sven@lank.es> 1.0-1
479536
- New upstream release
479536
479536
* Mon Jul 13 2009 Chess Griffin <chess@chessgriffin.com> 0.9-1
479536
- Update to version 0.9.
479536
- Remove sed invocation as this was adopted upstream.
479536
- Remove optflags patch since upstream source now uses ./configure and
479536
  detects the flags when passed to make.
479536
479536
* Tue Jun 23 2009 Chess Griffin <chess@chessgriffin.com> 0.8-5
479536
- Note that souce is mostly ISC licensed with some 2 and 3 clause BSD in
479536
  compat/.
479536
- Remove fixiquote.patch and instead use a sed invocation in setup.
479536
479536
* Mon Jun 22 2009 Chess Griffin <chess@chessgriffin.com> 0.8-4
479536
- Add optimization flags by patching GNUmakefile and passing LDFLAGS
479536
  to make command.
479536
- Use consistent macro format.
479536
- Change examples/* to examples/ and add TODO to docs.
479536
479536
* Sun Jun 21 2009 Chess Griffin <chess@chessgriffin.com> 0.8-3
479536
- Remove fixperms.patch and instead pass them at make install stage.
479536
479536
* Sat Jun 20 2009 Chess Griffin <chess@chessgriffin.com> 0.8-2
479536
- Fix Source0 URL to point to correct upstream source.
479536
- Modify fixperms.patch to set 644 permissions on the tmux.1.gz man page.
479536
- Remove wildcards from 'files' section and replace with specific paths and
479536
  filenames.
479536
479536
* Mon Jun 15 2009 Chess Griffin <chess@chessgriffin.com> 0.8-1
479536
- Initial RPM release.