============================= How to build deegree owsproxy ============================= Get a build system ================== poly -r OpenSuse-10.3-LGN-GISpatcher-bausystem-20090311 su - builder Get a rpm build chain ===================== svn checkout https://svn.wald.intevation.org/svn/gispatcher/trunk gispatcher_trunk_bj cd /home/builder/gispatcher_trunk_bj/deegree/owsproxy/rpm Build a deegree binary ====================== Adjust patches, version and revision numbers in create-deegree-tarball.sh Building binary --------------- ./create-deegree-tarball.sh 2>&1 | tee create-deegree-logfile.log Replace the old deegree library with the new one in /home/builder/gispatcher_trunk_bj/deegree/owsproxy/WEB-INF/lib Preparation for rpm build ========================= Make changes to: /home/builder/gispatcher_trunk_bj/deegree/owsproxy/WEB-INF/* Adjust: /home/builder/gispatcher_trunk_bj/deegree/owsproxy/rpm/owsproxy.spec - PACKAGE_VERSION - release - Changelog /home/builder/gispatcher_trunk_bj/deegree/owsproxy/rpm/Makefile - VERSION - RELEASE Build rpm package ================= cd /home/builder/gispatcher_trunk_bj/deegree/owsproxy/rpm make rpm Results ------- /home/builder/rpms/SRPMS/deegree-owsproxy-2.3pre-4gp.src.rpm /home/builder/rpms/RPMS/noarch/deegree-owsproxy-2.3pre-4gp.i586.rpm Finished! Further Steps ============= - copy packages to local rpm webmirror (see intranet wiki for details) - test the new packages on a test system - publish the new packages on http://rpm.gispatcher.com Hints ===== For other than a i586 build --------------------------- For noarch change: /home/builder/gispatcher_trunk_bj/deegree/owsproxy/rpm/Makefile Change line: rpm: rpmsource rpmbuild --target i586 -ba $(SERVICE).spec TO: rpm: rpmsource rpmbuild --target noarch -ba $(SERVICE).spec RESULT: /home/builder/rpms/RPMS/noarch/deegree-owsproxy-1.3pre-4gp.noarch.rpm Some checks ----------- Infos about the package: rpm -qlp RPMs extract: rpm2cpio | cpio -idm