%global srcversion 1.4-0 Name: django-threaded-multihost Version: 1.4.0 Release: 2%{?dist} Summary: Django app to enable multi-site awareness in Django apps Group: Development/Libraries License: BSD URL: http://pypi.python.org/pypi/django-threaded-multihost/ Source0: http://pypi.python.org/packages/source/d/django-threaded-multihost/%{name}-%{srcversion}.tar.gz Patch0: setup.patch BuildArch: noarch BuildRequires: python-setuptools BuildRequires: python-devel Requires: Django %description django-threaded multihost provides support utilities to enable easy multi-site awareness in Django apps. %prep %setup -q -n %{name}-%{srcversion} %patch0 -p0 %build %{__python} setup.py build %install %{__python} setup.py install --skip-build --root=%{buildroot} %files %doc docs/ LICENSE.rst %{python_sitelib}/threaded_multihost/ %{python_sitelib}/*.egg-info/ %changelog * Mon Jul 18 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 1.4.0-2 - Add requires on Django * Tue Jul 12 2011 Praveen Kumar <kumarpraveen.nitdgp@gmail.com> - 1.4.0-1 - Initial RPM release