From: Andrey Rahmatullin <wrar@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Create RPM package
Date: Sat, 5 Jun 2004 18:57:40 +0600
Message-ID: <20040605125740.GB9994@wrars-comp.wrarsdomain> (raw)
In-Reply-To: <543297057.20040605193549@ngs.ru>
[-- Attachment #1: Type: text/plain, Size: 2101 bytes --]
On Sat, Jun 05, 2004 at 07:35:49PM +0700, php-coder wrote:
> Часть прояснилась, но появилось непонимание и сомнение в понимании
> некоторых деталей.
Каких именно?
> Я подозреваю, что доки с atmsk.ru устарели.
Почему?
> Как же мне
> научиться правильно собирать пакеты?? Также искал на Яндексе и прочитал
> еще две статьи - все равно есть не ясные моменты.
Какие именно моменты? Только приведенные ниже?
> - следует ли устанавливать графические приложения в /usr/X11R6 или в /usr?
Большинство ставится в /usr, а вообще надо бы FHS почитать.
Ага, в FHS вроде как никого не принуждают в /usr/X11R6 ставить, так что в
/usr однозначно.
> - хочу fluxbox 0.9.9 завернуть в пакетик и набросал вот spec:
Альтовский чем не подходит?
http://altlinux.org.ua/devel/RPM/SPECS/classic/fluxbox.spec
> BuildArch: i686
Не обязательно. rpm и так соберет по умолчанию под архитектуру машины, на
которой происходит сборка.
> Source: %{name}-%{version}.tar.bz2
Фигурные скобки не обязательны. Вообще прогнать бы этот спек через
cleanup_spec из rpm-utils.
> ./configure
%configure
> make
%make_build
> make install
%make_install
> %{_bindir}/*
Не надо скобок.
> %{_datadir}/%{name}/*
Просто %{_datadir}/%{name}. Чтобы сам каталог тоже вошел в пакет.
> Хотелось бы узнать есть ли ошибки... И еще из спека следует, что в
> /usr/share/fluxbox помещаются все файлы, а мне хотелось бы не
> помещать туда файлы с локализацией отличной от ru_RU (для себя же
> создаю). Как это лучше осуществить?
Поставится все равно только ru_RU. И кстати, правильно локали
заворачиваюся через %find_lang. Т.е. в конце секции %install вставляется
строка
%find_lang %name
И вместо %files пишется
%files -f %name.lang
Гляньте, кстати,
http://altlinux.org.ua/devel/RPM/SPECS/classic/hello.spec.
> - Тут я ничего не упомянул про атрибуты файлов? Как их выставлять?
Не надо их выставлять.
--
WBR, wRAR (ALT Linux Team)
На месте администратора сервера, раздающего nfs, мне бы не хотелось, чтобы
nfs становился доступным раньше sshd.
-- ldv in devel@
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2004-06-05 12:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-05 12:35 php-coder
2004-06-05 12:57 ` Andrey Rahmatullin [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=20040605125740.GB9994@wrars-comp.wrarsdomain \
--to=wrar@altlinux.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