[python-django-simple-captcha] initial import / rename django-simple-captcha to python-django-simple-captcha

Matthias Runge mrunge at fedoraproject.org
Fri Mar 23 13:42:06 UTC 2012


commit e7ffe317f18fc469848d85896158b99f14a05947
Author: Matthias Runge <mrunge at matthias-runge.de>
Date:   Fri Mar 23 14:41:25 2012 +0100

    initial import / rename django-simple-captcha to python-django-simple-captcha

 .gitignore                        |    1 +
 python-django-simple-captcha.spec |   83 +++++++++++++++++++++++++++++++++++++
 sources                           |    1 +
 3 files changed, 85 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f223371 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-simple-captcha-0.3.0.tar.gz
diff --git a/python-django-simple-captcha.spec b/python-django-simple-captcha.spec
new file mode 100644
index 0000000..1b1dc3b
--- /dev/null
+++ b/python-django-simple-captcha.spec
@@ -0,0 +1,83 @@
+%global pkgname django-simple-captcha
+%global obs_ver 0.3.0-2
+
+Summary:	Django application to add captcha images to any Django form
+Name:		python-django-simple-captcha
+Version:	0.3.0
+Release:	3%{?dist}
+License:	MIT
+Group:		Development/Libraries
+URL:		http://code.google.com/p/django-simple-captcha/	
+Source:		http://django-simple-captcha.googlecode.com/files/%{pkgname}-%{version}.tar.gz
+BuildArch:	noarch
+
+BuildRequires:	python2-devel 
+BuildRequires:	python-setuptools 
+BuildRequires:	gettext
+
+Requires:		python-django
+
+Provides:		%{pkgname} = %{version}-%{release}
+Obsoletes:		%{pkgname} < %{obs_ver}
+
+
+%description
+Django Simple Captcha is an extremely simple, yet highly customizable 
+Django application to add captcha images to any Django form
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+# prevent pre-build egg-info in final package
+rm -rf django_simple_captcha.egg-info
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
+
+# copy language files
+# reported isssue upstream
+# http://code.google.com/p/django-simple-captcha/issues/detail?id=60
+mkdir -p %{buildroot}/%{python_sitelib}/captcha/locale/fr/LC_MESSAGES
+cp -p captcha/locale/fr/LC_MESSAGES/django.?o %{buildroot}/%{python_sitelib}/captcha/locale/fr/LC_MESSAGES
+
+%find_lang django
+
+%files -f django.lang
+%doc LICENSE MANIFEST.in PKG-INFO
+%{python_sitelib}/captcha/
+%{python_sitelib}/django_simple_captcha-%{version}-py2*
+
+%changelog
+* Fri Mar 23 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.3.0-3
+- minor spec cleanup
+
+* Wed Mar 14 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.3.0-2
+- rename package to python-django-simple-captcha
+
+* Fri Jan 27 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.3.0-1
+- new version
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.0-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.0-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Wed Oct 20 2010 Dave Riches <dcr226 at fedoraproject.org> - 0.2.0-4
+- fixed description
+
+* Wed Oct 20 2010 Dave Riches <dcr226 at fedoraproject.org> - 0.2.0-3
+- Fixed summary
+
+* Wed Oct 20 2010 Dave Riches <dcr226 at fedoraproject.org> - 0.2.0-2
+- fixed folder permissions
+
+* Wed Oct 20 2010 Dave Riches <dcr226 at fedoraproject.org> - 0.2.0-1
+- Packaged version 0.2.0
+
+* Sat Aug 21 2010 Dave Riches <dcr226 at fedoraproject.org> - 0.1.7-1
+- packaged for Fedora 12/13/14
+
diff --git a/sources b/sources
index e69de29..8c20744 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8c18d7ea63388cc7e98092ea9e6ea64c  django-simple-captcha-0.3.0.tar.gz


More information about the scm-commits mailing list