SHA256
1
0
forked from pool/mpv

Accepting request 448591 from home:alois:branches:multimedia:apps

Minor nitpicking.

OBS-URL: https://build.opensuse.org/request/show/448591
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=74
This commit is contained in:
Tomáš Chvátal 2017-01-03 09:56:14 +00:00 committed by Git OBS Bridge
parent cf6e7a0996
commit 6090e2df94
2 changed files with 23 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 3 08:38:56 UTC 2017 - aloisio@gmx.com
- Fixed minor details for the mpv-bash-completion subpackage
-------------------------------------------------------------------
Mon Jan 2 23:59:18 UTC 2017 - tchvatal@suse.com

View File

@ -26,9 +26,9 @@ Name: mpv
Version: 0.23.0
Release: 0
Summary: Advanced general-purpose multimedia player
# waf is licensed with BSD-3-Clause
License: GPL-2.0+ and BSD-3-Clause and GPL-3.0+
Group: Productivity/Multimedia/Video/Players
# waf is licensed with BSD-3-Clause
Url: http://mpv.io/
Source: http://github.com/mpv-player/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# Can't use system one as it breaks quite often with updates
@ -99,7 +99,6 @@ Requires(post): hicolor-icon-theme
Requires(post): update-desktop-files
Requires(postun): hicolor-icon-theme
Requires(postun): update-desktop-files
Recommends: xrandr
# Used via LUA scripts
Recommends: youtube-dl
# Obsoletion of mplayer2 that is dead for 2 years now
@ -135,15 +134,30 @@ mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety
of video file formats, audio and video codecs, and subtitle types.
%package bash-completion
Version: %{_mbc_ver}
Release: 0
Summary: Bash Completion for %{name}
Group: Productivity/Multimedia/Video/Players
Requires: %{name} = %{version}
Requires: bash-completion
Recommends: xrandr
Supplements: packageand(mpv:bash)
BuildArch: noarch
%description bash-completion
Bash command line completion support for %{name}.
A script for generating a Bash completion script for the popular mpv
video player. It features...
* Completion for all --options,
* Type-based completion for --option arguments for choices, flags,
integers and floats,
* Completion for upper/lower bounds for integer- and float-type
argument ranges where applicable,
* Completion of filter lists as arguments to --vf and --af style
options as well as completion of filter parameters while composing
filter lists,
* Similarly, parameter completion for video and audio outputs (--vo, --ao),
* Regular file name completion.
%package zsh-completion
Summary: ZSH Completion for %{name}
@ -265,6 +279,7 @@ install -D -m 0644 etc/mpv.conf %{buildroot}%{_sysconfdir}/%{name}/mpv.conf
%files bash-completion
%defattr(-,root,root)
%doc mpv-bash-completion-%{_mbc_ver}/LICENSE mpv-bash-completion-%{_mbc_ver}/README.mkd
%{_datadir}/bash-completion/completions/mpv
%files -n %{lname}