From a6ee2161b0247abc7e32f65d80e57380c6929fe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 22 Jul 2012 19:50:11 +0300 Subject: [PATCH] Call ldconfig at post(un)install time. - Own the %{_datadir}/totem dir. - Fix tarball URL. --- totem.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/totem.spec b/totem.spec index b59744b..d169be3 100644 --- a/totem.spec +++ b/totem.spec @@ -1,12 +1,12 @@ Summary: Movie player for GNOME Name: totem Version: 3.4.3 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 License: GPLv2+ with exceptions Group: Applications/Multimedia URL: http://projects.gnome.org/totem/ -Source0: http://download.gnome.org/sources/totem/3.3/totem-%{version}.tar.xz +Source0: http://download.gnome.org/sources/totem/3.4/totem-%{version}.tar.xz Requires: gnome-icon-theme # For the opensubtitles plugin @@ -177,10 +177,12 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/totem/plugins/*/*.{a,la} \ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %post +/sbin/ldconfig update-desktop-database &> /dev/null || : touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun +/sbin/ldconfig update-desktop-database &> /dev/null || : if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null @@ -201,6 +203,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %{_libdir}/libtotem.so.* %{_libdir}/girepository-1.0/Totem-1.0.typelib %{_datadir}/applications/%{name}.desktop +%dir %{_datadir}/totem %{_datadir}/totem/*.png %{_datadir}/totem/fullscreen.ui %{_datadir}/totem/playlist.ui @@ -270,6 +273,11 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %{_libdir}/mozilla/plugins/libtotem-vegas-plugin.so %changelog +* Sun Jul 22 2012 Ville Skyttä - 1:3.4.3-2 +- Call ldconfig at post(un)install time. +- Own the %%{_datadir}/totem dir. +- Fix tarball URL. + * Tue Jul 17 2012 Richard Hughes - 1:3.4.3-1 - Update to 3.4.3