File offlineimap.spec of Package offlineimap
#
# spec file for package offlineimap (Version 6.2.0)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: offlineimap
BuildRequires: docbook-utils python-devel
Version: 6.2.0
Release: 2
Source: %{name}_%{version}.orig.tar.gz
Source100: offlineimap-rpmlintrc
Patch0: %{name}-fix-deprecation-warning.diff
Summary: Powerful IMAP/Maildir synchronization and reader support
Group: Productivity/Networking/Email/Utilities
License: GPLv2+
Url: http://software.complete.org/offlineimap/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%py_requires
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%endif
%description
OfflineIMAP is a tool to simplify your e-mail reading. With
OfflineIMAP, you can:
* Read the same mailbox from multiple computers, and have your
changes (deletions, etc.) be automatically reflected on all
computers
* Use various mail clients to read a single mail box
* Read mail while offline (on a laptop) and have all changes
synchronized when you get connected again
* Read IMAP mail with mail readers that do not support IMAP
* Use SSL (secure connections) to read IMAP mail even if your reader
doesn't support SSL
* Synchronize your mail using a completely safe and fault-tolerant
algorithm. (At least I think it is!)
* Customize which mailboxes to synchronize with regular expressions
or lists.
* Synchronize your mail two to four times faster than with other tools
or other mail readers' internal IMAP support.
Authors:
--------
John Goerzen <jgoerzen@complete.org>
%prep
%setup -q -n %{name}
%patch0 -p1
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
make doc
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1/
install -m 644 %{name}.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYING COPYRIGHT FAQ.html UPGRADING offlineimap.conf*
%{_mandir}/*/*
%{_bindir}/offlineimap
%{python_sitelib}/offlineimap
%if %{suse_version} > 1010
%{python_sitelib}/*egg-info
%endif
%changelog