From: Michael Shigorin <mike@osdn.org.ua> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] помогите собрать... (webshots для linux'a) Date: Fri, 8 Jan 2010 15:50:56 +0200 Message-ID: <20100108135056.GH1710@osdn.org.ua> (raw) In-Reply-To: <4B4628F3.1010207@gmail.com> On Thu, Jan 07, 2010 at 09:33:23PM +0300, Andrew Clark wrote: > > так... начинает проясняться :) то есть по сути своей спек - > > это тот же скрипт на баше, только со вставками для rpmbuild? > > то есть, пишу как бы заголовок секции %postinstall и дальше > > как бы скрипт на баше? Это кусочки скриптов плюс метаинформация плюс препроцессор. Скрипты возможно исполнять и другими интерпретаторами, не помню уж, какой макрос за это отвечает -- не пользовался. > Условно, спек можно разделить на несколько частей. > 1. "Шапка" - в которой вы описываете пакет > 2. Подготовка (%prep) - разархивирование, прикладывание патчей > 3. Построение (%build) - непосредственно сборка программы и > "раскладывание файлов в нужные места" 3.5. Проверка (%check) -- обычно make check, если предусмотрен. > 4. Упаковка "разложенных" файлов. (бишь %install) > 5. Список изменений. (бишь %changelog) > Происходящим в секциях Вы манипулируете при помощи > системных утилит и/или макросов. А вот это неплохо бы на вики пристроить -- около [[Spec]] или [[SpecTips]], не соображу сходу. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
next prev parent reply other threads:[~2010-01-08 13:50 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-01-06 21:57 ` Motsyo Gennadi aka Drool 2010-01-06 23:09 ` Michael Shigorin 2010-01-07 7:55 ` Денис Назаров 2010-01-07 9:43 ` Денис Назаров 2010-01-07 11:05 ` Andrew Clark 2010-01-07 12:36 ` Denis Nazarov 2010-01-07 12:57 ` Andrew Clark 2010-01-07 16:05 ` Michael Shigorin 2010-01-07 18:04 ` Denis Nazarov 2010-01-07 18:16 ` Andrew Clark 2010-01-07 18:24 ` Denis Nazarov 2010-01-07 18:33 ` Andrew Clark 2010-01-08 13:50 ` Michael Shigorin [this message] 2010-01-08 14:54 ` Andrew Clark 2010-01-08 14:57 ` Michael Shigorin 2010-01-07 19:11 ` Motsyo Gennadi aka Drool 2010-01-08 13:48 ` Michael Shigorin 2010-01-07 18:26 ` Denis Nazarov 2010-01-07 18:35 ` Andrew Clark 2010-01-07 18:43 ` Denis Nazarov 2010-01-07 18:47 ` Andrew Clark 2010-01-07 18:51 ` Denis Nazarov 2010-01-07 18:58 ` Andrew Clark 2010-01-07 18:51 ` Andrew Clark 2010-01-07 19:20 ` Denis Nazarov 2010-01-07 19:10 ` Motsyo Gennadi aka Drool 2010-01-08 13:39 ` Michael Shigorin 2010-01-07 10:01 ` Michael Shigorin 2010-01-07 16:17 ` Michael Shigorin 2010-01-08 1:16 ` Andrey Rahmatullin
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=20100108135056.GH1710@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=community@lists.altlinux.org \ --cc=shigorin@gmail.com \ /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