mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-05 10:47:59 -05:00
Experimental rpm package build
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@957 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
93cf6156cc
commit
f7e839f02a
29
build.xml
29
build.xml
@ -172,6 +172,32 @@
|
||||
</deb>
|
||||
</target>
|
||||
|
||||
<target name='dist-rpm'>
|
||||
<taskdef name='rpm' classname='org.freecompany.redline.ant.RedlineTask'>
|
||||
<classpath location="lib/ant-deb-0.0.1.jar"/>
|
||||
</taskdef>
|
||||
|
||||
<rpm group='mail' name='davmail' version='${release}' destination='dist'>
|
||||
<zipfileset dir="dist" prefix="usr/share/davmail">
|
||||
<include name="lib/*.jar"/>
|
||||
<include name="*.jar"/>
|
||||
<!-- exclude swt jars from package -->
|
||||
<exclude name="lib/swt*.jar"/>
|
||||
</zipfileset>
|
||||
<zipfileset dir="src/bin" prefix="usr/bin" filemode="755">
|
||||
<include name="davmail"/>
|
||||
</zipfileset>
|
||||
<zipfileset dir="dist" prefix="usr/share/davmail">
|
||||
<include name="davmail.png"/>
|
||||
</zipfileset>
|
||||
<zipfileset dir="dist" prefix="usr/share/applications">
|
||||
<include name="davmail.desktop"/>
|
||||
</zipfileset>
|
||||
</rpm>
|
||||
|
||||
</target>
|
||||
|
||||
|
||||
<target name="dist" depends="compile">
|
||||
<property name="release-name" value="${release}-trunk"/>
|
||||
<delete dir="dist"/>
|
||||
@ -261,6 +287,7 @@
|
||||
</tar>
|
||||
<antcall target="dist-nsis"/>
|
||||
<antcall target="dist-deb"/>
|
||||
<antcall target="dist-rpm"/>
|
||||
<antcall target="dist-osx"/>
|
||||
<!-- source package -->
|
||||
<tar tarfile="dist/davmail-src-${release-name}.tgz" compression="gzip" longfile="gnu">
|
||||
@ -306,7 +333,7 @@
|
||||
</target>
|
||||
|
||||
<target name="release" depends="init">
|
||||
<property name="release-name" value="${release}"/>
|
||||
<property name="release-name" value="${release}"/>
|
||||
<antcall target="dist"/>
|
||||
</target>
|
||||
</project>
|
||||
|
BIN
lib/redline-1.1.3.jar
Normal file
BIN
lib/redline-1.1.3.jar
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user