Accepting request 416619 from home:badshah400:branches:multimedia:libs
- Add and install appdata file. OBS-URL: https://build.opensuse.org/request/show/416619 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vlc?expand=0&rev=169
This commit is contained in:
6
vlc.spec
6
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
|
||||
|
Reference in New Issue
Block a user