File python-django-wadofstuff-views.spec of Package python-django-wadofstuff-views

%define modname wadofstuff-django-views
Name:           python-django-wadofstuff-views
Version:        1.0.1
Release:        1
Summary:        Inline Formset Support for Django Generic Views
URL:            http://code.google.com/p/wadofstuff/
License:        BSD
Group:          Development/Libraries/Python
Source:         %{modname}-%{version}.tar.bz2
Patch:          no-setup-import.patch
BuildRoot:      %{_tmppath}/%{name}-buildroot
%{py_requires}
Requires:       python-django
BuildRequires:  python-devel
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch:      noarch
%endif

%description
A set of view functions and classes to extend the functionality of Django's
generic views to support inlines.

Authors:
--------
    Matthew Flanagan <mattimustang@gmail.com>

%prep
%setup -q -n %{modname}-%{version}
%patch

%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES

%clean
rm -rf %{buildroot}

%files -f INSTALLED_FILES
%defattr(-,root,root)

%changelog
openSUSE Build Service is sponsored by