File vmn.spec of Package vmn
#
# spec file for package vmn
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: vmn
Version: 0.4
Release: 0
Summary: Simplistic cli music player built on mpv and curses
License: GPL-3.0-only
Group: Productivity/Multimedia/Sound/Players
URL: https://github.com/Dudemanguy911/vmn
Source0: https://github.com/Dudemanguy/vmn/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: meson
BuildRequires: scdoc
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(menu)
BuildRequires: pkgconfig(mpv)
BuildRequires: pkgconfig(ncurses)
%description
vim music navigator is a simple, barebones commandline music player.
vmn aims to provide a highly customizable, configurable interface to
handle massive music libraries with ease. One feature of vmn is that it
makes use of mpv's client API for playback which gives you all of the
power of mpv's options integrated into a nice interface for browsing and
listening to your music.
%package bash-completion
Summary: Bash completion for %{name}
Group: System/Shells
Requires: bash-completion
Supplements: packageand(%{name}:bash)
BuildArch: noarch
%description bash-completion
Bash command line completion support for %{name}.
%package zsh-completion
Summary: Zsh Completion for %{name}
Group: System/Shells
Requires: zsh
Supplements: packageand(%{name}:zsh)
BuildArch: noarch
%description zsh-completion
ZSH command line completion support for %{name}.
%prep
%autosetup
%build
%meson
%meson_build
%install
%meson_install
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%files bash-completion
%{_datadir}/bash-completion/completions/%{name}
%files zsh-completion
%{_datadir}/zsh/site-functions/_%{name}
%changelog