File ncmpcpp.spec of Package ncmpcpp
#
# spec file for package ncmpcpp (Version 0.3.6pre+ git)
#
# Copyright 2009 Mario García H.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# norootforbuild
Summary: Graphic interface to Music Player Daemon with FULL features
Name: ncmpcpp
Version: 0.3.6pre+git
Release: 1
Source0: %{name}+git.tar.bz2
#Source1: git://repo.or.cz/ncmpcpp.git
Vendor: %{vendor}
URL: http://unkart.ovh.org/ncmpcpp/
License: GPL
Group: Productivity/Multimedia/Other
AutoReqProv: on
Requires: mpd
BuildRequires: gcc-c++ ncurses-devel libcurl-devel taglib-devel fdupes
BuildRoot: %{_builddir}/%{name}-%{version}-build
%description
This is the full and last version (pre-release) of
ncmpcpp, with lyrics support, fetch artist
information, media library, playlist editor,
tag editor and even the clock window.
Ncmpcpp has a ncurses UI very similar to ncmpc, but it
provides new useful features such as support for
regular expressions in the search engine, extended
song formating, filtering per item, last.fm support,
ability to sort playlists, local filesystem
browser and other minor functions.
New features:
* tag editor
* playlists editor
* easy to use search screen
* media library screen
* lyrics screen
* fetching artist's info from last.fm
* a lot of minor useful functions
NOTICE:
This is a weekly automated update of git sources so
you should use it just if you want to keep up with
the current development branches. There are many
new features and fixes introduced but, perhaps,
some new errors too. Your choice.
%prep
%setup -q -n %name
%build
chmod 0755 autogen.sh
./autogen.sh
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
--enable-threads \
--enable-unicode \
--enable-clock \
--with-taglib \
--with-curl \
--libdir=%{_libdir} \
--datadir=%{_datadir} \
--docdir=%{_docdir} \
--sysconfdir=%{_sysconfdir} \
--mandir=%{_mandir} \
--disable-dependency-tracking \
--disable-static
%{__make} %{?jobs:-j%jobs}
%debug_package
%install
%{__make} DESTDIR=$RPM_BUILD_ROOT install
%{__install} -d -m 0755 %{buildroot}%{_docdir}
%fdupes %{buildroot}
%{__mv} -f %{buildroot}/usr/share/doc/%{name} \
%{buildroot}%{_docdir}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%attr(0755,root,root)%{_bindir}/%{name}
%dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/AUTHORS
%doc %{_docdir}/%{name}/COPYING
%doc %{_docdir}/%{name}/NEWS
%doc %{_docdir}/%{name}/config
%doc %{_docdir}/%{name}/keys
%doc %{_mandir}/man1/%{name}.1.gz
%exclude /usr/lib/debug/*
%exclude /usr/lib/debug/.*
%changelog
* Sun Aug 2 2009 Mario García H. <code933k@gmail.com> - 0.3.6pre+git
- Updated version so that it matches the current automated GIT
- packaging and build process.
- Andrzej, the author of ncmpcpp has added the link to this rpm
- to the ncmpcpp main page for users to test.
* Sun Aug 2 2009 Mario García H. <code933k@gmail.com> - 0.3.5+git
- Initial package.