From: "Dmitry V. Levin" <ldv@fandra.org>
To: devel@linux.iplabs.ru
Subject: Re: [devel] Russian man-pages
Date: Tue, 28 Nov 2000 03:37:07 +0300
Message-ID: <20001128033707.A25939@LDV.fandra.org> (raw)
In-Reply-To: <3A21EB24.70BC9568@logic.ru>; from aen@logic.ru on Mon, Nov 27, 2000 at 08:03:32AM +0300
[-- Attachment #1: Type: text/plain, Size: 2069 bytes --]
On Mon, Nov 27, 2000 at 08:03:32AM +0300, aen wrote:
> > > > Кстати. Не разъяснят ли мне почтенные гуру, какую роль в современном RPM
> > > > играют атрибуты %lang(...) и переменная окружения RPM_INSTALL_LANG?
> > > > Может быть, можно добиться, чтобы устанавливались только л10нные
> > > > файлы для локали, указанной в этой переменной?
> > > Именно так. Но для этого нужно всюду прописывать %lang.
> > --^^^^^^^^^^ - я в этом не уверен. Хорошо, если так, но боюсь, что нет.
> > Надо посмотреть.
> >
> Это действительно не так, хотя странно. У меня это с год назад
> получалось :-)
Все работает, но механизм использования изменился.
См. файл /usr/share/doc/rpm-3.0.6/CHANGES, строки 93 и 95.
Кроме упомянутого там макроса _install_langs, можно использовать
переменные среды RPM_INSTALL_LANG, LANGUAGE, LANG (проверяется сначала
макрос, потом переменные в указанном порядке, используется то значение,
которое было найдено первым).
Последний факт реализован в rpm-3.0.4-install_lang.patch, но не нашел
отражения в документации.
Историческая справка
--------------------
Этот механизм отличается от используемого в RedHat (там никакие переменные
не используются, только макрос), и был реализован MandrakeSoft:
* Mon Mar 06 2000 Pablo Saratxaga <pablo@mandrakesoft.com> 3.0.4-0.5mdk
- added support for RPM_INSTALL_LANG variable (the official way of
doing it will be using %%{_install_langs} macro on /etc/rpm/macros;
but there may be some installed systems with RPM_INSTALL_LANG in use
out there; and also it is easier for one-time change on the command line)
Regards,
Dmitry
+-------------------------------------------------------------------------+
Dmitry V. Levin mailto://ldv@fandra.org
Software Engineer PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html
IPLabs Linux Team http://linux.iplabs.ru
Fandra Project http://www.fandra.org
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who it's friends are.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2000-11-28 0:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-25 22:52 Aleksey Novodvorsky
2000-11-25 23:44 ` Dmitry V. Levin
2000-11-26 11:26 ` Alexey Voinov
2000-11-26 19:25 ` Ivan Zakharyaschev
2000-11-26 11:27 ` Aleksey Novodvorsky
2000-11-26 9:47 ` Mikhail Zabaluev
2000-11-27 2:22 ` aen
2000-11-27 0:18 ` Dmitry V. Levin
2000-11-27 5:03 ` aen
2000-11-28 0:37 ` Dmitry V. Levin [this message]
2000-11-26 20:34 ` Ivan Zakharyaschev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20001128033707.A25939@LDV.fandra.org \
--to=ldv@fandra.org \
--cc=devel@linux.iplabs.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git