File python-django-popularity.spec of Package python-django-popularity

# norootforbuild

Name:           python-django-popularity
Version:        0.2
Release:        1
Summary:        A generic view- and popularity tracking pluggable for Django
License:        GPLv3
Group:          Development/Libraries/Python
Source:         django-popularity-%{version}.tar.gz
URL:            http://github.com/dokterbob/django-popularity
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
The pluggable django-popularity makes it very easy to track the amount of views for
objects, and generate (generic) popularity listings based upon that.
Right now it has a measure for view counts, relative view counts, novelty and
popularity for ''all'' possible objects.

Author:
--------
    Mathijs de Bruin <drbob@dokterbob.net>


%prep
%setup -q -n django-popularity-%{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)
openSUSE Build Service is sponsored by