%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %endif Name: django-authenticator Version: 0.1.4 Release: 3%{?dist} Summary: Authentication client for django License: GPLv3 URL: http://pypi.python.org/pypi/django-authenticator/0.1.4 Source0: http://pypi.python.org/packages/source/d/%{name}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools Requires: Django Requires: django-registration Requires: python-import-utils Requires: Django-south Requires: python-oauth2 Requires: python-openid Requires: python-wordpress-xmlrpc %description this is a based on a forked version of django-authopenid module developed for the Askbot forum project. This module is experimental %prep %setup -q %build %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root %{buildroot} # remove forgotten script %{__rm} %{buildroot}%{_bindir}/startforum %files %defattr (-,root,root,-) %doc PKG-INFO %{python_sitelib}/django_authenticator %{python_sitelib}/django_authenticator-%{version}* %changelog * Fri Jan 13 2012 Fedora Release Engineering - 0.1.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Sep 29 2011 Matthias Runge - 0.1.4-2 - fix requires * Tue Sep 20 2011 Matthias Runge - 0.1.4-1 - first packaged version for fedora