aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorPeter Eszlari <peter.eszlari@gmail.com>2020-12-06 15:38:41 +0100
committerJörg Mayer <jmghc@loplof.de>2020-12-10 18:11:12 +0000
commit42a09ad02e7f51707927230ecd124938462d18c0 (patch)
tree8d55c0ac2cbd0d231d30082dac60e07075e0b024 /packaging
parent9a46fabf5299fb0b634dfc0f6368d8201e847d73 (diff)
Linux: rename metadata according to spec
https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s02.html#desktop-file-id
Diffstat (limited to 'packaging')
-rw-r--r--packaging/rpm/wireshark.spec.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/packaging/rpm/wireshark.spec.in b/packaging/rpm/wireshark.spec.in
index f3b9634794..97b210cc4d 100644
--- a/packaging/rpm/wireshark.spec.in
+++ b/packaging/rpm/wireshark.spec.in
@@ -205,7 +205,7 @@ Requires(pre): shadow-utils
BuildRequires: rpm >= 4.7.0
%endif
-# NOTE: the below description has been copied to wireshark.appdata.xml (in the
+# NOTE: the below description has been copied to org.wireshark.Wireshark.metainfo.xml (in the
# top-level directory).
%description
Wireshark allows you to examine protocol data stored in files or as it is
@@ -426,12 +426,12 @@ cd -
# SUSE's packaging conventions
# (https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25suse_update_desktop_file)
# require this:
-install -Dm 0644 %{buildroot}/usr/local/share/applications/wireshark.desktop %{buildroot}/usr/share/applications/wireshark.desktop
+install -Dm 0644 %{buildroot}/usr/local/share/applications/org.wireshark.Wireshark.desktop %{buildroot}/usr/share/applications/org.wireshark.Wireshark.desktop
%suse_update_desktop_file %{name}
%else
# Fedora's packaging guidelines (https://fedoraproject.org/wiki/Packaging:Guidelines)
# require this (at least if desktop-file-install was not used to install it).
-desktop-file-validate %{buildroot}%{_datadir}/applications/wireshark.desktop
+desktop-file-validate %{buildroot}%{_datadir}/applications/org.wireshark.Wireshark.desktop
%endif
%endif
@@ -519,11 +519,11 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%if %{with qt5}
%files qt
%defattr(-,root,root)
-%{_datadir}/applications/wireshark.desktop
+%{_datadir}/applications/org.wireshark.Wireshark.desktop
%if 0%{?suse_version}
-/usr/share/applications/wireshark.desktop
+/usr/share/applications/org.wireshark.Wireshark.desktop
%endif
-%{_datadir}/appdata/wireshark.appdata.xml
+%{_datadir}/appdata/org.wireshark.Wireshark.metainfo.xml
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/icons/hicolor/*/mimetypes/*
%{_datadir}/mime/packages/wireshark.xml