|
|
|
@ -5,22 +5,20 @@
|
|
|
|
|
%global mbp_version 0.20090602
|
|
|
|
|
%global old_libnma_version 1.8.27
|
|
|
|
|
|
|
|
|
|
%global rpm_version 1.8.32
|
|
|
|
|
%global real_version 1.8.32
|
|
|
|
|
%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')
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 34 || 0%{?rhel} >= 10
|
|
|
|
|
%bcond_without libnma_gtk4
|
|
|
|
|
%else
|
|
|
|
|
%bcond_with libnma_gtk4
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: libnma
|
|
|
|
|
Summary: NetworkManager GUI library
|
|
|
|
|
Version: %{rpm_version}
|
|
|
|
|
Release: %{release_version}%{?dist}
|
|
|
|
|
Version: 1.8.38
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
# The entire source code is GPLv2+ except some files in shared/ which are LGPLv2+
|
|
|
|
|
License: GPLv2+ and LGPLv2+
|
|
|
|
|
URL: https://gitlab.gnome.org/GNOME/libnma/
|
|
|
|
|
Source0: https://download.gnome.org/sources/libnma/%{real_version_major}/%{name}-%{real_version}.tar.xz
|
|
|
|
|
Source0: https://download.gnome.org/sources/libnma/1.8/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
Patch1: 0001-nm-applet-no-notifications.patch
|
|
|
|
|
|
|
|
|
@ -31,10 +29,10 @@ Conflicts: libnma < %{old_libnma_version}
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: NetworkManager-libnm-devel >= %{nm_version}
|
|
|
|
|
BuildRequires: ModemManager-glib-devel >= 1.0
|
|
|
|
|
BuildRequires: glib2-devel >= 2.32
|
|
|
|
|
BuildRequires: gtk3-devel >= 3.10
|
|
|
|
|
BuildRequires: glib2-devel >= 2.38
|
|
|
|
|
BuildRequires: gtk3-devel >= 3.12
|
|
|
|
|
%if %{with libnma_gtk4}
|
|
|
|
|
BuildRequires: gtk4-devel >= 3.96
|
|
|
|
|
BuildRequires: gtk4-devel >= 4.0
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: gobject-introspection-devel >= 0.10.3
|
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
@ -89,13 +87,12 @@ files to be used for integrating GUI tools with NetworkManager.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1 -n "%{name}-%{real_version}"
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%meson \
|
|
|
|
|
-Dgcr=true \
|
|
|
|
|
-Ddisable-static=true \
|
|
|
|
|
-Dvapi=false \
|
|
|
|
|
%if %{with libnma_gtk4}
|
|
|
|
|
-Dlibnma_gtk4=true
|
|
|
|
@ -146,6 +143,17 @@ files to be used for integrating GUI tools with NetworkManager.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Apr 8 2022 Ana Cabral <acabral@redhat.com> - 1.8.38-1
|
|
|
|
|
- Rebase to 1.8.38
|
|
|
|
|
|
|
|
|
|
* Fri Mar 25 2022 Ana Cabral <acabral@redhat.com> - 1.8.36-2
|
|
|
|
|
- Rebuilt
|
|
|
|
|
|
|
|
|
|
* Fri Mar 25 2022 Ana Cabral <acabral@redhat.com> - 1.8.36-1
|
|
|
|
|
- Update to 1.8.36 release (rh #2062686)
|
|
|
|
|
- Include OWE wireless security (rh #2060327)
|
|
|
|
|
- Fix OWE wireless security entry in Hidden Networks dialog (rh #2057514)
|
|
|
|
|
|
|
|
|
|
* Fri Aug 20 2021 Thomas Haller <thaller@redhat.com> - 1.8.32-1
|
|
|
|
|
- Update to 1.8.32 release (rh #1996011)
|
|
|
|
|
|
|
|
|
|