-%define rev 2292
+%define rev 2416
Summary: DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway
Name: davmail
-Version: 4.5.0
-Release: 0.1
+Version: 4.7.1
+Release: 1
License: GPL v2
Group: Applications/Mail
Source0: http://downloads.sourceforge.net/davmail/%{name}-linux-x86-%{version}-%{rev}.tgz
-# Source0-md5: 226172efde3d6746d9909fcb07be1aff
+# Source0-md5: 95ccac520040732e078556b238aa37b9
Source1: http://downloads.sourceforge.net/davmail/%{name}-linux-x86_64-%{version}-%{rev}.tgz
-# Source1-md5: 8f179b9564e94fdd2d85cb5bbe8ca096
+# Source1-md5: aa4c2d3437046dbce60cdc92839fdb1b
Patch0: %{name}-base.patch
URL: http://davmail.sourceforge.net/
-Requires: jdk
+BuildRequires: rpm-javaprov
+Requires: jre
+ExclusiveArch: %{ix86} %{x8664}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
DavMail is a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway
-allowing users to use any mail/calendar client (e.g. Thunderbird
-with Lightning or Apple iCal) with an Exchange server, even from
-the internet or behind a firewall through Outlook Web Access.
+allowing users to use any mail/calendar client (e.g. Thunderbird with
+Lightning or Apple iCal) with an Exchange server, even from the
+internet or behind a firewall through Outlook Web Access.
%prep
%setup -qcT
-%ifarch i686 athlon
+%ifarch %{ix86}
%{__tar} zxf %{SOURCE0} --strip-components=1
%endif
%ifarch %{x8664}