save some space
This commit is contained in:
parent
aff9264446
commit
4e5cef17cf
22
totem.spec
22
totem.spec
@ -10,7 +10,7 @@
|
||||
Summary: Movie player for GNOME
|
||||
Name: totem
|
||||
Version: 2.24.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+ with exceptions
|
||||
Group: Applications/Multimedia
|
||||
URL: http://www.gnome.org/projects/totem/
|
||||
@ -253,6 +253,23 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/totem/plugins/*/*.{a,la} \
|
||||
|
||||
install -m755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/%{name}-backend
|
||||
|
||||
# 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
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
@ -412,6 +429,9 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Oct 9 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.2-2
|
||||
- Save some space
|
||||
|
||||
* Tue Oct 07 2008 - Bastien Nocera <bnocera@redhat.com> - 2.24.2-1
|
||||
- Update to 2.24.2
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user