save space
This commit is contained in:
parent
a726c20422
commit
8b4f11c506
@ -1,7 +1,7 @@
|
||||
Summary: Metacity window manager
|
||||
Name: metacity
|
||||
Version: 2.24.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
URL: http://download.gnome.org/sources/metacity/
|
||||
Source0: http://download.gnome.org/sources/metacity/2.24/metacity-%{version}.tar.bz2
|
||||
Patch0: default-theme.patch
|
||||
@ -96,6 +96,17 @@ done
|
||||
|
||||
make CPPFLAGS="$CPPFLAGS" LIBS="$LIBS"
|
||||
|
||||
# strip unneeded translations from .mo files
|
||||
cd po
|
||||
grep -v ".*[.]desktop[.]in$\|.*[.]server[.]in$\|.*[.]schemas[.]in$" POTFILES.in > POTFILES.keep
|
||||
mv POTFILES.keep POTFILES.in
|
||||
intltool-update --pot
|
||||
for p in *.po; do
|
||||
msgmerge $p metacity.pot > $p.out
|
||||
msgfmt -o `basename $p .po`.gmo $p.out
|
||||
done
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
@ -161,6 +172,9 @@ fi
|
||||
%{_mandir}/man1/metacity-window-demo.1.gz
|
||||
|
||||
%changelog
|
||||
* Thu Sep 25 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-2
|
||||
- Save some space
|
||||
|
||||
* Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-1
|
||||
- Update to 2.24.0
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user