Fedora Linux Support Community & Resources Center
  #1  
Old 22nd August 2007, 05:28 AM
munna_dude Offline
Registered User
 
Join Date: Dec 2006
Location: hyd -INDIA
Posts: 277
install rpm in $HOME path

hi all
how to specify the $HOME path in spec file,
to install the files in $HOME..

is it possible..
if yes,
please tell me the way..
am very glad to send an appropriate spec file..
coz, i read some spec file nobudy given the path of $HOME...

please help me

thank you in advance
Reply With Quote
  #2  
Old 24th August 2007, 04:18 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 28
Posts: 7,909
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.
Reply With Quote
  #3  
Old 24th August 2007, 05:31 AM
munna_dude Offline
Registered User
 
Join Date: Dec 2006
Location: hyd -INDIA
Posts: 277
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
Reply With Quote
Reply

Tags
$home, install, path, rpm

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
install softy in different path? RajuTiwari Using Fedora 7 21st May 2007 04:22 PM
Wine install path sven_henson Using Fedora 2 20th March 2007 03:43 AM
PATH environment for rpm install sschefter Installation, Upgrades and Live Media 1 17th February 2007 03:45 AM
java home not in my env path paul72954 Installation, Upgrades and Live Media 4 8th September 2006 09:23 PM
What is Fedora's KDE Install DIR/PATH? inter01 Using Fedora 1 26th October 2004 12:27 AM


Current GMT-time: 22:14 (Monday, 22-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat