File python-django-expire.spec of Package python-django-expire
# norootforbuild
Name: python-django-expire
Version: 1.0.1
Release: 1
Summary: Django authentication-based session expiration
License: MIT
Group: Development/Libraries/Python
Source: django-expire-%{version}.tar.gz
URL: http://bitbucket.org/smileychris/django-expire
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
A Django application which provides authentication-based session expiration.
Author:
--------
Chris Beaven <smileychris@gmail.com>
%prep
%setup -q -n django-expire-%{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)