Update rpm ant task parameters to create valid rpm package

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1553 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-11-24 09:36:53 +00:00
parent f81c17b1bd
commit 37b6c1280d
1 changed files with 27 additions and 3 deletions

View File

@ -58,7 +58,7 @@
<target name="compile" depends="init">
<mkdir dir="target/classes"/>
<javac srcdir="src/java" destdir="target/classes" source="1.5" target="1.5" debug="on" encoding="UTF-8"
includeantruntime="false">
includeantruntime="false">
<classpath>
<path refid="classpath"/>
</classpath>
@ -186,7 +186,31 @@
<classpath location="lib/redline-1.1.3.jar"/>
</taskdef>
<rpm group='mail' name='davmail' version='${release}' destination='dist'>
<rpm name='davmail'
summary='DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway'
version='${release}'
release='1'
license='GPL'
group='Applications/Internet'
description='Ever wanted to get rid of Outlook ? 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.
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.
The main goal of DavMail is to provide standard compliant protocols in front of proprietary
Exchange. This means LDAP for globale address book, SMTP to send messages, IMAP to browse
messages on the server in any folder, POP to retrieve inbox messages only, Caldav for
calendar support and Carddav for personal contacts sync.
Thus any standard compliant client can be used with Microsoft Exchange.
DavMail gateway is implemented in java and should run on any platform. Releases are tested
on Windows, Linux (Ubuntu) and Mac OSX. Tested successfully with the Iphone
(gateway running on a server).'
url='http://davmail.sourceforge.net'
vendor='Mickael Guessant'
destination='dist'>
<depends name="jre" version="1.6"/>
<zipfileset dir="dist" prefix="usr/share/davmail">
<include name="lib/*.jar"/>
<include name="*.jar"/>
@ -303,7 +327,7 @@
</tar>
<antcall target="dist-nsis"/>
<antcall target="dist-deb"/>
<!--antcall target="dist-rpm"/-->
<antcall target="dist-rpm"/>
<antcall target="dist-osx"/>
<!-- source package -->
<tar tarfile="dist/davmail-src-${release-name}.tgz" compression="gzip" longfile="gnu">