ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: php-coder <php-coder@ngs.ru>
To: Andrey Rahmatullin <community@altlinux.ru>
Subject: Re[2]: [Comm] Fluxbox × rpm
Date: Sun, 13 Jun 2004 21:02:24 +0700
Message-ID: <821590840.20040613210224@ngs.ru> (raw)
In-Reply-To: <20040610081011.GC5236@wrars-comp.wrarsdomain>

0000100101011110100100101::10.06.2004::0110001001001000100111100100010

    Здравствуйте, Andrey!
    Отвечаю на Ваше письмо:
  
>>    %find-lang
> %find_lang %name

    Сорьки... Это моя ошибка.

    Подправил. Собралось! Но в итоге в пакет входят все возможные
    локали. А мне как раз это и не надо было...

    Если не использовать %find_lang, и поставить в секции %install
    один большой rm -rf, то в итоге достигается нужный мне результат:

    ...
    /usr/share/fluxbox/nls
    /usr/share/fluxbox/nls/C
    /usr/share/fluxbox/nls/C/fluxbox.cat
    /usr/share/fluxbox/nls/POSIX
    /usr/share/fluxbox/nls/US_ASCII
    /usr/share/fluxbox/nls/en
    /usr/share/fluxbox/nls/en_US
    /usr/share/fluxbox/nls/ru_RU
    /usr/share/fluxbox/nls/ru_RU/fluxbox.cat
    ...

    Если же использовать этот макрос, то получается следующее:

    ...
    /usr/share/fluxbox/nls
    /usr/share/fluxbox/nls/C
    /usr/share/fluxbox/nls/C/fluxbox.cat
    /usr/share/fluxbox/nls/POSIX
    /usr/share/fluxbox/nls/US_ASCII
    /usr/share/fluxbox/nls/bg_BG
    /usr/share/fluxbox/nls/bg_BG/fluxbox.cat
    /usr/share/fluxbox/nls/da_DK
    /usr/share/fluxbox/nls/da_DK/fluxbox.cat
    /usr/share/fluxbox/nls/de_DE
    /usr/share/fluxbox/nls/de_DE/fluxbox.cat
    /usr/share/fluxbox/nls/en
    /usr/share/fluxbox/nls/en_US
    /usr/share/fluxbox/nls/es
    /usr/share/fluxbox/nls/es_ES
    /usr/share/fluxbox/nls/es_ES/fluxbox.cat
    /usr/share/fluxbox/nls/et_EE
    /usr/share/fluxbox/nls/et_EE/fluxbox.cat
    /usr/share/fluxbox/nls/fr
    /usr/share/fluxbox/nls/fr_FR
    /usr/share/fluxbox/nls/fr_FR/fluxbox.cat
    /usr/share/fluxbox/nls/it_IT
    /usr/share/fluxbox/nls/it_IT/fluxbox.cat
    /usr/share/fluxbox/nls/ja_JP
    /usr/share/fluxbox/nls/ja_JP/fluxbox.cat
    /usr/share/fluxbox/nls/lv
    /usr/share/fluxbox/nls/lv_LV
    /usr/share/fluxbox/nls/lv_LV/fluxbox.cat
    /usr/share/fluxbox/nls/nl_NL
    /usr/share/fluxbox/nls/nl_NL/fluxbox.cat
    /usr/share/fluxbox/nls/pl_PL
    /usr/share/fluxbox/nls/pl_PL/fluxbox.cat
    /usr/share/fluxbox/nls/pt_BR
    /usr/share/fluxbox/nls/pt_BR/fluxbox.cat
    /usr/share/fluxbox/nls/pt_PT
    /usr/share/fluxbox/nls/pt_PT/fluxbox.cat
    /usr/share/fluxbox/nls/ru_RU
    /usr/share/fluxbox/nls/ru_RU/fluxbox.cat
    /usr/share/fluxbox/nls/sl_SI
    /usr/share/fluxbox/nls/sl_SI/fluxbox.cat
    /usr/share/fluxbox/nls/sv_SE
    /usr/share/fluxbox/nls/sv_SE/fluxbox.cat
    /usr/share/fluxbox/nls/tr_TR
    /usr/share/fluxbox/nls/tr_TR/fluxbox.cat
    ...

    Вы, если я правильно помню, говорили, что %find_lang должен только
    используемую локаль завернуть. А тут все возможные...

    Вот если бы можно было сказать %find_lang, чтобы она упаковывала
    только какую-то определенную локаль...

--
  С уважением, php-coder (mailto:php-coder[at]ngs[dot]ru)
  Registered Linux User #327594
  ALT Linux Master 2.2

010010010010010001010101100::Linux RuleZz!::100010010001000100010001110

  reply	other threads:[~2004-06-13 14:02 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-07  4:30 php-coder
2004-06-07  4:41 ` [Comm] Fluxbox ? rpm Alexey I. Froloff
2004-06-08  3:21   ` Re[2]: " php-coder
2004-06-08  4:02     ` Alexey I. Froloff
2004-06-09  6:39       ` Re[2]: " php-coder
2004-06-09  8:07         ` Alexey I. Froloff
2004-06-13 20:53           ` [Comm] " Michael Shigorin
2004-06-08  4:56     ` [Comm] " Andrey Rahmatullin
2004-06-10  5:50       ` Re[2]: " php-coder
2004-06-10  8:10         ` Andrey Rahmatullin
2004-06-13 14:02           ` php-coder [this message]
2004-06-13 14:56             ` [Comm] Fluxbox в rpm Sergey Vlasov
2004-06-21  5:08               ` Re[2]: [Comm] Fluxbox × rpm php-coder
2004-06-13 20:51 ` [Comm] [JT] Re: Fluxbox ? rpm Michael Shigorin
2004-06-14 10:18     ` [Comm] [JT] Re: Fluxbox в rpm Michael Shigorin
2004-06-14 22:04       ` Mackiewicz Andrey

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=821590840.20040613210224@ngs.ru \
    --to=php-coder@ngs.ru \
    --cc=community@altlinux.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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git