This commit is contained in:
Matthias Clasen 2011-04-04 19:45:51 -04:00
parent c442846bc0
commit 86a0cfdc53

View File

@ -96,7 +96,7 @@ programs using the metacity-private library, since it is a private
API. This package exists purely for technical reasons.
%prep
%setup -q -n metacity-2.32.0-git20110228
%setup -q
%patch4 -p1 -b .stop-spamming-xsession-errors
%patch5 -p1 -b .dnd-keynav
%patch10 -p1 -b .screenshot-forkbomb
@ -144,18 +144,6 @@ done
make CPPFLAGS="$CPPFLAGS" LIBS="$LIBS" %{?_smp_mflags}
%if 0
# strip unneeded translations from .mo files
cd po
grep -v ".*[.]desktop[.]in$\|.*[.]server[.]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
%endif
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"