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

# norootforbuild

Name:           python-django-chunks
Version:        0.2
Release:        1
Summary:        Simple, keyed chunks of content you can insert into your templates
License:        BSD License
Group:          Development/Libraries/Python
Source:         django-chunks-%{version}.tar.gz
URL:            http://code.google.com/p/django-chunks
BuildRequires:  python-devel, python-setuptools
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       python-django
%{py_requires}


%description
Think of it as flatpages for small bits of reusable content you might want to insert into your
templates and manage from the admin interface.

This is really nothing more than a model and a template tag.

By adding chunks to your installed apps list in your Django project and performing a
./manage.py syncdb, you'll be able to add as many "keyed" bits of content chunks to your site.

The idea here is that you can create a chunk of content, name it with a unique key
(for example: home_page_left_bottom) and then you can call this content from a normal template.

Author:
--------
    Clint Ecker


%prep
%setup -q -n django-chunks


%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