File python-django-math-captcha.spec of Package python-django-math-captcha

# norootforbuild

Name:           python-django-math-captcha
Version:        0.1
Release:        1
Summary:        Simple, secure math captcha for Django forms
License:        BSD License
Group:          Development/Libraries/Python
Source:         django-math-captcha-%{version}.tar.gz
URL:            http://github.com/justquick/django-math-captcha
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 Math Captcha is an easy way to add mathematical captcha verification to your already
existing forms. It asks you a simple math question (eg '1 + 2 =') and validates the form if
your response is correct. All you have to do is subclass either MathCaptchaForm or
MathCaptchaModelForm in your own forms.

Author:
--------
    Justin Quick <justquick@gmail.com>


%prep
%setup -q -n django-math-captcha-%{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