scummvm/dists/redhat
2014-12-21 13:22:37 +01:00
..
README PORT: update red hat files 2012-04-15 11:54:36 +02:00
residualvm48.png PORT: added redhat package 2012-04-15 09:02:06 +02:00
residualvm.spec ALL: upgrade version number for master 2014-12-21 13:22:37 +01:00
residualvm.spec.in README: renamed to new file 2014-09-09 17:34:42 +02:00

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,
adapt the below instructions where necessary.


1) Collect sources:

Place residualvm-%{version}.tar.bz2, libmad-0.15.1b.tar.bz2 
and libmpeg2-0.5.1.tar.gz in /usr/src/redhat/SOURCES .
If you have a different version of libmad, put the correct version
numbers in the .spec file.

Place residualvm.spec in /usr/src/redhat/SPECS .

2) Build the rpm:

Change directory to /usr/src/redhat/SPECS .
Run:

rpmbuild -ba residualvm.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 libmpeg2 are statically linked into the residualvm binary
because Fedora does not carry a libmad and libmpeg2 package, so I did not
want to make the residualvm package depend on them.