1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- %define tornado tornado
- Summary: Tornado is a web server and tools
- Summary(ja): Tornado 高速 Web フレームワーク
- Name: python-%{tornado}
- Group: Development/Web Applications
- Version: 1.2.1
- Release: 1%{?_dist_release}
- License: Apache Licence, Version 2.0
- URL: http://www.tornadoweb.org/
- Source0: %{url}/static/%{tornado}-%{version}.tar.gz
- Requires: python >= 2.5
- Requires: python-pycurl
- Requires: python-simplejson
- BuildRequires: python-devel
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildArch: noarch
- Distribution: Vine Linux
- Vendor: Project Vine
- Packager: owa
- %description
- Tornado is an open source version of the scalable, non-blocking web server
- and and tools that power FriendFeed. Documentation and downloads are
- available at http://www.tornadoweb.org/
- Tornado is licensed under the Apache Licence, Version 2.0
- (http://www.apache.org/licenses/LICENSE-2.0.html).
- %prep
- %setup -q -n %{tornado}-%{version}
- %build
- python setup.py build
- %install
- rm -rf $RPM_BUILD_ROOT
- mkdir -p $RPM_BUILD_ROOT%{python_sitelib}
- export PYTHONPATH=$PYTHONPATH:$RPM_BUILD_ROOT%{python_sitelib}
- python setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
- mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{tornado}-%{version}
- cp -a demos $RPM_BUILD_ROOT/%{_datadir}/%{tornado}-%{version}/
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-, root, root)
- %doc PKG-INFO README
- %{python_sitelib}/easy-install.pth
- %{python_sitelib}/tornado-%{version}-py%{pyver}.egg
- %{_datadir}/%{tornado}-%{version}/demos/appengine
- %{_datadir}/%{tornado}-%{version}/demos/auth
- %{_datadir}/%{tornado}-%{version}/demos/benchmark
- %{_datadir}/%{tornado}-%{version}/demos/blog
- %{_datadir}/%{tornado}-%{version}/demos/chat
- %{_datadir}/%{tornado}-%{version}/demos/facebook
- %{_datadir}/%{tornado}-%{version}/demos/helloworld
- %exclude %{python_sitelib}/site.py*
- %changelog
- * Mon May 02 2011 Shu KONNO <owa@bg.wakwak.com> 1.2.1-1
- - updated tornado to 1.2.1
- * Wed Dec 01 2010 Shu KONNO <owa@bg.wakwak.com> 1.1-1
- - updated tornado to 1.1
- - added BuildArch: noarch
- * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.2-2
- - rebuild with python-2.6
- * Sun Sep 20 2009 Shu KONNO <owa@bg.wakwak.com> 0.2-1
- - initial build for VineSeed
|