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