[ncmpc] Update to upstream release 0.21

Jamie Nguyen jamielinux at fedoraproject.org
Sun Mar 23 21:08:45 UTC 2014


commit ce93556b0f1db1c974101c80e2fad6b989bfb78a
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sun Mar 23 21:08:38 2014 +0000

    Update to upstream release 0.21

 .gitignore                                |    1 +
 ncmpc-lirc.patch => ncmpc-0.18-lirc.patch |    0
 ncmpc.spec                                |   47 ++++++++++++++++++-----------
 sources                                   |    2 +-
 4 files changed, 31 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9d8551d..81eb7f4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 ncmpc-0.14.tar.bz2
 /ncmpc-0.18.tar.bz2
 /ncmpc-0.20.tar.bz2
+/ncmpc-0.21.tar.bz2
diff --git a/ncmpc-lirc.patch b/ncmpc-0.18-lirc.patch
similarity index 100%
rename from ncmpc-lirc.patch
rename to ncmpc-0.18-lirc.patch
diff --git a/ncmpc.spec b/ncmpc.spec
index bcbfe69..a0813d2 100644
--- a/ncmpc.spec
+++ b/ncmpc.spec
@@ -1,36 +1,39 @@
 Name:           ncmpc
-Version:        0.20
-Release:        4%{?dist}
+Version:        0.21
+Release:        1%{?dist}
 Summary:        A curses client for the Music Player Daemon (MPD)
 
 Group:          Applications/Multimedia
 License:        GPLv2+
-URL:            http://mpd.wikia.com/wiki/Client:Ncmpc
-Source0:        http://downloads.sourceforge.net/musicpd/%{name}-%{version}.tar.bz2
-Patch0:         ncmpc-lirc.patch
+URL:            http://www.musicpd.org/
+Source0:        http://www.musicpd.org/download/ncmpc/0/ncmpc-%{version}.tar.bz2
+Patch0:         %{name}-0.18-lirc.patch
 
-BuildRequires:  ncurses-devel
-BuildRequires:  glib2-devel >= 2.4
+BuildRequires:  autoconf automake
 BuildRequires:  gettext
+BuildRequires:  glib2-devel >= 2.4
+BuildRequires:  libmpdclient-devel > 2.5
 BuildRequires:  lirc-devel
-BuildRequires:  libmpdclient-devel > 2.2
-BuildRequires:  autoconf automake
+BuildRequires:  ncurses-devel
+BuildRequires:  ruby-devel
 
 %description
-ncmpc is a curses client for the Music Player Daemon (MPD). ncmpc connects to 
-a MPD running on a machine on the local network, and controls this with an 
-interface inspired by cplay. 
+ncmpc is a curses client for the Music Player Daemon (MPD). ncmpc connects to
+a MPD running on a machine on the local network, and controls this with an
+interface inspired by cplay.
 
 
 %prep
 %setup -q
-%patch0 -p1 -b.lirc
-
-autoreconf
+%patch0 -p1 -b .lirc
+autoreconf -fi
 
 %build
-%configure --enable-wide --enable-nls --enable-colors --enable-lirc \
-  --enable-artist-screen --with-ncursesw
+%configure \
+    --enable-colors \
+    --enable-lirc \
+    --enable-lyrics-screen \
+    --with-lyrics-plugin-dir=%{_datadir}/ncmpc/lyrics
 make %{?_smp_mflags}
 
 
@@ -49,14 +52,22 @@ install -p -m644 doc/keys.sample $RPM_BUILD_ROOT%{_sysconfdir}/ncmpc/keys
 %doc README NEWS AUTHORS COPYING doc/ncmpc.lirc
 %{_bindir}/ncmpc
 %{_mandir}/man1/*
-%{_sysconfdir}/ncmpc
+%dir %{_sysconfdir}/ncmpc
 %config(noreplace) %{_sysconfdir}/ncmpc/config
 %config(noreplace) %{_sysconfdir}/ncmpc/keys
+%dir %{_datadir}/ncmpc
+%dir %{_datadir}/ncmpc/lyrics
+%{_datadir}/ncmpc/lyrics/*
 
 %exclude %{_datadir}/doc/*
 
 
 %changelog
+* Sun Mar 23 2014 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.21-1
+- update to upstream release 0.21
+- add --enable-lyrics-screen and BR: ruby-devel
+- remove redundant `configure` options
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.20-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index e14bf2d..0a067d3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-62b9df0263d9567babf7446c258acc5d  ncmpc-0.20.tar.bz2
+f26658e84ce08019bf3fe5857f6f4014  ncmpc-0.21.tar.bz2


More information about the scm-commits mailing list