RPM Packaging

I’ve been occasionally making RPM packages, but I’ve only really followed the method of packaging stuff that came from a tar-ball that needed compiling. Yesterday at work I needed to package a static-binary for some hardware infomation gathering program we use here, and for the life of me I couldn’t find any documentation on how to do it easily for such files. All the howto’s (and even the bloody book I spent all my cash on) didn’t seem to be dispensing much wisdom on it.

After digging through some of Dag Wieers .spec files, I managed to find that using install to install the files from $RPM_BUILD_DIR to $RPM_BUILD_ROOT in the %install stanza of the spec file seems to be the goods (well atleast on my laptop running FC1).

One thought on “RPM Packaging”

Comments are closed.