File python-django-oauth.spec of Package python-django-oauth
# norootforbuild
Name: python-django-oauth
Version: 1.1
Release: 1
Summary: Support of OAuth in Django
License: BSD License
Group: Development/Libraries/Python
Source: django-oauth-%{version}.tar.gz
URL: http://code.welldev.org/django-oauth
BuildRequires: python-devel, python-setuptools, python-setuptools_hg
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-django
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%endif
%description
Support of OAuth in Django.
Author:
--------
David Larlet <david@larlet.fr>
%prep
%setup -q -n django-oauth-%{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)