From: "\"Баталов Григорий\"" <bga@kgok.murmansk.su>
To: devel@linux.iplabs.ru
Subject: Re: [devel] %_localedir macros?
Date: Mon, 26 Nov 2001 14:01:16 +0300
Message-ID: <20011126140116.218a183d.bga@kgok.murmansk.su> (raw)
In-Reply-To: <3C020125.9000709@altlinux.ru>
On Mon, 26 Nov 2001 11:45:25 +0300
Stanislav Ievlev <inger@altlinux.ru> wrote:
> Не могу найти определения для LOCALEDIR в макросах RPM.
> Может быть есть какое-нибудь подобие %_localedir?
> Пока использую %_datadir/locale (итого: /usr/share/locale).
>
> Нет необходимости. Наверняка Вам нужно:
>
> %install
> *
> %find_lang %name
> *
> %files -f %name.lang
>
> Да, но кроме этого нужно передать LOCALEDIR Makefile-у.
> (Куда он будет .mo класть?)
>
> Если проблема в отсутствии правильного префикса, то проблема решается
> исправлением Makefile
В Makefile LOCALDIR объявлен как /usr/local/share/locale,
что верно при самостоятельной сборке и установке, а в RPM
желательно заменять его на /usr/share/locale. Что я и
делаю, передавая make параметр LOCALDIR=%_datadir/locale.
Правильно?
--
Баталов Григорий.
---------------------------------------------------------------------------
I am the "ILOVEGNU" signature virus. Just copy me to your signature.
This email was infected under the terms of the GNU General Public License.
_______________________________________________
Devel mailing list
Devel@linux.iplabs.ru
http://www.logic.ru/mailman/listinfo/devel
prev parent reply other threads:[~2001-11-26 11:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-24 16:49 Grigory Batalov
2001-11-26 8:02 ` Stanislav Ievlev
2001-11-26 8:41 ` "Баталов Григорий"
2001-11-26 11:01 ` "Баталов Григорий" [this message]
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=20011126140116.218a183d.bga@kgok.murmansk.su \
--to=bga@kgok.murmansk.su \
--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