Name: python-sockjs-tornado Version: 1.0.0 Release: 2%{?dist} Summary: SockJS server implementation for Tornado License: MIT URL: https://pypi.python.org/pypi/sockjs-tornado Source0: https://pypi.python.org/packages/source/s/sockjs-tornado/sockjs-tornado-1.0.0.zip BuildArch: noarch BuildRequires: python2-devel Requires: python-tornado %description SockJS-tornado is a Python server side counterpart of the SockJS-client browser library running on top of the Tornado framework. %prep %setup -q -n sockjs-tornado-%{version} tr -d '\015' < README.rst > README.rst.crlf mv README.rst.crlf README.rst %build python2 setup.py build %install python2 setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %files # The LICENSE file from git is not included in source tarballs. # Fix: https://github.com/mrjoes/sockjs-tornado/pull/48 %doc README.rst %{python_sitelib}/sockjs/ %{python_sitelib}/sockjs_tornado* %changelog * Tue Sep 17 2013 Garrett Holmstrom - 1.0.0-2 - Fix README.rst line terminators * Tue Sep 17 2013 Garrett Holmstrom - 1.0.0-1 - Created