diff --git a/inkscape.spec b/inkscape.spec index 743e5a7..be96033 100644 --- a/inkscape.spec +++ b/inkscape.spec @@ -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 < + + + + inkscape.desktop + CC0-1.0 + +

+ 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. +

+

+ 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. +

+
+ http://inkscape.org/ + + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/inkscape/a.png + + +
+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 - 0.91-6 +- Add an AppData file for the software center + * Fri Mar 06 2015 Jon Ciesla - 0.91-5 - ImageMagick rebuild.