%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: typepad-motion Version: 1.0.1 Release: 3%{?dist} Summary: A microblogging application for building online communities Group: Applications/Publishing License: BSD URL: http://developer.typepad.com/motion/create-motion.html Source0: http://pypi.python.org/packages/source/t/%{name}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: Django python-devel python-setuptools-devel Requires: Django django-flash django-typepad python-batchhttp python-feedparser python-httplib2 Requires: python-oauth python-remoteobjects python-simplejson python-typepad sqlite %description A Motion site is a place where people come together, on the Web, to share thoughts, interesting links, favorite photos, great music and exciting videos. Build Motion as a stand-alone community or integrate it into your existing website as a flexible community portal. %prep %setup -q %build python setup.py build %install rm -rf $RPM_BUILD_ROOT python setup.py install --skip-build --root $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc LICENSE %{python_sitelib}/* %changelog * Wed Oct 07 2009 Sebastian Dziallas - 1.0.1-3 - add sqlite dependency * Tue Oct 06 2009 Sebastian Dziallas - 1.0.1-2 - update package requirements * Tue Oct 06 2009 Sebastian Dziallas - 1.0.1-1 - initial packaging