14
0

Accepting request 80619 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/80619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tornado?expand=0&rev=5
This commit is contained in:
Lars Vogdt
2011-09-05 15:07:37 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 9 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 7 20:19:08 UTC 2011 - saschpe@gmx.de
- Added README and examples to documentation
- Fixed license string to "Apache-2.0"
-------------------------------------------------------------------
Wed Jun 22 11:47:26 UTC 2011 - alexandre@exatati.com.br

View File

@@ -11,20 +11,16 @@
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: python-tornado
Version: 2.0
Release: 1
Release: 0
Url: http://www.tornadoweb.org
Summary: Open source version of scalable, non-blocking web server that power FriendFeed
License: http://www.apache.org/licenses/LICENSE-2.0
License: Apache-2.0
Group: Development/Languages/Python
Source: tornado-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -37,6 +33,7 @@ Requires: python-simplejson
BuildArch: noarch
%endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed.
@@ -54,8 +51,7 @@ thousands of clients, see The C10K problem.)
%setup -q -n tornado-%{version}
%build
export CFLAGS="%{optflags}"
python setup.py build
CFLAGS="%{optflags}" python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
@@ -65,6 +61,7 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README demos
%{python_sitelib}/*
%changelog