File python-django-template-repl.spec of Package python-django-template-repl
# norootforbuild
Name: python-django-template-repl
Version: 0.3.0
Release: 1
Summary: A readline shell for the Django template language
License: BSD License
Group: Development/Libraries/Python
Source: django-template-repl-%{version}.tar.gz
URL: http://github.com/codysoyland/django-template-repl
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-template-repl is a readline shell for the Django template language.
It is similar to a cpython shell but it interprets template code instead of
python. It can be invoked either as a management comment or within another
template for debugging.
Author:
--------
Cody Soyland <codysoyland@gmail.com>
%prep
%setup -q -n django-template-repl-%{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)