diff --git a/qcomicbook.spec b/qcomicbook.spec index 05838b0..802627b 100644 --- a/qcomicbook.spec +++ b/qcomicbook.spec @@ -2,7 +2,7 @@ Summary: A viewer for comic book archives Name: qcomicbook Version: 0.9.0 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2 URL: http://qcomicbook.org/ @@ -57,6 +57,41 @@ make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR="$RPM_BUILD_ROOT" -C %{_target_platform} +# 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 < + + + + qcomicbook.desktop + CC0-1.0 + Read comics + +

+ QComicBook is an application for reading comics and supports a wide + range of formats, including CBZ, CBR and CBT. + QComicBook has a wide range of features to enhance your comic reading, + including page preview, a thumbnails view, bookmarks, and a specific + mode for reading manga. +

+
+ http://qcomicbook.org/ + + http://qcomicbook.org/screenshots/qcomicbook072-os2.png + +
+EOF + %find_lang qcomicbook --without-mo --with-qt @@ -76,6 +111,7 @@ fi %doc AUTHORS README ChangeLog COPYING THANKS TODO %{_bindir}/qcomicbook %{_mandir}/man1/qcomicbook.1* +%{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/qcomicbook.desktop %{_datadir}/pixmaps/qcomicbook.png %dir %{_datadir}/qcomicbook/ @@ -83,6 +119,9 @@ fi %changelog +* Thu Mar 26 2015 Richard Hughes - 0.9.0-6 +- Add an AppData file for the software center + * Sun Aug 17 2014 Fedora Release Engineering - 0.9.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild