Use %find_lang for help files and drop hard dep on yelp

The use of the macro ensures that we get proper directory ownership for
the /usr/share/gnome/help/grilo-plugins/ directory and subdirectories.

https://bugzilla.redhat.com/show_bug.cgi?id=964421
This commit is contained in:
Kalev Lember 2013-05-18 14:00:54 +02:00
parent 0388411e37
commit 8df9408240

View File

@ -3,7 +3,7 @@
Name: grilo-plugins
Version: 0.2.6
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Plugins for the Grilo framework
Group: Applications/Multimedia
@ -27,9 +27,6 @@ BuildRequires: json-glib-devel
Requires: grilo >= 0.2.4
Requires: gupnp >= 0.13.0
Requires: gupnp-av >= 0.5.0
# For the documentation directories
Requires: yelp
%description
Grilo is a framework that provides access to different sources of
@ -92,15 +89,18 @@ make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/grilo-%{release_version}/*.la
rm -f $RPM_BUILD_ROOT%{_bindir}/*
%files
%find_lang grilo-plugins --with-gnome
%files -f grilo-plugins.lang
%doc AUTHORS COPYING NEWS README
%{_libdir}/grilo-%{release_version}/*.so*
%{_libdir}/grilo-%{release_version}/*.xml
%{_datadir}/gnome/help/grilo-plugins/examples/example-tmdb.c
%{_datadir}/gnome/help/grilo-plugins/C/grilo-plugins.xml
%{_datadir}/gnome/help/grilo-plugins/C/legal.xml
%changelog
* Sat May 18 2013 Kalev Lember <kalevlember@gmail.com> - 0.2.6-2
- Use the find_lang --with-gnome macro for help files
- Drop the dep on yelp (#964421)
* Wed Mar 20 2013 Kalev Lember <kalevlember@gmail.com> - 0.2.6-1
- Update to 0.2.6