[django-recaptcha] Initial import (#716844)

jiteshs jiteshs at fedoraproject.org
Wed Jun 29 16:23:32 UTC 2011


commit 8ef51c035b0c63e4c2b653ed4d2c25c481d9a16e
Author: Jitesh Shah <jitesh.1337 at gmail.com>
Date:   Wed Jun 29 09:22:32 2011 -0700

    Initial import (#716844)
    
    Signed-off-by: Jitesh Shah <jitesh.1337 at gmail.com>

 .gitignore            |    1 +
 django-recaptcha.spec |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..14ebc91 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-recaptcha-0.1svn6.tar.bz2
diff --git a/django-recaptcha.spec b/django-recaptcha.spec
new file mode 100644
index 0000000..37170b0
--- /dev/null
+++ b/django-recaptcha.spec
@@ -0,0 +1,46 @@
+%global snapshot_date 20091212
+%global snapshot_revision 6
+
+Name:		django-recaptcha
+Version:	0.1
+Release:	1.%{snapshot_date}svn%{snapshot_revision}%{?dist}
+Group:		Development/Libraries
+Summary:	A Django application for adding ReCAPTCHA to a form
+
+License:	BSD
+URL:		https://code.google.com/p/recaptcha-django/ 
+#clone and tarred: svn export -r%%{snapshot_revision} http://recaptcha-django.googlecode.com/svn/trunk/ %%{name}-%%{version}
+#tar -cvjf %%{name}-%%{version}svn%%{snapshot_revision}.tar.bz2 %%{name}-%%{version}
+Source0:	%{name}-%{version}svn%{snapshot_revision}.tar.bz2
+
+BuildArch:	noarch
+BuildRequires:	python-devel python-setuptools
+Requires:	Django python-recaptcha-client
+
+%description
+A Django application providing a simple widget, field and middle-ware for 
+adding ReCAPTCHA to a form
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__rm} -rf $RPM_BUILD_ROOT
+%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
+%{__cp} INSTALL.txt LICENSE.txt README.txt docs/
+
+
+%files
+%defattr(-,root,root,-)
+%{python_sitelib}/recaptcha_django/
+%{python_sitelib}/recaptcha_django-*.egg-info
+
+%doc docs
+
+%changelog
+* Mon Jun 27 2011 Jitesh Shah <jitesh.1337 at gmail.com> - 0.1-1.20091212svn6
+- Initial build
diff --git a/sources b/sources
index e69de29..25cbc23 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e4248720b82acb938d16b7d1fdeee027  django-recaptcha-0.1svn6.tar.bz2


More information about the scm-commits mailing list