|
Sven Lankes |
90415d |
Name: tmux
|
|
Filipe Rosset |
2cb6cc |
Version: 2.5
|
|
Filipe Rosset |
8357d2 |
Release: 4%{?dist}
|
|
Sven Lankes |
90415d |
Summary: A terminal multiplexer
|
|
Sven Lankes |
90415d |
|
|
Sven Lankes |
90415d |
Group: Applications/System
|
|
Sven Lankes |
90415d |
# Most of the source is ISC licensed; some of the files in compat/ are 2 and
|
|
Sven Lankes |
90415d |
# 3 clause BSD licensed.
|
|
Sven Lankes |
90415d |
License: ISC and BSD
|
|
Sven Lankes |
98b253 |
URL: https://tmux.github.io/
|
|
Sven Lankes |
98b253 |
Source0: https://github.com/tmux/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
|
|
Sven Lankes |
a35005 |
# Examples has been removed - so include the bash_completion here
|
|
Sven Lankes |
a35005 |
Source1: bash_completion_tmux.sh
|
|
Filipe Rosset |
8357d2 |
# tmuxinator wouldn't start with tmux 2.5
|
|
Filipe Rosset |
8357d2 |
# tmuxinator discussion: https://github.com/tmuxinator/tmuxinator/issues/536
|
|
Filipe Rosset |
8357d2 |
# tmux discussion (states that the patch won't be backported to 2.5):
|
|
Filipe Rosset |
8357d2 |
# https://github.com/tmux/tmux/issues/971
|
|
Filipe Rosset |
8357d2 |
Patch0: tmux-2.5-fail-on-no-target.diff
|
|
Filipe Rosset |
8357d2 |
#https://bugzilla.redhat.com/show_bug.cgi?id=1476851
|
|
Filipe Rosset |
8357d2 |
#https://github.com/tmux/tmux/issues/1027#issuecomment-319088791
|
|
Filipe Rosset |
8357d2 |
Patch1: tmux-2.5-bell-action-other-ignored.diff
|
|
Sven Lankes |
90415d |
|
|
Sven Lankes |
90415d |
BuildRequires: ncurses-devel
|
|
Sven Lankes |
d3d392 |
BuildRequires: libevent-devel
|
|
Sven Lankes |
8c922a |
BuildRequires: libutempter-devel
|
|
Sven Lankes |
90415d |
|
|
Sven Lankes |
90415d |
%description
|
|
Sven Lankes |
90415d |
tmux is a "terminal multiplexer." It enables a number of terminals (or
|
|
Sven Lankes |
90415d |
windows) to be accessed and controlled from a single terminal. tmux is
|
|
Sven Lankes |
90415d |
intended to be a simple, modern, BSD-licensed alternative to programs such
|
|
Sven Lankes |
90415d |
as GNU Screen.
|
|
Sven Lankes |
90415d |
|
|
Sven Lankes |
90415d |
%prep
|
|
Filipe Rosset |
8357d2 |
#%setup -q
|
|
Filipe Rosset |
8357d2 |
%autosetup
|
|
Sven Lankes |
90415d |
|
|
Sven Lankes |
90415d |
%build
|
|
Filipe Rosset |
c946af |
CFLAGS="$RPM_OPT_FLAGS -fPIC -pie -Wl,-z,relro -Wl,-z,now"
|
|
Filipe Rosset |
c946af |
CXXFLAGS="$RPM_OPT_FLAGS -fPIC -pie -Wl,-z,relro -Wl,-z,now"
|
|
Filipe Rosset |
c946af |
export CFLAGS
|
|
Filipe Rosset |
c946af |
export CXXFLAGS
|
|
Sven Lankes |
90415d |
%configure
|
|
Sven Lankes |
90415d |
make %{?_smp_mflags} LDFLAGS="%{optflags}"
|
|
Sven Lankes |
90415d |
|
|
Filipe Rosset |
c946af |
|
|
Sven Lankes |
90415d |
%install
|
|
Sven Lankes |
580ca5 |
make install DESTDIR=%{buildroot} INSTALLBIN="install -p -m 755" INSTALLMAN="install -p -m 644"
|
|
Sven Lankes |
f1e628 |
# bash completion
|
|
Sven Lankes |
a35005 |
install -Dpm 644 %{SOURCE1} %{buildroot}%{_datadir}/bash-completion/completions/tmux
|
|
Sven Lankes |
580ca5 |
|
|
Sven Lankes |
db525d |
%post
|
|
Filipe Rosset |
6e25a4 |
if [ "$1" = 1 ]; then
|
|
Filipe Rosset |
6e25a4 |
if [ ! -f %{_sysconfdir}/shells ] ; then
|
|
Sven Lankes |
6e5c29 |
touch %{_sysconfdir}/shells
|
|
Filipe Rosset |
6e25a4 |
fi
|
|
Sven Lankes |
6e5c29 |
for binpath in %{_bindir} /bin; do
|
|
Sven Lankes |
6e5c29 |
if ! grep -q "^${binpath}/tmux$" %{_sysconfdir}/shells; then
|
|
Sven Lankes |
6e5c29 |
(cat %{_sysconfdir}/shells; echo "$binpath/tmux") > %{_sysconfdir}/shells.new
|
|
Sven Lankes |
6e5c29 |
mv %{_sysconfdir}/shells{.new,}
|
|
Sven Lankes |
6e5c29 |
fi
|
|
Sven Lankes |
6e5c29 |
done
|
|
Sven Lankes |
d659da |
fi
|
|
Sven Lankes |
db525d |
|
|
Petr Šabata |
a54780 |
%postun
|
|
Filipe Rosset |
6e25a4 |
if [ "$1" = 0 ] && [ -f %{_sysconfdir}/shells ] ; then
|
|
Sven Lankes |
6e5c29 |
sed -e '\!^%{_bindir}/tmux$!d' -e '\!^/bin/tmux$!d' < %{_sysconfdir}/shells > %{_sysconfdir}/shells.new
|
|
Sven Lankes |
6e5c29 |
mv %{_sysconfdir}/shells{.new,}
|
|
Petr Šabata |
a54780 |
fi
|
|
Petr Šabata |
a54780 |
|
|
Sven Lankes |
90415d |
%files
|
|
Sven Lankes |
a35005 |
%doc CHANGES FAQ TODO
|
|
Sven Lankes |
d659da |
%{_bindir}/tmux
|
|
Sven Lankes |
580ca5 |
%{_mandir}/man1/tmux.1.*
|
|
Sven Lankes |
bd67c4 |
%{_datadir}/bash-completion/completions/tmux
|
|
Sven Lankes |
90415d |
|
|
Sven Lankes |
90415d |
%changelog
|
|
Filipe Rosset |
8357d2 |
* Sat Aug 05 2017 Filipe Rosset <rosset.filipe@gmail.com> - 2.5-4
|
|
Filipe Rosset |
8357d2 |
- Fixes rhbz #1476851 tmux bell-action other not working
|
|
Filipe Rosset |
8357d2 |
- Fixes rhbz #1476892 tmux update in F26 broke tmuxinator
|
|
Filipe Rosset |
8357d2 |
|
|
Fedora Release Engineering |
012ad3 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-3
|
|
Fedora Release Engineering |
012ad3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
Fedora Release Engineering |
012ad3 |
|
|
Fedora Release Engineering |
4a8cba |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-2
|
|
Fedora Release Engineering |
4a8cba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
Fedora Release Engineering |
4a8cba |
|
|
Filipe Rosset |
2cb6cc |
* Sat Jun 10 2017 Filipe Rosset <rosset.filipe@gmail.com> - 2.5-1
|
|
Filipe Rosset |
2cb6cc |
- New upstream release 2.5 - fixes rhbz #1449666
|
|
Filipe Rosset |
2cb6cc |
- https://raw.githubusercontent.com/tmux/tmux/2.5/CHANGES
|
|
Filipe Rosset |
2cb6cc |
|
|
Filipe Rosset |
c946af |
* Fri Apr 21 2017 Filipe Rosset <rosset.filipe@gmail.com> - 2.4-2
|
|
Filipe Rosset |
c946af |
- rebuild tmux as PIE - fixes rhbz #1324104
|
|
Filipe Rosset |
c946af |
|
|
Filipe Rosset |
70ad07 |
* Fri Apr 21 2017 Filipe Rosset <rosset.filipe@gmail.com> - 2.4-1
|
|
Filipe Rosset |
70ad07 |
- New upstream release - fixes rhbz #1444011
|
|
Filipe Rosset |
70ad07 |
|
|
Fedora Release Engineering |
d51025 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-2
|
|
Fedora Release Engineering |
d51025 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
Fedora Release Engineering |
d51025 |
|
|
Sven Lankes |
6e5c29 |
* Fri Oct 28 2016 Sven Lankes <sven@lank.es> - 2.3-1
|
|
Sven Lankes |
6e5c29 |
- New upstream release - fixes rhbz #1380562
|
|
Sven Lankes |
6e5c29 |
- Adapt shells handling to be atomic and support rpm-ostree - fixes rhbz #1367587
|
|
Sven Lankes |
6e5c29 |
|
|
Sven Lankes |
8c922a |
* Tue May 24 2016 Sven Lankes <sven@lank.es> - 2.2-3
|
|
Sven Lankes |
8c922a |
- add libutempter-devel as buildrequires to allow writing to utmp
|
|
Sven Lankes |
8c922a |
- fixes rhbz #1338936
|
|
Sven Lankes |
8c922a |
|
|
Sven Lankes |
98b253 |
* Mon May 09 2016 Sven Lankes <sven@lank.es> - 2.2-2
|
|
Sven Lankes |
98b253 |
- Adapt source0 and url for new website (fixes rhbz #1334255)
|
|
Sven Lankes |
98b253 |
|
|
Sven Lankes |
a35005 |
* Wed Apr 20 2016 Sven Lankes <sven@lank.es> - 2.2-1
|
|
Sven Lankes |
a35005 |
- New upstream release
|
|
Sven Lankes |
a35005 |
|
|
Sven Lankes |
bd67c4 |
* Tue Feb 23 2016 Sven Lankes <sven@lank.es> - 2.1-3
|
|
Sven Lankes |
bd67c4 |
- use more correct bash completion path (thanks to Carl George)
|
|
Sven Lankes |
bd67c4 |
|
|
Sven Lankes |
f1e628 |
* Mon Feb 22 2016 Sven Lankes <sven@lank.es> - 2.1-2
|
|
Sven Lankes |
f1e628 |
- add upstream bash-completion (thanks to Scott Tsai - closes rhbz #1148183)
|
|
Sven Lankes |
f1e628 |
|
|
Sven Lankes |
5da497 |
* Mon Feb 22 2016 Sven Lankes <sven@lank.es> - 2.1-1
|
|
Sven Lankes |
5da497 |
- New upstream release
|
|
Sven Lankes |
5da497 |
|
|
Fedora Release Engineering |
6a0a55 |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-3
|
|
Fedora Release Engineering |
6a0a55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
Fedora Release Engineering |
6a0a55 |
|
|
Dennis Gilmore |
4cc613 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-2
|
|
Dennis Gilmore |
4cc613 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
Dennis Gilmore |
4cc613 |
|
|
Filipe Rosset |
be6fea |
* Thu May 07 2015 Filipe Rosset <rosset.filipe@gmail.com> - 2.0-1
|
|
Filipe Rosset |
be6fea |
- Rebuilt for new upstream version 2.0, fixes rhbz #1219300
|
|
Filipe Rosset |
be6fea |
|
|
Sven Lankes |
345fdf |
* Fri Jan 02 2015 Sven Lankes <sven@lank.es> - 1.9a-5
|
|
Sven Lankes |
345fdf |
- Pull in upstream commit to fix Fx-Key issues. rhbz #1177652
|
|
Sven Lankes |
345fdf |
|
|
Peter Robinson |
ff9166 |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9a-4
|
|
Peter Robinson |
ff9166 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
Peter Robinson |
ff9166 |
|
|
Dennis Gilmore |
ae9a48 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9a-3
|
|
Dennis Gilmore |
ae9a48 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
Dennis Gilmore |
ae9a48 |
|
|
Filipe Rosset |
9722a8 |
* Wed Feb 26 2014 Filipe Rosset <rosset.filipe@gmail.com> 1.9a-2
|
|
Filipe Rosset |
9722a8 |
- Fix rhbz #1069950, upstream [tmux:tickets] #105
|
|
Filipe Rosset |
9722a8 |
|
|
Filipe Rosset |
88f149 |
* Sun Feb 23 2014 Filipe Rosset <rosset.filipe@gmail.com> 1.9a-1
|
|
Filipe Rosset |
88f149 |
- New upstream release 1.9a
|
|
Filipe Rosset |
88f149 |
|
|
Filipe Rosset |
6e25a4 |
* Sat Feb 22 2014 Filipe Rosset <rosset.filipe@gmail.com> 1.9-1
|
|
Filipe Rosset |
6e25a4 |
- New upstream release 1.9
|
|
Filipe Rosset |
6e25a4 |
- Fix rhbz #1067860
|
|
Filipe Rosset |
6e25a4 |
|
|
Dennis Gilmore |
f6e54d |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-3
|
|
Dennis Gilmore |
f6e54d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
Dennis Gilmore |
f6e54d |
|
|
Petr Šabata |
a54780 |
* Mon Jun 10 2013 Petr Šabata <contyk@redhat.com> - 1.8-2
|
|
Petr Šabata |
a54780 |
- Remove tmux from the shells file upon package removal (#972633)
|
|
Petr Šabata |
a54780 |
|
|
Sven Lankes |
fd62a1 |
* Sat Apr 13 2013 Sven Lankes <sven@lank.es> 1.8-1
|
|
Sven Lankes |
fd62a1 |
- New upstream release
|
|
Sven Lankes |
fd62a1 |
|
|
Dennis Gilmore |
86957a |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-2
|
|
Dennis Gilmore |
86957a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
Dennis Gilmore |
86957a |
|
|
Sven Lankes |
9c833f |
* Sat Oct 13 2012 Sven Lankes <sven@lank.es> 1.7-1
|
|
Sven Lankes |
9c833f |
- New upstream release
|
|
Sven Lankes |
9c833f |
|
|
Dennis Gilmore |
56af6f |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
|
|
Dennis Gilmore |
56af6f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
Dennis Gilmore |
56af6f |
|
|
Sven Lankes |
ee8313 |
* Tue Jan 31 2012 Sven Lankes <sven@lank.es> 1.6-1
|
|
Sven Lankes |
ee8313 |
- New upstream release
|
|
Sven Lankes |
ee8313 |
|
|
Dennis Gilmore |
66a035 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
|
|
Dennis Gilmore |
66a035 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
Dennis Gilmore |
66a035 |
|
|
Sven Lankes |
d659da |
* Tue Nov 01 2011 Sven Lankes <sven@lank.es> 1.5-1
|
|
Sven Lankes |
d659da |
- New upstream release
|
|
Sven Lankes |
d659da |
- Do the right thing (tm) and revert to $upstream-behaviour:
|
|
Sven Lankes |
d659da |
No longer install tmux setgid and no longer use /var/run/tmux
|
|
Sven Lankes |
d659da |
for sockets. Use "tmux -S /var/run/tmux/tmux-`id -u`/default attach"
|
|
Sven Lankes |
d659da |
if you need to access an "old" tmux session
|
|
Sven Lankes |
d659da |
- tmux can be used as a login shell so add it to /etc/shells
|
|
Sven Lankes |
d659da |
|
|
Sven Lankes |
db525d |
* Sat Apr 16 2011 Sven Lankes <sven@lank.es> 1.4-4
|
|
Sven Lankes |
d659da |
- Add /var/run/tmp to tmpdir.d - fixes rhbz 656704 and 697134
|
|
Sven Lankes |
db525d |
|
|
Sven Lankes |
735731 |
* Sun Apr 10 2011 Sven Lankes <sven@lank.es> 1.4-3
|
|
Sven Lankes |
735731 |
- Fix CVE-2011-1496
|
|
Sven Lankes |
735731 |
- Fixes rhbz #693824
|
|
Sven Lankes |
735731 |
|
|
Dennis Gilmore |
014036 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
|
|
Dennis Gilmore |
014036 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
Dennis Gilmore |
014036 |
|
|
Filipe Rosset |
74db83 |
* Tue Dec 28 2010 Filipe Rosset <rosset.filipe@gmail.com> 1.4-1
|
|
Filipe Rosset |
74db83 |
- New upstream release
|
|
Filipe Rosset |
74db83 |
|
|
Filipe Rosset |
2b871a |
* Fri Aug 06 2010 Filipe Rosset <filiperosset@fedoraproject.org> 1.3-2
|
|
Filipe Rosset |
2b871a |
- Rebuild for F-13
|
|
Filipe Rosset |
2b871a |
|
|
Sven Lankes |
1c52c0 |
* Mon Jul 19 2010 Sven Lankes <sven@lank.es> 1.3-1
|
|
Sven Lankes |
1c52c0 |
- New upstream release
|
|
Sven Lankes |
1c52c0 |
|
|
Sven Lankes |
d3d392 |
* Sun Mar 28 2010 Sven Lankes <sven@lank.es> 1.2-1
|
|
Sven Lankes |
d3d392 |
- New upstream release
|
|
Till Maas |
b2fed5 |
- rediff writehard patch
|
|
Sven Lankes |
d3d392 |
|
|
Sven Lankes |
73482c |
* Mon Nov 09 2009 Sven Lankes <sven@lank.es> 1.1-1
|
|
Sven Lankes |
73482c |
- New upstream release
|
|
Sven Lankes |
73482c |
|
|
Sven Lankes |
580ca5 |
* Sun Nov 01 2009 Sven Lankes <sven@lank.es> 1.0-2
|
|
Sven Lankes |
580ca5 |
- Add debian patches
|
|
Sven Lankes |
580ca5 |
- Add tmux group for improved socket handling
|
|
Sven Lankes |
580ca5 |
|
|
Sven Lankes |
90415d |
* Sat Oct 24 2009 Sven Lankes <sven@lank.es> 1.0-1
|
|
Sven Lankes |
90415d |
- New upstream release
|
|
Sven Lankes |
90415d |
|
|
Sven Lankes |
90415d |
* Mon Jul 13 2009 Chess Griffin <chess@chessgriffin.com> 0.9-1
|
|
Sven Lankes |
90415d |
- Update to version 0.9.
|
|
Sven Lankes |
90415d |
- Remove sed invocation as this was adopted upstream.
|
|
Sven Lankes |
90415d |
- Remove optflags patch since upstream source now uses ./configure and
|
|
Sven Lankes |
90415d |
detects the flags when passed to make.
|
|
Sven Lankes |
90415d |
|
|
Sven Lankes |
90415d |
* Tue Jun 23 2009 Chess Griffin <chess@chessgriffin.com> 0.8-5
|
|
Sven Lankes |
90415d |
- Note that souce is mostly ISC licensed with some 2 and 3 clause BSD in
|
|
Sven Lankes |
90415d |
compat/.
|
|
Sven Lankes |
90415d |
- Remove fixiquote.patch and instead use a sed invocation in setup.
|
|
Sven Lankes |
90415d |
|
|
Sven Lankes |
90415d |
* Mon Jun 22 2009 Chess Griffin <chess@chessgriffin.com> 0.8-4
|
|
Sven Lankes |
90415d |
- Add optimization flags by patching GNUmakefile and passing LDFLAGS
|
|
Sven Lankes |
90415d |
to make command.
|
|
Sven Lankes |
90415d |
- Use consistent macro format.
|
|
Sven Lankes |
90415d |
- Change examples/* to examples/ and add TODO to docs.
|
|
Sven Lankes |
90415d |
|
|
Sven Lankes |
90415d |
* Sun Jun 21 2009 Chess Griffin <chess@chessgriffin.com> 0.8-3
|
|
Sven Lankes |
90415d |
- Remove fixperms.patch and instead pass them at make install stage.
|
|
Sven Lankes |
90415d |
|
|
Sven Lankes |
90415d |
* Sat Jun 20 2009 Chess Griffin <chess@chessgriffin.com> 0.8-2
|
|
Sven Lankes |
90415d |
- Fix Source0 URL to point to correct upstream source.
|
|
Sven Lankes |
90415d |
- Modify fixperms.patch to set 644 permissions on the tmux.1.gz man page.
|
|
Sven Lankes |
90415d |
- Remove wildcards from 'files' section and replace with specific paths and
|
|
Sven Lankes |
90415d |
filenames.
|
|
Sven Lankes |
90415d |
|
|
Sven Lankes |
90415d |
* Mon Jun 15 2009 Chess Griffin <chess@chessgriffin.com> 0.8-1
|
|
Sven Lankes |
90415d |
- Initial RPM release.
|