rpm installation directory flexibility
From: Rose (spamaccout69_at_yahoo.com)
Date: 10/30/03
- Next message: Gordon Pettey: "Re: Audio: Turtle Beach Montego II Quadzilla"
- Previous message: haitao: "Re: the installation of RTL8139c."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Oct 2003 13:43:37 -0800
Forgive me as I am a new user to the rpm world ... but I am trying to
create an rpm that will pick up and package files from one directory
and install them to another. I have done quite a bit of reading on
the subject and am rapidly running out of time on this project.
In my spec file in the %files section I have defined where to pick up
and which files to pick up....for example:
/export/home/myhomedir/workingarea
then when I install it trys to put the binaries back in the same
location. I want them to install to /var/lib/applicationname. When I
tried specifying where I wanted them to go instead of where to pick
them up it created all sorts of confusion during the build. And it
wouldn't produce a .rpm file.
I am an installshield developer and am used to being able to define in
one place where the install should pick up the files to be packaged
and in another place where to install those files that it picked up
and packaged. I am at a loss on how to define it with RPM. I feel
like I am missing something in all this documentation and that I am
reading in circles. Can anyone shed some light???
Here is my spec file format... (this seems to want to pick up from
/var/pbiace/rel_2003_10 and not
%_topdir/BUILD/var/lib/pbiace/rel_2003_10)
Version:rel_2003_10
%define sBaseDir /var/pbiace/rel_2003_10
BuildRoot:/var/pbiace/rel_2003_10
Copyright:
Name:
Packager:BuildManager
Prefix:
Release:1
AutoReq:no
Summary:
Vendor:
Group:
Source:
%description
%build
%install
%files
/%{sBaseDir}/*
- Next message: Gordon Pettey: "Re: Audio: Turtle Beach Montego II Quadzilla"
- Previous message: haitao: "Re: the installation of RTL8139c."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|