[django-ajax-selects] Initial import (#645760).

Domingo Becker beckerde at fedoraproject.org
Mon Nov 22 14:08:28 UTC 2010


commit f03d37f75cd83563495ebcec1fc46e7ac9a1fdf7
Author: Domingo Becker <domingobecker at gmail.com>
Date:   Mon Nov 22 11:08:26 2010 -0300

    Initial import (#645760).

 .gitignore               |    1 +
 django-ajax-selects.spec |   56 ++++++++++++++++++++++++++++++++++++++++++++++
 sources                  |    1 +
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..687ca36 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-ajax-selects-1.1.4.tar.gz
diff --git a/django-ajax-selects.spec b/django-ajax-selects.spec
new file mode 100644
index 0000000..acb37b9
--- /dev/null
+++ b/django-ajax-selects.spec
@@ -0,0 +1,56 @@
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+Name:           django-ajax-selects
+Version:        1.1.4
+Release:        3%{?dist}
+Summary:        Enables editing of ForeignKey, ManyToMany and simple text fields
+
+Group:          Development/Languages
+License:        MIT or GPL+
+URL:            http://pypi.python.org/pypi/django-ajax-selects
+Source:         http://pypi.python.org/packages/source/d/django-ajax-selects/%{name}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  python-devel python-setuptools-devel Django
+Requires:       Django
+
+%description
+Enables editing of ForeignKey, ManyToMany and simple text fields using the 
+Autocomplete - jQuery plugin.
+django-ajax-selects will work in any normal form as well as in the admin.
+The user is presented with a text field. They type a search term or a few 
+letters of a name they are looking for, an ajax request is sent to the server,
+a search channel returns possible results. Results are displayed as a drop 
+down menu. When an item is selected it is added to a display area just below
+the text field.
+
+%prep
+%setup -q 
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%{python_sitelib}/*
+%doc ajax_select/LICENSE.txt ajax_select/docs.txt 
+
+%changelog
+* Sat Nov 20 2010 Domingo Becker <domingobecker at gmail.com> - 1.1.4-3
+- Fixed License tag.
+- Updated tarball to upstream one.
+
+* Mon Nov 08 2010 Domingo Becker <domingobecker at gmail.com> - 1.1.4-2
+- Fixed some rpmlint warnings.
+
+* Mon Sep 27 2010 Domingo Becker <domingobecker at gmail.com> - 1.1.4-1
+- Initial RPM release
+
diff --git a/sources b/sources
index e69de29..37b5c4e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+91288063da2b020c34f9ec6c166c25f0  django-ajax-selects-1.1.4.tar.gz


More information about the scm-commits mailing list