Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37413691
en ru br
ALT Linux repos
S:0.33-alt1
D:0.12.1-alt0.2
5.0: 0.12.0-alt1
4.1: 0.12.0-alt1
4.0: 0.12.0-alt1
3.0: 0.11.1-alt1

Group :: Sound
RPM: mpc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

Name: mpc
Version: 0.30
Release: alt1
Summary: Command line tool to interface MPD
License: %gpl2plus
Group: Sound
Url: http://mpd.wikia.com/?page=mpc

# https://github.com/MusicPlayerDaemon/mpc.git

Source: %name-%version.tar

BuildRequires(pre): rpm-build-licenses
BuildRequires(pre): meson
BuildRequires: libmpdclient-devel
BuildRequires: python3-module-sphinx

%description
Music Player Command (%name) is a client for MPD, the Music Player
Daemon. %name connects to a MPD running on a machine via a network.

%prep
%setup
sed -i -e "s,sphinx-build,sphinx-build-3,g" doc/meson.build

%build
%meson -D iconv=true
%meson_build

%check
%meson_test

%install
%meson_install

mkdir -p %buildroot%_sysconfdir/bash_completion.d

install -p -D -m0644 contrib/mpc-completion.bash \
   %buildroot%_sysconfdir/bash_completion.d/%name

rm -f %buildroot%_defaultdocdir/%name/contrib/mpc-completion.bash
rm -f %buildroot%_defaultdocdir/%name/html/.buildinfo

%files
%config(noreplace) %_sysconfdir/bash_completion.d/%name
%_bindir/*
%_man1dir/*
%_defaultdocdir/%name

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin