File python-django-generic-images.spec of Package python-django-generic-images
# norootforbuild
Name: python-django-generic-images
Version: 0.36.1
Release: 1
Summary: Generic images pluggable django app
License: MIT
Group: Development/Libraries/Python
Source: django-generic-images-%{version}.tar.gz
URL: http://bitbucket.org/kmike/django-generic-images
BuildRequires: python-devel, python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-django
Requires: python-django-composition
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%endif
%description
This app provides image model (with useful managers, methods and fields) that can
be attached to any other Django model using generic relations.
Author:
--------
Mikhail Korobov <kmike84@gmail.com>
%prep
%setup -q -n django-generic-images-%{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)