diff --git a/openmsx.spec b/openmsx.spec index 9ce394c..5f9324c 100644 --- a/openmsx.spec +++ b/openmsx.spec @@ -1,6 +1,6 @@ Name: openmsx Version: 0.11.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: An emulator for the MSX home computer system Group: Applications/Emulators License: GPL+ @@ -95,6 +95,45 @@ done desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications \ %{name}.desktop +# 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 < + + + + openmsx.desktop + CC0-1.0 + Emulate all aspects of the MSX with 100% accuracy + +

+ MSX is an old Z80-based family of home computers as an attempt to establish + a single standard in home computing similar to VHS in video. +

+

+ The MSX standard died from year 1988. +

+

+ The MSX standard has been designed by a company called ASCII in Cooperation + with Microsoft which has provided a firmware version of his extended BASIC + (called "MicroSoft eXtended BASIC") for the machine, which explains the MSX name. +

+
+ http://openmsx.sourceforge.net + + http://openmsx.sourceforge.net/images/screenshots/mlimit3.png + +
+EOF %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : @@ -113,6 +152,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %doc %{_docdir}/%{name} %{_bindir}/%{name} %{_datadir}/%{name} +%{_datadir}/appdata/*%{name}.appdata.xml %{_datadir}/applications/*%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_mandir}/man1/%{name}.1.gz @@ -121,6 +161,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Thu Mar 26 2015 Richard Hughes - 0.11.0-2 +- Add an AppData file for the software center + * Fri Nov 21 2014 Hans de Goede - 0.11.0-1 - New upstream release 0.11.0 (rhbz#1163192)