[HLUG] Source RPMs
Benji Weber
benji.weber at gmail.com
Mon Jan 15 23:49:08 GMT 2007
On 1/15/07, Jeff Tupholme <jeff at repositive.com> wrote:
> Hi all,
>
> I believe most people are running Ubuntu but I still have a couple of
> machines running a Red Hat variant (Yellow Dog). That uses RPM for
> its package management. I want to add a couple of additional codecs
> to ffmpeg that are only available in source form, so I thought I
> would try to incorporate them into the source RPM (SRPM). I believe I
> can unpack the SRPM and add the extra directories in before building;
> the ffmpeg Makefile is supposed to notice them and roll them in.
Sure, rpm -i packagename.src.rpm will extract in /usr/src/packages
Then replace the source in /usr/src/packages/SOURCES with the new
source code, if necessary modify the spec file in
/usr/src/packages/SPECS (you may at least wish to bump the version
number) then issue rpmbuild -ba ./packagename.spec in
/usr/src/packages/SPECS
_
Benjamin Weber
More information about the Herefordshire
mailing list