[ncmpc] Update to upstream release 0.20 and spec cleanup.

Jamie Nguyen jamielinux at fedoraproject.org
Wed Feb 22 20:23:08 UTC 2012


commit bf3ca33360d586090fe2685e38b65088a3b43b52
Author: Jamie Nguyen <jamie at tomoyolinux.co.uk>
Date:   Wed Feb 22 20:21:43 2012 +0000

    Update to upstream release 0.20 and spec cleanup.

 .gitignore |    1 +
 ncmpc.spec |   19 ++++++-------------
 sources    |    2 +-
 3 files changed, 8 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f296159..9d8551d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 ncmpc-0.14.tar.bz2
 /ncmpc-0.18.tar.bz2
+/ncmpc-0.20.tar.bz2
diff --git a/ncmpc.spec b/ncmpc.spec
index 8718137..9ec2b30 100644
--- a/ncmpc.spec
+++ b/ncmpc.spec
@@ -1,6 +1,6 @@
 Name:           ncmpc
-Version:        0.18
-Release:        2%{?dist}
+Version:        0.20
+Release:        1%{?dist}
 Summary:        A curses client for the Music Player Daemon (MPD)
 
 Group:          Applications/Multimedia
@@ -8,7 +8,6 @@ License:        GPLv2+
 URL:            http://mpd.wikia.com/wiki/Client:Ncmpc
 Source0:        http://downloads.sourceforge.net/musicpd/%{name}-%{version}.tar.bz2
 Patch0:         ncmpc-lirc.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  ncurses-devel
 BuildRequires:  glib2-devel >= 2.4
@@ -22,10 +21,6 @@ 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. 
 
-Music Player Daemon (MPD) allows remote access for playing music (MP3, 
-Ogg Vorbis, FLAC, AAC, and wave files) and managing playlists. MPD is 
-designed for integrating a computer into a stereo system that provides 
-control for music playback over a local network. Read more at musicpd.org
 
 %prep
 %setup -q
@@ -40,7 +35,6 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ncmpc
@@ -50,11 +44,8 @@ install -p -m644 doc/keys.sample $RPM_BUILD_ROOT%{_sysconfdir}/ncmpc/keys
 
 %find_lang ncmpc
 
-%clean
-rm -rf $RPM_BUILD_ROOT
 
 %files -f ncmpc.lang
-%defattr(-,root,root,-)
 %doc README NEWS AUTHORS COPYING doc/ncmpc.lirc
 %{_bindir}/ncmpc
 %{_mandir}/man1/*
@@ -64,9 +55,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %exclude %{_datadir}/doc/*
 
+
 %changelog
-* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.18-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+* Wed Feb 22 2012 Jamie Nguyen <jamie at tomoyolinux.co.uk> - 0.20-1
+- update to upstream release 0.20
+- remove obsolete BuildRoot tag, %%clean section and %%defattr
 
 * Tue Mar 01 2011 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
 - 0.18-1
diff --git a/sources b/sources
index 93b6a52..e14bf2d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9f07e8289b710c7c41b3c80ba73fed76  ncmpc-0.18.tar.bz2
+62b9df0263d9567babf7446c258acc5d  ncmpc-0.20.tar.bz2


More information about the scm-commits mailing list