From 4356fd0b4ed0d3e0136288639027fb668a3e33bf Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mar 26 2015 16:35:52 +0000 Subject: Add an AppData file for the software center --- diff --git a/k3d.spec b/k3d.spec index a1cc471..b0ee2f9 100644 --- a/k3d.spec +++ b/k3d.spec @@ -1,6 +1,6 @@ Name: k3d Version: 0.8.0.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A 3D Modeling, Animation and Rendering System Group: Applications/Multimedia @@ -128,6 +128,44 @@ desktop-file-install \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ %{SOURCE1} +# 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 < + + + + k3d.desktop + CC0-1.0 + GPL-2.0+ + +

+ K-3D is free-as-in-freedom 3D modeling and animation software. + It combines flexible plugins with a visualization pipeline + architecture, making K-3D a versatile and powerful tool for artists. +

+

+ K-3D's interface uses your platform's look-and-feel, and it's + consistent with the applications you already know. + New artists will find K-3D easy to understand, and professionals + feel right at home. K-3D is intuitive, consistent, and discoverable. +

+
+ + http://www.k-3d.org/k3d_wiki/images/c/c2/Happy_buddha.png + + http://www.k-3d.org/ +
+EOF %check # FIXME: This doesn't work. @@ -171,6 +209,7 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : %{_datadir}/k3d/guide %{_datadir}/k3d/qtui %{_mandir}/man1/k3d* +%{_datadir}/appdata/*.appdata.xml %{_datadir}/applications/*.desktop %files devel @@ -181,6 +220,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : %changelog +* Thu Mar 26 2015 Richard Hughes - 0.8.0.3-3 +- Add an AppData file for the software center + * Thu Mar 12 2015 Ralf Corsépius - 0.8.0.3-2 - Rebuild for GCC-5.0 C++-breakage.