[desktop-discuss] irssi.spec

Laszlo (Laca) Peter Laszlo.Peter at Sun.COM
Fri Jul 14 09:20:31 PDT 2006


On Fri, 2006-07-14 at 16:39 +0100, Matt Keenan wrote:
> Eric Boutilier wrote:
> > For review/comment, here's a spec file for the irssi IRC client.
> >
> > Q: What's the recommended way to include irssi's one sysconfdir
> > file: /etc/irssi.conf? (For now, I just omitted it.)
> 
> Add a root package section :
> 
> e.g.
> 
>     %package root
>     Summary:                 %{summary} - / filesystem
>     SUNW_BaseDir:            /
>     %include default-depend.inc
>     Requires: SUNWpostrun
>     Requires: SUNWgnome-config

Of course you don't need the above 2 dependencies here, since you're
not installing gconf schemas.

However, make sure your base pkg has a dependency on %name-root

Laca
 
>     %files root
>     %defattr (0755, root, sys)
>     %attr (0755, root, sys) %dir %{_sysconfdir}
>     %{_sysconfdir}/irssi.conf
> 
> 
> Cheers
> 
> Matt





More information about the desktop-discuss mailing list