Correction.
Robert wrote:
Hi everyone,
I'm trying to use RPM to install a few libraries and applications.
The libraries and binaries are allready built and all I want RPM to do
is some installing and soft linking. My problem currently is that
rpmbuild is expecting my files to be in /usr/src/redhat/SOURCES/ which
they are not, is this a hard requirement?
What I'd like to do is have a build directory (on my build machine)
where the libs and bins are placed. For example,
foo/build/lib/libA.so
foo/build/lib/libB.so
foo/build/bin/appY.so
foo/build/bin/appZ.so
and I'd like to have a spec file at say, the foo/ level that grabs these
libs and bins and installs them on the target system at,
/usr/bin/appY.so
/usr/bin/appZ.so
/usr/lib/foo/libA.so
/usr/lib/foo/libA.so
The documentation at www.rpm.org doesn't seem to clearly distinguish
between the build machine and the target platform. I'd guess that this
is because in most cases the source code is extracted on the target
system, built there and installed.
Even though I seem to describe the abilities of a self-extracting .zip
file (don't know if they exist on Linux) I think I want to use RPM so
that I can keep track of updates and whatnot.
Can anyone help? Thanks in advance,
//Rob