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