Don't drop schemas translations from po files

This commit is contained in:
Matthias Clasen 2009-04-27 06:35:25 +00:00
parent c83fe89893
commit 5873694c13

View File

@ -1,7 +1,7 @@
Summary: Unobtrusive window manager
Name: metacity
Version: 2.26.0
Release: 1%{?dist}
Release: 2%{?dist}
URL: http://download.gnome.org/sources/metacity/
Source0: http://download.gnome.org/sources/metacity/2.26/metacity-%{version}.tar.bz2
Patch0: default-theme.patch
@ -106,7 +106,7 @@ make CPPFLAGS="$CPPFLAGS" LIBS="$LIBS"
%if 0
# strip unneeded translations from .mo files
cd po
grep -v ".*[.]desktop[.]in$\|.*[.]server[.]in$\|.*[.]schemas[.]in$" POTFILES.in > POTFILES.keep
grep -v ".*[.]desktop[.]in$\|.*[.]server[.]in$" POTFILES.in > POTFILES.keep
mv POTFILES.keep POTFILES.in
intltool-update --pot
for p in *.po; do
@ -182,6 +182,9 @@ fi
%{_mandir}/man1/metacity-window-demo.1.gz
%changelog
* Mon Apr 27 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.0-2
- Don't drop schemas translations from po files
* Mon Mar 16 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.0-1
- Update to 2.26.0