rpms/gedit/devel gedit.spec,1.169,1.170

Matthias Clasen mclasen at fedoraproject.org
Fri Sep 26 02:08:35 UTC 2008


Author: mclasen

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

Modified Files:
	gedit.spec 
Log Message:
save some space



Index: gedit.spec
===================================================================
RCS file: /cvs/extras/rpms/gedit/devel/gedit.spec,v
retrieving revision 1.169
retrieving revision 1.170
diff -u -r1.169 -r1.170
--- gedit.spec	22 Sep 2008 15:33:31 -0000	1.169
+++ gedit.spec	26 Sep 2008 02:08:05 -0000	1.170
@@ -18,7 +18,7 @@
 Summary:	gEdit is a small but powerful text editor for GNOME
 Name:		gedit
 Version: 	2.24.0
-Release: 	2%{?dist}
+Release: 	3%{?dist}
 Epoch:		1
 License:	GPLv2+ and GFDL
 Group:		Applications/Editors
@@ -112,6 +112,19 @@
 	--enable-python 
 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.*\|.*[.]server[.]in[.]in$\|.*[.]schemas[.]in$" POTFILES.in > POTFILES.keep
+mv POTFILES.keep POTFILES.in
+intltool-update --pot
+for p in *.po; do
+  msgmerge $p %{name}.pot > $p.out
+  msgfmt -o `basename $p .po`.gmo $p.out
+done
+
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -189,6 +202,9 @@
 
 
 %changelog
+* Thu Sep 25 2008 Matthias Clasen <mclasen at redhat.com> - 1:2.24.0-3
+- Save some space
+
 * Mon Sep 22 2008 Matthias Clasen <mclasen at redhat.com> - 1:2.24.0-2
 - Update to 2.24.0
 




More information about the fedora-extras-commits mailing list