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

# norootforbuild

Name:           python-django-snippets
Version:        0.1.2
Release:        1
Summary:        Provides a templatetag where content comes from database
License:        BSD License
Group:          Development/Libraries/Python
Source:         django-snippets-%{version}.tar.gz
URL:            http://github.com/semente/django-snippets
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-snippets provides a templatetag called include_snippet for Django projects.
include_snippet acts as an {% include %}, that loads a template and renders it with the current
context, but the template content comes from database.

Author:
--------
    Guilherme Gondim <semente@taurinus.org>


%prep
%setup -q -n django-snippets-%{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