From df779ce3da94767d4544eebdda89aebd645f3261 Mon Sep 17 00:00:00 2001
From: Jerry James
Date: Wed, 21 Jul 2021 19:37:09 -0600
Subject: [PATCH] Add domain name to desktop and metainfo names.
---
gap.spec | 10 +++++-----
gap.desktop => org.gap-system.gap.desktop | 0
gap.metainfo.xml => org.gap-system.gap.metainfo.xml | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
rename gap.desktop => org.gap-system.gap.desktop (100%)
rename gap.metainfo.xml => org.gap-system.gap.metainfo.xml (93%)
diff --git a/gap.spec b/gap.spec
index 696f1c9..830f9bd 100644
--- a/gap.spec
+++ b/gap.spec
@@ -42,8 +42,8 @@ Source0: https://github.com/gap-system/gap/releases/download/v%{version}/
Source1: gap-README.fedora
Source2: update-gap-workspace
Source3: gap.xml
-Source4: gap.desktop
-Source5: gap.metainfo.xml
+Source4: org.gap-system.gap.desktop
+Source5: org.gap-system.gap.metainfo.xml
Source6: gap.1.in
Source7: gac.1.in
Source8: update-gap-workspace.1
@@ -330,7 +330,7 @@ desktop-file-install --mode=644 --dir=%{buildroot}%{_datadir}/applications \
mkdir -p %{buildroot}%{_metainfodir}
install -pm 644 %{SOURCE5} %{buildroot}%{_metainfodir}
appstreamcli validate --no-net \
- %{buildroot}%{_metainfodir}/gap.metainfo.xml
+ %{buildroot}%{_metainfodir}/org.gap-system.gap.metainfo.xml
# Install the RPM macro file
mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d
@@ -380,8 +380,8 @@ make check
%{gapdir}/bin/%{gaparch}/gap
%{gapdir}/gap
%{_mandir}/man1/gap.1*
-%{_metainfodir}/gap.metainfo.xml
-%{_datadir}/applications/gap.desktop
+%{_metainfodir}/org.gap-system.gap.metainfo.xml
+%{_datadir}/applications/org.gap-system.gap.desktop
%{_datadir}/mime/packages/gap.xml
%{icondir}/16x16/apps/gap.png
%{icondir}/22x22/apps/gap.png
diff --git a/gap.desktop b/org.gap-system.gap.desktop
similarity index 100%
rename from gap.desktop
rename to org.gap-system.gap.desktop
diff --git a/gap.metainfo.xml b/org.gap-system.gap.metainfo.xml
similarity index 93%
rename from gap.metainfo.xml
rename to org.gap-system.gap.metainfo.xml
index 123fd8f..425c42e 100644
--- a/gap.metainfo.xml
+++ b/org.gap-system.gap.metainfo.xml
@@ -1,6 +1,6 @@
- gap.desktop
+ org.gap-system.gap
CC0-1.0
GPL-2.0-or-later
gap
@@ -18,7 +18,7 @@
spaces, algebras, combinatorial structures, and more.
- gap.desktop
+ org.gap-system.gap.desktop
https://jjames.fedorapeople.org/gap/gap-screenshot.png