[python26-paramiko: 2/33] auto-import python-paramiko-1.5.3-1 on branch devel from python-paramiko-1.5.3-1.src.rpm

Andy Grimm arg at fedoraproject.org
Thu Jul 7 00:40:18 UTC 2011


commit 6de5a2d8c14331124b542263280801dedb17d5a4
Author: Shahms King <shahms at fedoraproject.org>
Date:   Thu Apr 13 14:38:24 2006 +0000

    auto-import python-paramiko-1.5.3-1 on branch devel from
        python-paramiko-1.5.3-1.src.rpm

 .cvsignore           |    1 +
 python-paramiko.spec |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.cvsignore b/.cvsignore
index e69de29..cb200ed 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+paramiko-1.5.3.zip
diff --git a/python-paramiko.spec b/python-paramiko.spec
new file mode 100644
index 0000000..dd809e0
--- /dev/null
+++ b/python-paramiko.spec
@@ -0,0 +1,58 @@
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
+
+%define srcname paramiko
+
+Name:           python-paramiko
+Version:        1.5.3
+Release:        1%{?dist}
+Summary:        A SSH2 protocol library for python
+
+Group:          Development/Libraries
+License:        LGPL
+URL:            http://www.lag.net/paramiko/
+Source0:        http://www.lag.net/paramiko/download/%{srcname}-%{version}.zip
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+Requires:       python-abi = %{pyver}
+Requires:       python-crypto >= 1.9
+
+%description
+Paramiko (a combination of the esperanto words for "paranoid" and "friend") is
+a module for python 2.3 or greater that implements the SSH2 protocol for secure
+(encrypted and authenticated) connections to remote machines. Unlike SSL (aka
+TLS), the SSH2 protocol does not require heirarchical certificates signed by a
+powerful central authority. You may know SSH2 as the protocol that replaced
+telnet and rsh for secure access to remote shells, but the protocol also
+includes the ability to open arbitrary channels to remote services across an
+encrypted tunnel. (This is how sftp works, for example.)
+
+%prep
+%setup -q -n %{srcname}-%{version}
+
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --single-version-externally-managed
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE PKG-INFO README docs/
+%{python_sitelib}/paramiko
+%{python_sitelib}/paramiko-%{version}-py%{pyver}.egg-info
+
+%changelog
+* Wed Apr 12 2006 Shahms E. King <shahms at shahms.com> 1.5.3-1
+  - Initial package
diff --git a/sources b/sources
index e69de29..c8eab6c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9c1389f19a331554e052a7e4e2b1471c  paramiko-1.5.3.zip


More information about the scm-commits mailing list