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

# norootforbuild

Name:           python-django-cropper
Version:        0.1.4a
Release:        1
Summary:        Image cropping for the Django admin
License:        MIT
Group:          Development/Libraries/Python
Source:         django_cropper-%{version}.tar.gz
URL:            http://github.com/simonw/django_cropper
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
A simple project that integrates the excellent Jcrop jQuery plugin with the
Django admin.

Author:
--------
    Simon Willison <simon@simonwillison.net>


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