python-paramiko-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. %define srcname paramiko
  3. Name: python-paramiko
  4. Version: 1.7.6
  5. Release: 3%{?_dist_release}
  6. Summary: A SSH2 protocol library for python
  7. Summary(ja): python 用 SSH2 プロトコルライブラリ
  8. Group: Development/Libraries
  9. # No version specified.
  10. License: LGPLv2+
  11. URL: http://www.lag.net/paramiko/
  12. Source0: http://www.lag.net/paramiko/download/%{srcname}-%{version}.tar.gz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildArch: noarch
  15. BuildRequires: python-setuptools
  16. BuildRequires: python-devel
  17. Requires: python-crypto >= 1.9
  18. %description
  19. Paramiko (a combination of the esperanto words for "paranoid" and "friend") is
  20. a module for python 2.3 or greater that implements the SSH2 protocol for secure
  21. (encrypted and authenticated) connections to remote machines. Unlike SSL (aka
  22. TLS), the SSH2 protocol does not require heirarchical certificates signed by a
  23. powerful central authority. You may know SSH2 as the protocol that replaced
  24. telnet and rsh for secure access to remote shells, but the protocol also
  25. includes the ability to open arbitrary channels to remote services across an
  26. encrypted tunnel. (This is how sftp works, for example.)
  27. %prep
  28. %setup -q -n %{srcname}-%{version}
  29. %{__chmod} a-x demos/*
  30. %{__sed} -i -e '/^#!/,1d' demos/* paramiko/rng*
  31. %build
  32. CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' build
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. %{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc LICENSE PKG-INFO README docs/ demos/
  41. %{python_sitelib}/*
  42. %changelog
  43. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.7.6-3
  44. - rebuild with python-2.6
  45. * Thu Nov 5 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.7.6-2
  46. - added BuildRequires: python-devel
  47. * Tue Nov 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.7.6-1
  48. - new upstream release
  49. * Wed Jul 29 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.7.5-1
  50. - initial build for VineSeed
  51. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.4-5
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  53. * Mon Feb 16 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.4-4
  54. - Add demos as documentation. BZ#485742
  55. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.7.4-3
  56. - Rebuild for Python 2.6
  57. * Wed Sep 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7.4-2
  58. - fix license tag
  59. * Sun Jul 6 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.4-1
  60. - Update to 1.7.4
  61. * Mon Mar 24 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.3-1
  62. - Update to 1.7.3.
  63. * Tue Jan 22 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.2-1
  64. - Update to 1.7.2.
  65. - Remove upstreamed patch.
  66. * Mon Jan 14 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.1-3
  67. - Update to latest Python packaging guidelines.
  68. - Apply patch that fixes insecure use of RandomPool.
  69. * Thu Jul 19 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.1-2
  70. - Bump rev
  71. * Thu Jul 19 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.1-1
  72. - Update to 1.7.1
  73. * Sat Dec 09 2006 Toshio Kuratomi <toshio@tiki-lounge.com> - 1.6.4-1
  74. - Update to 1.6.4
  75. - Upstream is now shipping tarballs
  76. - Bump for python 2.5 in devel
  77. * Mon Oct 9 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6.2-1
  78. - Update to 1.6.2
  79. * Sat Sep 16 2006 Shahms E. King <shahms@shahms.com> 1.6.1-3
  80. - Rebuild for FC6
  81. * Fri Aug 11 2006 Shahms E. King <shahms@shahms.com> 1.6.1-2
  82. - Include, don't ghost .pyo files per new guidelines
  83. * Tue Aug 08 2006 Shahms E. King <shahms@shahms.com> 1.6.1-1
  84. - Update to new upstream version
  85. * Fri Jun 02 2006 Shahms E. King <shahms@shahms.com> 1.6-1
  86. - Update to new upstream version
  87. - ghost the .pyo files
  88. * Fri May 05 2006 Shahms E. King <shahms@shahms.com> 1.5.4-2
  89. - Fix source line and rebuild
  90. * Fri May 05 2006 Shahms E. King <shahms@shahms.com> 1.5.4-1
  91. - Update to new upstream version
  92. * Wed Apr 12 2006 Shahms E. King <shahms@shahms.com> 1.5.3-1
  93. - Initial package