devel@ where you _can_ ask
 help / color / mirror / Atom feed
From: Aleksey Avdeev <solo@solin.spb.ru>
To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org>
Subject: Re: [newbies] советы по мотивам spec-файла
Date: Sat, 10 Oct 2009 22:11:48 +0400
Message-ID: <4AD0CE64.9090809@solin.spb.ru> (raw)
In-Reply-To: <774a4f4a0910101105g230ad2afh35c0e4a49f592c2a@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1660 bytes --]

10.10.2009 22:05, Artem Zolochevskiy пишет:
> hi all
> 
> В процессе упаковки одного из пакетов хочется задать вопросы, которые
> у меня в связи с ним возникают.
> Конкретно речь идёт об asciidoc: http://tinyurl.com/yl3by83
> Так что можно рассматривать мой пример как обсуждаемое в @devel линчевание.
> 
...
> 
> 2. Вопрос по установке документации. Обычно я просто использовал в
> спеке %doc <список фалов> и они попадали туда, куда следует. Но вот
> asciidoc распилен на подпакеты, и они устанавливают свои файлы в
> /usr/share/doc/asciidoc-<version>. В связи с этим этот каталог по идее
> надо как-то явно указывать. Вот и есть вопрос с использованием в спеке
> каталога /usr/share/doc . Для его использования, видимо, надо бы
> использовать что-то из: $RPM_DOC_DIR? %_defaultdocdir? %_docdir?
>   * какие-то может я ещё варианты упустил?
>   * так что же использовать то?
>   * всё ли из перечисленного что является "макросами"? Например я
> видел использование в спеке $RPM_DOC_DIR. Это по крайней мере выгладит
> не как макрос, который вроде как всегда начинаются с %?
>   * отчего  rpm --eval %_docdir не даёт мне ожидаемого /usr/share/doc ?

  Макроса %_docdir нет. Есть %_defaultdocdir.

> 
> 3. Вопрос по именованию. Я уже говорил, что asciidoc распилен на
> подпакеты. Это ПО содержит две большие утилиты: asciidoc и a2x. Так
> вот пакеты в итоге и именуются:
...
>   * стоит ли ставить зависимость: пакет документации зависит от пакета
> самой программы? Каковы тут правила/традиция?

  Лучше не надо: возможность поставить документацию не ставя сам пакет
-- весьма полезна.

-- 

С уважением. Алексей.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 554 bytes --]

  reply	other threads:[~2009-10-10 18:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-10 18:05 Artem Zolochevskiy
2009-10-10 18:11 ` Aleksey Avdeev [this message]
2009-10-10 23:13 ` Alexey I. Froloff
2009-10-13  8:16   ` Artem Zolochevskiy
2009-10-13  8:38     ` REAL
2009-10-13  8:37       ` Andrey Rahmatullin
2009-10-13  8:57     ` Alexey I. Froloff
2009-10-16  6:49       ` Artem Zolochevskiy
2009-10-16  7:11         ` Michael Shigorin
2009-10-16  7:20           ` Artem Zolochevskiy
2009-10-16  7:23             ` Michael Shigorin
2009-10-16 14:38             ` Timur Batyrshin
2009-10-10 23:18 ` Alexey I. Froloff
2009-10-11 10:06   ` Michael Shigorin
2009-10-13  8:22     ` Artem Zolochevskiy
2009-10-13  9:00       ` Alexey I. Froloff
2009-10-13 12:05       ` Michael Shigorin

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=4AD0CE64.9090809@solin.spb.ru \
    --to=solo@solin.spb.ru \
    --cc=devel-newbies@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

devel@ where you _can_ ask

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
		devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
	public-inbox-index devel-newbies

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


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