[newbies] ncmpcpp. Прокомментируйте, пожалуйста, спек

Anatoly Bashmakov anatoly на eusers.ru
Пн Ноя 1 20:54:19 UTC 2010


Добрый день.

Не нашел в сизифе ncmpcpp (http://unkart.ovh.org/ncmpcpp/), которым
пользовался в других дистрибутивах linux. Это консольный клиент к mpd на
ncurses(w). Поэтому собрал пакет. Если у кого-то есть время/желание
прокомментировать, буду рад.

-- 
Anatoly
----------- следующая часть -----------
%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 -n %name-%version

%build
# Put doc files to the right place
%__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
%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
bzip2 --best --keep --force NEWS


%install
%make_install DESTDIR=%buildroot install
bzip2 --best %buildroot%_docdir/%name-%version/NEWS

%files
%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
%_bindir/*
%_man1dir/*

%changelog
* Sat Oct 23 2010 Anatoly Bashmakov <anatoly на eusers.ru> 0.5.5-alt1
- 0.5.5. Initial build


Подробная информация о списке рассылки devel-newbies