File python-django-extensions.spec of Package python-django-extensions
Name: python-django-extensions
Version: 2.2.1
Release: 0
Summary: Django Extensions is a collection of custom extensions for the Django Framework.
License: MIT
Group: Development/Libraries/Python
URL: https://github.com/django-extensions/django-extensions
Source: https://github.com/django-extensions/django-extensions/archive/%{version}.tar.gz
Patch0: e878a9cc73595ead54df4e07137b4334bf6ac2cc.patch
Requires: python-django >= 1.11
Requires: python2-typing
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Django Extensions is a collection of custom extensions for the Django Framework.
%prep
%setup -q -n django-extensions-%{version}
%patch0 -p1
%build
python2 setup.py build
%install
python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%changelog