From: Michael Shigorin <mike@osdn.org.ua> To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org> Subject: Re: [newbies] советы по мотивам spec-файла Date: Sun, 11 Oct 2009 13:06:13 +0300 Message-ID: <20091011100612.GC26079@osdn.org.ua> (raw) In-Reply-To: <20091010231815.GB21375@altlinux.org> <774a4f4a0910101105g230ad2afh35c0e4a49f592c2a@mail.gmail.com> On Sat, Oct 10, 2009 at 09:05:05PM +0300, Artem Zolochevskiy wrote: > 2. Вопрос по установке документации. [...] > * какие-то может я ещё варианты упустил? Можно смотреть в libalsa.spec, там документация из libalsa-docs складывается в каталог /usr/share/doc/libalsa-%version/ (и точно так же можно из нескольких подпакетов, как рядом и расписано -- просто сам обычно в таких случаях помню, что "libalsa", и лезу посмотреть туда): %define pkgdocdir %_docdir/%name-%version [...] %install #... mkdir -p %buildroot%pkgdocdir install -pm644 NOTES MEMORY-LEAK TODO %buildroot%pkgdocdir/ cp -a doc/doxygen/html %buildroot%pkgdocdir/ [...] %files docs %dir %pkgdocdir %pkgdocdir/[D-Z]* %pkgdocdir/html > 3. Вопрос по именованию. Я уже говорил, что asciidoc распилен > на подпакеты. Это ПО содержит две большие утилиты: asciidoc и > a2x. Они настолько велики сами по себе или различны по наборам зависимостей, что в распиле пакета есть реальный смысл? [посмотрел: asciidoc тащит только питон с кучкой модулей, a2x -- вдобавок lynx xsltproc docbook-style-xsl dblatex; пожалуй, оправданно, хотя размер подпакета -a2x минимален] > * стоит ли ставить зависимость: пакет документации зависит от > пакета самой программы? Каковы тут правила/традиция? По-моему, хорошая традиция -- это знать меру и не доходить до оверинжиниринга. :) А вообще документацию порой ставят и без программы -- на почитать. Сейчас это скорее редкость, но раз уж ты спрашиваешь... On Sun, Oct 11, 2009 at 03:18:15AM +0400, Alexey I. Froloff wrote: > > * не использовать ли имя пакета asciidoc для именования пакета, > > устанавливающего _все_ компоненты? (надо, конечно будет тогда > > придумать имя для пакета, который сейчас именуется asciidoc) > Это сложный философский вопрос. Кто пользуется asciidoc ради > a2x? Если количество таких пользователей пренебрежимо мало, то > можно и не напрягаться. В противном случае надо обеспечить > присутствие a2x после обновления основного пакета. Насколько понимаю, можно не напрягаться. Если всё-таки ошибся и вылезут недовольные пользователи сизифа, то ради избежания недовольства обновляющих дистрибутивы можно и сделать. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
next prev parent reply other threads:[~2009-10-11 10:06 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 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 [this message] 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=20091011100612.GC26079@osdn.org.ua \ --to=mike@osdn.org.ua \ --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