import network-manager-applet-1.24.0-3.el8

This commit is contained in:
CentOS Sources 2021-11-24 04:22:38 +00:00 committed by Stepan Oksanichenko
parent 0a24a58b05
commit c8d4415d46

View File

@ -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 <acabral@redhat.com> - 1.24.0-3
- Update the spec file
* Tue Sep 14 2021 Ana Cabral <acabral@redhat.com> - 1.24.0-2
- Rebuild package