From d3db78ad31fe8b27c7ebb4e05b92d4c3986cb119 Mon Sep 17 00:00:00 2001 From: bringert Date: Thu, 24 Jun 2004 11:01:03 +0000 Subject: [PATCH] Added RPM building setup instructions. --- src/ReleaseProcedure | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/ReleaseProcedure b/src/ReleaseProcedure index a6f5ca675..3a377185e 100644 --- a/src/ReleaseProcedure +++ b/src/ReleaseProcedure @@ -38,6 +38,29 @@ Procedure for making a GF release: 10. Build an x86/linux RPM (should be done on a Mandrake Linux box): + Setup for building RPMs (first time only): + + - Make sure that you have the directories neccessary to build + RPMs: + + $ mkdir -p ~/rpm/{BUILD,RPMS/$ARCH,RPMS/noarch,SOURCES,SRPMS,SPECS,tmp} + + - Create ~/.rpmrc with the following contents: + +buildarchtranslate: i386: i586 +buildarchtranslate: i486: i586 +buildarchtranslate: i586: i586 +buildarchtranslate: i686: i586 + + - Create ~/.rpmmacros with the following contents: + +%_topdir %(echo ${HOME}/rpm) +%_tmppath %{_topdir}/tmp + +%packager Your Name + + Build the RPM: + $ cd src $ ./configure $ make rpm