I am looking for a really good guide to develop packages for a homegrown
system.  I would like to build either RPM or DPKG (unless somebody can
suggest something better).  I would like a guide for writing scripts (a.k.a.
SPEC file for RPM) to build binary packages.  Everything I have found so far
has not given very good advice about determining file lists (which files
should we list and which should we ignore) and handling binary relocation
(/usr ==> /usr/local).

Any help would be great!

Tom Veldhouse
veldy at veldy.net