tmux.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. Name: tmux
  2. Version: 1.7
  3. Release: 1%{?dist}
  4. Summary: A terminal multiplexer
  5. Group: Applications/System
  6. # Most of the source is ISC licensed; some of the files in compat/ are 2 and
  7. # 3 clause BSD licensed.
  8. License: ISC and BSD
  9. URL: http://sourceforge.net/projects/tmux
  10. Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
  11. BuildRequires: ncurses-devel
  12. BuildRequires: libevent-devel
  13. %description
  14. tmux is a "terminal multiplexer." It enables a number of terminals (or
  15. windows) to be accessed and controlled from a single terminal. tmux is
  16. intended to be a simple, modern, BSD-licensed alternative to programs such
  17. as GNU Screen.
  18. %prep
  19. %setup -q
  20. %build
  21. %configure
  22. make %{?_smp_mflags} LDFLAGS="%{optflags}"
  23. %install
  24. rm -rf %{buildroot}
  25. make install DESTDIR=%{buildroot} INSTALLBIN="install -p -m 755" INSTALLMAN="install -p -m 644"
  26. %post
  27. if [ ! -f %{_sysconfdir}/shells ] ; then
  28. echo "%{_bindir}/tmux" > %{_sysconfdir}/shells
  29. else
  30. grep -q "^%{_bindir}/tmux$" %{_sysconfdir}/shells || echo "%{_bindir}/tmux" >> %{_sysconfdir}/shells
  31. fi
  32. %files
  33. %defattr(-,root,root,-)
  34. %doc CHANGES FAQ NOTES TODO examples/
  35. %{_bindir}/tmux
  36. %{_mandir}/man1/tmux.1.*
  37. %changelog
  38. * Sat Oct 13 2012 Sven Lankes <sven@lank.es> 1.7-1
  39. - New upstream release
  40. * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
  41. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  42. * Tue Jan 31 2012 Sven Lankes <sven@lank.es> 1.6-1
  43. - New upstream release
  44. * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
  45. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  46. * Tue Nov 01 2011 Sven Lankes <sven@lank.es> 1.5-1
  47. - New upstream release
  48. - Do the right thing (tm) and revert to $upstream-behaviour:
  49. No longer install tmux setgid and no longer use /var/run/tmux
  50. for sockets. Use "tmux -S /var/run/tmux/tmux-`id -u`/default attach"
  51. if you need to access an "old" tmux session
  52. - tmux can be used as a login shell so add it to /etc/shells
  53. * Sat Apr 16 2011 Sven Lankes <sven@lank.es> 1.4-4
  54. - Add /var/run/tmp to tmpdir.d - fixes rhbz 656704 and 697134
  55. * Sun Apr 10 2011 Sven Lankes <sven@lank.es> 1.4-3
  56. - Fix CVE-2011-1496
  57. - Fixes rhbz #693824
  58. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  60. * Tue Dec 28 2010 Filipe Rosset <rosset.filipe@gmail.com> 1.4-1
  61. - New upstream release
  62. * Fri Aug 06 2010 Filipe Rosset <filiperosset@fedoraproject.org> 1.3-2
  63. - Rebuild for F-13
  64. * Mon Jul 19 2010 Sven Lankes <sven@lank.es> 1.3-1
  65. - New upstream release
  66. * Sun Mar 28 2010 Sven Lankes <sven@lank.es> 1.2-1
  67. - New upstream release
  68. - rediff writehard patch
  69. * Mon Nov 09 2009 Sven Lankes <sven@lank.es> 1.1-1
  70. - New upstream release
  71. * Sun Nov 01 2009 Sven Lankes <sven@lank.es> 1.0-2
  72. - Add debian patches
  73. - Add tmux group for improved socket handling
  74. * Sat Oct 24 2009 Sven Lankes <sven@lank.es> 1.0-1
  75. - New upstream release
  76. * Mon Jul 13 2009 Chess Griffin <chess@chessgriffin.com> 0.9-1
  77. - Update to version 0.9.
  78. - Remove sed invocation as this was adopted upstream.
  79. - Remove optflags patch since upstream source now uses ./configure and
  80. detects the flags when passed to make.
  81. * Tue Jun 23 2009 Chess Griffin <chess@chessgriffin.com> 0.8-5
  82. - Note that souce is mostly ISC licensed with some 2 and 3 clause BSD in
  83. compat/.
  84. - Remove fixiquote.patch and instead use a sed invocation in setup.
  85. * Mon Jun 22 2009 Chess Griffin <chess@chessgriffin.com> 0.8-4
  86. - Add optimization flags by patching GNUmakefile and passing LDFLAGS
  87. to make command.
  88. - Use consistent macro format.
  89. - Change examples/* to examples/ and add TODO to docs.
  90. * Sun Jun 21 2009 Chess Griffin <chess@chessgriffin.com> 0.8-3
  91. - Remove fixperms.patch and instead pass them at make install stage.
  92. * Sat Jun 20 2009 Chess Griffin <chess@chessgriffin.com> 0.8-2
  93. - Fix Source0 URL to point to correct upstream source.
  94. - Modify fixperms.patch to set 644 permissions on the tmux.1.gz man page.
  95. - Remove wildcards from 'files' section and replace with specific paths and
  96. filenames.
  97. * Mon Jun 15 2009 Chess Griffin <chess@chessgriffin.com> 0.8-1
  98. - Initial RPM release.