diff options
-rw-r--r-- | metacity.spec | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/metacity.spec b/metacity.spec index 1c24ebf..281db0b 100644 --- a/metacity.spec +++ b/metacity.spec @@ -1,7 +1,7 @@ Summary: Metacity window manager Name: metacity Version: 2.24.0 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://download.gnome.org/sources/metacity/ Source0: http://download.gnome.org/sources/metacity/2.24/metacity-%{version}.tar.bz2 Patch0: default-theme.patch @@ -96,6 +96,17 @@ done make CPPFLAGS="$CPPFLAGS" LIBS="$LIBS" +# strip unneeded translations from .mo files +cd po +grep -v ".*[.]desktop[.]in$\|.*[.]server[.]in$\|.*[.]schemas[.]in$" POTFILES.in > POTFILES.keep +mv POTFILES.keep POTFILES.in +intltool-update --pot +for p in *.po; do + msgmerge $p metacity.pot > $p.out + msgfmt -o `basename $p .po`.gmo $p.out +done + + %install rm -rf $RPM_BUILD_ROOT @@ -161,6 +172,9 @@ fi %{_mandir}/man1/metacity-window-demo.1.gz %changelog +* Thu Sep 25 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-2 +- Save some space + * Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-1 - Update to 2.24.0 |