diff --git a/hugin.spec b/hugin.spec index 790afd8..cd6015d 100644 --- a/hugin.spec +++ b/hugin.spec @@ -2,7 +2,7 @@ Summary: A panoramic photo stitcher and more Name: hugin Version: 2014.0.0 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ Group: Applications/Multimedia Source: http://downloads.sourceforge.net/hugin/%{name}-%{version}.tar.bz2 @@ -67,6 +67,19 @@ desktop-file-install --vendor="" --delete-original \ %{buildroot}/%{_datadir}/applications/pto_gen.desktop %find_lang %{name} +# Merge applications into one software center item +mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata +cat > $RPM_BUILD_ROOT%{_datadir}/appdata/calibrate_lens_gui.appdata.xml < + + + CC0-1.0 + calibrate_lens_gui.desktop + + hugin.desktop + + +EOF %post update-desktop-database &> /dev/null ||: @@ -100,6 +113,7 @@ fi %{_libdir}/%{name}/libhuginbasewx.so* %{_libdir}/%{name}/libicpfindlib.so* %{_datadir}/%{name}/xrc +%{_datadir}/appdata/*.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/applications/PTBatcherGUI.desktop %{_datadir}/applications/calibrate_lens_gui.desktop @@ -190,6 +204,9 @@ fi %{_mandir}/man1/pto_template.* %changelog +* Thu Mar 26 2015 Richard Hughes - 2014.0.0-4 +- Add an AppData file for the software center + * Tue Feb 03 2015 Petr Machata - 2014.0.0-3 - Rebuild for boost 1.57.0 - Apply an upstream patch that ports expression parser to