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

#
# spec file for package python-django-openid
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/


Summary: OpenID tools for Django
Name:    python-django-openid
Version: 0.1.1
Release: 0
License: MIT
Group:   Development/Libraries/Python
URL:     http://code.google.com/p/django-openid/
Source:  django-openid-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: python-devel python-setuptools
BuildRequires: fdupes
Requires: python-django
Requires: python-openid
%py_requires
%if 0%{?suse_version} > 1110
BuildArch:      noarch
%endif

%description
Views and middleware for enabling your Django application to act as an OpenID consumer. 

%prep

%setup -n django-openid-%{version}

%build
export CFLAGS="%{optflags}"
%{__python} setup.py build

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

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

%files -f INSTALLED_FILES
%defattr(-, root, root)

%changelog
openSUSE Build Service is sponsored by