From b0ccb3ff180bcc74b59849c0d9124b6652d811c9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 26 Sep 2008 03:10:00 +0000 Subject: [PATCH] save some space --- gnome-vfs2.spec | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/gnome-vfs2.spec b/gnome-vfs2.spec index ddc92af..3d27025 100644 --- a/gnome-vfs2.spec +++ b/gnome-vfs2.spec @@ -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 @@ fi 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 @@ fi %config %{_sysconfdir}/gnome-vfs-2.0/modules/smb-module.conf %changelog +* Thu Sep 25 2008 Matthias Clasen - 2.24.0-3 +- Save some space + * Mon Sep 22 2008 Matthias Clasen - 2.24.0-2 - Update to 2.24.0 - Drop upstreamed patches