This commit is contained in:
Matthias Clasen 2006-11-16 04:10:25 +00:00
parent 7e33a71b73
commit 7e8697a8fc
3 changed files with 21 additions and 18 deletions

View File

@ -1 +1 @@
totem-2.17.2.tar.bz2
totem-2.17.3.tar.bz2

View File

@ -1 +1 @@
28eec1880da540d48881ccd39ae6ad11 totem-2.17.2.tar.bz2
1868b0c41547bbc8ddeddc8e91445a73 totem-2.17.3.tar.bz2

View File

@ -4,7 +4,7 @@
Summary: Movie player for GNOME 2
Name: totem
Version: 2.17.2
Version: 2.17.3
Release: 1%{?dist}
License: GPL
Group: Applications/Multimedia
@ -122,11 +122,11 @@ rm -rf $RPM_BUILD_ROOT
scrollkeeper-update -q
update-desktop-database -q
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="totem.schemas totem-handlers.schemas totem-video-thumbnail.schemas"
for S in $SCHEMAS; do
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/$S >/dev/null || :
done
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/totem.schemas \
%{_sysconfdir}/gconf/schemas/totem-handlers.schemas \
%{_sysconfdir}/gconf/schemas/totem-video-thumbnail.schemas \
>& /dev/null || :
touch %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
@ -135,21 +135,21 @@ fi
%pre
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="totem.schemas totem-handlers.schemas totem-video-thumbnail.schemas"
for S in $SCHEMAS; do
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/$S > /dev/null || :
done
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/totem.schemas \
%{_sysconfdir}/gconf/schemas/totem-handlers.schemas \
%{_sysconfdir}/gconf/schemas/totem-video-thumbnail.schemas \
>& /dev/null || :
fi
%preun
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="totem.schemas totem-handlers.schemas totem-video-thumbnail.schemas"
for S in $SCHEMAS; do
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/$S > /dev/null || :
done
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/totem.schemas \
%{_sysconfdir}/gconf/schemas/totem-handlers.schemas \
%{_sysconfdir}/gconf/schemas/totem-video-thumbnail.schemas \
>& /dev/null || :
fi
%postun
@ -192,6 +192,9 @@ fi
%{_libdir}/*so
%changelog
* Wed Nov 15 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.3-1
- Update to 2.17.3
* Sat Nov 4 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.2-1
- Update to 2.17.2