diff --git a/README.md b/README.md index 513cd69..28a0a88 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # python-tornado +Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. + +Scalable, non-blocking web server and tools. + diff --git a/python-tornado.spec b/python-tornado.spec new file mode 100644 index 0000000..5124c44 --- /dev/null +++ b/python-tornado.spec @@ -0,0 +1,47 @@ +Name: python-tornado +Version: 4.2.1 +Release: 1mamba +Summary: Scalable, non-blocking web server and tools +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://www.tornadoweb.org/ +Source: https://github.com/tornadoweb/tornado/archive/v%{version}.tar.gz +License: Apache License 2.0 +BuildRequires: glibc-devel +BuildRequires: libpython-devel +Requires: python >= %python_version +Requires: pycurl +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. + +%description +%{summary}. + +%prep +%setup -q -n tornado-%{version} + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%files -f %{name}.filelist +%defattr(-,root,root) +%doc LICENSE README.rst + +%changelog +* Fri Sep 25 2015 Davide Madrisan 4.2.1-1mamba +- package created using the webbuild interface