work around %find_lang

This commit is contained in:
Matthias Clasen 2011-09-07 18:24:33 -04:00
parent 25e8f8a77b
commit d2df3197c9

View File

@ -28,9 +28,20 @@ make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%find_lang gnome-help --all-name --with-gnome
%files -f gnome-help.lang
# FIXME: %%find-lang can't deal with /usr/share/help (yet)
%files
%doc COPYING AUTHORS NEWS README
/usr/share/help/C/gnome-help
%lang(ca) /usr/share/help/ca/gnome-help
%lang(de) /usr/share/help/de/gnome-help
%lang(es) /usr/share/help/es/gnome-help
%lang(fi) /usr/share/help/fi/gnome-help
%lang(gl) /usr/share/help/fi/gnome-help
%lang(hi) /usr/share/help/fi/gnome-help
%lang(nl) /usr/share/help/fi/gnome-help
%lang(sl) /usr/share/help/fi/gnome-help
%lang(sv) /usr/share/help/fi/gnome-help
%lang(vi) /usr/share/help/fi/gnome-help
%changelog
* Tue Sep 6 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.1-1