summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbringert <unknown>2004-06-24 11:01:03 +0000
committerbringert <unknown>2004-06-24 11:01:03 +0000
commitd3db78ad31fe8b27c7ebb4e05b92d4c3986cb119 (patch)
tree918bf0eccf0e6f20a1cfac6575adbdacdfcefcac
parent1870deb7172694b96922f8fa6e5939e307bfc5c9 (diff)
Added RPM building setup instructions.
-rw-r--r--src/ReleaseProcedure23
1 files changed, 23 insertions, 0 deletions
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 <yourusername@cs.chalmers.se>
+
+ Build the RPM:
+
$ cd src
$ ./configure
$ make rpm