Quote:
|
Originally Posted by Jman
Relocatable packages are possible however Fedora generally doesn't design rpm specs for doing so, not many people use it. I've never needed to install anything in a different place like this.
|
sorry the link not helpfull...
here is the sample spec file.. which i am trying to do...
Code:
Summary: GNU munna
Name: munna
Version: Beta
Release: FC7
Source0: %{name}-%{version}.tar.gz
License: GPL
Group : Utilities/System
URL : http://munna.com/
Packager: {%Packager}
%description
The GNU indent program reformats C code to any of a variety of
formatting standards, or you can define your own.
%prep
%setup -q
%build
make
%install
%clean
rm -rf %{buildroot}
%files
/root/one/munna
please observe the bold text...
instead of /root/one/munna
i would like to give the path $HOME/one/munna... so that at the user level and root level
the rpm will be (munna exe ) install at that path...
means not the direct $HOME... is there any way to represent the &HOME apth..
please help me
thank you in advance