2017-09-29 08:17:30 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package mpclient
|
|
|
|
|
#
|
2023-12-28 19:14:54 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2017-09-29 08:17:30 +00:00
|
|
|
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
|
|
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2018-10-04 08:55:17 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-09-29 08:17:30 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: mpclient
|
2023-12-28 19:14:54 +00:00
|
|
|
Version: 0.35
|
2017-09-29 08:17:30 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: A minimalist command line interface to MPD
|
2019-10-09 13:13:20 +00:00
|
|
|
License: GPL-2.0-or-later
|
2021-12-11 23:46:37 +00:00
|
|
|
URL: https://musicpd.org
|
|
|
|
|
Source0: https://musicpd.org/download/mpc/0/mpc-%{version}.tar.xz
|
2019-10-09 13:13:20 +00:00
|
|
|
BuildRequires: meson >= 0.47.2
|
2018-10-04 08:55:17 +00:00
|
|
|
BuildRequires: ninja
|
|
|
|
|
BuildRequires: pkgconfig
|
2019-10-09 13:13:20 +00:00
|
|
|
BuildRequires: python3-Sphinx
|
2021-12-11 23:46:37 +00:00
|
|
|
BuildRequires: rsync
|
|
|
|
|
BuildRequires: pkgconfig(libmpdclient) >= 2.16
|
2017-09-29 08:17:30 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A client for MPD, the Music Player Daemon. mpc connects to a MPD
|
|
|
|
|
running on a machine via a network. Accepts input on standard input,
|
|
|
|
|
so can be easily used in scripts.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n mpc-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
2018-10-04 08:55:17 +00:00
|
|
|
%meson
|
|
|
|
|
%meson_build
|
2017-09-29 08:17:30 +00:00
|
|
|
|
|
|
|
|
%install
|
2018-10-04 08:55:17 +00:00
|
|
|
%meson_install
|
2021-12-11 23:46:37 +00:00
|
|
|
install -pm0755 contrib/mpd-pls-handler.sh %{buildroot}%{_bindir}/mpd-pls-handler
|
|
|
|
|
install -pm0755 contrib/mpd-m3u-handler.sh %{buildroot}%{_bindir}/mpd-m3u-handler
|
|
|
|
|
install -Dpm0644 contrib/mpc-completion.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
2019-10-09 13:13:20 +00:00
|
|
|
rm -r %{buildroot}%{_datadir}/doc
|
2017-09-29 08:17:30 +00:00
|
|
|
|
2018-10-04 08:55:17 +00:00
|
|
|
%check
|
|
|
|
|
%meson_test
|
|
|
|
|
|
2017-09-29 08:17:30 +00:00
|
|
|
%files
|
2018-10-04 08:55:17 +00:00
|
|
|
%license COPYING
|
|
|
|
|
%doc NEWS README.rst
|
|
|
|
|
%config %{_datadir}/bash-completion/completions/%{name}
|
2019-10-09 13:13:20 +00:00
|
|
|
%{_bindir}/{mpc,mpd-*}
|
|
|
|
|
%{_mandir}/man1/mpc.1%{?ext_man}
|
2017-09-29 08:17:30 +00:00
|
|
|
|
|
|
|
|
%changelog
|