rpms/gnome-games/devel gnome-games.spec,1.185,1.186

Matthias Clasen mclasen at fedoraproject.org
Thu Sep 25 17:18:05 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/gnome-games/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18113

Modified Files:
	gnome-games.spec 
Log Message:
save some space



Index: gnome-games.spec
===================================================================
RCS file: /cvs/extras/rpms/gnome-games/devel/gnome-games.spec,v
retrieving revision 1.185
retrieving revision 1.186
diff -u -r1.185 -r1.186
--- gnome-games.spec	22 Sep 2008 02:52:18 -0000	1.185
+++ gnome-games.spec	25 Sep 2008 17:17:34 -0000	1.186
@@ -44,7 +44,7 @@
 Summary: GNOME games
 Name: gnome-games
 Version: 2.24.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 Epoch: 1
 License: GPLv2+ and GFDL
 Group: Amusements/Games
@@ -142,6 +142,18 @@
 %configure --localstatedir=/var/lib --disable-gnuchess %{omitgames}
 make 
 
+# strip unneeded translations from .mo files
+# ideally intltool (ha!) would do that for us
+# http://bugzilla.gnome.org/show_bug.cgi?id=474987
+cd po
+grep -v ".*[.]desktop[.]in[.]in$\|.*[.]server[.]in[.]in$\|.*[.]schemas[.]in$" POTFILES.in > POTFILES.keep
+mv POTFILES.keep POTFILES.in
+intltool-update --pot
+for p in *.po; do
+  msgmerge $p %{gettext_package}.pot > $p.out
+  msgfmt -o `basename $p .po`.gmo $p.out
+done
+
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -348,6 +360,9 @@
 %{_datadir}/omf/*
 
 %changelog
+* Thu Sep 25 2008 Matthias Clasen <mclasen at redhat.com> - 1:2.24.0-2
+- Save some space
+
 * Sun Sep 21 2008 Matthias Clasen <mclasen at redhat.com> - 1:2.24.0-1
 - Update to 2.24.0
 




More information about the fedora-extras-commits mailing list