Accepting request 215437 from multimedia:libs

- Add update-desktop-files BuildRequires and
  %desktop_database_post/postun calls to respective scriptlets: Fix
  https://bugs.links2linux.org/browse/PM-108.

OBS-URL: https://build.opensuse.org/request/show/215437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=19
This commit is contained in:
Stephan Kulow 2014-01-29 18:21:40 +00:00 committed by Git OBS Bridge
commit 2127725990
2 changed files with 24 additions and 13 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Dec 27 18:30:00 UTC 2013 - claudiozumbo@gmail.com
- 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

View File

@ -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
@ -108,6 +108,7 @@ BuildRequires: schroedinger-devel
BuildRequires: slang-devel
BuildRequires: speex-devel
BuildRequires: taglib-devel
BuildRequires: update-desktop-files
BuildRequires: vcdimager-devel
BuildRequires: xosd-devel
BuildRequires: zvbi-devel
@ -359,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
@ -856,16 +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
%postun noX -p /sbin/ldconfig
%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