This commit is contained in:
Matthias Clasen 2011-12-20 22:39:12 -05:00
parent e4df199f97
commit 62dc65592a
3 changed files with 9 additions and 23 deletions

1
.gitignore vendored
View File

@ -15,3 +15,4 @@ totem-2.90.5.tar.bz2
/totem-3.1.92.tar.xz
/totem-3.2.0.tar.xz
/totem-3.2.1.tar.xz
/totem-3.3.3.tar.xz

View File

@ -1 +1 @@
6a7911b45f908fd8237ba1217d0fded3 totem-3.2.1.tar.xz
4f3a79fe73041ae620efcd24ccc8c57d totem-3.3.3.tar.xz

View File

@ -1,12 +1,12 @@
Summary: Movie player for GNOME
Name: totem
Version: 3.2.1
Release: 3%{?dist}
Version: 3.3.3
Release: 1%{?dist}
Epoch: 1
License: GPLv2+ with exceptions
Group: Applications/Multimedia
URL: http://projects.gnome.org/totem/
Source0: http://download.gnome.org/sources/totem/3.2/totem-%{version}.tar.xz
Source0: http://download.gnome.org/sources/totem/3.3/totem-%{version}.tar.xz
Requires: gnome-icon-theme
# For the opensubtitles plugin
@ -163,32 +163,13 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/totem/plugins/*/*.{a,la} \
%find_lang %{name} --with-gnome
# save space by linking identical images in translated docs
helpdir=$RPM_BUILD_ROOT%{_datadir}/gnome/help/%{name}
for f in $helpdir/C/figures/*.png; do
b="$(basename $f)"
for d in $helpdir/*; do
if [ -d "$d" -a "$d" != "$helpdir/C" ]; then
g="$d/figures/$b"
if [ -f "$g" ]; then
if cmp -s $f $g; then
rm "$g"; ln -s "../../C/figures/$b" "$g"
fi
fi
fi
done
done
#nuke the .la file(s)
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%post
update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%pre
%postun
update-desktop-database &> /dev/null || :
if [ $1 -eq 0 ] ; then
@ -271,6 +252,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/totem/mozilla-viewer.css
%changelog
* Tue Dec 20 2011 Matthias Clasen <mclasen@redhat.com> - 1:3.3.3-1
- Update to 3.3.3
- Drop a space-saving hack
* Thu Nov 24 2011 Matthias Clasen <mclasen@redhat.com> - 1:3.2.1-3
- Rebuild against new clutter