From e6492594e6dc51416ee40d9d9cec0a1495fd0177 Mon Sep 17 00:00:00 2001 From: Evgeny Lensky Date: Mon, 29 Feb 2016 21:45:27 +0600 Subject: [PATCH] Update to 0.16.0 fixed: warning "twice installed files" %{doc} --- mpv-config.patch | 34 ++++------------------------------ mpv.spec | 16 +++++++++------- sources | 2 +- 3 files changed, 14 insertions(+), 38 deletions(-) diff --git a/mpv-config.patch b/mpv-config.patch index 02b1c8d..a411259 100644 --- a/mpv-config.patch +++ b/mpv-config.patch @@ -1,38 +1,12 @@ --- a/etc/mpv.conf +++ b/etc/mpv.conf -@@ -1,7 +1,7 @@ +@@ -8,7 +8,7 @@ + # no builtin or example mpv.conf with all the defaults. # - # mpv configuration file # -# Configuration files are read system-wide from /usr/local/etc/mpv.conf -+# Configuration files are read system-wide from /etc/mpv.conf ++# Configuration files are read system-wide from /etc/mpv/mpv.conf # and per-user from ~/.config/mpv/mpv.conf, where per-user settings override # system-wide settings, all of which are overridden by the command line. # -@@ -27,7 +27,7 @@ - ################## - - # Specify default video driver (see --vo=help for a list). --#vo=opengl-hq -+vo=opengl-hq - - # Start in fullscreen mode by default. - #fs=yes -@@ -49,7 +49,7 @@ - ################## - - # Specify default audio driver (see --ao=help for a list). --#ao=alsa -+ao=pulse,alsa - - # Disable softvol usage, and always use the system mixer if available. - #softvol=no -@@ -102,7 +102,7 @@ - - # Enable hardware decoding if available. Often, this requires using an certain - # video output, otherwise no hardware decoding will be used. --#hwdec=auto -+hwdec=auto - - ############ - # Profiles # + diff --git a/mpv.spec b/mpv.spec index d047d42..31860bf 100644 --- a/mpv.spec +++ b/mpv.spec @@ -1,6 +1,6 @@ Name: mpv -Version: 0.15.0 -Release: 2%{?dist} +Version: 0.16.0 +Release: 1%{?dist} Summary: Movie player playing most video formats and DVDs License: GPLv2+ URL: http://%{name}.io/ @@ -104,6 +104,7 @@ waf --destdir=%{buildroot} install %{?_smp_mflags} desktop-file-install etc/mpv.desktop install -Dpm 644 etc/%{name}-symbolic.svg %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps/%{name}-symbolic.svg +install -Dpm 644 README.md %{buildroot}%{_docdir}/%{name}/README.md %post update-desktop-database &>/dev/null || : @@ -124,12 +125,9 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || : %postun -n libmpv -p /sbin/ldconfig %files -%doc README.md -%license LICENSE Copyright -%if 0%{?fedora} >= 23 +%docdir %{_docdir}/%{name} %{_docdir}/%{name} -%endif - +%license LICENSE Copyright %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}*.* @@ -146,6 +144,10 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || : %{_libdir}/pkgconfig/mpv.pc %changelog +* Mon Feb 29 2016 Evgeny Lensky - 0.16.0-1 +- update to 0.16.0 +- edit mpv-config.patch + * Sun Feb 14 2016 Sérgio Basto - 0.15.0-2 - Drop BR lirc, because support for LIRC has been removed in mpv 0.9.0. - Add license tag. diff --git a/sources b/sources index 261e5c3..7e8a028 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9042bd3fbff2bc8ba0b7fadaa4a22101 v0.15.0.tar.gz +e2a9e7d19d9e0e8861af141a67a9e4bd v0.16.0.tar.gz