summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@fedoraproject.org>2008-09-25 15:49:00 +0000
committerMatthias Clasen <mclasen@fedoraproject.org>2008-09-25 15:49:00 +0000
commit8b4f11c506eab89b0211fa17d4f3fe09603ce273 (patch)
tree5cdc654cd054ab606fb73df28eb36576e7f7c77d
parenta726c204226242abb9b76daa94dabd5f4ff3bc0f (diff)
downloadmetacity-8b4f11c506eab89b0211fa17d4f3fe09603ce273.tar.gz
metacity-8b4f11c506eab89b0211fa17d4f3fe09603ce273.tar.xz
metacity-8b4f11c506eab89b0211fa17d4f3fe09603ce273.zip
-rw-r--r--metacity.spec16
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