don't drop schemas translations

This commit is contained in:
Matthias Clasen 2009-04-27 06:12:55 +00:00
parent 19a5138af5
commit fc8f028a79

View File

@ -18,7 +18,7 @@
Summary: Text editor for the GNOME desktop
Name: gedit
Version: 2.26.1
Release: 1%{?dist}
Release: 2%{?dist}
Epoch: 1
License: GPLv2+ and GFDL
Group: Applications/Editors
@ -123,14 +123,14 @@ make
# 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
grep -v ".*[.]desktop[.]in.*\|.*[.]server[.]in[.]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
cd ..
%install
rm -rf $RPM_BUILD_ROOT
@ -225,6 +225,9 @@ fi
%changelog
* Mon Apr 27 2009 Matthias Clasen <mclasen@redhat.com> - 1:2.26.1-2
- Don't drop schemas translations from po files
* Mon Apr 13 2009 Matthias Clasen <mclasen@redhat.com> - 1:2.26.1-1
- Update to 2.26.1
- See http://download.gnome.org/sources/gedit/2.26/gedit-2.26.1.news