File python-django-email-confirmation.spec of Package python-django-email-confirmation
# norootforbuild
Summary: Simple email confirmation for the Django web framework
Name: python-django-email-confirmation
Version: 0.1.4
Release: 0
License: MIT
Group: Development/Libraries/Python
URL: http://github.com/jtauber/django-email-confirmation
Source: django-email-confirmation-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: python-devel python-setuptools
Requires: python-django
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%endif
%description
This simple app is for cases where you don't want to require an email address to signup on your website but
you do still want to ask for an email address and be able to confirm it for use in optional parts of your
website.
A user can have zero or more email addresses linked to them. The user does not have to provide an email
address on signup but, if they do, they are emailed with a link they must click on to confirm that the email
address is theirs. A confirmation email can be resent at any time.
Author:
--------
James Tauber <jtauber@jtauber.com>
%prep
%setup -q -n django-email-confirmation-%{version}
%build
export CFLAGS="%{optflags}"
%{__python} setup.py build
%install
%{__python} setup.py install --root=%{buildroot} --prefix=%{_prefix} --record-rpm=INSTALLED_FILES
%clean
%{__rm} -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-, root, root)