ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Damir Shayhutdinov" <lost404@gmail.com>
To: hihin@yandex.ru,
	"ALT Linux Sisyphus discussion list"
	<sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] XdTV
Date: Wed, 19 Jul 2006 09:23:12 +0400
Message-ID: <679044850607182223k25499107v611dac8c0d6f046b@mail.gmail.com> (raw)
In-Reply-To: <200607190402.34397@ruslandh>

> В Сизифе, к сожалению сканчался xavtv.
>
> И он не собирается (ни 3, ни 4 версия )
> Нашёл ему замену  xdtv
А tvtime не устраивает?

> Написал spec (естественно по-аналогии с Мандрейковским от xdtv и
> альтовским от xawtv).
Ой страшный спек. В мандрейке все такие?
Всякие %define with_debug 0 надо заменить на %def_disable debug
а %define with_jpeg на %def_enable jpeg
секция %build станет гораздо проще

%configure \
       %subst_enable debug \
       %subst_enable jpeg \
       .....
Макрос %subst_enable debug раскроется в --enable-debug или
--disable-debug, в зависимости от того, %def_enable debug или
%def_disable debug.
Тогда страшные строчки %if with_XXXXX можно будет убрать.
Параметр --prefix не надо передавать configure.

Далее, из спека надо убрать все упоминания директории lib. Нужно
заменить их на подходящие по смыслу макросы %_x11libdir, %_libdir etc.

Строчки типа
bzip2 %{buildroot}%{_mandir}/man1/%{name}.1
Надо убрать, в ALT Linux маны сжимаются автоматически.

Ну еще надо убрать эти лишние {} вокруг имени макроса
Например %{_mandir} заменить на %_mandir.

Программа cleanup_spec из пакета rpm-utils вам в этом поможет.

Вообще советую зайти на wiki.sisyphus.ru и почитать там все в разделе
"Разработчику/мантейнеру", в частности советы, примеры и рекомендации
по упаковке.

  reply	other threads:[~2006-07-19  5:23 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-19  0:02 Хихин Руслан
2006-07-19  5:23 ` Damir Shayhutdinov [this message]
2006-07-19  6:18   ` Хихин Руслан
2006-07-19  6:19 ` Gleb Kulikov
2006-07-19  9:04 ` Igor Zubkov
2006-07-19 10:06 ` Michael Shigorin
2006-07-19 20:08   ` Хихин Руслан
2006-07-20  3:22     ` Slava Semushin
2006-07-20  5:27       ` Хихин Руслан
2006-07-20  9:14         ` Eugene Prokopiev
2006-07-20 19:48           ` Хихин Руслан
2006-07-23  4:42             ` Хихин Руслан
2006-07-23 17:38               ` [sisyphus] XawTV4 Хихин Руслан
2006-07-24  7:36                 ` Damir Shayhutdinov
2006-07-24  8:26                   ` Хихин Руслан
2006-07-25  7:02                     ` Хихин Руслан
2006-07-25  8:38                       ` Хихин Руслан
2006-07-26 20:35                         ` Хихин Руслан
2006-07-27 17:50                           ` Michael Shigorin
2006-07-27 22:01                             ` Хихин Руслан
2006-07-28  5:06                               ` Slava Semushin
2006-07-28  5:41                                 ` Damir Shayhutdinov
2006-07-28  5:54                                   ` Slava Semushin
2006-07-28  5:58                                     ` Damir Shayhutdinov
2006-08-01 16:51                                   ` Хихин Руслан
2006-08-01 17:46                                     ` Хихин Руслан
2006-07-28  5:48                                 ` Andrey Rahmatullin
2006-07-30 20:37                                   ` Michael Shigorin
2006-07-31  8:18                                     ` Хихин Руслан
2006-07-31 17:04                                 ` Хихин Руслан
2006-07-31 17:39                                   ` Sergey Vlasov
2006-07-31 18:21                                     ` Хихин Руслан
2006-08-01 19:26                                   ` Michael Shigorin
2006-08-02  3:15                                     ` Хихин Руслан
2006-08-02  8:54                                       ` Хихин Руслан
2006-08-02  9:05                                         ` Damir Shayhutdinov
2006-08-02  9:28                                           ` Хихин Руслан
2006-08-02  9:35                                             ` Damir Shayhutdinov
2006-08-02  9:39                                             ` Slava Semushin
2006-08-02 10:16                                               ` Хихин Руслан
2006-08-02  9:35                                           ` Хихин Руслан
2006-08-02 15:15                                         ` Michael Shigorin
2006-08-02 18:37                                           ` Хихин Руслан
2006-08-02 18:58                                             ` Andrey Rahmatullin
2006-08-02 15:14                                       ` Michael Shigorin
2006-08-02 16:50                                         ` Хихин Руслан
2006-08-03 12:56                                           ` Aleksey Avdeev
2006-08-02 18:47                                         ` Хихин Руслан
2006-08-02 18:59                                           ` Andrey Rahmatullin
2006-08-04 20:01                                               ` Michael Shigorin
2006-08-05 12:28                                               ` Хихин Руслан
2006-08-06 19:35                                                 ` Хихин Руслан
2006-08-07  7:29                                               ` Slava Semushin
2006-08-14  5:43                                                 ` Хихин Руслан
2006-07-19 10:36 ` [sisyphus] XdTV Epiphanov Sergei
2006-07-19 12:08   ` Epiphanov Sergei
2006-07-19 12:21     ` Led
2006-07-19 20:00     ` Хихин Руслан
2006-07-19 22:24       ` Хихин Руслан
2006-07-20  3:24         ` Slava Semushin
2006-07-20  4:06           ` Хихин Руслан
2006-07-20  9:47           ` Igor Zubkov
2006-07-20 10:04             ` Led
2006-07-20 22:49               ` Хихин Руслан
2006-07-21  8:24                 ` Igor Zubkov
2006-07-21 17:42                   ` Хихин Руслан
2006-07-22  8:35                   ` Хихин Руслан
2006-07-22  8:42                     ` Pavlov Konstantin
2006-07-22  9:10                       ` Хихин Руслан
2006-07-23  5:40                   ` Хихин Руслан
2006-07-20  6:29       ` Хихин Руслан

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=679044850607182223k25499107v611dac8c0d6f046b@mail.gmail.com \
    --to=lost404@gmail.com \
    --cc=hihin@yandex.ru \
    --cc=sisyphus@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

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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