python-tornado/python-tornado.spec

51 lines
1.4 KiB
RPMSpec

Name: python-tornado
Version: 4.3.0
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
* Tue Nov 10 2015 Automatic Build System <autodist@mambasoft.it> 4.3.0-1mamba
- automatic version update by autodist
* Fri Sep 25 2015 Davide Madrisan <davide.madrisan@gmail.com> 4.2.1-1mamba
- package created using the webbuild interface