From c8d4415d466647e3fc0e40eb94ff9334f72319bc Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Wed, 24 Nov 2021 04:22:38 +0000 Subject: [PATCH] import network-manager-applet-1.24.0-3.el8 --- SPECS/network-manager-applet.spec | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/SPECS/network-manager-applet.spec b/SPECS/network-manager-applet.spec index ae539cc..86f0d3d 100644 --- a/SPECS/network-manager-applet.spec +++ b/SPECS/network-manager-applet.spec @@ -7,7 +7,7 @@ %global rpm_version 1.24.0 %global real_version 1.24.0 -%global release_version 2 +%global release_version 3 %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') @@ -17,11 +17,16 @@ %bcond_without libnma_gtk4 %endif +%if 0%{?fedora} || 0%{?rhel} < 9 +%bcond_without appindicator +%else +%bcond_with appindicator +%endif + Name: network-manager-applet Summary: A network control and status applet for NetworkManager Version: %{rpm_version} Release: %{release_version}%{?dist} -Group: Applications/System License: GPLv2+ URL: http://www.gnome.org/projects/NetworkManager/ Obsoletes: NetworkManager-gnome < %{obsoletes_ver} @@ -58,8 +63,12 @@ BuildRequires: jansson-devel BuildRequires: gcr-devel BuildRequires: libselinux-devel BuildRequires: mobile-broadband-provider-info-devel +%if %{with appindicator} BuildRequires: libappindicator-gtk3-devel +%endif +%if 0%{?fedora} || 0%{?rhel} < 9 BuildRequires: libdbusmenu-gtk3-devel +%endif %description This package contains a network control and status notification area applet @@ -82,7 +91,11 @@ utility for use with NetworkManager. -Dgcr=true \ -Dselinux=true \ -Ddisable-static=true \ +%if %{with appindicator} -Dappindicator=yes +%else + -Dappindicator=no +%endif %meson_build %install @@ -133,6 +146,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/nm-connection-edit %changelog +* Mon Nov 22 2021 Ana Cabral - 1.24.0-3 +- Update the spec file + * Tue Sep 14 2021 Ana Cabral - 1.24.0-2 - Rebuild package