[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: install time description?
- From: Jeff Johnson <jbj redhat com>
- To: rpm-list redhat com
- Subject: Re: install time description?
- Date: Wed, 16 Apr 2003 17:15:38 -0400
On Wed, Apr 16, 2003 at 01:00:25PM +0530, Bharavi Oak wrote:
> Hi All,
>
> Can I have %description text (full or some part of the description text)
> determined at install time depending on Language settings on the install
> machine?
> In other words, can we have conditional description text resolved during
> install time?
There are 2 approaches to locale specific text chosen during install:
1) Add locale specific text to spec file which is loaded in package header:
%description -l XY
where XY is the 2 character country code. Note that there's little
reason in most cases to use anything other than 2 characters, rpm has
no clue about encodings, provides 8 bit clean strings only.
2) Use (or modifiy) specspo lookaside cache.
Full text only, no partial merges are attempted.
In both cases, there is no "conditional resolution" as either the
header and/or the specspo package is installed (or not).
73 de Jeff
--
Jeff Johnson ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]