python-paramiko-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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.10.1
  5. Release: 1%{?_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: https://github.com/paramiko/paramiko/
  12. Source0: https://pypi.python.org/packages/source/p/paramiko/paramiko-%{version}.tar.gz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildArch: noarch
  15. BuildRequires: python-setuptools
  16. BuildRequires: python-devel
  17. Requires: python-crypto >= 2.1
  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. %{__sed} -i -e '/^#!/,1d' demos/*
  32. %build
  33. CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' build
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. %{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc LICENSE PKG-INFO README docs/ demos/
  42. %{python_sitelib}/*
  43. %changelog
  44. * Sun Apr 28 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.10.1-1
  45. - new upstream release
  46. - changed Source0 and URL
  47. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.7.1-2
  48. - rebuild with python-2.7.2
  49. * Wed Jul 20 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.7.7.1-1
  50. - new upstream release
  51. - changed Requires: python-crypto >= 2.1
  52. * Thu Nov 5 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.7.6-2
  53. - added BuildRequires: python-devel
  54. * Tue Nov 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.7.6-1
  55. - new upstream release
  56. * Wed Jul 29 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.7.5-1
  57. - initial build for VineSeed
  58. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.4-5
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  60. * Mon Feb 16 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.4-4
  61. - Add demos as documentation. BZ#485742
  62. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.7.4-3
  63. - Rebuild for Python 2.6
  64. * Wed Sep 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7.4-2
  65. - fix license tag
  66. * Sun Jul 6 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.4-1
  67. - Update to 1.7.4
  68. * Mon Mar 24 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.3-1
  69. - Update to 1.7.3.
  70. * Tue Jan 22 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.2-1
  71. - Update to 1.7.2.
  72. - Remove upstreamed patch.
  73. * Mon Jan 14 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.1-3
  74. - Update to latest Python packaging guidelines.
  75. - Apply patch that fixes insecure use of RandomPool.
  76. * Thu Jul 19 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.1-2
  77. - Bump rev
  78. * Thu Jul 19 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.1-1
  79. - Update to 1.7.1
  80. * Sat Dec 09 2006 Toshio Kuratomi <toshio@tiki-lounge.com> - 1.6.4-1
  81. - Update to 1.6.4
  82. - Upstream is now shipping tarballs
  83. - Bump for python 2.5 in devel
  84. * Mon Oct 9 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6.2-1
  85. - Update to 1.6.2
  86. * Sat Sep 16 2006 Shahms E. King <shahms@shahms.com> 1.6.1-3
  87. - Rebuild for FC6
  88. * Fri Aug 11 2006 Shahms E. King <shahms@shahms.com> 1.6.1-2
  89. - Include, don't ghost .pyo files per new guidelines
  90. * Tue Aug 08 2006 Shahms E. King <shahms@shahms.com> 1.6.1-1
  91. - Update to new upstream version
  92. * Fri Jun 02 2006 Shahms E. King <shahms@shahms.com> 1.6-1
  93. - Update to new upstream version
  94. - ghost the .pyo files
  95. * Fri May 05 2006 Shahms E. King <shahms@shahms.com> 1.5.4-2
  96. - Fix source line and rebuild
  97. * Fri May 05 2006 Shahms E. King <shahms@shahms.com> 1.5.4-1
  98. - Update to new upstream version
  99. * Wed Apr 12 2006 Shahms E. King <shahms@shahms.com> 1.5.3-1
  100. - Initial package