Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > e8be903de8eec3b4c9d329a8d3bd4bb1 > files > 2

django-ajax-selects-1.1.4-3.fc13.src.rpm

%{!?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@gmail.com> - 1.1.4-3
- Fixed License tag.
- Updated tarball to upstream one.

* Mon Nov 08 2010 Domingo Becker <domingobecker@gmail.com> - 1.1.4-2
- Fixed some rpmlint warnings.

* Mon Sep 27 2010 Domingo Becker <domingobecker@gmail.com> - 1.1.4-1
- Initial RPM release