%global modname backlash Name: python-backlash Version: 0.0.1a2 Release: 2%{?dist} Summary: Standalone WebOb port of the Werkzeug Debugger Group: Development/Libraries License: MIT URL: http://pypi.python.org/pypi/backlash Source0: http://pypi.python.org/packages/source/b/%{modname}/%{modname}-%{version}.tar.gz Patch0: %{name}-ubuntu-font.patch BuildArch: noarch BuildRequires: python2-devel Requires: python-webob %description backlash is a standalone version of the Werkzeug Debugger based on WebOb adapted to support for Python3. backlash has born as a future replacement for WebError in upcoming TurboGears2 versions. %prep %setup -q -n %{modname}-%{version} %patch0 -p1 # Remove bundled egg-info in case it exists rm -rf %{modname}.egg-info %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root=%{buildroot} %files %doc README.rst %{python_sitelib}/%{modname}/ %{python_sitelib}/%{modname}-%{version}* %changelog * Wed Apr 03 2013 Luke Macken 0.0.1a2-2 - Remove the non-free ubuntu font - Require python-webob * Wed Apr 03 2013 Luke Macken 0.0.1a2-1 - Initial package for Fedora