Re-enable translation size reduction.
This commit is contained in:
parent
4fa19208cf
commit
e7e5f0196e
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
Name: evolution
|
Name: evolution
|
||||||
Version: 3.7.3.2
|
Version: 3.7.3.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Group: Applications/Productivity
|
Group: Applications/Productivity
|
||||||
Summary: Mail and calendar client for GNOME
|
Summary: Mail and calendar client for GNOME
|
||||||
License: GPLv2+ and GFDL
|
License: GPLv2+ and GFDL
|
||||||
@ -245,16 +245,15 @@ make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool CFLAGS="$CFLAGS -fno-strict-aliasi
|
|||||||
|
|
||||||
# Strip unneeded translations from .mo files.
|
# Strip unneeded translations from .mo files.
|
||||||
# This reduces the RPM size by several megabytes.
|
# This reduces the RPM size by several megabytes.
|
||||||
#disabled since 2.31.91 because of a msgmerge floating point exception (see RH bug 628073)
|
cd po
|
||||||
#cd po
|
grep -v ".*[.]desktop[.]in[.]in$" POTFILES.in > POTFILES.keep
|
||||||
#grep -v ".*[.]desktop[.]in[.]in$" POTFILES.in > POTFILES.keep
|
mv POTFILES.keep POTFILES.in
|
||||||
#mv POTFILES.keep POTFILES.in
|
intltool-update --gettext-package=%{name}-%{evo_base_version} --pot
|
||||||
#intltool-update --gettext-package=%{name}-%{evo_base_version} --pot
|
for p in *.po; do
|
||||||
#for p in *.po; do
|
msgmerge $p %{name}-%{evo_base_version}.pot > $p.out
|
||||||
# msgmerge $p %{name}-%{evo_base_version}.pot > $p.out
|
msgfmt -o `basename $p .po`.gmo $p.out
|
||||||
# msgfmt -o `basename $p .po`.gmo $p.out
|
done
|
||||||
#done
|
cd -
|
||||||
#cd -
|
|
||||||
|
|
||||||
# Replace identical images in the help by links.
|
# Replace identical images in the help by links.
|
||||||
# This reduces the RPM size by several megabytes.
|
# This reduces the RPM size by several megabytes.
|
||||||
@ -522,6 +521,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
# (evolution-devel) Requires: evolution-data-server-devel >= 3.7.3
|
# (evolution-devel) Requires: evolution-data-server-devel >= 3.7.3
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 01 2013 Matthew Barnes <mbarnes@redhat.com> - 3.7.3.2-3
|
||||||
|
- Re-enable translation size reduction (RH bug #628073 is long fixed).
|
||||||
|
|
||||||
* Thu Dec 20 2012 Kalev Lember <kalevlember@gmail.com> - 3.7.3.2-2
|
* Thu Dec 20 2012 Kalev Lember <kalevlember@gmail.com> - 3.7.3.2-2
|
||||||
- Rebuilt for libgnome-desktop3 3.7.3 soname bump
|
- Rebuilt for libgnome-desktop3 3.7.3 soname bump
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user