[Rpm-maint] [rpm-software-management/rpm] RFE: automatic creation of langpacks subpackages (#310)

Jeff Johnson notifications at github.com
Thu Aug 24 11:48:32 UTC 2017


Creating package-per-language manually isn't exactly hard: see the macro at the link.

(aside)
For extra credit: someone ought to put up an example of how to map boilerplate macros into %SOURCEn directives that can be included (and %include is essentially just a %{cat %SOURCEn}) or inserted with %{load:....} (if multiple %define's in initialization is somehow seen as "ugly"), which would perhaps be deemed more aesthetic and remove a perceived RFE need to do better "automagic" packaging.

Automating creation has to make choices on which locales to create sub-packages for: mere existence of a subdirectory containing *mo files isn't a sufficiently strong hint. Other inclusion policy criteria (e.g. no. of fuzzy or untranslated items) is usually needed for selection.

Even other additional policies based on *po context could be implemented with gettext tools wrapped in macros/scripts but there's hardly a need.

Again manually generating subpackage-per-langi=uage isn't all that difficult and is little more than a list of what locales are desired.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/310#issuecomment-324612901
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170824/6ff1c4cd/attachment-0001.html>


More information about the Rpm-maint mailing list