From 1c52c2aa5b04203a36c552bffbace83a606dc5ca Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 22 Oct 2008 17:01:38 +0000 Subject: [PATCH] 2.24.1 --- .cvsignore | 2 +- libgweather.spec | 19 +++++++++++++++++-- sources | 2 +- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index 705fea4..1776b48 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -libgweather-2.24.0.tar.bz2 +libgweather-2.24.1.tar.bz2 diff --git a/libgweather.spec b/libgweather.spec index 03b9c2e..fc79ee5 100644 --- a/libgweather.spec +++ b/libgweather.spec @@ -1,6 +1,6 @@ Name: libgweather -Version: 2.24.0 -Release: 2%{?dist} +Version: 2.24.1 +Release: 1%{?dist} Summary: A library for weather information Group: System Environment/Libraries @@ -52,6 +52,18 @@ done make cd .. +# 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 %{name}.pot > $p.out + msgfmt -o `basename $p .po`.gmo $p.out +done + %install rm -rf $RPM_BUILD_ROOT @@ -108,6 +120,9 @@ fi %changelog +* Wed Oct 22 2008 Matthias Clasen 2.24.1-1 +- Update to 2.24.1 + * Mon Sep 22 2008 Matthias Clasen 2.24.0-2 - Apply %%lang tags to localized xml files diff --git a/sources b/sources index c3f8c4b..387eb61 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d006328ec5cebc5dbf3a18834db95bba libgweather-2.24.0.tar.bz2 +3509f75cf3a16154c846dac354e95439 libgweather-2.24.1.tar.bz2