[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 |
---|
| 6 | Version: 1.7.6 |
---|
| 7 | Release: 3%{?_dist_release} |
---|
| 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 | |
---|
| 21 | Requires: python-crypto >= 1.9 |
---|
| 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/* |
---|
| 36 | %{__sed} -i -e '/^#!/,1d' demos/* paramiko/rng* |
---|
| 37 | |
---|
| 38 | %build |
---|
| 39 | CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' build |
---|
| 40 | |
---|
| 41 | %install |
---|
| 42 | rm -rf $RPM_BUILD_ROOT |
---|
| 43 | %{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot} |
---|
| 44 | |
---|
| 45 | %clean |
---|
| 46 | rm -rf $RPM_BUILD_ROOT |
---|
| 47 | |
---|
| 48 | %files |
---|
| 49 | %defattr(-,root,root,-) |
---|
| 50 | %doc LICENSE PKG-INFO README docs/ demos/ |
---|
| 51 | %{python_sitelib}/* |
---|
| 52 | |
---|
| 53 | %changelog |
---|
| 54 | * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.7.6-3 |
---|
| 55 | - rebuild with python-2.6 |
---|
| 56 | |
---|
| 57 | * Thu Nov 5 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.7.6-2 |
---|
| 58 | - added BuildRequires: python-devel |
---|
| 59 | |
---|
| 60 | * Tue Nov 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.7.6-1 |
---|
| 61 | - new upstream release |
---|
| 62 | |
---|
| 63 | * Wed Jul 29 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.7.5-1 |
---|
| 64 | - initial build for VineSeed |
---|
| 65 | |
---|
| 66 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.4-5 |
---|
| 67 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 68 | |
---|
| 69 | * Mon Feb 16 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.4-4 |
---|
| 70 | - Add demos as documentation. BZ#485742 |
---|
| 71 | |
---|
| 72 | * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.7.4-3 |
---|
| 73 | - Rebuild for Python 2.6 |
---|
| 74 | |
---|
| 75 | * Wed Sep 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7.4-2 |
---|
| 76 | - fix license tag |
---|
| 77 | |
---|
| 78 | * Sun Jul 6 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.4-1 |
---|
| 79 | - Update to 1.7.4 |
---|
| 80 | |
---|
| 81 | * Mon Mar 24 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.3-1 |
---|
| 82 | - Update to 1.7.3. |
---|
| 83 | |
---|
| 84 | * Tue Jan 22 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.2-1 |
---|
| 85 | - Update to 1.7.2. |
---|
| 86 | - Remove upstreamed patch. |
---|
| 87 | |
---|
| 88 | * Mon Jan 14 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.1-3 |
---|
| 89 | - Update to latest Python packaging guidelines. |
---|
| 90 | - Apply patch that fixes insecure use of RandomPool. |
---|
| 91 | |
---|
| 92 | * Thu Jul 19 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.1-2 |
---|
| 93 | - Bump rev |
---|
| 94 | |
---|
| 95 | * Thu Jul 19 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.7.1-1 |
---|
| 96 | - Update to 1.7.1 |
---|
| 97 | |
---|
| 98 | * Sat Dec 09 2006 Toshio Kuratomi <toshio@tiki-lounge.com> - 1.6.4-1 |
---|
| 99 | - Update to 1.6.4 |
---|
| 100 | - Upstream is now shipping tarballs |
---|
| 101 | - Bump for python 2.5 in devel |
---|
| 102 | |
---|
| 103 | * Mon Oct 9 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6.2-1 |
---|
| 104 | - Update to 1.6.2 |
---|
| 105 | |
---|
| 106 | * Sat Sep 16 2006 Shahms E. King <shahms@shahms.com> 1.6.1-3 |
---|
| 107 | - Rebuild for FC6 |
---|
| 108 | |
---|
| 109 | * Fri Aug 11 2006 Shahms E. King <shahms@shahms.com> 1.6.1-2 |
---|
| 110 | - Include, don't ghost .pyo files per new guidelines |
---|
| 111 | |
---|
| 112 | * Tue Aug 08 2006 Shahms E. King <shahms@shahms.com> 1.6.1-1 |
---|
| 113 | - Update to new upstream version |
---|
| 114 | |
---|
| 115 | * Fri Jun 02 2006 Shahms E. King <shahms@shahms.com> 1.6-1 |
---|
| 116 | - Update to new upstream version |
---|
| 117 | - ghost the .pyo files |
---|
| 118 | |
---|
| 119 | * Fri May 05 2006 Shahms E. King <shahms@shahms.com> 1.5.4-2 |
---|
| 120 | - Fix source line and rebuild |
---|
| 121 | |
---|
| 122 | * Fri May 05 2006 Shahms E. King <shahms@shahms.com> 1.5.4-1 |
---|
| 123 | - Update to new upstream version |
---|
| 124 | |
---|
| 125 | * Wed Apr 12 2006 Shahms E. King <shahms@shahms.com> 1.5.3-1 |
---|
| 126 | - Initial package |
---|