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

# norootforbuild

Name:           python-django-navtree
Version:        0.1.1alpha
Release:        1
Summary:        Django application for adding hierarchical navigation to projects
License:        MIT
Group:          Development/Libraries/Python
Source:         django-navtree-%{version}.tar.gz
URL:            http://bitbucket.org/markmuetz/django-navtree
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
This is a django application that provides a hierarchical navigation system. It takes
over the URL naming for the resources that it is charge of, but should otherwise play
nicely with existing projects. It defaults to using django.contrib.flatpages for the
content, but can be linked to any other content.

It can provide tight integration with javascript (jquery), and css for the dropdown
menu, and allows you to set colours/pictures based on nav_item through the django
admin interface.

Author:
--------
    Mark Muetzelfeldt <markmuetz@gmail.com>


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