rpms/metacity/devel metacity.spec,1.165,1.166

Matthias Clasen mclasen at fedoraproject.org
Thu Sep 25 15:49:30 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/metacity/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31132

Modified Files:
	metacity.spec 
Log Message:
save space



Index: metacity.spec
===================================================================
RCS file: /cvs/extras/rpms/metacity/devel/metacity.spec,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -r1.165 -r1.166
--- metacity.spec	22 Sep 2008 18:44:54 -0000	1.165
+++ metacity.spec	25 Sep 2008 15:49:00 -0000	1.166
@@ -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 @@
 
 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 @@
 %{_mandir}/man1/metacity-window-demo.1.gz
 
 %changelog
+* Thu Sep 25 2008 Matthias Clasen <mclasen at redhat.com> - 2.24.0-2
+- Save some space
+
 * Mon Sep 22 2008 Matthias Clasen <mclasen at redhat.com> - 2.24.0-1
 - Update to 2.24.0
 




More information about the fedora-extras-commits mailing list