pacify rpmlint

This commit is contained in:
Bill Nottingham 2007-02-13 20:11:04 +00:00
parent 9c98110bcc
commit 0270382262

View File

@ -20,7 +20,8 @@ Summary: A system documentation reader from the Gnome project
Name: yelp
Version: 2.16.2
Release: 3%{?dist}
Source: %{name}-%{version}.tar.bz2
Source: http://ftp.gnome.org/pub/GNOME/sources/yelp/2.16/%{name}-%{version}.tar.bz2
URL: http://live.gnome.org/Yelp
# http://bugzilla.gnome.org/show_bug.cgi?id=319096
Patch1: yelp-2.15.5-fedora-docs.patch
Patch2: yelp-2.13.2-add-mime-handling.patch
@ -30,7 +31,7 @@ Patch5: yelp-2.16.0-apropos.patch
License: GPL
Group: Applications/System
BuildRoot: %{_tmppath}/%{name}-root
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: gtk2 >= %{gtk2_version}
Requires: gnome-vfs2 >= %{gnome_vfs2_version}
Requires: gecko-libs = %{gecko_version}
@ -39,7 +40,6 @@ Requires: libbonobo >= %{libbonobo_version}
Requires: libxml2 >= %{libxml_version}
Requires: libxslt >= %{libxslt_version}
Requires: libglade2 >= %{libglade_version}
Requires: libgcrypt
Requires: gnome-doc-utils
Requires: scrollkeeper
Requires(pre): GConf2
@ -99,11 +99,13 @@ make
rm -rf $RPM_BUILD_ROOT
%makeinstall
desktop-file-install --vendor gnome --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-only-show-in GNOME \
--add-category X-Red-Hat-Base \
$RPM_BUILD_ROOT%{_datadir}/applications/*
desktop-file-install --vendor gnome --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-only-show-in GNOME \
--add-category X-Red-Hat-Base \
$RPM_BUILD_ROOT%{_datadir}/applications/*
mkdir -p -m 755 $RPM_BUILD_ROOT/%{_datadir}/gnome/help
%find_lang %{name}
@ -138,6 +140,7 @@ update-desktop-database &> /dev/null ||:
%files -f %{name}.lang
%defattr(-,root,root)
%doc ChangeLog AUTHORS COPYING MAINTAINERS NEWS README
%{_sysconfdir}/gconf/schemas/yelp.schemas
%{_bindir}/*
%{_datadir}/applications/*
@ -148,6 +151,9 @@ update-desktop-database &> /dev/null ||:
%changelog
* Tue Feb 13 2007 Bill Nottingham <notting@redhat.com> 2.16.2-3
- own %%{_datadir}/gnome/help (#205799)
- rpmlint silencing:
- add a URL: tag
- add some docs
* Thu Dec 21 2006 Christopher Aillon <caillon@redhat.com> 2.16.2-2
- Rebuild against newer gecko