%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: python-typepad Version: 1.0 Release: 1%{?dist} Summary: Connectivity to the TypePad API through remote objects Group: Development/Languages License: BSD URL: http://sixapart.github.com/python-typepad-api/ Source0: http://pypi.python.org/packages/source/t/typepad/typepad-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel python-setuptools-devel Requires: python-batchhttp python-httplib2 python-oauth python-remoteobjects python-simplejson %description The typepad package contains RemoteObject implementations for TypePad's content objects and an OAuth client for making authenticated requests to the API. %prep %setup -q -n typepad-%{version} %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 * Tue Oct 06 2009 Sebastian Dziallas - 1.0-1 - initial packaging