<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<FONT face=Helv size=2><FONT face=Helv size=2>
<P dir=ltr> </P>
<P dir=ltr>To whoever answer this:</P>
<P dir=ltr> </P><FONT face=Helv size=2><FONT face=Helv size=2>
Refer to http://kwave.sourceforge.net/doc/en/building_rpm_from_targz.html....CAN YOU HELP ME?<BR></FONT></FONT>
<P dir=ltr> </P>
<P dir=ltr>There is something missing in this procedure: I am not building kwave, but this is a prototype - I wish to build rpms of a variety of tar.gz files that are needed to install gnumeric.</P>
<P dir=ltr align=justify></P>
<DIR>
<DIR>
<P dir=ltr align=justify>1. </FONT></FONT><FONT size=3><FONT face="Tms Rmn">Go to your RPM "topdir". This normally is </FONT><FONT face=Courier>/usr/src/redhat</FONT><FONT face="Tms Rmn"> for the redhat distribution or </FONT><FONT face=Courier>/usr/src/packages</FONT><FONT face="Tms Rmn"> if you have the SuSE distribution. </P></FONT></FONT><FONT face=Courier>
<P dir=ltr align=justify>%</FONT><B><FONT face=Courier color=#0060a0><FONT face=Courier color=#0060a0>cd /usr/src/</FONT></FONT><I><FONT face=Courier color=#008250><FONT face=Courier color=#008250>redhat</P>
<P dir=ltr align=justify></P></B></I></FONT></FONT><FONT face=Helv size=2><FONT face=Helv size=2>
<P dir=ltr align=justify>2. </FONT></FONT><FONT face="Tms Rmn"><FONT size=3>Put the tar.gz archive into the SOURCES subdirectory (you have to replace "somewhere" with the real directory where the files are, of course). </FONT></P></FONT><FONT face=Courier>
<P dir=ltr align=justify>%</FONT><B><FONT face=Courier color=#0060a0><FONT face=Courier color=#0060a0>cp </FONT></FONT><I><FONT face=Courier color=#008250><FONT face=Courier color=#008250>/somewhere/kwave-XXX.tar.gz</I></FONT></FONT><FONT face=Courier color=#0060a0><FONT face=Courier color=#0060a0>SOURCES</B></FONT></FONT><FONT face=Courier><BR></P></FONT><FONT face=Helv size=2><FONT face=Helv size=2>
<P dir=ltr align=justify>3. </FONT></FONT><FONT face="Tms Rmn"><FONT size=3>Extract the spec file from the archives and put it into the SPEC subdirectory. </FONT></P></FONT><FONT face=Courier>
<P dir=ltr align=justify>%</FONT><B><FONT face=Courier color=#0060a0><FONT face=Courier color=#0060a0>tar -xOzf SOURCES/</FONT></FONT><I><FONT face=Courier color=#008250><FONT face=Courier color=#008250>kwave-XXX.tar.gz</I></FONT></FONT><FONT face=Courier color=#0060a0><FONT face=Courier color=#0060a0>\*.spec>SPECS/kwave.spec</B></FONT></FONT><FONT face=Courier><BR></P></FONT><FONT face=Helv size=2><FONT face=Helv size=2>
<P dir=ltr align=justify>4. </FONT></FONT><FONT size=3><FONT face="Tms Rmn">Let rpm do the compile job and generate the rpm of Kwave. If you only want to make a binary package, you can specify </FONT><FONT face=Courier>-bb</FONT><FONT face="Tms Rmn"> instead of </FONT><FONT face=Courier>-ba</FONT><FONT face="Tms Rmn">, or just </FONT><FONT face=Courier>-bs</FONT><FONT face="Tms Rmn"> to build only a source package. </P></FONT></FONT><FONT face=Courier>
<P dir=ltr align=justify>%</FONT><B><FONT face=Courier color=#0060a0><FONT face=Courier color=#0060a0>rpmbuild -bb SPECS/kwave.spec</P>
<P dir=ltr align=justify></P>
<P dir=ltr align=justify> </P></B></FONT></FONT><FONT face=Helv size=2><FONT face=Helv size=2>
<P dir=ltr align=justify>5.</FONT></FONT><FONT size=3><FONT face="Tms Rmn"> If everything was ok, you can install the binary rpm of Kwave, it will be in the BUILD directory. If you already have a version of Kwave installed, please remove it first or use the parameter </FONT><FONT face=Courier>-U</FONT><FONT face="Tms Rmn"> instead of </FONT><FONT face=Courier>-i</FONT><FONT face="Tms Rmn"> for upgrading instead of installing. </P></FONT></FONT><FONT face=Courier>
<P dir=ltr align=justify>%</FONT><B><FONT face=Courier color=#0060a0><FONT face=Courier color=#0060a0>rpm -ivh BUILD/</FONT></FONT><I><FONT face=Courier color=#008250><FONT face=Courier color=#008250>[arch]/kwave-XXX.[arch].rpm</P>
<P dir=ltr align=justify></P>
<P dir=ltr align=justify>The "arch" string should be specified earlier I think</P>
<P dir=ltr align=justify>and the arch string does not exist as a dir under BUILD. These </P>
<P dir=ltr align=justify>steps created /usr/src/redhat/RPMS/noarch/intltool-0.37.1-1.noarch.rpm</P>
<P dir=ltr align=justify></P>
<P dir=ltr align=justify>What's Missing??</P>
<P dir=ltr align=justify></P></DIR></DIR>
Steve Linehan<BR></B></I></FONT></FONT>                                            </body>
</html>