use find_lang for help files

This commit is contained in:
Matthias Clasen 2007-08-07 15:41:32 +00:00
parent c283294a4e
commit 615a2da96a

View File

@ -11,7 +11,7 @@
Summary: Simple process monitor Summary: Simple process monitor
Name: gnome-system-monitor Name: gnome-system-monitor
Version: 2.19.6 Version: 2.19.6
Release: 1%{?dist} Release: 3%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: http://www.gnome.org/ URL: http://www.gnome.org/
@ -62,7 +62,7 @@ desktop-file-install --vendor gnome --delete-original \
$RPM_BUILD_ROOT%{_datadir}/applications/* $RPM_BUILD_ROOT%{_datadir}/applications/*
rm -rf $RPM_BUILD_ROOT/var/scrollkeeper rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
%find_lang %{name} %find_lang %{name} --with-gnome
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -91,15 +91,17 @@ scrollkeeper-update -q
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-, root, root,-) %defattr(-, root, root,-)
%doc AURHORS NEWS COPYING README %doc AUTHORS NEWS COPYING README
%{_sysconfdir}/gconf/schemas/* %{_sysconfdir}/gconf/schemas/*
%{_bindir}/gnome-system-monitor %{_bindir}/gnome-system-monitor
%{_datadir}/applications/* %{_datadir}/applications/*
%{_datadir}/gnome/help/gnome-system-monitor/
%{_datadir}/pixmaps/gnome-system-monitor/ %{_datadir}/pixmaps/gnome-system-monitor/
%{_datadir}/omf/gnome-system-monitor/ %{_datadir}/omf/gnome-system-monitor/
%changelog %changelog
* Tue Aug 7 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.6-3
- Use %%find_lang for help files
* Thu Aug 2 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.6-2 * Thu Aug 2 2007 Matthias Clasen <mclasen@redhat.com> - 2.19.6-2
- Update license field - Update license field
- Add some %doc files - Add some %doc files