diff --git a/scribus.spec b/scribus.spec index ec3c71e..e47b864 100644 --- a/scribus.spec +++ b/scribus.spec @@ -1,6 +1,6 @@ Name: scribus Version: 1.4.4 -Release: 6%{?dist} +Release: 7%{?dist} Summary: DeskTop Publishing application written in Qt @@ -115,6 +115,42 @@ desktop-file-install \ # remove unwanted stuff rm -rf ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name} +# 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 < + + + + scribus.desktop + CC0-1.0 + +

+ Scribus is a desktop publishing application that allows you to create posters, + magazines and books ready to send off to a printing house. + It supports professional publishing features, such color separations, CMYK and + spot colors, ICC color management, and versatile PDF creation. +

+ +
+ http://scribus.net/ + + http://upload.wikimedia.org/wikipedia/commons/f/f4/Scribus-1.3-Linux.png + + +
+EOF %post touch --no-create %{_datadir}/mime/packages &> /dev/null || : @@ -136,6 +172,7 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %doc AUTHORS ChangeLog COPYING LINKS README %{_bindir}/%{name} %{_libdir}/%{name}/ +%{_datadir}/appdata/*%{name}.appdata.xml %{_datadir}/applications/*%{name}.desktop %{_datadir}/mime/packages/%{name}.xml %{_datadir}/pixmaps/* @@ -148,6 +185,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %changelog +* Thu Mar 26 2015 Richard Hughes - 1.4.4-7 +- Add an AppData file for the software center + * Tue Jan 27 2015 Petr Machata - 1.4.4-6 - Rebuild for boost 1.57.0