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

# norootforbuild

Name:           python-django-honeypot
Version:        0.3.0
Release:        1
Summary:        Django honeypot field utilities
License:        BSD License
Group:          Development/Libraries/Python
Source:         django-honeypot-%{version}.tar.gz
URL:            http://github.com/sunlightlabs/django-honeypot
BuildRequires:  python-devel, python-setuptools
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       python-django
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch:      noarch
%endif


%description
Django application that provides utilities for preventing automated form spam.
Provides template tags, view decorators, and middleware to add and verify
honeypot fields to forms.

Author:
--------
    James Turk <jturk@sunlightfoundation.com>


%prep
%setup -q -n django-honeypot-%{version}


%build
%{__python} setup.py build


%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES


%files -f INSTALLED_FILES
%defattr(-,root,root)
openSUSE Build Service is sponsored by