Yay, fedora

This commit is contained in:
Matthias Clasen 2011-04-15 09:25:39 -04:00
parent b43821f7e2
commit 78b2118caa

View File

@ -126,6 +126,9 @@ The GDM fingerprint plugin provides functionality necessary to use a fingerprint
autoreconf -i -f autoreconf -i -f
# force regeneration
rm data/dconf-override-db
%build %build
cp -f %{SOURCE1} data/gdm cp -f %{SOURCE1} data/gdm
cp -f %{SOURCE2} data/gdm-autologin cp -f %{SOURCE2} data/gdm-autologin
@ -150,18 +153,6 @@ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dyn
make %{?_smp_mflags} make %{?_smp_mflags}
# 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$" 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
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gdm/Init mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gdm/Init