diff --git a/.gitignore b/.gitignore index e69de29..51971a9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/libssh2-python-0.7.1.tar.gz diff --git a/libssh2-python.spec b/libssh2-python.spec new file mode 100644 index 0000000..956b043 --- /dev/null +++ b/libssh2-python.spec @@ -0,0 +1,56 @@ +%{!?python_sitearch: %define python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +Summary: Python binding for the libssh2 library +Name: libssh2-python +Version: 0.7.1 +Release: 3%{?dist} +License: LGPLv2+ +Group: Development/Libraries +URL: https://github.com/wallunit/ssh4py +# The source for the package was pulled from upstream's vcs. Use the +# following commands to generate the tarball: +# git clone git://github.com/wallunit/ssh4py.git +# cd ssh4py ; python setup.py sdist +Source0: https://github.com/wallunit/ssh4py/zipball/0.7.1/%{name}-%{version}.tar.gz + +BuildRequires: python-devel +BuildRequires: libssh2-devel +BuildRequires: openssl-devel +BuildRequires: zlib-devel + +%description +libssh2-python is a python binding for the libssh2 library + + +%prep +%setup -q + + +%build +python setup.py build + + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install -O1 --root=$RPM_BUILD_ROOT + + +%files +%doc README.txt COPYING +%{python_sitearch}/libssh2.so +%{python_sitearch}/libssh2*-*.egg-info + +%changelog +* Fri Jul 08 2011 Chris Lalancette - 0.7.1-3 +- Fix license to LGPLv2+ +- Add the github zipball location + +* Mon Mar 14 2011 Chris Lalancette - 0.7.1-2 +- Update to the spec file for missing BuildRequires +- Update to latest upstream to include missing license files + +* Fri Feb 25 2011 Chris Lalancette - 0.7.1-1 +- Update to latest upstream + +* Fri Jan 28 2011 Chris Lalancette - 0.6.9-1 +- Initial build. diff --git a/sources b/sources index e69de29..4f4b5ee 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2d60794fd29adeaa6071c252335c3608 libssh2-python-0.7.1.tar.gz