LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Closed Thread
 
Search this Thread
Old 09-30-2011, 03:49 PM   #1
mathnitin
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Rep: Reputation: Disabled
Questions regarding building Rpm package.


I am trying to build the rpm package for the first time and I am not completely clear with the spec file, the way it works and have couple of questions.

1. What do I need to put in the install section of the spec file?Can anyone explain me the use of it please.

2. Do we need a "make install" always? The way I install is run "./configure" and "make". This installs it for the current user. But now when I am making a rpm for this, Do I need to have an "make install" in my spec file or this will work?

3. By default if I am not including any of the files in %file sections, what all files are copied in my rpm package?

4. When we run the "rpm -i package_name.rpm" command what exactly happens. I mean does it look into the %install section of the spec file or somewhere else and as I am just using the make command not the make install, where does it install and copy my files?

Thanks,
 
Old 09-30-2011, 03:53 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,406

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Questions regarding building Rpm package. mathnitin Linux - Software 2 10-01-2011 01:28 AM
RPM Package building harish.patel Linux - Newbie 2 12-25-2008 11:57 PM
building rpm package question hct224 Linux - Newbie 2 09-02-2004 05:41 AM
building POSTFIX rpm package for Redhat hct224 Linux - Newbie 6 06-16-2004 01:32 AM
Building own RPM package hems Linux - Newbie 1 11-28-2002 03:16 AM


All times are GMT -5. The time now is 03:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration