%global srcname bottle Name: python-%{srcname} Version: 0.10.7 Release: 1%{?dist} Summary: Fast and simple WSGI-framework for small web-applications Group: Development/Languages License: MIT URL: http://bottlepy.org Source0: http://pypi.python.org/packages/source/b/%{srcname}/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools %description Bottle is a fast and simple micro-framework for small web-applications. It offers request dispatching (Routes) with URL parameter support, Templates, a built-in HTTP Server and adapters for many third party WSGI/HTTP-server and template engines. All in a single file and with no dependencies other than the Python Standard Library. %prep %setup -q -n %{srcname}-%{version} sed -i '/^#!/d' bottle.py %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root %{buildroot} rm %{buildroot}%{_bindir}/bottle.py %files %doc README.rst LICENSE.txt PKG-INFO %{python_sitelib}/* %changelog * Wed Feb 01 2012 Ian Weller <iweller@redhat.com> - 0.10.7-1 - Update to 0.10.7 (required by python-mwlib) * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jul 18 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 0.9.5-1 - Initial spec