2012-06-30 08:48:00 +00:00
|
|
|
Building FlightGear RPM package for Red Hat
|
2003-10-28 20:52:49 +00:00
|
|
|
|
2012-06-30 08:48:00 +00:00
|
|
|
Initial version: G.Richard Keech <rkeech@redhat.com>, 2003-10-29
|
|
|
|
Last updated: The FlightGear Project, 2012-06-30
|
2003-10-28 20:52:49 +00:00
|
|
|
|
|
|
|
This directory contains the files which, along with
|
|
|
|
the source code tar files, can be used to build
|
|
|
|
an RPM package targeted at a Red Hat Linux system.
|
|
|
|
|
|
|
|
To build flighgear from source do the following:
|
|
|
|
|
|
|
|
0. be root on your system (actually it's possible to
|
|
|
|
build from source as a non-root user but
|
|
|
|
I won't go into that now).
|
|
|
|
|
|
|
|
1. copy flightgear.spec to /usr/src/redhat/SPECS/
|
|
|
|
|
2012-06-30 08:48:00 +00:00
|
|
|
2. copy flightgear.desktop to /usr/src/redhat/SOURCES
|
2003-10-28 20:52:49 +00:00
|
|
|
|
2012-06-30 08:48:00 +00:00
|
|
|
3. obtain FlightGear-data-2.8.0.tar.bz2 and flightgear-2.8.0.tar.bz2
|
2003-10-28 20:52:49 +00:00
|
|
|
and copy them into /usr/src/redhat/SOURCES.
|
|
|
|
|
2012-06-30 08:48:00 +00:00
|
|
|
4. obtain and install SimGear (= 2.8.0).
|
2003-10-28 20:52:49 +00:00
|
|
|
|
2012-06-30 08:48:00 +00:00
|
|
|
5. look in the BuildRequires section of flightgear.spec
|
2003-10-28 20:52:49 +00:00
|
|
|
and check that all the packages referred to are
|
|
|
|
installed.
|
|
|
|
|
2012-06-30 08:48:00 +00:00
|
|
|
6. cd /usr/src/redhat/SPECS
|
2003-10-28 20:52:49 +00:00
|
|
|
rpmbuild -ba flightgear.spec
|
|
|
|
|
|
|
|
that's it.
|