Summary: A Python SOCKS/HTTP Proxy module Name: python-SocksipyChain Version: 2.0.5 Release: 5 Source0: https://pagekite.net/pk/src/SocksipyChain-%{version}.tar.gz License: BSD Group: Development/Libraries BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch BuildRequires: python-setuptools Url: https://github.com/pagekite/PySocksipyChain/ BuildArch: noarch %description This Python module allows you to create TCP connections through a chain of SOCKS or HTTP proxies without any special effort. It also supports TLS/SSL encryption if the OpenSSL modules are installed. %prep %setup -n SocksipyChain-%{version} %build %{__python} setup.py build %install test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT %{__python} setup.py install --prefix=/usr --root=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %if "%{python_version}" >= "2.5" %{python_sitelib}/SocksipyChain*.egg-info %endif %{python_sitelib}/sockschain %{_bindir}/sockschain %doc BUGS LICENSE README.md %changelog * Tue May 22 2012 Tomas Edwardsson 2.0.5-5 - Initial specfile modified from pagekite provided one