save space

This commit is contained in:
Matthias Clasen 2008-10-15 04:48:36 +00:00
parent a347cb7e1f
commit 4e0df52bf7

View File

@ -16,7 +16,7 @@
Summary: The GNOME Display Manager Summary: The GNOME Display Manager
Name: gdm Name: gdm
Version: 2.24.0 Version: 2.24.0
Release: 8%{?dist} Release: 9%{?dist}
Epoch: 1 Epoch: 1
License: GPLv2+ License: GPLv2+
Group: User Interface/X Group: User Interface/X
@ -150,6 +150,19 @@ cp -f %{SOURCE3} utils/gdmsetup-pam
--with-selinux --with-selinux
make make
# 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.*\|.*[.]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 %install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
@ -334,6 +347,9 @@ fi
%{_datadir}/gnome-2.0/ui/GNOME_FastUserSwitchApplet.xml %{_datadir}/gnome-2.0/ui/GNOME_FastUserSwitchApplet.xml
%changelog %changelog
* Wed Oct 15 2008 Matthias Clasen <mclasen@redhat.com> - 1:2.24.0-9
- Save some space
* Fri Oct 3 2008 Matthias Clasen <mclasen@redhat.com> - 1:2.24.0-8 * Fri Oct 3 2008 Matthias Clasen <mclasen@redhat.com> - 1:2.24.0-8
- Don't show a non-functional help menuitem - Don't show a non-functional help menuitem