diff --git a/oggconvert.spec b/oggconvert.spec index 6bc4694..a94c18f 100644 --- a/oggconvert.spec +++ b/oggconvert.spec @@ -3,7 +3,7 @@ Name: oggconvert Version: 0.3.3 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Convert media files to Free formats Group: Applications/Multimedia @@ -54,7 +54,48 @@ desktop-file-install --delete-original \ %{buildroot}/%{_datadir}/applications/oggconvert.desktop %find_lang %{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 < + + + + oggconvert.desktop + CC0-1.0 + +

+ OggConvert is an easy to use tool for converting audio and video files of + various types into the free Ogg Vorbis audio format, and the Theora, VP8 + and Dirac video formats. + It uses GStreamer, so it can convert (almost) any file which GStreamer + supports. +

+

+ OggConvert can convert audio files and video files including video files + with multiple soundtracks. + It preserves metadata, for example artist and title info. +

+
+ http://oggconvert.tristanb.net/ + + http://oggconvert.tristanb.net/screenshots/oggconvert-0.3.0-en.png + + +
+EOF + %clean rm -rf $RPM_BUILD_ROOT @@ -66,11 +107,15 @@ rm -rf $RPM_BUILD_ROOT # For noarch packages: sitelib %{python_sitelib}/OggConvert/ %{_bindir}/oggconvert +%{_datadir}/appdata/*%{name}.appdata.xml %{_datadir}/applications/*oggconvert.desktop %{_datadir}/pixmaps/oggconvert.svg %{python_sitelib}/oggconvert-%{version}-py?.?.egg-info %changelog +* Thu Mar 26 2015 Richard Hughes - 0.3.3-10 +- Add an AppData file for the software center + * Sat Jun 07 2014 Fedora Release Engineering - 0.3.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild