Add an AppData file for the software center
This commit is contained in:
parent
89ca68b70f
commit
21e006f4f8
@ -1,6 +1,6 @@
|
||||
Name: inkscape
|
||||
Version: 0.91
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: Vector-based drawing program using SVG
|
||||
|
||||
Group: Applications/Productivity
|
||||
@ -121,6 +121,48 @@ desktop-file-install --vendor="%{?desktop_vendor}" --delete-original \
|
||||
# No skencil anymore
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions/sk2svg.sh
|
||||
|
||||
# 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: http://inkscape.13.x6.nabble.com/Inkscape-and-AppData-td4967842.html
|
||||
SentUpstream: 2013-09-06
|
||||
-->
|
||||
<application>
|
||||
<id type="desktop">inkscape.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<description>
|
||||
<p>
|
||||
An Open Source vector graphics editor, with capabilities similar to Illustrator,
|
||||
CorelDraw, or Xara X, using the W3C standard Scalable Vector Graphics (SVG) file
|
||||
format.
|
||||
</p>
|
||||
<p>
|
||||
Inkscape supports many advanced SVG features (markers, clones, alpha blending,
|
||||
etc.) and great care is taken in designing a streamlined interface. It is very
|
||||
easy to edit nodes, perform complex path operations, trace bitmaps and much more.
|
||||
We also aim to maintain a thriving user and developer community by using open,
|
||||
community-oriented development.
|
||||
</p>
|
||||
</description>
|
||||
<url type="homepage">http://inkscape.org/</url>
|
||||
<screenshots>
|
||||
<screenshot type="default">https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/inkscape/a.png</screenshot>
|
||||
</screenshots>
|
||||
<!-- FIXME: change this to an upstream email address for spec updates
|
||||
<updatecontact>someone_who_cares@upstream_project.org</updatecontact>
|
||||
-->
|
||||
</application>
|
||||
EOF
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
|
||||
@ -168,6 +210,7 @@ fi
|
||||
%{_datadir}/inkscape/symbols
|
||||
%{_datadir}/inkscape/templates
|
||||
%{_datadir}/inkscape/ui
|
||||
%{_datadir}/appdata/*inkscape.appdata.xml
|
||||
%{_datadir}/applications/*inkscape.desktop
|
||||
%{_datadir}/icons/hicolor/*/*/inkscape*
|
||||
%{_mandir}/*/*gz
|
||||
@ -190,6 +233,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 0.91-6
|
||||
- Add an AppData file for the software center
|
||||
|
||||
* Fri Mar 06 2015 Jon Ciesla <limburgher@gmail.com> - 0.91-5
|
||||
- ImageMagick rebuild.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user