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:
commit
2127725990
@ -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
|
Wed Dec 11 10:52:46 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
30
vlc.spec
30
vlc.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package vlc
|
# 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
|
# Copyright (c) 2012 Dominique Leuenberger, Amsterdam, The Netherlands
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -108,6 +108,7 @@ BuildRequires: schroedinger-devel
|
|||||||
BuildRequires: slang-devel
|
BuildRequires: slang-devel
|
||||||
BuildRequires: speex-devel
|
BuildRequires: speex-devel
|
||||||
BuildRequires: taglib-devel
|
BuildRequires: taglib-devel
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: vcdimager-devel
|
BuildRequires: vcdimager-devel
|
||||||
BuildRequires: xosd-devel
|
BuildRequires: xosd-devel
|
||||||
BuildRequires: zvbi-devel
|
BuildRequires: zvbi-devel
|
||||||
@ -359,6 +360,21 @@ for lang in ach cgg ff kmr; do
|
|||||||
done
|
done
|
||||||
%find_lang vlc
|
%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
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/svlc
|
%{_bindir}/svlc
|
||||||
@ -856,16 +872,4 @@ done
|
|||||||
%{_libdir}/pkgconfig/libvlc.pc
|
%{_libdir}/pkgconfig/libvlc.pc
|
||||||
%{_libdir}/pkgconfig/vlc-plugin.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
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user