URN Logo
UNIX Resources » Linux » Linux Forum » Linux Discussions » Page.1 » n00b RPM question
announcement The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
n00b RPM question
Subject: n00b RPM question
Author: Robert    Posted: 2006-01-23 14:27:32    Length: 1,469 byte(s)
[Original] [Print] [Top]
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 Windows) I think I want to use RPM so
that I can keep track of updates and whatnot.

Can anyone help? Thanks in advance,

//Rob

[Original] [Print] [Top]
Subject: n00b RPM question
Author: Robert    Posted: 2006-01-23 15:03:33    Length: 1,650 byte(s)
[Original] [Print] [Top]
Correction.

Robert wrote:
QUOTE
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


[Original] [Print] [Top]
« Previous thread
Rim Blackberry Users
Linux Discussions
Page. 1
Next thread »
Problem with SuSe10.0 -winXP networking .. ADSL net on linux !! HELP !
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
Powered by FreeBSD    webmaster: webmaster@unixresources.net
This page created on 2007-08-01 12:08:46, cost 0.022050142288208 ms.