File python-django-notices.spec of Package python-django-notices
# norootforbuild
Name: python-django-notices
Version: 0.2
Release: 1
Summary: A message notification system for Django
License: BSD License
Group: Development/Libraries/Python
Source: django-notices-%{version}.tar.gz
URL: http://github.com/dcramer/django-notices
BuildRequires: python-devel, python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-django
%{py_requires}
%description
Django-notices is a replacement for the built-in message notification system in Django.
It works off of the current session rather than a database store, which means it also works for
Anonymous users, and does not require doing database queries each time you need to access it.
Author:
--------
David Cramer <dcramer@gmail.com>
%prep
%setup -q -n django-notices-%{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)