Add support for appdata

el8
Nicolas Chauvet 8 years ago
parent 4ffbc39ca8
commit f0652be851

@ -41,6 +41,7 @@ URL: http://www.videolan.org
Source0: http://nightlies.videolan.org/build/source/vlc-%{version}%{?vlc_rc}.tar.xz Source0: http://nightlies.videolan.org/build/source/vlc-%{version}%{?vlc_rc}.tar.xz
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
%{?_with_bootstrap: %{?_with_bootstrap:
BuildRequires: gettext-devel BuildRequires: gettext-devel
@ -326,6 +327,10 @@ rm -rf %{buildroot}%{_docdir}/vlc
#Ghost the plugins cache #Ghost the plugins cache
touch %{buildroot}%{_libdir}/vlc/plugins/plugins.dat touch %{buildroot}%{_libdir}/vlc/plugins/plugins.dat
#Appdata
appstream-util validate-relax --nonet \
%{buildroot}/%{_datadir}/appdata/*.appdata.xml
%find_lang %{name} %find_lang %{name}
@ -372,6 +377,7 @@ fi || :
%files %files
%doc AUTHORS ChangeLog NEWS README THANKS %doc AUTHORS ChangeLog NEWS README THANKS
%license COPYING %license COPYING
%{_datadir}/appdata/vlc.appdata.xml
%{_datadir}/applications/*%{name}.desktop %{_datadir}/applications/*%{name}.desktop
%{_datadir}/kde4/apps/solid/actions/vlc-*.desktop %{_datadir}/kde4/apps/solid/actions/vlc-*.desktop
%{_datadir}/icons/hicolor/*/apps/vlc*.png %{_datadir}/icons/hicolor/*/apps/vlc*.png
@ -494,6 +500,7 @@ fi || :
* Fri Oct 28 2016 Nicolas Chauvet <kwizart@gmail.com> - 3.0.0-0.9 * Fri Oct 28 2016 Nicolas Chauvet <kwizart@gmail.com> - 3.0.0-0.9
- Updateto 3.0.0 20161026-0238-git - Updateto 3.0.0 20161026-0238-git
- Merge vlc-plugin-jack into main - Merge vlc-plugin-jack into main
- Add support for appdata
* Thu Sep 08 2016 Nicolas Chauvet <kwizart@gmail.com> - 3.0.0-0.8 * Thu Sep 08 2016 Nicolas Chauvet <kwizart@gmail.com> - 3.0.0-0.8
- Re-enable bootstrap - Re-enable bootstrap

Loading…
Cancel
Save