save space
This commit is contained in:
parent
2120e9989f
commit
3d63548be0
@ -45,7 +45,7 @@
|
||||
|
||||
Name: evolution
|
||||
Version: 2.24.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPLv2 and GFDL
|
||||
Group: Applications/Productivity
|
||||
Summary: Mail and calendar client for GNOME
|
||||
@ -338,6 +338,24 @@ for p in *.po; do
|
||||
done
|
||||
cd -
|
||||
|
||||
# Replace identical images in the help by links.
|
||||
# This reduces the RPM size by several megabytes.
|
||||
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
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
||||
@ -678,6 +696,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libexecdir}/evolution/%{evo_major}/evolution-addressbook-clean
|
||||
|
||||
%changelog
|
||||
* Wed Oct 8 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-3
|
||||
- Save space in the -help package by not shipping multiple copies
|
||||
of each screenshot
|
||||
|
||||
* Thu Sep 25 2008 Matthew Barnes <mbarnes@redhat.com> - 2.24.0-2.fc10
|
||||
- Strip unneeded translations from .mo files (RH bug #463887).
|
||||
- Split Perl-based utilities into a "perl" subpackage (RH bug #462345).
|
||||
|
Loading…
Reference in New Issue
Block a user