[django-extra-form-fields/el6] initial import and new package
Matthias Runge
mrunge at fedoraproject.org
Wed Sep 21 19:02:28 UTC 2011
commit 157ad5d6d6790f4b926857878653c08fb581db54
Author: Matthias Runge <mrunge at matthias-runge.de>
Date: Wed Sep 21 21:02:01 2011 +0200
initial import and new package
.gitignore | 1 +
django-extra-form-fields.spec | 46 +++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c9e4ac5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-extra-form-fields-0.0.1.tar.gz
diff --git a/django-extra-form-fields.spec b/django-extra-form-fields.spec
new file mode 100644
index 0000000..f1f6aaa
--- /dev/null
+++ b/django-extra-form-fields.spec
@@ -0,0 +1,46 @@
+Name: django-extra-form-fields
+Version: 0.0.1
+Release: 1%{?dist}
+Summary: Additional form fields for Django applications
+
+License: BSD
+URL: http://pypi.python.org/pypi/django-extra-form-fields/0.0.1
+Source0: http://pypi.python.org/packages/source/d/%{name}/%{name}-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python-devel
+BuildRequires: python-setuptools
+Requires: Django
+
+%description
+Additional form fields to use in Django applications:
+
+ NextUrlField - add to forms that need to store url of next page
+ get_next_url - utility function to extract next url from the request object
+ UserNameField - field to enter user name - allows unique username site-wide
+ UserEmailField - allows unique email address site-wide if
+ EMAIL_UNIQUE setting is True
+
+
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+%files
+%doc AUTHORS COPYING LICENSE
+%{python_sitelib}/django_extra_form_fields
+%{python_sitelib}/django_extra_form_fields-%{version}*
+
+
+
+%changelog
+* Tue Sep 20 2011 Matthias Runge <mrunge at matthias-runge.de> - 0.0.1-1
+- initital fedora version
diff --git a/sources b/sources
index e69de29..de13e5f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e884ae42f31996ce155cec230977380f django-extra-form-fields-0.0.1.tar.gz
More information about the scm-commits
mailing list