%define name python-twitter %define version 0.8.2 %define release %mkrel 2 Summary: Python bingings for Twitter Name: %{name} Version: %{version} Release: %{release} Source0: http://python-twitter.googlecode.com/files/%{name}-%{version}.tar.gz License: ASL 2.0 Group: Development/Python Url: http://code.google.com/p/python-twitter/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildArch: noarch BuildRequires: python-setuptools %description This library provides a pure python interface for the Twitter API. Twitter (http://twitter.com) provides a service that allows people to connect via the web, IM, and SMS. Twitter exposes a web services API (http://twitter.com/help/api) and this library is intended to make it even easier for python programmers to use. %prep %setup -q %build %{__python} setup.py build %install rm -rf %{buildroot} %{__python} setup.py install -O1 --skip-build --root %{buildroot} --install-purelib=%{py_puresitedir} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{py_puresitedir}/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.8.2-2.mga3 + Revision: 379646 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Jun 25 2011 colin <colin> 0.8.2-1.mga2 + Revision: 113640 - imported package python-twitter