- Update to 2.23.2

- Fix scriptlets removing the alternatives on upgrade (#442895)
This commit is contained in:
Bastien Nocera 2008-04-22 23:49:53 +00:00
parent 6e35cdecf2
commit af030e265f
3 changed files with 19 additions and 11 deletions

View File

@ -1 +1 @@
totem-2.23.1.tar.bz2
totem-2.23.2.tar.bz2

View File

@ -1 +1 @@
cdc5527afa3388db309ab1117e2952fe totem-2.23.1.tar.bz2
118b9b3030814872697505ef1e1b0b96 totem-2.23.2.tar.bz2

View File

@ -9,8 +9,8 @@
Summary: Movie player for GNOME
Name: totem
Version: 2.23.1
Release: 2%{?dist}
Version: 2.23.2
Release: 1%{?dist}
License: GPLv2 with exception
Group: Applications/Multimedia
URL: http://www.gnome.org/projects/totem/
@ -204,8 +204,7 @@ mv totem-%{version} gstreamer
pushd gstreamer
# try to work around a problem where gst-inspect does
# not find playbin the first time around
#DBUS_FATAL_WARNINGS=0 /usr/bin/gst-inspect-0.10 --print-all > /dev/null
GST_DEBUG_NO_COLOR=1 GST_DEBUG=*:5 DBUS_FATAL_WARNINGS=0 /usr/bin/gst-inspect-0.10 --print-all --gst-disable-registry-fork
DBUS_FATAL_WARNINGS=0 /usr/bin/gst-inspect-0.10 --print-all > /dev/null
export MOZILLA_PLUGINDIR=%{_libdir}/mozilla/plugins
%configure \
--enable-gstreamer \
@ -256,10 +255,12 @@ mv $RPM_BUILD_ROOT/%{_libdir}/libbaconvideowidget.so.0.0.0 $RPM_BUILD_ROOT/%{_li
popd
%endif
rm -f $RPM_BUILD_ROOT%{_libdir}/totem/plugins/*/*.{a,la} \
rm -rf $RPM_BUILD_ROOT%{_libdir}/totem/plugins/*/*.{a,la} \
$RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/*.{a,la} \
$RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.{a,la} \
$RPM_BUILD_ROOT%{_libdir}/libbaconvideowidget*.{a,la}
$RPM_BUILD_ROOT%{_libdir}/libbaconvideowidget*.{a,la} \
$RPM_BUILD_ROOT%{_libdir}/libbaconvideowidget.so \
$RPM_BUILD_ROOT%{_libdir}/totem/plugins/bemused/
%find_lang %{name} --with-gnome
@ -319,14 +320,17 @@ if [ -x /usr/bin/gtk-update-icon-cache ]; then
fi
%postun gstreamer
/usr/sbin/alternatives --remove totem-backend %{_libdir}/libbaconvideowidget-gstreamer.so.0.0.0
if [ "$1" -eq 0 ]; then
/usr/sbin/alternatives --remove totem-backend %{_libdir}/libbaconvideowidget-gstreamer.so.0.0.0
fi
/sbin/ldconfig
%postun xine
/usr/sbin/alternatives --remove totem-backend %{_libdir}/libbaconvideowidget-xine.so.0.0.0
if [ "$1" -eq 0 ]; then
/usr/sbin/alternatives --remove totem-backend %{_libdir}/libbaconvideowidget-xine.so.0.0.0
fi
/sbin/ldconfig
%post mythtv
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
@ -427,6 +431,10 @@ fi
%endif
%changelog
* Mon Apr 21 2008 - Bastien Nocera <bnocera@redhat.com> - 2.23.2-1
- Update to 2.23.2
- Fix scriptlets removing the alternatives on upgrade (#442895)
* Tue Apr 08 2008 Stewart Adam <s.adam@diffingo.com> - 2.23.1-2
- Fix error when only a single backend has been installed (#439634)