!9 updata to network-manager-applet-1.24.0

From: @xing_xing1992
Reviewed-by: @zengwefeng
Signed-off-by: @zengwefeng
This commit is contained in:
openeuler-ci-bot 2021-12-09 08:19:44 +00:00 committed by Gitee
commit 323f5b54a2
3 changed files with 23 additions and 6 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,21 +1,21 @@
%global gtk3_version %(pkg-config --modversion gtk+-3.0 2>/dev/null || echo bad)
%global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad)
%global nm_version 1:1.16.0
%global libnma_version 1.18.27
%global libnma_version 1.8.27
%global obsoletes_ver 1:0.9.7
%global rpm_version 1.18.0
%global real_version 1.18.0
%global rpm_version 1.24.0
%global real_version 1.24.0
%global release_version 1
%global real_version_major %(printf '%s' '%{real_version}' | sed -n 's/^\\([1-9][0-9]*\\.[1-9][0-9]*\\)\\.[1-9][0-9]*$/\\1/p')
Name: network-manager-applet
Summary: A network control and status applet for NetworkManager
Version: 1.18.0
Release: 2
Version: 1.24.0
Release: 1
License: GPLv2+
URL: http://www.gnome.org/projects/NetworkManager/
Obsoletes: NetworkManager-gnome < %{obsoletes_ver}
Source: https://download.gnome.org/sources/network-manager-applet/1.18/%{name}-%{version}.tar.xz
Source: https://download.gnome.org/sources/network-manager-applet/1.24/%{name}-%{version}.tar.xz
Requires: NetworkManager >= %{nm_version} libnotify >= 0.4.3 nm-connection-editor libnma
@ -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
@ -76,6 +85,7 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/nm-connection-edit
%{_datadir}/icons/hicolor/22x22/apps/nm-vpn-active-lock.png
%{_datadir}/icons/hicolor/22x22/apps/nm-vpn-connecting*.png
%{_datadir}/icons/hicolor/22x22/apps/nm-wwan-tower.png
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%{_datadir}/GConf/gsettings/nm-applet.convert
%{_sysconfdir}/xdg/autostart/nm-applet.desktop
@ -94,7 +104,14 @@ 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
* Mon Dec 06 2021 xingxing <xingxing9@huawei.com> - 1.24.0-1
- Update to 1.24.0
* Tue Sep 10 2020 chengguipeng<chengguipeng1@huawei.com> - 1.18.0-2
- Type:bugfix
- ID:NA