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

# norootforbuild

Name:           python-django-composition
Version:        0.2
Release:        1
Summary:        Generic denormalization facilities for Django models
License:        BSD License
Group:          Development/Libraries/Python
Source:         django-composition-%{version}.tar.gz
URL:            http://pypi.python.org/pypi/django-composition/
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-composition provides the abstract way to denormalize data from your models in simple declarative way through special generic model field called `CompositionField`

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