[python-django-registration] Initial import (#806299).

kumarpraveen kumarpraveen at fedoraproject.org
Sun Mar 25 11:01:02 UTC 2012


commit 9db27caf8126cea22f6a48ee01c7a322ad7767a4
Author: Praveen <daredevil at localhost.localdomain>
Date:   Sun Mar 25 16:30:35 2012 +0530

    Initial import (#806299).

 .gitignore                      |    1 +
 python-django-registration.spec |   70 +++++++++++++++++++++++++++++++++++++++
 sources                         |    1 +
 3 files changed, 72 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4e775b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-registration-0.8.tar.gz
diff --git a/python-django-registration.spec b/python-django-registration.spec
new file mode 100644
index 0000000..9ba9ee7
--- /dev/null
+++ b/python-django-registration.spec
@@ -0,0 +1,70 @@
+%global pkgname django-registration
+Name:           python-django-registration
+Version:        0.8
+Release:        1%{?dist}
+Summary:        A user-registration application for Django
+
+Group:          Development/Libraries
+License:        BSD
+URL:            http://bitbucket.org/ubernostrum/django-registration/
+Source0:        http://pypi.python.org/packages/source/d/%{pkgname}/%{pkgname}-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+Requires:       python-django
+
+Provides:       %{pkgname} = %{version}-%{release}
+Obsoletes:      %{pkgname} < 0.7-4
+
+%description
+This is a fairly simple user-registration application for Django_,
+designed to make allowing user sign ups as painless as possible. It
+requires a functional installation of Django 1.0 or newer, but has no
+other dependencies.
+
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+rm -rf docs/_build/html/.buildinfo
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+#Language files; not under /usr/share, need to be handled manually
+(cd $RPM_BUILD_ROOT && find . -name 'django*.[mp]o') |
+    %{__sed} -e 's|^.||' | %{__sed} -e \
+    's:\(.*/locale/\)\([^/_]\+\)\(.*\.[mp]o$\):%lang(\2) \1\2\3:' \
+  >> %{name}.lang
+
+
+%files -f %{name}.lang
+%doc LICENSE AUTHORS CHANGELOG README docs/*
+%{python_sitelib}/*.egg-info
+%dir %{python_sitelib}/registration
+%{python_sitelib}/registration/management
+%{python_sitelib}/registration/backends
+%{python_sitelib}/registration/tests
+%{python_sitelib}/registration/*.py*
+
+
+%changelog
+* Sun Mar 25 2012 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 0.8-1
+- New version
+
+* Sat Mar 24 2012 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 0.7-5
+- Made minor changes according to review
+
+* Fri Mar 23 2012 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 0.7-4
+- Renamed package to python-django-registration
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Sat Aug 06 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 0.7-2
+- Take over the package
+
+* Mon Sep 28 2009 Michel Salim <salimma at fedoraproject.org> - 0.7-1
+- Initial package
diff --git a/sources b/sources
index e69de29..221104c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d3e785858e0040a6c3201acd43409b2e  django-registration-0.8.tar.gz


More information about the scm-commits mailing list