-%define rev 2303
+%define rev 2427
Summary: DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway
Name: davmail
-Version: 4.5.1
+Version: 4.7.2
Release: 1
License: GPL v2
Group: Applications/Mail
Source0: http://downloads.sourceforge.net/davmail/%{name}-linux-x86-%{version}-%{rev}.tgz
-# Source0-md5: 3185dce7dc6d2bc7417c22d724b31530
+# Source0-md5: c2b349cd9ba90b7cb69c421f9fac1a98
Source1: http://downloads.sourceforge.net/davmail/%{name}-linux-x86_64-%{version}-%{rev}.tgz
-# Source1-md5: 94474d929f7ca70ded6d6088c5086595
+# Source1-md5: 2fd21d36ffd439f2c176c8be8e63b32d
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}