diff options
author | Jonathan Gray | 2004-07-18 14:16:37 +0000 |
---|---|---|
committer | Jonathan Gray | 2004-07-18 14:16:37 +0000 |
commit | 8a593e2e05114dae3120604f0d39bd62e99119f8 (patch) | |
tree | 83b2d8f5ea394fea9d7568d95a911792f9ecaff2 /dists/redhat/README | |
parent | c87804b893ffa527a9cbb99129596e4def651cb5 (diff) | |
download | scummvm-rg350-8a593e2e05114dae3120604f0d39bd62e99119f8.tar.gz scummvm-rg350-8a593e2e05114dae3120604f0d39bd62e99119f8.tar.bz2 scummvm-rg350-8a593e2e05114dae3120604f0d39bd62e99119f8.zip |
update from wjp
svn-id: r14246
Diffstat (limited to 'dists/redhat/README')
-rw-r--r-- | dists/redhat/README | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dists/redhat/README b/dists/redhat/README new file mode 100644 index 0000000000..a8f5bdb2af --- /dev/null +++ b/dists/redhat/README @@ -0,0 +1,35 @@ +How to build an RPM: + + +Note: the following assumes that the RPM topdir is /usr/src/redhat . +If you have set a different topdir in /usr/lib/rpm/macros or ~/.rpmmacros, +replace it with the correct topdir where necessary. + + +1) Collect sources: + +Place scummvm-%{version}.tar.bz2, libmad-0.15.1b.tar.bz2 and +mpeg2dec-0.4.0b.tar.bz2 in /usr/src/redhat/SOURCES . +If you have different versions of mpeg2dec or libmad, put the correct version +numbers in the .spec file. + +Place scummvm.spec in /usr/src/redhat/SPECS . + +2) Build the rpm: + +Change directory to /usr/src/redhat/SPECS . +Run: + +rpmbuild -ba scummvm.spec + +The RPM should now be built and placed in /usr/src/redhat/RPMS/i386 and +the source RPM in /usr/src/redhat/SRPMS + + + + +Note: libmad and mpeg2dec are statically linked into the scummvm binary +because Fedora does not carry libmad and mpeg2dec packages, so I did not +want to make the scummvm package depend on them. +You can get libmad from http://www.underbit.com/products/mad/ +and mpeg2dec from http://libmpeg2.sourceforge.net/ . |