fix rfbz#3639

el8
Nicolas Chauvet 10 years ago
parent 40c9b0990b
commit 4629e74286

@ -32,7 +32,7 @@
Summary: The cross-platform open-source multimedia framework, player and server
Name: vlc
Version: 2.2.1
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2+
Group: Applications/Multimedia
URL: http://www.videolan.org
@ -318,11 +318,15 @@ ln -sf ../../../fonts/dejavu/DejaVuSans-Bold.ttf \
#Fix unowned directories
rm -rf $RPM_BUILD_ROOT%{_docdir}/vlc
#Ghost the plugins cache
touch $RPM_BUILD_ROOT%{_libdir}/vlc/plugins.dat
%find_lang %{name}
%post
%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc &>/dev/null
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
@ -332,6 +336,7 @@ fi
%post core -p /sbin/ldconfig
%postun
%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc &>/dev/null
%{_bindir}/update-desktop-database %{_datadir}/applications &>/dev/null
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
@ -446,6 +451,7 @@ fi || :
}
%exclude %{_libdir}/vlc/plugins/audio_output/libjack_plugin.so
%exclude %{_libdir}/vlc/plugins/audio_output/libpulse_plugin.so
%ghost %{_libdir}/vlc/plugins.dat
%{_libdir}/vlc/
%{_mandir}/man1/vlc*.1*
@ -480,6 +486,10 @@ fi || :
%changelog
* Sat May 09 2015 Nicolas Chauvet <kwizart@gmail.com> - 2.2.1-4
- Recreate the plugins cache on post for main - rfbz#3639
- %%ghost the cache plugins
* Sun Apr 26 2015 Nicolas Chauvet <kwizart@gmail.com> - 2.2.1-3
- Fix build with freerdp for f22
- Disable optimizations

Loading…
Cancel
Save