Fedora Linux Support Community & Resources Center
  #1  
Old 17th August 2007, 01:40 PM
munna_dude Offline
Registered User
 
Join Date: Dec 2006
Location: hyd -INDIA
Posts: 277
writing spec file

hi all

how to write $HOME in spec file...
i would like to install the files in $HOME/one

can you please help me

thank you inadvance
Reply With Quote
  #2  
Old 17th August 2007, 02:18 PM
vinu Offline
Registered User
 
Join Date: May 2004
Location: Vellore, Tamil Nadu, India
Posts: 192
I found this url extremely useful for getting me started building my own RPMs. http://freshrpms.net/docs/fight/
Reply With Quote
  #3  
Old 17th August 2007, 02:57 PM
Dangermouse Offline
Administrator - (On Leave)
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 48
Posts: 3,864
Hello this wont help you with your problem much, but will write spec files for you from source files
cpan2rpm its in the repos
http://perl.arix.com/cpan2rpm/
Reply With Quote
  #4  
Old 18th August 2007, 10:54 AM
munna_dude Offline
Registered User
 
Join Date: Dec 2006
Location: hyd -INDIA
Posts: 277
i tried this but it fails
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 
$HOME/one/munna
rpmbuild -ba munna-Beta.spec

can you please rewrite this code

please help me

thank you in advance
Reply With Quote
Reply

Tags
file, spec, writing

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
I need help with my FCEUX spec file uncholowapo Gamers' Lounge 4 26th December 2008 05:06 PM
rpm spec file macro help FunkyRes Programming & Packaging 1 14th September 2008 02:36 PM
About the spec file in emacs-21.4-2.src.rpm AlaxMAX Using Fedora 2 19th April 2005 08:41 AM


Current GMT-time: 10:17 (Friday, 29-08-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