[python-django-federated-login/el6] import spec and tar
Luis Enrique Bazán De León
lbazan at fedoraproject.org
Mon Sep 17 22:21:42 UTC 2012
commit 05065e3d4b399308ce239df9f4da7d2bf1f7ab26
Author: Luis Bazan <lbazan at fedoraproject.org>
Date: Mon Sep 17 17:22:16 2012 -0500
import spec and tar
.gitignore | 1 +
python-django-federated-login.spec | 67 ++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..14f3dc6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-federated-login-0.3.0.tar.gz
diff --git a/python-django-federated-login.spec b/python-django-federated-login.spec
new file mode 100644
index 0000000..c79a927
--- /dev/null
+++ b/python-django-federated-login.spec
@@ -0,0 +1,67 @@
+%global pkgname django-federated-login
+
+Name: python-django-federated-login
+Version: 0.3.0
+Release: 3%{?dist}
+Summary: Provides federated logins to django projects
+
+Group: Development/Languages
+License: MIT
+URL: http://github.com/Bouke/django-federated-login
+Source0: http://pypi.python.org/packages/source/d/%{pkgname}/%{pkgname}-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+BuildRequires: python-openid
+Requires: python-openid
+
+%if 0%{?fedora} >= 18
+Requires: python-django
+BuildRequires: python-django
+%else
+Requires: Django
+BuildRequires: Django
+%endif
+
+%description
+
+Django Federated Login provides an authentication bridge between
+Django projects and OpenID-enabled identity providers. The bridge is
+pre-wired to be used with a single Google Apps domain, but could be
+extended to be linked with other OpenID providers also. It is different
+from other OpenID consumers as this consumer only allows connecting to
+a pre-defined identity provider.
+
+The provided backend matches users based on the e-mail address returned
+from the identity provider. If no matching user could be found, a user
+account can optionally be created.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%build
+python setup.py build
+
+%install
+python setup.py install --skip-build --root %{buildroot}
+
+%check
+python setup.py test
+
+%files
+%doc README.rst LICENSE.txt
+%{python_sitelib}/federated_login
+%{python_sitelib}/django_federated_login-*.egg-info
+
+%changelog
+* Mon Sep 17 2012 Luis Bazan <lbazan at fedoraproject.org> - 0.3.0-3
+- Fix License
+- add python openid to requires
+
+* Fri Sep 14 2012 Luis Bazan <lbazan at fedoraproject.org> - 0.3.0-2
+- give better space to description
+
+* Fri Sep 14 2012 Luis Bazan <lbazan at fedoraproject.org> - 0.3.0-1
+- Initial Import
+
diff --git a/sources b/sources
index e69de29..b783af8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e53347c8c9c56c970dc04ea770d410c0 django-federated-login-0.3.0.tar.gz
More information about the scm-commits
mailing list