packages: mpc/mpc.spec - up to 0.21, add bash-completion package
glen
glen at pld-linux.org
Thu Aug 11 16:04:32 CEST 2011
Author: glen Date: Thu Aug 11 14:04:32 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.21, add bash-completion package
---- Files affected:
packages/mpc:
mpc.spec (1.14 -> 1.15)
---- Diffs:
================================================================
Index: packages/mpc/mpc.spec
diff -u packages/mpc/mpc.spec:1.14 packages/mpc/mpc.spec:1.15
--- packages/mpc/mpc.spec:1.14 Sat Jan 29 18:59:52 2011
+++ packages/mpc/mpc.spec Thu Aug 11 16:04:27 2011
@@ -2,17 +2,18 @@
Summary: Comandline client for mpd
Summary(pl.UTF-8): Klient wiersza poleceń dla mpd
Name: mpc
-Version: 0.20
+Version: 0.21
Release: 1
License: GPL
Group: Applications
-Source0: http://downloads.sourceforge.net/musicpd/mpc-%{version}.tar.bz2
-# Source0-md5: 24c81ad6afe6099e8d7a6826ef4b7105
-URL: http://www.musicpd.org/mpc.shtml
+Source0: http://downloads.sourceforge.net/musicpd/%{name}-%{version}.tar.bz2
+# Source0-md5: d8f88aad5fa7ed4c6e7005c5ec1ba7c5
+URL: http://mpd.wikia.com/wiki/Client:Mpc
BuildRequires: autoconf >= 2.60
BuildRequires: automake
BuildRequires: libmpdclient-devel >= 2.2
BuildRequires: pkgconfig
+Suggests: bash-completion-%{name}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -21,6 +22,14 @@
%description -l pl.UTF-8
Klient dla daemona mpd obsługiwany z wiersza poleceń.
+%package -n bash-completion-%{name}
+Summary: bash-completion for mpc
+Group: Applications/Shells
+Requires: bash-completion
+
+%description -n bash-completion-%{name}
+This package provides bash-completion for mpc.
+
%prep
%setup -q
@@ -34,20 +43,26 @@
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} install \
+ doc_DATA= \
DESTDIR=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc/bash_completion.d
+cp -p doc/mpc-completion.bash $RPM_BUILD_ROOT/etc/bash_completion.d
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS README NEWS
-%attr(755,root,root) %{_bindir}/*
-%dir %{_docdir}/%{name}
-%{_docdir}/%{name}/*
-%{_mandir}/man1/*
+%doc doc/mpd-m3u-handler.sh doc/mpd-pls-handler.sh doc/mppledit
+%attr(755,root,root) %{_bindir}/mpc
+%{_mandir}/man1/mpc.1*
+
+%files -n bash-completion-%{name}
+%defattr(644,root,root,755)
+/etc/bash_completion.d/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -55,6 +70,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.15 2011/08/11 14:04:27 glen
+- up to 0.21, add bash-completion package
+
Revision 1.14 2011/01/29 17:59:52 atler
- up 0.20
- updated BRs
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mpc/mpc.spec?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list