Spec file help

Harry Hoffman hhoffman at ip-solutions.net
Fri Feb 6 21:43:32 UTC 2004


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 at 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 at 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 at ip-solutions.net

-------------------------------------------------
This mail sent through IpSolutions: http://www.ip-solutions.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: template.spec
Type: application/octet-stream
Size: 971 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20040206/fca91cc1/attachment-0002.obj 


More information about the devel mailing list