14
0

- Added README and examples to documentation

- Fixed license string to "Apache-2.0"

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=9
This commit is contained in:
Sascha Peilicke
2011-07-07 20:20:02 +00:00
committed by Git OBS Bridge
parent 4ddc7d6a7b
commit cd82edd103
2 changed files with 10 additions and 6 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 Wed Jun 22 11:47:26 UTC 2011 - alexandre@exatati.com.br

View File

@@ -15,15 +15,12 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # 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 Name: python-tornado
Version: 2.0 Version: 2.0
Release: 0 Release: 0
Url: http://www.tornadoweb.org Url: http://www.tornadoweb.org
Summary: Open source version of scalable, non-blocking web server that power FriendFeed 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 Group: Development/Languages/Python
Source: tornado-%{version}.tar.bz2 Source: tornado-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -36,6 +33,7 @@ Requires: python-simplejson
BuildArch: noarch BuildArch: noarch
%endif %endif
%endif %endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description %description
Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed. Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed.
@@ -53,8 +51,7 @@ thousands of clients, see The C10K problem.)
%setup -q -n tornado-%{version} %setup -q -n tornado-%{version}
%build %build
export CFLAGS="%{optflags}" CFLAGS="%{optflags}" python setup.py build
python setup.py build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} python setup.py install --prefix=%{_prefix} --root=%{buildroot}
@@ -64,6 +61,7 @@ rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README demos
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog