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

%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Summary: A simple, generic user-registration application for Django
Name:    django-registration
Version: 0.8
Release:	b415
License: BSD
Group:   Development/Libraries
URL:     https://bitbucket.org/ubernostrum/django-registration/
Source:  %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: python python-devel
Requires: Django

%description
A simple, generic user-registration application for Django

This is just a simple, portable, generic user-registration application for Django projects. Workflow follows a simple pattern:
* A user signs up for a new account, which will be inactive by default.
* An email is sent to the address they used to register, containing an activation link.
* Once they click the activation link, the account becomes active and they can log in as normal.

%prep

%setup -q -n django-registration-%{version}

%build
export CFLAGS="%{optflags}"

%{__python} setup.py build

%install

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


%clean
%{__rm} -rf %{buildroot}

%files -f INSTALLED_FILES
%defattr(-, root, root, 0755)
%doc README PKG-INFO 
%doc docs/*
%{python_sitelib}/registration

%changelog
* Wed Sep 28 2011 pshkitin@griddynamics.net
- update to version 0.8

* Sat Sep 13 2008 crrodriguez@suse.de
- update to version 0.6
openSUSE Build Service is sponsored by