commit 3808f9f80081cb4ce98d0d05be5a0c194d5bb7ab
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sun Mar 1 06:02:21 2020 +0000
Add appdata file, copied from
https://github.com/sanjayankur31/rpmfusion-appdata
smplayer.appdata.xml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
smplayer.spec | 9 ++++++++-
update_smplayer.sh | 2 --
3 files changed, 56 insertions(+), 3 deletions(-)
---
diff --git a/smplayer.appdata.xml b/smplayer.appdata.xml
new file mode 100644
index 0000000..2fb9859
--- /dev/null
+++ b/smplayer.appdata.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2015 Ankur Sinha <ankursinha AT fedoraproject DOT org> -->
+
+<!-- HOUSEKEEPING, REMOVE THIS COMMENT WHEN THIS GOES UPSTREAM
+BugReportURL: rhbz-#
+SentUpstream: yyyy-mm-dd
+-->
+
+<application>
+ <id type="desktop">rpmfusion-smplayer.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <summary>A graphical frontend for mpv and mplayer</summary>
+ <description>
+ <p>
+ SMPlayer is a free media player for Windows and Linux with built-in
+ codecs that can play virtually all video and audio formats. It doesn't
+ need any external codecs. Just install SMPlayer and you'll be able to
+ play all formats without the hassle to find and install codec packs.
+ </p>
+
+ <p>
+ One of the most interesting features of SMPlayer: it remembers the
+ settings of all files you play. So you start to watch a movie but you
+ have to leave... don't worry, when you open that movie again it will be
+ resumed at the same point you left it, and with the same settings:
+ audio track, subtitles, volume...
+ </p>
+
+ <p>
+ SMPlayer is a graphical user interface (GUI) for the award-winning
+ MPlayer, which is capable of playing almost all known video and audio
+ formats. But apart from providing access for the most common and useful
+ options of MPlayer, SMPlayer adds other interesting features like the
+ possibility to play Youtube videos or download subtitles.
+ </p>
+ </description>
+ <url
type="homepage">http://smplayer.sourceforge.net/linux/</u...
+ <screenshots>
+ <screenshot
type="default">http://smplayer.sourceforge.net/images/screen...
+ <screenshot
type="default">http://smplayer.sourceforge.net/images/screen...
+ <screenshot
type="default">http://smplayer.sourceforge.net/images/screen...
+ <screenshot
type="default">http://smplayer.sourceforge.net/images/screen...
+ </screenshots>
+ <!-- FIXME: change this to an upstream email address for spec updates
+ <updatecontact>someone_who_cares(a)upstream_project.org</updatecontact>
+ -->
+</application>
+
diff --git a/smplayer.spec b/smplayer.spec
index 41fc7cc..c484fd1 100644
--- a/smplayer.spec
+++ b/smplayer.spec
@@ -2,12 +2,13 @@ Name: smplayer
Version: 19.10.2
%global smplayer_themes_ver 18.6.0
%global smplayer_skins_ver 15.2.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A graphical frontend for mplayer and mpv
License: GPLv2+
URL:
https://www.smplayer.info/
Source0:
https://downloads.sourceforge.net/smplayer/smplayer-%{version}.tar.bz2
+Source2: %{name}.appdata.xml
Source3:
https://downloads.sourceforge.net/smplayer/smplayer-themes-%{smplayer_the...
Source4:
https://downloads.sourceforge.net/smplayer/smplayer-skins-%{smplayer_skin...
# Fix regression in Thunar (TODO: re-check in upcoming versions!)
@@ -127,6 +128,7 @@ pushd smplayer-skins-%{smplayer_skins_ver}
mv README.txt README-skins.txt
mv Changelog Changelog-skins.txt
popd
+install -m 0644 -D %{SOURCE2} %{buildroot}%{_metainfodir}/%{name}.appdata.xml
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
@@ -158,6 +160,7 @@ fi
%exclude %{_datadir}/smplayer/themes/
%{_mandir}/man1/%{name}.1.*
%{_docdir}/%{name}
+%{_metainfodir}/%{name}.appdata.xml
%files themes
%doc smplayer-themes-%{smplayer_themes_ver}/README.txt
@@ -168,6 +171,10 @@ fi
%{_datadir}/smplayer/themes/
%changelog
+* Sun Mar 01 2020 Sérgio Basto <sergio(a)serjux.com> - 19.10.2-3
+- Add appdata file, copied from
+
https://github.com/sanjayankur31/rpmfusion-appdata
+
* Wed Feb 05 2020 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
19.10.2-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
diff --git a/update_smplayer.sh b/update_smplayer.sh
index db54bbd..0915108 100755
--- a/update_smplayer.sh
+++ b/update_smplayer.sh
@@ -44,7 +44,5 @@ git checkout f31 && git merge master && git push
&& rfpkg build --nowait; git ch
echo Press enter to continue; read dummy;
git checkout f30 && git merge master && git push && rfpkg build
--nowait; git checkout master
echo Press enter to continue; read dummy;
-git checkout f29 && git merge master && git push && rfpkg build
--nowait; git checkout master
-echo Press enter to continue; read dummy;
git checkout el7 && git merge master && git push && rfpkg build
--nowait; git checkout master
fi