File python-django-project-template-loader.spec of Package python-django-project-template-loader
# norootforbuild
Name: python-django-project-template-loader
Version: 0.1.2
Release: 1
Summary: Provide a template loader which pulls templates from [project_dir]/templates
License: BSD License
Group: Development/Libraries/Python
Source: django-project-template-loader-%{version}.tar.gz
URL: http://bitbucket.org/cliff/django-project-template-loader
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
An app to provide a template loader which pulls templates from [project_dir]/templates.
Author:
--------
J. Cliff Dyer <jcd@sdf.lonestar.org>
%prep
%setup -q -n django-project-template-loader-%{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)