File python-django-reviews.spec of Package python-django-reviews
# norootforbuild
Name: python-django-reviews
Version: 0.2.1
Release: 1
Summary: Generic reviews for Django
License: BSD License
Group: Development/Libraries/Python
Source: django-reviews-%{version}.tar.gz
URL: http://www.iqpp.com
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 review consists of a comment and a rating. Reviews can be attached to arbitrary content objects.
Author:
--------
Kai Diefenbach <kai.diefenbach@iqpp.de>
%prep
%setup -q -n django-reviews-%{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)