diff --git a/tuxpaint.spec b/tuxpaint.spec index d64b7ad..1e5ed54 100644 --- a/tuxpaint.spec +++ b/tuxpaint.spec @@ -1,6 +1,6 @@ Name: tuxpaint Version: 0.9.21 -Release: 14%{?dist} +Release: 15%{?dist} Epoch: 1 Summary: Drawing program designed for young children @@ -88,6 +88,49 @@ desktop-file-install --dir $RPM_BUILD_ROOT/%{_datadir}/applications \ --delete-original \ $RPM_BUILD_ROOT%{_datadir}/applications/tuxpaint.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 < + + + + tuxpaint.desktop + CC0-1.0 + A drawing program for children + +

+ Tux Paint is a free, award-winning drawing program for children ages 3 to + 12. + Tux Paint is used in schools around the world as a computer literacy + drawing activity. + It combines an easy-to-use interface, fun sound effects, and an + encouraging cartoon mascot who guides children as they use the program. +

+

+ Kids are presented with a blank canvas and a variety of drawing tools to + help them be creative. +

+
+ http://tuxpaint.org/ + + http://tuxpaint.org/screenshots/starter-coloringbook.png + http://tuxpaint.org/screenshots/example_simple.png + http://tuxpaint.org/screenshots/example_space.png + + tuxpaint-devel@lists.sourceforge.net +
+EOF + rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} %clean @@ -100,6 +143,7 @@ rm -rf $RPM_BUILD_ROOT %doc docs %{_bindir}/* %{_datadir}/%{name} +%{_datadir}/appdata/*.appdata.xml %{_datadir}/applications/* %{_datadir}/pixmaps/* %{_datadir}/icons/*/*/apps/* @@ -113,6 +157,9 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/tuxpaint/ %changelog +* Thu Mar 26 2015 Richard Hughes - 1:0.9.21-15 +- Add an AppData file for the software center + * Mon Aug 18 2014 Fedora Release Engineering - 1:0.9.21-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild