package created using the webbuild interface [release 4.2.1-1mamba;Fri Sep 25 2015]

This commit is contained in:
Davide Madrisan 2024-01-05 16:47:01 +01:00
parent 926bbc0667
commit 012f6718b5
2 changed files with 51 additions and 0 deletions

View File

@ -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.

47
python-tornado.spec Normal file
View File

@ -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 <davide.madrisan@gmail.com>
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 <davide.madrisan@gmail.com> 4.2.1-1mamba
- package created using the webbuild interface