Commit 8ad93e10 authored by Quality Assurance's avatar Quality Assurance Committed by qa

Added installer.rpm target, first cut of new rpm

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@7090 b35dd754-fafc-0310-a699-88a17e54d16e
parent c075978d
......@@ -982,6 +982,34 @@
</install4j>
</target>
<!-- installer.rpm ========================================================================= -->
<property name="target.rpm" value="${work.dir}/rpm" />
<target name="installer.rpm" depends="init, dist.init" description="Builds a rpm of wildfire.">
<mkdir dir="${target.rpm}/SPECS" />
<mkdir dir="${target.rpm}/SOURCES" />
<mkdir dir="${target.rpm}/BUILD" />
<mkdir dir="${target.rpm}/SRPMS" />
<mkdir dir="${target.rpm}/RPMS" />
<copy todir="${target.rpm}/SPECS" file="${basedir}/build/rpm/wildfire.spec" />
<copy todir="${target.rpm}/SOURCES" file="${release.dest.dir}/${release.fullname.src}.tar.gz" />
<copy todir="${target.rpm}/BUILD/wildfire-root/opt" >
<fileset dir="${release.out.dir}/.."
includes="${release.fullname}/**/*, ${release.name}/**/*"/>
</copy>
<rpm specFile="wildfire.spec"
topDir="${target.rpm}"
command="-ba"
failOnError="true"
/>
<copy todir="${release.dest.dir}" >
<fileset dir="${target.rpm}/SRPMS" />
<fileset dir="${target.rpm}/RPMS/i386" />
</copy>
</target>
<!-- plugins =============================================================================== -->
<target name="plugins" description="Builds all plugins">
......
Summary: Wildfire XMPP Server
Name: wildfire
Version: 3.2.0
Release: 1
BuildRoot: %{_builddir}/%{name}-root
Source0: %{name}_src_3_2_0.tar.gz
Group: Applications/Communications
Vendor: Jive Software
License: Commercial
URL: www.igniterealtime.org
%description
Wildfire XMPP Server
%prep
pwd
%build
%install
%files
%defattr(-,root,root)
/opt/wildfire/bin
/opt/wildfire/lib
/opt/wildfire/logs/stderr.out
/opt/wildfire/plugins
/opt/wildfire/resources
/opt/wildfire/documentation
%config /opt/wildfire/conf/wildfire.xml
%docdir /opt/wildfire/documentation
%doc /opt/wildfire/LICENSE.html
%doc /opt/wildfire/README.html
%doc /opt/wildfire/changelog.html
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment