Update to 3.28.1

- Use upstream appdata file
This commit is contained in:
Kalev Lember 2018-04-10 00:23:09 +02:00
parent 7f5d8f9553
commit 7462c2d111
2 changed files with 8 additions and 44 deletions

View File

@ -1 +1 @@
SHA512 (yelp-3.28.0.tar.xz) = b03a984253217860b10776b2bbc594bf5bbd23bc2e42f2c8c9e38bda785fb07ea9003971d7be42a7e4df4c56fcc7d58c8ac4524dfc5abc0757211c134c6795f2
SHA512 (yelp-3.28.1.tar.xz) = e37d4bc3b22b4f84654f25d68ba0a09016bec01d3b50e1158612dc8d3ae64b59f7882f25a3ed4dd1d9c9674b99e57d1ba207332ea088a2be8c082f329704c229

View File

@ -2,7 +2,7 @@
Name: yelp
Epoch: 2
Version: 3.28.0
Version: 3.28.1
Release: 1%{?dist}
Summary: Help browser for the GNOME desktop
@ -71,46 +71,6 @@ make %{?_smp_mflags} V=1
%install
%make_install
# Register as an application to be visible in the software center
#
# NOTE: It would be *awesome* if this file was maintained by the upstream
# project, translated and installed into the right place during `make install`.
#
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
#
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
<!--
BugReportURL: https://bugzilla.gnome.org/show_bug.cgi?id=722763
SentUpstream: 2014-09-17
-->
<application>
<id type="desktop">yelp.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<description>
<p>
Yelp is a viewer and framework for documentation on the Linux desktop.
It is used heavily by the GNOME desktop environment, and its tools serve as
the reference implementation for the Mallard help format.
Yelp supports DocBook, Mallard, HTML, man, and info documents.
</p>
<p>
Yelp development has led to the development of various tools, and the Mallard
and DocBook transformations live in standalone XSLT module.
All of these are under the umbrella name Yelp.
</p>
</description>
<screenshots>
<screenshot type="default">https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/yelp/a.png</screenshot>
<screenshot>https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/yelp/b.png</screenshot>
</screenshots>
<url type="homepage">https://projects.gnome.org/yelp/</url>
<updatecontact>gnome-doc-devel-list@gnome.org</updatecontact>
</application>
EOF
find $RPM_BUILD_ROOT%{_libdir} -name '*.la' -delete
%find_lang %{name}
@ -124,10 +84,10 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/yelp.desktop
%doc AUTHORS NEWS README
%license COPYING
%{_bindir}/*
%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/yelp.desktop
%{_datadir}/yelp
%{_datadir}/glib-2.0/schemas/org.gnome.yelp.gschema.xml
%{_datadir}/metainfo/yelp.appdata.xml
%{_datadir}/yelp/
%{_datadir}/yelp-xsl/xslt/common/domains/yelp.xml
%files libs
@ -143,6 +103,10 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/yelp.desktop
%changelog
* Mon Apr 09 2018 Kalev Lember <klember@redhat.com> - 2:3.28.1-1
- Update to 3.28.1
- Use upstream appdata file
* Tue Mar 13 2018 Kalev Lember <klember@redhat.com> - 2:3.28.0-1
- Update to 3.28.0