On 9/20/07, <b class="gmail_sendername">Marcus Franke</b> &lt;<a href="mailto:mfranke@gmx.net">mfranke@gmx.net</a>&gt; wrote:<div><span class="gmail_quote"></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Do you have any examples for these spec files?<br><br>I found a repository for installing Asterisk on Centos, but it<br>took a while before I discovered it. Ok, just checked the link<br>its for RHEL, but as Centos is just recompiled this won&#39;t matter.
<br><br>Same situation for Ubuntu using the debian package format, but<br>I have not found a repository so far and Ubuntu delivers just<br>the old 1.2 release. :)</blockquote><div><br><a href="http://www.atrpms.net">www.atrpms.net
</a> has pretty solid RPMs, and you can grab the SRPMS in order to get the spec file (either install the SRPM or use rpm2cpio to convert the package and extract the specfile manually).&nbsp; This is where I get my libpri and zaptel RPMs from (though I still build * from source, as the RPM compilation options they use are not to my liking).
<br><br>There is a book called &quot;Maximum RPM&quot;.&nbsp; The dead tree version is now pretty out of date with respect to the latest version of RPM (though still a good introduction if you&#39;ve never built a package).&nbsp; I believe there was a slightly more up-to-date online version, but it still had some gaps the last time I looked.
<br><br>The best way to learn seems to be to examine good examples and then build your own package using their techniques.<br></div><br></div><br><br clear="all"><br>-- <br>j.