%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: django-addons Version: 0.6.4 Release: 4%{?dist} Summary: A framework to create pluggable Django add-ons Group: Development/Languages License: BSD URL: http://pypi.python.org/pypi/django-addons Source: http://pypi.python.org/packages/source/d/django-addons/%{name}-%{version}.tar.gz Patch: http://beckerde.fedorapeople.org/transifex/django-addons-remove-requires.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel python-setuptools-devel Django Requires: Django django-staticfiles %description A Django app used to add true plug-n-play functionality to your own Django applications and projects. %prep %setup -q %patch %build %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install --root $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{python_sitelib}/* %doc LICENSE README %changelog * Fri Dec 03 2010 Domingo Becker - 0.6.4-4 - Python for el5 complains about requires, it is removed from python code * Fri Dec 03 2010 Domingo Becker - 0.6.4-3 - fixed Django version number requirement in setup.py for el5 (1.1.1) * Fri Dec 03 2010 Domingo Becker - 0.6.4-2 - fixed Django version number requirement in setup.py for el5 (1.1.2) * Mon Nov 08 2010 Domingo Becker - 0.6.4-1 - updated to 0.6.4 * Thu Nov 04 2010 Domingo Becker - 0.6.3-1 - updated to 0.6.3 * Thu Nov 04 2010 Domingo Becker - 0.6.2-2 - applied patch from Toshio - added %%doc section with license and readme files - fixed full urls for the patches * Thu Oct 28 2010 Domingo Becker - 0.6.2-1 - updated to 0.6.2 - fixed license information, URL, Source path and a little patch to models.py. * Mon Sep 27 2010 Domingo Becker - 0.6.1-1 - Initial RPM release