ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Aleksey Novodvorsky <aen@logic.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] RPM Making
Date: Tue Jul 17 02:29:01 2001
Message-ID: <3B533A4F.A4A24FC7@logic.ru> (raw)
In-Reply-To: <011101c10e4f$b5392170$010da8c0@kgpi>

Anton Denisov wrote:

> Здравствуйте.
> Есть у меня вопрос, но сначала предыстория: поставил я значит себе Blackbox,
> решил его несколько дополнить и скачать различные дополнения к нему
> (bbtools). Но они имеются только в виде тарболов (*.tar.gz) или в виде
> RPM'ок для Red Hat'а. Ну ладно, скачал в тарболах поставил (./configure,
> make, make install) - всё вроде работает, НО мне очень не хватает таких
> вещей как rpm с ключами qi, ql, e и другими. Вот тут то я и понял весь смысл
> и мощь RPM.
> А тепеперь и вопрос: хочу из тарболов собрать SRPM, что порекомендуете
> почитать и где по этому поводу ?
> Насколько я понял, посмотрев другие пакеты, мне надо написать spec файл и
> поправить make файлы. Я прав ? Для данных пакетов (bbtools) это, как мне
> показалось, не очень сложно, так что, может быть даже стану их пакаджером
> или майнтеймером (как это правильно называется ?) ;-)) Научусь на маленьких
> и лёгких пакетах, а потом....
> С уважением, Антон Денисов.
>

Здесь :  http://www.rpm.org/max-rpm/  -- самое полное руководство.
Здесь :
ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/i586/doc/ --
описанные Дмитрием особенности нашего подхода к сборке.
Читайте также документацию к пакету rpm.

Makefile править в большинстве случаев не нужно. Для  "хорошего" тарболла
достаточно
%prep
%setup
%build
%configure
%make_build
%install
%makeinstall
%find_lang %name
%files -f  %name.lang
<список файлов>

Но это только для хорошего ....

Rgrds




      reply	other threads:[~2001-07-17  2:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-17  2:20 Anton Denisov
2001-07-17  2:29 ` Aleksey Novodvorsky [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=3B533A4F.A4A24FC7@logic.ru \
    --to=aen@logic.ru \
    --cc=mandrake-russian@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