From 902241c6abc7e3739543860b1206b638d5be3642fb60ad4fbf162a8a69e4c625 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 28 Jan 2014 20:51:15 +0000 Subject: [PATCH] tweak OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vlc?expand=0&rev=62 --- vlc.changes | 5 ++++- vlc.spec | 31 ++++++++++++++++--------------- 2 files changed, 20 insertions(+), 16 deletions(-) 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