From: Rinat Bikov <becase@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Множественные кодировки в спек
Date: Sat, 15 Jan 2011 14:09:46 +0300
Message-ID: <AANLkTinaoKhP10N3H8zbocNJ+Vd0WnpzOO6y84AMauvC@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=+k76tyWGydgxCcqxe8rROzbRSEMkiaD9KtBqs@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 790 bytes --]
15 января 2011 г. 12:47 пользователь Igor Zubkov написал:
> 2011/1/15 Rinat Bikov:
>> Здравствуйте!
>> Я хотел бы узнать, может ли быть в spec-файле несколько кодировок и
>> есть ли у нас примеры таких spec-ов?
>> К примеру:
>> Summary(ru_RU.CP1251):
>> Summary(br_BR.UTF8):
>> Summary(ua_UK.KOI8-u):
>
> Может. Правда, это не правильно. Переводы должны быть в specspo.
>
Э не, неверный пример.
Вот верный, тут действительно кодировка строк соответствует описанию.
Это, собственно, я к #24735.
Вот пример 2-х кодировок:
http://prometheus.altlinux.org/en/Sisyphus/srpms/kcemirror/spec
KOI8-R и KOI8-U.
Вот тут: http://sisyphus.ru/ru/srpm/Branch3/kcemirror/spec
Также неверно отображается KOI8-U.
А хочется, чтобы prometheus был умнее текстового редактора :)
--
С уважением, Ринат Биков.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: test.spec --]
[-- Type: text/x-rpm-spec; name="test.spec", Size: 189 bytes --]
Name: test
Version: 1.0
Release: alt1
Summary: test
Summary(ru_RU.UTF-8): ÑеÑÑ
Summary(ru_RU.CP1251): Òåñò
License: public domain
Group: Test
%description
test.
%files
%changelog
next prev parent reply other threads:[~2011-01-15 11:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-15 9:11 Rinat Bikov
2011-01-15 9:25 ` Michael Shigorin
2011-01-15 9:47 ` Igor Zubkov
2011-01-15 11:09 ` Rinat Bikov [this message]
2011-01-15 11:34 ` Igor Zubkov
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=AANLkTinaoKhP10N3H8zbocNJ+Vd0WnpzOO6y84AMauvC@mail.gmail.com \
--to=becase@altlinux.org \
--cc=devel@lists.altlinux.org \
/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