File python-django-ajaxcomments.spec of Package python-django-ajaxcomments
# norootforbuild
Name: python-django-ajaxcomments
Version: 0.2
Release: 1
Summary: Easily add AJAX-based comment functionality to a Django project
License: BSD License
Group: Development/Libraries/Python
Source: django-ajaxcomments-%{version}.tar.gz
URL: http://bitbucket.org/bkonkle/django-ajaxcomments
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
A reusable app to simplify the implementation of an Ajax interface for comments and reduce
the amount of repetition needed for using the feature across multiple sites.
Author:
--------
Brandon Konkle <brandon.konkle@adoleo.com>
%prep
%setup -q -n django-ajaxcomments-%{version}
%build
find -name .\* -delete
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)