diff --git a/crrcsim.spec b/crrcsim.spec index bf78c0c..9952066 100644 --- a/crrcsim.spec +++ b/crrcsim.spec @@ -1,6 +1,6 @@ Name: crrcsim Version: 0.9.12 -Release: 13%{?dist} +Release: 14%{?dist} Group: Amusements/Games Summary: Model-Airplane Flight Simulation Program License: GPLv2 @@ -124,6 +124,44 @@ for f in AUTHORS COPYING HISTORY ; do cp -p $f %{buildroot}%{_docdir}/%{name}/${f} done +# 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/CRRCsim.appdata.xml < + + + + CRRCsim.desktop + CC0-1.0 + Charles River RC Flight Simulator + Flight simulator for model remote controlled aircraft + +

+ The Charles River RC Flight Simulator (CRRCSim) is a flight simulator to + test fly model aircraft. + CRRCSim comes with over 15 different types of model gliders and planes, and + lets you fly in 3 different locations. +

+
+ https://sourceforge.net/projects/crrcsim/ + + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/CRRCsim/a.png + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/CRRCsim/b.png + + +
+EOF %post /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : @@ -142,6 +180,7 @@ fi %files -f %{name}.lang %{_bindir}/crrcsim +%{_datadir}/appdata/*.appdata.xml %{_datadir}/applications/CRRCsim.desktop %{_datadir}/%{name}/ %{_mandir}/man1/%{name}.1* @@ -157,6 +196,9 @@ fi %changelog +* Thu Mar 26 2015 Richard Hughes - 0.9.12-14 +- Add an AppData file for the software center + * Fri Mar 06 2015 Damian Wrobel - 0.9.12-13 - Rebuild for libCGAL.so.11.