File python-django-autocomplete.spec of Package python-django-autocomplete
# norootforbuild
Name: python-django-autocomplete
Version: 0.1
Release: 1
Summary: An autocomplete widget and form field for Django
License: MIT
Group: Development/Libraries/Python
Source: django-autocomplete-%{version}.tar.gz
URL: http://bitbucket.org/tyrion/django-autocomplete
BuildRequires: python-devel, python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-django
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%endif
%description
Django AutoComplete helps you providing `autocompletion` for your input tags.
You can easily make Django AutoComplete work with any javascript toolkit,
although only YUI and jQuery are supported by default.
Author:
--------
tyrion-mx <tyrion.mx@gmail.com>
%prep
%setup -q -n django-autocomplete-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)