File python-django-renderform.spec of Package python-django-renderform

%define modname django-renderform
Name:           python-%{modname}
Version:        0.1
Release:        1
Summary:        Helpers for Rendering Django Forms in a Flexible Way
URL:            http://code.google.com/p/django-renderform/
License:        MIT
Group:          Development/Libraries/Python
Source:         %{modname}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-buildroot
%{py_requires}
Requires:       python-django python-setuptools
BuildRequires:  python-devel python-setuptools
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch:      noarch
%endif

%description
This Django app provides a set of inclusion tags for various pieces of form
rendering. These inclusion tags are designed to replace the default rendering
methods on Form instances. The included templates are flexible enough for most
common form designs, but even complex designs may benefit by simply overriding
the templates.

Authors:
--------
    Brian Beck <exogen@gmail.com>

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

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

%install
python setup.py install --single-version-externally-managed --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