From e244ebcd3f58a877e78de9989b93f3680560c95d Mon Sep 17 00:00:00 2001 From: Luke Macken Date: Apr 04 2013 17:42:54 +0000 Subject: Initial import --- diff --git a/.gitignore b/.gitignore index e69de29..37294c1 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/backlash-0.0.1a2.tar.gz diff --git a/python-backlash-ubuntu-font.patch b/python-backlash-ubuntu-font.patch new file mode 100644 index 0000000..7e213da Binary files /dev/null and b/python-backlash-ubuntu-font.patch differ diff --git a/python-backlash.spec b/python-backlash.spec new file mode 100644 index 0000000..1aa059f --- /dev/null +++ b/python-backlash.spec @@ -0,0 +1,57 @@ +%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 diff --git a/sources b/sources index e69de29..f7b79ab 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +bfa8a89f1c9904c7ba1bff977a5f92a2 backlash-0.0.1a2.tar.gz