File python-django-sphinx.spec of Package python-django-sphinx
# norootforbuild
Name: python-django-sphinx
Version: 2.2.3
Release: 1
Summary: An integration layer bringing Django and Sphinx Search together
License: BSD License
Group: Development/Libraries/Python
Source: django-sphinx-%{version}.tar.gz
URL: http://github.com/dcramer/django-sphinx
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
An integration layer bringing Django and Sphinx Search together.
Author:
--------
David Cramer <dcramer@gmail.com>
%prep
%setup -q -n django-sphinx-%{version}
%build
find -name .\* -delete
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)