commit 8f65486c55528f26eb5fe127e9c8087382769d18
Author: Vasiliy Glazov <v.glazov(a)javad.com>
Date: Mon Feb 19 15:46:13 2018 +0300
Drop patch, correct appdata and desktop files paths.
gnome-mpv.spec | 10 ++--
...-appdata-and-add-missing-meson-build-file.patch | 57 ----------------------
2 files changed, 5 insertions(+), 62 deletions(-)
---
diff --git a/gnome-mpv.spec b/gnome-mpv.spec
index 2ad7da4..d2460c6 100644
--- a/gnome-mpv.spec
+++ b/gnome-mpv.spec
@@ -6,7 +6,7 @@ Summary: A simple GTK+ frontend for mpv
License: GPLv3+
URL:
https://github.com/gnome-mpv/gnome-mpv
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz
-Patch0: update-appdata-and-add-missing-meson-build-file.patch
+# Patch0: update-appdata-and-add-missing-meson-build-file.patch
BuildRequires: gcc
BuildRequires: desktop-file-utils
@@ -25,7 +25,7 @@ GNOME MPV interacts with mpv via the client API exported by libmpv,
allowing access to mpv's powerful playback capabilities.
%prep
-%autosetup -p1
+%autosetup
%build
%configure
@@ -37,7 +37,7 @@ allowing access to mpv's powerful playback capabilities.
%find_lang %{name}
%check
-appstream-util validate-relax --nonet
%{buildroot}%{_datadir}/appdata/io.github.GnomeMpv.appdata.xml
+appstream-util validate-relax --nonet
%{buildroot}%{_datadir}/metainfo/io.github.GnomeMpv.appdata.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/io.github.GnomeMpv.desktop
%post
@@ -60,13 +60,13 @@ fi
%doc AUTHORS README.md
%license COPYING
%{_bindir}/%{name}
-%{_datadir}/appdata/io.github.GnomeMpv.appdata.xml
+%{_datadir}/metainfo/io.github.GnomeMpv.appdata.xml
%{_datadir}/applications/io.github.GnomeMpv.desktop
%{_datadir}/dbus-1/services/io.github.GnomeMpv.service
%{_datadir}/glib-2.0/schemas/io.github.GnomeMpv.gschema.xml
# The old GSchema is left installed for settings migration.
%{_datadir}/glib-2.0/schemas/org.gnome-mpv.gschema.xml
-%{_datadir}/icons/hicolor/*/apps/%{name}*.svg
+%{_datadir}/icons/hicolor/*/apps/*.svg
%{_mandir}/man1/%{name}.1.gz
%changelog