]> git.pld-linux.org Git - packages/mpc.git/blame - mpc.spec
up to 0.33
[packages/mpc.git] / mpc.spec
CommitLineData
af25752e 1Summary: Comandline client for mpd
c78714cf 2Summary(pl.UTF-8): Klient wiersza poleceń dla mpd
af25752e 3Name: mpc
51fdc164 4Version: 0.33
a6a8f75e 5Release: 1
12db0155 6License: GPL v2+
af25752e 7Group: Applications
df582dec 8Source0: http://www.musicpd.org/download/mpc/0/%{name}-%{version}.tar.xz
51fdc164 9# Source0-md5: 7d1f5c308b5df1f2af0a01360a235af2
564dea06 10URL: http://www.musicpd.org
1822dec8 11BuildRequires: libmpdclient-devel >= 2.9
e30c4563 12BuildRequires: meson >= 0.47
605ff545 13BuildRequires: ninja
2daddca6 14BuildRequires: pkgconfig
605ff545 15BuildRequires: rpmbuild(macros) >= 1.727
e30c4563 16BuildRequires: sphinx-pdg
1822dec8 17Requires: libmpdclient >= 2.9
f8314152 18Suggests: bash-completion-%{name}
af25752e
RK
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Comandline client for mpd daemon.
23
69e8018d
JR
24%description -l pl.UTF-8
25Klient dla daemona mpd obsługiwany z wiersza poleceń.
af25752e 26
f8314152
ER
27%package -n bash-completion-%{name}
28Summary: bash-completion for mpc
29Group: Applications/Shells
30Requires: bash-completion
df670911
ER
31%if "%{_rpmversion}" >= "5"
32BuildArch: noarch
33%endif
f8314152
ER
34
35%description -n bash-completion-%{name}
36This package provides bash-completion for mpc.
37
af25752e
RK
38%prep
39%setup -q
40
41%build
e30c4563
JP
42%meson build \
43 -Ddocumentation=enabled
605ff545 44%meson_build -C build
af25752e
RK
45
46%install
47rm -rf $RPM_BUILD_ROOT
605ff545
JP
48%meson_install -C build
49
f8314152 50install -d $RPM_BUILD_ROOT/etc/bash_completion.d
605ff545
JP
51cp -p contrib/mpc-completion.bash $RPM_BUILD_ROOT/etc/bash_completion.d
52
53rm -r $RPM_BUILD_ROOT%{_docdir}/mpc
f8314152 54
af25752e
RK
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
e30c4563 60%doc AUTHORS README.rst NEWS build/doc/html
605ff545 61%doc contrib/mpd-m3u-handler.sh contrib/mpd-pls-handler.sh
f8314152
ER
62%attr(755,root,root) %{_bindir}/mpc
63%{_mandir}/man1/mpc.1*
64
65%files -n bash-completion-%{name}
66%defattr(644,root,root,755)
67/etc/bash_completion.d/*
This page took 0.064953 seconds and 4 git commands to generate.