rhughes pushed to nightview (master). "Add an AppData file for the software center"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu Mar 26 17:05:00 UTC 2015
>From ae5de16d483ec9aed684e5688d4f6426a453794e Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard at hughsie.com>
Date: Thu, 26 Mar 2015 16:46:48 +0000
Subject: Add an AppData file for the software center
diff --git a/nightview.spec b/nightview.spec
index 3d8594a..51a1970 100644
--- a/nightview.spec
+++ b/nightview.spec
@@ -1,6 +1,6 @@
Name: nightview
Version: 0.3.3
-Release: 16%{?dist}
+Release: 17%{?dist}
Summary: A general astronomical software package to control of a CCD camera
Group: Amusements/Graphics
@@ -140,6 +140,20 @@ install -pm 0755 rpm/mount-server.init.redhat \
install -pm 0755 %{SOURCE3} \
%{buildroot}%{_initrddir}/nighthttpd
+# Merge applications into one software center item
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
+cat > $RPM_BUILD_ROOT%{_datadir}/appdata/xmove.appdata.xml <<EOF
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Richard Hughes <richard at hughsie.com> -->
+<component type="desktop">
+ <metadata_license>CC0-1.0</metadata_license>
+ <id>xmove.desktop</id>
+ <metadata>
+ <value key="X-Merge-With-Parent">xnightview.desktop</value>
+ </metadata>
+</component>
+EOF
+
# Documentation
make -f Makefile.nightview -C doc install DESTDIR=%{buildroot} || :
@@ -221,6 +235,7 @@ fi
%{_mandir}/man1/xmove.1*
%{_mandir}/man1/xnightview.1*
%{_datadir}/pixmaps/*
+%{_datadir}/appdata/*.appdata.xml
%{_datadir}/applications/*
%doc COPYING
@@ -241,6 +256,9 @@ fi
%changelog
+* Thu Mar 26 2015 Richard Hughes <rhughes at redhat.com> - 0.3.3-17
+- Add an AppData file for the software center
+
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.3-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/nightview.git/commit/?h=master&id=ae5de16d483ec9aed684e5688d4f6426a453794e
More information about the scm-commits
mailing list