Are their guidelines for packaging translated man pages?

Richard W.M. Jones rjones at redhat.com
Mon Jul 18 08:45:33 UTC 2011


On Mon, Jul 18, 2011 at 10:09:21AM +0200, Andreas Bierfert wrote:
> On Mon, 2011-07-18 at 08:57 +0100, Richard W.M. Jones wrote:
> > I have a package that supplies translated man pages (only in Ukrainian
> > strangely enough).  They are installed by the upstream under:
> > 
> >   %{_mandir}/uk/man1/
> >   %{_mandir}/uk/man3/
> 
> I would use
> 
> %lang(uk) %{_mandir}/uk/man1/foo.1*
> 
> in this case.

%lang "marks certain files as only being of use with particular
languages" according to [1].  Does RPM do anything else with these
annotations?

Rich.

[1] http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch09s05s04.html


-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/


More information about the devel mailing list