[opensuse-packaging] handling translations
Hi, I have this package, foo, which has some .mo and .po files, for the translations. Is there some doc, or a guide or macros, on how to package such files? thanks jordi -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Jun 04 2018, Jordi Massaguer Pla
I have this package, foo, which has some .mo and .po files, for the translations.
Is there some doc, or a guide or macros, on how to package such files?
In the simple case you can use the %find_lang macro, which creates a file list suitable for the %files macro. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
V Mon, 04 Jun 2018 13:05:24 +0200
Andreas Schwab
On Jun 04 2018, Jordi Massaguer Pla
wrote: I have this package, foo, which has some .mo and .po files, for the translations.
Is there some doc, or a guide or macros, on how to package such files?
In the simple case you can use the %find_lang macro, which creates a file list suitable for the %files macro.
Andreas.
and link to documentation https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25find_la... -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On lundi, 4 juin 2018 13.11:57 h CEST Josef Reidinger wrote:
V Mon, 04 Jun 2018 13:05:24 +0200
Andreas Schwab
napsáno: On Jun 04 2018, Jordi Massaguer Pla
wrote: I have this package, foo, which has some .mo and .po files, for the translations.
Is there some doc, or a guide or macros, on how to package such files?
In the simple case you can use the %find_lang macro, which creates a file list suitable for the %files macro.
Andreas.
and link to documentation
https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25find_la ng
But beware that (at least last time we talk about it) it will not work for python single spec context -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch Bareos Partner, openSUSE Member, fsfe supporter GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
V Mon, 04 Jun 2018 13:21:49 +0200
Bruno Friedmann
On lundi, 4 juin 2018 13.11:57 h CEST Josef Reidinger wrote:
V Mon, 04 Jun 2018 13:05:24 +0200
Andreas Schwab
napsáno: On Jun 04 2018, Jordi Massaguer Pla
wrote: I have this package, foo, which has some .mo and .po files, for the translations.
Is there some doc, or a guide or macros, on how to package such files?
In the simple case you can use the %find_lang macro, which creates a file list suitable for the %files macro.
Andreas.
and link to documentation
https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25find_la ng
But beware that (at least last time we talk about it) it will not work for python single spec context
Is somewhere more details? Ideally if we can enhance wiki, so others are also aware of it. I packing mostly ruby, so I do not know about this. Josef -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On lundi, 4 juin 2018 13.52:51 h CEST Josef Reidinger wrote:
V Mon, 04 Jun 2018 13:21:49 +0200
Bruno Friedmann
napsáno: On lundi, 4 juin 2018 13.11:57 h CEST Josef Reidinger wrote:
V Mon, 04 Jun 2018 13:05:24 +0200
Andreas Schwab
napsáno: On Jun 04 2018, Jordi Massaguer Pla
wrote: I have this package, foo, which has some .mo and .po files, for the translations.
Is there some doc, or a guide or macros, on how to package such files?
In the simple case you can use the %find_lang macro, which creates a file list suitable for the %files macro.
Andreas.
and link to documentation
https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25fin d_la ng
But beware that (at least last time we talk about it) it will not work for python single spec context
Is somewhere more details? Ideally if we can enhance wiki, so others are also aware of it. I packing mostly ruby, so I do not know about this.
Josef
Nice I didn't realize that was the wiki page :-) I found it back, as issue https://github.com/openSUSE/python-rpm-macros/issues/5 -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch Bareos Partner, openSUSE Member, fsfe supporter GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 06/04/2018 01:11 PM, Josef Reidinger wrote:
V Mon, 04 Jun 2018 13:05:24 +0200 Andreas Schwab
napsáno: On Jun 04 2018, Jordi Massaguer Pla
wrote: I have this package, foo, which has some .mo and .po files, for the translations.
Is there some doc, or a guide or macros, on how to package such files? In the simple case you can use the %find_lang macro, which creates a file list suitable for the %files macro.
Andreas.
and link to documentation
https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25find_la...
Thanks -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (4)
-
Andreas Schwab
-
Bruno Friedmann
-
Jordi Massaguer Pla
-
Josef Reidinger