diff --git a/vlc.changes b/vlc.changes index 79c94c5..b0ca3a2 100644 --- a/vlc.changes +++ b/vlc.changes @@ -1,7 +1,10 @@ ------------------------------------------------------------------- Mon Dec 27 18:30:00 UTC 2013 - claudiozumbo@gmail.com -- Fixed issue with gnome: https://bugs.links2linux.org/browse/PM-108 +- Add update-desktop-files BuildRequires and + %desktop_database_post/postun calls to respective scriptlets: Fix + https://bugs.links2linux.org/browse/PM-108. + ------------------------------------------------------------------- Wed Dec 11 10:52:46 UTC 2013 - dimstar@opensuse.org diff --git a/vlc.spec b/vlc.spec index 19b2735..5275962 100644 --- a/vlc.spec +++ b/vlc.spec @@ -1,7 +1,7 @@ # # spec file for package vlc # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties @@ -360,6 +360,21 @@ for lang in ach cgg ff kmr; do done %find_lang vlc +%post noX +/sbin/ldconfig +%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc/plugins +%desktop_database_post + +%postun noX +/sbin/ldconfig +%desktop_database_postun + +%post -n libvlc%{libvlc} -p /sbin/ldconfig +%postun -n libvlc%{libvlc} -p /sbin/ldconfig + +%post -n libvlccore%{libvlccore} -p /sbin/ldconfig +%postun -n libvlccore%{libvlccore} -p /sbin/ldconfig + %files %defattr(-,root,root) %{_bindir}/svlc @@ -857,18 +872,4 @@ done %{_libdir}/pkgconfig/libvlc.pc %{_libdir}/pkgconfig/vlc-plugin.pc -%post noX -/sbin/ldconfig -%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc/plugins -%desktop_database_post - -%postun noX -p /sbin/ldconfig -%desktop_database_postun - -%post -n libvlc%{libvlc} -p /sbin/ldconfig -%postun -n libvlc%{libvlc} -p /sbin/ldconfig - -%post -n libvlccore%{libvlccore} -p /sbin/ldconfig -%postun -n libvlccore%{libvlccore} -p /sbin/ldconfig - %changelog