SPECS: kdemodule-i18n.spec - added missing dirs

Jakub Bogusz qboosh at pld-linux.org
Wed Oct 27 11:20:38 CEST 2004


On Wed, Oct 27, 2004 at 10:06:58AM +0200, Andrzej Krzysztofowicz wrote:
> Jakub Bogusz wrote:
> > On Tue, Oct 26, 2004 at 11:12:05PM +0000, ankry wrote:
[...]
> > > @@ -3814,6 +3814,11 @@
> > >  	%find_lang $i --with-kde
> > >  	cat $i.lang >> kdelibs.lang
> > >  done
> > > +for i in %{_defaultdocdir}/kde/HTML/*; do
> > > +	if ! grep -q '/en$' $(echo $i); then
> > > +		echo %dir $i >> kdelibs.lang
> > > +	fi
> > > +done
> > 
> > %lang ?
> > Without it kdelibs would install empty dirs for not installed language
> > resources.
> 
> BTW: they are in %{_defaultdocdir}, so they are %doc.
> Do %doc & %lang work together already ?

%doc _flag_ works together with %lang, %doc action doesn't
(i.e. files copied to buildroot during %doc action don't have proper
%lang()).


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/




More information about the pld-devel-en mailing list