%define oname libgmail %define name python-%oname %define version 0.1.11 %define release %mkrel 3 Summary: Python bindings to access Gmail Name: %{name} Version: %{version} Release: %{release} Source0: http://downloads.sourceforge.net/libgmail/%{oname}-%{version}.tar.gz License: GPL Group: Development/Python BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Url: http://libgmail.sourceforge.net/ BuildArch: noarch BuildRequires: python-devel BuildRequires: python-mechanize Requires: python-mechanize %description This is a Python library to access Google Mail. %prep %setup -q -n %oname-%version %build python setup.py build %install python setup.py install --root=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %py_puresitedir/gmail*py* %py_puresitedir/lgconstants.py* %py_puresitedir/libgmail* %changelog * Tue Sep 15 2009 Thierry Vignaud <tvignaud@mandriva.com> 0.1.11-3mdv2010.0 + Revision: 442246 - rebuild * Fri Dec 26 2008 Adam Williamson <awilliamson@mandriva.org> 0.1.11-2mdv2009.1 + Revision: 319533 - rebuild with python 2.6 * Sun Nov 09 2008 Götz Waschk <waschk@mandriva.org> 0.1.11-1mdv2009.1 + Revision: 301341 - new version - update file list * Sun Jul 27 2008 Götz Waschk <waschk@mandriva.org> 0.1.10-2mdv2009.0 + Revision: 250696 - new version - update deps * Sat May 03 2008 Götz Waschk <waschk@mandriva.org> 0.1.9-1mdv2009.0 + Revision: 200761 - new version - depend on ClientCookie + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Wed Nov 14 2007 Götz Waschk <waschk@mandriva.org> 0.1.8-1mdv2008.1 + Revision: 108688 - new version * Tue Oct 09 2007 Götz Waschk <waschk@mandriva.org> 0.1.7-1mdv2008.1 + Revision: 95773 - new version * Fri Jan 19 2007 Götz Waschk <waschk@mandriva.org> 0.1.5.1-1mdv2007.0 + Revision: 110835 - Import python-libgmail * Fri Jan 19 2007 Götz Waschk <waschk@mandriva.org> 0.1.5.1-1mdv2007.1 - initial package