%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 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 0.5.5-alt1 - 0.5.5. Initial build