diff --git a/vlc.appdata.xml b/vlc.appdata.xml new file mode 100644 index 0000000..35a4cc4 --- /dev/null +++ b/vlc.appdata.xml @@ -0,0 +1,34 @@ + + + vlc.desktop + CC0-1.0 + VLC Media player + GPL-2.0+ and LGPL-2.1+ + Read, capture, broadcast your multimedia streams + http://www.videolan.org + +

VLC media player is a highly portable multimedia player for various +audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) +as well as DVDs, VCDs, and various streaming protocols. +It can also be used as a server to stream in unicast or multicast +in IPv4 or IPv6 on a high-bandwidth network.

+

Features:

+ +
+ + + http://images.videolan.org/vlc/screenshots/2.0.0/vlc-2.0-gnome3-debian.jpg + Playing video + + + http://images.videolan.org/vlc/screenshots/2.0.0/vlc-2.0-poney.jpg + Add files to playlist + + + vlc-devel@videolan.org +
diff --git a/vlc.changes b/vlc.changes index 9a38647..0e6391f 100644 --- a/vlc.changes +++ b/vlc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 3 03:19:18 UTC 2016 - badshah400@gmail.com + +- Add and install appdata file. + ------------------------------------------------------------------- Sun Jul 10 16:15:58 UTC 2016 - suse@tleine.de diff --git a/vlc.spec b/vlc.spec index e6799f0..0c3582f 100644 --- a/vlc.spec +++ b/vlc.spec @@ -41,6 +41,7 @@ Source: http://download.videolan.org/%{name}/%{version}/%{name}-%{versio # Add vlc.changes as source, so we can reproducibly extract the date from it during build Source1: %{name}.changes Source2: %{name}-rpmlintrc +Source3: %{name}.appdata.xml # PATCH-FIX-OPENSUSE vlc-2.1.5-fix-skins2-default-skin-creation.patch -- see description in patch header Patch1: vlc-2.1.5-fix-skins2-default-skin-creation.patch Patch3: 0001-no-return-in-non-void.patch @@ -504,6 +505,9 @@ for lang in ach an cgg co ff tet ks_IN; do done %find_lang vlc +#Install appdata file +install -Dm0644 %{S:3} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml + %post %{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc/plugins @@ -532,6 +536,8 @@ done # The presence of the .desktop file is what gives AppStream the # hint of which package to add in the appstore... 'vlc' is the place to be %{_datadir}/applications/vlc.desktop +%dir %{_datadir}/appdata +%{_datadir}/appdata/%{name}.appdata.xml # The icon is the one referenced by the .desktop file %{_datadir}/pixmaps/vlc.png %{_bindir}/svlc