Add domain name to desktop and metainfo names.

This commit is contained in:
Jerry James 2021-07-21 19:37:09 -06:00
parent f80dc9015a
commit df779ce3da
3 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>gap.desktop</id>
<id>org.gap-system.gap</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0-or-later</project_license>
<name>gap</name>
@ -18,7 +18,7 @@
spaces, algebras, combinatorial structures, and more.
</p>
</description>
<launchable type="desktop-id">gap.desktop</launchable>
<launchable type="desktop-id">org.gap-system.gap.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://jjames.fedorapeople.org/gap/gap-screenshot.png</image>