From: "\"Ал. Ал.\"" <queq@yandex.ru> To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] Вопрос по спеку Date: Sun, 16 May 2010 13:26:08 +0400 Message-ID: <4BEFBA30.7060209@yandex.ru> (raw) In-Reply-To: <20100516085224.GK10160@wrars-comp.wrarsdomain> 16.05.2010 12:52, Andrey Rahmatullin пишет: > On Sun, May 16, 2010 at 12:44:33PM +0400, "Ал. Ал." wrote: > >> Так url можно и не писать - здесь всё довольно просто. Неясно как >> записать строку в Source, если оригинальное имя файла -- 114212-K3b >> Fire1.tar.gz -- (опять же с пробелом) и если при этом все перечисленные >> в треде решения не помогают? >> > Проще всего забить на оригинальное имя, вы же не собираетесь вставлять > пробел в имя пакета? Всё равно задача "оставить возможность подсунуть > оригинальный тарбол в RPM/SOURCES" при сборке из gear уже не имеет смысла. > Хм... если бы не было пробела, мой спек был бы примерно такого вида: > %define subname K3b Fire > > Name: kde4-k3b-themes-fire > Summary: Theme for K3b > Summary(ru_RU.UTF-8): Тема оформления K3b > License: Creative Commons > Group: Archiving/Cd burning > Url: http://kde-look.org/content/show.php/K3b+Fire?content=114212 > Version: 1.0 > Release: alt1 > Packager: (я) > Source: > http://kde-look.org/CONTENT/content-files/114212-K3b%20Fire1.tar.gz > BuildArch: noarch > PreReq: kde4-k3b >= 2.0-alt0.3 > > %description > Who doesn't like blue theme, this theme Fire for K3b. It's red. > > #This is an original description in Portuguese. > %description -l pt_BR.UTF-8 > Para quem não gosta do Azul, vai ai o Tema Fire para K3b. Todo em > vermelho. > > %description -l ru_RU.UTF-8 > Для тех, кто не любит синие цвета, подойдёт тема Fire для K3b в > красных тонах. > > %prep > %setup -n %subname > > %install > mkdir -p %buildroot%_datadir/kde4/apps/k3b/pics/%subname > cp -r ./* %buildroot%_datadir/kde4/apps/k3b/pics/%subname/ > chmod 0644 %buildroot%_datadir/kde4/apps/k3b/pics/%subname/* > > %files > %dir %_datadir/kde4/apps/k3b/pics/%subname > %_datadir/kde4/apps/k3b/pics/%subname/* > > %changelog > * Sun May 16 2010 (я) 1.0-alt1 > - initial build for ALT Linux Sisyphus Как сделать рабочий спек с правильным прописыванием %define и Source ? Честное слово, эту задачу по-прежнему решить не могу.
next prev parent reply other threads:[~2010-05-16 9:26 UTC|newest] Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-05-15 21:19 "Ал. Ал." 2010-05-16 5:14 ` Andrey Rahmatullin 2010-05-16 5:40 ` "Ал. Ал." 2010-05-16 5:51 ` Andrey Rahmatullin 2010-05-16 6:11 ` "Ал. Ал." 2010-05-16 6:43 ` Andrey Rahmatullin 2010-05-16 7:01 ` "Ал. Ал." 2010-05-16 7:09 ` Andrey Rahmatullin 2010-05-16 7:23 ` "Ал. Ал." 2010-05-16 7:25 ` Andrey Rahmatullin 2010-05-16 7:33 ` "Ал. Ал." 2010-05-16 7:35 ` Andrey Rahmatullin 2010-05-16 8:03 ` "Ал. Ал." 2010-05-16 8:16 ` Andrey Rahmatullin 2010-05-16 8:23 ` "Ал. Ал." 2010-05-16 8:29 ` Andrey Rahmatullin 2010-05-16 8:44 ` "Ал. Ал." 2010-05-16 8:52 ` Andrey Rahmatullin 2010-05-16 9:26 ` "Ал. Ал." [this message] 2010-05-16 9:27 ` Andrey Rahmatullin 2010-05-16 9:50 ` "Ал. Ал." 2010-05-16 10:18 ` "Ал. Ал." 2010-05-16 11:48 ` Andrey Rahmatullin 2010-05-16 12:09 ` "Ал. Ал." 2010-05-16 12:15 ` Andrey Rahmatullin 2010-05-16 12:46 ` "Ал. Ал." 2010-05-16 17:25 ` 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=4BEFBA30.7060209@yandex.ru \ --to=queq@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