<div>Hi,</div>
<div>    Thanks for the reply but my RPM packaging is a lil bit different so I need to know if I am able to get values from a properties file or not.<br><br></div>
<div class="gmail_quote">On Mon, Feb 21, 2011 at 5:26 PM, Soumen Trivedi <span dir="ltr">&lt;<a href="mailto:soumen.trivedi@gmail.com">soumen.trivedi@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello,<br>You can use rpm-maven plugin, using maven2 build tool to generate the spec file and the rpm file at one go. I use it very frequently and do not have to worry about spec files any more. The rpm-maven-plugin incorporates almost all of the features of spec file. <a href="http://mojo.codehaus.org/rpm-maven-plugin/" target="_blank">http://mojo.codehaus.org/rpm-maven-plugin/</a><br>
<br><br>
<div class="gmail_quote">
<div>
<div></div>
<div class="h5">On Mon, Feb 21, 2011 at 9:53 AM, Fawad Ali <span dir="ltr">&lt;<a href="mailto:faw.studies@gmail.com" target="_blank">faw.studies@gmail.com</a>&gt;</span> wrote:<br></div></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>
<div></div>
<div class="h5">
<div>Hi,</div>
<div>    Is there anyway that I get the name, version and release from a property file or something else, so that I do not have to do changes in a spec file each time I try to package a new version of the software.<br clear="all">
<br>-- <br>Regards,<br>S. Fawad Ali Shah,<br><a href="http://www.7thbillion.com/" target="_blank">www.7thbillion.com</a><br></div><br></div></div>_______________________________________________<br>Rpm-list mailing list<br>
<a href="mailto:Rpm-list@lists.rpm.org" target="_blank">Rpm-list@lists.rpm.org</a><br><a href="http://lists.rpm.org/mailman/listinfo/rpm-list" target="_blank">http://lists.rpm.org/mailman/listinfo/rpm-list</a><br><br></blockquote>
</div><font color="#888888"><br><br clear="all"><br>-- <br>Thanks &amp; Regards,<br>Soumen Trivedi<br>Email: <a href="mailto:Soumen.Trivedi@gmail.com" target="_blank">Soumen.Trivedi@gmail.com</a><br><br></font><br>_______________________________________________<br>
Rpm-list mailing list<br><a href="mailto:Rpm-list@lists.rpm.org">Rpm-list@lists.rpm.org</a><br><a href="http://lists.rpm.org/mailman/listinfo/rpm-list" target="_blank">http://lists.rpm.org/mailman/listinfo/rpm-list</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>S. Fawad Ali Shah<br>Software Engineer,<br>Stafona. Inc.<br>Cell# +92 334 500 1577<br><a href="http://www.7thbillion.com/" target="_blank">www.7thbillion.com</a><br>