[django-avatar] Initial import (#720138).

kumarpraveen kumarpraveen at fedoraproject.org
Mon Jul 11 16:36:41 UTC 2011


commit 5e4a028760d3f8fb6780e213ad6260d1d393b224
Author: Praveen <daredevil at localhost.localdomain>
Date:   Mon Jul 11 22:04:59 2011 +0530

    Initial import (#720138).

 .gitignore         |    1 +
 django-avatar.spec |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..08c0de8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-avatar-2.0a1.20110709git097ed8.tar.xz
diff --git a/django-avatar.spec b/django-avatar.spec
new file mode 100644
index 0000000..26f38c2
--- /dev/null
+++ b/django-avatar.spec
@@ -0,0 +1,54 @@
+%global git_date    20110709
+%global git_version 097ed8
+
+Name:			django-avatar
+Version:		2.0a1
+Release:		2.%{git_date}git%{git_version}%{?dist}
+Summary:		A django module for handling user avatars
+
+Group:			Development/Libraries
+License:		BSD
+URL:			http://pypi.python.org/pypi/django-avatar/
+
+# git clone https://github.com/ericflo/django-avatar.git 
+# cd django-avatar;
+# git archive --format=tar HEAD | xz  > django-avatar-{version}.{git_date}git{git_version}.tar.xz
+
+Source0:		%{name}-%{version}.%{git_date}git%{git_version}.tar.xz
+BuildArch:		noarch
+BuildRequires:	python-setuptools
+BuildRequires:	python-devel
+
+%description
+Django-avatar is a reusable application for handling user avatars. It has the
+ability to default to Gravatar if no avatar is found for a certain user.
+Django-avatar automatically generates thumbnails and stores them to your
+default file storage back-end for retrieval later.
+
+
+%prep
+%setup -q -cn %{name}
+
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+%install
+%{__python} setup.py install --skip-build --root="$RPM_BUILD_ROOT"
+
+%find_lang django
+
+
+%files -f django.lang
+%{python_sitelib}/avatar/
+%{python_sitelib}/*.egg-info/
+%doc CHANGELOG CONTRIBUTORS.txt README.txt LICENSE.txt
+
+
+
+%changelog
+* Mon Jun 27 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 2.0a1-2.20110709git097ed8
+- Spec improved from Rahul Sundaram
+
+* Mon Jun 27 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 2.0a1-1.20110709git097ed8
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..37436b1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d44fe39f936b8ec04ec88bf0184e49cf  django-avatar-2.0a1.20110709git097ed8.tar.xz


More information about the scm-commits mailing list