ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Andrey Rahmatullin <wrar@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] mp3blaster ? RPM
Date: Tue, 22 Jun 2004 17:28:48 +0600
Message-ID: <20040622112848.GA30635@wrars-comp.wrarsdomain> (raw)
In-Reply-To: <1316601951.20040622165735@ngs.ru>

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

On Tue, Jun 22, 2004 at 04:57:35PM +0700, php-coder wrote:
>  Пытаюсь скомпилировать и завернуть в пакет mp3blaster.
ftp://ftp.altlinux.com/pub/distributions/ALTLinux/Sisyphus/i586/RPMS.classic/mp3blaster-3.2.0-alt9.i586.rpm
чем не нравится?

>  Также в /usr/share/mp3blaster помещается два файла и дириктория chasret.
>  Для чего она не понятно.
RTFM какую-то доку от mp3blaster. Сам уже не помню.

>Если
>  нет, то как включить в пакет %_datadir/%name, исключив эту диреторию.
Обычно такое кладется в %doc, а чтобы не помещать ее в %_datadir/%name,
банально удаляйте в секции %install.

>  Чуть не забыл: стоит ли в %doc включать в пакет такие файлы как COPYING AUTHORS
>  CREDITS TODO?
Обычно включают в %doc все непустые (и вообще с более-менее осмысленным
наполнением) подобные файлы.
Не имеет смысла класть стандартный INSTALL (где написано These are generic
installation instructions), и иногда не кладут лицензию, вместо самого
файла COPYING заворачивая симлинк на соответствующую лицензию из пакета
common-licenses. Делается это так:

в конце %install добавляется что-то типа
%__ln_s -f /usr/share/license/GPL-2 COPYING
и в %files ставится
%doc --no-dereference COPYING

Это сэкономит (в случае GPL-2) ~20 кб на ФС (при установленном пакете) и
~7 кб в самом файле пакета.
Обратите внимание, что необходимо делать симлинк на правильную лицензию,
т.е. в случае, скажем, BSD, будет /usr/share/license/BSD. В случае
нестандартной лицензии ее надо класть обязательно.


ЗЫ. А вот есть ли смысл в запихивании даже ссылки на стандартную лицензию
в каждый пакет - я так и не понял.

-- 
WBR, wRAR (ALT Linux Team)

Не отчаивайтесь, все ошибки рано или поздно исправляются.
		-- ldv in sisyphus@

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2004-06-22 11:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-22  9:57 [Comm] mp3blaster × RPM php-coder
2004-06-22 10:51 ` Nick S. Grechukh
2004-06-22 11:06 ` Nick S. Grechukh
2004-06-22 12:18   ` [Comm] mp3blaster ? RPM Andrey Rahmatullin
2004-06-22 12:38     ` Nick S. Grechukh
2004-06-22 11:28 ` Andrey Rahmatullin [this message]
2004-06-22 12:16   ` Re[2]: " php-coder
2004-06-22 12:31     ` 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=20040622112848.GA30635@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