I can't remember where I found this but the attached template.spec is what I use
to create RPMS. I think it works very well :-)
HTH,
Harry
Quoting Karsten Hopp <karsten redhat com>:
*> >
*>
*> A few comments:
*>
*> > Source0 :
*> http://www.demonseed.net/~jp/code/netmon_applet/netmon_applet-0.4.tar.gz
*> It's better to use %{version} here. Otherwise you'd have to change the
*> version
*> at two places when you update to p.e. 0.5
*>
*> >BuildRoot : %{_tmppath}/%{name}-{buildroot}
*> Missing % ? ^
*>
*> >./configure \
*> > --libdir=%{_libdir} \
*> > --bindir=%{_bindir} \
*> > --datadir=%{_datadir} \
*> > --sysconfdir=%{_sysconfdir}
*> Use %configure, this sets those parameters automatically. Check
*> /usr/lib/rpm/macros so see the complete %configure macro.
*>
*> Karsten
*> --
*> Karsten Hopp | Mail: karsten redhat de
*> Red Hat Deutschland | Tel: +49-711-96437-0
*> Hauptstaetterstr.58 | Fax: +49-711-96437-111
*> D-70178 Stuttgart | http://www.redhat.de
*>
--
Harry Hoffman
hhoffman ip-solutions net
-------------------------------------------------
This mail sent through IpSolutions: http://www.ip-solutions.net/
Attachment:
template.spec
Description: Binary data