save some space
This commit is contained in:
parent
6c3d206af7
commit
504f959419
@ -13,7 +13,7 @@
|
|||||||
Summary: Simple process monitor
|
Summary: Simple process monitor
|
||||||
Name: gnome-system-monitor
|
Name: gnome-system-monitor
|
||||||
Version: 2.24.0
|
Version: 2.24.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: http://www.gnome.org/
|
URL: http://www.gnome.org/
|
||||||
@ -85,6 +85,23 @@ desktop-file-install --vendor gnome --delete-original \
|
|||||||
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
|
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
|
||||||
|
|
||||||
rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
|
rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
%find_lang %{name} --with-gnome
|
%find_lang %{name} --with-gnome
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -126,6 +143,9 @@ scrollkeeper-update -q
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 8 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-2
|
||||||
|
- Save some space
|
||||||
|
|
||||||
* Tue Sep 23 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-1
|
* Tue Sep 23 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-1
|
||||||
- Update to 2.24.0
|
- Update to 2.24.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user