[django-authopenid] * Initial commit to scm

Ankur Sinha ankursinha at fedoraproject.org
Thu Aug 18 16:44:58 UTC 2011


commit 99daaa861222f382be55746c51447a497a607d39
Author: Ankur Sinha <sanjay.ankur at gmail.com>
Date:   Thu Aug 18 22:05:48 2011 +0530

    * Initial commit to scm

 .gitignore             |    1 +
 dead.package           |    1 -
 django-authopenid.spec |   74 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 4 files changed, 76 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 24034f1..94695dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 django-authopenid-0.9.6.tar.gz
+/django-authopenid-1.0.1.tar.gz
diff --git a/django-authopenid.spec b/django-authopenid.spec
new file mode 100644
index 0000000..d5e4865
--- /dev/null
+++ b/django-authopenid.spec
@@ -0,0 +1,74 @@
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+Name:           django-authopenid
+Version:        1.0.1
+Release:        2%{?dist}
+Summary:        Openid authentification application for Django
+
+Group:          Development/Languages
+License:        ASL 2.0
+URL:            http://pypi.python.org/pypi/%{name}/
+Source0:        http://pypi.python.org/packages/source/d/%{name}/%{name}-1.0.1.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python-devel python-setuptools python-openid
+# Doc build is borked
+# BuildRequires:  python-sphinx
+Requires:       python-openid django-registration
+
+%description
+Django authentification application with openid using django auth 
+contrib. This application allow a user to connect to you website 
+with a legacy account (username/password) or an openid url.
+
+%prep
+%setup -q
+sed -i "/zip_safe = False/d" setup.py
+# Remove hidden files
+pushd example
+    find . -name "._*" -exec rm -fv '{}' \;
+    find . -name ".DS_Store" -exec rm -fv '{}' \;
+popd
+rm django_authopenid/templates/authopenid/._yadis.xrdf
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+# Installs a copy in usr/ also!
+rm -rvf $RPM_BUILD_ROOT%{_prefix}/django_authopenid
+
+# Correct locations for examples
+mv $RPM_BUILD_ROOT%{python_sitelib}/example $RPM_BUILD_ROOT/%{python_sitelib}/django_authopenid
+# Correct non-executable-script error
+chmod a+x $RPM_BUILD_ROOT%{python_sitelib}/django_authopenid/{example/manage,tests/test_store}.py
+# Correct script-without-shebang
+chmod a-x $RPM_BUILD_ROOT%{python_sitelib}/django_authopenid/example/templates/base.html
+
+%files
+%doc AUTHORS LICENSE NOTICE README THANKS CHANGES.md
+%{python_sitelib}/django_authopenid
+%{python_sitelib}/django_authopenid-*-py?.?.egg-info
+
+%changelog
+* Thu Aug 18 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 1.0.1-2
+- use pypi sources
+
+* Wed Aug 17 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 1.0.1-1
+- repackage to unretire
+
+* Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 0.9.6-5
+- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.6-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.6-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Wed Feb 18 2009 Ian Weller <ianweller at gmail.com> 0.9.6-2
+- Add patch from I. Vazquez (django-authopenid-0.9.6-keyword.patch)
+
+* Sun Feb 15 2009 Ian Weller <ianweller at gmail.com> 0.9.6-1
+- Initial package build
diff --git a/sources b/sources
new file mode 100644
index 0000000..14b93de
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+93d44b4ce40de55bed36c9ed292adb49  django-authopenid-1.0.1.tar.gz


More information about the scm-commits mailing list