tmux-vl.spec 4.9 KB

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