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

Matthias Clasen mclasen at fedoraproject.org
Fri Sep 26 03:10:31 UTC 2008


Author: mclasen

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

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



Index: gnome-vfs2.spec
===================================================================
RCS file: /cvs/extras/rpms/gnome-vfs2/devel/gnome-vfs2.spec,v
retrieving revision 1.185
retrieving revision 1.186
diff -u -r1.185 -r1.186
--- gnome-vfs2.spec	22 Sep 2008 15:56:32 -0000	1.185
+++ gnome-vfs2.spec	26 Sep 2008 03:10:00 -0000	1.186
@@ -14,7 +14,7 @@
 Summary: The GNOME virtual file-system libraries
 Name: gnome-vfs2
 Version: 2.24.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: LGPLv2+ and GPLv2+
 # the daemon and the library are LGPLv2+
 # the modules are LGPLv2+ and GPLv2+ 
@@ -137,6 +137,19 @@
 export tagname=CC
 make LIBTOOL=/usr/bin/libtool
 
+# 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 %{po_package}.pot > $p.out
+  msgfmt -o `basename $p .po`.gmo $p.out
+done
+
+
 %install
 rm -fr $RPM_BUILD_ROOT
 
@@ -226,6 +239,9 @@
 %config %{_sysconfdir}/gnome-vfs-2.0/modules/smb-module.conf
 
 %changelog
+* Thu Sep 25 2008 Matthias Clasen  <mclasen at redhat.com> - 2.24.0-3
+- Save some space
+
 * Mon Sep 22 2008 Matthias Clasen  <mclasen at redhat.com> - 2.24.0-2
 - Update to 2.24.0
 - Drop upstreamed patches




More information about the fedora-extras-commits mailing list