From: Anatoly Bashmakov <anatoly@eusers.ru> To: devel-newbies@lists.altlinux.org Subject: Re: [newbies] ncmpcpp. Прокомментируйте, пожалуйста, спек Date: Tue, 2 Nov 2010 01:09:25 +0300 Message-ID: <20101101220924.GB2069@otherland.localdomain> (raw) In-Reply-To: <20101101212457.GB13798@altlinux.org> [-- Attachment #1: Type: text/plain, Size: 1155 bytes --] Спасибо! Alexey I. Froloff wrote: > On Mon, Nov 01, 2010 at 11:54:19PM +0300, Anatoly Bashmakov wrote: > > %setup -n %name-%version > %setup Понял > > > %__sed -i -e 's,docdir = $(prefix)/share/doc/$(PACKAGE),#docdir = $(prefix)/share/doc/$(PACKAGE),' Makefile.am > > %__sed -i -e 's,docdir = $(prefix)/share/doc/$(PACKAGE),#docdir = $(prefix)/share/doc/$(PACKAGE),' doc/Makefile.am > sed -i -e '/^docdir = /d' Makefile.am doc/Makefile.am Думал, закомментировать понятнее будет, да и s/^docdir/#docdir/ хватило бы. > > > bzip2 --best --keep --force NEWS > Совершенно бессмысленная операция в %build. Это после install делать? Имеет смысл делать эту операцию вообще? Заметил в некоторых пакетах сжимают, в некоторых нет. > > > %make_install DESTDIR=%buildroot install > %makeinstall_std > > > %doc %dir %_docdir/%name-%version > > %doc %_docdir/%name-%version/AUTHORS > > %doc %_docdir/%name-%version/COPYING > > %doc %_docdir/%name-%version/NEWS.* > > %doc %_docdir/%name-%version/config > > %doc %_docdir/%name-%version/keys > Достаточно > %_docdir/%name-%version > удалив предварительно оттуда мусор (if any) в %install. Исправил. -- Anatoly [-- Attachment #2: ncmpcpp.spec --] [-- Type: text/plain, Size: 1769 bytes --] %def_disable debug %def_disable static %def_enable outputs %def_enable visualizer %def_enable clock %def_enable unicode %def_with taglib %def_with iconv %def_with fftw %def_with curl Name: ncmpcpp Version: 0.5.5 Release: alt1 Summary: Music Player Daemon console client License: %gpl2only Group: Sound URL: http://unkart.ovh.org/ncmpcpp Source0: http://unkart.ovh.org/ncmpcpp/ncmpcpp-0.5.5.tar.bz2 Packager: Anatoly Bashmakov <anatoly@eusers.ru> BuildRequires(pre): rpm-build-licenses # Automatically added by buildreq on Sun Oct 24 2010 BuildRequires: gcc-c++ libcurl-devel libfftw3-devel libmpdclient-devel libncursesw-devel libtag-devel %{?_with_curl:BuildRequires: libcurl-devel} %{?_with_fftw:BuildRequires: libfftw3-devel} %{?_with_taglib:BuildRequires: libtag-devel} %{?_enable_unicode:BuildRequires: libncursesw-devel} %description Ncmpcpp has UI very similar to ncmpc's one, but it provides new useful features such as support for regular expressions in search engine, extended song format, items filtering, last.fm support, ability to sort playlist, local filesystem browser and other minor functions. %prep %setup %build # Put doc files to the right place sed -i -e '/^docdir = /d' Makefile.am doc/Makefile.am %autoreconf %configure \ %{subst_enable debug} \ %{subst_enable static} \ %{subst_enable outputs} \ %{subst_enable visualizer} \ %{subst_enable clock} \ %{subst_enable unicode} \ %{subst_with taglib} \ %{subst_with iconv} \ %{subst_with fftw} \ %{subst_with curl} \ --docdir=%_docdir/%name-%version %make_build %install %makeinstall_std %files %_docdir/%name-%version/* %_bindir/* %_man1dir/* %changelog * Sat Oct 23 2010 Anatoly Bashmakov <anatoly@eusers.ru> 0.5.5-alt1 - 0.5.5. Initial build
next prev parent reply other threads:[~2010-11-01 22:09 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-11-01 20:54 Anatoly Bashmakov 2010-11-01 21:24 ` Alexey I. Froloff 2010-11-01 22:09 ` Anatoly Bashmakov [this message] 2010-11-01 22:59 ` Alexey I. Froloff 2010-11-01 23:48 ` Anatoly Bashmakov 2010-11-02 5:58 ` Andrey Rahmatullin 2010-11-02 9:56 ` Anatoly Bashmakov 2010-11-02 10:02 ` Andrey Rahmatullin 2010-11-02 11:12 ` Anatoly Bashmakov 2010-11-02 13:25 ` Anatoly Bashmakov
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=20101101220924.GB2069@otherland.localdomain \ --to=anatoly@eusers.ru \ --cc=devel-newbies@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
devel@ where you _can_ ask This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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 devel-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \ devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com public-inbox-index devel-newbies Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies AGPL code for this site: git clone https://public-inbox.org/public-inbox.git