From: php-coder <php-coder@ngs.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Вопрос по спеку
Date: Thu, 12 May 2005 23:06:20 +0700
Message-ID: <20050512160620.GA11735@mycomp.mydomain> (raw)
In-Reply-To: <428345DF.6070106@elan.com.ua>
--- Slava Dubrovskiy 2005-05-12 15:02:39 +0300
+++ php-coder 2005-05-12 22:37:03 +0700
> Есть пакет srpm, который при сборке формирует 2 субпакета rpm. При этом
> первый зависит от второго и у обоих файлы (и каталоги) находятся в одной
> директории.
Все просто! ;) Если один пакет зависит от другого, то тут все просто --
в главному пакету принадлежат директории, а зависимому файлы из них.
[skip]
> %dir %_libdir/%name/
> %_libdir/%name/*.so*
%_libdir/%name
> %_libdir/libgcompris-1.so.0.0.0
> %_libdir/libgcompris-1.so.0
%_libdir/*
> %dir %_datadir/gcompris
> # Вот эта директория содержит только субдиректории
> %dir %_datadir/gcompris/boards
> %dir %_datadir/gcompris/boards/skins
> %_datadir/gcompris/boards/skins/*
> %_datadir/gcompris/boards/[^fs]*
> %_datadir/gcompris/boards/f[iuo]*
> %_datadir/gcompris/boards/s[cemu]*
> %dir %_datadir/gcompris/boards/sounds
> %_datadir/gcompris/boards/sounds/*.ogg
> %_datadir/gcompris/boards/sounds/melody/*/*.ogg
> %_datadir/gcompris/boards/sounds/chronos/space/*.ogg
> %_datadir/gcompris/boards/sounds/HOWTO_ENCODE
> %dir %_datadir/gcompris/python
> %_datadir/gcompris/python/*
У вас всего два пакета верно? Два файла принадлежат второму и все
вышеперечисленное первому, так? Тогда вместо всего вышеперечисленного
можно написать следующее:
%_datadir/gcompris
%exclude %_datadir/gcompris/boards/flags
%exclude %_datadir/assetml/gcompris_flags.assetml
[skip]
> %_datadir/locale/ru/*/*
> %_datadir/locale/en_GB/*/*
Тут нужно использовать %find_lang
> %_datadir/pixmaps/*.png
А зачем *.png Там еще есть какие-то файлы? Думаю, что не должны быть.
Можно просто звездочку.
> %files -n assetml-flags
> %_datadir/gcompris/boards/flags
> %_datadir/assetml/gcompris_flags.assetml
Оставьте также...
--
+ php-coder
+ php-coder[at]ngs[dot]ru
next prev parent reply other threads:[~2005-05-12 16:06 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-12 12:02 Slava Dubrovskiy
2005-05-12 13:08 ` [Comm] " Michael Shigorin
2005-05-12 16:06 ` php-coder [this message]
2005-05-12 16:01 ` [Comm] бНОПНЯ ОН ЯОЕЙС Slava Dubrovskiy
2005-05-12 18:23 ` [Comm] Вопрос по спеку php-coder
2005-05-13 6:26 ` [Comm] бНОПНЯ ОН ЯОЕЙС Slava Dubrovskiy
2005-05-13 13:15 ` [Comm] Вопрос по спеку php-coder
2005-05-13 13:19 ` [Comm] бНОПНЯ ОН ЯОЕЙС Slava Dubrovskiy
2005-05-13 14:26 ` Maxim Tyurin
2005-05-13 17:42 ` [Comm] Re: Вопрос по спеку Michael Shigorin
2005-05-13 7:19 ` [Comm] " Guest007
2005-05-13 10:22 ` Slava Dubrovskiy
2005-05-13 13:15 ` php-coder
2005-05-13 13:35 ` [Comm] бНОПНЯ ОН ЯОЕЙС Slava Dubrovskiy
2005-05-13 14:10 ` Alexey Rusakov
2005-05-13 15:08 ` Slava Dubrovskiy
2005-05-13 18:34 ` Alexey Rusakov
2005-05-13 14:26 ` 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=20050512160620.GA11735@mycomp.mydomain \
--to=php-coder@ngs.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