diff --git a/network-manager-applet.spec b/network-manager-applet.spec index 9bde517..7de4655 100755 --- a/network-manager-applet.spec +++ b/network-manager-applet.spec @@ -38,6 +38,15 @@ utility for use with NetworkManager. %package_help +%package -n nm-connection-editor-desktop +Summary: The desktop file for nm-connection-editor +Requires: nm-connection-editor%{?_isa} = %{version}-%{release} + +%description -n nm-connection-editor-desktop +This package contains the desktop file and appdata for nm-connection-editor. +Without it, the nm-connection-editor cannot be started from the desktop +environment. + %prep %autosetup -n %{name}-%{real_version} -p1 @@ -95,8 +104,12 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/nm-connection-edit %{_mandir}/man1/nm-applet* %{_mandir}/man1/nm-connection-editor* +%files -n nm-connection-editor-desktop +%{_datadir}/applications/nm-connection-editor.desktop +%{_datadir}/metainfo/nm-connection-editor.appdata.xml + %changelog -* Sat Dec 04 2021 xingxing - 1.24.0-1 +* Mon Dec 06 2021 xingxing - 1.24.0-1 - Update to 1.24.0 * Tue Sep 10 2020 chengguipeng - 1.18.0-2