%define name offlineimap %define version 6.2.0 %define rel 3 Summary: Powerful IMAP/Maildir synchronization and reader support Name: %{name} Version: %{version} Release: %mkrel %{rel} Source: %{name}_%{version}.orig.tar.gz License: GPL Group: Networking/Mail BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} BuildArch: noarch Url: http://software.complete.org/software/projects/show/offlineimap Buildrequires: python-devel >= %{pyver} Requires: python >= %{pyver} %description OfflineIMAP is a tool to simplify your e-mail reading. With OfflineIMAP, you can read the same mailbox from multiple computers. You get a current copy of your messages on each computer, and changes you make one place will be visible on all other systems. For instance, you can delete a message on your home computer, and it will appear deleted on your work computer as well. OfflineIMAP is also useful if you want to use a mail reader that does not have IMAP support, has poor IMAP support, or does not provide disconnected operation. %prep %setup -q -n %{name} %build python setup.py build %install rm -rf $RPM_BUILD_ROOT python setup.py install --root=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc UPGRADING COPY* FAQ.html %doc offlineimap.conf* %{_bindir}/offlineimap %{py_puresitedir}/offlineimap %{py_puresitedir}/*.egg-info %changelog * Thu Aug 13 2009 Frederik Himpe <fhimpe@mandriva.org> 6.2.0-3mdv2010.0 + Revision: 416206 - Update to new version 6.2.0 * Tue Jan 06 2009 Funda Wang <fundawang@mandriva.org> 4.0.15-3mdv2009.1 + Revision: 325774 - rebuild * Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 4.0.15-2mdv2008.1 + Revision: 136634 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Tue Dec 12 2006 Michael Scherer <misc@mandriva.org> 4.0.15-2mdv2007.0 + Revision: 95749 - rebuild for new python - update to 4.0.15 - use %%mkrel and python macros - Import offlineimap