[vox-tech] Need assistance in building RPM
MDO
vox-tech@lists.lugod.org
Wed, 21 Jan 2004 17:53:06 -0800 (PST)
--0-1231962944-1074736386=:2246
Content-Type: text/plain; charset=us-ascii
my question is very basic I think, but i'm fairly new to this....
here is a simplified version of my spec file:
#
# sample spec file
#
.
.
.
%prep
cd $RPM_SOURCE_DIR
tar xf $RPM_SOURCE_DIR/theCodes.tar
%build
cd $RPM_BUILD_DIR
rm -rf *
tar xf $RPM_SOURCE_DIR/theCodes.tar
make
%install
# installing the files
cd /opt/theDirecory
make clean
make install
%post
%files
/opt/theDirectory/file1.c
..
.
theCodes.tar is the tar file of the actual program files (inside theDirectory)
What happens is, when I run rpm -ba specfilename-1.01.spec, it executes whithout problem, and the object files are made in "theDirecory". But when I actually run rpm -i MyRPM-1.01.i386.rpm no object files are created or copied to theDirectory. I am not sure if I should specify the target directory? Anyways, I would appreciate it if you could advise me.
"Wallace, Pippin" <pwallace@rightnow.com> wrote:
v\:* {behavior:url(#default#VML);}o\:* {behavior:url(#default#VML);}w\:* {behavior:url(#default#VML);}.shape {behavior:url(#default#VML);}
Let’s see what you have and your questions pertaining to it.
-----Original Message-----
From: vox-tech-admin@lists.lugod.org [mailto:vox-tech-admin@lists.lugod.org] On Behalf Of MDO
Sent: Wednesday, January 21, 2004 5:44 PM
To: vox-tech@lists.lugod.org
Subject: RE: [vox-tech] Need assistance in building RPM
yes, i have looked at the rpm-howto, but there are still some basic stuff that are not clear to me. i would like to go through my codes with someone if possible..
"Wallace, Pippin" <pwallace@rightnow.com> wrote:
What rpm are you trying to build and have you looked at http://www.rpm.org/RPM-HOWTO ?
-----Original Message-----
From: vox-tech-admin@lists.lugod.org [mailto:vox-tech-admin@lists.lugod.org] On Behalf Of MDO
Sent: Wednesday, January 21, 2004 4:37 PM
To: vox-tech@lists.lugod.org
Subject: [vox-tech] Need assistance in building RPM
Hello All,
I need assistance in building an rpm package. (it's the first time I am building an rpm.) I would really appreciate it if someone who has experience in building rpms could assist me as soon as possible!
Thanks so much!
maryam
---------------------------------
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
---------------------------------
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
---------------------------------
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
--0-1231962944-1074736386=:2246
Content-Type: text/html; charset=us-ascii
<DIV>my question is very basic I think, but i'm fairly new to this....</DIV>
<DIV>here is a simplified version of my spec file:</DIV>
<DIV> </DIV>
<DIV>#<BR># sample spec file <BR>#<BR>.<BR>.<BR>.</DIV>
<DIV> </DIV>
<DIV><BR>%prep<BR>cd $RPM_SOURCE_DIR<BR>tar xf $RPM_SOURCE_DIR/theCodes.tar </DIV>
<DIV><BR>%build</DIV>
<DIV>cd $RPM_BUILD_DIR<BR>rm -rf *<BR>tar xf $RPM_SOURCE_DIR/theCodes.tar <BR>make </DIV>
<DIV><BR>%install</DIV>
<DIV># installing the files<BR>cd /opt/theDirecory <BR>make clean<BR>make install</DIV>
<DIV>%post</DIV>
<DIV> </DIV>
<DIV>%files</DIV>
<DIV>/opt/theDirectory/file1.c</DIV>
<DIV>..</DIV>
<DIV>.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>theCodes.tar is the tar file of the actual program files (inside theDirectory)<BR>What happens is, when I run rpm -ba specfilename-1.01.spec, it executes whithout problem, and the object files are made in "theDirecory". But when I actually run rpm -i MyRPM-1.01.i386.rpm no object files are created or copied to theDirectory. I am not sure if I should specify the target directory? Anyways, I would appreciate it if you could advise me.</DIV>
<DIV><BR><BR><BR><B><I>"Wallace, Pippin" <pwallace@rightnow.com></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<META content=Word.Document name=ProgId>
<META content="Microsoft Word 10" name=Generator>
<META content="Microsoft Word 10" name=Originator><LINK href="cid:filelist.xml@01C3E048.CE9F9D60" rel=File-List><LINK href="cid:editdata.mso@01C3E048.CE9F9D60" rel=Edit-Time-Data>
<STYLE>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</STYLE>
<STYLE>
<!--
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.SHAPE
{behavior:url(#default#VML);}
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;
text-underline:single;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
span.EmailStyle18
{mso-style-type:personal;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:navy;}
span.EmailStyle19
{mso-style-type:personal-reply;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</STYLE>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Let’s see what you have and your questions pertaining to it.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original Message-----<BR><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> vox-tech-admin@lists.lugod.org [mailto:vox-tech-admin@lists.lugod.org] <B><SPAN style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>MDO<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, January 21, 2004 5:44 PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> vox-tech@lists.lugod.org<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> RE: [vox-tech] Need assistance in building RPM</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">yes, i have looked at the rpm-howto, but there are still some basic stuff that are not clear to me. i would like to go through my codes with someone if possible..<BR><BR><B><I><SPAN style="FONT-WEIGHT: bold; FONT-STYLE: italic">"Wallace, Pippin" <pwallace@rightnow.com></SPAN></I></B> wrote: <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">What rpm are you trying to build and have you looked at <A href="http://www.rpm.org/RPM-HOWTO">http://www.rpm.org/RPM-HOWTO</A> ?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN-LEFT: 1in"><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original Message-----<BR><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> vox-tech-admin@lists.lugod.org [mailto:vox-tech-admin@lists.lugod.org] <B><SPAN style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>MDO<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, January 21, 2004 4:37 PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> vox-tech@lists.lugod.org<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> [vox-tech] Need assistance in building RPM</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal style="MARGIN-LEFT: 1in"><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 1in"><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Hello All,<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 1in"><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 1in"><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">I need assistance in building an rpm package. (it's the first time I am building an rpm.) I would really appreciate it if someone who has experience in building rpms could assist me as soon as possible!<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 1in"><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Thanks so much!<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 1in"><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">maryam<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 1in"><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 1in"><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV style="MARGIN-LEFT: 0.5in">
<DIV class=MsoNormal style="MARGIN-LEFT: 0.5in; TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR align=center width="100%" SIZE=1>
</SPAN></FONT></DIV></DIV>
<P class=MsoNormal style="MARGIN-LEFT: 1in"><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Do you Yahoo!?<BR>Yahoo! Hotjobs: <A href="http://pa.yahoo.com/*http:/us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http:/hotjobs.sweepstakes.yahoo.com/signingbonus">Enter the "Signing Bonus" Sweepstakes</A><o:p></o:p></SPAN></FONT></P></DIV>
<DIV class=MsoNormal style="MARGIN-LEFT: 0.5in; TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR align=center width="100%" SIZE=1>
</SPAN></FONT></DIV>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Do you Yahoo!?<BR>Yahoo! Hotjobs: <A href="http://pa.yahoo.com/*http:/us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http:/hotjobs.sweepstakes.yahoo.com/signingbonus">Enter the "Signing Bonus" Sweepstakes</A><o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE><p><hr SIZE=1>
Do you Yahoo!?<br>
Yahoo! Hotjobs: <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http://hotjobs.sweepstakes.yahoo.com/signingbonus">Enter the "Signing Bonus" Sweepstakes</a>
--0-1231962944-1074736386=:2246--