Yay, fedora
This commit is contained in:
parent
b43821f7e2
commit
78b2118caa
15
gdm.spec
15
gdm.spec
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user