devel@ where you _can_ ask
 help / color / mirror / Atom feed
From: Anatoly Bashmakov <anatoly@eusers.ru>
To: devel-newbies@lists.altlinux.org
Subject: Re: [newbies] ncmpcpp. Прокомментируйте, пожалуйста, спек
Date: Tue, 2 Nov 2010 02:48:14 +0300
Message-ID: <20101101234813.GA2443@otherland.localdomain> (raw)
In-Reply-To: <20101101225917.GC13798@altlinux.org>

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

Alexey I. Froloff wrote:
> On Tue, Nov 02, 2010 at 01:09:25AM +0300, Anatoly Bashmakov wrote:
> Какого он размера, для начала?  Если десятки или сотни килобайт,
> то да.
Файлы в /usr/share/doc/ncmpc-0.5.5:
4,0K    ./AUTHORS
12K     ./config
20K     ./COPYING
4,0K    ./keys
12K     ./NEWS
Имеет смысл что-то архивировать?

> Нет, именно
> 
> %_docdir/%name-%versionY
%_docdir/%name-%version ?
%versionY не нашел.

> без /* на конце.  Это аналогично
> 
> %dir %_docdir/%name-%version
> %_docdir/%name-%version/*
> 

Исправил.

-- 
Anatoly

[-- Attachment #2: ncmpcpp.spec --]
[-- Type: text/plain, Size: 1767 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

  reply	other threads:[~2010-11-01 23:48 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
2010-11-01 22:59     ` Alexey I. Froloff
2010-11-01 23:48       ` Anatoly Bashmakov [this message]
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=20101101234813.GA2443@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