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

# norootforbuild

Name:           python-django-hierarchy
Version:        0.2.3
Release:        1
Summary:        A library for storing trees in the Django ORM
License:        BSD License
Group:          Development/Libraries/Python
Source:         django-hierarchy-%{version}.tar.gz
URL:            http://bitbucket.org/lars512/django-hierarchy
BuildRequires:  python-devel, python-setuptools
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       python-django, python-consolelog
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%endif


%description
Provides the nested set abstraction for accessing and modifying a
database table which represents a tree, using the Django ORM.

Author:
--------
    Lars Yencken <lljy@csse.unimelb.edu.au>


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