package created using the webbuild interface [release 4.2.1-1mamba;Fri Sep 25 2015]
This commit is contained in:
parent
926bbc0667
commit
012f6718b5
@ -1,2 +1,6 @@
|
|||||||
# python-tornado
|
# 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
47
python-tornado.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user