autossh-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. Summary: Utility to autorestart SSH tunnels
  2. Summary(ja): SSHトンネルを自動再起動するためのユーティリティ
  3. Name: autossh
  4. Version: 1.4c
  5. Release: 1%{?_dist_release}
  6. License: BSD
  7. Group: Applications/Internet
  8. URL: http://www.harding.motd.ca/autossh/index.html
  9. Source0: http://www.harding.motd.ca/autossh/autossh-1.4c.tgz
  10. # Sent upstream 2011-10-30
  11. Patch0: autossh-1.4c-ldflags.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. BuildRequires: openssh-clients
  14. Requires: openssh-clients
  15. Distribution: Vine Linux
  16. Vendor: Project Vine
  17. Packager: daisuke
  18. %description
  19. autossh is a utility to start and monitor an ssh tunnel. If the tunnel
  20. dies or stops passing traffic, autossh will automatically restart it.
  21. %prep
  22. %setup -q
  23. %patch0 -p1
  24. %build
  25. %configure
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. mkdir -p $RPM_BUILD_ROOT%{_bindir}
  30. mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
  31. mkdir -p examples
  32. cp -p autossh.host rscreen examples
  33. chmod 0644 examples/*
  34. install -m 0755 -p autossh $RPM_BUILD_ROOT%{_bindir}
  35. cp -p autossh.1 $RPM_BUILD_ROOT%{_mandir}/man1
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-, root, root)
  40. %doc CHANGES README
  41. %doc examples
  42. %{_bindir}/*
  43. %{_mandir}/man1/*
  44. %changelog
  45. * Wed Mar 13 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4c-1
  46. - initial build for Vine Linux
  47. * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4c-5
  48. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  49. * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4c-4
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  51. * Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4c-3
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  53. * Mon Nov 14 2011 Ville Skyttä <ville.skytta@iki.fi> - 1.4c-2
  54. - Patch build to honor $LDFLAGS.
  55. * Sun Oct 30 2011 Alexander Boström <abo@root.snowtree.se> - 1.4c-1
  56. - Upgrade to 1.4c
  57. * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4a-4
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  59. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4a-3
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  61. * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4a-2
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  63. * Fri Feb 15 2008 Chris Ricker <kaboom@oobleck.net> 1.4a-1
  64. - new version
  65. * Mon Sep 11 2006 Chris Ricker <kaboom@oobleck.net> 1.3-4
  66. - Bump and rebuild
  67. * Tue Feb 14 2006 Chris Ricker <kaboom@oobleck.net> 1.3-3
  68. - Bump and rebuild
  69. * Fri Jun 03 2005 Chris Ricker <kaboom@oobleck.net> 1.3-2%{?dist}
  70. - Add dist tag
  71. * Fri Jun 03 2005 Chris Ricker <kaboom@oobleck.net> 1.3-2
  72. - Changes from Ville Skyttä (use mkdir -p, remove extraneous attr)
  73. * Tue Apr 26 2005 Chris Ricker <kaboom@oobleck.net> 1.3-1
  74. - Initial package