Sisyphus repository
Last update: 12 december 2019 | SRPMs: 17493 | Visits: 16064040
en ru br
ALT Linux repos

Group :: Networking/Other
RPM: davmail

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _localstatedir %_var
%define _enable_debug_packages %nil
%define debug_package %nil
%global _davsvn 2891

%ifarch %ix86
%global davarch x86
%ifarch x86_64
%global davarch x86_64

Name:     davmail
Version:  5.4.0
Release:  alt1
Summary:  POP/IMAP/SMTP/Caldav/Carddav/LDAP gateway for Microsoft Exchange
Group:    Networking/Other
License:  GPLv2+

BuildArch: noarch

Source0:  %name-%version.tar
Source1:  %name.desktop

Requires: java
Requires: javapackages-tools
Requires: swig

BuildRequires: java-devel-default /proc
BuildRequires: ant
BuildRequires: desktop-file-utils
BuildRequires: xml-commons-apis

DavMail is a POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange gateway allowing
users to use any mail/calendar client with an Exchange server, even from
the internet or behind a firewall through Outlook Web Access. DavMail
now includes an LDAP gateway to Exchange global address book and user
personal contacts to allow recipient address completion in mail compose
window and full calendar support with attendees free/busy display.


sed -i '/class-path/I d' build.xml
ANT_OPTS="-Dfile.encoding=UTF-8" ant

install -p -Dm755 src/bin/%name %buildroot%_bindir/%name

install -p -Dm644 %SOURCE1 %buildroot%_desktopdir/%name.desktop
install -p -Dm644 src/java/tray2.png %buildroot%_datadir/icons/hicolor/16x16/apps/%name.png
install -p -Dm644 src/java/tray32.png %buildroot%_datadir/icons/hicolor/32x32/apps/%name.png
install -p -Dm644 src/java/tray48.png %buildroot%_datadir/icons/hicolor/48x48/apps/%name.png

rm -f dist/lib/*win32*.jar
mkdir -p %buildroot%_datadir/%name/lib/
install -p -m664 dist/lib/*.jar %buildroot%_datadir/%name/lib/
rm -f dist/lib/*x86*.jar
install -p -m664 dist/lib/* %buildroot%_datadir/%name/lib/
install -p -m664 dist/*.jar %buildroot%_datadir/%name/
install -p -Dm644 src/etc/ %buildroot%_sysconfdir/%name/

sed -i 's/\r//' releaseguide.txt

%doc releaseguide.txt


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin