LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-05-2005, 06:32 AM   #1
abhijeetudas
Member
 
Registered: Sep 2004
Distribution: Redhat / Fedora
Posts: 114

Rep: Reputation: 15
Rpm-build


Hi,


Im trying to make a customised rpm ,
which install's at a different location.

One thing i did not get is where are the variables
mentioned in the .spec file set?
like
%{_sysconfdir} which is /etc
%{_libdir} etc.



Can any one help me with that?
 
Old 12-05-2005, 11:04 PM   #2
sailu_mvn
Member
 
Registered: Sep 2004
Location: Hyderabad
Distribution: FEDORA,REDHAT,HOST
Posts: 440
Blog Entries: 1

Rep: Reputation: 30
what ever ur looking for are macros.
Please google for RPM how to?
That will surely help u.
What kind of a RPM are u customizing?
 
Old 12-05-2005, 11:10 PM   #3
sailajabhandaru
Member
 
Registered: Apr 2005
Location: India
Distribution: fedora
Posts: 43

Rep: Reputation: 15
RPM -Build

Which os are u using?
All the macros used in the system are mentioned
in /usr/lib/rpm/macros file.

The macros are defined in various sections
of spec file......
In install section,to determine where the files
should be dropped when rpm is installed.
In File section,what files shold be included in rpm.
Like /usr/bin/ is mentioned by %_bindir
/usr/sbin/ is mentioned by %_sbindir
 
Old 12-06-2005, 02:06 AM   #4
abhijeetudas
Member
 
Registered: Sep 2004
Distribution: Redhat / Fedora
Posts: 114

Original Poster
Rep: Reputation: 15
Hey thanks a ton..

I think that is what i was looking for.
 
  


Reply


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
cannot build source rpm/ rpm questions kpachopoulos Fedora 3 07-24-2005 10:15 AM
How to build RPM from Tar.gz fireedo Suse/Novell 4 05-13-2005 03:00 PM
rpm-build-tools-4.3.1? hotpepsi Linux - Newbie 0 01-03-2005 07:43 AM
build rpm Santas Linux - Software 1 11-21-2003 06:45 PM
RPM build question NetScripter Linux - General 3 10-20-2003 03:42 AM


All times are GMT -5. The time now is 02:46 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